text
stringlengths 1
22.8M
|
|---|
Justin Addo Johnson (born 27 August 1996) is a Dutch professional footballer who plays as a winger for Chorley. His previous clubs are Dundee United and Hamilton Academical in Scotland, York City in England and Othellos Athienou and Akritas Chlorakas in Cyprus.
Early life
Johnson was born in The Hague, South Holland, and started his career as a youth player with Sparta Rotterdam. After moving to England, he joined the Manchester United Academy, but was released and joined the football academy at the Manchester College. From there, he joined the youth squad of non-League club F.C. United of Manchester.
Career
After leaving F.C. United, Johnson joined Dundee United's development squad as an amateur player in March 2015. He signed a three-year professional contract in May 2015 and made his first-team debut as a substitute two days later, in a Scottish Premiership match against Inverness Caledonian Thistle. Dundee United manager Jackie McNamara described Johnson as a "crowd pleaser" with "great potential".
On 1 September 2016, Johnson was loaned to National League club York City, managed by McNamara, for the rest of the 2016–17 season. On 31 January 2017, his loan to York and his Dundee United contract were both cancelled by mutual consent.
Johnson was without a club in the 2017-18 season before joining Othellos Athienou in the Cypriot Second Division for 2018-19. The following season he joined Akritas Chlorakas on a season long loan.
On 4 August 2020, Johnson made a return to Scottish football, signing for Premiership club Hamilton Academical. Along with teammate Tunde Owolabi, he was released by mutual consent in February 2021.
Later that month, Johnson signed a contract with Greenock Morton of the Scottish Championship until the end of the 2020–21 season. He made his debut for Morton from the bench in a defeat against Ayr United. He left Morton in June 2021 when his contract expired.
In September 2021, Johnson joined Stalybridge Celtic. He made his debut in a league match against Gainsborough Trinity on 18 September.
Johnson signed for National League North side Chorley in July 2022 after impressing in pre-season matches.
Career statistics
References
External links
1996 births
Living people
Footballers from The Hague
Dutch men's footballers
Dutch expatriate men's footballers
Men's association football wingers
Sparta Rotterdam players
Manchester United F.C. players
F.C. United of Manchester players
Dundee United F.C. players
York City F.C. players
Othellos Athienou FC players
Akritas Chlorakas players
Scottish Professional Football League players
National League (English football) players
Cypriot Second Division players
Expatriate men's footballers in England
Expatriate men's footballers in Scotland
Expatriate men's footballers in Cyprus
Dutch expatriate sportspeople in England
Dutch expatriate sportspeople in Scotland
Dutch expatriate sportspeople in Cyprus
Hamilton Academical F.C. players
Greenock Morton F.C. players
Stalybridge Celtic F.C. players
Northern Premier League players
|
```turing
#
# This software may be used and distributed according to the terms of the
# directory of this source tree.
$ . "${TEST_FIXTURES}/library.sh"
# Create a repository
$ setup_common_config
$ REPOID=1 FILESTORE=1 FILESTORE_CHUNK_SIZE=10 setup_mononoke_repo_config git_test
# Create a git blob to upload
$ git init -q git-repo
$ cd git-repo/
$ echo "Test blob" > git_blob.txt
$ BLOB_OID=$(git hash-object -w -t blob git_blob.txt)
$ BLOB_SIZE=$(stat -c %s git_blob.txt)
$ cd ..
# Start a LFS server for this repository (no upstream)
$ lfs_log="$TESTTMP/lfs.log"
$ lfs_uri="$(lfs_server --tls --log "$lfs_log" --git-blob-upload-allowed)/git_blob_upload/git_test/${BLOB_OID}/${BLOB_SIZE}"
# Confirm blobstore is empty
$ sqlite3 "$TESTTMP/blobstore_git_test/blobs/shard_0.sqlite" "SELECT id, chunk_count FROM data ORDER BY id;"
$ sqlite3 "$TESTTMP/blobstore_git_test/blobs/shard_1.sqlite" "SELECT id, chunk_count FROM data ORDER BY id;"
# Uploading without a cert should fail, hard
$ curltest -s --upload-file git-repo/git_blob.txt ${lfs_uri}
[60]
# Confirm blobstore is empty
$ sqlite3 "$TESTTMP/blobstore_git_test/blobs/shard_0.sqlite" "SELECT id, chunk_count FROM data ORDER BY id;"
$ sqlite3 "$TESTTMP/blobstore_git_test/blobs/shard_1.sqlite" "SELECT id, chunk_count FROM data ORDER BY id;"
# But with a cert (and hence with authority), it should work
$ sslcurl -s --upload-file git-repo/git_blob.txt ${lfs_uri}
# Confirm blobstore has file content chunks, and that the gitsha1 alias is correct - the alias output by echo
# should be the same as the one found in SQLite
$ sqlite3 "$TESTTMP/blobstore_git_test/blobs/shard_0.sqlite" "SELECT id, chunk_count FROM data ORDER BY id;"
repo0001.alias.seeded_blake3.your_sha256_hash|0
repo0001.alias.sha256.your_sha256_hash|0
$ echo "repo0001.alias.gitsha1.${BLOB_OID}|0"
repo0001.alias.gitsha1.c9385e53096db9bd2395f04495c0706de072fa27|0
$ sqlite3 "$TESTTMP/blobstore_git_test/blobs/shard_1.sqlite" "SELECT id, chunk_count FROM data ORDER BY id;"
repo0001.alias.gitsha1.c9385e53096db9bd2395f04495c0706de072fa27|0
repo0001.alias.sha1.48ae28c677e9a399e8ababd6e529fabcfd99028a|0
repo0001.content.blake2.your_sha256_hash|0
repo0001.content_metadata2.blake2.your_sha256_hash|0
```
|
Anaciaeschna martini, is a species of dragonfly in the family Aeshnidae. It is found in Japan, India, Sri Lanka, and recently from Nepal.
Description and habitat
Sélys described this species in 1897 from Yokohama, Japan. Fraser described Anaciaeschna donaldi from specimens collected from Kodaikanal, Yercaud and Ooty. It flies at dusk and breeds in still water in the lakes. Its eyes are dark olivaceous brown, prothorax is dark brown, and thorax is maroon with apple green marks. Its abdomen is dark brown with apple green mark on first three segments and pale yellowish brown marks on the sides of segments four to seven.
There are no significant in morphological or molecular genetic differences between A. donaldi and A. martini; therefore it is concluded that A. donaldi is a junior synonym of A. martini.
See also
List of odonates of India
List of odonates of Sri Lanka
List of odonata of Kerala
References
Query Results
Animal diversity web
Aeshnidae
Insects described in 1897
Taxa named by Edmond de Sélys Longchamps
|
```smalltalk
using System;
using System.Threading.Tasks;
namespace CSharpFunctionalExtensions
{
public static partial class MaybeExtensions
{
public static async Task<Maybe<T>> Where<T>(this Task<Maybe<T>> maybeTask, Func<T, bool> predicate)
{
var maybe = await maybeTask.DefaultAwait();
return maybe.Where(predicate);
}
}
}
```
|
```objective-c
////////////////////////////////////////////////////////////////////////////////
//
// B L I N K
//
//
// This file is part of Blink.
//
// Blink is free software: you can redistribute it and/or modify
// (at your option) any later version.
//
// Blink 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 Blink. If not, see <path_to_url
//
// In addition, Blink is also subject to certain additional terms under
// GNU GPL version 3 section 7.
//
// You should have received a copy of these additional terms immediately
// which accompanied the Blink Source Code. If not, see
// <path_to_url
//
////////////////////////////////////////////////////////////////////////////////
#import "AppDelegate.h"
#import "BKiCloudSyncHandler.h"
#import <BlinkConfig/BlinkPaths.h>
#import "BLKDefaults.h"
#import <BlinkConfig/BKHosts.h>
#import <BlinkConfig/BKPubKey.h>
#import <ios_system/ios_system.h>
#import <UserNotifications/UserNotifications.h>
#include <libssh/callbacks.h>
#include "xcall.h"
#include "Blink-Swift.h"
#ifdef BLINK_BUILD_ENABLED
extern void build_auto_start_wg_ports(void);
extern void rebind_ports(void);
#endif
@import CloudKit;
@interface AppDelegate () <UNUserNotificationCenterDelegate>
@end
@implementation AppDelegate {
NSTimer *_suspendTimer;
UIBackgroundTaskIdentifier _suspendTaskId;
BOOL _suspendedMode;
BOOL _enforceSuspension;
}
void __on_pipebroken_signal(int signum){
NSLog(@"PIPE is broken");
}
void __setupProcessEnv(void) {
NSBundle *mainBundle = [NSBundle mainBundle];
int forceOverwrite = 1;
NSString *SSL_CERT_FILE = [mainBundle pathForResource:@"cacert" ofType:@"pem"];
setenv("SSL_CERT_FILE", SSL_CERT_FILE.UTF8String, forceOverwrite);
NSString *locales_path = [mainBundle pathForResource:@"locales" ofType:@"bundle"];
setenv("PATH_LOCALE", locales_path.UTF8String, forceOverwrite);
setlocale(LC_ALL, "UTF-8");
setenv("TERM", "xterm-256color", forceOverwrite);
setenv("LANG", "en_US.UTF-8", forceOverwrite);
setenv("VIMRUNTIME", [[mainBundle resourcePath] stringByAppendingPathComponent:@"/vim"].UTF8String, 1);
ssh_threads_set_callbacks(ssh_threads_get_pthread());
ssh_init();
}
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[Migrator perform];
[BlinkPaths cleanedSymlinksInHomeDirectory];
[AppDelegate reloadDefaults];
[[UIView appearance] setTintColor:[UIColor blinkTint]];
signal(SIGPIPE, __on_pipebroken_signal);
dispatch_queue_t bgQueue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_BACKGROUND, 0);
dispatch_async(bgQueue, ^{
[BlinkPaths linkDocumentsIfNeeded];
[BlinkPaths linkICloudDriveIfNeeded];
});
sideLoading = false; // Turn off extra commands from iOS system
initializeEnvironment(); // initialize environment variables for iOS system
dispatch_async(bgQueue, ^{
addCommandList([[NSBundle mainBundle] pathForResource:@"blinkCommandsDictionary" ofType:@"plist"]); // Load blink commands to ios_system
__setupProcessEnv(); // we should call this after ios_system initializeEnvironment to override its defaults.
[AppDelegate _loadProfileVars];
});
NSString *homePath = BlinkPaths.homePath;
setenv("HOME", homePath.UTF8String, 1);
setenv("SSH_HOME", homePath.UTF8String, 1);
setenv("CURL_HOME", homePath.UTF8String, 1);
NSNotificationCenter *nc = NSNotificationCenter.defaultCenter;
[nc addObserver:self
selector:@selector(_onSceneDidEnterBackground:)
name:UISceneDidEnterBackgroundNotification object:nil];
[nc addObserver:self
selector:@selector(_onSceneWillEnterForeground:)
name:UISceneWillEnterForegroundNotification object:nil];
[nc addObserver:self
selector:@selector(_onSceneDidActiveNotification:)
name:UISceneDidActivateNotification object:nil];
[nc addObserver:self
selector: @selector(_onScreenConnect)
name:UIScreenDidConnectNotification object:nil];
[UNUserNotificationCenter currentNotificationCenter].delegate = self;
// [nc addObserver:self selector:@selector(_logEvent:) name:nil object:nil];
// [nc addObserver:self selector:@selector(_active) name:@"UIApplicationSystemNavigationActionChangedNotification" object:nil];
[UIApplication sharedApplication].applicationSupportsShakeToEdit = NO;
[_NSFileProviderManager syncWithBKHosts];
[PurchasesUserModelObjc preparePurchasesUserModel];
#ifdef BLINK_BUILD_ENABLED
build_auto_start_wg_ports();
#endif
return YES;
}
//- (void)_active {
// [[SmarterTermInput shared] realBecomeFirstResponder];
//}
//- (void)_logEvent:(NSNotification *)n {
// NSLog(@"event, %@, %@", n.name, n.userInfo);
// if ([n.name isEqualToString:@"UIApplicationSystemNavigationActionChangedNotification"]) {
// [[SmarterTermInput shared] realBecomeFirstResponder];
// }
//
//}
+ (void)reloadDefaults {
[BLKDefaults loadDefaults];
[BKPubKey loadIDS];
[BKHosts loadHosts];
[AppDelegate _loadProfileVars];
}
+ (void)_loadProfileVars {
NSCharacterSet *whiteSpace = [NSCharacterSet whitespaceCharacterSet];
NSString *profile = [NSString stringWithContentsOfFile:[BlinkPaths blinkProfileFile] encoding:NSUTF8StringEncoding error:nil];
[profile enumerateLinesUsingBlock:^(NSString * _Nonnull line, BOOL * _Nonnull stop) {
NSMutableArray<NSString *> *parts = [[line componentsSeparatedByString:@"="] mutableCopy];
if (parts.count < 2) {
return;
}
NSString *varName = [parts.firstObject stringByTrimmingCharactersInSet:whiteSpace];
if (varName.length == 0) {
return;
}
[parts removeObjectAtIndex:0];
NSString *varValue = [[parts componentsJoinedByString:@"="] stringByTrimmingCharactersInSet:whiteSpace];
if ([varValue hasSuffix:@"\""] || [varValue hasPrefix:@"\""]) {
NSData *data = [varValue dataUsingEncoding:NSUTF8StringEncoding];
varValue = [varValue substringWithRange:NSMakeRange(1, varValue.length - 1)];
if (data) {
id value = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingAllowFragments error:nil];
if ([value isKindOfClass:[NSString class]]) {
varValue = value;
}
}
}
if (varValue.length == 0) {
return;
}
BOOL forceOverwrite = 1;
setenv(varName.UTF8String, varValue.UTF8String, forceOverwrite);
}];
}
- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler {
[[BKiCloudSyncHandler sharedHandler]checkForReachabilityAndSync:nil];
// TODO: pass completion handler.
}
// MARK: NSUserActivity
- (BOOL)application:(UIApplication *)application willContinueUserActivityWithType:(NSString *)userActivityType
{
return YES;
}
- (BOOL)application:(UIApplication *)application continueUserActivity:(NSUserActivity *)userActivity restorationHandler:(void (^)(NSArray * _Nullable))restorationHandler
{
return YES;
}
- (BOOL)application:(UIApplication *)application shouldAllowExtensionPointIdentifier:(NSString *)extensionPointIdentifier {
if ([extensionPointIdentifier isEqualToString: UIApplicationKeyboardExtensionPointIdentifier]) {
return ![BLKDefaults disableCustomKeyboards];
}
return YES;
}
#pragma mark - State saving and restoring
- (void)applicationProtectedDataWillBecomeUnavailable:(UIApplication *)application
{
// If a scene is not yet in the background, then await for it to suspend
NSArray * scenes = UIApplication.sharedApplication.connectedScenes.allObjects;
for (UIScene *scene in scenes) {
if (scene.activationState == UISceneActivationStateForegroundActive || scene.activationState == UISceneActivationStateForegroundInactive) {
_enforceSuspension = true;
return;
}
}
[self _suspendApplicationOnProtectedDataWillBecomeUnavailable];
}
- (void)applicationWillTerminate:(UIApplication *)application
{
[self _suspendApplicationOnWillTerminate];
}
- (void)_startMonitoringForSuspending
{
if (_suspendedMode) {
return;
}
UIApplication *application = [UIApplication sharedApplication];
[self _cancelApplicationSuspendTask];
_suspendTaskId = [application beginBackgroundTaskWithName:@"Suspend" expirationHandler:^{
[self _suspendApplicationWithExpirationHandler];
}];
NSTimeInterval time = MIN(application.backgroundTimeRemaining * 0.9, 5 * 60);
[_suspendTimer invalidate];
_suspendTimer = [NSTimer scheduledTimerWithTimeInterval:time
target:self
selector:@selector(_suspendApplicationWithSuspendTimer)
userInfo:nil
repeats:NO];
}
- (void)_cancelApplicationSuspendTask {
[_suspendTimer invalidate];
if (_suspendTaskId != UIBackgroundTaskInvalid) {
[[UIApplication sharedApplication] endBackgroundTask:_suspendTaskId];
}
_suspendTaskId = UIBackgroundTaskInvalid;
}
- (void)_cancelApplicationSuspend {
[self _cancelApplicationSuspendTask];
// We can't resume if we don't have access to protected data
if (UIApplication.sharedApplication.isProtectedDataAvailable) {
if (_suspendedMode) {
#ifdef BLINK_BUILD_ENABLED
rebind_ports();
#endif
}
_suspendedMode = NO;
}
}
// Simple wrappers to get the reason of failure from call stack
- (void)_suspendApplicationWithSuspendTimer {
[self _suspendApplication];
}
- (void)_suspendApplicationWithExpirationHandler {
[self _suspendApplication];
}
- (void)_suspendApplicationOnWillTerminate {
[self _suspendApplication];
}
- (void)_suspendApplicationOnProtectedDataWillBecomeUnavailable {
[self _suspendApplication];
}
- (void)_suspendApplication {
[_suspendTimer invalidate];
_enforceSuspension = false;
if (_suspendedMode) {
return;
}
[[SessionRegistry shared] suspend];
_suspendedMode = YES;
[self _cancelApplicationSuspendTask];
}
#pragma mark - Scenes
- (UISceneConfiguration *) application:(UIApplication *)application
configurationForConnectingSceneSession:(UISceneSession *)connectingSceneSession
options:(UISceneConnectionOptions *)options {
for (NSUserActivity * activity in options.userActivities) {
if ([activity.activityType isEqual:@"com.blink.whatsnew"]) {
return [UISceneConfiguration configurationWithName:@"whatsnew"
sessionRole:connectingSceneSession.role];
}
}
return [UISceneConfiguration configurationWithName:@"main"
sessionRole:connectingSceneSession.role];
}
- (void)application:(UIApplication *)application didDiscardSceneSessions:(NSSet<UISceneSession *> *)sceneSessions {
[SpaceController onDidDiscardSceneSessions: sceneSessions];
}
- (void)_onSceneDidEnterBackground:(NSNotification *)notification {
NSArray * scenes = UIApplication.sharedApplication.connectedScenes.allObjects;
for (UIScene *scene in scenes) {
if (scene.activationState == UISceneActivationStateForegroundActive || scene.activationState == UISceneActivationStateForegroundInactive) {
return;
}
}
if (_enforceSuspension) {
[self _suspendApplication];
} else {
[self _startMonitoringForSuspending];
}
}
- (void)_onSceneWillEnterForeground:(NSNotification *)notification {
[self _cancelApplicationSuspend];
}
- (void)_onSceneDidActiveNotification:(NSNotification *)notification {
[self _cancelApplicationSuspend];
}
- (void)_onScreenConnect {
[BLKDefaults applyExternalScreenCompensation:BLKDefaults.overscanCompensation];
}
#pragma mark - UNUserNotificationCenterDelegate
- (void)userNotificationCenter:(UNUserNotificationCenter *)center willPresentNotification:(UNNotification *)notification withCompletionHandler:(void (^)(UNNotificationPresentationOptions))completionHandler {
UNNotificationPresentationOptions opts = UNNotificationPresentationOptionSound | UNNotificationPresentationOptionList | UNNotificationPresentationOptionBanner | UNNotificationPresentationOptionBadge;
completionHandler(opts);
}
- (void)userNotificationCenter:(UNUserNotificationCenter *)center didReceiveNotificationResponse:(UNNotificationResponse *)response withCompletionHandler:(void (^)(void))completionHandler {
SceneDelegate *sceneDelegate = (SceneDelegate *)response.targetScene.delegate;
SpaceController *ctrl = sceneDelegate.spaceController;
[ctrl moveToShellWithKey:response.notification.request.content.threadIdentifier];
completionHandler();
}
#pragma mark - Menu Building
- (void)buildMenuWithBuilder:(id<UIMenuBuilder>)builder {
if (builder.system == UIMenuSystem.mainSystem) {
[MenuController buildMenuWith:builder];
}
}
@end
```
|
Terminal is a 2018 neo-noir thriller film written and directed by Vaughn Stein. The film stars Margot Robbie alongside an ensemble cast, featuring Simon Pegg, Dexter Fletcher, Max Irons, and Mike Myers. The plot follows the intertwining lives of two assassins, a fatally ill teacher, a custodian, and a waitress, all of whom become part of a murderous plan.
The film is an international co-production between Ireland, the United Kingdom, Hungary, Hong Kong, and the United States. Principal photography took place in Budapest, Hungary during May 2016.
Terminal was released in North America on 11 May 2018, by RLJE Films. The film premiered in the United Kingdom on 26 June 2018 at the Edinburgh International Film Festival as part of the American Dreams Strand. It was released theatrically in the United Kingdom and Ireland on 6 July 2018 by Arrow Films. The film received generally negative reviews from critics, who criticized the plot, narrative, pacing, and direction, though some praised Robbie's performance and the visual style. It was also a box office bomb, grossing a mere $843,970.
Plot
A young woman meets a mysterious employer in a confession booth and implores him to employ her as his sole contract killer. To prove her worth, she offers to eliminate his other contractors. In exchange for her efforts, she asks if he can find someone for her. Bill is standing on a deserted train platform and is told by a limping janitor that no trains will be coming until 4:04 in the morning. The janitor suggests he wait in the 24-hour cafe. There, he converses with Annie, a waitress, who notices that he has a terminal disease, and is suicidal. She discusses various ways he can kill himself.
The story shifts to three weeks earlier; Illing, a hitman, is captured by Annie, who is posing as a prostitute. He awakes to find himself handcuffed to a bed before Annie incapacitates and kills him.
Mr. Franklyn, the employer, calls his two hitmen - Vince and Alfred - and orders them to pick up a briefcase from the lockers at the terminal. They take it to the cafe and find a pack of matches and an envelope of money. They wonder why Mr. Franklyn has called on them, and not Illing. The match pack is from a strip joint, where they find a dancer resembling the waitress Annie from earlier. She takes the envelope of money as payment for passing on information about the hit Mr. Franklyn wants them to do. She comes on strong to Alfred but is dismissive of Vince. The hitmen are told to wait in an apartment and to shoot a person in the window opposite when told. Vince is also secretly told via a phone call to then kill Alfred. The waitress tells Alfred that Vince will try to kill him, so Alfred should kill Vince once the hit is completed. Mr. Franklyn watches from his lair, with monitors displaying camera footage of the cafe and the hitmen's hideout.
Back at the train terminal, the waitress takes Bill to an abandoned air shaft and tries to talk him into committing suicide. Although he described throwing himself down a deep, dark hole as his final act, he cannot jump. The waitress teases him, and Bill tells the waitress that she is a "naughty girl". This triggers a memory from his days as a school teacher, where he had two girls in his class that he abused. The waitress reveals that she is one of those girls, and then she stabs Bill in the neck with his pen and pushes him down the shaft. Meanwhile, Mr. Franklyn calls the hitmen's apartment and says that they should be ready to take the shot. Vince trains his sniper's rifle at the window across the courtyard but is surprised to find Annie in his crosshairs. Alfred pulls his gun on Vince and disarms him. Annie comes over and Alfred shoots Vince. Alfred and Annie leave the apartment and run into the janitor, who is arriving to clean up the murder scene.
Back in the terminal, the waitress turns on Alfred, tells him that she is not infatuated with him, and shoots him dead. The janitor comes along to clean up the body. The waitress decides to help the janitor take the bodies to the top of the air shaft and drop them both into it. The janitor returns to the terminal and enters the janitor's closet, which is actually Mr. Franklyn's control center. He is revealed to be Mr. Franklyn in disguise, removing his prosthetic bad teeth and fake latex skin. He stops limping and walks normally. There are dozens of attaché cases lined up for future jobs. As he leaves his "closet", he is accosted by the waitress and her doppelgänger, revealed to be a set of twins, Annie and Bonnie.
The twins tie up Mr. Franklyn and describe how their mother died. She was being pursued by her partner, revealed to be Mr. Franklyn - a.k.a. Clinton Sharp - after she witnessed him murder someone and ran back to her flat to protect her twin girls. Mr. Franklyn poured petrol in her home, and set it on fire. The mother had time to push the girls out a broken window, but could not save herself. After that, the twins spent the rest of their childhood in an orphanage being molested by Bill. The twins tell Mr. Franklyn that he is their biological father and they are ready to exact their revenge. They lobotomize him, finally kill him, then walk out of the terminal together.
Cast
Production
Development
On 12 February 2016, it was announced that Margot Robbie would headline and produce a "noir thriller" written and directed by Vaughn Stein, through her production company LuckyChap Entertainment. Highland Film Group would be handling finance and introducing the project to international buyers in Berlin. Creative Artists Agency would handle domestic distribution sales in the United States. David Barron of Beagle Pug Films was also attached to the project as a producer. On 24 May 2016, Simon Pegg, Mike Myers, Max Irons and Dexter Fletcher joined the cast alongside Robbie. This film marks Mike Myers's first non-documentary film since 2012.
Filming
Principal photography on the film began in May 2016 in Budapest, Hungary, and lasted over the course of 27 nights. By September 2016, post production was near completion and a rough cut was screened at the 2016 Toronto International Film Festival for potential international buyers.
Distribution
Highland Film Group attended the 2017 Cannes Film Festival for selling distribution rights for the film. On 24 January 2018, RLJE Films acquired distribution rights in the United States. Initially, in September 2016, Icon Film Distribution acquired distribution rights for the United Kingdom and Ireland. However, in February 2018, Arrow Films overtook distribution rights.
Release
Terminal received a limited theatrical release and was simultaneously released through video on demand in the United States on 11 May 2018 by RLJE Films. The film premiered in the United Kingdom on 26 June 2018 at the Edinburgh International Film Festival as part of the American Dreams Strand. It was released theatrically in limited theatres in the United Kingdom and Ireland on 6 July 2018 by Arrow Films. On 9 September 2016, the first official image of the film was released at the Toronto International Film Festival, featuring Robbie in character. The film was released "unrated" in the United States by the Motion Picture Association of America. In the United Kingdom, it received a 15 certificate by the British Board of Film Classification for "strong language, violence, suicide references, threat". In Ireland, the film was given a 16 certificate by the Irish Film Classification Office for "strong violence, injury and language, and suicide theme".
Home media
The film was released on Blu-ray and DVD in the United States on 26 June 2018 by RLJ Entertainment. It was released on Blu-ray, DVD, Digital and On Demand in the United Kingdom and Ireland on 6 August 2018 by Arrow Video.
Reception
Terminal received generally negative reviews from critics, with many criticising the plot, pacing, direction and narrative, though Robbie's performance, the film's visual style and production values received praise. On review aggregator website Rotten Tomatoes, the film holds an approval rating of 21% based on 68 reviews, and an average rating of . The site's critical consensus reads, "Worth seeking out for only the most hardcore of Margot Robbie completists, Terminal lives down to the medical definition of its title in dreadfully derivative fashion." On Metacritic, the film has a weighted average score of 27 out of 100, based on 20 critics, indicating "generally unfavorable reviews".
Rolling Stones Peter Travers panned the film, awarding zero stars, stating, "The title of this wretched Tarantino-meets-Blade Runner noir rip-off doubles as a diagnosis". Rex Reed of the New York Observer also awarded zero stars, calling the film "a turgid, pretentious, and incomprehensible existential joke." David Edelstein of Vulture gave a negative review, criticising the plot's focus, saying, "since the film doesn't establish a baseline of reality, it's hard to pick out a premise." David Ehrlich of IndieWire gave the film a D, writing, "Vaughn Stein's Terminal takes a mess of dead tropes and Frankensteins them together into a crime saga that's in desperate need of brains. And a soul. And a story." Jacob Knight of Birth.Movies.Death. heavily criticised Stein's direction and wrote, "no amount of pretty pictures could save a script this abysmally written. Stein has penned scene after scene after scene of nasty people talking circles around one another, no character defined by anything beyond their comic book-ready aesthetic." Jeffrey M. Anderson of The San Francisco Examiner awarded the film two and a half stars out of four, describing the film as "mediocre", though praising Robbie's performance, writing, "Robbie is a bright one, and even though Terminal isn't much, it offers a chance to watch her shine." Clint Worthington of Consequence of Sound heavily criticised Stein's direction, calling the film a "waste of time" and "An entirely empty exercise in dated, exhausting hyper-stylized filmmaking."
Richard Roeper of the Chicago Sun-Times praised the film, awarding three out of four stars, writing, "The final 15 minutes or so of Terminal are flat-out nutso. One can imagine Robbie, Myers et al., breaking into laughter after hearing "Cut!" — not out of disrespect for the material, but out of sheer giddiness for having the opportunity to try something so audacious. Even when it doesn't work, Terminal is a film with never a dull moment." Kenneth Seward Jr. of IGN gave a mostly positive review, scoring the film a 7.5 out of 10, indicating it is "Good", stating, "Terminal is an interesting revenge story that mostly works. There are a few missteps, namely a few wasted characters and a straight forward plot made needlessly complicated. Still, Vaughn Stein should be pleased with what's here." Colin Covert of the Minneapolis Star Tribune gave a highly positive review, awarding three and a half out of four stars, praising the film's visual style, noting, "Every moment of Terminal engages the eye, and — unexpectedly — the mind. Even the makeup is arresting — the arterial red of Annie's lipstick is hypnotic."
James Berardinelli of Reelviews gave a mixed review, awarding the film two and a half stars out of four, writing, "At its best, Terminal is a tasty, tangy parfait – a kaleidoscope of neon-tinged visuals and a twisty storyline with a tortured timeline." However, he criticised the film's ending as "generic" and "anticlimactic". John DeFore of The Hollywood Reporter gave a mostly negative review criticising Stein's direction, writing, "An airless debut that says much about its writer-director's cultural diet and little about anything else in the world, Vaughn Stein's Terminal blends tropes from several sorts of crime flicks into a soundstagey affair that's more brittle than hard-boiled." Jeannette Catsoulis of The New York Times also gave a negative review, calling the film "a flashy, hyperstylized bore." Shaun Munro of Flickering Myth gave a mostly positive review, stating, "It's messy and navel-gazingly ostentatious, but fitfully entertaining thanks largely to a scene-stealing, against-type performance from Simon Pegg."
References
External links
2018 films
2018 crime thriller films
American crime thriller films
American films about revenge
American neo-noir films
British crime thriller films
British films about revenge
British neo-noir films
Films about contract killing
Films about twin sisters
Films produced by David Barron
Films produced by Margot Robbie
Films produced by Tom Ackerley
Films shot in Budapest
Hong Kong crime thriller films
Hong Kong films about revenge
Hong Kong neo-noir films
Hungarian crime thriller films
Irish crime thriller films
LuckyChap Entertainment films
Patricide in fiction
English-language Hong Kong films
English-language Hungarian films
English-language Irish films
2010s English-language films
Films directed by Vaughn Stein
2010s American films
2010s British films
2010s Hong Kong films
|
The John Goddard House is a historic house at 235 Goddard Avenue in Brookline, Massachusetts, US. The two-story wood-frame house was originally built by Joseph Goddard in 1670 and re-built by his grandson John Goddard in 1767, a farmer. It is one of the few 18th-century houses in Brookline, important for the role it and its owner played in the American Revolutionary War during the Siege of Boston in 1776. The house was added to the National Register of Historic Places in 1985.
Description and history
The Goddard House is set on the north side of Goddard Avenue, opposite the northern border of Larz Anderson Park in southeastern Brookline. It is a roughly square wood-frame house, with a hip roof, central chimney, and a three-bay facade with a projecting gabled vestibule. The interior retains period fixtures, including wall paneling, doors, and hardware.
The house was built in 1767 by John Goddard on land originally purchased by his grandfather Joseph. Goddard, a teamster, was active in local civic affairs, notably serving in the Massachusetts Provincial Congress prior to the American Revolutionary War in 1775. Goddard's property was one of several places in Massachusetts used by rebellious colonists for the storage of munitions (probably in the barn, since demolished). During the Siege of Boston, Goddard acted as wagon-master general to the Continental Army during the Fortification of Dorchester Heights, a night-time act that required the wagons to be rendered as quiet as possible to avoid notice. After the siege lifted and the British troops left Boston, Goddard refused George Washington's offer to remain in military service due to his duty to his large family.
John and Hannah Goddard, A Sermon
Sermon preached in the First Parish Meeting House, Brookline, Mass. USA; by William H. Lyon D.D. in dedication of the Stained-Glass Window in memory of John and Hannah Goddard.
The evacuation of Boston on the seventeenth of March 1776, was the greatest victory which the Continental troops had gained up to that date. Nearly a year had passed since the days of Lexington and Concord, and just nine months since Bunker Hill. The attempt to conquer Canada had failed disastrously, and the eyes of the combatants on both sides of the ocean were directed to the struggle in and around Boston. There had seemed little prospect of American success when the siege began, and as time passed and no change in the condition had been affected, the prospect did not grow brighter.
When the spring began to open, however, Washington began to stir, and the result was a feat of engineering which both astonished and dismayed the too confident enemy.
On Monday night, March 4, a heavy cannonade was opened upon Boston from Roxbury, which was as hotly returned by the enemy, who had no suspicion of what it covered About seven o'clock two thousand men marched to Dorchester Heights. Eight hundred formed an advance guard, followed by carts with intrenching tools, then came twelve hundred more troops, and last of all a train of three hundred wagons, carrying facines and hay. Every possible precaution had been taken to prevent discovery. The wheels of the carts were wound with hay, and the oxen shod with felt, and no whips were allowed to be used, the poor uninterested beasts being prodded along with sharpened sticks. So, though there was a bright moonlight, the British were completely taken by surprise when they beheld, the next morning, the fortifications which made Boston untenable. “Good God!” exclaimed General Howe, “these fellows have done more work in one night than I could have made my army do in three months. What shall I do?” At first he undertook to bombard the intrenchments, but his gunners could not fire so high, though they sunk the hind wheels of their cannon in the ground. Washington hoped they would attack him, in which case troops that were waiting on the other side of Boston would have assailed the city. “But the renowned Lord Percy Disappointed us,” wrote John Sullivan to John Adams, for he, instead of his Prospect Glass, took a multiplying Glass & viewed our people from the Castle, & made them fifty thousand, when, in fact, we had only sent on four thousand.” The result was that, to their humiliation, the whole British force, in great disorder and confusion, abandoned the city, leaving over two hundred cannons, thousands of muskets, and great stores of powder, lead, and other military necessities, and betook themselves to their fleet. So ended the siege of Boston.
With the commanders of the troops who occupied those decisive Dorchester Heights we need not now concern ourselves. Our business is with him who so efficiently and successfully organized and conducted the wagon train which bore the materials for the fortifications, John Goddard of Brookline. He was already well known in his own town as a patriot and had been appointed to various posts of service in the preparations for the Revolution. We find in the town records that on December 15, 1767, John Goddard was chosen one of five persons to “be a Committee to prepare a form for subscription against Receiving of those European superfluities and make Report” as to those “superfluities.” On the twentieth of November in that year Parliament had laid a duty on paint, paper, glass and tea imported into the colonies, and the Americans proposed to defeat it by simply going without those articles. On December 11, 1772, Mr. Goddard was one of a Committee of seven appointed “to take under consideration the Violation and Infringments of the Rights of the Colonists and of this Province in particular,” and “to be a Standing Committee of Communication and correspond with the Town of Boston and any other Town in the Subject of our Present Difficulties.” The grievances referred to are stated at length in the minutes of the twenty-eighth of the same month. As the sky grows darker with the clouds of war we find Mr. Goddard appointed (September 1, 1774) on another committee “to Ex amine into the state of Said Town as to Their Military preparations for War, in case of a Sudden attack from our Enemies”; and on the twenty-seventh made one of two delegates “to attend in the Provincial Congress, to be held at Concord, to meet the Delegates from the other Towns in the Province and unite with them in all Such Measures as shall Appear to you to have a tendency to promote the Welfare of this Province and to recover and Secure the first Rights and Liberties of America.” Again, on January 1, 1775, he is made 'one of a committee to see that the vote “To comply with the Recommendation as set forth by the Continental and Provindal Congress, be Duly Observed.”
We find also that at a meeting of the committee of safety at the house of Captain Stedman, in Cambridge, November 2, 1774, it was “Voted: unanimously, that Mr. John Goddard of Brookline be wagon master for the army, and that Captain White inform him of his choice, by the province;” and again, in records dated “Head Quarters, May 15, 1775,” “This is to certify, that Mr. John Goddard has been appointed by, the joint committee of safety and supplies as Wagon Master to this colony, to convey such articles of stores from one part of this colony to another as the public exigency may require, and that such other wagoners or drivers are to be employed as he shall recommend for that purpose.” It is proof of the efficiency and success of Mr. Goddard in this important service of transportation that it was recorded in the Orderly Book of Captain Abijah Wyman's company in Colonel William Prescott's regiment, on August 9, 1775, that “Mr. John Goddard is appointed by the Commander in Chief, Wagon Master General to the army of the twelve united Colonies and is to be obeyed as such.” He had power to seize such wagons and horses or oxen as he needed for the public service and assign prices for them.
Before this appointment he had evidently been known to General Washington as a reliable patriot for we read in the same book, under date of April 21, “That the two hogsheads of powder in the possession of Mr. Pigion be lodged with John Goddard at Brookline, for the use of the American troops,” and again, on April 24, “that General Thomas do send an officer, with a sufficient guard, to convey a mortar and ordnance stores to Mr. John Goddard in Brookline where the powder is now stored.” Before this the powder that went to Concord had been stored in some bushes on Mr. Goddard's farm, and it was related as remarkable, if not providential, that the lightning one stormy night struck and split the tree at the foot of which the powder was hidden without causing any explosion. It was soon found, however, that the place of hiding was becoming too well known, and the powder was carried to Concord, followed one unlucky day by the British. The cannons, however, remained and were carried around through Heath Street in Roxbury to Dorchester Heights, leaving the old barn which had sheltered them to stand as a witness to this day. Mr. Goddard was urged by General Washington to conduct the transportation of his army to New York, and to remain with him to the end of the war, in which case he would have had the rank of Lieutenant- Colonel to begin with but be answered that he could not leave his wife and children, and having aided in driving the enemy from his own province, resigned and spent the rest of his life upon his farm.
At this time Mr. Goddard had fourteen children, of whom the youngest was born three weeks after that famous moonlight march of his father. Two were born later. Of these sixteen all but one, a daughter, were the children of his second wife, Hannah Seaver. She was born July16, 1735, and died May 31, 1821. To have lived eighty-six years and to have borne fifteen children in less than twenty-five years argues a strong constitution, especially when we consider the labor and exposure which the faithful wives of our forefathers underwent upon their farms.
“I do not recollect,” says one of the sons, “there being more than one female assistant at one time in the house, unless when there was a nurse and sometimes a washerwoman one day in the week. In those days they baked all their bread, brewed their own beer, made their own soap, did all their sewing except making some new garments, knit their own stockings if they wore any, and often spun their own yarn, made the cloth for their shirts and sheets and even pocket handkerchiefs. The sleeved jackets and trousers were manufactured in the same family way; in making pocket handkerchiefs, the white linen was first made, though not very fine, and handed to the children, who tied shot up fancifully in it, and then dyed in the dye-pot in the corner of the fireplace; when done, washed and dried, we untied the shot, and behold the beautiful white rings made by the strings around the shot' through which the dye did not penetrate; to make the checked and striped shirts, the colored part was died in the same pot.” And “how often have I seen the anxious mother search the well, which was about eight feet deep and fed by a spring, and protected by no curb, when by reaching and stirring with a long stick bubbles would rise, which went far to convince her that the child was there and she suffered most excruciatingly, till the missing was found.”
Whether she had the experience of one of our more recent Brookline mothers, who bore nine children and had eight of them down with the measles at once, in four rooms, two in a room, we are not told. Her maternal methods were simple, if we may judge from the reply made to someone who asked what she did with so many children, that she “put leather aprons on them all and turned them all out to play.” All was not play, however, with the young Goddard's, for we are told of John, the eldest son, that before he was nine years old he had committed to memory and recited to Rev. Joseph Jackson the whole Book of Proverbs, with its thirty-one chapters and perhaps six thousand verses, and the one hundredth and nineteenth Psalm, which has one hundred and seventy-six verses. He came rightly by his love of the Bible, however, for his mother was the granddaughter of Deacon Benjamin White of the church in Brookline. Her mother, Hannah White, for whom she was named, died less than seven years after she was born, so that she had to leave her daughter's education, to other than her natural guardian; but whoever received her did her work well, for Hannah grew up to be much beloved and respected, and was long remembered after she• was gone. Like “the mother of Zebedee's children,” her life sank from public fame into the lives of her husband and children, but it was true then of America, as Napoleon afterwards said of France, that “what the country needed most was mothers.”
Of her fifteen children only seven reached their majority, not from lack of care, but from the inevitable circumstances of their life. “They were scorched by the flames of the great open fireplace,” says Mrs. Earle of the children of that day, “but four feet away they would almost freeze. In their bedrooms there was, of course, no heat. On the Sunday after birth, the new baby was taken to the meeting-house, which was often miles away, and in which it was so cold in winter that the squares of communion bread rattled on the silver plate and ice had to be broken in the christening bowl.” Of Judge Sewall's fourteen children but three survived him, a majority dying in infancy, and of fifteen children of his friend, Cotton Mather, but two survived their father. The medical practice of the day was not well developed, and the household medicines were apt to be harsh or utterly useless. The farmer's children fared better as to length of life than those of the Judge or the Parson.
The name Godard, though apparently French, is found in England before the Conquest, and is registered in Domesday Book as found in Wiltshire. There certainly lived in the thirteenth century Walter Godard Ville, who was levied upon by Henry III for horses and arms. His son dropped the last part of this name, and Godard continued henceforth to be the family title.
Our John Goddard came of a sturdy republican and militant stock. He was the great- grandson of William who emigrated to this country in 1665, and settled in Watertown, Mass. His father, Edward; was a wealthy farmer, educated at Oxford, and a commissioner under the Commonwealth. Most of his family fought with the King, but he chose the side of Parliament. It is supposed that William shared his father's political opinions and that it was persecution on this account that drove him to this country. If this be true, his love of free institutions cost him dear. According to the English law of that day, he was allowed to bring only five pounds in money with him, and the rest of his property, which he had stored in London, was burned in the great fire. He found himself, therefore, in straitened circumstances in a new land, and began to teach Latin and other branches of learning.
It was his third son, Joseph, born in London, who came to Brookline in 1670, to a part of it then included in Roxbury, and bought a strip of land extending from what is now Clyde Street to Jamaica Pond. To this he added, as deeds still extant show, fifty acres bought from Daniel Oliver in 1712, and in the same year fifty more from William Marean. On this land his descendants have lived ever since. There was a lane leading to Jamaica Plain and a cart road through the estate now owned by Mr. Moses Williams to what is now called Warren Street. This land passed to his fourth son, John, who, on his removal to Worcester in 1745, left the farm to John, the eldest son of his second wife, his first wife having had no children. This was the John Goddard of whom we have been speaking, and in whom the sturdy republican strain which was in his great-great-grandfather, Edward, of Cromwell's day and which sent his great grandfather, William, to this country, came once more into action. The fugitive from King Charles II avenged himself in the person of his great-grandson upon King George III. It was by this John Goddard that the older of the two houses was built in 1767, the more primitive one of 1680 having by this time earned an honorable discharge. The original clap-boards, fastened with English hand-cut nails, are still in their places.
While we have the family tree before us, let us trace out some of its later branches. The eldest son of the Revolutionary John, who bore the same name, was a delicate boy, though, like many a youth of the kind, he lived long and passed through much. We have seen what he could endure in the way of learning and reciting Scripture. Educated as a physician, he became a surgeon on one of our armed vessels, was captured with it, carried to a West Indian prison, almost died of a fever, escaped, was captured with the vessel to which he had swum, taken back to the same prison, escaped again, and reached home on a Sunday morning so changed that his own mother did not know him. This was doing fairly well for a “delicate” young man! He never fully recovered from this experience, but he married Susanna, daughter of John Heath of Brookline, and settled in Portsmouth, N. H. He was chosen United States Senator and Governor of the state, but declined, and advised his sons always to decline public office. After the death of his second wife, Jane Boyd, he married a daughter of President Langdon of Harvard College. He died in 1829 at the age of seventy- three.
Meantime, his younger brother Joseph had settled upon his father's farm and died there in 1846 at the age of eighty-five. He married Mary Aspinwall, by whom he had eleven children. The tenth of these, Abijah Warren Goddard, spent his long life of ninety-seven years upon the original farm, building the present home in 1857. He died August 12, 1900, honored and beloved, after having held many offices in the town and been deacon of the First Parish for forty-four years. His daughter, Mrs. Eliza Watson, and her daughter, Mrs. D. Wright, are the sixth generation to occupy the old farm, the latter continuing in many useful works the patriotic spirit of her line. It is interesting to think that this Goddard, with whom we have lived and talked, connects us directly, through his father, with the Revolution. Abijah's elder brother, Samuel Aspinwall Goddard, seems to have inherited in especial force the sturdy patriotic spirit of his English ancestors and of the Revolutionary John. Circumstances took him to England, where he became a naturalized citizen, but he was a fearless and persistent advocate of the Northern cause in a land where there was great need of defense and explanation. John Bright made special acknowledgment of the help he had received from this loyal American, and it is clear that he did much toward preventing the British from recognizing the Southern Confederacy.
The town records show that John Goddard was an active, patriotic and useful citizen. He was for a long series of years the moderator of the annual town meeting, being after 1779 always called Captain Goddard. He must have gone almost directly from Dorchester Heights to his farm, for on March 11 he was made one of the assessors of Brookline. On May 20 he was “Chosen to Serve for and Represent said Town in said Great & General Assembly,” and the purpose of appointing such a man is seen in the vote at once passed, “to advise the Person, if Chosen to Represent this Town in the next General Court, that if the Hon. Congress Should for the Safety of the American Colonies, Declare them Independent of the Kingdom of Great Britain, that we said inhabitants will Solemnly engage with our Lives and fortune to support them in the measure.” The ring of this vote makes one suspect that the sturdy John had a hand in forging it. He seems also to have been much interested in the church, for in nearly every case in which the town passed a vote concerning it, or the minister, Mr. Goddard was the one, or one of those, selected to execute the measure. The Parish records show that he was also frequently chosen one of the delegates to accompany the minister to ordinations or installations. He died April 13,1816.
John and Hannah Goddard are types of the men and women who made New England what it was and, in much that is best, what it is. One understands whence the strength came that drove England out of the country, when one thinks of the thousands of such households that were scattered over the eastern border of this great land, thinking not much about themselves and not realizing what an empire they were helping to found. We cannot safely prophecy what will come of these new streams of life which are pouring into our country from the other side of the ocean. Who can tell what ancient vigor and fineness may come back to the descendants of the Greeks and Romans, or to those of the barbarians who poured down from the north and dispossessed these stocks of the fair domains of southern and eastern Europe? But we trust that enough will remain of the old colonial English blood to preserve the ideals of freedom which were incarnated in men like John Goddard and not less in women like Hannah, his wife.
There is one word more, however, which I would like to add. The window which we dedicate today owes its presence here to a sentence in the discourse delivered in this house during the week of the bicentennial celebration of the founding of this town, on November 12, 1905: “John Goddard and Hannah, his remarkable wife,” I said, “ought to have a memorial window in this church, where their direct descendants still worship; and Isaac Gardner should have another.” There were two descendants of John Goddard in the congregation who were not connected with this parish, and they made up their minds that such a window should be placed here and, with the co-operation of others, here it is. I now repeat the second suggestion, that Isaac Gardner should also have a window. I do not know who his descendants are, but, like the warrior of old who drew his bow at a venture and hit a king, I throw out this thought in the hope that somewhere it may strike the right man or woman. Isaac Gardner commanded one of the three companies from Brookline who went to the battles of Lexington and Concord. They assembled in front of the old meeting-house, just this side of the present parsonage. He never returned and was one of the first martyrs to the cause of your liberty and mine. He lived on the Brighton road, now Chestnut Hill Avenue, and was active in this parish, being often mentioned in its records. He was a good soldier of Christ as well as of the colony of Massachusetts Bay. He ought to be commemorated here, and perhaps those who will see that this is done are now hearing these words. John Goddard, one of the heroes of Dorchester Heights and of the evacuation of Boston, has his window. There is one still left on the sunny side of this meeting-house. What name would be more fitly placed there than that of Isaac Gardner?
However, this may be, we thank today those who have set this memorial of John and Hannah Goddard. When I came here sixteen years ago, their descendant, Deacon Abijah Goddard, venerable with four-score and ten years of useful life, sat on my left of the broad aisle, and on my right still sit his daughter, granddaughter and great-grandson. In the course of years these too will vanish, and those who take their places will know little of their predecessors. In time, this memorial will also pass away, but, built into the very foundation of a mighty nation, will endure forever the lives of those that gave themselves for it when it began.
See also
National Register of Historic Places listings in Brookline, Massachusetts
References
Houses completed in 1767
Georgian architecture in Massachusetts
Houses in Brookline, Massachusetts
National Register of Historic Places in Brookline, Massachusetts
1767 establishments in the Province of Massachusetts Bay
Houses on the National Register of Historic Places in Norfolk County, Massachusetts
|
```turing
use strict;
use warnings;
BEGIN { $ENV{T2_NO_IPC} = 1 };
use Test2::Tools::Tiny;
use Test2::IPC::Driver::Files;
ok(Test2::API::test2_ipc_disabled, "disabled IPC");
ok(!Test2::API::test2_ipc, "No IPC");
done_testing;
```
|
```html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>reveal.js - Markdown Demo</title>
<link rel="stylesheet" href="../../css/reveal.css">
<link rel="stylesheet" href="../../css/theme/white.css" id="theme">
<link rel="stylesheet" href="../../lib/css/zenburn.css">
</head>
<body>
<div class="reveal">
<div class="slides">
<!-- Use external markdown resource, separate slides by three newlines; vertical slides by two newlines -->
<section data-markdown="example.md" data-separator="^\n\n\n" data-separator-vertical="^\n\n"></section>
<!-- Slides are separated by three dashes (quick 'n dirty regular expression) -->
<section data-markdown data-separator="---">
<script type="text/template">
## Demo 1
Slide 1
---
## Demo 1
Slide 2
---
## Demo 1
Slide 3
</script>
</section>
<!-- Slides are separated by newline + three dashes + newline, vertical slides identical but two dashes -->
<section data-markdown data-separator="^\n---\n$" data-separator-vertical="^\n--\n$">
<script type="text/template">
## Demo 2
Slide 1.1
--
## Demo 2
Slide 1.2
---
## Demo 2
Slide 2
</script>
</section>
<!-- No "extra" slides, since there are no separators defined (so they'll become horizontal rulers) -->
<section data-markdown>
<script type="text/template">
A
---
B
---
C
</script>
</section>
<!-- Slide attributes -->
<section data-markdown>
<script type="text/template">
<!-- .slide: data-background="#000000" -->
## Slide attributes
</script>
</section>
<!-- Element attributes -->
<section data-markdown>
<script type="text/template">
## Element attributes
- Item 1 <!-- .element: class="fragment" data-fragment-index="2" -->
- Item 2 <!-- .element: class="fragment" data-fragment-index="1" -->
</script>
</section>
<!-- Code -->
<section data-markdown>
<script type="text/template">
```php
public function foo()
{
$foo = array(
'bar' => 'bar'
)
}
```
</script>
</section>
</div>
</div>
<script src="../../lib/js/head.min.js"></script>
<script src="../../js/reveal.js"></script>
<script>
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
// Optional libraries used to extend on reveal.js
dependencies: [
{ src: '../../lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '../highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '../notes/notes.js' }
]
});
</script>
</body>
</html>
```
|
```javascript
/**
* @license Apache-2.0
*
*
*
* 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.
*/
'use strict';
// MODULES //
var vm = require( 'vm' ); // TODO: handle in-browser tests
var tape = require( 'tape' );
var proxyquire = require( 'proxyquire' );
var inherit = require( '@stdlib/utils/inherit' );
var Int8Array = require( '@stdlib/array/int8' );
var Uint8Array = require( '@stdlib/array/uint8' );
var Uint8ClampedArray = require( '@stdlib/array/uint8c' );
var Int16Array = require( '@stdlib/array/int16' );
var Uint16Array = require( '@stdlib/array/uint16' );
var Int32Array = require( '@stdlib/array/int32' );
var Uint32Array = require( '@stdlib/array/uint32' );
var Float32Array = require( '@stdlib/array/float32' );
var Float64Array = require( '@stdlib/array/float64' );
var IS_BROWSER = require( '@stdlib/assert/is-browser' );
var isTypedArray = require( './../lib' );
// VARIABLES //
var opts = {
'skip': IS_BROWSER
};
// TESTS //
tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof isTypedArray, 'function', 'main export is a function' );
t.end();
});
tape( 'the function returns `true` if provided a typed array', function test( t ) {
var values;
var i;
values = [
new Int8Array( 10 ),
new Uint8Array( 10 ),
new Uint8ClampedArray( 10 ),
new Int16Array( 10 ),
new Uint16Array( 10 ),
new Int32Array( 10 ),
new Uint32Array( 10 ),
new Float32Array( 10 ),
new Float64Array( 10 )
];
for ( i = 0; i < values.length; i++ ) {
t.strictEqual( isTypedArray( values[i] ), true, 'returns true when provided '+values[i] );
}
t.end();
});
tape( 'the function returns `true` if provided a typed array (older environments)', function test( t ) {
var isTypedArray;
var values;
var i;
isTypedArray = proxyquire( './../lib/main.js', {
'@stdlib/assert/has-float64array-support': hasSupport
});
values = [
new Int8Array( 10 ),
new Uint8Array( 10 ),
new Uint8ClampedArray( 10 ),
new Int16Array( 10 ),
new Uint16Array( 10 ),
new Int32Array( 10 ),
new Uint32Array( 10 ),
new Float32Array( 10 ),
new Float64Array( 10 )
];
for ( i = 0; i < values.length; i++ ) {
t.strictEqual( isTypedArray( values[i] ), true, 'returns true when provided '+values[i] );
}
t.end();
function hasSupport() {
return false;
}
});
tape( 'the function returns `true` if an environment does not support the abstract TypedArray class (e.g., IE 11)', function test( t ) {
var isTypedArray;
var values;
var i;
isTypedArray = proxyquire( './../lib/main.js', {
'@stdlib/utils/get-prototype-of': getPrototypeOf
});
values = [
new Int8Array( 10 ),
new Uint8Array( 10 ),
new Uint8ClampedArray( 10 ),
new Int16Array( 10 ),
new Uint16Array( 10 ),
new Int32Array( 10 ),
new Uint32Array( 10 ),
new Float32Array( 10 ),
new Float64Array( 10 )
];
for ( i = 0; i < values.length; i++ ) {
t.strictEqual( isTypedArray( values[i] ), true, 'returns true when provided '+values[i] );
}
t.end();
function getPrototypeOf() {
// Return an anonymous function:
return function () {}; // eslint-disable-line func-names
}
});
tape( 'the function returns `true` if provided an object inheriting from a typed array', function test( t ) {
function CustomArray( data ) {
var i;
for ( i = 0; i < data.length; i++ ) {
this[ i ] = data[ i ];
}
return this;
}
inherit( CustomArray, Float64Array );
t.strictEqual( isTypedArray( new CustomArray( [ 5.0, 3.0 ] ) ), true, 'returns true when provided a value which inherits from a typed array' );
t.end();
});
tape( 'the function returns `true` if provided a typed array from a different realm', opts, function test( t ) {
var arr = vm.runInNewContext( 'new Float64Array( [ 5.0, 3.0 ] )' );
t.strictEqual( isTypedArray( arr ), true, 'returns true' );
t.end();
});
tape( 'the function returns `true` if provided an object from a different realm which inherits from a typed array', opts, function test( t ) {
var arr = vm.runInNewContext( 'function Arr() { return this; }; Arr.prototype = Object.create( Float64Array.prototype ); Arr.prototype.constructor = Arr; new Arr( [ 5.0, 3.0 ] );' );
t.strictEqual( isTypedArray( arr ), true, 'returns true' );
t.end();
});
tape( 'the function returns `false` if not provided a typed array', function test( t ) {
var values;
var i;
values = [
'5',
5,
NaN,
null,
void 0,
true,
false,
[],
{},
function noop() {}
];
for ( i = 0; i < values.length; i++ ) {
t.strictEqual( isTypedArray( values[i] ), false, 'returns false when provided '+values[i] );
}
t.end();
});
```
|
```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.springframework.cloud.function.context;
import java.util.function.Function;
import org.springframework.messaging.Message;
/**
* Strategy for implementing function with post processing behavior.
* <br>
* The core framework only provides support for the post-processing behavior.
* The actual invocation of post-processing is left to the end user or the framework which
* integrates Spring Cloud Function. This is because post-processing can mean different things
* in different execution contexts. See {@link #postProcess(Message)} method for more information.
*
* @param <I> - input type
* @param <O> - output type
*
* @author Oleg Zhurakousky
* @since 4.0.3
*
*/
public interface PostProcessingFunction<I, O> extends Function<I, O> {
@SuppressWarnings("unchecked")
@Override
default O apply(I t) {
return (O) t;
}
/**
* Will post process the result of this's function invocation after this function has been triggered.
* <br>
* This operation is not managed/invoked by the core functionality of the Spring Cloud Function.
* It is specifically designed as a hook for other frameworks and extensions to invoke after
* this function was "triggered" and there is a requirement to do some post processing. The word "triggered"
* can mean different things in different execution contexts. For example, in spring-cloud-stream it means
* that the function has been invoked and the result of the function has been sent to the target destination.
*
* The boolean value argument - 'success' - allows the triggering framework to signal success or
* failure of its triggering operation whatever that may mean.
*
* @param result - the result of function invocation as an instance of {@link Message} including all the metadata as message headers.
*/
default void postProcess(Message<O> result) {
}
}
```
|
```php
<?php
namespace Laravel\Passport\Bridge;
use Laravel\Passport\ClientRepository;
use Laravel\Passport\Passport;
use League\OAuth2\Server\Entities\ClientEntityInterface;
use League\OAuth2\Server\Repositories\ScopeRepositoryInterface;
class ScopeRepository implements ScopeRepositoryInterface
{
/**
* The client repository.
*
* @var \Laravel\Passport\ClientRepository|null
*/
protected ?ClientRepository $clients;
/**
* Create a new scope repository.
*
* @param \Laravel\Passport\ClientRepository|null $clients
* @return void
*/
public function __construct(?ClientRepository $clients = null)
{
$this->clients = $clients;
}
/**
* {@inheritdoc}
*/
public function getScopeEntityByIdentifier($identifier)
{
if (Passport::hasScope($identifier)) {
return new Scope($identifier);
}
}
/**
* {@inheritdoc}
*/
public function finalizeScopes(
array $scopes, $grantType,
ClientEntityInterface $clientEntity, $userIdentifier = null)
{
if (! in_array($grantType, ['password', 'personal_access', 'client_credentials'])) {
$scopes = collect($scopes)->reject(function ($scope) {
return trim($scope->getIdentifier()) === '*';
})->values()->all();
}
$client = $this->clients?->findActive($clientEntity->getIdentifier());
return collect($scopes)->filter(function ($scope) {
return Passport::hasScope($scope->getIdentifier());
})->when($client, function ($scopes, $client) {
return $scopes->filter(fn ($scope) => $client->hasScope($scope->getIdentifier()));
})->values()->all();
}
}
```
|
```java
Ternary operator
Distinction between `public` and `private` methods
Updating interfaces by using `default` methods
How range operations work
Supply `toString()` in all classes
```
|
```php
<?php
class DataProviderIncompleteTest extends PHPUnit_Framework_TestCase
{
/**
* @dataProvider incompleteTestProviderMethod
*/
public function testIncomplete($a, $b, $c)
{
$this->assertTrue(true);
}
/**
* @dataProvider providerMethod
*/
public function testAdd($a, $b, $c)
{
$this->assertEquals($c, $a + $b);
}
public function incompleteTestProviderMethod()
{
$this->markTestIncomplete('incomplete');
return array(
array(0, 0, 0),
array(0, 1, 1),
);
}
public static function providerMethod()
{
return array(
array(0, 0, 0),
array(0, 1, 1),
);
}
}
```
|
Herbert Lee Hill (August 19, 1891 – September 1, 1970) was a Major League Baseball pitcher who played for one season. He pitched in one game for the Cleveland Indians on July 17 during the 1915 Cleveland Indians season, pitching two innings.
External links
1891 births
1970 deaths
Major League Baseball pitchers
Cleveland Indians players
Baseball players from Dallas
Waterloo Jays players
Flint Vehicles players
Cleveland Spiders (minor league) players
South Bend Benders players
People from Farmers Branch, Texas
|
```go
/*
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
package exec
import (
"bufio"
"bytes"
"fmt"
"io"
"os"
"os/exec"
"strings"
log "github.com/sirupsen/logrus"
"k8s.io/kubeadm/kinder/pkg/exec/colors"
)
// NodeCmd allows to run a command on a kind(er) node
//
// by default the command is printed to stdout before execution; to enable colorized print of the
// command text, that can help in debugging, please set the KINDER_COLORS environment variable to ON.
//
// By default, when the command is run it does not print any output generated during execution.
// See Silent, Stdin, RunWithEcho, RunAndCapture, Skip and DryRun for possible variations to the default behavior.
type NodeCmd struct {
node string
command string
args []string
silent bool
dryRun bool
stdin io.Reader
stdout io.Writer
stderr io.Writer
}
// NewNodeCmd returns a new ProxyCmd to run a command on a kind(er) node
func NewNodeCmd(node, command string, args ...string) *NodeCmd {
return &NodeCmd{
node: node,
command: command,
args: args,
silent: false,
dryRun: false,
}
}
// Run execute the inner command on a kind(er) node
func (c *NodeCmd) Run() error {
return c.runInnnerCommand()
}
// RunWithEcho execute the inner command on a kind(er) node and echoes the command output to screen
func (c *NodeCmd) RunWithEcho() error {
c.stdout = os.Stderr
c.stderr = os.Stdout
return c.runInnnerCommand()
}
// RunAndCapture executes the inner command on a kind(er) node and return the output captured during execution
func (c *NodeCmd) RunAndCapture() (lines []string, err error) {
var buff bytes.Buffer
c.stdout = &buff
c.stderr = &buff
err = c.runInnnerCommand()
scanner := bufio.NewScanner(&buff)
for scanner.Scan() {
lines = append(lines, scanner.Text())
}
return lines, err
}
// Stdin sets an io.Reader to be used for streaming data in input to the inner command
func (c *NodeCmd) Stdin(in io.Reader) *NodeCmd {
c.stdin = in
return c
}
// Silent instructs the proxy command to not the command text to stdout before execution
func (c *NodeCmd) Silent() *NodeCmd {
c.silent = true
return c
}
// DryRun instruct the proxy command to print the inner command text instead of running it.
func (c *NodeCmd) DryRun() *NodeCmd {
c.dryRun = true
return c
}
func (c *NodeCmd) runInnnerCommand() error {
// define the proxy command used to pass the command to the node container
command := "docker"
// prepare the args
args := []string{
"exec",
// "--privileged"
}
// if it is requested to pipe data to the command itself, instruct docker exec to Keep STDIN open even if not attached
if c.stdin != nil {
args = append(args, "-i")
}
// add args for defining the target node container and the command to be executed
args = append(
args,
c.node,
c.command,
)
// adds the args for the command to be executed
args = append(
args,
c.args...,
)
// create the proxy commands
cmd := exec.Command(command, args...)
// redirects flows if requested
if c.stdin != nil {
cmd.Stdin = c.stdin
}
if c.stdout != nil {
cmd.Stdout = c.stdout
}
if c.stderr != nil {
cmd.Stderr = c.stderr
}
// if not silent, prints the screen echo for the command to be executed
if !c.silent {
prompt := colors.Prompt(fmt.Sprintf("%s:$ ", c.node))
command := colors.Command(fmt.Sprintf("%s %s", c.command, strings.Join(c.args, " ")))
fmt.Printf("\n%s%s\n", prompt, command)
}
// if we are dry running, eventually print the proxy command and then exit
if c.dryRun {
log.Debugf("Running: %s", strings.Join(cmd.Args, " "))
return nil
}
// eventually print the proxy command, and then run the command to be executed
log.Debugf("Running: %s", strings.Join(cmd.Args, " "))
return cmd.Run()
}
```
|
Robert Cummings Vance (February 21, 1894 – November 4, 1959) was a Connecticut newspaper publisher and philanthropist.
Background
He was the son of Robert Johnstone Vance, founder and publisher of the New Britain Herald from 1881 until his death in 1902. During his tenure as publisher, the elder Vance won a term in the U.S. Congress, and was later elected mayor of New Britain. Robert C. Vance’s mother, Mathilda O'Connor Vance, became publisher of the Herald in 1904
A New Britain native, Robert C. Vance attended New Britain High School and graduated from Yale College in 1918. He married Arlene-Dorothy Story on July 8, 1928.
Military service
In 1917, during World War I, he served the French Army as an ambulance driver until the US entered the war, at which time he joined the US Army, returning to the US in 1918. For the remainder of his life, he was “active in national, state, and local veterans’ affairs and, from time to time has been honored for this activity.” , According to an editorial which ran in the Hartford Courant after his death, “Mr. Vance will be remembered, too, for his interest in veterans' affairs. It began in Paris, when he was one of the group that founded the American Legion.”.
Work with the Herald
Vance was on staff at the Yale Daily News before joining the family business, where his older brother Johnstone Vance (1891-1951) had already assumed the role of managing editor.
Upon Mathilda Vance’s death In 1938, Johnstone Vance assumed the role of Herald publisher and president, holding these positions and that of managing editor until he died in 1951. At that point, Robert inherited all three positions.
Whereas Johnstone Vance was actively political, using the Herald to promote his candidacy in 1924 for U.S. Congress, and making news himself, Robert C. Vance appears to have befriended the leaders of both parties in New Britain (as well as the publishers of other newspapers, who accorded him much more respect than his brother had enjoyed).
When Vance’s son died in 1955, funeral attendees included both U.S. senators from Connecticut, Republicans Prescott Bush and William Purtell; local U.S. Congressman Thomas J. Dodd, a Democrat, and Democratic governor and New Britain native Abraham Ribicoff.,
Speaking at a dinner honoring Robert and his late brother Johnstone in 1953, Ribicoff’s predecessor, Republican John Davis Lodge wished “the Vance Family and to the staff of the Herald my friendly greetings and my good wishes for the continued growth of their fine newspaper and of its influence in the New Britain community.”
Death
Vance, who “had been in poor health for some time”, died on November 4, 1959. Ribicoff characterized his death “a great loss to Connecticut … It is also a personal loss to me, for I had the privilege of his warmth and understanding friendship for many years”.
Agnes Vance Weld, Robert’s sister, succeeded him as publisher of the Herald, which continued to be run by the Vance and Weld families until 1995.
Robert C. Vance Foundation
Vance's mother was “known for her philanthropies, always carried out in a quiet manner,” and Vance himself appears to have followed her example during his life. In 1956 he founded the Robert C. Vance Charitable Foundation, Inc., which he designated in his will as a major beneficiary of his estate. His estate, valued at about $US 1.3 million in 1960, was the largest probated in New Britain that year.
The foundation has provided grants to a range of charitable causes in central Connecticut, including the local School Readiness Council, the New Britain–Berlin YMCA and the Friendship Shelter Center, a homeless shelter in New Britain.
Association with Central Connecticut State University
In 1967 the Connecticut Board of Trustees for the State Colleges resolved to name the planned industrial education building at Central Connecticut State College the “Robert C. Vance Industrial Arts Center.” At that time a separate science building was also planned. However, in 1971, the board approved a new plan for a single science and industrial education building to be named for longtime professor Charles E. Pratt (the building was eventually named Copernicus Hall). As part of this change, a newly completed dormitory building was named Robert C. Vance Hall. In 1983 the foundation established the Robert C. Vance Distinguished Lecture Series at Central Connecticut State University, and in 2000 the foundation donated $US 1.4 million to establish the Robert C. Vance Distinguished Professorship of Journalism and Mass Communications at the same institution. At that time a new classroom building at CCSU was named the Robert C. Vance Academic Center in his honor.
References
American newspaper publishers (people)
People from New Britain, Connecticut
United States Army personnel of World War I
Yale College alumni
1894 births
1959 deaths
20th-century American philanthropists
American expatriates in France
|
```javascript
/**
* @author Yosuke Ota <path_to_url
* See LICENSE file in root directory for full license.
*/
'use strict'
const { findVariable } = require('@eslint-community/eslint-utils')
const utils = require('../utils')
module.exports = {
meta: {
type: 'problem',
docs: {
description: 'enforce valid `defineEmits` compiler macro',
categories: ['vue3-essential', 'vue2-essential'],
url: 'path_to_url
},
fixable: null,
schema: [],
messages: {
hasTypeAndArg: '`defineEmits` has both a type-only emit and an argument.',
referencingLocally:
'`defineEmits` is referencing locally declared variables.',
multiple: '`defineEmits` has been called multiple times.',
notDefined: 'Custom events are not defined.',
definedInBoth:
'Custom events are defined in both `defineEmits` and `export default {}`.'
}
},
/** @param {RuleContext} context */
create(context) {
const scriptSetup = utils.getScriptSetupElement(context)
if (!scriptSetup) {
return {}
}
/** @type {Set<Expression | SpreadElement>} */
const emitsDefExpressions = new Set()
let hasDefaultExport = false
/** @type {CallExpression[]} */
const defineEmitsNodes = []
/** @type {CallExpression | null} */
let emptyDefineEmits = null
return utils.compositingVisitors(
utils.defineScriptSetupVisitor(context, {
onDefineEmitsEnter(node) {
defineEmitsNodes.push(node)
const typeArguments =
'typeArguments' in node ? node.typeArguments : node.typeParameters
if (node.arguments.length > 0) {
if (typeArguments && typeArguments.params.length > 0) {
// `defineEmits` has both a literal type and an argument.
context.report({
node,
messageId: 'hasTypeAndArg'
})
return
}
emitsDefExpressions.add(node.arguments[0])
} else {
if (!typeArguments || typeArguments.params.length === 0) {
emptyDefineEmits = node
}
}
},
Identifier(node) {
for (const defineEmits of emitsDefExpressions) {
if (utils.inRange(defineEmits.range, node)) {
const variable = findVariable(utils.getScope(context, node), node)
if (
variable &&
variable.references.some((ref) => ref.identifier === node) &&
variable.defs.length > 0 &&
variable.defs.every(
(def) =>
def.type !== 'ImportBinding' &&
utils.inRange(scriptSetup.range, def.name) &&
!utils.inRange(defineEmits.range, def.name)
)
) {
if (utils.withinTypeNode(node)) {
continue
}
//`defineEmits` is referencing locally declared variables.
context.report({
node,
messageId: 'referencingLocally'
})
}
}
}
}
}),
utils.defineVueVisitor(context, {
onVueObjectEnter(node, { type }) {
if (type !== 'export' || utils.inRange(scriptSetup.range, node)) {
return
}
hasDefaultExport = Boolean(utils.findProperty(node, 'emits'))
}
}),
{
'Program:exit'() {
if (defineEmitsNodes.length === 0) {
return
}
if (defineEmitsNodes.length > 1) {
// `defineEmits` has been called multiple times.
for (const node of defineEmitsNodes) {
context.report({
node,
messageId: 'multiple'
})
}
return
}
if (emptyDefineEmits) {
if (!hasDefaultExport) {
// Custom events are not defined.
context.report({
node: emptyDefineEmits,
messageId: 'notDefined'
})
}
} else {
if (hasDefaultExport) {
// Custom events are defined in both `defineEmits` and `export default {}`.
for (const node of defineEmitsNodes) {
context.report({
node,
messageId: 'definedInBoth'
})
}
}
}
}
}
)
}
}
```
|
The 1881 Worcester Worcesters finished with a 32–50 record, last place in the National League.
Regular season
Season standings
Record vs. opponents
Roster
Player stats
Batting
Starters by position
Note: Pos = Position; G = Games played; AB = At bats; H = Hits; Avg. = Batting average; HR = Home runs; RBI = Runs batted in
Other batters
Note: G = Games played; AB = At bats; H = Hits; Avg. = Batting average; HR = Home runs; RBI = Runs batted in
Pitching
Starting pitchers
Note: G = Games pitched; IP = Innings pitched; W = Wins; L = Losses; ERA = Earned run average; SO = Strikeouts
References
1881 Worcester Worcesters season at Baseball Reference
Worcester Ruby Legs seasons
Worcester Ruby Legs season
Worcester
|
```python
# Last Change: Mon Aug 20 08:00 PM 2007 J
from __future__ import division, print_function, absolute_import
import re
import itertools
import datetime
from functools import partial
import numpy as np
from scipy._lib.six import next
"""A module to read arff files."""
__all__ = ['MetaData', 'loadarff', 'ArffError', 'ParseArffError']
# An Arff file is basically two parts:
# - header
# - data
#
# A header has each of its components starting by @META where META is one of
# the keyword (attribute of relation, for now).
# TODO:
# - both integer and reals are treated as numeric -> the integer info
# is lost!
# - Replace ValueError by ParseError or something
# We know can handle the following:
# - numeric and nominal attributes
# - missing values for numeric attributes
r_meta = re.compile(r'^\s*@')
# Match a comment
r_comment = re.compile(r'^%')
# Match an empty line
r_empty = re.compile(r'^\s+$')
# Match a header line, that is a line which starts by @ + a word
r_headerline = re.compile(r'^@\S*')
r_datameta = re.compile(r'^@[Dd][Aa][Tt][Aa]')
r_relation = re.compile(r'^@[Rr][Ee][Ll][Aa][Tt][Ii][Oo][Nn]\s*(\S*)')
r_attribute = re.compile(r'^@[Aa][Tt][Tt][Rr][Ii][Bb][Uu][Tt][Ee]\s*(..*$)')
# To get attributes name enclosed with ''
r_comattrval = re.compile(r"'(..+)'\s+(..+$)")
# To get normal attributes
r_wcomattrval = re.compile(r"(\S+)\s+(..+$)")
#-------------------------
# Module defined exception
#-------------------------
class ArffError(IOError):
pass
class ParseArffError(ArffError):
pass
#------------------
# Various utilities
#------------------
# An attribute is defined as @attribute name value
def parse_type(attrtype):
"""Given an arff attribute value (meta data), returns its type.
Expect the value to be a name."""
uattribute = attrtype.lower().strip()
if uattribute[0] == '{':
return 'nominal'
elif uattribute[:len('real')] == 'real':
return 'numeric'
elif uattribute[:len('integer')] == 'integer':
return 'numeric'
elif uattribute[:len('numeric')] == 'numeric':
return 'numeric'
elif uattribute[:len('string')] == 'string':
return 'string'
elif uattribute[:len('relational')] == 'relational':
return 'relational'
elif uattribute[:len('date')] == 'date':
return 'date'
else:
raise ParseArffError("unknown attribute %s" % uattribute)
def get_nominal(attribute):
"""If attribute is nominal, returns a list of the values"""
return attribute.split(',')
def read_data_list(ofile):
"""Read each line of the iterable and put it in a list."""
data = [next(ofile)]
if data[0].strip()[0] == '{':
raise ValueError("This looks like a sparse ARFF: not supported yet")
data.extend([i for i in ofile])
return data
def get_ndata(ofile):
"""Read the whole file to get number of data attributes."""
data = [next(ofile)]
loc = 1
if data[0].strip()[0] == '{':
raise ValueError("This looks like a sparse ARFF: not supported yet")
for i in ofile:
loc += 1
return loc
def maxnomlen(atrv):
"""Given a string containing a nominal type definition, returns the
string len of the biggest component.
A nominal type is defined as seomthing framed between brace ({}).
Parameters
----------
atrv : str
Nominal type definition
Returns
-------
slen : int
length of longest component
Examples
--------
maxnomlen("{floup, bouga, fl, ratata}") returns 6 (the size of
ratata, the longest nominal value).
>>> maxnomlen("{floup, bouga, fl, ratata}")
6
"""
nomtp = get_nom_val(atrv)
return max(len(i) for i in nomtp)
def get_nom_val(atrv):
"""Given a string containing a nominal type, returns a tuple of the
possible values.
A nominal type is defined as something framed between braces ({}).
Parameters
----------
atrv : str
Nominal type definition
Returns
-------
poss_vals : tuple
possible values
Examples
--------
>>> get_nom_val("{floup, bouga, fl, ratata}")
('floup', 'bouga', 'fl', 'ratata')
"""
r_nominal = re.compile('{(.+)}')
m = r_nominal.match(atrv)
if m:
return tuple(i.strip() for i in m.group(1).split(','))
else:
raise ValueError("This does not look like a nominal string")
def get_date_format(atrv):
r_date = re.compile(r"[Dd][Aa][Tt][Ee]\s+[\"']?(.+?)[\"']?$")
m = r_date.match(atrv)
if m:
pattern = m.group(1).strip()
# convert time pattern from Java's SimpleDateFormat to C's format
datetime_unit = None
if "yyyy" in pattern:
pattern = pattern.replace("yyyy", "%Y")
datetime_unit = "Y"
elif "yy":
pattern = pattern.replace("yy", "%y")
datetime_unit = "Y"
if "MM" in pattern:
pattern = pattern.replace("MM", "%m")
datetime_unit = "M"
if "dd" in pattern:
pattern = pattern.replace("dd", "%d")
datetime_unit = "D"
if "HH" in pattern:
pattern = pattern.replace("HH", "%H")
datetime_unit = "h"
if "mm" in pattern:
pattern = pattern.replace("mm", "%M")
datetime_unit = "m"
if "ss" in pattern:
pattern = pattern.replace("ss", "%S")
datetime_unit = "s"
if "z" in pattern or "Z" in pattern:
raise ValueError("Date type attributes with time zone not "
"supported, yet")
if datetime_unit is None:
raise ValueError("Invalid or unsupported date format")
return pattern, datetime_unit
else:
raise ValueError("Invalid or no date format")
def go_data(ofile):
"""Skip header.
the first next() call of the returned iterator will be the @data line"""
return itertools.dropwhile(lambda x: not r_datameta.match(x), ofile)
#----------------
# Parsing header
#----------------
def tokenize_attribute(iterable, attribute):
"""Parse a raw string in header (eg starts by @attribute).
Given a raw string attribute, try to get the name and type of the
attribute. Constraints:
* The first line must start with @attribute (case insensitive, and
space like characters before @attribute are allowed)
* Works also if the attribute is spread on multilines.
* Works if empty lines or comments are in between
Parameters
----------
attribute : str
the attribute string.
Returns
-------
name : str
name of the attribute
value : str
value of the attribute
next : str
next line to be parsed
Examples
--------
If attribute is a string defined in python as r"floupi real", will
return floupi as name, and real as value.
>>> iterable = iter([0] * 10) # dummy iterator
>>> tokenize_attribute(iterable, r"@attribute floupi real")
('floupi', 'real', 0)
If attribute is r"'floupi 2' real", will return 'floupi 2' as name,
and real as value.
>>> tokenize_attribute(iterable, r" @attribute 'floupi 2' real ")
('floupi 2', 'real', 0)
"""
sattr = attribute.strip()
mattr = r_attribute.match(sattr)
if mattr:
# atrv is everything after @attribute
atrv = mattr.group(1)
if r_comattrval.match(atrv):
name, type = tokenize_single_comma(atrv)
next_item = next(iterable)
elif r_wcomattrval.match(atrv):
name, type = tokenize_single_wcomma(atrv)
next_item = next(iterable)
else:
# Not sure we should support this, as it does not seem supported by
# weka.
raise ValueError("multi line not supported yet")
#name, type, next_item = tokenize_multilines(iterable, atrv)
else:
raise ValueError("First line unparsable: %s" % sattr)
if type == 'relational':
raise ValueError("relational attributes not supported yet")
return name, type, next_item
def tokenize_single_comma(val):
# XXX we match twice the same string (here and at the caller level). It is
# stupid, but it is easier for now...
m = r_comattrval.match(val)
if m:
try:
name = m.group(1).strip()
type = m.group(2).strip()
except IndexError:
raise ValueError("Error while tokenizing attribute")
else:
raise ValueError("Error while tokenizing single %s" % val)
return name, type
def tokenize_single_wcomma(val):
# XXX we match twice the same string (here and at the caller level). It is
# stupid, but it is easier for now...
m = r_wcomattrval.match(val)
if m:
try:
name = m.group(1).strip()
type = m.group(2).strip()
except IndexError:
raise ValueError("Error while tokenizing attribute")
else:
raise ValueError("Error while tokenizing single %s" % val)
return name, type
def read_header(ofile):
"""Read the header of the iterable ofile."""
i = next(ofile)
# Pass first comments
while r_comment.match(i):
i = next(ofile)
# Header is everything up to DATA attribute ?
relation = None
attributes = []
while not r_datameta.match(i):
m = r_headerline.match(i)
if m:
isattr = r_attribute.match(i)
if isattr:
name, type, i = tokenize_attribute(ofile, i)
attributes.append((name, type))
else:
isrel = r_relation.match(i)
if isrel:
relation = isrel.group(1)
else:
raise ValueError("Error parsing line %s" % i)
i = next(ofile)
else:
i = next(ofile)
return relation, attributes
#--------------------
# Parsing actual data
#--------------------
def safe_float(x):
"""given a string x, convert it to a float. If the stripped string is a ?,
return a Nan (missing value).
Parameters
----------
x : str
string to convert
Returns
-------
f : float
where float can be nan
Examples
--------
>>> safe_float('1')
1.0
>>> safe_float('1\\n')
1.0
>>> safe_float('?\\n')
nan
"""
if '?' in x:
return np.nan
else:
return float(x)
def safe_nominal(value, pvalue):
svalue = value.strip()
if svalue in pvalue:
return svalue
elif svalue == '?':
return svalue
else:
raise ValueError("%s value not in %s" % (str(svalue), str(pvalue)))
def safe_date(value, date_format, datetime_unit):
date_str = value.strip().strip("'").strip('"')
if date_str == '?':
return np.datetime64('NaT', datetime_unit)
else:
dt = datetime.datetime.strptime(date_str, date_format)
return np.datetime64(dt).astype("datetime64[%s]" % datetime_unit)
class MetaData(object):
"""Small container to keep useful informations on a ARFF dataset.
Knows about attributes names and types.
Examples
--------
::
data, meta = loadarff('iris.arff')
# This will print the attributes names of the iris.arff dataset
for i in meta:
print(i)
# This works too
meta.names()
# Getting attribute type
types = meta.types()
Notes
-----
Also maintains the list of attributes in order, i.e. doing for i in
meta, where meta is an instance of MetaData, will return the
different attribute names in the order they were defined.
"""
def __init__(self, rel, attr):
self.name = rel
# We need the dictionary to be ordered
# XXX: may be better to implement an ordered dictionary
self._attributes = {}
self._attrnames = []
for name, value in attr:
tp = parse_type(value)
self._attrnames.append(name)
if tp == 'nominal':
self._attributes[name] = (tp, get_nom_val(value))
elif tp == 'date':
self._attributes[name] = (tp, get_date_format(value)[0])
else:
self._attributes[name] = (tp, None)
def __repr__(self):
msg = ""
msg += "Dataset: %s\n" % self.name
for i in self._attrnames:
msg += "\t%s's type is %s" % (i, self._attributes[i][0])
if self._attributes[i][1]:
msg += ", range is %s" % str(self._attributes[i][1])
msg += '\n'
return msg
def __iter__(self):
return iter(self._attrnames)
def __getitem__(self, key):
return self._attributes[key]
def names(self):
"""Return the list of attribute names."""
return self._attrnames
def types(self):
"""Return the list of attribute types."""
attr_types = [self._attributes[name][0] for name in self._attrnames]
return attr_types
def loadarff(f):
"""
Read an arff file.
The data is returned as a record array, which can be accessed much like
a dictionary of numpy arrays. For example, if one of the attributes is
called 'pressure', then its first 10 data points can be accessed from the
``data`` record array like so: ``data['pressure'][0:10]``
Parameters
----------
f : file-like or str
File-like object to read from, or filename to open.
Returns
-------
data : record array
The data of the arff file, accessible by attribute names.
meta : `MetaData`
Contains information about the arff file such as name and
type of attributes, the relation (name of the dataset), etc...
Raises
------
ParseArffError
This is raised if the given file is not ARFF-formatted.
NotImplementedError
The ARFF file has an attribute which is not supported yet.
Notes
-----
This function should be able to read most arff files. Not
implemented functionality include:
* date type attributes
* string type attributes
It can read files with numeric and nominal attributes. It cannot read
files with sparse data ({} in the file). However, this function can
read files with missing data (? in the file), representing the data
points as NaNs.
Examples
--------
>>> from scipy.io import arff
>>> from io import StringIO
>>> content = \"\"\"
... @relation foo
... @attribute width numeric
... @attribute height numeric
... @attribute color {red,green,blue,yellow,black}
... @data
... 5.0,3.25,blue
... 4.5,3.75,green
... 3.0,4.00,red
... \"\"\"
>>> f = StringIO(content)
>>> data, meta = arff.loadarff(f)
>>> data
array([(5.0, 3.25, 'blue'), (4.5, 3.75, 'green'), (3.0, 4.0, 'red')],
dtype=[('width', '<f8'), ('height', '<f8'), ('color', '|S6')])
>>> meta
Dataset: foo
\twidth's type is numeric
\theight's type is numeric
\tcolor's type is nominal, range is ('red', 'green', 'blue', 'yellow', 'black')
"""
if hasattr(f, 'read'):
ofile = f
else:
ofile = open(f, 'rt')
try:
return _loadarff(ofile)
finally:
if ofile is not f: # only close what we opened
ofile.close()
def _loadarff(ofile):
# Parse the header file
try:
rel, attr = read_header(ofile)
except ValueError as e:
msg = "Error while parsing header, error was: " + str(e)
raise ParseArffError(msg)
# Check whether we have a string attribute (not supported yet)
hasstr = False
for name, value in attr:
type = parse_type(value)
if type == 'string':
hasstr = True
meta = MetaData(rel, attr)
# XXX The following code is not great
# Build the type descriptor descr and the list of convertors to convert
# each attribute to the suitable type (which should match the one in
# descr).
# This can be used once we want to support integer as integer values and
# not as numeric anymore (using masked arrays ?).
acls2dtype = {'real': float, 'integer': float, 'numeric': float}
acls2conv = {'real': safe_float,
'integer': safe_float,
'numeric': safe_float}
descr = []
convertors = []
if not hasstr:
for name, value in attr:
type = parse_type(value)
if type == 'date':
date_format, datetime_unit = get_date_format(value)
descr.append((name, "datetime64[%s]" % datetime_unit))
convertors.append(partial(safe_date, date_format=date_format,
datetime_unit=datetime_unit))
elif type == 'nominal':
n = maxnomlen(value)
descr.append((name, 'S%d' % n))
pvalue = get_nom_val(value)
convertors.append(partial(safe_nominal, pvalue=pvalue))
else:
descr.append((name, acls2dtype[type]))
convertors.append(safe_float)
#dc.append(acls2conv[type])
#sdescr.append((name, acls2sdtype[type]))
else:
# How to support string efficiently ? Ideally, we should know the max
# size of the string before allocating the numpy array.
raise NotImplementedError("String attributes not supported yet, sorry")
ni = len(convertors)
def generator(row_iter, delim=','):
# TODO: this is where we are spending times (~80%). I think things
# could be made more efficiently:
# - We could for example "compile" the function, because some values
# do not change here.
# - The function to convert a line to dtyped values could also be
# generated on the fly from a string and be executed instead of
# looping.
# - The regex are overkill: for comments, checking that a line starts
# by % should be enough and faster, and for empty lines, same thing
# --> this does not seem to change anything.
# 'compiling' the range since it does not change
# Note, I have already tried zipping the converters and
# row elements and got slightly worse performance.
elems = list(range(ni))
for raw in row_iter:
# We do not abstract skipping comments and empty lines for
# performance reasons.
if r_comment.match(raw) or r_empty.match(raw):
continue
row = raw.split(delim)
yield tuple([convertors[i](row[i]) for i in elems])
a = generator(ofile)
# No error should happen here: it is a bug otherwise
data = np.fromiter(a, descr)
return data, meta
#-----
# Misc
#-----
def basic_stats(data):
nbfac = data.size * 1. / (data.size - 1)
return np.nanmin(data), np.nanmax(data), np.mean(data), np.std(data) * nbfac
def print_attribute(name, tp, data):
type = tp[0]
if type == 'numeric' or type == 'real' or type == 'integer':
min, max, mean, std = basic_stats(data)
print("%s,%s,%f,%f,%f,%f" % (name, type, min, max, mean, std))
else:
msg = name + ",{"
for i in range(len(tp[1])-1):
msg += tp[1][i] + ","
msg += tp[1][-1]
msg += "}"
print(msg)
def test_weka(filename):
data, meta = loadarff(filename)
print(len(data.dtype))
print(data.size)
for i in meta:
print_attribute(i, meta[i], data[i])
# make sure nose does not find this as a test
test_weka.__test__ = False
if __name__ == '__main__':
import sys
filename = sys.argv[1]
test_weka(filename)
```
|
George Talaz (pen name of Gheorghe Antonescu; October 18, 1898–March 2, 1973) was a Romanian poet.
Born in Toporăști, Vaslui County, he attended the Academy of Painting and Sculpture, but did not graduate. His published debut took place in 1916, and involved poems. His work appeared in Azi, Falanga, Flacăra, Gândirea and Ritmul vremii. He edited Vestea satelor and Scânteia satelor. His poetry volumes, which spanned half a century (Fântână, 1937; De vorbă cu fierul de plug, 1949; Armonii în zori, 1961; Treptele împlinirii, 1967; Poezie, 1968), clearly illustrate how style and literary demands evolved during the period. The most enduring part of his output is the early work, the symbolist poetry of the first books. He died in Bucharest.
Notes
1898 births
1973 deaths
People from Vaslui County
20th-century Romanian poets
Romanian newspaper editors
Symbolist poets
Romanian male poets
20th-century Romanian male writers
|
```html
<!DOCTYPE html>
<html lang="en-US">
<head>
<link href="/assets/index.css" rel="stylesheet" type="text/css" />
<script crossorigin="anonymous" src="/test-harness.js"></script>
<script crossorigin="anonymous" src="/test-page-object.js"></script>
<script crossorigin="anonymous" src="/__dist__/webchat-es5.js"></script>
</head>
<body>
<main id="webchat"></main>
<script>
run(async function () {
const clock = lolex.createClock();
await host.sendDevToolsCommand('Emulation.setTimezoneOverride', { timezoneId: 'Asia/Hong_Kong' });
// Before running the test, the browser should have setup with time zone of GMT+08, at epoch time.
// Note the getTimezoneOffset() is correctly returns positive number for a negative offset.
expect(new Date().getTimezoneOffset()).toBe(-480);
const { directLine, store } = testHelpers.createDirectLineEmulator({ ponyfill: clock });
WebChat.renderWebChat(
{
directLine,
ponyfill: clock,
store
},
document.getElementById('webchat')
);
await pageConditions.webChatRendered();
clock.tick(600);
// GIVEN: Wait for "Connecting..." message to dismiss
await pageConditions.uiConnected();
// WHEN: Sending a message.
const { activity } = await directLine.actPostActivity(() =>
pageObjects.sendMessageViaSendBox('Hello, World!', { waitForSend: false })
);
// THEN: The activity-in-transit should not have timestamp.
expect(activity.timestamp).toBeUndefined();
// THEN: The activity-in-transit should have local timestamp and timezone.
expect(activity).toHaveProperty('localTimestamp', '1970-01-01T08:00:00.600+08:00');
expect(activity).toHaveProperty('localTimezone', 'Asia/Hong_Kong');
});
</script>
</body>
</html>
```
|
VA-113 has the following meanings:
Attack Squadron 113 (U.S. Navy)
State Route 113 (Virginia)
|
Matthew Michael Kenneth Cooper (17 April 1948 – 11 October 2015) was a British rower. Cooper competed at the 1968 Summer Olympics where he finished in tenth place in the men's eight. He won the coxless pairs with Jeremiah McCarthy, rowing for a Vesta and Argosies composite, at the inaugural 1972 National Rowing Championships before competing in the 1972 Summer Olympics, where the same pair reached the semi-finals of the men's coxless pair.
References
1948 births
2015 deaths
British male rowers
Olympic rowers for Great Britain
Rowers at the 1968 Summer Olympics
Rowers at the 1972 Summer Olympics
Sportspeople from Boston, Lincolnshire
|
The Resistance is an American professional wrestling promotion, formerly known as Resistance Pro Wrestling, founded by musician Billy Corgan, alongside brothers Jacques and Gabe Baron. The promotion holds monthly events around Chicago, attracting "between 300 and 600 people per event." The company's headquarters are located in Lockport, Illinois. Corgan left the promotion in November 2014. The company's website was down as of August 3, 2018, and their YouTube channel has been inactive since November 2017. As of October 2018, it is being reported that Billy Corgan has re-purchased and is reviving the brand National Wrestling Alliance (NWA) including a full back-catalogue and 20-year success plan.
History
Their first show, Black Friday, debuted November 25, 2011, at the Excalibur nightclub in Chicago. 22 wrestlers competed in the original event. Chicagoans Jay Bradley, Taylor Made, Miss December and Colt Cabana were involved in Black Friday. Other wrestlers included The Sheik, El Generico, Harry Smith, Kevin Steen, Raven (Agent), Teddy Hart and Cheerleader Melissa.
Corgan has also launched a concussion-awareness program tied to Resistance Pro. The wrestling promotion company has partnered with the Chicago Concussion Coalition and doctors from Midwest Orthopedics at Rush hospital. Doctors conduct screens with the wrestlers before and after each event. Corgan and his partners also forbid certain wrestling moves that involve contact to the head to minimize the risk of concussions.
Corgan's group is the first professional wrestling promotion to follow guidelines set by the Sports Legacy Institute (SLI). Corgan is personal friends with SLI founder Christopher Nowinski.
During Black Friday, Resistance Pro crowned its first Resistance Pro Women's Champion, Melanie Cruise. Although the Smashing Pumpkins were on tour in Europe for the first Resistance Pro show, Corgan watched it live, via Skype.
Resistance Pro's second show, Rise, took place on January 13, 2012, at Excalibur. Wrestlers Melanie Cruise, Colt Cabana, The Daivari Brothers, Teddy Hart, Mr. 450, Da Soul Touchaz, Robert Anthony, Serenity, and Taylor Made all took part in the first all-ages show. Corgan was on hand to crown the Resistance Prop Champion Harry Smith.
The promotion company's third show, Vicious Circle, took place on February 17, 2012, at Excalibur. The all-ages show featured professional wrestlers: Mr. 450, "The Ego" Robert Anthony, "Lonesome" Jay Bradley, Resistance Pro Champion Harry Smith and Resistance Pro Women's Champion Melanie Cruise. "Lonesome" Jay Bradley issued an "Open Challenge" for the event.
Resistance Pro Champion Harry Smith successfully defended his title against Rhino Friday night at the Vicious Circle show at Excalibur in Chicago. Rhino, the final original ECW champion, challenged Smith to a rematch and put his vacated ECW championship belt against Smith's Resistance Pro's heavyweight belt.
One of wrestling's most famous tag teams, The Rock 'n' Roll Express, Ricky Morton and Robert Gibson, made an appearance, taking on Kentucky Fried, "Original Recipe" Matt Cage and "Extra Crispy" Alex Castle.
Resistance Pro's fourth event, Obsession, is scheduled for March 23, 2012. The event broke attendance records for the promotion with over 1,600 people attending in an arena in Crystal Lake, Illinois, the arena is usually reserved for mixed martial arts events but will now hold regular Resistance events.
On November 15, 2014, Corgan announced he had left Resistance Pro.
Reality series
In March 2014, it was reported that Corgan was in discussions with American television channel AMC to develop an unscripted reality series about Resistance Pro. The premise is a behind-the-scenes look at the promotion as Corgan "takes over creative direction for the independent wrestling company." The show was given the green light by AMC, under the working title of "Untitled Billy Corgan Wrestling Project," the same month. However, the project was canceled shortly thereafter by AMC.
Championships
Current champions
See also
List of independent wrestling promotions in the United States
References
External links
Independent professional wrestling promotions based in the Midwestern United States
Companies based in Will County, Illinois
2011 establishments in Illinois
Entertainment companies established in 2011
Professional wrestling in the Chicago metropolitan area
Billy Corgan
|
, is an original Japanese anime television series animated by Liden Films, directed by Aimi Yamauchi and written by Yamauchi and Teruko Utsumi. Original character designs are provided by Suzuhito Yasuda, while Majiro adapts the designs for animation. The music is composed by fox capture plan. The series aired on TV Asahi's block from January 30 to April 17, 2022. The opening theme song is "The Warrior" by Novelbright, while the ending theme song is "Nisen Gohyaku Man no Ichi" by Mafumafu. Crunchyroll has licensed the series outside of Asia. Medialink licensed the series in Southeast Asia. A spin-off manga illustrated by Kou Sakashita was serialized on Bushiroad's Comic Bushiroad Web magazine from October 2022 to August 2023.
Summary
Mikoto Shiratori, a badminton prodigy with the ability of foresight, is fired from Mitsuhoshi Banking after losing a match for their company sports badminton team and is recruited by Sunlight Beverage to play for their team. Mikoto has vowed not to play on a doubles team following an incident at his interhigh match in high school. However, his co-worker, Tatsuru Miyazumi, encourages him to be his doubles partner, and Mikoto must work through his past trauma to overcome the struggles in their teamwork.
Characters
Sunlight Beverage
Mitsuhoshi Banking
Unisics
Tomari
(Japanese); John Wesley Go (English)
(Japanese); Caleb Yen (English)
Episode list
Notes
References
External links
Anime official website
2022 anime television series debuts
Anime with original screenplays
Badminton mass media
Crunchyroll anime
Liden Films
Medialink
NUMAnimation
Sports anime and manga
TV Asahi original programming
|
```shell
How to unstage a staged file
Search for commits by author
Check the status of your files
How to write a git commit message
Intent to add
```
|
Tooban (), also known as Tievebane, is a townland in County Donegal in the north west of Ireland. It is traversed by the R238 road. Faghan Presbyterian church is situated near the centre of the townland.
It was served by Tooban Junction railway station from 1864 to 1953.
Tooban (listed in census reports as Tievebane) had a population of 345 people as of the 2016 census.
Further reading
References
Geography of County Donegal
Townlands of County Donegal
|
```javascript
import { trackEvent } from "modules/analytics";
import { TEST_URL_CONDITION } from "../constants";
export const trackURLConditionModalViewed = (operator_type, kwargs) => {
const params = { operator_type, ...kwargs };
trackEvent(TEST_URL_CONDITION.TEST_URL_CONDITION_MODAL_VIEWED, params);
};
export const trackURLConditionMatchingTried = (operator_type, kwargs) => {
const params = { operator_type, ...kwargs };
trackEvent(TEST_URL_CONDITION.TEST_URL_CONDITION_MATCHING_TRIED, params);
};
export const trackURLConditionSourceModified = (operator_type, kwargs) => {
const params = { operator_type, ...kwargs };
trackEvent(TEST_URL_CONDITION.TEST_URL_CONDITION_SOURCE_MODIFIED, params);
};
export const trackURLConditionModalClosed = (operator_type, kwargs) => {
const params = { operator_type, ...kwargs };
trackEvent(TEST_URL_CONDITION.TEST_URL_CONDITION_MODAL_CLOSED, params);
};
export const trackURLConditionSourceModificationSaved = (operator_type, kwargs) => {
const params = { operator_type, ...kwargs };
trackEvent(TEST_URL_CONDITION.TEST_URL_CONDITION_SOURCE_MODIFICATION_SAVED, params);
};
export const trackURLConditionAnimationViewed = () => {
trackEvent(TEST_URL_CONDITION.TEST_URL_CONDITION_ANIMATION_VIEWED);
};
```
|
Ylander is a Nordic surname. Notable people with the surname include:
Katri Ylander (born 1985), Finnish singer
Katri Ylander (album), her debut album
Lars Ylander (1928–2010), Swedish sprinter
Surnames of Scandinavian origin
|
The 2009–10 Minnesota Golden Gophers men's basketball team represented the University of Minnesota in the college basketball season of 2009–2010. The team's head coach was Tubby Smith in his third year. The Golden Gophers played their home games at Williams Arena in Minneapolis and are members of the Big Ten Conference. They finished the season 21–14, 9–9 in Big Ten play. They advanced to the championship game of the 2010 Big Ten Conference men's basketball tournament before losing to Ohio State. They received an at-large bid to the 2010 NCAA Division I men's basketball tournament, earning an 11 seed in the West Region. They lost to six-seed and AP #25 Xavier in the first round.
Season
Royce White signed with the Minnesota Golden Gophers, but did not play due to shoplifting and trespassing charges. He transferred to Iowa State in July 2010.
Roster
2009–10 Schedule and results
|-
!colspan="8" style="text-align: center; background:#800000" | Exhibition
|-
! colspan="8" style="text-align: center; background:#800000"|Regular season
|-
! colspan="9" style="text-align: center; background:#800000"|Big Ten Regular Season
|-
! colspan="9" style="text-align: center; background:#800000"|2010 Big Ten tournament
|-
! colspan="9" style="text-align: center; background:#800000"|2010 NCAA Men's Basketball tournament
Rankings
*AP does not release post-NCAA Tournament rankings^Coaches did not release a Week 1 poll.
References
Minnesota Golden Gophers men's basketball seasons
Minnesota
Minnesota
2010 in sports in Minnesota
2009 in sports in Minnesota
|
The Hinojosa Site in Jim Wells County, Texas, in the vicinity of Alice, Texas, is an archeological site which was listed on the National Register of Historic Places in 1978. It was listed for its potential to yield information in the future.
It is a village site which is also denoted as site 41-JW-8. Its location is .
It is a site of the Toyah culture.
See also
National Register of Historic Places listings in Texas
References
Archaeological sites in Texas
National Register of Historic Places in Jim Wells County, Texas
|
The Chief of the Defence Force (CDF) is the professional head of the Namibian Defence Force. He is responsible for the administration and the operational control of the Namibian military. The position was established after Namibia became independent in 1990. The current chief is Air Marshal Martin Pinehas, he succeeded Lieutenant general John Mutwa.
List of chiefs
References
Namibian military leaders
Namibia
|
```php
<?php
declare(strict_types=1);
return [
['exception', ''],
['#VALUE!', '"ABC"'],
[0, '0'],
[1, 'PI() / 2'],
[0.89120736, '"1.1"'],
[-0.89120736, '-1.1'],
[0.909297427, '2.0'],
[0, 'Q15'],
[0, 'false'],
[0.841470985, 'true'],
[0.909297427, 'A2'],
];
```
|
is a Japanese tokusatsu television series, part of the Metal Hero Series franchise created by Toei Co. Ltd. and aired from to . Spielban'''s footage was used for Saban’s live-action series, VR Troopers.
For distribution purposes, Toei Company refers to this television series as Spielvan.
Plot
The Waller Empire destroys the planet Clin in search of water for its deity. Two Clinian children, Spielban and Diana, escape to Earth aboard the Grand Nasca. The two grow up during the long journey and don High Tech Crystal Suits to defeat the Waller who have come to Earth in search of more water. Spielban must avenge his dead mother Anna and his homeworld, and find his missing father Ben and older sister Helen. Unknown to Spielban at the start of the series his father and sister have been made members of the Waller against their will.
Characters
Grand Nasca crew
Spielban's group is based on the super dimensional mothership Grand Nasca, the source of Spielban and Diana's armor and vehicles. Diana also pilots it to see above the battlefield while Spielban is in Gaios. Its projectile weapons are Nasca Missiles and Nasca Rockets. It also transforms into the Big Bang Cannon, a bazooka-type weapon that Spielban can use. It can also go into "Combat Formation", where it becomes a giant robot that performs the "Nasca Hyper Crush" where it stomps General Deathzero's tank vehicles, shoot beams from its eyes (the Excel Beam), and uses "Knuckle Bomber", where it punches General Deathzero's fighter planes in mid-air.
: Anna and Ben's younger son and Helen's younger brother. A 20-year-old man from the planet Clin, he assumed the alias of while on Earth. When he shouts "Kesshou!" ("Crystallize"), the Grand Nasca showers "Clin Metal Super Corpuscles" upon him, which crystallize to form the silver, black and red suit around his body in 10 microseconds. Spielban's primary weapon is a sword which then becomes the Twin Blade, a double-edged laser lance used to destroy the mechanoids and lifeforms with his "Arc Impulse" attack.
: Marine's only daughter. She is 18 years old and Spielban's partner fighting as by performing the same techniques as Spielban to activate her own white and red suit. When she shouts "Kesshou!" ("Crystallize"), the Grand Nasca showers "Clin Metal Super Corpuscles" upon her, which crystallize to form the white red suit around her body in 10 microseconds. Like Spielban, Diana is quite capable in a fight both in and out of uniform and carries with her the Lady Sniper which acts as her own personal weapon. She primarily serves as a backup for Spielban when they battle the mechanoids or when the Waller send out assault vehicles. There have been times when the Waller have turned their attention towards her once they recognized how much of a threat to them she can be. A running gag on the show was that she would use her charm and sex appeal on the Kinclons, distracting them from their duties while she made her move. Another gag is that she sometimes uses her rear end to attack the Kinclons, which apparently knocks them out cold.
: Anna and Ben's daughter and Spielban's older sister is 22 and was captured by the Waller Empire when she was only a child. She was forced to witness Waller turning her father into Dr. Bio. Later, Dr. Bio was instructed to do the very same to her as well, converting her into with a secondary persona that activates via remote control. Helen is constantly kept away from her brother fearing she would turn into Hellvira and kill him. When trying to stop Spielban and Diana from killing Dr. Bio her secret as Hellvira is revealed as well as revealing Dr. Bio's identity as Speilban's father. After Pandora's trap almost kills her, Bio places the comatose Helen in a protective tube. When Diana learns that Helen survived, she and Spielban save her, as Dr. Bio destroys the remote control, deactivating the Hellvira persona. Soon after, Helen joins her brother in the fight against the Waller as . When she shouts "Kesshou!" ("Crystallize"), Helen is equipped with a high-tech crystal armor identical to Diana's and is and armed with the double-sided Helen Cutter.
Arsenal
Super Dimensional Tank Gaios: A small tank-like vehicle piloted by Spielban. Armed with Gaios Rockets, Gaios Missiles and a Gaios Laser, it is also able to remove its cockpit and turn into "Jet Gaios" for aerial combat and "Drill Gaios" for digging underground. The Jet Gaios fires the Gaios Beam.
Hoverian: A hover-craft vehicle piloted by Spielban which turns into a motorcycle and can fire Hoverian Lasers and perform the Hoverian Rush.
Others
Anna: Spielban and Helen's mother chose Spielban and Diana to survive by escaping in the Grand Nasca shortly before the destruction of the Clin mothership. She died but was restored to life in the alternate future timeline in which the Waller Empire never existed.
Marine: Diana's mother who died when the Clin detonated their own mothership but was restored to life in the alternate future timeline in which the Waller Empire never existed.
Space Swordsman Teacher (ep 14 & 31): A hologram generated by the Grand Nasca's computers to train Spielban in swordsmanship. Later trains Helen/Helen Lady in the same capacity.
Daigorou Koyama: Owner of the invention shop "Edison". He claims to be a genius and comes up with various gadgets that never quite work out. Was once tricked into building a robot for the Waller.
Miwa Koyama: Daigorou's younger sister. She helps out at "Edison" but is sick of Daigorou's inventions that never sell.
Waller Empire
The is the antagonistic group in Spielban. From their winged turtle-like mobile fortress called the Waller Castle Gamedeath, they search for water throughout the universe on the notion that they are sustaining the life .
: Originally a giant Starfish that needs vast amounts of water to survive, Pandora is the leader of Waller who conceived the Waller deity to establish her Empire while instilling fear in her subordinates. In the two-part series finale, after her other followers have died, Pandora personally fights Spielban while splitting into the forms of and . Thought to have been destroyed, Pandora endures and reveals herself as Waller's true leader when she reverted Dr. Bio to Ben for his attempted to sabotage the Gamedeath in her absence. Pandora once more splits into her two forms to battle Spielban's group before merging into a more powerful to finish them off. But Ben injects Pandora with a virus that is harming her at a cellular level, allowing Spielban to kill her as she reverts to her natural form.
: He claims to be a descendant of Waller, which therefore makes him a relative of Pandora. He was summoned from the 23rd century, by a talking gerbil created by Dr. Bio's experiments, from the life of a street beggar to help Pandora in the present. The gerbil told him that his life as a beggar was caused by Spielban. Though he treats his followers and allies as somewhat disposable, he remains eternally loyal to his Queen. Guillotine kept the talking gerbil for a pet, who is later left to Pandora, after he is rifted and destroyed. He dislikes Youki from the start, sensing that this new general will betray the Waller. Guillotine is dressed similarly to a rebel biker. He falls into a dimensional rift and returns as a ghost. As a ghostly form he invades the Grand Nasca and attempts to torture Helen. In this form his right arm has been replaced by a small, living, snake-like monster, which he could launch at the heroes. He was eventually destroyed by Spielban with the help of the Grand Nasca's energy. His gerbil was later contained and destroyed by Dr. Ben during the finale.
: Leader of Waller's Battle Mechanoids he is a black-armored android who is programmed with a knowledge of all tactics. He can transform into the Deathzero Torpedo, a black headed missile that is launched from a catapult. He transforms into this form twice during the series (Episodes 24 and 42), which coincidentally were the only two times he battled Spielban himself. It was strongly hinted that Deathzero was attracted to Diana. He later challenges Spielban to a second battle (both inside and outside of his tank), now having become/been promoted to Super General and powered with a 10,000 volt cylinder given to him by Pandora. He is destroyed by Spielban soon afterwards, with Spielban using his Arc Impulse.
: Formerly Spielban's father Doctor Ben, he was captured by Deathzero and converted into an inhuman being to save the Waller Empire as leader of the Biohumans and Battle-Lifeforms he creates with Lifeform Modification Surgery. He was also protective of Helen and constantly watched over her like a father would. Bio can unleash vine-like appendages from his arms and wields a giant sword in battle. In his first and only battle against Spielban he mutated and ended up in a Bioroid monster form, Bioroid Bio (ep 21 & 30). Bioroid Bio's abilities included transforming into plant life and/or slime and summoning small bee-like creatures and tentacles from his body. In this battle Helen tries to protect, and prevent him from fighting, his son Spielban before she was forcibly transformed into Hellvira to fight too. Pandora sets up an explosive trap to kill Bio, Helen, Diana, and Spielban all at once though, unfortunately for her, all four of them survive. Bio uses his slime morphing ability to pull his daughter and himself to safety. After surviving the battle Bio returns to the Empire and transforms into a floating brain with eyeballs and a spinal cord. Dr. Bio breaks Helen's remote control and is attacked by Deathzero under Pandora's orders. Afterwards Pandora takes away his privilege of moving around freely and imprisons him in a water-filled glass tube. He returns to his Dr. Bio form, with Pandora's efforts, and is reverted to his original human form when he attempted to sabotage the Gamedeath. Weakened as a result, killing the gerbil he created when its attempted to stop him, Ben acquires one of the viruses he developed as Bio and uses it on Pandora while killed in the process. But Ben is restored to life in the alternate future timeline in which the Waller Empire never existed.
: Leader of the Waller's all-female spy army. At one point she tricks the owner of the Edison shop, Daigorou Koyama, into building a prototype for a Battle Mechanoid. She often spies and comes up with cruel plans for the Waller, but is not one for combat. After she interferes with Youki's plan, Pandora angrily turns her into a stone statue for Youki to use as his throne. After Youki's death, the talking gerbil was given this throne for his own. During the finale, it disappears though it was presumably destroyed when the Gamedeath exploded.
: Rikki's aides and fellow spies in Waller's all-female Spy Army. They assist Rikki in almost every evil scheme she creates and employs against Spielban and Diana. Spielban manages to destroy them both with a single strike of his sword when they tried to attack him during a vulnerable time per Guillotine's orders. Unfortunately for them he had gained a second wind, shocking the Waller. Even if he had not they would have been destroyed anyway, as the daggers exploded during the battle. Guillotine had tricked them into wielding the daggers, having promised them an increase in rank for killing Spielban. Upon being destroyed, they were revealed to be robots as they leave behind mechanical pieces and chunks of metal.
: A new Waller officer and androgynic entity created from the evil hearts of men by the Waller deity's (Pandora's) power. He gathered key members of Japanese society and brainwashed them into joining his own secret society, Mumumu. He uses these brainwashed characters to attack and terrorize the city, as well as Spielban and the heroes. Spielban was able to save the brainwashed masses. Youki can appear and disappear at will, as well as blast lasers from his mouth in battle which he first demonstrates in a fight against Spielban. Not trusted by many of the other officers Youki eventually decides to take over Waller, creating the Youki Battle Mechanoid from the remains of various Battle Mechanoids. Vacuumer destroys Youki's creation and sucks up most of his powers. Afterwards, Pandora kills the weakened Youki with his corpse given a funeral before being sent into the depths of space.
: Waller's mass-produced Battle Machine Soldiers, garbed in black tights with gold stripes, smiling gold masks with red eye slits, and black and gold capes. Some Kinclones attack with capes, some by kicking their detonating heads at Spielban, and some are equipped with blades on their hands. There was also a Kinclone with a robotic head which was revealed upon being struck by Spielban's Twin Blade. This one seemed stronger than the normal Kinclones, but was destroyed by Spielban just the same.
Waller Vehicles
Waller Battleship Skulljaws: The Waller's transport battleships that resemble giant flying sharks. They are launched from the Gamedeath during battles.
Skulldon: General Deathzero's black tank which splits into the Skulldon Jet (top half) and the Skulldon Cutter (bottom half), a tank armed with a buzzsaw. Skulldon is accompanied by numerous lesser unnamed black tanks and is frequently defeated and knocked around by the Grand Nasca.
Battle Mechanoids
The are under Deathzero's command.
: A Battle Machineman with massive shoulders and hidden weapons such as an electrical laser under its faceplate that was deployed to deal with Spielban and Diana. During the battle Spielban managed to blast off the robot's arms, but the ring on its back remained and was used to bind Spielban. Gathering the strength he had left Spielban broke free and destroyed MechaShoulder with his Arc Impulse.
: A Battle Machineman built following Mecha Shoulder's demise. While investigating the Waller's latest scheme Spielban was lured into a trap/battle against MechaBander. It had multiple arms, including two large hands and an axe-equipped arm. Also included in its arsenal are electrical dischargers in its shoulders. Spielban survived the first encounter against MechaBander, but the two fought once more. This time Spielban had a plan, scanning the robot for a weak spot. He attacked/blasted the device on the robot's head weakening it and disabling the dischargers before ultimately killing it.
: MechaShocker can extend cables from his chest and blast electrical lasers from the cable's tips. MechaShocker has a bazooka hidden in the right hump, next to its face, which he used to blast Spielban. The battle did not last long as Spielban made short of the robot with his Arc Impulse.
: Spielban spotted Helen while out patrolling the city, however his search for her was cut short by the appearance of Mechaputer. Mechaputer had all of Spielban's attacks downloaded into its system. As a result, it could predict Spielban's attacks before he made them, making Mechaputer able to attack, defend and evade as it pleased. Spielban warped the battle to an empty rock quarry when Deathzero's army arrived. Spielban made short work of the jets and retreated from the battle. Helen was then forced to set up a trap for her brother and lured him into another fight with Mechaputer. This time Diana was in battle and Mechaputer had no data on her, so it was brought down and weakened by Diana and Spielban's combined laser attack (the Double Sniper). It was finally destroyed by Spielban's Arc Impulse.
: A small robotic tank that was assigned to guard the Waller's new underwater lab. Daigorou and a friend were fishing nearby and accidentally snagged MechaNautila. The robot then pulled them both into the aquatic base where they were greeted by the bathing suit-clad Rikki, Gasher, and Shadow. Shortly afterwards the men were released after the Waller femmes fatale flirted with them. Daigorou told Spielban about the underwater paradise, which made him suspect that the Waller may be involved. After discovering the lab Spielban was attacked by Waller's jets and MechaNautila. MechaNautila mercilessly drove over Spielban and then transformed into a full humanoid form. Spielban took a heavy beating but was saved thanks to a recharge from Diana. Spielban used his Arc Impulse on MechaNautila and destroyed it. Nautila seems to come from the marine animal "Nautilus".
: A machine gun-themed samurai robot equipped with machine gun blasters concealed under his shoulder pads. This robot could also blast a powerful laser from the sphere-like apparatus in his forehead. The Waller's plan this time was to target Diana. Once Diana was isolated at a dam, MechaMajin appeared with the Kinclones to fight her. Diana held her own as long as she could, but MechaMajin was too strong. It broke her Lady Sniper and threw her off the dam. Injured and bleeding, Diana fled into the woods where she came face to face with Helen. Helen treated Diana's wounds but was forced to flee from the Waller's soldiers when they appeared. Both ladies parted ways and Diana once again faced off with MechaMajin, but Spielban came to the rescue this time. He loaned Diana his Laser Sniper to and destroyed MechaMajin with his Arc Impulse.
: A robot originally created by Daigorou. An attractive businesswoman came into the Edison shop and offered him a great sum of money if he would construct a robot for her. Daigorou, infatuated by the mystery woman, was more than happy to accept the job. The woman was really Rikki in disguise and the Waller's plan was to use the goofy inventor's creation to launch a sneak attack on Spielban. He went to work dreaming about the possibilities of fame, fortune, and women. Daigorou finally finished his robot but knock-out gas filled his shop and the Kinclones added their own secret modifications. A party was held to celebrate the robot's creation, but the robot secretly attacked Spielban with a small deadly needle in its finger. Spielban faked his demise as he was wearing protective body armor under his jacket. The robot discarded its creator's logo and changed into its Battle Mechanoid form. Spielban went into battle with it and destroyed it with his Arc Impulse.
: A robotic sniper armed with a laser rifle and a sword. It was also the first Machine Man with the ability to speak. At the beginning of the episode, Spielban came face to face with a mystery man in a cowboy hat and poncho. MechaGunman and Spielban exchanged gunfire, but MechaGunman left the battle and demanded a showdown for later. This was also the first fight which left Spielban injured. Spielban modified his laser sniper and practiced his target shooting on board Grand Nasca. Meanwhile, the Waller examined the data MechaGunman had managed to collect on Spielban. When the two had their second gunfight MechaGunman had new surprises. MechaGunman generated a radar and a red laser shield to deflect Spielban's fire. Diana joined the fight but did not fare much better against the shield. She was quickly defeated, but her fall gave Spielban the motivation to short out the gunman's shield and destroy the robot once and for all.
: A robot based on a freezer and other household appliances. MechaFreezer could use his right arm like a vacuum to attack, as well as a fan-like apparatus built into his chest to blast Spielban and Diana with fierce winds and ice spray. An average family was given the chance to live their lives in comfort and fortune in a futuristic house with a safe filled with money. The youngest son felt something was not quite right about the house but the boy's parents and older siblings began to let greed set in as they became more and more conceited. The boy was a friend of Spielban's, so Spielban personally took a look at the house only to get booted out by the parents. Diana had a different approach, placing a spy camera there disguised a toy, courtesy of the Edison Shop. One night the appliances began to behave strangely. The two heroes charged in to witness the birth of MechaFreezer. Spielban eventually destroyed MechaFreezer with his Arc Impulse.
: A drill-themed robot. The episode began with Spielban on a high speed chase to rescue a bus full of children and a teacher from the Kinclones, but waiting for him was DrillHander. While Spielban engaged the robot in combat, Hoverian was stolen. Deathzero then announced to Spielban that he had a choice to either recover his bike, or save the children from a bomb. Unable to do both, Spielban retreated to the Grand Nasca to formulate a plan to rescue both the bike and the kids. Throughout the episode a narration recaps all the Spielban arsenal in action as well as the two Metal Heroes' training. After training with a holographic swordsman, Spielban finally has a plan. Diana uses her sex appeal to distract the Kinclone guards while Spielban sneaks into the abandoned warehouse. Meanwhile, Deathzero was trying to dismantle the bike to extract any useful information, but had no luck. Spielban finds the hostages, but is ambushed by DrillHander. The bike suddenly springs to life, breaks free of the restraints and aids its master. Spielban kills DrillHander with his Arc Impulse while riding Hoverian.
: A gorilla-themed robot. Bosskong had spikes on his fists, and could launch his fists like flying maces at Spielban and Diana in battle. The Waller took a local camping site hostage; two men made an attempt to escape but were stopped by the robotic primate. The two men were recaptured, restrained, and tortured by the Kinclones. A young boy also tries to escape and is successful. Spielban finds the child and learns about the hostage situation. As Spielban makes his way to the campsite, BossKong is spying on him. He manages to free everyone, but Spielban finds himself in serious trouble against BossKong. Diana comes to the rescue, but her efforts against BossKong don't fare any better. BossKong takes hold of Spielban's sword with its jaws and, to reclaim it, Spielban hops onto the monkey's back, pounding it repeatedly until BossKong overheats. Spielban used his Arc Impulse to destroy BossKong.
: A powerful white robot equipped with a hook and a large blaster pack on its shoulder. Blocker has the ability to detach its arms to attack its opponents. Spielban's friend, a young boy named Nobuo, was playing a motorcycle arcade game. Nobuo was then approached by a stranger who offered him a chance to try out a new arcade game. The game was a trap and Nobuo's mind became trapped inside a virtual world. Spielban follows and has his mind trapped as well. Inside the virtual world, and unable to transform, Spielban went through endless bizarre events during his quest to find Nobuo. Every time Spielban came close to Nobuo and the mysterious man, his location kept changing from the urban city, to rock quarries, to train yards. With each new setting there were simulated people who looked harmless but attacked him without warning, including a pair of white robotic hands. The hands belonged to the robot Blocker. Meanwhile, his real body was transported to a hospital with Diana watching over him. Every injury Spielban sustained in the virtual world, his body also suffered. His body was also in danger as the surgeon treating it was Blocker in disguise. The surgeon attacked Diana, who pleaded Spielban to wake up. After Diana freed him from Blocker's control, Spielban managed to wake up from his virtual nightmare and transform to battle Blocker. He managed to cut off Blocker's arms and kick off its head, but it made no difference and the robot continued to attack. It was finally defeated for good by Spielban's Arc Impulse. Nobuo was saved as well and was eager to play more video games.
: A fire-breathing kangaroo-like robot with a high-jumping ability. Dorbelar could blast laser spheres from its mouth as well as unleash a tiny airplane-like camera from its chest. The camera had the ability to fire lasers as well as spy on targets through its single lens. Spielban fought with this robot by itself, as well as with Hellvira at the same time. Hellvira at this time having been forced to fight against her will. Once Spielban knocked Hellvira down, this robot was destroyed soon afterwards by his Arc Impulse while he rode Hoverian.
: An electricity-themed robot that can attack with electricity. A robotics professor was visiting the Edison shop with his collection of robots. The robots looked more like oversized toys, except for one that was modeled with the appearance (and strength) of a weightlifter, called Samson. Later that night Denzilar used its electric current to take control of the robots, including the robot strongman. Spielban went to look for the missing robots and found them causing havoc throughout the city. While Spielban battled the robots he tried to reason with Samson, but Denzilar gave it more juice to overpower Spielban. While regrouping at the Edison Shop Daigorou told Spielban and Diana that the professor grew depressed and went to find his beloved robots on his own. Spielban then disguised himself as a robot for the Waller to capture, but his plan was complicated when the Kinclones found the inventor snooping around and captured him. Spielban removed his disguise and battled Denzilar while Diana took on Samson. Diana was saved when the professor snipped the wires in Samson's head, disabling it. Denzilar still remained but Spielban transported the battle to a rock quarry where it was destroyed by his Arc Impulse. The professor was then reunited with all of his stolen robots, including Samson.
: A wheel-themed robot that could launch wheel-themed discs and blast lasers from his eyes in battle. The discs he launched matched the theme of the wheels that were on his body. This robot was used, alongside Shadow, Gasher, and Rikki, to help capture a scientist and his android wife. The android wife was destroyed in battle by Sharinder. Sharinder controlled a humvee-like vehicle of his own which he brought out in battle against Spielban and Diana. First Spielban used the power of Hoverian to destroy the humvee. Then Spielban destroyed this robot with his Arc Impulse whilst riding Hoverian. Afterwards, Spielban and Diana helped the scientist and made sure he would arrive safely to his next destination.
: A shaman-like shark-themed robot that had a humanoid and a robotic form. He managed to brainwash a KISS-like rock group into becoming an assassin group for Waller. This robot fought both Spielban and Diana inside a cave which was set as a trap for them. Later in battle Sartan revealed that he could launch the fin-shaped blade on the top of his head at the heroes, which they managed to destroy. When Sartan was destroyed by Spielban with his Arc Impulse, the spell on everyone he had brainwashed was broken.
: A robot that could roll up into a ball and attack. It also had the strength to toss heavy boulders. While on Demon Mountain, Spielban and Diana confronted Godolar during a search for a researcher that was last seen near the location by his kids. It was later revealed that the researcher had been kidnapped by Deathzero and the female spy team after he had discovered the Waller's new base. Godolar had been created to guard the Waller's newly built base on Demon Mountain by killing anyone who dared to even approach the place with his vicious traps and weapons. Diana managed to locate the base and destroy it, while Spielban went into battle with Godolar. In battle, Godolar managed to throw heavy boulders on Spielban and pin him down, as well as blast lasers from his eyes. Spielban managed to escape from being pinned and destroy Godolar with his Arc Impulse. After Godolar and the base were destroyed, and Deathzero and the spies retreated, Spielban and Diana helped the two children and their father re-unite in a safer place at a safer time.
New Battle Mechanoids
The are a stronger series of Battle Mechanoids.
: Guillotine personally supervised Puncher's construction. After the two kunoichi completed their training, Guillotine presented them with brand new kunai. One of Puncher's abilities was to detach its massive claw on its right arm and launch it at the enemy. The claw could operate separately from the main body and held a tight grasp on Spielban during their battle. After Diana broke free from the Kinclones she joined the fight, but sadly her efforts made no difference. Puncher was powerful, but was eventually destroyed by Spielban.
: This robotic creature has a snake tail instead of legs. She was built by Guillotine and Deathzero, who planned to use her as a part of Guillotine's plan against Spielban. Medor could blast arrows from her one, bow-like arm, as well as crack her tail like a whip and bind enemies (like Spielban) with it in battle. Spielban managed to destroy Medor with his Arc Impulse. Spielban figured out later that Medor was not Helen, and that Helen was still alive and out there somewhere for him to find one day.
: A copper-colored bat-themed robot who was sent, alongside Kinclones, to capture an alien couple who crash landed on Earth. The alien travelers story was much like Spielban and Diana's, which had happened years ago. Spielban managed to rescue the female, while the male was successfully captured by the Waller. Karmilar launched and latched his tentacled tongue onto the spaceman, draining him of his blue-colored blood while storing his robotic bat-like body. The blood was then turned into blue-like stones/pearls that were given to Pandora and used as an offering to the Waller deity. As the alien hostages were being taken back Spielban appeared and rescued them, which lead to him and Diana having a battle with Karmilar, Deathzero, and the Kinclones. After the Kinclones had been taken care of, Spielban fought Karmilar, who attacked by biting him on the neck. Though overwhelming at first, Spielban endured and destroyed this robot with his Arc Impulse.
: A CD player-themed robot. This robot helped in the Waller's plot to use CDs, with Pandora's voice, to hypnotize and lure/trap pregnant women into their clutches. The Waller planned to use the babies for their own evil deeds. Diana disguised herself as one of these women and ended up in the same trap as the others before Spielban came to the rescue. After the pregnant women were saved, Spielban and Diana took on the Waller forces and Disk together. Disk could launch/blast discs from his arm/hand in battle, use a giant disc as a shield to reflect attacks made by Spielban and Diana, as well as reflect sunbeams as lasers to blast the heroes. Like many robots before it Disk was eventually destroyed by Spielban's Arc Impulse.
: This football-themed robot attacked Diana with the help of Hellvira. With an injured leg, Diana could not withstand the combined onslaught of Hellvira and Offside. When Offside removes the football on its head and kicks it towards his opponents, the ball detonates upon impact. Offside used the football on his head and tried to tackle Spielban repeatedly in battle, both to no avail. Offside was destroyed by Spielban, but Diana was left in critical condition.
: A van-themed robot. After Helen failed to harm Spielban, and it was discovered that her transformation remote was no longer working, Kuruman was sent to destroy Spielban and bring back Helen. Kuruman could transform between his Battle Mechanoid form as well as take the form of a regular-looking SUV. In regular form, he can blast lasers from his high beams and could produce a force field-like shield to deflect Spielban's attacks. In battle Spielban managed to blast and destroy this robot's rear-end, which seemed to slow it down long enough to be destroyed by Spielban's Arc Impulse, which Spielban implemented while riding Hoverian.
: A bee-themed robot, Antom can spray acidic liquid from its mouth that could destroy anything it touched. Antom could also release miniature robotic bees that stung and electrocuted Spielban, Diana Lady, and Helen Lady, attempting to fry their armor's circuits in the process. Antom can also drill its tongue into a building's foundation to cause it to quake and crumble to pieces. He was destroyed by Spielban's Arc Impulse.
: A walking tree-like robot. He appeared when the Waller Empire's scheme was to turn people/Earthlings into plants. Tsutarla grew from seedlings that the Kinclones were delivering on unmarked trucks across the city. After he grew he went into battle with Spielban, Diana, and Helen. Tsutarla could launch vines from its mouth and fingers. These vines could bind and shock Spielban and the girls. He was eventually killed by Spielban's Arc Impulse.
: A motorcycle-based robot. Guillotine had infiltrated a biker gang and planned to use them and this robot, to destroy Spielban for him. Biker could transform between his Battle Mechanoid form as well as take the form of a regular-looking motorcycle. Diana's Lady Sniper didn't seem to affect it. Spielban was able to destroy it in battle with his Arc Impulse, which while riding Hoverian.
: A balloon-themed robot. He appeared around Christmas when the Waller Empire's scheme was to use him/his powers to devour the dreams of children. Yumepakkun could release a binding, glowing balloon in battle as well as fire explosive laser spheres. He was eventually destroyed by Spielban's Arc Impulse.
: He was used during the Waller Empire's scheme to give Earthlings magic mirrors on New Year's Eve that were supposed to make the Earthlings look beautiful. In reality, these mirrors turned people into mummies, through the use of magic from the deity Waller. Shishidon first appeared in the guise of a kimono lion, hence the name. Shishidon is a rollerskate-themed robot who wore rollerskates and resembled a giant rollerskate. He threw explosive parasol umbrellas at Spielban in battle. In battle he could also extend his arms and neck to fit his needs and can blast bladed arrows, mini-missiles and fire from his mouth. He was destroyed by Spielban's Arc Impulse.
: A red robot with three yellow eyes and a bazooka-type weapon mounted on his right shoulder. Not fully trusting the Youki's plan, Rikki tried to convince Guillotine and Deathzero to use added measures. After Walther appeared, Youki and the Mumumu pulled back and left Walther to destroy the heroes. Spielban, Diana, and Helen combined their laser blasts in order to weaken him. Spielban then destroyed him with his Arc Impulse.
: A brain-themed robot with its brains on its chest. Youki abducted a couple of scientists and drained their knowledge into the robot so that he could steal a device that the couple had developed for the Empire. The device supposedly contained technology that could boost the Waller's technology, as they had nothing like it at the time. Spielban and Diana combined their laser blasts to destroy the robot's brains, which held the transferred knowledge of the scientists. The scientists gained back their stolen knowledge afterwards. It was destroyed by Spielban's Arc Impulse.
: A scrap-metal robot created by Youki. Its scrapped body seemed to have previously been that of Dreampacker's since it had Dreampacker's right foot, covered with Blocker's head and helmet, Godoilar's body and legs, Sharinder's right arm, Puncher's right arm which was used for a left arm, and Mechaputer's left foot. It attacked only once before it was destroyed by Vacuumer, though it did manage to attack Vacuumer and Deathzero before being reduced back to scrap.
: A heavy-armored fan-themed robot that can suck anyone toward him or blow them away with gusts from his built-in fans. When Youki rebelled against the Waller and took over the Gamedeath, this robot was summoned to deal with him. It sucked up all of Youki's power and destroyed the Youki Battle Mechanoid. Later it was sent to destroy Spielban, Diana, and Helen, with Deathzero and his fleet in tow. Spielban destroyed it with his Arc Impulse, soon after confronting it.
: A green, scaly dragon/lizard-themed robotic creature that was dressed like a samurai warrior. He sought to wield the Legendary Demon Sword. With it, Kumason would become more powerful than Spielban in battle. Eventually, he and Deathzero discovered the "fossilized" sword, but realized it needed electrical energy (lightning) to recharge its power. The granddaughter of the sword's temple keeper used her energy to turn the sword back into a fossil after Spielban saved her. This distraction and the loss of the sword allowed Spielban to destroy the weakened Kumason with his Arc Impulse.
: A movie camera-themed robot, Movieman was used in Deathzero's plan to make a film. In the movie Deathzero would win Diana and defeat Spielban. In battle Movieman could blast powerful lasers from his camera lens eye and teleport in flashes of light. Movieman could also create translucent decoy images of himself and bind his opponents with movie reel tentacles. Movieman confronted and captured Diana first before going into battle with Spielban and Helen. Movieman eventually had to battle Spielban, Helen, and Diana after Helen rescued her, but it was destroyed by Spielban's Arc Impulse.
: This robot resembles a walrus. Blizzer had the ability to freeze water pipes as well as freeze his opponents with built-in ice-blowers. To keep from being frozen Spielban, Diana, and Helen were given anti-freeze defense on their armor. Spielban tried to reflect Blizzer's attacks back to him, but Blizzer was also equipped with a flamethrower and melted through the ice. Eventually it was destroyed by Spielban with the help of Diana in the Grand Nasca, who managed to freeze him with his own laser long enough for Spielban to use his Arc Impulse to destroy him.
Battle Lifeforms
The are Dr. Bio's monsters created out of organic material. Only a few were produced and near the end of the first half of the series Bio would operate on himself and become a Bio Lifeform.
: The first of three Bio Lifeforms. Guja could metamorph itself into green slime for infiltration as well as morph into a flat starfish-like mass to wrap itself around its victims in order to consume them. After eating a human Guja could assume their identity. Guja was used to break into a museum and after eating and impersonating a guard, a diamond was stolen which Pandora used as an offering to the Waller deity. Dr. Bio later upgraded Guja with the ability to shoot deadly gas. Spielban was almost eaten, but he finally killed Guja with his Arc Impulse.
: A floating spore-like organism that emerged from a rose. While conducting his research by the lake Spielban found a sad little girl. She quickly ran off leaving her backpack behind. The backpack had her address and name which revealed that she was the daughter of a renowned scientist. Spielban returned the backpack, but the scientist and his daughter were being held hostage by the Waller. The scientist was forced to conduct experiments for the Waller while his daughter kept him fed and made it appear to the public that everything was alright. Spielban sneaked in to save them, but Deathzero threatened to kill them and forced Spielban to throw down his gun. The scientist mustered his courage and broke free from the Kinclones clutches which allowed Spielban to attack. Wataja had no body and it was difficult for Spielban to land a decent hit. Spielban destroyed it with his Arc Impulse attack.
: An octopus-based monster and Dr. Bio's final lifeform. Umija was covered in tentacled limbs and was colored bluish grey. Umija was unleashed into the ocean where it would spawn from its arms. Dr. Bio's plan was to infect all the Earthlings with small aquatic parasites causing the infected person enter the ocean where they would turn into fish people. Spielban went scuba diving and confronted Umija. He told Diana what was going on and she volunteered herself as bait to lure Umija out of the water. Meanwhile, Spielban stumbled into Bio's hidden mountain lab and demolished it with his land vehicle. Diana, meanwhile, was engaged in battle with Umija, who could spit out a sludge-like material from the large opening on its face and Diana was hit by it. Spielban managed to join in the battle and kill the monster. After Umija was destroyed, the victims of the parasites were freed of their manic need for the ocean.
Episode list
(Original Airdate: April 7, 1986): written by Shozo Uehara, directed by Makoto Tsuji
(Original Airdate: April 14, 1986): written by Shozo Uehara, directed by Makoto Tsuji
(Original Airdate: April 21, 1986): written by Shozo Uehara, directed by Takeshi Ogasawara
(Original Airdate: April 28, 1986): written by Shozo Uehara, directed by Takeshi Ogasawara
(Original Airdate: May 5, 1986): written by Shozo Uehara, directed by Makoto Tsuji
(Original Airdate: May 19, 1986): written by Shozo Uehara, directed by Makoto Tsuji
(Original Airdate: May 26, 1986): written by Shozo Uehara, directed by Takeshi Ogasawara
(Original Airdate: June 2, 1986): written by Shozo Uehara, directed by Takeshi Ogasawara
(Original Airdate: June 9, 1986): written by Shozo Uehara, directed by Michio Konishi
(Original Airdate: June 16, 1986): written by Shozo Uehara, directed by Michio Konishi
(Original Airdate: June 23, 1986): written by Shozo Uehara, directed by Takeshi Ogasawara
(Original Airdate: June 30, 1986): written by Shozo Uehara, directed by Takeshi Ogasawara
(Original Airdate: July 7, 1986): written by Shozo Uehara, directed by Michio Konishi
(Original Airdate: July 14, 1986): written by Shozo Uehara, directed by Michio Konishi
(Original Airdate: July 21, 1986): written by Shozo Uehara, directed by Takeshi Ogasawara
(Original Airdate: July 28, 1986): written by Shozo Uehara, directed by Takeshi Ogasawara
(Original Airdate: August 4, 1986): written by Shozo Uehara, directed by Yoshiaki Kobayashi
(Original Airdate: August 11, 1986): written by Shozo Uehara and Yoshiaki Kobayashi, directed by Yoshiaki Kobayashi
(Original Airdate: August 18, 1986): written by Shozo Uehara, directed by Michio Konishi
(Original Airdate: August 25, 1986): written by Shozo Uehara, directed by Michio Konishi
(Original Airdate: September 1, 1986): written by Shozo Uehara, directed by Takeshi Ogasawara
(Original Airdate: September 8, 1986): written by Shozo Uehara, directed by Takeshi Ogasawara
(Original Airdate: September 15, 1986): written by Shō Aikawa, directed by Michio Konishi
(Original Airdate: September 22, 1986): written by Shozo Uehara, directed by Michio Konishi
(Original Airdate: October 13, 1986): written by Shozo Uehara, directed by Takeshi Ogasawara
(Original Airdate: October 20, 1986): written by Shozo Uehara, directed by Takeshi Ogasawara
(Original Airdate: October 27, 1986): written by Kazuho Takizawa, directed by Michio Konishi
(Original Airdate: November 3, 1986): written by Shozo Uehara, directed by Michio Konishi
(Original Airdate: November 17, 1986): written by Shozo Uehara, directed by Takeshi Ogasawara
(Original Airdate: November 24, 1986): written by Shozo Uehara, directed by Takeshi Ogasawara
(Original Airdate: December 1, 1986): written by Shozo Uehara, directed by Michio Konishi
(Original Airdate: December 8, 1986): written by Yasushi Ichikawa, directed by Michio Konishi
(Original Airdate: December 15, 1986): written by Shozo Uehara, directed by Takeshi Ogasawara
(Original Airdate: December 22, 1986): written by Shozo Uehara, directed by Takeshi Ogasawara
(Original Airdate: January 5, 1987): written by Shozo Uehara, directed by Yoshiharu Tomita
(Original Airdate: January 12, 1987): written by Shozo Uehara, directed by Yoshiharu Tomita
(Original Airdate: January 19, 1987): written by Shozo Uehara, directed by Takeshi Ogasawara
(Original Airdate: January 26, 1987): written by Noboru Sugimura, directed by Takeshi Ogasawara
(Original Airdate: February 2, 1987): written by Shozo Uehara, directed by Yoshiharu Tomita
(Original Airdate: February 9, 1987): written by Noboru Sugimura, directed by Yoshiharu Tomita
(Original Airdate: February 16, 1987): written by Noboru Sugimura, directed by Toshihiro Ito
(Original Airdate: February 23, 1987): written by Shozo Uehara, directed by Toshihiro Ito
(Original Airdate: March 2, 1987): written by Shozo Uehara, directed by Michio Konishi
(Original Airdate: March 9, 1987): written by Shozo Uehara, directed by Michio Konishi
Cast
Spielban: Hiroshi Watari
Spielban (child): Makoto Tanimoto
Diana: Makoto Sumikawa
Diana (child): Mika Kawada
Helen: Naomi Morinaga
Helen (child): Emi Kamiya
Doctor Ben/Dr. Bio: Ichirou Mizuki
Anna: Rachel Huggett
Marin: Maria Hernandez
Pandora: Machiko Soga
Emperor Guillotine: Mickey Curtis
Rikki: Michiko Nishiwaki
Shadow: Chiemi Terato
Gasher: Mako Yamashina
Deathzero: Shōzō Iizuka (voice)
Youki: Masahiro Sudou
Captain: Satoshi Kurihara
Narrator: Tōru Ōhira
International broadcasts
In France, the series was shown as Spielvan and premiered on March 28, 1988 on TF1 channel being part of the Club Dorothée block lineup with a French dub produced by AB Groupe with dubbing work by SOFRECI. All episodes were dubbed in French with the exception of the fourth episode which was not dubbed.
In Brazil, this series was named Jaspion 2 after the success of Juspion (Jaspion in the dub), much like was done to the Super Sentai series that succeeded Choudenshi Bioman in France. However, the main hero was always called Spielvan'' in the dub.
In the Philippines, Spielban was aired on ABS-CBN from 1989 to 1990, dubbed in English but it re-aired on IBC in the mid-1990's and dubbed into Filipino language.
Songs
Opening theme
Lyrics: Keisuke Yamakawa
Composition & Arrangement: Michiaki Watanabe
Artist: Ichirou Mizuki
Ending themes
Lyrics: Keisuke Yamakawa
Composition & Arrangement: Michiaki Watanabe
Artist: Ichiro Mizuki
Episodes: 1-10
Lyrics:
Composition & Arrangement: Michiaki Watanabe
Artist: Ichiro Mizuki
Episodes: 11-44
References
External links
Metal Hero FAQ
1986 Japanese television series debuts
1987 Japanese television series endings
Extraterrestrial superheroes
Fictional soldiers
Metal Hero Series
Space marines
|
```xml
/* eslint-disable @typescript-eslint/no-namespace */
// ***********************************************************
// This example support/component.ts is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
//
// You can read more here:
// path_to_url
// ***********************************************************
// Import commands.js using ES2015 syntax:
import './commands'
import { mount } from 'cypress/react18'
import type { ProjectAnnotations } from 'storybook/internal/types';
import { ReactRenderer, setProjectAnnotations } from '@storybook/react';
import sbAnnotations from '../../.storybook/preview';
import * as addonInteractions from '@storybook/addon-interactions/preview';
import * as addonActions from '@storybook/addon-essentials/actions/preview';
// Augment the Cypress namespace to include type definitions for
// your custom command.
// Alternatively, can be defined in cypress/support/component.d.ts
// with a <reference path="./component" /> at the top of your spec.
declare global {
namespace Cypress {
interface Chainable {
mount: typeof mount
}
}
}
// This is needed because Cypress defines process but not process.env
// And if the play function fails, testing library's internals have a check
// for typeof process !== "undefined" && process.env.DEBUG_PRINT_LIMIT;
// which will break
process.env = {};
Cypress.Commands.add('mount', mount)
setProjectAnnotations([
sbAnnotations,
addonInteractions as ProjectAnnotations<ReactRenderer>, // instruments actions as spies
addonActions as ProjectAnnotations<ReactRenderer>, // creates actions from argTypes
]);
```
|
USS Greenwich Bay (AVP-41), was a United States Navy Barnegat-class small seaplane tender in commission from 1945 to 1966.
Construction and commissioning
Greenwich Bay was laid down on 18 July 1944 at Lake Washington Shipyard, Houghton, Washington. She was launched on 17 March 1945, sponsored by Mrs. Francis B. Johnson, wife of the Commander of Fleet Air Wing 6 (FAW-6), and commissioned on 20 May 1945.
Post-World War II occupation duty 1945–1946
Greenwich Bay had not yet left the United States West Coast when World War II ended with the cessation of hostilities with Japan on 15 August 1945. Departing San Diego, California, on 26 August 1945, she called at Pearl Harbor in Hawaii, Midway Atoll, and Okinawa before arriving at Taku, China, on 5 October 1945. Greenwich Bay spent the rest of 1945 along the China coast, touching at Tsingtao and Shanghai as well as Taku, tending seaplanes of the United States Seventh Fleet. She operated in Japanese waters during January 1946, and after a short stint in the Philippine Islands, departed for the United States on 1 May 1946. Calling at Hong Kong; Singapore; Naples, Italy; Casablanca, French Morocco; and Gibraltar during the voyage, she arrived at Norfolk, Virginia on 1 July 1946. She then moved to New York City for overhaul.
Escort duty for the Presidential Yacht 1947–1948
Greenwich Bay reported to the Potomac River Naval Command on 19 February 1947 to serve as escort to USS Williamsburg (AGC-369), ex-PG-56, the Presidential yacht. This assignment ended on 21 June 1948.
Around-the-world cruise 1948
Greenwich Bay departed Norfolk on 21 June 1948 for an around-the-world cruise. During The four-month voyage, she made good-will visits to Gibraltar; Port Said, Egypt; Muscat; Bahrain, Kuwait, Trincomalee, Ceylon; Fremantle, Australia; Pago Pago, American Samoa; Papeete, Tahiti; and Coco Solo, Panama Canal Zone, before returning to Norfolk on 14 October 1948.
Middle East service 1949–1966
Greenwich Bay departed Norfolk on 30 April 1949 to assume duties as flagship for the Commander of the U.S. Navy Middle East Force. Every year thereafter she repeated this duty, sailing through the Mediterranean to operate as flagship in the Red Sea, Persian Gulf, and Indian Ocean for 4 to 6 months. In total Greenwich Bay made fifteen Mediterranean deployments. During most of this period, she performed these duties in rotation with two other Barnegat-class ships, and . These three ships were dubbed the "little white fleet", in reference to the white paint jobs they shared to counter the region's extreme heat.
Ports which Greenwich Bay visited as part of her official duties as flagship included Recife, Brazil; Lisbon, Portugal; and virtually every major Mediterranean, Persian Gulf, Indian Ocean, and Red Sea city as well as several African ones. Among them were Malta; Bombay and Madras, India; Istanbul, Turkey; Athens, Greece; Beirut, Lebanon; Mombassa, Kenya; Cannes, France; and Karachi, Pakistan. In addition to operating with foreign naval units in the Mediterranean, Red Sea, Persian Gulf, and Indian Ocean, Greenwich Bay performed extensive work in the People-to-People program, particularly in carrying drugs and other medical supplies to Arab and African nations, and operated as an important tool of diplomacy in the region. In her Middle East duties, which were punctuated by local operations and exercises out of Norfolk, Greenwich Bay was visited by many dignitaries, including King Ibn Saud of Saudi Arabia, the Shah of Iran, Emperor Haile Selassie of Ethiopia, and the Shaikh of Kuwait.
In 1950 Greenwich Bays crew distinguished itself in Bahrain, as Air France planes crashed there on 13 June 1950 and 15 June 1950 while attempting to make early-morning landings on a fog-shrouded airfield. Greenwich Bay sent out a total of six search-and-rescue missions on those two days. On 15 June 1950 one of her launches, containing both her captain and medical officer, succeeded in rescuing nine survivors of the crash. For her heroic actions, Greenwich Bay received the special commendation and thanks of both the Arabian and French governments.
When the Suez Crisis flared up in 1956, Greenwich Bay extended her normal cruise in the Persian Gulf to be able to evacuate American dependents and civilians if necessary. As a result of the blocking of the Suez Canal, she had to return to the United States around the Cape of Good Hope.
Decommissioning and disposal
After completing her fifteenth Middle East deployment, Greenwich Bay was decommissioned in June 1966 and stricken from the Navy List on 1 July 1966. She was sold for scrapping on 21 June 1967 to Boston Metals Company of Baltimore, Maryland.
References
navsource.org: NavSource Online: Service Ship Photo Archive: USS Greenwich Bay (AVP-41)
hazegray.org: Greenwich Bay (AVP-41)
Department of the Navy Naval Historical Center Online Library of Selected Images: U.S. Navy Ships: USS Greenwich Bay (AVP-41), 1945–1967
Chesneau, Roger. Conways All the World's Fighting Ships 1922–1946. New York: Mayflower Books, Inc., 1980. .
World War II auxiliary ships of the United States
Cold War auxiliary ships of the United States
Barnegat-class seaplane tenders
1945 ships
Ships built at Lake Washington Shipyard
|
```yaml
description: Test enum property container (instance based)
compatible: "vnd,enum-required-false-holder-inst"
include: [base.yaml, "vnd,enum-required-false-holder.yaml"]
```
|
```python
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
#
# path_to_url
#
# Unless required by applicable law or agreed to in writing,
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# specific language governing permissions and limitations
# pylint: disable=invalid-name, unused-argument, pointless-exception-statement.
"""CLML Library supported operators."""
import json
from string import Template
import numpy as np
import tvm
from tvm import relay
from tvm.ir import Op
from tvm._ffi import register_func
from tvm.relay import transform
from tvm.relay.build_module import bind_params_by_name
from tvm.relay import function as _function
from tvm.relay.expr_functor import ExprMutator
from tvm.relay.expr import Call, TupleGetItem, Var, Constant
from ...dataflow_pattern import wildcard, is_op, is_constant, is_tuple_get_item, is_tuple
from .register import register_pattern_table
from ..strategy.generic import is_depthwise_conv2d
def clml_sdk_version():
"""Utility function to get clml version"""
return int(tvm.support.libinfo().get("TVM_CLML_VERSION", 2))
def is_clml_runtime_enabled():
"""Check if the CLML graph runtime is present.
Returns
-------
ret: bool
True if present, False if not.
"""
check_enabled = tvm.get_global_func("relay.op.is_clml_runtime_enabled", True)
if check_enabled:
return check_enabled()
return False
class RemoveDropout(ExprMutator):
"""
Removes all nn.dropout from an expr.
"""
def visit_tuple_getitem(self, op: TupleGetItem) -> relay.expr.Expr:
visit = super().visit_tuple_getitem(op)
if visit.index != 0:
return visit
if (
isinstance(visit.tuple_value, Call)
and isinstance(visit.tuple_value.op, Op)
and visit.tuple_value.op.name == "nn.dropout"
and visit.index == 0
):
return visit.tuple_value.args[0]
return visit
@transform.function_pass(opt_level=0)
class RemoveDropoutPass:
def transform_function(
self, func: relay.function.Function, mod: tvm.IRModule, _: tvm.transform.PassContext
) -> relay.function.Function:
return RemoveDropout().visit(func)
class OptimizeBatchnorm(ExprMutator):
"""
Fuse Conv+Batchnorm and constant folder to generate Conv+Add.
"""
def visit_call(self, call) -> relay.expr.Expr:
new_args = []
for arg in call.args:
if (
not isinstance(arg, (Var, Constant))
and isinstance(arg, tvm.relay.TupleGetItem)
and isinstance(arg.tuple_value.op, tvm.ir.op.Op)
and arg.tuple_value.op.name == "nn.batch_norm"
and (not isinstance(arg.tuple_value.args[0], (Var, Constant)))
and arg.tuple_value.args[0].op.name == "nn.conv2d"
):
ep = arg.tuple_value.attrs["epsilon"]
wt = arg.tuple_value.args[1].data.numpy()
bs = arg.tuple_value.args[2].data.numpy()
mn = arg.tuple_value.args[3].data.numpy()
vr = arg.tuple_value.args[4].data.numpy() + ep
dino = np.sqrt(vr)
wt = wt / dino
bs = bs - mn * wt
conv_op = arg.tuple_value.args[0]
conv_args = list(conv_op.args)
wt_conv = conv_args[1].data.numpy()
if conv_op.attrs["kernel_layout"] == "OIHW":
wt = wt.reshape(wt.shape[0], 1, 1, 1)
elif conv_op.attrs["kernel_layout"] == "IOHW":
wt = wt.reshape(1, wt.shape[0], 1, 1)
else:
raise ValueError("Unsupported Conv2d kernel layout")
wt_conv = wt_conv * wt
conv_args[1] = relay.const(tvm.nd.array(wt_conv))
bs_args = relay.const(tvm.nd.array(bs.reshape(-1, bs.shape[0], 1, 1)))
conv_out = Call(
arg.tuple_value.args[0].op, conv_args, arg.tuple_value.args[0].attrs
)
mod = tvm.relay.add(conv_out, bs_args)
new_args.append(mod)
else:
new_args.append(arg)
call = Call(call.op, new_args, call.attrs)
args = [self.visit(arg) for arg in call.args]
return Call(call.op, args, call.attrs)
@transform.function_pass(opt_level=0)
class OptimizeBatchnormPass:
def transform_function(
self, func: relay.function.Function, mod: tvm.IRModule, _: tvm.transform.PassContext
) -> relay.function.Function:
return OptimizeBatchnorm().visit(func)
def partition_for_clml(mod, params=None, **opts):
"""Partition the graph greedily offloading supported
operators to CLML Library.
Parameters
----------
mod : Module
The module to run passes on.
params : Optional[Dict[str, NDArray]]
Constant input parameters.
Returns
-------
ret : annotated and partitioned module.
"""
if params:
mod["main"] = bind_params_by_name(mod["main"], params)
seq = tvm.transform.Sequential(
[
transform.InferType(),
RemoveDropoutPass(),
transform.FoldConstant(),
OptimizeBatchnormPass(),
transform.MergeComposite(clml_pattern_table()),
transform.AnnotateTarget("clml"),
transform.MergeCompilerRegions(),
transform.PartitionGraph(),
]
)
result_mod = seq(mod)
return result_mod
@register_func("relay.ext.clml.optimize")
def preprocess_module(mod):
"""
Pre-process a module containing functions ready for CLML codegen. For now we enforce OIHW
kernel layout and fold the transforms away.
Parameters
----------
mod : Module
The module to run passes on.
Returns
-------
preprocessed_mod : The processed module.
"""
def alter_conv(attrs, inputs, tinfos, out_type):
new_attrs = dict(attrs)
data_info = tinfos[0]
weight_info = tinfos[1]
(desired_data_layout, desired_kernel_layout) = ("NCHW", "OIHW")
new_attrs["data_layout"] = desired_data_layout
new_attrs["kernel_layout"] = desired_kernel_layout
if is_depthwise_conv2d(
data_info.shape,
attrs["data_layout"],
weight_info.shape,
attrs["kernel_layout"],
attrs["groups"],
):
dkl = desired_kernel_layout
new_attrs["kernel_layout"] = dkl[1] + dkl[0] + dkl[2] + dkl[3]
return relay.nn.conv2d(*inputs, **new_attrs)
with OpAttrContext("nn.conv2d", "FTVMAlterOpLayout", alter_conv):
seq = tvm.transform.Sequential(
[
transform.ConvertLayout({"nn.conv2d": ["NCHW", "OIHW"]}),
transform.ConvertLayout({"nn.conv2d_transpose": ["NCHW", "OIHW"]}),
transform.AlterOpLayout(),
transform.FoldConstant(),
]
)
with tvm.transform.PassContext(opt_level=3):
preprocessed_mod = seq(mod)
return preprocessed_mod
def preprocess_for_clml(mod):
"""Preprocessing pass to alter the layouts for CLML compiler target"""
for _var in mod.get_global_vars():
if _var.name_hint == "main":
continue
fn = mod[_var.name_hint]
if "Compiler" in fn.attrs.keys() and fn.attrs["Compiler"] == "clml":
new_fn = fn.body
clml_mod = tvm.IRModule.from_expr(new_fn)
with tvm.transform.PassContext(opt_level=3):
clml_mod = preprocess_module(clml_mod)
new_body = clml_mod["main"].body
mod[_var.name_hint] = _function.Function(
fn.params, new_body, fn.ret_type, fn.type_params, fn.attrs
)
return mod
@register_pattern_table("clml")
def clml_pattern_table():
"""Get the CLML pattern table."""
def conv_pattern():
"""Create a convolution pattern."""
pattern = is_op("nn.conv2d")(wildcard(), is_constant())
pattern = pattern.optional(lambda x: is_op("nn.bias_add")(x, is_constant()))
pattern = pattern.optional(lambda x: is_op("add")(x, is_constant()))
pattern = pattern.optional(
lambda x: is_tuple_get_item(
is_op("nn.batch_norm")(
x, is_constant(), is_constant(), is_constant(), is_constant()
)
)
)
pattern = pattern.optional(is_op("nn.relu"))
# Fusion pattern to support with relu6 layer.
pattern = pattern.optional(is_op("clip").has_attr({"a_min": 0.0, "a_max": 6.0}))
return pattern
def conv_transpose_pattern():
"""Create a transposed convolution pattern."""
pattern = is_op("nn.conv2d_transpose")(wildcard(), is_constant())
pattern = pattern.optional(lambda x: is_op("nn.bias_add")(x, is_constant()))
pattern = pattern.optional(lambda x: is_op("add")(x, is_constant()))
pattern = pattern.optional(
lambda x: is_tuple_get_item(
is_op("nn.batch_norm")(
x, is_constant(), is_constant(), is_constant(), is_constant()
)
)
)
pattern = pattern.optional(is_op("nn.relu"))
# Fusion pattern to support with relu6 layer.
pattern = pattern.optional(is_op("clip").has_attr({"a_min": 0.0, "a_max": 6.0}))
return pattern
def pad_conv_pattern():
"""Create a pad with convolution pattern."""
pattern = is_op("nn.pad")(wildcard(), is_constant())
pattern = is_op("nn.conv2d")(pattern, is_constant())
pattern = pattern.optional(lambda x: is_op("nn.bias_add")(x, is_constant()))
pattern = pattern.optional(lambda x: is_op("add")(x, is_constant()))
pattern = pattern.optional(
lambda x: is_tuple_get_item(
is_op("nn.batch_norm")(
x, is_constant(), is_constant(), is_constant(), is_constant()
)
)
)
pattern = pattern.optional(is_op("nn.relu"))
# Fusion pattern to support with relu6 layer.
pattern = pattern.optional(is_op("clip").has_attr({"a_min": 0.0, "a_max": 6.0}))
return pattern
def batch_norm_pattern():
"""Create a batch norm pattern."""
pattern = is_op("nn.batch_norm")(
wildcard(), is_constant(), is_constant(), is_constant(), is_constant()
)
pattern = is_tuple_get_item(pattern)
return pattern
def concat_pattern():
"""Create a concat pattern.
Returns
-------
pattern : dataflow_pattern.AltPattern
Denotes the concat pattern.
"""
pattern = is_tuple(None)
pattern = is_op("concatenate")(pattern)
return pattern
def dense1d_pattern():
"""Create a dense pattern for 1d vector to matrix multiple."""
pattern = is_op("nn.dense")(wildcard(), is_constant())
pattern = pattern.optional(lambda x: is_op("nn.bias_add")(x, is_constant()))
pattern = pattern.optional(lambda x: is_op("add")(x, is_constant()))
return pattern
def dense2d_pattern():
"""Create a dense pattern for 2d matrix to matrix multiple."""
pattern = is_op("nn.dense")(wildcard(), is_constant())
return pattern
def pad_pattern():
"""Create a pad pattern."""
pattern = is_op("nn.pad")(wildcard(), is_constant())
return pattern
def check_conv(extract):
"""Check conv pattern is supported by CLML."""
call = extract
clip_found = False
if isinstance(call, tvm.relay.expr.TupleGetItem):
call = call.tuple_value
elif call.op.name == "nn.relu":
call = call.args[0]
if isinstance(call, tvm.relay.expr.TupleGetItem):
call = call.tuple_value
elif call.op.name == "clip":
clip_found = True
if call.attrs["a_min"] != 0.0 or call.attrs["a_max"] != 6.0:
return False
call = call.args[0]
if isinstance(call, tvm.relay.expr.TupleGetItem):
call = call.tuple_value
while call.op.name != "nn.conv2d":
call = call.args[0]
attrs, args = call.attrs, call.args
if attrs.data_layout != "NCHW":
return False
if call.checked_type.shape[0] > 1:
return False
if (
(not clip_found)
and (attrs.kernel_size[0] == 3)
and (attrs.dilation[0] != 1)
and (attrs.groups != 1)
and (attrs.channels == attrs.groups)
):
return False
data_typ = args[0].checked_type
kernel_typ = args[1].checked_type
is_depthwise = is_depthwise_conv2d(
data_typ.shape,
attrs["data_layout"],
kernel_typ.shape,
attrs["kernel_layout"],
attrs["groups"],
)
if attrs.groups != 1 and not is_depthwise:
return False
return True
def check_conv_transpose(extract):
"""Check transposed conv pattern is supported by CLML."""
call = extract
if isinstance(call, tvm.relay.expr.TupleGetItem):
call = call.tuple_value
elif call.op.name == "nn.relu":
call = call.args[0]
if isinstance(call, tvm.relay.expr.TupleGetItem):
call = call.tuple_value
elif call.op.name == "clip":
if call.attrs["a_min"] != 0.0 or call.attrs["a_max"] != 6.0:
return False
call = call.args[0]
if isinstance(call, tvm.relay.expr.TupleGetItem):
call = call.tuple_value
while call.op.name != "nn.conv2d_transpose":
call = call.args[0]
attrs = call.attrs
if attrs.data_layout != "NCHW":
return False
return True
def check_binary_op(extract):
call = extract
# Scalars are not supported
if len(call.args[1].checked_type.shape) == 0:
return False
if call.args[0] == call.args[1]:
return False
if tuple(call.args[0].checked_type.shape) != tuple(call.args[1].checked_type.shape):
return False
return check_default_op(call)
def check_pad_op(extract):
call = extract
if len(call.attrs["pad_width"]) != 4:
return False
# CLML can't process Tensor padding with out knowing layout.
# Pad layers before any convolution are not guarenteed to be NCHW.
if isinstance(call.args[0], tvm.relay.expr.Var):
return False
return check_default_op(call)
def check_softmax_op(extract):
call = extract
# supports 2D and 4D tensors.
if len(call.args[0].checked_type.shape) not in [2, 4]:
return False
return check_default_op(call)
def check_upsampling_op(extract):
call = extract
if call.attrs["method"] != "bilinear":
return False
return check_default_op(call)
def check_concat_op(extract):
call = extract
if call.attrs["axis"] != 1:
return False
return check_default_op(call)
def check_default_op(extract):
call = extract
if isinstance(call, tvm.relay.expr.TupleGetItem):
call = call.tuple_value
call_shape = call.checked_type.fields[0].shape
call_dtype = call.checked_type.fields[0].dtype
else:
call_shape = call.checked_type.shape
call_dtype = call.checked_type.dtype
# int64, int32 dtypes are not Supported in CLML
if call_dtype in ["int64", "int32"]:
return False
# Supports only upto 4 dim shapes
if len(call_shape) > 4:
return False
# Only support batch dim = 1
if isinstance(call_shape[0], tvm.tir.expr.Any) or call_shape[0] > 1:
return False
# Checking buffer indexing limit
for shape in call_shape:
if shape > 32768:
return False
# Avoid any operators with dtype Int64 and upsupported shape
for _arg in call.args:
t_arg = _arg if isinstance(_arg, tvm.relay.Tuple) else [_arg]
for arg in t_arg:
checked_type = (
arg.tuple_value.checked_type.fields[arg.index]
if isinstance(arg, tvm.relay.TupleGetItem)
else arg.checked_type
)
if checked_type.dtype in ["int64", "int32"]:
return False
# Supports only 4 dim shapes
if len(checked_type.shape) > 4:
return False
# Only support batch dim = 1
if len(checked_type.shape) > 0 and checked_type.shape[0] > 1:
return False
for shape in checked_type.shape:
if shape > 32768:
return False
return True
def check_batch_matmul_op(extract):
call = extract
# Only support single Matmul.
if call.args[0].checked_type.shape[0] > 1:
return False
if call.args[1].checked_type.shape[0] > 1:
return False
return check_default_op(call)
def check_dense1d_op(extract):
call = extract
# Only support single Matmul.
if call.args[0].checked_type.shape[0] > 1:
return False
if not (call.op.name in ["nn.bias_add", "add"] and call.args[0].op.name == "nn.dense"):
return False
return True
def check_dense2d_op(extract):
call = extract
# Only support 2D Matmul without bias
if call.op.name in ["nn.bias_add", "add"] and call.args[0].op.name == "nn.dense":
return False
# Avoid any operators with dtype Int64 and upsupported shape
for _arg in call.args:
t_arg = _arg if isinstance(_arg, tvm.relay.Tuple) else [_arg]
for arg in t_arg:
checked_type = (
arg.tuple_value.checked_type.fields[arg.index]
if isinstance(arg, tvm.relay.TupleGetItem)
else arg.checked_type
)
if len(checked_type.shape) != 2:
return False
return True
def check_depth_to_space(extract):
call = extract
call_shape = call.checked_type.shape
arg_shape = call.args[0].checked_type.shape
# Supports only upto 4 dim shapes
if len(call_shape) > 4 or len(arg_shape) > 4:
return False
# Only support batch dim = 1
if call_shape[0] > 1:
return False
# Checking buffer indexing limit
for shape in call_shape:
if shape > 32768:
return False
if call.attrs["layout"] != "NCHW" or call.attrs["mode"] != "DCR":
return False
return True
return [
("clml.pad_conv2d", pad_conv_pattern(), check_conv),
("clml.conv2d", conv_pattern(), check_conv),
("clml.conv2d_transpose", conv_transpose_pattern(), check_conv_transpose),
("clml.dense1d", dense1d_pattern(), check_dense1d_op),
("clml.dense2d", dense2d_pattern(), check_dense2d_op),
("clml.pad", pad_pattern(), check_pad_op),
("clml.concat", concat_pattern(), check_concat_op),
("clml.batch_norm", batch_norm_pattern()),
("clml.add", is_op("add")(wildcard(), wildcard()), check_binary_op),
("clml.subtract", is_op("subtract")(wildcard(), wildcard()), check_binary_op),
("clml.multiply", is_op("multiply")(wildcard(), wildcard()), check_binary_op),
("clml.divide", is_op("divide")(wildcard(), wildcard()), check_binary_op),
("clml.minimum", is_op("minimum")(wildcard(), wildcard()), check_binary_op),
("clml.maximum", is_op("maximum")(wildcard(), wildcard()), check_binary_op),
("clml.softmax", is_op("nn.softmax")(wildcard()), check_softmax_op),
("clml.reshape", is_op("reshape")(wildcard()), check_default_op),
("clml.avg_pool2d", is_op("nn.avg_pool2d")(wildcard()), check_default_op),
("clml.max_pool2d", is_op("nn.max_pool2d")(wildcard()), check_default_op),
("clml.global_avg_pool2d", is_op("nn.global_avg_pool2d")(wildcard()), check_default_op),
("clml.global_max_pool2d", is_op("nn.global_max_pool2d")(wildcard()), check_default_op),
("clml.relu", is_op("nn.relu")(wildcard()), check_default_op),
("clml.clip", is_op("clip")(wildcard()), check_default_op),
("clml.batch_flatten", is_op("nn.batch_flatten")(wildcard()), check_default_op),
("clml.depth_to_space", is_op("nn.depth_to_space")(wildcard()), check_depth_to_space),
("clml.upsampling", is_op("nn.upsampling")(wildcard()), check_upsampling_op),
(
"clml.batch_matmul",
is_op("nn.batch_matmul")(wildcard(), wildcard()),
check_batch_matmul_op,
),
]
def _register_external_op_helper(op_name, supported=True):
@tvm.ir.register_op_attr(op_name, "target.clml")
def _func_wrapper(expr):
return supported
return _func_wrapper
class OpAttrContext(object):
"""Temporarily changes the attr of an op."""
def __init__(self, op_name, attr_key, attr_value):
"""Saves the required info for RAII pattern usage.
Parameters
----------
op_name : str
The op name.
attr_key : str
The attribute name.
attr_value : object
The attribute value.
"""
self.op = relay.op.get(op_name)
self.attr_key = attr_key
self.attr_value = attr_value
def __enter__(self):
self.older_attr = self.op.get_attr(self.attr_key)
self.op.reset_attr(self.attr_key)
self.op.set_attr(self.attr_key, self.attr_value)
return self
def __exit__(self, ptype, value, trace):
self.op.reset_attr(self.attr_key)
if self.older_attr:
self.op.set_attr(self.attr_key, self.older_attr)
class CLMLGetSubModuleSrc:
"""Generates CLML API one CLML sub module out ot global TVM module"""
def __init__(self, cmod):
"""Initialize
Parameters
----------
cmod : Module
The CLML sub module from TVM module
"""
self.cmod = cmod
self.codegen = None
self.nodes = None
self.node_map = {}
self.input_meta = []
self.output_meta = []
self.clml_code = []
self.sub_module_name = None
self.MakeCLMLTensor = Template(
"""auto $name = runner.MakeCLMLTensor
(std::vector<size_t>({$shape}), "$dtype", $layout);"""
)
self.MapInsert = Template("""runner.storage_map.insert({"$nid", $tensor_desc});""")
self.MakeConv2D = Template(
"""
// Convolution / Depthwise Convolution
runner.MakeConv2D($input_tensor,
$weight_tensor,
$bias_tensor,
$output_tensor,
std::vector<cl_uint>({$padding}),
std::vector<cl_uint>({$dilation}),
std::vector<cl_uint>({$strides}),
$groups,
$mode,
$activation,
$has_bias,
$has_act,
"$dtype");"""
)
self.MakeConv2DWithBN = Template(
"""
// Batchnorm
runner.MakeConv2DWithBN($input_tensor,
$weight_tensor,
$bias_tensor,
$output_tensor,
$bn_scale_tensor,
$bn_bias_tensor,
$bn_mean_tensor,
$bn_var_tensor,
std::vector<float> ({$bn_attrs}),
std::vector<cl_uint> ({$padding}),
std::vector<cl_uint> ({$dilation}),
std::vector<cl_uint> ({$strides}),
$groups,
$mode,
$activation,
$has_bias,
$has_act,
"$dtype");"""
)
self.MakeRelu = Template(
"""
// Relu / Relu6
runner.MakeRelu($input_tensor, $output_tensor, $relu_type, "$dtype");
"""
)
self.MakeBN = Template(
"""
// Batchnorm
runner.MakeBatchNorm($input_tensor,
$output_tensor,
$bn_scale_tensor,
$bn_bias_tensor,
$bn_mean_tensor,
$bn_var_tensor,
std::vector<float> ({$bn_attrs}), "$dtype");"""
)
self.MakePool2D = Template(
"""
// Pool2D
runner.MakePool2D($input_tensor,
$output_tensor,
std::vector<cl_uint> ({$pool_size}),
std::vector<cl_uint> ({$strides}),
std::vector<cl_uint> ({$padding}),
"$pool_type", "$dtype");"""
)
self.MakeGlobalPool2D = Template(
"""
// GlobalPool2D
runner.MakeGlobalPool2D($input_tensor,
$output_tensor,
std::vector<cl_uint> ({$in_shape}),
"$pool_type", "$dtype");"""
)
self.MakeReshape = Template(
"""
// Reshape
runner.MakeReshape($input_tensor,
$output_tensor, "$dtype");"""
)
self.MakeConcatenate = Template(
"""
// Concatinate
runner.MakeConcatenate(
std::vector<std::shared_ptr<cl_ml_tensor_memory_desc_qcom>> ({$in_list}),
$output_tensor,
$axis, "$dtype");"""
)
self.MakeDense = Template(
"""
// Dense
runner.MakeDense($input_tensor,
$weight_tensor,
$output_tensor,
std::vector<cl_uint> ({$in_shape}),
std::vector<cl_uint> ({$wt_shape}),
"$dtype");"""
)
self.MakeSoftMax = Template(
"""
// Softmax
runner.MakeSoftMax($input_tensor,
$output_tensor, "$dtype");"""
)
self.MakePad = Template(
"""
// Pad
runner.MakePad($input_tensor,
$output_tensor,
"$pad_mode",
std::vector<cl_uint> ({$padding}), "$dtype");"""
)
self.MakeBatchFlatten = Template(
"""
// BatchFlatten
runner.MakeBatchFlatten($input_tensor,
$output_tensor, "$dtype");"""
)
self.MakeClip = Template(
"""
// Clip
runner.MakeClip($input_tensor,
$output_tensor,
$a_max,
$a_min,
"$dtype");"""
)
self.MakeBinaryOp = Template(
"""
// BinaryOp
runner.MakeBinaryOp($input_a,
$input_b,
$output_tensor,
"$op", "$dtype");"""
)
self.MakeHeader = Template(
"""
CLMLRunner $module(std::string name,
ToolArgs& args,
cl_platform_id arg_platform_id,
cl_context arg_context,
cl_device_id arg_device_id,
cl_command_queue arg_queue) {
CLMLRunner runner = CLMLRunner(name,
args,
arg_platform_id,
arg_context,
arg_device_id,
arg_queue);
runner.MakeUnusedTensor();
"""
)
self.MakeFooter = Template(
"""
return runner;
}
"""
)
self.MakeMetaInfo = Template(
"runner.SetMetaInfo("
'"Subgraph Name: $name\\n Input Count : $input_count\\n'
" Output Count : $output_count\\n"
' Input MetaInfo\\n$input_meta\\n Output MetaInfo\\n$output_meta");'
)
self.MakeInputMetaInfo = Template(
" Input: $in_name\\n Dtype : $dtype\\n Shape : [$shape]\\n"
)
self.MakeOutputMetaInfo = Template(
" Output: $out_name\\n Dtype : $dtype\\n Shape : [$shape]\\n"
)
def get_src(self):
"""Returns pair of sub module name and the generated source"""
self.codegen = json.loads(self.cmod.get_source("json"))
self.sub_module_name = self.codegen["symbol"]
self.nodes = self.codegen["nodes"]
self.clml_code.append(self.MakeHeader.substitute(module=self.sub_module_name))
def get_tensor_from_map(
node_seq, shape=None, layout="CL_TENSOR_LAYOUT_OPTIMAL_QCOM", dtype="float32"
):
if node_seq in self.node_map:
return self.node_map[node_seq]
else:
node = self.nodes[node_seq]
dtype = str(node["attrs"]["dtype"][0][0])
if node["op"] == "input":
self.clml_code.append("// Input Node")
node_out_name = self.sub_module_name + "_" + "input_" + str(node_seq)
else:
node_out_name = node["name"]
if shape is None:
shape = str(tuple(node["attrs"]["shape"][0][0]))[1:-1]
self.clml_code.append(
self.MakeCLMLTensor.substitute(
name=node_out_name, shape=shape, dtype=dtype, layout=layout
)
)
self.clml_code.append(
self.MapInsert.substitute(nid=node_out_name, tensor_desc=node_out_name)
)
if node["op"] == "input":
self.clml_code.append(
Template("runner.inputs.push_back($clml_input);").substitute(
clml_input=node_out_name
)
)
self.input_meta.append(
self.MakeInputMetaInfo.substitute(
in_name=node_out_name, dtype=dtype, shape=shape
)
)
if self.nodes[node_seq]["op"] == "const":
self.clml_code.append(
Template('runner.consts.push_back("$nid");').substitute(nid=node["name"])
)
self.node_map[node_seq] = node_out_name
return node_out_name
def make_output_tensor(
node, node_seq, shape=None, layout="CL_TENSOR_LAYOUT_OPTIMAL_QCOM", dtype="float32"
):
if dtype is None:
dtype = str(node["attrs"]["dtype"][0][0])
if shape is None:
shape = str(tuple(node["attrs"]["shape"][0][0]))[1:-1]
node_out_name = self.sub_module_name + "_" + "layer_out_" + str(node_seq)
self.clml_code.append(
self.MakeCLMLTensor.substitute(
name=node_out_name,
shape=shape,
dtype=dtype,
layout=layout,
)
)
return node_out_name
for node_seq, node in enumerate(self.nodes):
if node["op"] == "kernel":
self.clml_code.append("// Kernel Node : " + node["name"])
if node["name"] == "nn.conv2d" or node["name"] == "nn.depthwise_conv2d":
if "padding" in node["attrs"]:
padding = str(tuple(int(x) for x in node["attrs"]["padding"][0]))[1:-1]
else:
padding = "0, 0, 0, 0"
dilation = str(tuple(int(x) for x in node["attrs"]["dilation"][0]))[1:-1]
strides = str(tuple(int(x) for x in node["attrs"]["strides"][0]))[1:-1]
groups = node["attrs"]["groups"][0][0]
if node["name"] == "nn.conv2d":
mode = "CL_CONVOLUTION_MODE_CONVOLUTION_QCOM"
else:
mode = "CL_CONVOLUTION_MODE_DEPTHWISE_QCOM"
activation = "CL_ACTIVATION_RELU"
has_act = False
if "activation_type" in node["attrs"]:
has_act = True
activation = node["attrs"]["activation_type"][0][0]
if activation == "relu":
activation = "CL_ACTIVATION_RELU"
elif activation == "relu6":
activation = "CL_ACTIVATION_RELU6"
else:
raise RuntimeError("Unknown activation:" + activation)
has_bias = bool((node["inputs"] == 3) or (node["inputs"] == 7))
has_bn = bool((node["inputs"] == 6) or (node["inputs"] == 7))
input_tensor = get_tensor_from_map(node["inputs"][0][0])
weight_tensor = get_tensor_from_map(node["inputs"][1][0])
if not has_bias:
bias_tensor = "runner.unusedTensor"
else:
bias_tensor = get_tensor_from_map(node["inputs"][2][0])
node_out_name = make_output_tensor(node, node_seq)
if not has_bn:
self.clml_code.append(
self.MakeConv2D.substitute(
input_tensor=input_tensor,
weight_tensor=weight_tensor,
bias_tensor=bias_tensor,
output_tensor=node_out_name,
padding=padding,
dilation=dilation,
strides=strides,
groups=groups,
mode=mode,
activation=activation,
has_bias="true" if has_bias else "false",
has_act="true" if has_act else "false",
dtype=node["attrs"]["dtype"][0][0],
)
)
else:
bn_index = 3 if has_bias else 2
bn_attrs = tuple(node["attrs"]["batchnorm"][0][0])
axis = bn_attrs[0]
bn_shape = [1, 1, 1, 1]
bn_node = self.nodes[node["inputs"][bn_index][0]]
bn_shape[axis] = bn_node["attrs"]["shape"][0][0]
dtype = bn_node["attrs"]["dtype"][0][0]
bn_scale_tensor = get_tensor_from_map(
node["inputs"][bn_index][0],
shape=str(tuple(bn_shape))[1:-1],
dtype=dtype,
)
bn_bias_tensor = get_tensor_from_map(
node["inputs"][bn_index + 1][0],
shape=str(tuple(bn_shape))[1:-1],
dtype=dtype,
)
bn_mean_tensor = get_tensor_from_map(
node["inputs"][bn_index + 2][0],
shape=str(tuple(bn_shape))[1:-1],
dtype=dtype,
)
bn_var_tensor = get_tensor_from_map(
node["inputs"][bn_index + 3][0],
shape=str(tuple(bn_shape))[1:-1],
dtype=dtype,
)
self.clml_code.append(
self.MakeConv2DWithBN.substitute(
input_tensor=input_tensor,
weight_tensor=weight_tensor,
bias_tensor=bias_tensor,
output_tensor=node_out_name,
bn_scale_tensor=bn_scale_tensor,
bn_bias_tensor=bn_bias_tensor,
bn_mean_tensor=bn_mean_tensor,
bn_var_tensor=bn_var_tensor,
bn_attrs=str(bn_attrs)[1:-1],
padding=padding,
dilation=dilation,
strides=strides,
groups=groups,
mode=mode,
activation=activation,
has_bias="true" if has_bias else "false",
has_act="true" if has_act else "false",
dtype=node["attrs"]["dtype"][0][0],
)
)
elif node["name"] == "nn.relu6" or node["name"] == "nn.relu":
input_tensor = get_tensor_from_map(node["inputs"][0][0])
node_out_name = make_output_tensor(node, node_seq)
relu_type = (
"CL_ACTIVATION_RELU" if node["name"] == "nn.relu" else "CL_ACTIVATION_RELU6"
)
self.clml_code.append(
self.MakeRelu.substitute(
input_tensor=input_tensor,
output_tensor=node_out_name,
relu_type=relu_type,
dtype=node["attrs"]["dtype"][0][0],
)
)
elif node["name"] == "nn.batch_norm":
bn_attrs = tuple(node["attrs"]["axis"])
axis = int(bn_attrs[0][0])
bn_shape = [1, 1, 1, 1]
bn_node = self.nodes[node["inputs"][0][0]]
bn_shape[axis] = bn_node["attrs"]["shape"][0][0]
dtype = bn_node["attrs"]["dtype"][0][0]
bn_scale_tensor = get_tensor_from_map(
node["inputs"][0][0], shape=str(tuple(bn_shape))[1:-1], dtype=dtype
)
bn_bias_tensor = get_tensor_from_map(
node["inputs"][1][0], shape=str(tuple(bn_shape))[1:-1], dtype=dtype
)
bn_mean_tensor = get_tensor_from_map(
node["inputs"][2][0], shape=str(tuple(bn_shape))[1:-1], dtype=dtype
)
bn_var_tensor = get_tensor_from_map(
node["inputs"][3][0], shape=str(tuple(bn_shape))[1:-1], dtype=dtype
)
input_tensor = get_tensor_from_map(node["inputs"][0][0])
node_out_name = make_output_tensor(node, node_seq)
self.clml_code.append(
self.MakeBN.substitute(
input_tensor=input_tensor,
output_tensor=node_out_name,
bn_scale_tensor=bn_scale_tensor,
bn_bias_tensor=bn_bias_tensor,
bn_mean_tensor=bn_mean_tensor,
bn_var_tensor=bn_var_tensor,
bn_attrs=str(bn_attrs)[1:-1],
dtype=node["attrs"]["dtype"][0][0],
)
)
elif node["name"] in ["nn.max_pool2d", "nn.avg_pool2d", "nn.l2_pool2d"]:
input_tensor = get_tensor_from_map(node["inputs"][0][0])
node_out_name = make_output_tensor(node, node_seq)
pool_size = str(tuple(int(x) for x in node["attrs"]["pool_size"][0]))[1:-1]
strides = str(tuple(int(x) for x in node["attrs"]["strides"][0]))[1:-1]
padding = str(tuple(int(x) for x in node["attrs"]["padding"][0]))[1:-1]
self.clml_code.append(
self.MakePool2D.substitute(
input_tensor=input_tensor,
output_tensor=node_out_name,
pool_size=pool_size,
strides=strides,
padding=padding,
pool_type=node["name"],
dtype=node["attrs"]["dtype"][0][0],
)
)
elif node["name"] in ["nn.global_max_pool2d", "nn.global_avg_pool2d"]:
input_tensor = get_tensor_from_map(node["inputs"][0][0])
node_out_name = make_output_tensor(node, node_seq)
in_node = self.nodes[node["inputs"][0][0]]
in_shape = str(tuple(in_node["attrs"]["shape"][0][0]))[1:-1]
self.clml_code.append(
self.MakeGlobalPool2D.substitute(
input_tensor=input_tensor,
output_tensor=node_out_name,
in_shape=in_shape,
pool_type=node["name"],
dtype=node["attrs"]["dtype"][0][0],
)
)
elif node["name"] == "reshape":
input_tensor = get_tensor_from_map(node["inputs"][0][0])
node_out_name = make_output_tensor(node, node_seq)
self.clml_code.append(
self.MakeReshape.substitute(
input_tensor=input_tensor,
output_tensor=node_out_name,
dtype=node["attrs"]["dtype"][0][0],
)
)
elif node["name"] == "concatenate":
input_len = len(node["inputs"])
in_list = str(
[get_tensor_from_map(node["inputs"][x][0]) for x in range(input_len)]
)[1:-1]
node_out_name = make_output_tensor(node, node_seq)
axis = node["attrs"]["axis"][0][0]
self.clml_code.append(
self.MakeConcatenate.substitute(
in_list=in_list,
output_tensor=node_out_name,
axis=axis,
dtype=node["attrs"]["dtype"][0][0],
)
)
elif node["name"] == "nn.dense":
in_node = self.nodes[node["inputs"][0][0]]
in_shape = tuple(in_node["attrs"]["shape"][0][0])
wt_shape = tuple(in_node["attrs"]["shape"][0][0])
input_tensor = get_tensor_from_map(
node["inputs"][0][0], layout="CL_TENSOR_LAYOUT_NCHW_QCOM"
)
weight_tensor = get_tensor_from_map(
node["inputs"][1][0],
shape=str(tuple([1, 1, wt_shape[0], wt_shape[1]]))[1:-1],
layout="CL_TENSOR_LAYOUT_NCHW_QCOM",
)
node_out_name = make_output_tensor(
node,
node_seq,
shape=str(tuple([in_shape[0], wt_shape[0], 1, 1]))[1:-1],
layout="CL_TENSOR_LAYOUT_NCHW_QCOM",
)
self.clml_code.append(
self.MakeDense.substitute(
input_tensor=input_tensor,
weight_tensor=weight_tensor,
output_tensor=node_out_name,
in_shape=str(in_shape)[1:-1],
wt_shape=str(wt_shape)[1:-1],
dtype=node["attrs"]["dtype"][0][0],
)
)
elif node["name"] == "nn.softmax":
input_tensor = get_tensor_from_map(node["inputs"][0][0])
node_out_name = make_output_tensor(node, node_seq)
self.clml_code.append(
self.MakeSoftMax.substitute(
input_tensor=input_tensor,
output_tensor=node_out_name,
dtype=node["attrs"]["dtype"][0][0],
)
)
elif node["name"] == "nn.pad":
input_tensor = get_tensor_from_map(node["inputs"][0][0])
node_out_name = make_output_tensor(node, node_seq)
pad_mode = node["attrs"]["pad_mode"][0][0]
padding = str(tuple(int(x) for x in node["attrs"]["pad_width"][0]))[1:-1]
self.clml_code.append(
self.MakePad.substitute(
input_tensor=input_tensor,
output_tensor=node_out_name,
pad_mode=pad_mode,
padding=padding,
dtype=node["attrs"]["dtype"][0][0],
)
)
elif node["name"] == "nn.batch_flatten":
input_tensor = get_tensor_from_map(node["inputs"][0][0])
node_out_name = make_output_tensor(node, node_seq)
self.clml_code.append(
self.MakeBatchFlatten.substitute(
input_tensor=input_tensor,
output_tensor=node_out_name,
dtype=node["attrs"]["dtype"][0][0],
)
)
elif node["name"] == "clip":
input_tensor = get_tensor_from_map(node["inputs"][0][0])
node_out_name = make_output_tensor(node, node_seq)
a_max = node["attrs"]["a_max"][0][0]
a_min = node["attrs"]["a_min"][0][0]
self.clml_code.append(
self.MakeClip.substitute(
input_tensor=input_tensor,
output_tensor=node_out_name,
a_max=a_max,
a_min=a_min,
dtype=node["attrs"]["dtype"][0][0],
)
)
elif node["name"] in [
"add",
"subtract",
"multiply",
"minimum",
"maximum",
"divide",
]:
input_a = get_tensor_from_map(node["inputs"][0][0])
input_b = get_tensor_from_map(node["inputs"][1][0])
node_out_name = make_output_tensor(node, node_seq)
self.clml_code.append(
self.MakeBinaryOp.substitute(
input_a=input_a,
input_b=input_b,
output_tensor=node_out_name,
op=node["name"],
dtype=node["attrs"]["dtype"][0][0],
)
)
else:
raise RuntimeError("Unsupported Op:" + node["name"])
self.clml_code.append(
self.MapInsert.substitute(nid=node_out_name, tensor_desc=node_out_name)
)
self.node_map[node_seq] = node_out_name
elif node["op"] not in ["const", "input"]:
print("Unknown Node type:", node["op"])
# Populate outputs
out_nodes = self.codegen["heads"]
self.clml_code.append("// Populate outputs")
for nid_triple in out_nodes:
nid = nid_triple[0]
out_node = self.nodes[nid]
dtype = str(out_node["attrs"]["dtype"][0][0])
shape = str(tuple(out_node["attrs"]["shape"][0][0]))[1:-1]
out_name = self.sub_module_name + "_" + "layer_out_" + str(nid)
self.clml_code.append(
Template(
'runner.outputs.insert({"$out_name", runner.storage_map["$out_name"]});'
).substitute(out_name=out_name)
)
self.clml_code.append(
Template('runner.outputs_dtypes.insert({"$out_name", "$dtype"});').substitute(
out_name=out_name, dtype=dtype
)
)
self.clml_code.append(
Template(
"runner.outputs_shapes.insert" '({"$out_name", std::vector<size_t>({$shape})});'
).substitute(out_name=out_name, shape=shape)
)
self.output_meta.append(
self.MakeOutputMetaInfo.substitute(out_name=out_name, dtype=dtype, shape=shape)
)
# Mem allocation & Param copy
self.clml_code.append("// Allocate Tensor Memory and copy params")
self.clml_code.append("runner.AllocateMemAndPopulateParams();")
# Meta data preparation
self.clml_code.append(
self.MakeMetaInfo.substitute(
name=self.sub_module_name,
input_count=len(self.input_meta),
output_count=len(self.output_meta),
input_meta="\\\n".join(self.input_meta),
output_meta="\\\n".join(self.output_meta),
)
)
self.clml_code.append(self.MakeFooter.substitute())
return (self.sub_module_name, self.clml_code)
class CLMLGenSrc:
"""Generates CLML API source given a TVM compiled mod"""
def __init__(self, libm):
"""Initialize
Parameters
----------
libm : Module
Compiled relay module
"""
self.libm = libm
self.gen_src = []
self.clml_modules = None
self.clml_builds = {}
self.codegen = None
self.nodes = None
self.MakeFileHeader = Template(
"""/*
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing,
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* specific language governing permissions and limitations
*/
/*!
* \\file clml_models.cc
* \\brief CLML models for all subgraph in given TVM module.
*/
// AUTO GENERATED BY TOOL (clml_codegen.py), PLEASE DO NOT CHANGE THIS FILE!
// =========================================================================
#include <iostream>
#include <fstream>
#include <vector>
#include <string>
#include <algorithm>
#include <math.h>
#include <list>
// Project includes
#include "CL/cl.h"
#include "CL/cl_qcom_ml_ops.h"
#include "clml_runner.h"
using namespace tvm::runtime;
"""
)
def get_clml_params(self):
"""Returns parameters from the TVM module"""
clml_params = {}
if self.libm.get_lib().type_key == "const_loader":
params = self.libm.get_lib().get_function("get_const_var_ndarray")()
clml_params.update(params)
for mod in self.libm.get_lib().imported_modules:
if mod.type_key == "const_loader":
params = mod.get_const_var_ndarray()
clml_params.update(params)
clml_params_save = {}
for key, val in clml_params.items():
clml_params_save[str(key)] = val.numpy()
return clml_params_save
def get_artifacts(self):
"""Function that returns params as dict and source as list of cource code lines"""
self.clml_modules = list(
filter(lambda mod: mod.type_key == "clml", self.libm.get_lib().imported_modules)
)
self.clml_builds["file_header"] = [self.MakeFileHeader.substitute()]
for cmod in self.clml_modules:
(sub_module_name, clml_code) = CLMLGetSubModuleSrc(cmod).get_src()
self.clml_builds[sub_module_name] = clml_code
main_code = []
main_code.append(
"""
std::vector<CLMLRunner> BuildModules(ToolArgs& args,
cl_platform_id arg_platform,
cl_context arg_context,
cl_device_id arg_device_id,
cl_command_queue arg_queue) {
std::vector<CLMLRunner> runners;"""
)
for key, val in self.clml_builds.items():
if key != "file_header":
main_code.append(
"runners.push_back("
+ key
+ '("'
+ key
+ '", args, arg_platform, arg_context, arg_device_id, arg_queue));'
)
main_code.append("return runners;}")
self.clml_builds["MainBuild"] = main_code
for key, val in self.clml_builds.items():
self.gen_src.extend(val)
return (self.get_clml_params(), self.gen_src)
```
|
Thomas Francis Schlafly (born October 28, 1948) is an American businessman and writer. He co-founded the Saint Louis Brewery, which produces the Schlafly line of beers. Schlafly is a graduate of the Saint Louis Priory School, and received his A.B. and J.D. from Georgetown University.
In his capacity with the brewery, he writes a column every month, "Top Fermentation". In 2006, he published A New Religion in Mecca: Memoir of a Renegade Brewery in St. Louis (Virginia Publishing), which recounted the founding of the Saint Louis Brewery. He is also an attorney, working as a partner in the St. Louis office of Thompson Coburn. He is a nephew of St. Louis conservative commentator Phyllis Schlafly.
In 2012, Schlafly was a member of a group of St. Louisans who assumed ownership of the St. Louis Blues National Hockey League ice hockey team.
References
External links
Thomas Schlafly at Thompson Coburn's website.
Saint Louis Brewery website
Top Fermentation columns
1948 births
Living people
American columnists
American people of Swiss descent
American brewers
Georgetown University Law Center alumni
Missouri lawyers
Writers from St. Louis
Businesspeople from St. Louis
Beer writers
20th-century American businesspeople
|
```forth
*> \brief \b SCHKGK
*
* =========== DOCUMENTATION ===========
*
* Online html documentation available at
* path_to_url
*
* Definition:
* ===========
*
* SUBROUTINE SCHKGK( NIN, NOUT )
*
* .. Scalar Arguments ..
* INTEGER NIN, NOUT
* ..
*
*
*> \par Purpose:
* =============
*>
*> \verbatim
*>
*> SCHKGK tests SGGBAK, a routine for backward balancing of
*> a matrix pair (A, B).
*> \endverbatim
*
* Arguments:
* ==========
*
*> \param[in] NIN
*> \verbatim
*> NIN is INTEGER
*> The logical unit number for input. NIN > 0.
*> \endverbatim
*>
*> \param[in] NOUT
*> \verbatim
*> NOUT is INTEGER
*> The logical unit number for output. NOUT > 0.
*> \endverbatim
*
* Authors:
* ========
*
*> \author Univ. of Tennessee
*> \author Univ. of California Berkeley
*> \author Univ. of Colorado Denver
*> \author NAG Ltd.
*
*> \ingroup single_eig
*
* =====================================================================
SUBROUTINE SCHKGK( NIN, NOUT )
*
* -- LAPACK test routine --
* -- LAPACK is a software package provided by Univ. of Tennessee, --
* -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
*
* .. Scalar Arguments ..
INTEGER NIN, NOUT
* ..
*
* =====================================================================
*
* .. Parameters ..
INTEGER LDA, LDB, LDVL, LDVR
PARAMETER ( LDA = 50, LDB = 50, LDVL = 50, LDVR = 50 )
INTEGER LDE, LDF, LDWORK
PARAMETER ( LDE = 50, LDF = 50, LDWORK = 50 )
REAL ZERO, ONE
PARAMETER ( ZERO = 0.0E+0, ONE = 1.0E+0 )
* ..
* .. Local Scalars ..
INTEGER I, IHI, ILO, INFO, J, KNT, M, N, NINFO
REAL ANORM, BNORM, EPS, RMAX, VMAX
* ..
* .. Local Arrays ..
INTEGER LMAX( 4 )
REAL A( LDA, LDA ), AF( LDA, LDA ), B( LDB, LDB ),
$ BF( LDB, LDB ), E( LDE, LDE ), F( LDF, LDF ),
$ LSCALE( LDA ), RSCALE( LDA ), VL( LDVL, LDVL ),
$ VLF( LDVL, LDVL ), VR( LDVR, LDVR ),
$ VRF( LDVR, LDVR ), WORK( LDWORK, LDWORK )
* ..
* .. External Functions ..
REAL SLAMCH, SLANGE
EXTERNAL SLAMCH, SLANGE
* ..
* .. External Subroutines ..
EXTERNAL SGEMM, SGGBAK, SGGBAL, SLACPY
* ..
* .. Intrinsic Functions ..
INTRINSIC ABS, MAX
* ..
* .. Executable Statements ..
*
* Initialization
*
LMAX( 1 ) = 0
LMAX( 2 ) = 0
LMAX( 3 ) = 0
LMAX( 4 ) = 0
NINFO = 0
KNT = 0
RMAX = ZERO
*
EPS = SLAMCH( 'Precision' )
*
10 CONTINUE
READ( NIN, FMT = * )N, M
IF( N.EQ.0 )
$ GO TO 100
*
DO 20 I = 1, N
READ( NIN, FMT = * )( A( I, J ), J = 1, N )
20 CONTINUE
*
DO 30 I = 1, N
READ( NIN, FMT = * )( B( I, J ), J = 1, N )
30 CONTINUE
*
DO 40 I = 1, N
READ( NIN, FMT = * )( VL( I, J ), J = 1, M )
40 CONTINUE
*
DO 50 I = 1, N
READ( NIN, FMT = * )( VR( I, J ), J = 1, M )
50 CONTINUE
*
KNT = KNT + 1
*
ANORM = SLANGE( 'M', N, N, A, LDA, WORK )
BNORM = SLANGE( 'M', N, N, B, LDB, WORK )
*
CALL SLACPY( 'FULL', N, N, A, LDA, AF, LDA )
CALL SLACPY( 'FULL', N, N, B, LDB, BF, LDB )
*
CALL SGGBAL( 'B', N, A, LDA, B, LDB, ILO, IHI, LSCALE, RSCALE,
$ WORK, INFO )
IF( INFO.NE.0 ) THEN
NINFO = NINFO + 1
LMAX( 1 ) = KNT
END IF
*
CALL SLACPY( 'FULL', N, M, VL, LDVL, VLF, LDVL )
CALL SLACPY( 'FULL', N, M, VR, LDVR, VRF, LDVR )
*
CALL SGGBAK( 'B', 'L', N, ILO, IHI, LSCALE, RSCALE, M, VL, LDVL,
$ INFO )
IF( INFO.NE.0 ) THEN
NINFO = NINFO + 1
LMAX( 2 ) = KNT
END IF
*
CALL SGGBAK( 'B', 'R', N, ILO, IHI, LSCALE, RSCALE, M, VR, LDVR,
$ INFO )
IF( INFO.NE.0 ) THEN
NINFO = NINFO + 1
LMAX( 3 ) = KNT
END IF
*
* Test of SGGBAK
*
* Check tilde(VL)'*A*tilde(VR) - VL'*tilde(A)*VR
* where tilde(A) denotes the transformed matrix.
*
CALL SGEMM( 'N', 'N', N, M, N, ONE, AF, LDA, VR, LDVR, ZERO, WORK,
$ LDWORK )
CALL SGEMM( 'T', 'N', M, M, N, ONE, VL, LDVL, WORK, LDWORK, ZERO,
$ E, LDE )
*
CALL SGEMM( 'N', 'N', N, M, N, ONE, A, LDA, VRF, LDVR, ZERO, WORK,
$ LDWORK )
CALL SGEMM( 'T', 'N', M, M, N, ONE, VLF, LDVL, WORK, LDWORK, ZERO,
$ F, LDF )
*
VMAX = ZERO
DO 70 J = 1, M
DO 60 I = 1, M
VMAX = MAX( VMAX, ABS( E( I, J )-F( I, J ) ) )
60 CONTINUE
70 CONTINUE
VMAX = VMAX / ( EPS*MAX( ANORM, BNORM ) )
IF( VMAX.GT.RMAX ) THEN
LMAX( 4 ) = KNT
RMAX = VMAX
END IF
*
* Check tilde(VL)'*B*tilde(VR) - VL'*tilde(B)*VR
*
CALL SGEMM( 'N', 'N', N, M, N, ONE, BF, LDB, VR, LDVR, ZERO, WORK,
$ LDWORK )
CALL SGEMM( 'T', 'N', M, M, N, ONE, VL, LDVL, WORK, LDWORK, ZERO,
$ E, LDE )
*
CALL SGEMM( 'N', 'N', N, M, N, ONE, B, LDB, VRF, LDVR, ZERO, WORK,
$ LDWORK )
CALL SGEMM( 'T', 'N', M, M, N, ONE, VLF, LDVL, WORK, LDWORK, ZERO,
$ F, LDF )
*
VMAX = ZERO
DO 90 J = 1, M
DO 80 I = 1, M
VMAX = MAX( VMAX, ABS( E( I, J )-F( I, J ) ) )
80 CONTINUE
90 CONTINUE
VMAX = VMAX / ( EPS*MAX( ANORM, BNORM ) )
IF( VMAX.GT.RMAX ) THEN
LMAX( 4 ) = KNT
RMAX = VMAX
END IF
*
GO TO 10
*
100 CONTINUE
*
WRITE( NOUT, FMT = 9999 )
9999 FORMAT( 1X, '.. test output of SGGBAK .. ' )
*
WRITE( NOUT, FMT = 9998 )RMAX
9998 FORMAT( ' value of largest test error =', E12.3 )
WRITE( NOUT, FMT = 9997 )LMAX( 1 )
9997 FORMAT( ' example number where SGGBAL info is not 0 =', I4 )
WRITE( NOUT, FMT = 9996 )LMAX( 2 )
9996 FORMAT( ' example number where SGGBAK(L) info is not 0 =', I4 )
WRITE( NOUT, FMT = 9995 )LMAX( 3 )
9995 FORMAT( ' example number where SGGBAK(R) info is not 0 =', I4 )
WRITE( NOUT, FMT = 9994 )LMAX( 4 )
9994 FORMAT( ' example number having largest error =', I4 )
WRITE( NOUT, FMT = 9992 )NINFO
9992 FORMAT( ' number of examples where info is not 0 =', I4 )
WRITE( NOUT, FMT = 9991 )KNT
9991 FORMAT( ' total number of examples tested =', I4 )
*
RETURN
*
* End of SCHKGK
*
END
```
|
```xml
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ 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.
-->
<dataset update-count="1">
<metadata data-nodes="db_${0..9}.t_order">
<column name="order_id" type="numeric" />
<column name="user_id" type="numeric" />
<column name="status" type="varchar" />
<column name="merchant_id" type="numeric" />
<column name="remark" type="varchar" />
<column name="creation_date" type="datetime" />
</metadata>
<row data-node="db_0.t_order" values="1000, 10, init, null, test, 2017-08-08" />
<row data-node="db_0.t_order" values="1001, 10, init, 2, test, 2017-08-08" />
<row data-node="db_0.t_order" values="2000, 20, init, null, test, 2017-08-08" />
<row data-node="db_0.t_order" values="2001, 20, init, 4, test, 2017-08-08" />
<row data-node="db_1.t_order" values="1, 1, insert, 1, test, 2017-08-08" />
<row data-node="db_1.t_order" values="1100, 11, init, 5, test, 2017-08-08" />
<row data-node="db_1.t_order" values="1101, 11, init, 6, test, 2017-08-08" />
<row data-node="db_1.t_order" values="2100, 21, init, 7, test, 2017-08-08" />
<row data-node="db_1.t_order" values="2101, 21, init, 8, test, 2017-08-08" />
<row data-node="db_2.t_order" values="1200, 12, init, 9, test, 2017-08-08" />
<row data-node="db_2.t_order" values="1201, 12, init, 10, test, 2017-08-08" />
<row data-node="db_2.t_order" values="2200, 22, init, 11, test, 2017-08-08" />
<row data-node="db_2.t_order" values="2201, 22, init, 12, test, 2017-08-08" />
<row data-node="db_3.t_order" values="1300, 13, init, 13, test, 2017-08-08" />
<row data-node="db_3.t_order" values="1301, 13, init, 14, test, 2017-08-08" />
<row data-node="db_3.t_order" values="2300, 23, init, 15, test, 2017-08-08" />
<row data-node="db_3.t_order" values="2301, 23, init, 16, test, 2017-08-08" />
<row data-node="db_4.t_order" values="1400, 14, init, 17, test, 2017-08-08" />
<row data-node="db_4.t_order" values="1401, 14, init, 18, test, 2017-08-08" />
<row data-node="db_4.t_order" values="2400, 24, init, 19, test, 2017-08-08" />
<row data-node="db_4.t_order" values="2401, 24, init, 20, test, 2017-08-08" />
<row data-node="db_5.t_order" values="1500, 15, init, 1, test, 2017-08-08" />
<row data-node="db_5.t_order" values="1501, 15, init, 2, test, 2017-08-08" />
<row data-node="db_5.t_order" values="2500, 25, init, null, test, 2017-08-08" />
<row data-node="db_5.t_order" values="2501, 25, init, 4, test, 2017-08-08" />
<row data-node="db_6.t_order" values="1600, 16, init, 5, test, 2017-08-08" />
<row data-node="db_6.t_order" values="1601, 16, init, 6, test, 2017-08-08" />
<row data-node="db_6.t_order" values="2600, 26, init, 7, test, 2017-08-08" />
<row data-node="db_6.t_order" values="2601, 26, init, 8, test, 2017-08-08" />
<row data-node="db_7.t_order" values="1700, 17, init, 9, test, 2017-08-08" />
<row data-node="db_7.t_order" values="1701, 17, init, 10, test, 2017-08-08" />
<row data-node="db_7.t_order" values="2700, 27, init, 11, test, 2017-08-08" />
<row data-node="db_7.t_order" values="2701, 27, init, 12, test, 2017-08-08" />
<row data-node="db_8.t_order" values="1800, 18, init, 13, test, 2017-08-08" />
<row data-node="db_8.t_order" values="1801, 18, init, 14, test, 2017-08-08" />
<row data-node="db_8.t_order" values="2800, 28, init, null, test, 2017-08-08" />
<row data-node="db_8.t_order" values="2801, 28, init, 16, test, 2017-08-08" />
<row data-node="db_9.t_order" values="1900, 19, init, 17, test, 2017-08-08" />
<row data-node="db_9.t_order" values="1901, 19, init, 18, test, 2017-08-08" />
<row data-node="db_9.t_order" values="2900, 29, init, 19, test, 2017-08-08" />
<row data-node="db_9.t_order" values="2901, 29, init, 20, test, 2017-08-08" />
</dataset>
```
|
Walworth Town Hall is a municipal building in Walworth Road, Southwark, London. It is a Grade II listed building. It was built for the vestry of the parish of Newington, opening as the Newington Vestry Hall in 1865. When Newington became part of the Metropolitan Borough of Southwark in 1900 the building served as Southwark Town Hall. It ceased to be a headquarters of local government in 1965 when the London Borough of Southwark was created.
History
In the late 1850s the Vestry Board of St Mary, Newington met in the Infant School Room in Queen's Head Row as well as in a room in the local parish church. After civic leaders found this arrangement was inadequate, they decided to procure a purpose-built vestry hall: the site selected on Walworth Road had previously been open land owned by the Worshipful Company of Fishmongers.
The new building, which was designed by Henry Jarvis in the Italianate style and built Piper and Wheeler, was officially opened on 8 August 1865. The building was financed by a loan from Edward Chambers Nicholson, a wealthy chemist who had settled locally in his retirement. The design involved a symmetrical main frontage with seven bays facing onto Walworth Road; the central section featured a round-arched stone doorway flanked by Corinthian order columns; there was a triple round-arched window above on the first floor. Internally, the principal room was the council chamber on the first floor. Also of interest is that at the end of this block of buildings, on Larcom Street, Charles Babbage, the Victorian mechanical computer pioneer, was born in 1791 although the original house has been demolished. A blue plaque records his birth.
After the Newington Public Library had been built to the south east of the town hall in 1892, an infill extension was added between the two buildings in 1893. The town hall became the headquarters of the Metropolitan Borough of Southwark and was renamed "Southwark Town Hall" in 1900. It was extended along Wansey street to provide further accommodation in 1902.
The building ceased to be the local seat of government when the enlarged London Borough of Southwark was formed in 1965. It was subsequently used as workspace by the council, becoming known as "Walworth Town Hall", and was also used as the local registrar's office. The Cuming Museum, which had been based at the back of the Newington Public Library, moved into the town hall in 2006.
The roof of the building was badly damaged by a fire in March 2013 and the building was subsequently added to the Heritage at Risk Register. In March 2018, the council announced that the building would be restored and appointed Feix & Merlin as architects and General Projects as the developer for works. Plans were announced in 2019 to introduce a commercial partner. Proposals for the restoration works, which included educational activities, creative workshops and studio spaces, were submitted for planning consent in June 2020. Work began on the building's refurbishment in March 2022.
References
Grade II listed buildings in the London Borough of Southwark
City and town halls in London
Government buildings completed in 1865
Grade II listed government buildings
|
Lazina Čička is a village in Croatia.
References
Populated places in Zagreb County
Velika Gorica
|
Janesville is a city in Waseca County, Minnesota, United States. The population was 2,256 at the 2010 census.
U.S. Highway 14 serves as a main route in the community, running east–west, south of Janesville. County Road 3 runs north–south through the town. There is one disabled stoplight, now a four way stop, in Janesville at the intersection of County Road 3 (Main Street) and old Highway 14.
History
The city of Janesville was established in 1856.
A post office called Janesville has been in operation since 1858. The city was named for Mrs. Jane Sprague, an early settler. Janesville was incorporated in 1870. Janesville contains two properties listed on the National Register of Historic Places, the Hofmann Apiaries established in 1907 and the 1912 Janesville Free Public Library.
Geography
According to the United States Census Bureau, the city has a total area of , all land.
Demographics
2010 census
As of the census of 2010, there were 2,256 people, 889 households, and 619 families living in the city. The population density was . There were 958 housing units at an average density of . The racial makeup of the city was 98.0% White, 0.4% African American, 0.3% Native American, 0.2% Asian, 0.3% from other races, and 0.8% from two or more races. Hispanic or Latino of any race were 1.3% of the population.
There were 889 households, of which 35.9% had children under the age of 18 living with them, 56.1% were married couples living together, 8.8% had a female householder with no husband present, 4.7% had a male householder with no wife present, and 30.4% were non-families. 25.1% of all households were made up of individuals, and 10.4% had someone living alone who was 65 years of age or older. The average household size was 2.49 and the average family size was 2.97.
The median age in the city was 35.4 years. 27.1% of residents were under the age of 18; 6.1% were between the ages of 18 and 24; 29.5% were from 25 to 44; 22.3% were from 45 to 64; and 14.8% were 65 years of age or older. The gender makeup of the city was 48.1% male and 51.9% female.
2000 census
As of the census of 2000, there were 2,109 people, 816 households, and 580 families living in the city. The population density was . There were 848 housing units at an average density of . The racial makeup of the city was 97.72% White, 0.09% African American, 0.38% Native American, 0.19% Asian, 0.62% from other races, and 1.00% from two or more races. Hispanic or Latino of any race were 1.61% of the population.
There were 816 households, out of which 35.0% had children under the age of 18 living with them, 60.3% were married couples living together, 7.4% had a female householder with no husband present, and 28.9% were non-families. 25.5% of all households were made up of individuals, and 12.6% had someone living alone who was 65 years of age or older. The average household size was 2.54 and the average family size was 3.05.
In the city, the population was spread out, with 27.1% under the age of 18, 9.3% from 18 to 24, 28.4% from 25 to 44, 19.2% from 45 to 64, and 16.0% who were 65 years of age or older. The median age was 34 years. For every 100 females, there were 91.6 males. For every 100 females age 18 and over, there were 89.1 males.
The median income for a household in the city was $41,667, and the median income for a family was $51,111. Males had a median income of $31,675 versus $21,492 for females. The per capita income for the city was $17,443. About 1.4% of families and 3.7% of the population were below the poverty line, including 1.4% of those under age 18 and 7.9% of those age 65 or over.
Notable person
Aaron Sheehan, operatic tenor and professor of music
References
External links
Janesville, Minnesota Official Website
Cities in Minnesota
Cities in Waseca County, Minnesota
|
```javascript
(window.webpackJsonp=window.webpackJsonp||[]).push([[129],{910:function(e,n){e.exports=function(e){var n="[ \\t\\f]*",a="("+n+"[:=]"+n+"|[ \\t\\f]+)",t="([^\\\\:= \\t\\f\\n]|\\\\.)+",s={end:a,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\n"}]}};return{case_insensitive:!0,illegal:/\S/,contains:[e.COMMENT("^\\s*[!#]","$"),{begin:"([^\\\\\\W:= \\t\\f\\n]|\\\\.)+"+a,returnBegin:!0,contains:[{className:"attr",begin:"([^\\\\\\W:= \\t\\f\\n]|\\\\.)+",endsParent:!0,relevance:0}],starts:s},{begin:t+a,returnBegin:!0,relevance:0,contains:[{className:"meta",begin:t,endsParent:!0,relevance:0}],starts:s},{className:"attr",relevance:0,begin:t+n+"$"}]}}}}]);
```
|
```c
/*********************************************************************/
/* */
/* Optimized BLAS libraries */
/* By Kazushige Goto <kgoto@tacc.utexas.edu> */
/* */
/* UNIVERSITY EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES CONCERNING */
/* THIS SOFTWARE AND DOCUMENTATION, INCLUDING ANY WARRANTIES OF */
/* MERCHANTABILITY, FITNESS FOR ANY PARTICULAR PURPOSE, */
/* NON-INFRINGEMENT AND WARRANTIES OF PERFORMANCE, AND ANY WARRANTY */
/* THAT MIGHT OTHERWISE ARISE FROM COURSE OF DEALING OR USAGE OF */
/* TRADE. NO WARRANTY IS EITHER EXPRESS OR IMPLIED WITH RESPECT TO */
/* THE USE OF THE SOFTWARE OR DOCUMENTATION. */
/* Under no circumstances shall University be liable for incidental, */
/* special, indirect, direct or consequential damages or loss of */
/* profits, interruption of business, or related expenses which may */
/* arise from use of Software or Documentation, including but not */
/* limited to those resulting from defects in Software and/or */
/* Documentation, or loss or inaccuracy of data of any kind. */
/*********************************************************************/
#include <stdio.h>
#include "common.h"
int CNAME(BLASLONG m, BLASLONG n, FLOAT *a, BLASLONG lda, BLASLONG posX, BLASLONG posY, FLOAT *b){
BLASLONG i, js;
BLASLONG X, ii;
FLOAT *a01, *a02, *a03 ,*a04, *a05, *a06, *a07, *a08;
FLOAT *a09, *a10, *a11, *a12, *a13, *a14, *a15, *a16;
js = (n >> 4);
if (js > 0){
do {
X = posX;
if (posX <= posY) {
a01 = a + posX + (posY + 0) * lda;
a02 = a + posX + (posY + 1) * lda;
a03 = a + posX + (posY + 2) * lda;
a04 = a + posX + (posY + 3) * lda;
a05 = a + posX + (posY + 4) * lda;
a06 = a + posX + (posY + 5) * lda;
a07 = a + posX + (posY + 6) * lda;
a08 = a + posX + (posY + 7) * lda;
a09 = a + posX + (posY + 8) * lda;
a10 = a + posX + (posY + 9) * lda;
a11 = a + posX + (posY + 10) * lda;
a12 = a + posX + (posY + 11) * lda;
a13 = a + posX + (posY + 12) * lda;
a14 = a + posX + (posY + 13) * lda;
a15 = a + posX + (posY + 14) * lda;
a16 = a + posX + (posY + 15) * lda;
} else {
a01 = a + posY + (posX + 0) * lda;
a02 = a + posY + (posX + 1) * lda;
a03 = a + posY + (posX + 2) * lda;
a04 = a + posY + (posX + 3) * lda;
a05 = a + posY + (posX + 4) * lda;
a06 = a + posY + (posX + 5) * lda;
a07 = a + posY + (posX + 6) * lda;
a08 = a + posY + (posX + 7) * lda;
a09 = a + posY + (posX + 8) * lda;
a10 = a + posY + (posX + 9) * lda;
a11 = a + posY + (posX + 10) * lda;
a12 = a + posY + (posX + 11) * lda;
a13 = a + posY + (posX + 12) * lda;
a14 = a + posY + (posX + 13) * lda;
a15 = a + posY + (posX + 14) * lda;
a16 = a + posY + (posX + 15) * lda;
}
i = (m >> 4);
if (i > 0) {
do {
if (X < posY) {
for (ii = 0; ii < 16; ii++){
b[ 0] = *(a01 + 0);
b[ 1] = *(a02 + 0);
b[ 2] = *(a03 + 0);
b[ 3] = *(a04 + 0);
b[ 4] = *(a05 + 0);
b[ 5] = *(a06 + 0);
b[ 6] = *(a07 + 0);
b[ 7] = *(a08 + 0);
b[ 8] = *(a09 + 0);
b[ 9] = *(a10 + 0);
b[ 10] = *(a11 + 0);
b[ 11] = *(a12 + 0);
b[ 12] = *(a13 + 0);
b[ 13] = *(a14 + 0);
b[ 14] = *(a15 + 0);
b[ 15] = *(a16 + 0);
a01 ++;
a02 ++;
a03 ++;
a04 ++;
a05 ++;
a06 ++;
a07 ++;
a08 ++;
a09 ++;
a10 ++;
a11 ++;
a12 ++;
a13 ++;
a14 ++;
a15 ++;
a16 ++;
b += 16;
}
} else
if (X > posY) {
a01 += 16 * lda;
a02 += 16 * lda;
a03 += 16 * lda;
a04 += 16 * lda;
a05 += 16 * lda;
a06 += 16 * lda;
a07 += 16 * lda;
a08 += 16 * lda;
a09 += 16 * lda;
a10 += 16 * lda;
a11 += 16 * lda;
a12 += 16 * lda;
a13 += 16 * lda;
a14 += 16 * lda;
a15 += 16 * lda;
a16 += 16 * lda;
b += 256;
} else {
#ifdef UNIT
b[ 0] = ONE;
#else
b[ 0] = *(a01 + 0);
#endif
b[ 1] = *(a02 + 0);
b[ 2] = *(a03 + 0);
b[ 3] = *(a04 + 0);
b[ 4] = *(a05 + 0);
b[ 5] = *(a06 + 0);
b[ 6] = *(a07 + 0);
b[ 7] = *(a08 + 0);
b[ 8] = *(a09 + 0);
b[ 9] = *(a10 + 0);
b[ 10] = *(a11 + 0);
b[ 11] = *(a12 + 0);
b[ 12] = *(a13 + 0);
b[ 13] = *(a14 + 0);
b[ 14] = *(a15 + 0);
b[ 15] = *(a16 + 0);
b[ 16] = ZERO;
#ifdef UNIT
b[ 17] = ONE;
#else
b[ 17] = *(a02 + 1);
#endif
b[ 18] = *(a03 + 1);
b[ 19] = *(a04 + 1);
b[ 20] = *(a05 + 1);
b[ 21] = *(a06 + 1);
b[ 22] = *(a07 + 1);
b[ 23] = *(a08 + 1);
b[ 24] = *(a09 + 1);
b[ 25] = *(a10 + 1);
b[ 26] = *(a11 + 1);
b[ 27] = *(a12 + 1);
b[ 28] = *(a13 + 1);
b[ 29] = *(a14 + 1);
b[ 30] = *(a15 + 1);
b[ 31] = *(a16 + 1);
b[ 32] = ZERO;
b[ 33] = ZERO;
#ifdef UNIT
b[ 34] = ONE;
#else
b[ 34] = *(a03 + 2);
#endif
b[ 35] = *(a04 + 2);
b[ 36] = *(a05 + 2);
b[ 37] = *(a06 + 2);
b[ 38] = *(a07 + 2);
b[ 39] = *(a08 + 2);
b[ 40] = *(a09 + 2);
b[ 41] = *(a10 + 2);
b[ 42] = *(a11 + 2);
b[ 43] = *(a12 + 2);
b[ 44] = *(a13 + 2);
b[ 45] = *(a14 + 2);
b[ 46] = *(a15 + 2);
b[ 47] = *(a16 + 2);
b[ 48] = ZERO;
b[ 49] = ZERO;
b[ 50] = ZERO;
#ifdef UNIT
b[ 51] = ONE;
#else
b[ 51] = *(a04 + 3);
#endif
b[ 52] = *(a05 + 3);
b[ 53] = *(a06 + 3);
b[ 54] = *(a07 + 3);
b[ 55] = *(a08 + 3);
b[ 56] = *(a09 + 3);
b[ 57] = *(a10 + 3);
b[ 58] = *(a11 + 3);
b[ 59] = *(a12 + 3);
b[ 60] = *(a13 + 3);
b[ 61] = *(a14 + 3);
b[ 62] = *(a15 + 3);
b[ 63] = *(a16 + 3);
b[ 64] = ZERO;
b[ 65] = ZERO;
b[ 66] = ZERO;
b[ 67] = ZERO;
#ifdef UNIT
b[ 68] = ONE;
#else
b[ 68] = *(a05 + 4);
#endif
b[ 69] = *(a06 + 4);
b[ 70] = *(a07 + 4);
b[ 71] = *(a08 + 4);
b[ 72] = *(a09 + 4);
b[ 73] = *(a10 + 4);
b[ 74] = *(a11 + 4);
b[ 75] = *(a12 + 4);
b[ 76] = *(a13 + 4);
b[ 77] = *(a14 + 4);
b[ 78] = *(a15 + 4);
b[ 79] = *(a16 + 4);
b[ 80] = ZERO;
b[ 81] = ZERO;
b[ 82] = ZERO;
b[ 83] = ZERO;
b[ 84] = ZERO;
#ifdef UNIT
b[ 85] = ONE;
#else
b[ 85] = *(a06 + 5);
#endif
b[ 86] = *(a07 + 5);
b[ 87] = *(a08 + 5);
b[ 88] = *(a09 + 5);
b[ 89] = *(a10 + 5);
b[ 90] = *(a11 + 5);
b[ 91] = *(a12 + 5);
b[ 92] = *(a13 + 5);
b[ 93] = *(a14 + 5);
b[ 94] = *(a15 + 5);
b[ 95] = *(a16 + 5);
b[ 96] = ZERO;
b[ 97] = ZERO;
b[ 98] = ZERO;
b[ 99] = ZERO;
b[100] = ZERO;
b[101] = ZERO;
#ifdef UNIT
b[102] = ONE;
#else
b[102] = *(a07 + 6);
#endif
b[103] = *(a08 + 6);
b[104] = *(a09 + 6);
b[105] = *(a10 + 6);
b[106] = *(a11 + 6);
b[107] = *(a12 + 6);
b[108] = *(a13 + 6);
b[109] = *(a14 + 6);
b[110] = *(a15 + 6);
b[111] = *(a16 + 6);
b[112] = ZERO;
b[113] = ZERO;
b[114] = ZERO;
b[115] = ZERO;
b[116] = ZERO;
b[117] = ZERO;
b[118] = ZERO;
#ifdef UNIT
b[119] = ONE;
#else
b[119] = *(a08 + 7);
#endif
b[120] = *(a09 + 7);
b[121] = *(a10 + 7);
b[122] = *(a11 + 7);
b[123] = *(a12 + 7);
b[124] = *(a13 + 7);
b[125] = *(a14 + 7);
b[126] = *(a15 + 7);
b[127] = *(a16 + 7);
b[128] = ZERO;
b[129] = ZERO;
b[130] = ZERO;
b[131] = ZERO;
b[132] = ZERO;
b[133] = ZERO;
b[134] = ZERO;
b[135] = ZERO;
#ifdef UNIT
b[136] = ONE;
#else
b[136] = *(a09 + 8);
#endif
b[137] = *(a10 + 8);
b[138] = *(a11 + 8);
b[139] = *(a12 + 8);
b[140] = *(a13 + 8);
b[141] = *(a14 + 8);
b[142] = *(a15 + 8);
b[143] = *(a16 + 8);
b[144] = ZERO;
b[145] = ZERO;
b[146] = ZERO;
b[147] = ZERO;
b[148] = ZERO;
b[149] = ZERO;
b[150] = ZERO;
b[151] = ZERO;
b[152] = ZERO;
#ifdef UNIT
b[153] = ONE;
#else
b[153] = *(a10 + 9);
#endif
b[154] = *(a11 + 9);
b[155] = *(a12 + 9);
b[156] = *(a13 + 9);
b[157] = *(a14 + 9);
b[158] = *(a15 + 9);
b[159] = *(a16 + 9);
b[160] = ZERO;
b[161] = ZERO;
b[162] = ZERO;
b[163] = ZERO;
b[164] = ZERO;
b[165] = ZERO;
b[166] = ZERO;
b[167] = ZERO;
b[168] = ZERO;
b[169] = ZERO;
#ifdef UNIT
b[170] = ONE;
#else
b[170] = *(a11 + 10);
#endif
b[171] = *(a12 + 10);
b[172] = *(a13 + 10);
b[173] = *(a14 + 10);
b[174] = *(a15 + 10);
b[175] = *(a16 + 10);
b[176] = ZERO;
b[177] = ZERO;
b[178] = ZERO;
b[179] = ZERO;
b[180] = ZERO;
b[181] = ZERO;
b[182] = ZERO;
b[183] = ZERO;
b[184] = ZERO;
b[185] = ZERO;
b[186] = ZERO;
#ifdef UNIT
b[187] = ONE;
#else
b[187] = *(a12 + 11);
#endif
b[188] = *(a13 + 11);
b[189] = *(a14 + 11);
b[190] = *(a15 + 11);
b[191] = *(a16 + 11);
b[192] = ZERO;
b[193] = ZERO;
b[194] = ZERO;
b[195] = ZERO;
b[196] = ZERO;
b[197] = ZERO;
b[198] = ZERO;
b[199] = ZERO;
b[200] = ZERO;
b[201] = ZERO;
b[202] = ZERO;
b[203] = ZERO;
#ifdef UNIT
b[204] = ONE;
#else
b[204] = *(a13 + 12);
#endif
b[205] = *(a14 + 12);
b[206] = *(a15 + 12);
b[207] = *(a16 + 12);
b[208] = ZERO;
b[209] = ZERO;
b[210] = ZERO;
b[211] = ZERO;
b[212] = ZERO;
b[213] = ZERO;
b[214] = ZERO;
b[215] = ZERO;
b[216] = ZERO;
b[217] = ZERO;
b[218] = ZERO;
b[219] = ZERO;
b[220] = ZERO;
#ifdef UNIT
b[221] = ONE;
#else
b[221] = *(a14 + 13);
#endif
b[222] = *(a15 + 13);
b[223] = *(a16 + 13);
b[224] = ZERO;
b[225] = ZERO;
b[226] = ZERO;
b[227] = ZERO;
b[228] = ZERO;
b[229] = ZERO;
b[230] = ZERO;
b[231] = ZERO;
b[232] = ZERO;
b[233] = ZERO;
b[234] = ZERO;
b[235] = ZERO;
b[236] = ZERO;
b[237] = ZERO;
#ifdef UNIT
b[238] = ONE;
#else
b[238] = *(a15 + 14);
#endif
b[239] = *(a16 + 14);
b[240] = ZERO;
b[241] = ZERO;
b[242] = ZERO;
b[243] = ZERO;
b[244] = ZERO;
b[245] = ZERO;
b[246] = ZERO;
b[247] = ZERO;
b[248] = ZERO;
b[249] = ZERO;
b[250] = ZERO;
b[251] = ZERO;
b[252] = ZERO;
b[253] = ZERO;
b[254] = ZERO;
#ifdef UNIT
b[255] = ONE;
#else
b[255] = *(a16 + 15);
#endif
a01 += 16 * lda;
a02 += 16 * lda;
a03 += 16 * lda;
a04 += 16 * lda;
a05 += 16 * lda;
a06 += 16 * lda;
a07 += 16 * lda;
a08 += 16 * lda;
a09 += 16 * lda;
a10 += 16 * lda;
a11 += 16 * lda;
a12 += 16 * lda;
a13 += 16 * lda;
a14 += 16 * lda;
a15 += 16 * lda;
a16 += 16 * lda;
b += 256;
}
X += 16;
i --;
} while (i > 0);
}
i = (m & 15);
if (i) {
if (X < posY) {
for (ii = 0; ii < i; ii++){
b[ 0] = *(a01 + 0);
b[ 1] = *(a02 + 0);
b[ 2] = *(a03 + 0);
b[ 3] = *(a04 + 0);
b[ 4] = *(a05 + 0);
b[ 5] = *(a06 + 0);
b[ 6] = *(a07 + 0);
b[ 7] = *(a08 + 0);
b[ 8] = *(a09 + 0);
b[ 9] = *(a10 + 0);
b[ 10] = *(a11 + 0);
b[ 11] = *(a12 + 0);
b[ 12] = *(a13 + 0);
b[ 13] = *(a14 + 0);
b[ 14] = *(a15 + 0);
b[ 15] = *(a16 + 0);
a01 ++;
a02 ++;
a03 ++;
a04 ++;
a05 ++;
a06 ++;
a07 ++;
a08 ++;
a09 ++;
a10 ++;
a11 ++;
a12 ++;
a13 ++;
a14 ++;
a15 ++;
a16 ++;
b += 16;
}
} else
if (X > posY) {
a01 += i * lda;
a02 += i * lda;
a03 += i * lda;
a04 += i * lda;
a05 += i * lda;
a06 += i * lda;
a07 += i * lda;
a08 += i * lda;
a09 += i * lda;
a10 += i * lda;
a11 += i * lda;
a12 += i * lda;
a13 += i * lda;
a14 += i * lda;
a15 += i * lda;
a16 += i * lda;
b += 16 * i;
} else {
#ifdef UNIT
b[ 0] = ONE;
#else
b[ 0] = *(a01 + 0);
#endif
b[ 1] = *(a02 + 0);
b[ 2] = *(a03 + 0);
b[ 3] = *(a04 + 0);
b[ 4] = *(a05 + 0);
b[ 5] = *(a06 + 0);
b[ 6] = *(a07 + 0);
b[ 7] = *(a08 + 0);
b[ 8] = *(a09 + 0);
b[ 9] = *(a10 + 0);
b[ 10] = *(a11 + 0);
b[ 11] = *(a12 + 0);
b[ 12] = *(a13 + 0);
b[ 13] = *(a14 + 0);
b[ 14] = *(a15 + 0);
b[ 15] = *(a16 + 0);
b += 16;
if (i >= 2) {
b[ 0] = ZERO;
#ifdef UNIT
b[ 1] = ONE;
#else
b[ 1] = *(a02 + 1);
#endif
b[ 2] = *(a03 + 1);
b[ 3] = *(a04 + 1);
b[ 4] = *(a05 + 1);
b[ 5] = *(a06 + 1);
b[ 6] = *(a07 + 1);
b[ 7] = *(a08 + 1);
b[ 8] = *(a09 + 1);
b[ 9] = *(a10 + 1);
b[ 10] = *(a11 + 1);
b[ 11] = *(a12 + 1);
b[ 12] = *(a13 + 1);
b[ 13] = *(a14 + 1);
b[ 14] = *(a15 + 1);
b[ 15] = *(a16 + 1);
b += 16;
}
if (i >= 3) {
b[ 0] = ZERO;
b[ 1] = ZERO;
#ifdef UNIT
b[ 2] = ONE;
#else
b[ 2] = *(a03 + 2);
#endif
b[ 3] = *(a04 + 2);
b[ 4] = *(a05 + 2);
b[ 5] = *(a06 + 2);
b[ 6] = *(a07 + 2);
b[ 7] = *(a08 + 2);
b[ 8] = *(a09 + 2);
b[ 9] = *(a10 + 2);
b[ 10] = *(a11 + 2);
b[ 11] = *(a12 + 2);
b[ 12] = *(a13 + 2);
b[ 13] = *(a14 + 2);
b[ 14] = *(a15 + 2);
b[ 15] = *(a16 + 2);
b += 16;
}
if (i >= 4) {
b[ 0] = ZERO;
b[ 1] = ZERO;
b[ 2] = ZERO;
#ifdef UNIT
b[ 3] = ONE;
#else
b[ 3] = *(a04 + 3);
#endif
b[ 4] = *(a05 + 3);
b[ 5] = *(a06 + 3);
b[ 6] = *(a07 + 3);
b[ 7] = *(a08 + 3);
b[ 8] = *(a09 + 3);
b[ 9] = *(a10 + 3);
b[ 10] = *(a11 + 3);
b[ 11] = *(a12 + 3);
b[ 12] = *(a13 + 3);
b[ 13] = *(a14 + 3);
b[ 14] = *(a15 + 3);
b[ 15] = *(a16 + 3);
b += 16;
}
if (i >= 5) {
b[ 0] = ZERO;
b[ 1] = ZERO;
b[ 2] = ZERO;
b[ 3] = ZERO;
#ifdef UNIT
b[ 4] = ONE;
#else
b[ 4] = *(a05 + 4);
#endif
b[ 5] = *(a06 + 4);
b[ 6] = *(a07 + 4);
b[ 7] = *(a08 + 4);
b[ 8] = *(a09 + 4);
b[ 9] = *(a10 + 4);
b[ 10] = *(a11 + 4);
b[ 11] = *(a12 + 4);
b[ 12] = *(a13 + 4);
b[ 13] = *(a14 + 4);
b[ 14] = *(a15 + 4);
b[ 15] = *(a16 + 4);
b += 16;
}
if (i >= 6) {
b[ 0] = ZERO;
b[ 1] = ZERO;
b[ 2] = ZERO;
b[ 3] = ZERO;
b[ 4] = ZERO;
#ifdef UNIT
b[ 5] = ONE;
#else
b[ 5] = *(a06 + 5);
#endif
b[ 6] = *(a07 + 5);
b[ 7] = *(a08 + 5);
b[ 8] = *(a09 + 5);
b[ 9] = *(a10 + 5);
b[ 10] = *(a11 + 5);
b[ 11] = *(a12 + 5);
b[ 12] = *(a13 + 5);
b[ 13] = *(a14 + 5);
b[ 14] = *(a15 + 5);
b[ 15] = *(a16 + 5);
b += 16;
}
if (i >= 7) {
b[ 0] = ZERO;
b[ 1] = ZERO;
b[ 2] = ZERO;
b[ 3] = ZERO;
b[ 4] = ZERO;
b[ 5] = ZERO;
#ifdef UNIT
b[ 6] = ONE;
#else
b[ 6] = *(a07 + 6);
#endif
b[ 7] = *(a08 + 6);
b[ 8] = *(a09 + 6);
b[ 9] = *(a10 + 6);
b[ 10] = *(a11 + 6);
b[ 11] = *(a12 + 6);
b[ 12] = *(a13 + 6);
b[ 13] = *(a14 + 6);
b[ 14] = *(a15 + 6);
b[ 15] = *(a16 + 6);
b += 16;
}
if (i >= 8) {
b[ 0] = ZERO;
b[ 1] = ZERO;
b[ 2] = ZERO;
b[ 3] = ZERO;
b[ 4] = ZERO;
b[ 5] = ZERO;
b[ 6] = ZERO;
#ifdef UNIT
b[ 7] = ONE;
#else
b[ 7] = *(a08 + 7);
#endif
b[ 8] = *(a09 + 7);
b[ 9] = *(a10 + 7);
b[ 10] = *(a11 + 7);
b[ 11] = *(a12 + 7);
b[ 12] = *(a13 + 7);
b[ 13] = *(a14 + 7);
b[ 14] = *(a15 + 7);
b[ 15] = *(a16 + 7);
b += 16;
}
if (i >= 9) {
b[ 0] = ZERO;
b[ 1] = ZERO;
b[ 2] = ZERO;
b[ 3] = ZERO;
b[ 4] = ZERO;
b[ 5] = ZERO;
b[ 6] = ZERO;
b[ 7] = ZERO;
#ifdef UNIT
b[ 8] = ONE;
#else
b[ 8] = *(a09 + 8);
#endif
b[ 9] = *(a10 + 8);
b[ 10] = *(a11 + 8);
b[ 11] = *(a12 + 8);
b[ 12] = *(a13 + 8);
b[ 13] = *(a14 + 8);
b[ 14] = *(a15 + 8);
b[ 15] = *(a16 + 8);
b += 16;
}
if (i >= 10) {
b[ 0] = ZERO;
b[ 1] = ZERO;
b[ 2] = ZERO;
b[ 3] = ZERO;
b[ 4] = ZERO;
b[ 5] = ZERO;
b[ 6] = ZERO;
b[ 7] = ZERO;
b[ 8] = ZERO;
#ifdef UNIT
b[ 9] = ONE;
#else
b[ 9] = *(a10 + 9);
#endif
b[ 10] = *(a11 + 9);
b[ 11] = *(a12 + 9);
b[ 12] = *(a13 + 9);
b[ 13] = *(a14 + 9);
b[ 14] = *(a15 + 9);
b[ 15] = *(a16 + 9);
b += 16;
}
if (i >= 11) {
b[ 0] = ZERO;
b[ 1] = ZERO;
b[ 2] = ZERO;
b[ 3] = ZERO;
b[ 4] = ZERO;
b[ 5] = ZERO;
b[ 6] = ZERO;
b[ 7] = ZERO;
b[ 8] = ZERO;
b[ 9] = ZERO;
#ifdef UNIT
b[ 10] = ONE;
#else
b[ 10] = *(a11 + 10);
#endif
b[ 11] = *(a12 + 10);
b[ 12] = *(a13 + 10);
b[ 13] = *(a14 + 10);
b[ 14] = *(a15 + 10);
b[ 15] = *(a16 + 10);
b += 16;
}
if (i >= 12) {
b[ 0] = ZERO;
b[ 1] = ZERO;
b[ 2] = ZERO;
b[ 3] = ZERO;
b[ 4] = ZERO;
b[ 5] = ZERO;
b[ 6] = ZERO;
b[ 7] = ZERO;
b[ 8] = ZERO;
b[ 9] = ZERO;
b[ 10] = ZERO;
#ifdef UNIT
b[ 11] = ONE;
#else
b[ 11] = *(a12 + 11);
#endif
b[ 12] = *(a13 + 11);
b[ 13] = *(a14 + 11);
b[ 14] = *(a15 + 11);
b[ 15] = *(a16 + 11);
b += 16;
}
if (i >= 13) {
b[ 0] = ZERO;
b[ 1] = ZERO;
b[ 2] = ZERO;
b[ 3] = ZERO;
b[ 4] = ZERO;
b[ 5] = ZERO;
b[ 6] = ZERO;
b[ 7] = ZERO;
b[ 8] = ZERO;
b[ 9] = ZERO;
b[ 10] = ZERO;
b[ 11] = ZERO;
#ifdef UNIT
b[ 12] = ONE;
#else
b[ 12] = *(a13 + 12);
#endif
b[ 13] = *(a14 + 12);
b[ 14] = *(a15 + 12);
b[ 15] = *(a16 + 12);
b += 16;
}
if (i >= 14) {
b[ 0] = ZERO;
b[ 1] = ZERO;
b[ 2] = ZERO;
b[ 3] = ZERO;
b[ 4] = ZERO;
b[ 5] = ZERO;
b[ 6] = ZERO;
b[ 7] = ZERO;
b[ 8] = ZERO;
b[ 9] = ZERO;
b[ 10] = ZERO;
b[ 11] = ZERO;
b[ 12] = ZERO;
#ifdef UNIT
b[ 13] = ONE;
#else
b[ 13] = *(a14 + 13);
#endif
b[ 14] = *(a15 + 13);
b[ 15] = *(a16 + 13);
b += 16;
}
if (i >= 15) {
b[ 0] = ZERO;
b[ 1] = ZERO;
b[ 2] = ZERO;
b[ 3] = ZERO;
b[ 4] = ZERO;
b[ 5] = ZERO;
b[ 6] = ZERO;
b[ 7] = ZERO;
b[ 8] = ZERO;
b[ 9] = ZERO;
b[ 10] = ZERO;
b[ 11] = ZERO;
b[ 12] = ZERO;
b[ 13] = ZERO;
#ifdef UNIT
b[ 14] = ONE;
#else
b[ 14] = *(a15 + 14);
#endif
b[ 15] = *(a16 + 14);
b += 16;
}
}
}
posY += 16;
js --;
} while (js > 0);
} /* End of main loop */
if (n & 8){
X = posX;
if (posX <= posY) {
a01 = a + posX + (posY + 0) * lda;
a02 = a + posX + (posY + 1) * lda;
a03 = a + posX + (posY + 2) * lda;
a04 = a + posX + (posY + 3) * lda;
a05 = a + posX + (posY + 4) * lda;
a06 = a + posX + (posY + 5) * lda;
a07 = a + posX + (posY + 6) * lda;
a08 = a + posX + (posY + 7) * lda;
} else {
a01 = a + posY + (posX + 0) * lda;
a02 = a + posY + (posX + 1) * lda;
a03 = a + posY + (posX + 2) * lda;
a04 = a + posY + (posX + 3) * lda;
a05 = a + posY + (posX + 4) * lda;
a06 = a + posY + (posX + 5) * lda;
a07 = a + posY + (posX + 6) * lda;
a08 = a + posY + (posX + 7) * lda;
}
i = (m >> 3);
if (i > 0) {
do {
if (X < posY) {
for (ii = 0; ii < 8; ii++){
b[ 0] = *(a01 + 0);
b[ 1] = *(a02 + 0);
b[ 2] = *(a03 + 0);
b[ 3] = *(a04 + 0);
b[ 4] = *(a05 + 0);
b[ 5] = *(a06 + 0);
b[ 6] = *(a07 + 0);
b[ 7] = *(a08 + 0);
a01 ++;
a02 ++;
a03 ++;
a04 ++;
a05 ++;
a06 ++;
a07 ++;
a08 ++;
b += 8;
}
} else
if (X > posY) {
a01 += 8 * lda;
a02 += 8 * lda;
a03 += 8 * lda;
a04 += 8 * lda;
a05 += 8 * lda;
a06 += 8 * lda;
a07 += 8 * lda;
a08 += 8 * lda;
b += 64;
} else {
#ifdef UNIT
b[ 0] = ONE;
#else
b[ 0] = *(a01 + 0);
#endif
b[ 1] = *(a02 + 0);
b[ 2] = *(a03 + 0);
b[ 3] = *(a04 + 0);
b[ 4] = *(a05 + 0);
b[ 5] = *(a06 + 0);
b[ 6] = *(a07 + 0);
b[ 7] = *(a08 + 0);
b[ 8] = ZERO;
#ifdef UNIT
b[ 9] = ONE;
#else
b[ 9] = *(a02 + 1);
#endif
b[ 10] = *(a03 + 1);
b[ 11] = *(a04 + 1);
b[ 12] = *(a05 + 1);
b[ 13] = *(a06 + 1);
b[ 14] = *(a07 + 1);
b[ 15] = *(a08 + 1);
b[ 16] = ZERO;
b[ 17] = ZERO;
#ifdef UNIT
b[ 18] = ONE;
#else
b[ 18] = *(a03 + 2);
#endif
b[ 19] = *(a04 + 2);
b[ 20] = *(a05 + 2);
b[ 21] = *(a06 + 2);
b[ 22] = *(a07 + 2);
b[ 23] = *(a08 + 2);
b[ 24] = ZERO;
b[ 25] = ZERO;
b[ 26] = ZERO;
#ifdef UNIT
b[ 27] = ONE;
#else
b[ 27] = *(a04 + 3);
#endif
b[ 28] = *(a05 + 3);
b[ 29] = *(a06 + 3);
b[ 30] = *(a07 + 3);
b[ 31] = *(a08 + 3);
b[ 32] = ZERO;
b[ 33] = ZERO;
b[ 34] = ZERO;
b[ 35] = ZERO;
#ifdef UNIT
b[ 36] = ONE;
#else
b[ 36] = *(a05 + 4);
#endif
b[ 37] = *(a06 + 4);
b[ 38] = *(a07 + 4);
b[ 39] = *(a08 + 4);
b[ 40] = ZERO;
b[ 41] = ZERO;
b[ 42] = ZERO;
b[ 43] = ZERO;
b[ 44] = ZERO;
#ifdef UNIT
b[ 45] = ONE;
#else
b[ 45] = *(a06 + 5);
#endif
b[ 46] = *(a07 + 5);
b[ 47] = *(a08 + 5);
b[ 48] = ZERO;
b[ 49] = ZERO;
b[ 50] = ZERO;
b[ 51] = ZERO;
b[ 52] = ZERO;
b[ 53] = ZERO;
#ifdef UNIT
b[ 54] = ONE;
#else
b[ 54] = *(a07 + 6);
#endif
b[ 55] = *(a08 + 6);
b[ 56] = ZERO;
b[ 57] = ZERO;
b[ 58] = ZERO;
b[ 59] = ZERO;
b[ 60] = ZERO;
b[ 61] = ZERO;
b[ 62] = ZERO;
#ifdef UNIT
b[ 63] = ONE;
#else
b[ 63] = *(a08 + 7);
#endif
a01 += 8 * lda;
a02 += 8 * lda;
a03 += 8 * lda;
a04 += 8 * lda;
a05 += 8 * lda;
a06 += 8 * lda;
a07 += 8 * lda;
a08 += 8 * lda;
b += 64;
}
X += 8;
i --;
} while (i > 0);
}
i = (m & 7);
if (i) {
if (X < posY) {
for (ii = 0; ii < i; ii++){
b[ 0] = *(a01 + 0);
b[ 1] = *(a02 + 0);
b[ 2] = *(a03 + 0);
b[ 3] = *(a04 + 0);
b[ 4] = *(a05 + 0);
b[ 5] = *(a06 + 0);
b[ 6] = *(a07 + 0);
b[ 7] = *(a08 + 0);
a01 ++;
a02 ++;
a03 ++;
a04 ++;
a05 ++;
a06 ++;
a07 ++;
a08 ++;
b += 8;
}
} else
if (X > posY) {
a01 += i * lda;
a02 += i * lda;
a03 += i * lda;
a04 += i * lda;
a05 += i * lda;
a06 += i * lda;
a07 += i * lda;
a08 += i * lda;
b += 8 * i;
} else {
#ifdef UNIT
b[ 0] = ONE;
#else
b[ 0] = *(a01 + 0);
#endif
b[ 1] = *(a02 + 0);
b[ 2] = *(a03 + 0);
b[ 3] = *(a04 + 0);
b[ 4] = *(a05 + 0);
b[ 5] = *(a06 + 0);
b[ 6] = *(a07 + 0);
b[ 7] = *(a08 + 0);
b += 8;
if (i >= 2) {
b[ 0] = ZERO;
#ifdef UNIT
b[ 1] = ONE;
#else
b[ 1] = *(a02 + 1);
#endif
b[ 2] = *(a03 + 1);
b[ 3] = *(a04 + 1);
b[ 4] = *(a05 + 1);
b[ 5] = *(a06 + 1);
b[ 6] = *(a07 + 1);
b[ 7] = *(a08 + 1);
b += 8;
}
if (i >= 3) {
b[ 0] = ZERO;
b[ 1] = ZERO;
#ifdef UNIT
b[ 2] = ONE;
#else
b[ 2] = *(a03 + 2);
#endif
b[ 3] = *(a04 + 2);
b[ 4] = *(a05 + 2);
b[ 5] = *(a06 + 2);
b[ 6] = *(a07 + 2);
b[ 7] = *(a08 + 2);
b += 8;
}
if (i >= 4) {
b[ 0] = ZERO;
b[ 1] = ZERO;
b[ 2] = ZERO;
#ifdef UNIT
b[ 3] = ONE;
#else
b[ 3] = *(a04 + 3);
#endif
b[ 4] = *(a05 + 3);
b[ 5] = *(a06 + 3);
b[ 6] = *(a07 + 3);
b[ 7] = *(a08 + 3);
b += 8;
}
if (i >= 5) {
b[ 0] = ZERO;
b[ 1] = ZERO;
b[ 2] = ZERO;
b[ 3] = ZERO;
#ifdef UNIT
b[ 4] = ONE;
#else
b[ 4] = *(a05 + 4);
#endif
b[ 5] = *(a06 + 4);
b[ 6] = *(a07 + 4);
b[ 7] = *(a08 + 4);
b += 8;
}
if (i >= 6) {
b[ 0] = ZERO;
b[ 1] = ZERO;
b[ 2] = ZERO;
b[ 3] = ZERO;
b[ 4] = ZERO;
#ifdef UNIT
b[ 5] = ONE;
#else
b[ 5] = *(a06 + 5);
#endif
b[ 6] = *(a07 + 5);
b[ 7] = *(a08 + 5);
b += 8;
}
if (i >= 7) {
b[ 0] = ZERO;
b[ 1] = ZERO;
b[ 2] = ZERO;
b[ 3] = ZERO;
b[ 4] = ZERO;
b[ 5] = ZERO;
#ifdef UNIT
b[ 6] = ONE;
#else
b[ 6] = *(a07 + 6);
#endif
b[ 7] = *(a08 + 6);
b += 8;
}
}
}
posY += 8;
}
if (n & 4){
X = posX;
if (posX <= posY) {
a01 = a + posX + (posY + 0) * lda;
a02 = a + posX + (posY + 1) * lda;
a03 = a + posX + (posY + 2) * lda;
a04 = a + posX + (posY + 3) * lda;
} else {
a01 = a + posY + (posX + 0) * lda;
a02 = a + posY + (posX + 1) * lda;
a03 = a + posY + (posX + 2) * lda;
a04 = a + posY + (posX + 3) * lda;
}
i = (m >> 2);
if (i > 0) {
do {
if (X < posY) {
for (ii = 0; ii < 4; ii++){
b[ 0] = *(a01 + 0);
b[ 1] = *(a02 + 0);
b[ 2] = *(a03 + 0);
b[ 3] = *(a04 + 0);
a01 ++;
a02 ++;
a03 ++;
a04 ++;
b += 4;
}
} else
if (X > posY) {
a01 += 4 * lda;
a02 += 4 * lda;
a03 += 4 * lda;
a04 += 4 * lda;
b += 16;
} else {
#ifdef UNIT
b[ 0] = ONE;
#else
b[ 0] = *(a01 + 0);
#endif
b[ 1] = *(a02 + 0);
b[ 2] = *(a03 + 0);
b[ 3] = *(a04 + 0);
b[ 4] = ZERO;
#ifdef UNIT
b[ 5] = ONE;
#else
b[ 5] = *(a02 + 1);
#endif
b[ 6] = *(a03 + 1);
b[ 7] = *(a04 + 1);
b[ 8] = ZERO;
b[ 9] = ZERO;
#ifdef UNIT
b[ 10] = ONE;
#else
b[ 10] = *(a03 + 2);
#endif
b[ 11] = *(a04 + 2);
b[ 12] = ZERO;
b[ 13] = ZERO;
b[ 14] = ZERO;
#ifdef UNIT
b[ 15] = ONE;
#else
b[ 15] = *(a04 + 3);
#endif
a01 += 4 * lda;
a02 += 4 * lda;
a03 += 4 * lda;
a04 += 4 * lda;
b += 16;
}
X += 4;
i --;
} while (i > 0);
}
i = (m & 3);
if (i) {
if (X < posY) {
for (ii = 0; ii < i; ii++){
b[ 0] = *(a01 + 0);
b[ 1] = *(a02 + 0);
b[ 2] = *(a03 + 0);
b[ 3] = *(a04 + 0);
a01 ++;
a02 ++;
a03 ++;
a04 ++;
b += 4;
}
} else
if (X > posY) {
a01 += i * lda;
a02 += i * lda;
a03 += i * lda;
a04 += i * lda;
b += 4 * i;
} else {
#ifdef UNIT
b[ 0] = ONE;
#else
b[ 0] = *(a01 + 0);
#endif
b[ 1] = *(a02 + 0);
b[ 2] = *(a03 + 0);
b[ 3] = *(a04 + 0);
b += 4;
if (i >= 2) {
b[ 0] = ZERO;
#ifdef UNIT
b[ 1] = ONE;
#else
b[ 1] = *(a02 + 1);
#endif
b[ 2] = *(a03 + 1);
b[ 3] = *(a04 + 1);
b += 4;
}
if (i >= 3) {
b[ 0] = ZERO;
b[ 1] = ZERO;
#ifdef UNIT
b[ 2] = ONE;
#else
b[ 2] = *(a03 + 2);
#endif
b[ 3] = *(a04 + 2);
b += 4;
}
}
}
posY += 4;
}
if (n & 2){
X = posX;
if (posX <= posY) {
a01 = a + posX + (posY + 0) * lda;
a02 = a + posX + (posY + 1) * lda;
} else {
a01 = a + posY + (posX + 0) * lda;
a02 = a + posY + (posX + 1) * lda;
}
i = (m >> 1);
if (i > 0) {
do {
if (X < posY) {
b[ 0] = *(a01 + 0);
b[ 1] = *(a02 + 0);
b[ 2] = *(a01 + 1);
b[ 3] = *(a02 + 1);
a01 += 2;
a02 += 2;
b += 4;
} else
if (X > posY) {
a01 += 2 * lda;
a02 += 2 * lda;
b += 4;
} else {
#ifdef UNIT
b[ 0] = ONE;
#else
b[ 0] = *(a01 + 0);
#endif
b[ 1] = *(a02 + 0);
b[ 2] = ZERO;
#ifdef UNIT
b[ 3] = ONE;
#else
b[ 3] = *(a02 + 1);
#endif
a01 += 2 * lda;
a02 += 2 * lda;
b += 4;
}
X += 2;
i --;
} while (i > 0);
}
if (m & 1) {
if (X < posY) {
b[ 0] = *(a01 + 0);
b[ 1] = *(a02 + 0);
a01 ++;
a02 ++;
b += 2;
} else
if (X > posY) {
a01 += lda;
a02 += lda;
b += 2;
} else {
#ifdef UNIT
b[ 0] = ONE;
#else
b[ 0] = *(a01 + 0);
#endif
b[ 1] = *(a02 + 0);
b += 2;
}
}
posY += 2;
}
if (n & 1){
X = posX;
if (posX <= posY) {
a01 = a + posX + (posY + 0) * lda;
} else {
a01 = a + posY + (posX + 0) * lda;
}
i = m;
if (m > 0) {
do {
if (X < posY) {
b[ 0] = *(a01 + 0);
a01 += 1;
b += 1;
} else
if (X > posY) {
a01 += lda;
b += 1;
} else {
#ifdef UNIT
b[ 0] = ONE;
#else
b[ 0] = *(a01 + 0);
#endif
b += 1;
}
X += 1;
i --;
} while (i > 0);
}
}
return 0;
}
```
|
```javascript
/**
* @license Apache-2.0
*
*
*
* 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.
*/
'use strict';
// MODULES //
var tape = require( 'tape' );
var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
var Float32Array = require( '@stdlib/array/float32' );
var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' );
var sasumpw = require( './../lib/sasumpw.js' );
// TESTS //
tape( 'main export is a function', function test( t ) {
t.ok( true, __filename );
t.strictEqual( typeof sasumpw, 'function', 'main export is a function' );
t.end();
});
tape( 'the function has an arity of 3', function test( t ) {
t.strictEqual( sasumpw.length, 3, 'returns expected value' );
t.end();
});
tape( 'the function calculates the sum of absolute values', function test( t ) {
var x;
var v;
var i;
x = new Float32Array( [ 1.0, -2.0, -4.0, 5.0, 0.0, 3.0, 0.0, -3.0, 3.0 ] );
v = sasumpw( x.length, x, 1 );
t.strictEqual( v, 21.0, 'returns expected value' );
x = new Float32Array( [ 1.0, -2.0, -4.0, 5.0, 0.0, 3.0 ] );
v = sasumpw( x.length, x, 1 );
t.strictEqual( v, 15.0, 'returns expected value' );
x = new Float32Array( [ -4.0, -4.0 ] );
v = sasumpw( x.length, x, 1 );
t.strictEqual( v, 8.0, 'returns expected value' );
x = new Float32Array( [ NaN, 4.0 ] );
v = sasumpw( x.length, x, 1 );
t.strictEqual( isnanf( v ), true, 'returns expected value' );
x = new Float32Array( [ 1.0, 1.0e38, 1.0, -1.0e38 ] );
v = sasumpw( x.length, x, 1 );
t.strictEqual( v, float64ToFloat32( 2.0e38 ), 'returns expected value' );
x = new Float32Array( 1e3 );
for ( i = 0; i < 1e3; i++ ) {
x[ i ] = i + 1;
}
v = sasumpw( x.length, x, 1 );
t.strictEqual( v, 500500.0, 'returns expected value' );
t.end();
});
tape( 'if provided an `N` parameter less than or equal to `0`, the function returns `0.0`', function test( t ) {
var x;
var v;
x = new Float32Array( [ 1.0, -2.0, -4.0, 5.0, 3.0 ] );
v = sasumpw( 0, x, 1 );
t.strictEqual( v, 0.0, 'returns expected value' );
v = sasumpw( -1, x, 1 );
t.strictEqual( v, 0.0, 'returns expected value' );
t.end();
});
tape( 'if provided an `N` parameter equal to `1`, the function returns the first element', function test( t ) {
var x;
var v;
x = new Float32Array( [ 1.0, -2.0, -4.0, 5.0, 3.0 ] );
v = sasumpw( 1, x, 1 );
t.strictEqual( v, 1.0, 'returns expected value' );
t.end();
});
tape( 'the function supports a `stride` parameter', function test( t ) {
var x;
var v;
x = new Float32Array([
1.0, // 0
2.0,
2.0, // 1
-7.0,
-2.0, // 2
3.0,
4.0, // 3
2.0
]);
v = sasumpw( 4, x, 2 );
t.strictEqual( v, 9.0, 'returns expected value' );
t.end();
});
tape( 'the function supports a negative `stride` parameter', function test( t ) {
var x;
var v;
var i;
x = new Float32Array([
1.0, // 3
2.0,
2.0, // 2
-7.0,
-2.0, // 1
3.0,
4.0, // 0
2.0
]);
v = sasumpw( 4, x, -2 );
t.strictEqual( v, 9.0, 'returns expected value' );
x = new Float32Array( 1e3 );
for ( i = 0; i < 1e3; i++ ) {
x[ i ] = i + 1;
}
v = sasumpw( x.length, x, -1 );
t.strictEqual( v, 500500.0, 'returns expected value' );
t.end();
});
tape( 'if provided a `stride` parameter equal to `0`, the function returns the first element', function test( t ) {
var x;
var v;
x = new Float32Array( [ 1.0, -2.0, -4.0, 5.0, 3.0 ] );
v = sasumpw( x.length, x, 0 );
t.strictEqual( v, 1.0, 'returns expected value' );
t.end();
});
tape( 'the function supports view offsets', function test( t ) {
var x0;
var x1;
var v;
x0 = new Float32Array([
2.0,
1.0, // 0
2.0,
-2.0, // 1
-2.0,
2.0, // 2
3.0,
4.0, // 3
6.0
]);
x1 = new Float32Array( x0.buffer, x0.BYTES_PER_ELEMENT*1 ); // start at 2nd element
v = sasumpw( 4, x1, 2 );
t.strictEqual( v, 9.0, 'returns expected value' );
t.end();
});
```
|
Czaple is a settlement in the administrative district of Gmina Lipnica, within Bytów County, Pomeranian Voivodeship, in northern Poland. It lies approximately south-west of Lipnica, south-west of Bytów, and south-west of the regional capital Gdańsk.
For details of the history of the region, see History of Pomerania.
References
Villages in Bytów County
|
```java
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package me.zhanghai.android.douya.functional.throwing;
import java.util.Objects;
import me.zhanghai.android.douya.functional.FunctionalException;
import me.zhanghai.android.douya.functional.compat.BiFunction;
/**
* Represents a function that accepts two arguments and produces a result.
* This is the two-arity specialization of {@link ThrowingFunction}.
*
* <p>This is a <a href="package-summary.html">functional interface</a>
* whose functional method is {@link #apply(Object, Object)}.
*
* @param <T> the type of the first argument to the function
* @param <U> the type of the second argument to the function
* @param <R> the type of the result of the function
*
* @see ThrowingFunction
* @since 1.8
*/
@FunctionalInterface
public interface ThrowingBiFunction<T, U, R> extends BiFunction<T, U, R> {
/**
* Applies this function to the given arguments.
*
* @param t the first function argument
* @param u the second function argument
* @return the function result
*/
R applyThrows(T t, U u) throws Exception;
/**
* Applies this function to the given arguments.
*
* @param t the first function argument
* @param u the second function argument
* @return the function result
*/
default R apply(T t, U u) {
try {
return applyThrows(t, u);
} catch (Exception e) {
throw new FunctionalException(e);
}
}
/**
* Returns a composed function that first applies this function to
* its input, and then applies the {@code after} function to the result.
* If evaluation of either function throws an exception, it is relayed to
* the caller of the composed function.
*
* @param <V> the type of output of the {@code after} function, and of the
* composed function
* @param after the function to apply after this function is applied
* @return a composed function that first applies this function and then
* applies the {@code after} function
* @throws NullPointerException if after is null
*/
default <V> ThrowingBiFunction<T, U, V> andThen(ThrowingFunction<? super R, ? extends V> after) {
Objects.requireNonNull(after);
return (T t, U u) -> after.applyThrows(applyThrows(t, u));
}
}
```
|
The 1936 Cleveland Indians season was a season in American baseball. The team finished fifth in the American League with a record of 80–74, 22½ games behind the New York Yankees.
Regular season
Season standings
Record vs. opponents
Roster
Player stats
Batting
Starters by position
Note: Pos = Position; G = Games played; AB = At bats; H = Hits; Avg. = Batting average; HR = Home runs; RBI = Runs batted in
Other batters
Note: G = Games played; AB = At bats; H = Hits; Avg. = Batting average; HR = Home runs; RBI = Runs batted in
Pitching
Starting pitchers
Note: G = Games pitched; IP = Innings pitched; W = Wins; L = Losses; ERA = Earned run average; SO = Strikeouts
Other pitchers
Note: G = Games pitched; IP = Innings pitched; W = Wins; L = Losses; ERA = Earned run average; SO = Strikeouts
Relief pitchers
Note: G = Games pitched; W = Wins; L = Losses; SV = Saves; ERA = Earned run average; SO = Strikeouts
Awards and honors
All Star Game
Earl Averill, outfielder (starter)
Mel Harder, pitcher
Farm system
LEAGUE CHAMPIONS: Zanesville
References
External links
1936 Cleveland Indians season at Baseball Reference
Cleveland Indians seasons
Cleveland Indians season
Cleveland Indians
|
Sayyid Sibghatullah Shah Al-Rashidi II (), Pir Pagaro the sixth, was a spiritual leader of the Hurs during the Indian independence movement. Hur (Arabic: حر meaning "free", "not slave") is a Sufi Muslim community in the province of Sindh (located in what is now Pakistan). Sayyid Sibghatullah Shah Al-Rashidi was a champion of Hindu-Muslim unity, initially supporting the Indian National Congress and then the All India Forward Bloc.
Soreh Badshah (شهيد سورهيه بادشاهه) (the Victorious King or the great king) was the title given him by his Followers. He was hanged by the British colonial government on 20 March 1943 in the Central Jail Hyderabad, Sind. His burial place remains unknown, despite requests to the government from people living in Sindh.
Indian independence movement
Sayyid Sibghatullah Shah Al-Rashidi was a close friend of Subhas Chandra Bose and "In the original plan presented to the Axis Powers by Netaji, Pir of Pagaro and Faqir of Ipi were to be armed to liberate India." The Pir of Pagaro preached Hindu-Muslim unity and was a "fierce opponent" of communal politics. To this end, he declared that “only when Hindus and Muslims combined would 'peace . . . be achieved and satanic deeds . . . stopped': Indians had to be 'national minded' and regard India as a country which belonged to all its inhabitants.” When Subhas Chandra Bose was the president of the Indian National Congress, Sayyid Sibghatullah Shah Al-Rashidi "started inviting Congress leadership to his area and organise Hindu-Muslim unity meetings." After the formation of the All India Forward Bloc, the Pir of Pagaro backed this organization. The historian Sarah Ansari wrote:
During the falsified Manzilgah Controversy, the Pir of Pagaro ordered his armed followers, known as ghazis, to save Hindus during the communal rioting.
According to Faqeer Ghulam Shah Laghari (Chowki Shahdadpur), the Hur movement began with Sibghtullah Shah Badshah I [1779-1831]. It reached its peak in the time of Sibghtullah Shah Shaheed Suraih Badshah when the Hurs became militarily opposed to colonial rule. Several were arrested and imprisoned in the Vasarpur district Ahmed Nagar.
Sibghatullah Shah I provided forces to Syed Ahmed Shaheed to fight against the Sikhs. Since that time these people have been called "Hurs" [free people]. The independence movement was started by Syed Sibghtullah Shah Shaheed Awal in 1246 [Hijri].
Pagaras' and their followers fought against the colonial government for 108 years, from 1843 to 1951.
In 1922, Sibghtullah Shah II (Soreh Badshah) became Pir Pagara at age 12. He believed that British officers' behaviour towards Hur Jamat and the Sindhi people was unreasonable. He resented their behaviour and started to publicly support Indian independence. He organised a campaign against the colonial government and encouraged others to do the same. As a result, martial law was imposed to control the Hur movement. Pir Sahib established Gring Bungalow as his general headquarters. He recruited and trained followers to continue an armed struggle. Their slogans were "homeland or death" and "freedom or death".
The "Lahore mail" railway train was derailed by Hurs on 16 May 1942. When Hurs attacked the army and police they raised the slogan of "Bhej Pagaara". In an effort to rush the Hurs, their center Gring Bungalow was bombarded and destroyed on 26 May 1943. Pir Soreh Badshah was arrested on 24 October 1941 and imprisoned in Seoni in India.
The Hurs intensified their activities against the colonial government by attacking police stations, government buildings and railway stations as well as telephone and irrigation systems to paralyse society and to pressure the colonial government to release their spiritual leader.
Dargah Sharif and the bungalow in Pir Jo Goth were destroyed in 1943.
In 1942 important leaders in Sindh Prant were arrested. Pir Sahib Pagara was brought from Seoni to Sindh in January 1943 and was detained in the central jail in Hyderabad. The Hurs established the Makhi forest as their base.
The colonial government then began bombing Gring Bungalow, Makhi Forest and Dargah Sharif. They arrested thousands of Hur followers along with their families and kept them imprisoned until 1952.
Jail employees told the writer Nasir Jamal that they had heard from the ancestors that Soreh Badshah was buried outside of Phasi Ghat (place of execution) in the central jail at Hyderabad, Sindh, Pakistan. Because they anticipated an extreme reaction by the Hur Mujahid. The colonial authorities did not disclose the place of burial, in order to prevent the site from become a memorial.
History of the Hur Movement
During the period of British colonial rule in India (according to Voice of Sureh by Lutaf Mangrio and Nadeem Wagan), Pir Pagaro declared his community "Hur" (free). The colonial government made efforts to suppress the movement, which resulted in an armed response from the Hurs. Ultimately the colonial government passed the Hurs Act, where all followers of the movement were declared criminals and army officers were allowed to shoot suspected members on sight.
The Hurs continued their campaign even after the hanging of Pir Sahib.
Pir Pagaro Syed Sibghatullah Shah II was hanged on 20 March 1943 and the British left the Indian subcontinent four years later on 14 August 1947. After the end of British rule, Pir Pagaro's two sons, who were in British custody in [[England, were released and came back to lead their community. Sindh was a province in the newly independent Pakistan. The sons of Sibghatullah Shah Shaheed, Pir Syed Shah Mardan Shah Rashdi-II alias Pir Syed Sikandar Ali Shah Rashidi and Pir Syed Nadir Ali Shah Rashidi were brought to Pakistan in December 1951 after long negotiations. The elder son, Pir Syed Shah Mardan Shah-II became the new Pir Pagara on 22 February 1952.
See also
Soreh Badshah
References
1910 births
1943 deaths
20th-century executions by British India
Executed Indian revolutionaries
Indian independence activists from Bombay Presidency
People executed by British India by hanging
Religious leadership roles
Sindhi people
Pagara family
Sindhi warriors
|
Orcombe Point is a coastal feature near Exmouth, Devon, on the south coast of England. It lies about south of the city of Exeter, southeast of Exmouth town centre and about southwest of Sidmouth.
Directly to the west lies Exmouth Beach and to the east is Sandy Bay, a holiday beach, that can be reached either along the coastal path or through the large caravan park. The two beaches are part of a long strip of sand and are connected to each other below Orcombe Point at low tide.
Sited high upon the hill, Orcombe Point is marked by the "Geoneedle", which was unveiled by Prince Charles, in 2002, at the inauguration. The artist whose conceived and designed the "Geoneedle" sculpture was Michael Fairfax. He also conceived and designed the "Exeter Riddle" in Exeter. The Geoneedle is constructed from a variety of different stones, representing both the major building stones to be found on the Jurassic Coast and the sequence of rocks that form this part of the coastline.
Geology
The rocks dip gently to the east. Due to this tilting and erosion the oldest exposed rocks are found here in the west, with progressively younger rocks forming the cliffs further east. The coastal exposures along the coastline provide a continuous sequence of Triassic, Jurassic and Cretaceous rock formations spanning approximately 185 million years of the Earth's history. The localities along the Jurassic Coast includes a large range of important fossil zones.
Orcombe Point is the western end of the Jurassic Coast and the South West Coast Path includes the entire length of the site.
The ascent to Orcombe Point shows the successive layers of different sedimentary rocks, which were deposited under varying geological conditions. At the base are cross-bedded sandstones. Towards the top, the rock types are those deposited by quieter, slower-flowing waters (i.e. siltstones and mudstones). The sediments are markedly red and this indicates that they were formed in a desert. These formations belong to the Aylesbeare Mudstone Group and date from the Triassic period 250 million years ago.
References
Headlands of Devon
Jurassic Coast
Geology of Devon
Exmouth
|
```javascript
import path from 'path'
import git from 'isomorphic-git'
import http from 'isomorphic-git/http/node'
import fs from 'fs'
import { tmpdir } from 'os'
export async function gitCloneToTmp (url) {
var dir = await fs.promises.mkdtemp(path.join(tmpdir(), `beaker-git-`))
try {
await git.clone({fs, http, dir, url})
} catch (e) {
if (!url.endsWith('.git') && e.toString().includes('404')) {
return gitCloneToTmp(url + '.git')
}
throw e
}
return dir
}
```
|
```java
package com.yahoo.vespa.model.application.validation.change.search;
import com.yahoo.config.application.api.ValidationId;
import com.yahoo.config.provision.ClusterSpec;
import com.yahoo.document.DocumentType;
import com.yahoo.document.Field;
import com.yahoo.documentmodel.NewDocumentReferenceDataType;
import com.yahoo.document.StructDataType;
import com.yahoo.documentmodel.NewDocumentType;
import com.yahoo.schema.FieldSets;
import com.yahoo.vespa.model.application.validation.change.VespaConfigChangeAction;
import com.yahoo.vespa.model.application.validation.change.VespaRefeedAction;
import org.junit.jupiter.api.Test;
import java.time.Instant;
import java.util.List;
import java.util.Optional;
import java.util.Set;
import static com.yahoo.vespa.model.application.validation.change.ConfigChangeTestUtils.newRefeedAction;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* Test validation of changes between a current and next document type used in a document database.
*
* @author toregge
*/
public class DocumentTypeChangeValidatorTest {
private static class Fixture extends ContentClusterFixture {
DocumentTypeChangeValidator validator;
public Fixture(String currentSd, String nextSd) throws Exception {
super(currentSd, nextSd);
validator = new DocumentTypeChangeValidator(ClusterSpec.Id.from("test"),
currentDocType(),
nextDocType());
}
@Override
public List<VespaConfigChangeAction> validate() {
return validator.validate();
}
}
@Test
void requireThatFieldRemovalIsOK() throws Exception {
Fixture f = new Fixture("field f1 type string { indexing: summary }",
"field f2 type string { indexing: summary }");
f.assertValidation();
}
@Test
void requireThatSameDataTypeIsOK() throws Exception {
Fixture f = new Fixture("field f1 type string { indexing: summary }",
"field f1 type string { indexing: summary }");
f.assertValidation();
}
@Test
void requireThatDataTypeChangeIsNotOK() throws Exception {
Fixture f = new Fixture("field f1 type string { indexing: summary }",
"field f1 type int { indexing: summary }");
Instant.now();
f.assertValidation(newRefeedAction(ClusterSpec.Id.from("test"), ValidationId.fieldTypeChange, "Field 'f1' changed: data type: 'string' -> 'int'"));
}
@Test
void requireThatAddingCollectionTypeIsNotOK() throws Exception {
Fixture f = new Fixture("field f1 type string { indexing: summary }",
"field f1 type array<string> { indexing: summary }");
Instant.now();
f.assertValidation(newRefeedAction(ClusterSpec.Id.from("test"), ValidationId.fieldTypeChange, "Field 'f1' changed: data type: 'string' -> 'Array<string>'"));
}
@Test
void requireThatSameNestedDataTypeIsOK() throws Exception {
Fixture f = new Fixture("field f1 type array<string> { indexing: summary }",
"field f1 type array<string> { indexing: summary }");
f.assertValidation();
}
@Test
void requireThatNestedDataTypeChangeIsNotOK() throws Exception {
Fixture f = new Fixture("field f1 type array<string> { indexing: summary }",
"field f1 type array<int> { indexing: summary }");
Instant.now();
f.assertValidation(newRefeedAction(ClusterSpec.Id.from("test"), ValidationId.fieldTypeChange, "Field 'f1' changed: data type: 'Array<string>' -> 'Array<int>'"));
}
@Test
void requireThatChangedCollectionTypeIsNotOK() throws Exception {
Fixture f = new Fixture("field f1 type array<string> { indexing: summary }",
"field f1 type weightedset<string> { indexing: summary }");
Instant.now();
f.assertValidation(newRefeedAction(ClusterSpec.Id.from("test"), ValidationId.fieldTypeChange, "Field 'f1' changed: data type: 'Array<string>' -> 'WeightedSet<string>'"));
}
@Test
void requireThatMultipleDataTypeChangesIsNotOK() throws Exception {
Fixture f = new Fixture("field f1 type string { indexing: summary } field f2 type int { indexing: summary }",
"field f2 type string { indexing: summary } field f1 type int { indexing: summary }");
Instant.now();
Instant.now();
f.assertValidation(List.of(newRefeedAction(ClusterSpec.Id.from("test"), ValidationId.fieldTypeChange, "Field 'f1' changed: data type: 'string' -> 'int'"),
newRefeedAction(ClusterSpec.Id.from("test"), ValidationId.fieldTypeChange, "Field 'f2' changed: data type: 'int' -> 'string'")));
}
@Test
void requireThatSameDataTypeInStructFieldIsOK() throws Exception {
Fixture f = new Fixture("struct s1 { field f1 type string {} } field f2 type s1 { indexing: summary }",
"struct s1 { field f1 type string {} } field f2 type s1 { indexing: summary }");
f.assertValidation();
}
@Test
void requireThatSameNestedDataTypeChangeInStructFieldIsOK() throws Exception {
Fixture f = new Fixture("struct s1 { field f1 type array<string> {} } field f2 type s1 { indexing: summary }",
"struct s1 { field f1 type array<string> {} } field f2 type s1 { indexing: summary }");
f.assertValidation();
}
@Test
void requireThatAddingFieldInStructFieldIsOK() throws Exception {
Fixture f = new Fixture("struct s1 { field f1 type string {} } field f3 type s1 { indexing: summary }",
"struct s1 { field f1 type string {} field f2 type int {} } field f3 type s1 { indexing: summary }");
f.assertValidation();
}
@Test
void requireThatRemovingFieldInStructFieldIsOK() throws Exception {
Fixture f = new Fixture("struct s1 { field f1 type string {} field f2 type int {} } field f3 type s1 { indexing: summary }",
"struct s1 { field f1 type string {} } field f3 type s1 { indexing: summary }");
f.assertValidation();
}
@Test
void requireThatDataTypeChangeInStructFieldIsNotOK() throws Exception {
Fixture f = new Fixture("struct s1 { field f1 type string {} } field f2 type s1 { indexing: summary }",
"struct s1 { field f1 type int {} } field f2 type s1 { indexing: summary }");
Instant.now();
f.assertValidation(newRefeedAction(ClusterSpec.Id.from("test"), ValidationId.fieldTypeChange, "Field 'f2' changed: data type: 's1:{f1:string}' -> 's1:{f1:int}'"));
}
@Test
void requireThatNestedDataTypeChangeInStructFieldIsNotOK() throws Exception {
Fixture f = new Fixture("struct s1 { field f1 type array<string> {} } field f2 type s1 { indexing: summary }",
"struct s1 { field f1 type array<int> {} } field f2 type s1 { indexing: summary }");
Instant.now();
f.assertValidation(newRefeedAction(ClusterSpec.Id.from("test"), ValidationId.fieldTypeChange, "Field 'f2' changed: data type: 's1:{f1:Array<string>}' -> 's1:{f1:Array<int>}'"));
}
@Test
void requireThatDataTypeChangeInNestedStructFieldIsNotOK() throws Exception {
Fixture f = new Fixture("struct s1 { field f1 type string {} } struct s2 { field f2 type s1 {} } field f3 type s2 { indexing: summary }",
"struct s1 { field f1 type int {} } struct s2 { field f2 type s1 {} } field f3 type s2 { indexing: summary }");
Instant.now();
f.assertValidation(newRefeedAction(ClusterSpec.Id.from("test"), ValidationId.fieldTypeChange, "Field 'f3' changed: data type: 's2:{s1:{f1:string}}' -> 's2:{s1:{f1:int}}'"));
}
@Test
void requireThatMultipleDataTypeChangesInStructFieldIsNotOK() throws Exception {
Fixture f = new Fixture("struct s1 { field f1 type string {} field f2 type int {} } field f3 type s1 { indexing: summary }",
"struct s1 { field f1 type int {} field f2 type string {} } field f3 type s1 { indexing: summary }");
Instant.now();
f.assertValidation(newRefeedAction(ClusterSpec.Id.from("test"), ValidationId.fieldTypeChange, "Field 'f3' changed: data type: 's1:{f1:string,f2:int}' -> 's1:{f1:int,f2:string}'"));
}
@Test
void requireThatChangingTargetTypeOfReferenceFieldIsNotOK() {
var validator = new DocumentTypeChangeValidator(ClusterSpec.Id.from("test"),
createDocumentTypeWithReferenceField("oldDoc"),
createDocumentTypeWithReferenceField("newDoc"));
List<VespaConfigChangeAction> result = validator.validate();
assertEquals(1, result.size());
VespaConfigChangeAction action = result.get(0);
assertTrue(action instanceof VespaRefeedAction);
assertEquals(
"type='refeed', " +
"message='Field 'ref' changed: data type: 'Reference<oldDoc>' -> 'Reference<newDoc>'', " +
"services=[], documentType=''",
action.toString());
}
@Test
void changing_tensor_type_of_tensor_field_requires_refeed() throws Exception {
Instant.now();
new Fixture(
"field f1 type tensor(x[2]) { indexing: attribute }",
"field f1 type tensor(x[3]) { indexing: attribute }")
.assertValidation(newRefeedAction(ClusterSpec.Id.from("test"), ValidationId.fieldTypeChange, "Field 'f1' changed: data type: 'tensor(x[2])' -> 'tensor(x[3])'"));
Instant.now();
new Fixture(
"field f1 type tensor(x[5]) { indexing: attribute }",
"field f1 type tensor(x[3]) { indexing: attribute }")
.assertValidation(newRefeedAction(ClusterSpec.Id.from("test"), ValidationId.fieldTypeChange, "Field 'f1' changed: data type: 'tensor(x[5])' -> 'tensor(x[3])'"));
}
private static NewDocumentType createDocumentTypeWithReferenceField(String nameReferencedDocumentType) {
StructDataType headerfields = new StructDataType("headerfields");
headerfields.addField(new Field("ref", new NewDocumentReferenceDataType(new DocumentType(nameReferencedDocumentType))));
return new NewDocumentType(
new NewDocumentType.Name("mydoc"),
headerfields,
new FieldSets(Optional.empty()),
Set.of(),
Set.of());
}
}
```
|
El Mundo Se Equivoca (The World Is Mistaken) is the third studio album release from the Spanish music trio, La 5ª Estación. The album received a Latin Grammy Award on November 8, 2007, for Best Pop Album by a Duo/Group with Vocals.
Content
It was released worldwide on August 22, 2006. It includes thirteen tracks and is the band's first album to be published under the dual disc format, containing on the video side, the behind the cameras of the album's recording.
In 2006, La 5ª Estación released "Tu Peor Error" (Your Worst Mistake) as the first single for the album. The single peaked at number three in Mexico and in the top-twenty in the Billboard Hot Latin Tracks. "Me muero" (I'm Dying) was released as the second single from El mundo se equivoca, the song reached number ten in the Hot Latin Tracks chart. In Mexico, the song topped the national singles chart for twelve weeks and it was succeeded by Eres para mi by Julieta Venegas. As of April 2007, the newest single released to Mexican radio is "Sueños rotos" (Broken Dreams), the song debuted at number ninety-three on May 7, 2007.
Track listing
Singles
Charts and certifications
Charts
Certifications
References
2006 albums
La 5ª Estación albums
Latin Grammy Award for Best Pop Album by a Duo or Group with Vocals
|
Iota Cassiopeiae (ι Cas, ι Cassiopeiae) is a star system in the constellation Cassiopeia. The system has a combined apparent magnitude of 4.53, making it visible to the naked eye. Based on its parallax, it is located about 133 light-years (41 parsecs) from Earth.
Components
Iota Cassiopeiae is known to be a quintuple star system. The brightest star system, ι Cassiopeiae A, contains a white-colored A-type main-sequence star with a mean apparent magnitude of +4.61. The primary is itself a tighter binary star system. The two stars were resolved by adaptive optics. These are designated Aa and Ab (although confusingly they may also be labeled as A and Aa, respectively). The primary is classified as an Alpha2 Canum Venaticorum-type variable star and the brightness of the system varies from magnitude +4.45 to +4.53 with a period of 1.74 days, because of its magnetic field. The fainter companion is a G-type star with a mass of . The orbital period of the system is about 49 years.
ι Cassiopeiae B is a yellow-white F-type main sequence dwarf with an apparent magnitude of +6.87. It orbits around ι Cassiopeiae A approximately every 2,400 years with a semi-major axis of around 6.5 arcseconds, but the orbit is not very well constrained. This object may be causing Kozai–Lidov cycles in the inner orbital pair.
ι Cassiopeiae C is itself another binary, designated Ca and Cb, or just C and c. It comprises two stars, a K-type star and an M-type star. It is currently at an angular distance of about 7 arcseconds from the AB pair. Since the semimajor axis of the AB orbit is about 6.5 arcseconds, the true semimajor axis of C's orbit around them is thought to be significantly larger than 7 arcseconds.
References
Alpha2 Canum Venaticorum variables
Cassiopeiae, Iota
Cassiopeia (constellation)
4
Spectroscopic binaries
A-type main-sequence stars
F-type main-sequence stars
G-type main-sequence stars
0707
015089
011569
Durchmusterung objects
Ap stars
|
```java
package com.clean.example.entrypoints.job.scheduledjob;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class JobResults {
private static final Logger LOGGER = LoggerFactory.getLogger(JobResults.class);
public JobResultsCount createJobResultsCount() {
return new JobResultsCount();
}
public void recordJobResults(ScheduledJob job, JobResultsCount jobResultsCount) {
LOGGER.info("{} finished, recording results: {} successes, {} failures", job.getName(), jobResultsCount.getNumberOfSuccesses(), jobResultsCount.getNumberOfFailures());
// do nothing for now; eventually this could save results into a database, or send them to another app, or anything really
}
}
```
|
Dewar is a lunar impact crater that lies on the Moon's far side. Less than one crater diameter to the south-southwest is the crater Stratton. Vening Meinesz is a little over one crater diameter to the northwest. The slightly worn rim of this crater is roughly circular, with a small outward protrusion along the southern edge. The interior floor is marked by several small impacts along the eastern side.
The crater was named after British chemist James Dewar by the IAU in 1970.
Dewar lies on the south side of an anomalously low albedo area of terrain (dark patch) on the far side of the Moon. The low-albedo area is also a geochemical anomaly, and is high in iron oxide and titanium dioxide. It has been interpreted as a cryptomare.
Satellite craters
By convention these features are identified on lunar maps by placing the letter on the side of the crater midpoint that is closest to Dewar.
References
Impact craters on the Moon
|
```julia
#!/usr/bin/env julia
#
# @license Apache-2.0
#
#
#
# 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.
import Distributions: logpdf, Logistic
import JSON
"""
gen( x, mu, s, name )
Generate fixture data and write to file.
# Arguments
* `x`: input value
* `mu`: location parameter
* `s`: scale parameter
* `name::AbstractString`: output filename
# Examples
``` julia
julia> x = rand( 1000 ) .* 15;
julia> mu = rand( 1000 ) .* 10.0;
julia> s = rand( 1000 ) .* 5.0;
julia> gen( x, mu, s, "data.json" );
```
"""
function gen( x, mu, s, name )
z = Array{Float64}( undef, length(x) );
for i in eachindex(x)
z[ i ] = logpdf( Logistic( mu[i], s[i] ), x[i] );
end
# Store data to be written to file as a collection:
data = Dict([
("x", x),
("mu", mu),
("s", s),
("expected", z)
]);
# Based on the script directory, create an output filepath:
filepath = joinpath( dir, name );
# Write the data to the output filepath as JSON:
outfile = open( filepath, "w" );
write( outfile, JSON.json(data) );
write( outfile, "\n" );
close( outfile );
end
# Get the filename:
file = @__FILE__;
# Extract the directory in which this file resides:
dir = dirname( file );
# Negative mean:
x = rand( 1000 ) .* 10.0 .- 20.0;
mu = rand( 1000 ) .* -10.0;
s = rand( 1000 ) .* 5.0;
gen( x, mu, s, "negative_mean.json" );
# Positive mean:
x = rand( 1000 ) .* 10.0 .- 20.0;
mu = rand( 1000 ) .* 10.0;
s = rand( 1000 ) .* 5.0;
gen( x, mu, s, "positive_mean.json" );
# Large variance:
x = rand( 1000 ) .* 5.0;
mu = rand( 1000 );
s = rand( 1000 ) .* 20.0;
gen( x, mu, s, "large_variance.json" );
```
|
Hooper's Hooch (often simply referred to as Hooch) is an alcopop that was most popular during the mid-1990s. The name Hoopers refers to William Hooper, inventor of the hot water bottle and manufacturer of lemonade in the 1840s whose trademark was owned by Burton-on-Trent-based brewer Bass. Launched in Britain in 1995 by Bass as an alcoholic lemonade, it attained immediate popularity, leading to the development of orange- and blackcurrant-flavoured versions.
At its peak, 2.5 million bottles of Hooper's Hooch were sold each week in Britain, and it was the market leader for alcopops with up to 70% of the market. However, alcopops became less popular, and the drink was discontinued in the UK in 2003. Research by the Prime Minister's Strategy Unit found that between 1995 and 2001, alcopop consumption by children "grew markedly", while between 1992 and 2001, consumption of alcohol among 11 to 15-year-olds rose by 63%.
It was reintroduced in 2012 in a lower alcohol formulation.
The success of Hooper's Hooch began an industry-wide trend of incorporating lighter, less calorific drinks with alcohol equal to the amount found in a standard beer or glass of wine.
Creation
The packaging for Hooper's Hooch was created by KLP Scotland, the marketing and packaging agency for the Bass Brewery.
Criticism
At the time, along with other alcopops, the drink received criticism for encouraging underage drinking by appealing to children due to its sweet taste and use of cartoon-like advertising. With an ABV of 5.0% it was actually stronger than most lagers. In 1996 an advertising campaign for Hooch was criticised by the Advertising Standards Authority for appealing to underage drinkers. In 1997 the drink was relaunched with an 'unambiguously adult look' and a reduced sugar content to tackle that criticism, while Co-op supermarkets, Iceland, J D Wetherspoon and Whitbread stopped selling alcopops.
Re-introduction
Hooch was reintroduced to consumers in the UK in July 2012 following a nine-year absence, with the new marketing slogan "refreshment with bite!". Its bite, however had been reduced from its original nineties formulation with the new version having an ABV of 4.0%, compared to 4.7% previously. It is sold in the UK by Global Brands Ltd and in Asia by Resolute International Marketing BV under licence from Hooch owner Molson Coors. In 2014, new adverts emerged on television featuring Keith Lemon (Leigh Francis) entering a bar and asking for "'ooch" in his trademark Northern accent, with the bartender unable to understand what he means.
References
Alcopops
British brands
Products introduced in 1995
|
```python
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import re
kSmiTag = 0
kSmiTagSize = 1
kSmiTagMask = (1 << kSmiTagSize) - 1
kHeapObjectTag = 1
kHeapObjectTagSize = 2
kHeapObjectTagMask = (1 << kHeapObjectTagSize) - 1
kFailureTag = 3
kFailureTagSize = 2
kFailureTagMask = (1 << kFailureTagSize) - 1
kSmiShiftSize32 = 0
kSmiValueSize32 = 31
kSmiShiftBits32 = kSmiTagSize + kSmiShiftSize32
kSmiShiftSize64 = 31
kSmiValueSize64 = 32
kSmiShiftBits64 = kSmiTagSize + kSmiShiftSize64
kAllBits = 0xFFFFFFFF
kTopBit32 = 0x80000000
kTopBit64 = 0x8000000000000000
t_u32 = gdb.lookup_type('unsigned int')
t_u64 = gdb.lookup_type('unsigned long long')
def has_smi_tag(v):
return v & kSmiTagMask == kSmiTag
def has_failure_tag(v):
return v & kFailureTagMask == kFailureTag
def has_heap_object_tag(v):
return v & kHeapObjectTagMask == kHeapObjectTag
def raw_heap_object(v):
return v - kHeapObjectTag
def smi_to_int_32(v):
v = v & kAllBits
if (v & kTopBit32) == kTopBit32:
return ((v & kAllBits) >> kSmiShiftBits32) - 2147483648
else:
return (v & kAllBits) >> kSmiShiftBits32
def smi_to_int_64(v):
return (v >> kSmiShiftBits64)
def decode_v8_value(v, bitness):
base_str = 'v8[%x]' % v
if has_smi_tag(v):
if bitness == 32:
return base_str + (" SMI(%d)" % smi_to_int_32(v))
else:
return base_str + (" SMI(%d)" % smi_to_int_64(v))
elif has_failure_tag(v):
return base_str + " (failure)"
elif has_heap_object_tag(v):
return base_str + (" H(0x%x)" % raw_heap_object(v))
else:
return base_str
class V8ValuePrinter(object):
"Print a v8value."
def __init__(self, val):
self.val = val
def to_string(self):
if self.val.type.sizeof == 4:
v_u32 = self.val.cast(t_u32)
return decode_v8_value(int(v_u32), 32)
elif self.val.type.sizeof == 8:
v_u64 = self.val.cast(t_u64)
return decode_v8_value(int(v_u64), 64)
else:
return 'v8value?'
def display_hint(self):
return 'v8value'
def v8_pretty_printers(val):
lookup_tag = val.type.tag
if lookup_tag == None:
return None
elif lookup_tag == 'v8value':
return V8ValuePrinter(val)
return None
gdb.pretty_printers.append(v8_pretty_printers)
def v8_to_int(v):
if v.type.sizeof == 4:
return int(v.cast(t_u32))
elif v.type.sizeof == 8:
return int(v.cast(t_u64))
else:
return '?'
def v8_get_value(vstring):
v = gdb.parse_and_eval(vstring)
return v8_to_int(v)
class V8PrintObject (gdb.Command):
"""Prints a v8 object."""
def __init__ (self):
super (V8PrintObject, self).__init__ ("v8print", gdb.COMMAND_DATA)
def invoke (self, arg, from_tty):
v = v8_get_value(arg)
gdb.execute('call __gdb_print_v8_object(%d)' % v)
V8PrintObject()
class FindAnywhere (gdb.Command):
"""Search memory for the given pattern."""
MAPPING_RE = re.compile(r"^\s*\[\d+\]\s+0x([0-9A-Fa-f]+)->0x([0-9A-Fa-f]+)")
LIVE_MAPPING_RE = re.compile(r"^\s+0x([0-9A-Fa-f]+)\s+0x([0-9A-Fa-f]+)")
def __init__ (self):
super (FindAnywhere, self).__init__ ("find-anywhere", gdb.COMMAND_DATA)
def find (self, startAddr, endAddr, value):
try:
result = gdb.execute(
"find 0x%s, 0x%s, %s" % (startAddr, endAddr, value),
to_string = True)
if result.find("not found") == -1:
print result
except:
pass
def invoke (self, value, from_tty):
for l in gdb.execute("maint info sections", to_string = True).split('\n'):
m = FindAnywhere.MAPPING_RE.match(l)
if m is None:
continue
self.find(m.group(1), m.group(2), value)
for l in gdb.execute("info proc mappings", to_string = True).split('\n'):
m = FindAnywhere.LIVE_MAPPING_RE.match(l)
if m is None:
continue
self.find(m.group(1), m.group(2), value)
FindAnywhere()
```
|
```objective-c
//
// JHSLVImage.h
// lv5.1.4
//
// Created by dongxicheng on 12/19/14.
//
#import <UIKit/UIKit.h>
#import "LVHeads.h"
#import "LView.h"
#import "LVImage.h"
@interface JHSLVImage : LVImage
@end
```
|
```java
package deref;
import java.io.IOException;
import java.io.OutputStream;
public class DereferenceByCalledBuggyMethod {
/** This method is buggy and we should report a NP warning here */
public void closeit(OutputStream out) throws IOException {
if (out == null)
out.close();
}
/** Nothing wrong with this method */
public void falsePositive() throws IOException {
closeit(null);
}
}
```
|
```php
<?php
/*
* This file is part of the Kimai time-tracking app.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace App\Tests\Command;
use App\Command\ChangePasswordCommand;
use App\Entity\User;
use App\Repository\UserRepository;
use App\User\UserService;
use Symfony\Bundle\FrameworkBundle\Console\Application;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Symfony\Component\Console\Exception\RuntimeException;
use Symfony\Component\Console\Tester\CommandTester;
use Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactoryInterface;
/**
* @covers \App\Command\ChangePasswordCommand
* @covers \App\Command\AbstractUserCommand
* @group integration
*/
class ChangePasswordCommandTest extends KernelTestCase
{
private Application $application;
protected function setUp(): void
{
parent::setUp();
$kernel = self::bootKernel();
$this->application = new Application($kernel);
$container = self::$kernel->getContainer();
$userService = $container->get(UserService::class);
$this->application->add(new ChangePasswordCommand($userService));
}
public function testCommandName(): void
{
$application = $this->application;
$command = $application->find('kimai:user:password');
self::assertInstanceOf(ChangePasswordCommand::class, $command);
}
private function callCommand(?string $username, ?string $password): CommandTester
{
$command = $this->application->find('kimai:user:password');
$input = [
'command' => $command->getName(),
];
$interactive = false;
if ($username !== null) {
$input['username'] = $username;
}
if ($password !== null) {
$input['password'] = $password;
} else {
$interactive = true;
}
$commandTester = new CommandTester($command);
$options = [];
if ($interactive) {
$options = ['interactive' => true];
$commandTester->setInputs(['12345678']);
}
$commandTester->execute($input, $options);
return $commandTester;
}
public function testChangePassword(): void
{
$commandTester = $this->callCommand('john_user', '0987654321');
$output = $commandTester->getDisplay();
$this->assertStringContainsString('[OK] Changed password for user "john_user".', $output);
/** @var UserRepository $userRepository */
$userRepository = self::getContainer()->get('doctrine')->getRepository(User::class);
$user = $userRepository->loadUserByIdentifier('john_user');
self::assertInstanceOf(User::class, $user);
/** @var PasswordHasherFactoryInterface $passwordEncoder */
$passwordEncoder = self::getContainer()->get('security.password_hasher_factory');
self::assertTrue($passwordEncoder->getPasswordHasher($user)->verify($user->getPassword(), '0987654321'));
}
public function testChangePasswordFailsOnShortPassword(): void
{
$commandTester = $this->callCommand('john_user', '1');
$output = $commandTester->getDisplay();
$this->assertStringContainsString('[ERROR] plainPassword: This value is too short.', $output);
}
public function testWithMissingUsername(): void
{
$this->expectException(RuntimeException::class);
$this->expectExceptionMessage('Not enough arguments (missing: "username").');
$this->callCommand(null, '1234567890');
}
public function testWithMissingPasswordAsksForPassword(): void
{
$commandTester = $this->callCommand('john_user', null);
$output = $commandTester->getDisplay();
$this->assertStringContainsString('[OK] Changed password for user "john_user".', $output);
}
}
```
|
Nikolay Yurievich Kavkazsky (born October 16, 1986) is a Russian political, LGBT and drug policy reform activist, lawyer, member of numerous human rights organizations, blogger and a political prisoner.
Political career
Nikolay Kavkazsky was born on October 16, 1986. Since his early childhood, he was inspired by the ideas of justice, equality and peaceful resolution of conflict.
In 2007-2012, 2013 - till now he is an active member of the pro-western democratic Yabloko party. In 2008, gained 18% of the votes as the party’s regional branch’s vice chairman candidate.
Since 2008 – an activist of the “Left Socialist Action” movement
2008-2010 – one of the leaders of the “Left Front” movement
In 2010-2011 - he held the post of the Moscow regional council of the “Youth Yabloko” branch
2010 – a member of the “Solidarity” movement
2011 – ran for the federal parliamentary elections as a candidate of the “Yabloko” Party
2011-2012 - an assistant to the chairman of the Moscow “Youth Yabloko” Committee
Since 2010 – an active member of the human rights organization “The Committee for the Civil Rights”. He was remarkably active at the Prison visitation department of the Civil rights committee, working with former convicts, maintaining correspondence with the incarcerated and providing psychological support to their families.
Since 2012-2013 – a member of the main board of the Working Poor Union
He has been actively involved in the Russian protest movement and authored numerous political articles. He also defended Pussy Riot and other activists.
He has also defended the rights of ethnic, religious, and sexual minorities and promoted the idea of peaceful resistance to oppression.
Arrest
On May 6, 2012, Nikolay Kavkazsky took part in the “March of the Million” demonstration organized by the opposition and its supporters on the Bolotnaya Square in Moscow to protest the results of the presidential elections held on March 4. Those demonstrations were brutally stopped by the police and later led to a severe crackdown on the democratic movement.
The prominent sociologist, historian, and civil activist Alek D. Epstein published an article about Nikolay Kavkazsky and included his diary entries related to the events. They show that the participants of the demonstration who had peaceful intentions were brutally attacked by the police, and some suffered grave injuries: “I’ve never seen such a mess! I got clubbed by the special unit policemen a couple of times myself … I saw a lot of wounded and bleeding people…”…
Nikolay Kavkazsky’s diary serves as a unique source of information on the 2012 protests providing an “inside” perspective. “The March Of the Millions. The Blooded Sunday. Alek Epstein. The Captivity, November 2012.
On July 25th Nikolay Kavkazsky was arrested in his own house for allegedly pushing a policeman during the demonstration (which was interpreted by the prosecution as an attempt to inflict grave bodily harm).
On July 26th the representative for the Investigation Committee brought the charges of assaulting a representative of the authorities (part 1 of Article 318 of the Russian Criminal Code) and participating in a massive riot (part 2 of Article 212 of the Russian Criminal Code).
Thus, Nikolay Kavkazsky became one of the main figures in the “Bolotnaya Square” case.
The prosecution claimed to have discovered evidence (a videotape) proving that he had taken illegal actions against the police during the demonstration, although they did not present it. On July 25 Nikolay Kavkazsky was remanded until September 24, and then his arrest was extended until November when he was finally remanded until March 6, though he suffers from some serious health problems. As of today, he is still awaiting his trial.
Struggle for human rights in prison
Even in detention, Nikolay Kavkazsky is pursuing his political activities and his struggle for human rights. In November, he published an article criticizing the inhumane living conditions and unfair treatment that the inmates are exposed to and suggested a number of measures intended to make life in prison at least a little more tolerable. For instance, he wrote:
“Prisons in Russia could not guarantee the respect of human rights. On the contrary, the living conditions in the correctional institutions disparage the human dignity of a person and strip them of their legal right to a normal life.
I would like to remind those who may think that criminals should have no rights (although such an attitude is completely unacceptable for a civilized person), that in Russia there is an enormous number of completely innocent people who suffer behind bars, and even in the most advanced countries there are always innocent prisoners since court and prosecution mistakes are always possible. … I hope that in a humane society there will be no such institution as a prison. However, we live in the present rather than in the future, and it means that we have to deal with the existing problems. From my perspective, we cannot abolish prisons by a decree, so we have to reform them.“ Then he describes the appalling living conditions in prison including lack of light, harsh discipline, unbearable transportation measures, poor food quality, overcrowdedness and other urgent problems and elaborates on some possible improvements.
Elections to the Moscow City Duma of the 6th convocation
Nikolai participated in the elections to the Moscow City Duma of the 6th convocation as a Yabloko candidate. He came third out of seven candidates in the electoral district and gained 12,78 percent.
Municipal elections 2015-2017
As a candidate from the Yabloko party Nikolay Kavkazsky participated in municipal elections were held in 2015 and 2017.
He came 5th out of all candidates in Northern Medvedkovo district in 2015 and gained 14,61 percent. He came 7th out of all candidates in Basmanny district in 2017 and gained 24,89 percent.
Elections to the State Duma of the 8th convocation
In 2021 Nikolay Kavkazsky was nominated by Yabloko party as a candidate for the State Duma of the Russian Federation.
“Against Putin” was his campaign slogan. Police numerously visited Nikolay at the time of the campaign so according to Nikolay the voters were afraid to take the leaflets. On September 12 Nikolay Kavkazsky and three members of his election headquarter were arrested because of the election banner with the campaign slogan but all the arrested people were released without further investigation.
The unknown person stole the leaflets from the election headquarter of Nikolay Kavkazsky. Nikolay submitted the crime report but the criminal is still not found.
Finally Nikolay Kavkazsky was not elected as a deputy of the State Duma.
Municipal elections 2022
In 2022 Nikolay Kavkazsky planned to become a candidate in municipal elections in Basmanny district but he was arrested and spent 10 days in imprisonment because of his post in social network dated by 2021. In this post Nikolay wrote about Smart Voting so he was found guilty in commitment an administrative offense and lost his right to be elected. Yabloko party considers the arrest of Nikolay Kavkazsky as an act of political repression. Anyway Nikolay Kavkazsky helped the Yabloko team in Basmanny district during the municipal elections.
Political views
In terms of political views Nikolay Kavkazsky defines himself as a democratic socialist. Nikolay supports the progressive scale of taxation and a social state.
Nikolay Kavkazsky supports the position of Yabloko party against the invasion of Ukraine by Russian forces. He is also against conscription army and supports the peaceful resolution of conflicts.
Nikolay Kavkazsky supports political prisoners and promotes the defence of human rights focusing on vulnerable groups (such as women, LGBT people and polyamorists). In 2022 Nikolay opposed the new laws against LGBT community adopted in Russia. He also raised the legal problems polyamorists from Russia face because of the wave of relocation from the country.
Nikolay promotes drug policy reform telling the people who consume drugs are the victims of violence against vulnerable group and there is also the practice of using drugs in police abuse. According to migration issues Nikolay says that “there are no illegal people”.
See also
2011-2012 Russian protests
References
1986 births
Living people
Political repression in Russia
Yabloko politicians
Russian socialists
Russian LGBT rights activists
Politicians from Moscow
European Court of Human Rights cases involving Russia
Amnesty International prisoners of conscience held by Russia
Prisoners and detainees of Russia
Russian prisoners and detainees
Russian dissidents
Drug policy reform activists
Lawyers from Moscow
Russian activists against the Russian invasion of Ukraine
|
Aaron William Hughes (born 8 November 1979) is a Northern Irish former professional footballer who played as a defender. Hughes played mainly at centre back, but was also used at right back or left back, as well as anywhere in midfield. He is renowned for his disciplined defending, having made 455 Premier League appearances without getting sent off, which is the second-most in the history of the league, behind only Ryan Giggs.
He began his career with Newcastle United, making his debut in 1997 and playing 279 games for the club across all competitions. He remained with the club until 2005, when he was transferred to Aston Villa for £1 million, and two years later he was signed by his former international manager Lawrie Sanchez to play for Fulham. He spent six-and-a-half seasons at Fulham, reaching the UEFA Europa League final in 2010. After leaving the club in January 2014, he had brief spells in the Championship with Queens Park Rangers and Brighton & Hove Albion, and abroad with Melbourne City FC and Kerala Blasters FC.
Hughes made his full international debut aged 18 in 1998 and has earned 112 caps for Northern Ireland, the third most in the nation's history, behind Steven Davis and goalkeeper Pat Jennings. He captained the national team from 2003 up to international retirement in 2011, but returned to the team the following year and was included in their squad for UEFA Euro 2016.
Club career
Newcastle United
Born in Cookstown, County Tyrone, Hughes came through the ranks at Newcastle United. He made his first team debut in the Camp Nou in a match between Newcastle and Barcelona on 26 November 1997, replacing Philippe Albert at half-time in a 1–0 UEFA Champions League defeat. His league debut came against Sheffield Wednesday on 10 January 1998, playing the entirety of a 2–1 defeat at Hillsborough. Although he featured in the earlier rounds, including the semi-final against Tottenham Hotspur at Old Trafford in the latter campaign as a 36th-minute replacement for the injured Steve Howey, Hughes was not included in Newcastle's squads for their FA Cup Final defeats in 1998 and 1999.
He established himself in the team in the 1999–00 season under Ruud Gullit and later Bobby Robson. Hughes scored his first goal for the club on 19 September 1999, heading Kieron Dyer's cross past Kevin Pressman to open an 8–0 win over Sheffield Wednesday at St. James' Park, and added his other goal of the season six months later to begin a 2–0 victory at Everton, dispossessing David Weir from six yards out and scoring past Paul Gerrard.
Before the 2001–02 season, Hughes featured as Newcastle reached the final of that summer's UEFA Intertoto Cup. In the semi-final first leg away to 1860 Munich at the Olympiastadion, he headed in Wayne Quinn's cross in the 83rd minute to win the match 3–2. In the second leg of the final on 21 August, he scored a last-minute equaliser for a 4–4 draw against Troyes, but his team lost on the away goals rule. On 27 January 2002, he confirmed a 4–2 win at Peterborough United in the fourth round of the FA Cup, again heading in a cross from Quinn. In August 2003 he missed the crucial penalty in the shootout as Newcastle lost in the final qualifying round for the 2003–04 Champions League.
Aston Villa
On 20 May 2005, Hughes was sold to fellow Premier League side Aston Villa for a fee of £1 million, on a three-year contract. He made his debut on 13 August, as they began the season with a 2–2 draw against Bolton Wanderers at Villa Park, all four goals coming in the first nine minutes. During his time in the West Midlands, he made 64 appearances in all competitions for his club.
Fulham
On 27 June 2007, Hughes was announced as a new signing for Premier League side Fulham. He was quoted as saying "I'm delighted to be joining Fulham and am looking forward to working with Lawrie Sanchez at club level. I enjoyed my time at Aston Villa but when this opportunity presented itself I had no hesitation in coming to discuss the Manager's ambitions for the Club, which obviously were of great interest to me. I'm happy to have signed before the start of pre-season, which gives me the opportunity of being with the lads on day one, when we come back to training next week." He took the captain's armband in the absence of Brian McBride and latterly, Danny Murphy. On 4 December 2009, Hughes signed a new deal with the club which would see him remain at Craven Cottage until the summer of 2013.
He scored his first goal for Fulham on 26 December 2010, heading a Simon Davies cross to open a 1–3 defeat to West Ham United at Craven Cottage. His second goal came against Dnipro in the Europa League on 18 August 2011, set up by Matthew Briggs for the first goal of a 3–0 victory.
On 14 September 2012, Hughes signed a one-year contract extension with Fulham, keeping him at the club until 2014. He scored his third goal for Fulham, in his third different competition, against Manchester United in the fourth round of the FA Cup on 26 January 2013, heading Giorgos Karagounis' cross at the end of a 4–1 defeat at Old Trafford.
Queens Park Rangers
After 17 appearances for Fulham earlier in the season, on 31 January 2014, Hughes joined Queens Park Rangers of the Championship on a free transfer. Manager Harry Redknapp signed him on a short-term deal until the end of the season, saying that Hughes would be useful in a defence suffering from injuries, while the player himself refuted suggestion that he was taking a step down in his career. Redknapp had previously tried to sign Hughes before he joined Newcastle.
He started on the bench a day later when the side drew 3–3 against Burnley, and made his debut on 10 February when they lost 1–0 to Derby. On 24 May, Hughes was an unused substitute as QPR earned promotion to the Premier League with a 1–0 victory over Derby County in the play-off final at Wembley. On 1 July 2014, he was among seven players released by QPR following the expiration of their contracts.
Brighton & Hove Albion
Following his release from QPR, Hughes signed a one-year contract with fellow Championship side Brighton & Hove Albion on 14 July, becoming Sami Hyypiä's first signing at the club. He made his debut on 9 August as they began the campaign with a 0–1 home loss to Sheffield Wednesday at the Falmer Stadium. He only played 13 matches across all competitions, and did not feature at all after January 2015. On 27 April, before the season had finished, it was announced that Hughes and compatriot Paddy McCourt would be released at its conclusion.
Melbourne City
On 13 July 2015, it was announced that Hughes had signed a one-year contract for Melbourne City of the A-League. He credited Damien Duff, his former Fulham teammate, with persuading him to make the move. Hughes was first included in a matchday squad on 5 November, remaining an unused substitute in a 4–2 win away to Adelaide United. He made his debut eight days later in a 0–3 home loss to Western Sydney Wanderers at the Melbourne Rectangular Stadium, being replaced at half time by Jack Clisby. On 2 January 2016, Hughes scored his first goal in Australia, heading in Harry Novillo's corner kick to open a 2–2 home draw against Sydney FC. Hughes was released by Melbourne City on 28 April 2016.
Kerala Blasters
On 28 July 2016, it was announced that Hughes would join the Kerala Blasters of the Indian Super League as their marquee player for the 2016 season. He made his debut on 1 October, playing the full 90 minutes as they began the campaign with a 1–0 loss at Northeast United FC, and scored his first goal on 25 November, the winner in a 2–1 victory over FC Pune City at the Jawaharlal Nehru Stadium. Hughes helped the Kochi-based team to the final, which they lost on penalties at home to Atlético de Kolkata.
Heart of Midlothian
Hughes signed for Scottish Premiership club Heart of Midlothian on 9 January 2017, agreeing a contract due to run until the end of the season. He made his debut 13 days later in a Scottish Cup fourth round match away to Raith Rovers, in which BBC Sport described him as having "the composure of a Northern Ireland centurion despite his advancing years". Despite suffering injuries that kept him out of action for two months, Hughes signed a one-year contract with Hearts on 5 May 2017.
Hughes retired from football in June 2019, aged 39.
International career
Hughes made his debut for Northern Ireland on 25 March 1998, against Slovakia. He first captained his country on 17 April 2002, against Spain in Belfast. He was the regular captain from 2003 until his retirement in 2011, leading the team in notable wins over England, Spain and Sweden. With Hughes injured, Fulham teammate Chris Baird was given the honour of captaining Northern Ireland for Nigel Worthington's first games as manager. Hughes scored his only international goal, thirteen and a half years and 77 caps after his debut, against the Faroe Islands on 10 August 2011, opening a 4–0 win in qualification for UEFA Euro 2012 at Windsor Park.
He announced his retirement from international football in September 2011; injury meant that he could not play in the final Euro 2012 qualifying matches, so he retired on 79 caps. On 19 February 2012, Hughes announced his return to international football, and ten days later played in Michael O'Neill's first match as manager, a 3–0 home friendly defeat to Norway. On 31 May 2015, Hughes earned his 96th cap by captaining the team to a 1–1 friendly draw against Qatar at Gresty Road in Crewe, surpassing his former teammate David Healy to become Northern Ireland's most capped outfield player of all time, and second overall to goalkeeper Pat Jennings.
Ahead of UEFA Euro 2016, Hughes became the first Northern Irish outfield player to earn 100 caps when he came on as a 30th-minute substitute for the injured Craig Cathcart in a goalless friendly away to Slovakia on 4 June. Twelve days later, he made his tournament debut at the age of 36, marking Yevhen Konoplyanka in a 2–0 win over Ukraine in Lyon.
Personal life
Hughes is married to Samantha, with whom he has two daughters. He has a younger brother, Ian, who is a competitive field hockey player.
Hughes was appointed Member of the Order of the British Empire (MBE) in the 2020 New Year Honours for services to football.
Career statistics
Club
International
See also
List of men's footballers with 100 or more international caps
References
External links
Profile at Irish FA
1979 births
Living people
Sportspeople from Cookstown
Association footballers from County Tyrone
Northern Ireland men's youth international footballers
Northern Ireland men's B international footballers
Northern Ireland men's international footballers
Men's association football defenders
Newcastle United F.C. players
Aston Villa F.C. players
Fulham F.C. players
Queens Park Rangers F.C. players
Brighton & Hove Albion F.C. players
Melbourne City FC players
Kerala Blasters FC players
Heart of Midlothian F.C. players
Premier League players
English Football League players
A-League Men players
Indian Super League marquee players
Scottish Professional Football League players
UEFA Euro 2016 players
People educated at Cookstown High School
FIFA Men's Century Club
Expatriate men's association footballers from Northern Ireland
Expatriate men's soccer players in Australia
Expatriate sportspeople from Northern Ireland in Australia
Expatriate men's footballers in India
Expatriate sportspeople from Northern Ireland in India
Members of the Order of the British Empire
|
```java
/**
*
* <p>path_to_url
*
* <p>Unless required by applicable law or agreed to in writing, software distributed under the
*/
package com.google.security.wycheproof.nimbusjose;
import static com.google.common.truth.Truth.assertThat;
import static com.google.common.truth.Truth.assertWithMessage;
import com.google.common.collect.ImmutableSet;
import com.google.common.flogger.GoogleLogger;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.security.wycheproof.JsonUtil;
import com.google.security.wycheproof.TestUtil;
import com.google.testing.testsize.MediumTest;
import com.nimbusds.jose.Algorithm;
import com.nimbusds.jose.JOSEException;
import com.nimbusds.jose.JWSObject;
import com.nimbusds.jose.JWSVerifier;
import com.nimbusds.jose.crypto.ECDSAVerifier;
import com.nimbusds.jose.crypto.MACVerifier;
import com.nimbusds.jose.crypto.RSASSAVerifier;
import com.nimbusds.jose.jwk.JWK;
import java.security.NoSuchAlgorithmException;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.List;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameter;
import org.junit.runners.Parameterized.Parameters;
/** Tests for <a href="path_to_url">JSON Web Signature RFC</a> */
@MediumTest
@RunWith(Parameterized.class)
public class NimbusJoseJwsTest {
private static ImmutableSet<String> allTestNames;
private static final GoogleLogger logger = GoogleLogger.forEnclosingClass();
private ImmutableSet<String> getSuppressedTests() {
return ImmutableSet.of(
// The following test vectors contain cases where the key contains an algorithm
// different from the algorithm used for the actual signature. Such signatures
// should be rejected. NimbusJose does not compare the algorithms and accepts
// the signatures.
"ps512_UsingRS256_tcId332",
"ps512_UsingRS384_tcId334",
"ps512_UsingRS512_tcId336",
"ps512_UsingPS256_tcId338",
"ps512_UsingPS384_tcId340",
// RFC 7515, Section 5.2 appears to specify that white space and characters other than
// the base64 characters are not allowed in the base64 encoding.
// (Note that white space is explicitly allowed in the JSON encoding).
// The following test vectors contain white space and other invalid characters in the
// base64 encoding:
"base64_rejectsSpacesInMac_tcId360",
"base64_rejectsInvalidCharacterInsertedInMac_tcId361",
"base64_rejectsInvalidCharacterInsertedInMac_tcId362",
"base64_spacesInHeader_tcId365",
"base64_invalidCharactersInHeader_tcId366",
"base64_invalidBase64Padding_tcId367",
"base64_spacesInPayload_tcId368",
"base64_invalidCharactersInPayload_tcId369",
"base64_invalidBase64PaddingInPayload_tcId370",
"base64_InvalidCharacterInPayload_tcId371",
"base64_InvalidCharacterInsertedInHeader_tcId372",
"base64_InvalidCharacterInsertedInPayload_tcId373",
"base64_MacOfIncorrectlyEncodedMessage_tcId375",
// NimbusJose does not check the size of the signature and accepts signatures with
// leading zeros. This means that signatures are malleable. (Existing signatures
// can be modified but the that was signed does not change.) A comparable
// bug is for example CVE 2020-13822.
// RFC 7518 specifies in section 3.4 that ES256 signatures must be 64 bytes long.
"SpecialCaseEs256_SignatureTooLong_tcId379",
"SpecialCaseEs256_BufferOverflow_tcId385");
}
/** A JsonWebCryptoTestGroup that contains key information and tests against those keys. */
@Parameter(value = 0)
public JsonObject testGroup;
/** A JsonWebCryptoTestVector that contains a single test in this {@link #testGroup}. */
@Parameter(value = 1)
public JsonObject testCase;
@Parameter(value = 2)
public String testName;
@Parameters(name = "{2}")
public static Iterable<Object[]> produceTestCases() throws Exception {
JsonObject test = JsonUtil.getTestVectors("json_web_signature_test.json");
// Generate test cases.
List<Object[]> testParams = new ArrayList<>();
ImmutableSet.Builder<String> testNames = ImmutableSet.builder();
for (JsonElement testGroupElement : test.getAsJsonArray("testGroups")) {
// Contains group-level configuration as well as all of the tests for this group.
JsonObject testGroup = testGroupElement.getAsJsonObject();
String groupComment = testGroup.get("comment").getAsString();
for (JsonElement testsElement : testGroup.getAsJsonArray("tests")) {
JsonObject testCase = testsElement.getAsJsonObject();
int testId = testCase.get("tcId").getAsInt();
String testComment = testCase.get("comment").getAsString();
String testName = String.format("%s_%s_tcId%d", groupComment, testComment, testId);
testParams.add(new Object[] {testGroup, testCase, testName});
testNames.add(testName);
}
}
allTestNames = testNames.build();
return testParams;
}
private JWSVerifier getVerifier(JWK key) throws JOSEException, NoSuchAlgorithmException {
Algorithm alg = key.getAlgorithm();
if (alg == null) {
// This code requires verification key algorithm to create algorithm specific verifiers.
throw new NoSuchAlgorithmException("Verification key has no algorithm");
}
switch (alg.getName()) {
case "HS256":
case "HS384":
case "HS512":
return new MACVerifier(key.toOctetSequenceKey());
case "ES256":
case "ES384":
case "ES521":
return new ECDSAVerifier(key.toECKey());
case "RS256":
case "RS384":
case "RS512":
case "PS256":
case "PS384":
case "PS512":
return new RSASSAVerifier(key.toRSAKey());
default:
throw new NoSuchAlgorithmException(alg.getName());
}
}
@Test
public void jsonWebSignatureTestVector() {
// Housekeeping to make sure the implementation class wires things correctly.
assertThat(allTestNames).containsAtLeastElementsIn(getSuppressedTests());
// Verification is done with the public key if it exists (or the secret key if not).
String verificationJwk;
if (testGroup.has("public")) {
verificationJwk = testGroup.getAsJsonObject("public").toString();
} else {
verificationJwk = testGroup.getAsJsonObject("private").toString();
}
String jws = testCase.get("jws").getAsString();
boolean expectedResult = testCase.get("result").getAsString().equals("valid");
boolean passed = performVerification(jws, verificationJwk, expectedResult);
if (getSuppressedTests().contains(testName)) {
if (passed) {
// Inverting the assertion helps uncover tests that are needlessly suppressed.
assertWithMessage("This test appears to be needlessly suppressed").fail();
} else {
// The test fails but is suppressed.
TestUtil.skipTest("Suppressed test still fails");
}
} else {
assertThat(passed).isTrue();
}
}
/**
* Performs a verification of a payload with the given key.
*
* @param compactJws the signature or MAC in compact form
* @param verificationJwk the verification key. This can either be a public key or a symmetric
* key.
* @param expectedResult true if the signature or MAC are valid
* @return true if the test passed.
*/
public boolean performVerification(
String compactJws, String verificationJwk, boolean expectedResult) {
try {
JWSObject jws = JWSObject.parse(compactJws);
JWK key = JWK.parse(verificationJwk);
JWSVerifier verifier = getVerifier(key);
return expectedResult == jws.verify(verifier);
// The following exceptions are expected:
// java.text.ParseException: for example if the header is not proper JSON.
// com.nimbusds.jose.JOSEException: thrown by Nimbus-Jose.
// java.security.NoSuchAlgorithmException: thrown by the test for unsupported algorithms.
} catch (ParseException | JOSEException | NoSuchAlgorithmException e) {
if (expectedResult) {
logger.atInfo().withCause(e).log(
"Verification failed for %s.\njws: %s\njwk: %s", testName, compactJws, verificationJwk);
return false;
} else {
// Verification failed as expected. We still want to see the exception,
// but not the stack trace.
logger.atInfo().log("Verification failed as excpected for %s.\nwith %s", testName, e);
return true;
}
} catch (RuntimeException e) {
logger.atInfo().withCause(e).log(
"Verification failed with unexpected exception for %s.\njws: %s\njwk: %s",
testName, compactJws, verificationJwk);
// We expect that the library checks for malformed input and throws a
// checked exception. Getting anything other than the documented exceptions
// is always a failure.
return false;
}
}
}
```
|
```php
<?php
namespace Psalm\Internal\Analyzer\Statements\Expression;
use PhpParser;
use Psalm\CodeLocation;
use Psalm\Context;
use Psalm\Internal\Analyzer\Statements\ExpressionAnalyzer;
use Psalm\Internal\Analyzer\StatementsAnalyzer;
use Psalm\Issue\ForbiddenCode;
use Psalm\Issue\InvalidArgument;
use Psalm\IssueBuffer;
use Psalm\Type;
use Psalm\Type\Atomic\TBool;
use Psalm\Type\Atomic\TFalse;
use Psalm\Type\Atomic\TTrue;
use Psalm\Type\Union;
/**
* @internal
*/
final class EmptyAnalyzer
{
public static function analyze(
StatementsAnalyzer $statements_analyzer,
PhpParser\Node\Expr\Empty_ $stmt,
Context $context
): void {
IssetAnalyzer::analyzeIssetVar($statements_analyzer, $stmt->expr, $context);
$codebase = $statements_analyzer->getCodebase();
if (isset($codebase->config->forbidden_functions['empty'])) {
IssueBuffer::maybeAdd(
new ForbiddenCode(
'You have forbidden the use of empty',
new CodeLocation($statements_analyzer->getSource(), $stmt),
),
$statements_analyzer->getSuppressedIssues(),
);
}
$expr_type = $statements_analyzer->node_data->getType($stmt->expr);
if ($expr_type) {
if ($expr_type->hasBool()
&& $expr_type->isSingle()
&& !$expr_type->from_docblock
) {
IssueBuffer::maybeAdd(
new InvalidArgument(
'Calling empty on a boolean value is almost certainly unintended',
new CodeLocation($statements_analyzer->getSource(), $stmt->expr),
'empty',
),
$statements_analyzer->getSuppressedIssues(),
);
}
if ($expr_type->isAlwaysTruthy() && $expr_type->possibly_undefined === false) {
$stmt_type = new TFalse($expr_type->from_docblock);
} elseif ($expr_type->isAlwaysFalsy()) {
$stmt_type = new TTrue($expr_type->from_docblock);
} else {
ExpressionAnalyzer::checkRiskyTruthyFalsyComparison($expr_type, $statements_analyzer, $stmt);
$stmt_type = new TBool();
}
$stmt_type = new Union([$stmt_type], [
'parent_nodes' => $expr_type->parent_nodes,
]);
} else {
$stmt_type = Type::getBool();
}
$statements_analyzer->node_data->setType($stmt, $stmt_type);
}
}
```
|
```go
package base
import (
"fmt"
"golang.org/x/net/context"
)
// EncodingError is returned from encoding handlers when some failure occurs.
// This error should be sent to the user directly, so it needs to be own type
// to be distinguishable.
type EncodingError struct {
column string
}
func (e *EncodingError) Error() string {
return fmt.Sprintf("encoding error in column %q", e.column)
}
// Is checks if err is the same as target error.
// It checks the type and the `.column` field.
// Used in tests to provide functionality of `errors.Is`
func (e *EncodingError) Is(err error) bool {
encErr, ok := err.(*EncodingError)
if !ok {
return false
}
return encErr.column == e.column
}
// NewEncodingError returns new EncodingError with specified column
func NewEncodingError(column string) error {
return &EncodingError{column}
}
// EncodingValue represents a (possibly parsed and prepared) value that is
// ready to be encoded
type EncodingValue interface {
// AssBinary returns value encoded in a binary format
AsBinary() []byte
// AsText returns value encoded in a text format
AsText() []byte
}
// EncodingValueFactory represents a factory that produces ready for encoding
// value.
type EncodingValueFactory interface {
// NewStringValue creates a value that encodes as a str
NewStringValue(str []byte) EncodingValue
// NewBytesValue creates a value that encodes as bytes
NewBytesValue(bytes []byte) EncodingValue
// NewInt32Value creates a value that encodes as int32
NewInt32Value(intVal int32, strVal []byte) EncodingValue
// NewInt64Value creates a value that encodes as int64
NewInt64Value(intVal int64, strVal []byte) EncodingValue
}
type decodedValueKey struct{}
// EncodedValueContext save encoded value in the context. Can be used to save encoded value before decoding from database
// to return as is on decryption failures
func EncodedValueContext(ctx context.Context, value []byte) context.Context {
return context.WithValue(ctx, decodedValueKey{}, value)
}
// GetEncodedValueFromContext returns encoded value and true if it was saved, otherwise returns nil, false
func GetEncodedValueFromContext(ctx context.Context) ([]byte, bool) {
value := ctx.Value(decodedValueKey{})
if value == nil {
return nil, false
}
val, ok := value.([]byte)
if !ok {
return nil, false
}
return val, true
}
```
|
Annular elastolytic giant-cell granuloma (also known as "Giant cell elastophagocytosis," "Meischer's granuloma," "Miescher's granuloma of the face") is a cutaneous condition characterized histologically by a dermal infiltrate of macrophages.
Treatment
Localized granuloma annulare has a tendency towards spontaneous resolution. Localized lesions have been treated with potent topical corticosteroids.
See also
Actinic granuloma
List of cutaneous conditions
References
External links
Monocyte- and macrophage-related cutaneous conditions
|
```smalltalk
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Runtime.ExceptionServices;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Xml.Serialization;
using Mesen.GUI.Config;
using Mesen.GUI.Forms;
namespace Mesen.GUI
{
static class Program
{
[DllImport("user32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
private static extern bool SetForegroundWindow(IntPtr hWnd);
public static bool IsMono { get; private set; }
public static string OriginalFolder { get; private set; }
private static void Application_ThreadException(object sender, ThreadExceptionEventArgs e)
{
MesenMsgBox.Show("UnexpectedError", MessageBoxButtons.OK, MessageBoxIcon.Error, e.Exception.ToString());
}
private static void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
{
MesenMsgBox.Show("UnexpectedError", MessageBoxButtons.OK, MessageBoxIcon.Error, e.ExceptionObject.ToString());
}
[DebuggerNonUserCode]
private static Assembly LoadAssemblies(object sender, ResolveEventArgs e)
{
//Allow assemblies to be loaded from subfolders in the home folder (used for Google Drive API dlls)
string assemblyFile = e.Name.Contains(',') ? e.Name.Substring(0, e.Name.IndexOf(',')) : e.Name;
assemblyFile += ".dll";
string absoluteFolder = new FileInfo((new System.Uri(Assembly.GetExecutingAssembly().CodeBase)).LocalPath).Directory.FullName;
string targetPath = Path.Combine(ConfigManager.HomeFolder, "GoogleDrive", assemblyFile);
if(ResourceManager.GoogleDlls.Contains(assemblyFile)) {
ResourceManager.ExtractGoogleDriveResources();
}
try {
if(File.Exists(targetPath)) {
return Assembly.LoadFile(targetPath);
}
} catch(Exception) {
return null;
}
return null;
}
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
[HandleProcessCorruptedStateExceptions]
private static void Main(string[] args)
{
try {
Task.Run(() => {
//Cache deserializers in another thread
new XmlSerializer(typeof(Configuration));
new XmlSerializer(typeof(DebugWorkspace));
});
if(Type.GetType("Mono.Runtime") != null) {
Program.IsMono = true;
}
Program.OriginalFolder = Directory.GetCurrentDirectory();
Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
Application.ThreadException += Application_ThreadException;
AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
//Enable TLS 1.0/1.1/1.2 support
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
if(ConfigManager.GetConfigFile() == null) {
//Show config wizard
ResourceHelper.LoadResources(Language.SystemDefault);
Application.Run(new frmConfigWizard());
if(ConfigManager.GetConfigFile() == null) {
return;
}
}
AppDomain.CurrentDomain.AssemblyResolve += LoadAssemblies;
Directory.CreateDirectory(ConfigManager.HomeFolder);
Directory.SetCurrentDirectory(ConfigManager.HomeFolder);
try {
if(!ResourceManager.ExtractResources()) {
return;
}
} catch(FileNotFoundException e) {
string message = "The Microsoft .NET Framework 4.5 could not be found. Please download and install the latest version of the .NET Framework from Microsoft's website and try again.";
switch(ResourceHelper.GetCurrentLanguage()) {
case Language.French: message = "Le .NET Framework 4.5 de Microsoft n'a pas t trouv. Veuillez tlcharger la plus rcente version du .NET Framework partir du site de Microsoft et essayer nouveau."; break;
case Language.Japanese: message = "Microsoft .NET Framework 4.5MesenMicrosoft .NET FrameworkMicrosoft"; break;
case Language.Russian: message = "Microsoft .NET Framework 4.5 . .NET Framework Microsoft ."; break;
case Language.Spanish: message = "Microsoft .NET Framework 4.5 no se ha encontrado. Por favor, descargue la versin ms reciente de .NET Framework desde el sitio de Microsoft y vuelva a intentarlo."; break;
case Language.Ukrainian: message = "Microsoft .NET Framework 4.5 . .NET Framework Microsoft ."; break;
case Language.Portuguese: message = "Microsoft .NET Framework 4.5 no foi encontrado. Por favor, baixe a verso mais recente de .NET Framework do site da Microsoft e tente novamente."; break;
case Language.Chinese: message = " Microsoft .NET Framework 4.5 Microsoft "; break;
}
MessageBox.Show(message + Environment.NewLine + Environment.NewLine + e.ToString(), "Mesen", MessageBoxButtons.OK, MessageBoxIcon.Error);
return;
} catch(Exception e) {
string message = "An unexpected error has occurred.\n\nError details:\n{0}";
switch(ResourceHelper.GetCurrentLanguage()) {
case Language.French: message = "Une erreur inattendue s'est produite.\n\nDtails de l'erreur :\n{0}"; break;
case Language.Japanese: message = "\n\n:\n{0}"; break;
case Language.Russian: message = " .

:
{0}"; break;
case Language.Spanish: message = "Se ha producido un error inesperado.

Detalles del error:
{0}"; break;
case Language.Ukrainian: message = " .

:
{0}"; break;
case Language.Portuguese: message = "Houve um erro inesperado.

Detalhes do erro:
{0}"; break;
case Language.Chinese: message = "\n\n:\n{0}"; break;
}
MessageBox.Show(string.Format(message, e.ToString()), "Mesen", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
if(!RuntimeChecker.TestDll()) {
return;
}
if(CommandLineHelper.PreprocessCommandLineArguments(args, true).Contains("/testrunner")) {
Environment.ExitCode = TestRunner.Run(args);
return;
}
using(SingleInstance singleInstance = new SingleInstance()) {
if(singleInstance.FirstInstance || !ConfigManager.Config.PreferenceInfo.SingleInstance) {
frmMain frmMain = new frmMain(args);
singleInstance.ListenForArgumentsFromSuccessiveInstances();
singleInstance.ArgumentsReceived += (object sender, ArgumentsReceivedEventArgs e) => {
if(frmMain.IsHandleCreated) {
frmMain.BeginInvoke((MethodInvoker)(() => {
frmMain.ProcessCommandLineArguments(CommandLineHelper.PreprocessCommandLineArguments(e.Args, true), false);
frmMain.LoadGameFromCommandLine(CommandLineHelper.PreprocessCommandLineArguments(e.Args, false));
}));
}
};
Application.Run(frmMain);
} else {
if(singleInstance.PassArgumentsToFirstInstance(args)) {
Process current = Process.GetCurrentProcess();
foreach(Process process in Process.GetProcessesByName(current.ProcessName)) {
if(process.Id != current.Id) {
Program.SetForegroundWindow(process.MainWindowHandle);
break;
}
}
} else {
Application.Run(new frmMain(args));
}
}
}
} catch(Exception e) {
MesenMsgBox.Show("UnexpectedError", MessageBoxButtons.OK, MessageBoxIcon.Error, e.ToString());
}
}
}
}
```
|
"Letter Home" is a song written by Wendy Waldman, and recorded by American country music group The Forester Sisters. It was released in June 1988 as the first single from the album Sincerely. The song reached number 9 on the Billboard Hot Country Singles & Tracks chart.
Charts
Weekly charts
Year-end charts
References
1988 singles
1988 songs
The Forester Sisters songs
Songs written by Wendy Waldman
Warner Records singles
|
```go
// +build !windows
package mount // import "github.com/docker/docker/pkg/mount"
import (
"os"
"path"
"testing"
)
func TestMountOptionsParsing(t *testing.T) {
options := "noatime,ro,size=10k"
flag, data := parseOptions(options)
if data != "size=10k" {
t.Fatalf("Expected size=10 got %s", data)
}
expectedFlag := NOATIME | RDONLY
if flag != expectedFlag {
t.Fatalf("Expected %d got %d", expectedFlag, flag)
}
}
func TestMounted(t *testing.T) {
if os.Getuid() != 0 {
t.Skip("root required")
}
tmp := path.Join(os.TempDir(), "mount-tests")
if err := os.MkdirAll(tmp, 0777); err != nil {
t.Fatal(err)
}
defer os.RemoveAll(tmp)
var (
sourceDir = path.Join(tmp, "source")
targetDir = path.Join(tmp, "target")
sourcePath = path.Join(sourceDir, "file.txt")
targetPath = path.Join(targetDir, "file.txt")
)
os.Mkdir(sourceDir, 0777)
os.Mkdir(targetDir, 0777)
f, err := os.Create(sourcePath)
if err != nil {
t.Fatal(err)
}
f.WriteString("hello")
f.Close()
f, err = os.Create(targetPath)
if err != nil {
t.Fatal(err)
}
f.Close()
if err := Mount(sourceDir, targetDir, "none", "bind,rw"); err != nil {
t.Fatal(err)
}
defer func() {
if err := Unmount(targetDir); err != nil {
t.Fatal(err)
}
}()
mounted, err := Mounted(targetDir)
if err != nil {
t.Fatal(err)
}
if !mounted {
t.Fatalf("Expected %s to be mounted", targetDir)
}
if _, err := os.Stat(targetDir); err != nil {
t.Fatal(err)
}
}
func TestMountReadonly(t *testing.T) {
if os.Getuid() != 0 {
t.Skip("root required")
}
tmp := path.Join(os.TempDir(), "mount-tests")
if err := os.MkdirAll(tmp, 0777); err != nil {
t.Fatal(err)
}
defer os.RemoveAll(tmp)
var (
sourceDir = path.Join(tmp, "source")
targetDir = path.Join(tmp, "target")
sourcePath = path.Join(sourceDir, "file.txt")
targetPath = path.Join(targetDir, "file.txt")
)
os.Mkdir(sourceDir, 0777)
os.Mkdir(targetDir, 0777)
f, err := os.Create(sourcePath)
if err != nil {
t.Fatal(err)
}
f.WriteString("hello")
f.Close()
f, err = os.Create(targetPath)
if err != nil {
t.Fatal(err)
}
f.Close()
if err := Mount(sourceDir, targetDir, "none", "bind,ro"); err != nil {
t.Fatal(err)
}
defer func() {
if err := Unmount(targetDir); err != nil {
t.Fatal(err)
}
}()
f, err = os.OpenFile(targetPath, os.O_RDWR, 0777)
if err == nil {
t.Fatal("Should not be able to open a ro file as rw")
}
}
func TestGetMounts(t *testing.T) {
mounts, err := GetMounts(nil)
if err != nil {
t.Fatal(err)
}
root := false
for _, entry := range mounts {
if entry.Mountpoint == "/" {
root = true
}
}
if !root {
t.Fatal("/ should be mounted at least")
}
}
func TestMergeTmpfsOptions(t *testing.T) {
options := []string{"noatime", "ro", "size=10k", "defaults", "atime", "defaults", "rw", "rprivate", "size=1024k", "slave"}
expected := []string{"atime", "rw", "size=1024k", "slave"}
merged, err := MergeTmpfsOptions(options)
if err != nil {
t.Fatal(err)
}
if len(expected) != len(merged) {
t.Fatalf("Expected %s got %s", expected, merged)
}
for index := range merged {
if merged[index] != expected[index] {
t.Fatalf("Expected %s for the %dth option, got %s", expected, index, merged)
}
}
options = []string{"noatime", "ro", "size=10k", "atime", "rw", "rprivate", "size=1024k", "slave", "size"}
_, err = MergeTmpfsOptions(options)
if err == nil {
t.Fatal("Expected error got nil")
}
}
```
|
```go
//go:build go1.18
// +build go1.18
package generated
import (
"github.com/Azure/azure-sdk-for-go/sdk/azcore"
)
func (client *ContainerClient) Endpoint() string {
return client.endpoint
}
func (client *ContainerClient) InternalClient() *azcore.Client {
return client.internal
}
// NewContainerClient creates a new instance of ContainerClient with the specified values.
// - endpoint - The URL of the service account, container, or blob that is the target of the desired operation.
// - pl - the pipeline used for sending requests and handling responses.
func NewContainerClient(endpoint string, azClient *azcore.Client) *ContainerClient {
client := &ContainerClient{
internal: azClient,
endpoint: endpoint,
}
return client
}
```
|
Spherical Tokamak for Energy Production (STEP) is a spherical tokamak fusion plant concept proposed by the United Kingdom Atomic Energy Authority (UKAEA) and funded by UK government. The project is a proposed DEMO-class successor device to the ITER tokamak proof-of-concept of a fusion plant, the most advanced tokamak fusion reactor to date, which is scheduled to achieve a 'burning plasma' in 2035. STEP aims to produce net electricity from fusion on a timescale of 2040. Jacob Rees-Mogg, the UK Secretary of State for Business, Energy and Industrial Strategy, announced West Burton A power station in Nottinghamshire as its site on 3 October 2022 during the Conservative Party Conference. A coal-fired power station at the site ceased production a few days earlier. The reactor is planned to have a 100 MW electrical output and be tritium self-sufficient via fuel breeding.
Plans
In September 2019, the United Kingdom announced a planned £200-million (US$248-million) investment to produce a design for STEP. The funding covers the initial five year concept design phase, while the total capital costs are estimated to be several billion pounds. STEP should be operational by the early 2040s. In February 2023 the UK government established a new delivery body for STEP, UK Industrial Fusion Solutions Ltd., under the UKAEA.
The planned UK facility is based on a ‘tokamak’ design that uses magnetic fields to confine a plasma of heavy isotopes of hydrogen, tritium and deuterium, which fuse under extreme heat and pressure. STEP would be a variant on the basic tokamak, a spherical tokamak that holds the plasma in a cored-apple shape. UKAEA's MAST Upgrade spherical tokamak device started operation in October 2020, and will heavily inform the STEP design. With a total diameter of only around , STEP will be relatively small in comparison to ITER. This greatly reduces the cost, but also puts higher stress on the applied materials.
The construction of STEP is designed to occur over three phases. The first phase, from 2019 to 2024, should create an integrated concept design for the reactor together with a strategy to amass an intellectual property portfolio and manage technical risks. Additionally, it will locate a UK site and establish the operational framework for the venture. The second phase, from 2025 to 2032, will develop the engineering design, including testing and optimizing subsystems, at which stage the STEP site will begin to see a range of engineering activities. In the third phase, from 2032 to 2040, the SPR will be constructed and commissioned.
The reactor's current goal is an electrical output of 100 MWe and will breed its own tritium via Tritium Breeding Modules.
Goals and objectives
According to the UKAEA, STEP is designed to complement, not replace, private-sector development of fusion through synergies such as providing an enhanced research suite of facilities, an integrated design framework which can both inform private-sector activities and serve to solicit a private-sector supply chain of components and subsystems, a UK regulatory framework for fusion, and the training of a national fusion workforce.
The STEP program is designed to achieve the following objectives: Deliver outputs to help inform a fusion regulatory framework
Stimulate commercial investment
Innovate, creating solutions that find near term applications in adjacent sectors
Stimulate growth of the fusion energy supply chain through partnering
Nurture skills in a diverse and inclusive way, training those who will deliver fusion power and supporting skills growth in adjacent sectors
Support industry to develop designs for a first commercial fleet of fusion reactors to follow the SPR [STEP Prototype Reactor]
Develop the new STEP site and associated infrastructure
See also
Mega Ampere Spherical Tokamak, built in UK, and upgraded
ITER, (originally the International Thermonuclear Experimental Reactor), under construction
References
External links
Spherical Tokamak for Energy Production on the Culham Centre for Fusion Energy website
Bassetlaw District
Buildings and structures in Nottinghamshire
Nuclear power in the United Kingdom
Nuclear research institutes in the United Kingdom
Proposed fusion reactors
Science and technology in Nottinghamshire
Tokamaks
|
```javascript
import { ok, test } from '../../test';
export default test({
async test({ assert, component, target }) {
const select = target.querySelector('select');
ok(select);
const [option1, option2] = select;
let selections = Array.from(select.selectedOptions);
assert.equal(selections.length, 1);
assert.ok(!selections.includes(option1));
assert.ok(selections.includes(option2));
component.value = 'Hello';
selections = Array.from(select.selectedOptions);
assert.equal(selections.length, 1);
assert.ok(selections.includes(option1));
assert.ok(!selections.includes(option2));
component.spread = { value: 'World' };
selections = Array.from(select.selectedOptions);
assert.equal(selections.length, 1);
assert.ok(!selections.includes(option1));
assert.ok(selections.includes(option2));
}
});
```
|
The Slovenia men's national under 20 ice hockey team is the national under-20 ice hockey team of Slovenia. The team is controlled by the Ice Hockey Federation of Slovenia, a member of the International Ice Hockey Federation.
History
Slovenia played its first game in 1992 against Estonia during the Pool C qualification tournament of the 1993 IIHF World U20 Championship. Slovenia won the game 4–3 however failed to qualify for the Group C tournament after finishing second in their group and outside of the only next round qualification spot which went to Latvia. During the same tournament Slovenia also achieved their largest win in international participation after they beat Greece 30–1. For the next two years Slovenia remained to the Pool C qualification tournament but failed to qualify in both years. However a format change for the 1995 IIHF World U20 Championship meant that Slovenia who finished last in the Pool C1 Qualification tournament moved on to the newly formed Pool C2 tournament. During this tournament Slovenia had their worst defeat in international participation after being beaten by Kazakhstan 0–11. After advancing to the Pool C2 tournament Slovenia finished second in the group standings behind Kazakhstan and gained promotion to the Pool C for the following year. Slovenia remained in Pool C until 2001 when the International Ice Hockey Federation changed the format of the World Championships and Slovenia was reseeded into the Division II tournament. During the first year of the Division II tournament at the 2001 IIHF World U20 Championship Slovenia gained promotion to Division I after defeating Japan in the final. Slovenia has continued to compete in the Division I tournament and in 2013 finished fourth in the Division I Group A tournament being held in Amiens, France.
Anze Kopitar currently holds the team record for most points with 21. Kopitar competed in three IIHF World U20 Championship for the Slovenian under-20 team from 2004 to 2006 with his best result in 2005 where he scored 10 goals and three assists in the Division I Group B tournament at the 2005 IIHF World U20 Championship.
International competitions
References
External links
Ice Hockey Federation of Slovenia
Junior
Junior national ice hockey teams
|
The Standards, Productivity and Innovation Board (abbreviation: SPRING Singapore) was a statutory board under the Ministry of Trade and Industry of the Singapore Government. It worked as an agency for enterprise development, and helped enterprises enhance their competitiveness in the Singapore market. It was also the national standards and conformance body.
On April 1, 2018, SPRING Singapore was merged with IE Singapore to form Enterprise Singapore.
History
Formerly known as Productivity and Standards Board (PSB), it was formed from the merger between the National Productivity Board (NPB) and the Singapore Institute of Standards and Industrial Research (SISIR) in April 1996. It helped to bring together the soft skills of productivity handled by NPB and the technical aspects handled by SISIR.
In April 2002, the organization was renamed SPRING Singapore and shifted towards an innovation-driven economy, and its new role in promoting creativity to sustain growth for Singaporeans.
Mission
As the national standards and conformance body, SPRING Singapore 'helped to lower technical barriers to trade, provide quality assurance for products and services and promote industry use of Singapore and international standards'.
SPRING Singapore's mission was "to help Singapore enterprises grow and build trust in Singapore products and services".
Organisation
SPRING Singapore was headed by Philip Yeo, former head of A*STAR.
SPRING Singapore was divided into five departments:
Enterprise Capabilities
Enterprise Promotion
Industry Development
Quality & Standards
Corporate Development
Portfolio
The agency had three areas of focus: productivity and innovation; standards and quality; and Small and medium-sized enterprises (SMEs) and the domestic sector.
Scholarships
In 2008, SPRING Singapore awarded their first batch of Executive Development Scholarships (EDS) to focused junior college and university students with business and entrepreneurship goals.
The Management Development Scholarship (MDS) was also available to employees of SMEs who wish to pursue their Masters with a university on SPRING Singapore's list. Up to 90% of the course fees was subsidised by SPRING Singapore, with the remaining 10% fully borne by the SME company. This scholarship came with a bond of up to two years with the sponsoring SME company.
See also
Ministry of Trade and Industry
Government of Singapore
Economy of Singapore
References
Productivity organizations
Government agencies established in 2002
2002 establishments in Singapore
2018 disestablishments in Singapore
|
Christopher John McCabe (born 20 October 1967) is a British scientist and novelist. He is Professor of Molecular Endocrinology at the University of Birmingham.and writes novels under the pseudonyms John McCabe and John Macken.
He was born in Vancouver to English parents who were originally from Yorkshire. The family later returned to England and settled in Somerset.
Publications
Novels as "John McCabe"
Stickleback
Paper
Snakeskin
Big Spender
Herding Cats
Novels as "John Macken"
Dirty Little Lies
Trial by Blood
Breaking Point
Control
References
External links
McCabe, Chris (5 February 2004). "A mission to sex up scientese". The Guardian
British writers
1967 births
Living people
|
James Ashley (1958 – 15 January 1998) was a British man who, while unarmed and naked, was shot dead by police in his flat in St Leonards-on-Sea, East Sussex, on 15 January 1998. Armed officers raided the building on the suspicion that Ashley kept a firearm and a quantity of cocaine there, and to arrest him and another man in connection with a stabbing. Neither a firearm nor a significant quantity of drugs was found, the other man was not present, and it later emerged that Ashley was not implicated in the stabbing. Ashley, likely woken by the noise of the raid, was out of bed when an armed police officer entered his bedroom. On seeing the officer, Ashley raised one arm and the officer reacted by firing a single shot. Later that morning, Sussex Police chief constable Paul Whitehouse held a press conference in which he praised the conduct of the operation.
Two inquiries were held by other police forces under the auspices of the Police Complaints Authority (PCA), both of which strongly criticised the raid. The first found that the use of armed officers breached national guidelines, that the raid team had been inadequately trained, and that the officers in charge of it had received no training for their roles and had misrepresented intelligence to gain authorisation for the operation. The second inquiry accused Whitehouse, Deputy Chief Constable Mark Jordan, and Sussex's two assistant chief constables of colluding to obstruct the first. It suggested that Whitehouse knowingly gave false statements in his press conference, and recommended criminal charges against three of the four. The officer who shot Ashley was charged with murder in 2001 but acquitted on the grounds of self-defence. The officers who led the operation were charged with misconduct in public office and were also acquitted. No criminal charges were brought against the chief officers, but Jordan and Whitehouse both faced disciplinary proceedings. Jordan was suspended and allowed to retire in 2001. Whitehouse resigned in the same year under pressure from the Home Secretary, David Blunkett. His successor publicly apologised to Ashley's family in 2003.
Ashley's father and son sued the police for negligence and battery in Ashley v Chief Constable of Sussex Police. The police offered to settle all damages under the action for negligence and the other claims were struck out at the High Court, which the family appealed. The case reached the House of Lords (then the United Kingdom's highest court), where the appeal was successful. The lords confirmed that the threshold for a plea of self-defence in a civil case was higher than in a criminal one and that it was for the litigants, not the judge, to decide which causes of action to pursue, even where no further damages were available.
Ashley's death has been compared to other mistaken police shootings in the United Kingdom, including those of Stephen Waldorf, John Shorthouse, Harry Stanley, and Jean Charles de Menezes. It was one of the cases considered in a 2003 report by the PCA which recommended stronger control of armed operations and equipping armed officers with less-lethal alternatives such as tasers.
Prelude
James "Jimmy" Ashley was a 39-year-old man from Liverpool living in St Leonards-on-Sea, East Sussex, on the south coast of England. Ashley and a group of friends occupied three of the six flats in a converted house in Western Road. He was suspected by Sussex Police of being involved in the distribution of heroin, and the police had heard rumours that he owned a gun. They placed the house under surveillance in October 1997, though the operation was wound up without producing any substantive evidence.
On 7 January 1998, Ashley was present when Thomas "Tosh" McCrudden, a friend he had been drinking with, stabbed and seriously wounded another man in an argument outside a pub in Hastings town centre. Ashley's only involvement was to pull McCrudden away from the victim. In the following week, armed officers were deployed to pursue several leads but failed to apprehend McCrudden. Officers believed McCrudden was staying in the Western Road house and formulated a plan to raid it. Detectives obtained a search warrant based on a tip-off from an officer in the regional crime squad that a large quantity of cocaine had been delivered to the house, and the plan to use armed officers was authorised by the deputy chief constable, Mark Jordan, based on the rumour that Ashley had a firearm. The officers conducting the raid were briefed that McCrudden was dangerous and known to be in the flats and about the potential firearm. They were also told, incorrectly, that Ashley was wanted for shooting a man in Eastbourne and had a previous conviction for attempted murder. At the time, it was the largest firearms operation in Sussex Police's history, using 25 armed officers.
Shooting
On 15 January, at approximately 04:30, officers from Sussex Police executed a search warrant on the Western Road house. The operation had three stated objectives—the apprehension of McCrudden, the retrieval of the cocaine, and the seizure of the firearm. It used a technique known as "Bermuda", which was originally designed for hostage-rescue operations but had become standard in Sussex Police for rapid entry operations to secure evidence. The technique was known to be high-risk as it involved lone officers rapidly entering an assigned room before calling in backup if a threat was found, and had previously been criticised in the media, while other police forces had discontinued its use. Only four of the six occupants of the flats were the target of the raid, but the police did not have details of which occupants lived in which of the flats. The police also lacked plans for the building, which hampered the raid when they encountered a locked internal door. Once opened, the door blocked the entrance to Ashley's flat, further delaying the officers.
Ashley had been naked in bed when his girlfriend woke him to investigate a noise, likely caused by police forcing doors in the building. As he moved towards the door of his darkened bedroom, he suddenly encountered one of the officers. Ashley raised his arm, to which the officer reacted by firing a single shot at a range of about . Ashley was hit in the armpit and the bullet travelled to his heart, killing him almost immediately. At the conclusion of the raid, no firearms or significant quantity of drugs (only a small quantity of cannabis) was found. Three men in two other flats were arrested but McCrudden was not among them and none were wanted by the police; all three were later released without charge. On the day of the raid, Sussex Police's chief constable, Paul Whitehouse, held a press conference at which he announced that Ashley had been wanted for attempted murder. He praised the conduct of the operation, and claimed that the deployment of armed officers had been justified and necessary.
Inquiries
An inquiry was launched by neighbouring Kent Police under the supervision of the Police Complaints Authority (PCA), and led by Barbara Wilding, an assistant chief constable. Two police constables (including PC Christopher Sherwood, the officer who shot Ashley) were suspended, along with three more senior officers—a superintendent and two inspectors. Two superintendents from other police forces, experts on police firearms policy, gave evidence to the Kent Police inquiry that the operation did not follow national guidelines for police use of firearms, and that the use of armed officers was not necessary to apprehend McCrudden as there was no evidence that he had access to firearms; further, if a firearm was believed to be in the flat, the preferable tactic would have been to arrest the suspects on the street rather than send police officers into the building. The investigation further found that the use of armed officers in earlier attempts to arrest McCrudden also breached national guidelines, in that senior officers improperly granted authority for the use of firearms, and that on several occasions armed officers self-deployed without authorisation at all.
The inquiry revealed that neither the police officer in charge of the manhunt for McCrudden (the incident commander) nor the intelligence commander on the operation were adequately trained for their roles and that they had been warned against the use of the "Bermuda" tactic by national experts because it presented too high a risk for the stated objectives, and that the police had failed to prepare for the operation by obtaining plans for the building and details of other occupants. It also emerged that the officers deployed on the raid had never trained as a group in the use of the tactic, and that Sherwood had never been trained in it individually. The Kent inquiry concluded that the basis for the raid was "not merely exaggerated, it was determinably false" and that the officers involved in its planning had "concocted" the evidence or planned to misrepresent it to justify the operation.
The PCA commissioned a second inquiry, convened in August 1998 and chaired by Sir John Hoddinott, chief constable of Hampshire Constabulary, to investigate the conduct of Sussex's chief officers, after Wilding's report accused them of obstructing her investigation. Hoddinott interviewed Whitehouse, Jordan, and Sussex's two assistant chief constables, Nigel Yeo and Maria Wallis, over allegations that they had misled the original inquiry by claiming that they could not recall key details and that they had misrepresented the intelligence that led to the raid. The Hoddinott inquiry suggested that the incident commander and intelligence commander both knew that neither McCrudden nor the cocaine were in the building, or that they at least exaggerated the strength of the intelligence, to bolster their case for authorisation to the deputy chief constable. In particular, the tip off from the regional crime squad was in fact in relation to a potential drugs shipment to an unrelated address, the belief that McCrudden was inside was exaggerated from a report of an unidentified man entering the building, and the report of a firearm was based on nothing more than rumour.
Hoddinott sharply criticised Whitehouse and the press conference he held on the day of the raid, in which, according to the report, Whitehouse "wilfully failed to tell the truth as he knew it; he did so without reasonable excuse or justification and what he published and said was misleading and therefore likely to injure the public interest". His report suggested there was "evidence of collusion between some or all of the chief officers" of Sussex Police to conceal what they already knew at the time of the press conference (that Ashley was unarmed, that no significant quantity of drugs had been found, and that McCrudden was not present), and that "an arguable case of attempting to pervert the course of justice might be made out", though he concluded that a charge of misconduct in public office was more credible. Hoddinott also accused Jordan of malfeasance, discreditable conduct, and supporting Whitehouse's false statements, and Yeo, one of the assistant chief constables, of malfeasance.
Prosecutions and disciplinary proceedings
Sherwood was charged with murder and tried at the Old Bailey in London in 2001, but was acquitted after the trial judge, Mrs Justice Anne Rafferty, directed the jury to find him not guilty. Sherwood claimed self-defence, telling the court that he feared for his life, believing—based on the briefing for the operation—that Ashley's outstretched arm was holding a firearm and was about to shoot. In directing the jury, the judge stated that no evidence had been presented that Sherwood fired other than in self-defence, and in her summing up suggested that "those who should be held accountable were not present" in her court. The superintendent and two inspectors suspended after the first inquiry were then prosecuted for misconduct in public office in relation to their planning and execution of the raid. The prosecution alleged that the three had deliberately failed to give an accurate representation of the intelligence but all three were found not guilty at Wolverhampton Crown Court when the Crown Prosecution Service declined to offer any evidence. Nigel Sweeney, prosecuting, told the court that the depth of "corporate failing" within Sussex Police made it impossible to place criminal liability with individual officers. Following the verdict Ashley's family announced their intention to sue Sussex Police for negligence.
Hoddinott's report was forwarded to the Crown Prosecution Service (CPS) for consideration of charges against the chief officers of Sussex Police for misconduct in public office, but the CPS dropped the case on the grounds of insufficient evidence. Whitehouse was suspended for three weeks while the Sussex police authority considered Hoddinott's report but was reinstated with written advice, in which the authority told him it was "not satisfied that you have not committed a disciplinary offence", and instructed him that "your role as a strong and supportive commander of your force should never be confused with your duty never to mislead or misinform". He resigned in 2001 after the Home Secretary, David Blunkett, wrote to the police authority, instructing them to consider dismissing Whitehouse. Jordan was also suspended after the report and faced internal disciplinary proceedings following the CPS's decision not to pursue criminal charges, but was allowed to retire on medical grounds in 2001. The three middle-ranking officers acquitted of misconduct in public office remained suspended pending internal disciplinary proceedings, which were dropped in 2003. The officers, along with two others involved in Ashley's death, sued the force the following year, claiming it had been negligent in failing to train them properly and that they had suffered psychiatric injury as a result of the shooting and subsequent criminal and disciplinary proceedings. Their case was thrown out at the High Court and an appeal in 2006 was dismissed on the grounds that the damages suffered were too remote from the alleged negligence to be reasonably foreseeable.
The local coroner opened an inquest in the immediate aftermath of Ashley's death but it was adjourned pending the outcome of the police investigations and criminal proceedings. In 2001, the coroner informed the interested parties that the inquest would not be resumed. As a result, the family began campaigning for a public inquiry into the circumstances of Ashley's death and the subsequent investigations. The government considered the request but no such inquiry was held.
Whitehouse's successor as chief constable, Ken Jones, almost immediately introduced changes to the force's policies on conducting armed operations. He also issued an apology on behalf of the force in 2003, travelling to Liverpool to make the apology to Ashley's mother in person. He said "James should not have died but, and this will be of small comfort to his loved ones and friends, his death has resulted in safer firearms procedures for us all". Ashley's family welcomed the apology but, with the backing of their local MP, Louise Ellman, continued to campaign for a public inquiry.
Civil case
Ashley's son and father sued Sussex Police for the torts of negligence (in respect of the planning of the operation and the shooting itself), battery, false imprisonment, and misfeasance in public office. The case was first heard by Mrs Justice Linda Dobbs in the High Court in 2004 as Ashley v Chief Constable of Sussex Police. The police admitted false imprisonment and to negligence in relation to the planning of the raid but denied liability for all other counts (including negligence regarding the shooting itself). They offered to pay the full amount of damages sought by the Ashleys under those causes of action. Mrs Justice Dobbs ruled, on summary judgment, that the police's offer meant that continuing with the other claims would be an abuse of process, and that the action for battery had no realistic prospect of success as the burden of proof was on the claimants, who could not negate Sherwood's self-defence claim from the criminal trial.
The Ashleys appealed the striking out of their claim for battery to the Court of Appeal, where the case was heard in 2006. The Court of Appeal held that the judge had erred in her decision that the battery claim had no realistic prospect of success and in her decision that the burden of proof rested with the claimant to disprove a defence of self-defence in a civil case. The court allowed the family's appeal, holding that—in a civil action for battery—the burden was on the respondent (the police) to prove their claim of self-defence, and that the claim had to be based on both an "honest" and a "reasonable" belief of being in imminent danger, a higher standard than in criminal law. The court (by a majority) also held that continuing the claim for battery would not be an abuse of process, even though the police had offered to pay all the compensation sought by the family under the claims for negligence and false imprisonment (meaning that they would receive no further damages if their claim for battery succeeded).
The police appealed the decision to the House of Lords, then the United Kingdom's court of last resort. The Law Lords considered two main issues, both in relation to the battery claim. The first was the standard for a self-defence claim in a civil case and whether, in a case of a mistaken belief that the defendant was under attack, that belief must be both honest and reasonable, and the second was whether it would be an abuse of process to allow the battery claim to proceed given the police's offer to pay all the damages sought. On the first, the lords unanimously upheld the Court of Appeal's finding that both criteria must be met for a defence of self-defence to succeed in a tort action. Lord Scott noted that "it is fundamental to criminal law ... that, as a general rule, no-one should be punished for a crime he or she did not intend to commit or be punished for the consequences of an honest mistake" but that "the function of the civil law is ... to identify and protect the rights that every person is entitled to assert against, and require to be respected by, others" and that the law "must strike a balance between these conflicting rights". He concluded that "it is one thing to say that if A's mistaken belief was honestly held he should not be punished by the criminal law. It would be quite another to say that A's unreasonably held mistaken belief would be sufficient to justify the law in setting aside B's right not to be subjected to physical violence".
The lords were split on the second point, the minority (Lord Carswell and Lord Neuberger of Abbotsbury) believing allowing the claim for battery to proceed would be an abuse of process given that no further damages were available. Lord Carswell, quoting Lord Justice Auld from the Court of Appeal, opined that "the civil courts exist to award compensation, not conduct public inquiries". Nonetheless, the majority (three to two) held that the battery claim was not an abuse of process and that it was for the litigants, not the judiciary, to decide which actions to pursue, noting that the success of the claim would not expose Sherwood to double jeopardy, and noting again the different purposes of tort and criminal law.
The police and the Ashley family agreed damages in 2009. In a statement, Ashley's son said "The police killed my dad illegally. They have now admitted it and apologised, and at last I know everything that happened". While maintaining that the shooting itself was not unlawful, the police issued a statement describing Ashley's death as "a tragedy which should never have occurred" and conceded that it "was caused by a series of failures at levels of Sussex Police in relation to events prior to the raid and its planning and execution ... Sussex Police also acknowledges that there were serious shortcomings in the way in which the aftermath of Mr Ashley's death was handled".
Impact
Although the case merely confirmed existing law, rather than changing it or creating new law, it was still deemed significant for its confirmation that the standard for a claim of self-defence was higher in a civil case than a criminal one, and for Lord Scott's analysis of the differing purposes of criminal and civil law and the confirmation that a "not guilty" verdict in a criminal court did not preclude civil liability.
According to Nick Davies, in an investigation for The Guardian newspaper in 2001, Ashley's death was one of 41 incidents in the preceding decade in which police in England and Wales shot a person who turned out not to have a firearm. Of those shootings, at least 15 proved fatal. In 28 of the 41 cases, the person shot had a replica firearm or some other kind of weapon, and another six were accidental discharges, leaving seven (including Ashley) which Davies described as "disturbing". Davies concluded that "this might look like a ... a licence for police officers to kill. In reality, it indicates something very different but equally disturbing...: police use of firearms is inherently dangerous. The more police are armed, the more they will shoot the wrong people. And the law which surrounds this is inadequate and incapable of fixing the blame when things go wrong".
Davies described Ashley's shooting as "merely the final shot in a volley of error unleashed by just about every rank in Sussex police". Ashley's death has been compared by the media and academics to several other mistaken shootings by police officers in Britain, in particular the 1983 shooting of Stephen Waldorf, the 1985 death of John Shorthouse, the 1999 death of Harry Stanley, and the 2005 death of Jean Charles de Menezes. Waldorf was a film editor shot and seriously injured by police officers in London after he was mistaken for an escaped criminal; he later sued the police and was awarded substantial damages. John Shorthouse was a five-year-old boy who was shot dead during an armed police raid on his parents' home in Birmingham. Stanley was shot dead by a police armed response team who mistook a table leg he was carrying for a firearm; after two inquests, a criminal investigation, and an independent inquiry it was eventually decided that the officers involved would not face criminal or disciplinary proceedings. Menezes was a Brazilian electrician who was wrongly identified as a fugitive terrorist involved in a failed suicide bombing the day before and was shot by counter-terrorism officers when he boarded a London Underground train. A 2005 article in The Independent, following the dropping of charges against the officers who shot Stanley, also drew comparisons with Ashley's case and listed it among 30 fatal police shootings in the preceding 12 years, none of which resulted in a successful prosecution of a police officer.
Maurice Punch, an academic specialising in policing issues, described the ramifications of the Ashley case as "profound" in that an individual police officer was charged with murder for actions taken "in the course of his duty and under the command of superiors" and for Mrs Justice Rafferty's comments regarding upward accountability, a theme Punch compared to the shooting of three Provisional IRA members by the Special Air Service in Gibraltar in 1988 (Operation Flavius).
Among Jones's first actions as the new chief constable was to strengthen Sussex Police's procedures for the deployment of armed officers. In January 2003, a PCA report considered 24 police shootings from 1998 to 2001, including Ashley's. Among its recommendations were that armed police officers also be equipped with non-lethal options, such as tasers, to reduce the chances of further shootings, a recommendation that was endorsed by Ashley's mother. The report also recommended stronger command and control of firearms operations.
See also
Police use of firearms in the United Kingdom
List of killings by law enforcement officers in the United Kingdom
Notes
References
Bibliography
Citations
1958 births
1998 deaths
1998 in England
2008 in United Kingdom case law
1990s in East Sussex
2000s trials
Deaths by firearm in England
Deaths by person in England
Hastings
House of Lords cases
January 1998 events in the United Kingdom
Murder trials
Negligence case law
Police misconduct in England
Trials in London
United Kingdom tort case law
|
```java
Default values for unassigned data types
Using `enum` in Java
Finding a substring in a string
Equals operation on different data types
Do not attempt comparisons with NaN
```
|
Aujeszky's disease, usually called pseudorabies in the United States, is a viral disease in swine that is endemic in most parts of the world. It is caused by Suid herpesvirus 1 (SuHV-1). Aujeszky's disease is considered to be the most economically important viral disease of swine in areas where classical swine fever (hog cholera) has been eradicated. Other mammals, such as cattle, sheep, goats, cats, dogs, and raccoons, are also susceptible. The disease is usually fatal in these animal species.
Research on SuHV-1 in pigs has pioneered animal disease control with genetically modified vaccines. SuHV-1 is now used in model studies of basic processes during lytic herpesvirus infection, and for unravelling molecular mechanisms of herpesvirus neurotropism.
History
In 1902, a Hungarian veterinarian, Aladár Aujeszky, demonstrated a new infectious agent in a dog, ox, and cat, and showed it caused the same disease in swine and rabbits. In the following decades the infection was found in several European countries, especially in cattle, where local intense pruritus (itching) is a characteristic symptom. In the United States, a well known disease in cattle called "mad itch" was concluded to be in fact Aujeszky's disease.
Disease overview
The virus is shed in the saliva and nasal secretions of swine infected by the respiratory route. Aerosolization of the virus and transmission by fomites also may occur. The virus may potentially survive for seven hours in humid air, and it may survive on well water for up to seven hours, in green grass, soil, and feces for up to two days, in contaminated feed for up to three days, and in straw bedding for up to four days.
Diagnosis is made mainly by virus isolation in tissue cultures, or through ELISA or PCR tests. Vaccines are available for swine (ATCvet codes: inactivated, live, plus various combinations). The infection has been eradicated in a number of European countries. In the United States, the domestic swine population in 2004 was declared free of Aujeszky's disease, though the infection still remains in feral pig populations.
Clinical signs
Respiratory infection is usually asymptomatic in pigs more than two months old, but it can cause abortion, high mortality in piglets, and coughing, sneezing, fever, constipation, depression, seizures, ataxia, circling, and excess salivation in piglets and mature pigs. Mortality in piglets less than one month of age is close to 100%, but it is less than 10% in pigs between one and six months of age. Pregnant swine can reabsorb their litters or deliver mummified, stillborn, or weakened piglets. In cattle, symptoms include intense itching followed by neurological signs and death. In dogs, symptoms include intense itching, jaw and pharyngeal paralysis, howling, and death. Any infected secondary host generally only lives two to three days.
Genital infection appears to have been common in a great part of the 20th century in many European countries in swine herds, where boars from boar centres were used for natural service of sows or gilts. This disease manifestation has always been asymptomatic in affected pigs, and presence of the infection on a farm was detected only because of cases in cattle showing pruritus on the hindquarters.
In susceptible animals other than swine, infection is usually fatal, and the affected animals most often show intense pruritus in a skin area. Pruritus in Aujeszky's disease is considered a phantom sensation as virus has never been found at the site of pruritus.
Pathogenicity and virulence of SuHV-1
The epidemiology of Aujeszky's disease varies with the pathogenicity or virulence of the virus strain involved. This is best illustrated by the development of the severity of the disease in Denmark, where import of swine had been forbidden for decades up to 1972. Before 1964 only genital strains were spread, but then respiratory strains appeared, which subsequently were spread rapidly over the country, mainly by the trade of animals. In the late 1970s more virulent strains developed. The disease in swine became much more severe, outbreaks of respiratory disease in cattle rose dramatically, and the infection was spread airborne to other swine herds. The higher virulence of these virus strains was associated with a certain ability to create syncytia (cell fusion) in tissue cultures (syncytial virus strains). Comprehensive restriction fragment pattern analyses of virus DNA have documented that the more virulent strains had not been introduced from abroad but had developed in two steps from the original Danish strains. The correlation between high virulence of virus strains and syncytium formation in tissue cultures was confirmed by examinations of isolates from other countries. This second step in the severity development of the disease in Denmark caused the decision to eradicate. New outbreaks after the eradication of the indigenous infection by the end of 1985 were all caused by foreign highly virulent, syncytial strains introduced by airborne transmission from Germany.
Briefly, SuHV-1 is spread either genitally or respiratorily. Genital strains have been found to be non-syncytial. Respiratory strains may be of relatively low or of high virulence. In Europe, syncytial strains have been found to be highly virulent.
Epidemiology
Populations of wild boar, or feral hogs (Sus scrofa), in the US commonly contract and spread the virus throughout their range. Mortality is highest in young piglets. Pregnant sows often abort when infected. Otherwise healthy male adults (boars) are typically latent carriers, that is, they harbor and transmit the virus without displaying signs or experiencing disability.
Swine (both domestic and feral) are usual reservoirs for this virus, though it does affect other species. Aujeszky's disease has been reported in other mammals, including brown bears, and black bears, Florida panthers, raccoons, coyotes, and whitetail deer. In most cases, contact with pigs or pig products was either known or suspected. Outbreaks in farm fur species in Europe (mink and foxes) have been associated with feeding contaminated pig products. Many other species can be experimentally infected. Humans are not potential hosts.
Cattle have been found to be infected either by the respiratory or the vaginal route (iatrogenic cases disregarded). Primary infection of mucous membranes of the upper respiratory tract is associated with head pruritus, while lung infection results in chest pruritus. Vaginal infection of bovines, which regularly show pruritus of the hindquarters, has been found to be associated with a concurrent genital infection in swine on the same premises, and investigations have evidenced that the vaginal infection of cattle had been sexually transmitted by man from infected sows. Genital infection in swine herds has been closely correlated with the use of boars from boar centres for natural service of sows.
Transmission
Aujeszky's disease is highly contagious. The infection is commonly considered to be transmitted among swine through nose-to-nose contact, because the virus is mostly present in nasal and oral areas. This notion, however, is contradicted by results from epidemiological studies, according to which the decisive spread within herds occurs by air currents over many meters. Correspondingly, the risk of airborne transmission of highly virulent virus strains from acutely infected herds to other swine herds has been found to be very high. The infection has been found transmitted over distances of many kilometers.
Otherwise, the infection is most often transmitted into herds by introduction of acutely or latently infected pigs.
Concerning transmission to cattle, see section above.
Prevention
Although no specific treatment for acute infection with SuHV-1 is available, vaccination can alleviate clinical signs in pigs of certain ages. Typically, mass vaccination of all pigs on the farm with a modified live virus vaccine is recommended. Intranasal vaccination of sows and neonatal piglets one to seven days old, followed by intramuscular (IM) vaccination of all other swine on the premises, helps reduce viral shedding and improve survival. The modified live virus replicates at the site of injection and in regional lymph nodes. Vaccine virus is shed in such low levels, mucous transmission to other animals is minimal. In gene-deleted vaccines, the thymidine kinase gene has also been deleted; thus, the virus cannot infect and replicate in neurons. Breeding herds are recommended to be vaccinated quarterly, and finisher pigs should be vaccinated after levels of maternal antibody decrease. Regular vaccination results in excellent control of the disease. Concurrent antibiotic therapy via feed and IM injection is recommended for controlling secondary bacterial pathogens.
Applications in neuroscience
SuHV-1 can be used to analyze neural circuits in the central nervous system (CNS). For this purpose the attenuated (less virulent) Bartha SuHV-1 strain is commonly used and is employed as a retrograde and anterograde transneuronal tracer. In the retrograde direction, SuHV-1-Bartha is transported to a neuronal cell body via its axon, where it is replicated and dispersed throughout the cytoplasm and the dendritic tree. SuHV-1-Bartha released at the synapse is able to cross the synapse to infect the axon terminals of synaptically connected neurons, thereby propagating the virus; however, the extent to which non-synaptic transneuronal transport may also occur is uncertain. Using temporal studies and/or genetically engineered strains of SuHV-1-Bartha, second, third, and higher order neurons may be identified in the neural network of interest.
See also
Animal viruses
Virology
References
External links
Overview of the virus and its applications in neuroscience
Animal viruses
Swine diseases
Dog diseases
Animal viral diseases
Herpesviridae
|
Monterrey Municipality is one of the 51 subdivisions of the State of Nuevo León, Mexico. Its municipal seat is located in the City of Monterrey.
The municipal government is headed by the municipal president of Monterrey (mayor of Monterrey).
References
External links
.
Municipalities of Nuevo León
|
Giolla na Naomh Ó Cianain (died 14 August 1348) was an Abbot of Lisgoole, Ireland. He was the earliest recorded member of the Ó Cianain family of historians.
Sources
The Learned Family of Ó Cianain/Keenan, by Nollaig Ó Muraíle, in Clougher Record, pp. 387–436, 2005.
Augustinian Order
People from County Fermanagh
14th-century deaths
Year of birth missing
14th-century Irish historians
14th-century Irish abbots
1348 deaths
|
The Hellerman Rocks () are a group of seven small islets and rocks connected by a shoal, located east of Hermit Island, off the southwest coast of Anvers Island, Antarctica. It was named by the Advisory Committee on Antarctic Names for Lieutenant Lance W. Hellerman of the U.S. Navy Reserve, Officer-in-Charge of Palmer Station in 1969.
References
Rock formations of the Palmer Archipelago
|
```objective-c
//
// FLEXArgumentInputNumberView.m
// Flipboard
//
// Created by Ryan Olson on 6/15/14.
//
#import "FLEXArgumentInputNumberView.h"
#import "FLEXRuntimeUtility.h"
@implementation FLEXArgumentInputNumberView
- (instancetype)initWithArgumentTypeEncoding:(const char *)typeEncoding
{
self = [super initWithArgumentTypeEncoding:typeEncoding];
if (self) {
self.inputTextView.keyboardType = UIKeyboardTypeNumbersAndPunctuation;
self.targetSize = FLEXArgumentInputViewSizeSmall;
}
return self;
}
- (void)setInputValue:(id)inputValue
{
if ([inputValue respondsToSelector:@selector(stringValue)]) {
self.inputTextView.text = [inputValue stringValue];
}
}
- (id)inputValue
{
return [FLEXRuntimeUtility valueForNumberWithObjCType:[self.typeEncoding UTF8String] fromInputString:self.inputTextView.text];
}
+ (BOOL)supportsObjCType:(const char *)type withCurrentValue:(id)value
{
static NSArray *primitiveTypes = nil;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
primitiveTypes = @[@(@encode(char)),
@(@encode(int)),
@(@encode(short)),
@(@encode(long)),
@(@encode(long long)),
@(@encode(unsigned char)),
@(@encode(unsigned int)),
@(@encode(unsigned short)),
@(@encode(unsigned long)),
@(@encode(unsigned long long)),
@(@encode(float)),
@(@encode(double))];
});
return type && [primitiveTypes containsObject:@(type)];
}
@end
```
|
Drei Flaschen ("three bottles") is a German band, formed in 1995 in Berlin.
After their first show ever the band was asked to play as supporting act for The Exploited and so they did.
In June 1997 their selfproduced low-budget-debut ...mit Sossää ?!? was released in Europe. With the assistance of Lifestyle Records of Toronto it was released a few months later in Canada. There it charted into the college radio charts. It was also released in the United States.
In 1998 the band released 12 live bonus tracks on Me And My Sk8board.
The band in 1999 released its first live longplayer called Kaisers Of Metal.
Their current album is called Die Rebellion steckt im Detail.
In May 2002, the band released full length split CD together with Argentina's punk rockers Argies.
In June 2005, the band released the vinyl only "1.Mai" EP produced by Harris Johns (worked before e.g. with Slipknot, Sepultura and Einstürzende Neubauten)
The band toured Germany, Austria, Switzerland, Italy, the Netherlands, Denmark, Czech Republic, Poland, Australia, New Zealand, the United States, Argentina, Brazil and even South Africa.
They played their final show on January 27, 2007 at the White Trash in Berlin and released the DVD "This cannot be the truth" the same day.
External links
Homepage of the band
German musical groups
Musical groups established in 1995
Musical groups from Berlin
|
```makefile
################################################################################
#
# stress-ng
#
################################################################################
STRESS_NG_VERSION = 0.13.05
STRESS_NG_SITE = $(call github,ColinIanKing,stress-ng,V$(STRESS_NG_VERSION))
STRESS_NG_LICENSE = GPL-2.0+
STRESS_NG_LICENSE_FILES = COPYING
ifeq ($(BR2_PACKAGE_LIBBSD),y)
STRESS_NG_DEPENDENCIES += libbsd
endif
ifeq ($(BR2_PACKAGE_KEYUTILS),y)
STRESS_NG_DEPENDENCIES += keyutils
endif
define STRESS_NG_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
endef
# Don't use make install otherwise stress-ng will be rebuild without
# required link libraries if any. Furthermore, using INSTALL allow to
# set the file permission correcly on the target.
define STRESS_NG_INSTALL_TARGET_CMDS
$(INSTALL) -m 0755 -D $(@D)/stress-ng $(TARGET_DIR)/usr/bin/stress-ng
endef
$(eval $(generic-package))
```
|
```xml
import { HttpClient } from '@microsoft/sp-http';
export interface IInvitationManagerProps {
title: string;
httpClient: HttpClient;
webPartId: string;
}
```
|
```javascript
import { test } from '../../test';
export default test({
get props() {
return {
foo: 'lol',
baz: 40 + 2,
qux: `this is a ${'piece of'} string`,
quux: 'core'
};
},
html: `
<div><p>foo: lol</p>
<p>baz: 42 (number)</p>
<p>qux: named</p>
<p>quux: core</p></div>
`,
async test({ assert, component, target }) {
await component.$set({
foo: 'wut',
baz: 40 + 3,
qux: `this is a ${'rather boring'} string`,
quux: 'heart'
});
assert.htmlEqual(
target.innerHTML,
`
<div><p>foo: wut</p>
<p>baz: 43 (number)</p>
<p>qux: named</p>
<p>quux: heart</p></div>
`
);
}
});
```
|
Geoffrey Charles Smith, MBE (born 1953) is a British mathematician. He is Senior Lecturer in Mathematics at the University of Bath (where he works in group theory) and current professor in residence at Wells Cathedral School.
He was educated at Trinity School in Croydon, and attended Keble College, Oxford, the University of Warwick, and the University of Manchester, where he gained a Ph.D. in group theory in 1983.
Smith was the leader of the United Kingdom team at the International Mathematical Olympiad between 2002 and 2010, a longer continuous period than any other person. He returned to the position as leader of the British Mathematical Olympiad from 2013.
Smith oversaw a quantitative increase in training: annual events in Bath (moving to The Queen's College, Oxford, from 2009), at Oundle School, in Hungary, at Trinity College, Cambridge, and immediately prior to the IMO itself. He also thrice won the IMO Golden Microphone, awarded to the national team leader who makes the most speeches to the IMO Jury. In 2010, he was elected to the IMO Advisory Board for a four-year period. Smith was elected as the chair of the International Mathematical Olympiad for the term of 2014-2018 and was re-elected in 2018.
Smith also prepared UK teams for the Romanian Masters in Mathematics tournament (which they won in 2008), and for participation as guests at the annual Balkan Mathematical Olympiad.
As well as group theory, he is also interested in Euclidean geometry. He often collaborates with Christopher Bradley and David Monk, and has published several papers on Forum Geometricorum, the online geometry journal.
In June 2011, Smith was awarded an MBE for services to education following his contributions toward organising Royal Institution Maths Masterclasses.
References
External links
Virtual Geoff Smith
Geoff Smith on Midweek, 28 January 2004
20th-century English mathematicians
21st-century English mathematicians
Group theorists
Academics of the University of Bath
Alumni of the University of Manchester
1953 births
Living people
Alumni of Keble College, Oxford
Members of the Order of the British Empire
Teachers of Oundle School
|
```python
from ..util import create_element
from .common import EWSAccountService, add_xml_child
class Unsubscribe(EWSAccountService):
"""Unsubscribing is only valid for pull and streaming notifications.
MSDN: path_to_url
"""
SERVICE_NAME = "Unsubscribe"
returns_elements = False
prefer_affinity = True
def call(self, subscription_id):
return self._get_elements(payload=self.get_payload(subscription_id=subscription_id))
def get_payload(self, subscription_id):
payload = create_element(f"m:{self.SERVICE_NAME}")
add_xml_child(payload, "m:SubscriptionId", subscription_id)
return payload
```
|
```smalltalk
using System;
using System.Text;
using UnityEngine;
using UnityEditor;
using System.IO;
namespace FMODUnity
{
[CustomPropertyDrawer(typeof(EventRefAttribute))]
class EventRefDrawer : PropertyDrawer
{
public override void OnGUI(Rect position, SerializedProperty property, GUIContent label)
{
Texture browseIcon = EditorGUIUtility.Load("FMOD/SearchIconBlack.png") as Texture;
Texture openIcon = EditorGUIUtility.Load("FMOD/BrowserIcon.png") as Texture;
Texture addIcon = EditorGUIUtility.Load("FMOD/AddIcon.png") as Texture;
EditorGUI.BeginProperty(position, label, property);
SerializedProperty pathProperty = property;
Event e = Event.current;
if (e.type == EventType.DragPerform && position.Contains(e.mousePosition))
{
if (DragAndDrop.objectReferences.Length > 0 &&
DragAndDrop.objectReferences[0] != null &&
DragAndDrop.objectReferences[0].GetType() == typeof(EditorEventRef))
{
pathProperty.stringValue = ((EditorEventRef)DragAndDrop.objectReferences[0]).Path;
GUI.changed = true;
e.Use();
}
}
if (e.type == EventType.DragUpdated && position.Contains(e.mousePosition))
{
if (DragAndDrop.objectReferences.Length > 0 &&
DragAndDrop.objectReferences[0] != null &&
DragAndDrop.objectReferences[0].GetType() == typeof(EditorEventRef))
{
DragAndDrop.visualMode = DragAndDropVisualMode.Move;
DragAndDrop.AcceptDrag();
e.Use();
}
}
float baseHeight = GUI.skin.textField.CalcSize(new GUIContent()).y;
position = EditorGUI.PrefixLabel(position, GUIUtility.GetControlID(FocusType.Passive), label);
GUIStyle buttonStyle = new GUIStyle(GUI.skin.button);
buttonStyle.padding.top = 1;
buttonStyle.padding.bottom = 1;
Rect addRect = new Rect(position.x + position.width - addIcon.width - 7, position.y, addIcon.width + 7, baseHeight);
Rect openRect = new Rect(addRect.x - openIcon.width - 7, position.y, openIcon.width + 6, baseHeight);
Rect searchRect = new Rect(openRect.x - browseIcon.width - 9, position.y, browseIcon.width + 8, baseHeight);
Rect pathRect = new Rect(position.x, position.y, searchRect.x - position.x - 3, baseHeight);
EditorGUI.PropertyField(pathRect, pathProperty, GUIContent.none);
if (GUI.Button(searchRect, new GUIContent(browseIcon, "Search"), buttonStyle))
{
var eventBrowser = EventBrowser.CreateInstance<EventBrowser>();
eventBrowser.SelectEvent(property);
var windowRect = position;
windowRect.position = GUIUtility.GUIToScreenPoint(windowRect.position);
windowRect.height = openRect.height + 1;
eventBrowser.ShowAsDropDown(windowRect, new Vector2(windowRect.width, 400));
}
if (GUI.Button(addRect, new GUIContent(addIcon, "Create New Event in Studio"), buttonStyle))
{
var addDropdown= EditorWindow.CreateInstance<CreateEventPopup>();
addDropdown.SelectEvent(property);
var windowRect = position;
windowRect.position = GUIUtility.GUIToScreenPoint(windowRect.position);
windowRect.height = openRect.height + 1;
addDropdown.ShowAsDropDown(windowRect, new Vector2(windowRect.width, 500));
}
if (GUI.Button(openRect, new GUIContent(openIcon, "Open In Browser"), buttonStyle) &&
!String.IsNullOrEmpty(pathProperty.stringValue) &&
EventManager.EventFromPath(pathProperty.stringValue) != null
)
{
EventBrowser.ShowEventBrowser();
var eventBrowser = EditorWindow.GetWindow<EventBrowser>();
eventBrowser.JumpToEvent(pathProperty.stringValue);
}
if (!String.IsNullOrEmpty(pathProperty.stringValue) && EventManager.EventFromPath(pathProperty.stringValue) != null)
{
Rect foldoutRect = new Rect(position.x + 10, position.y + baseHeight, position.width, baseHeight);
property.isExpanded = EditorGUI.Foldout(foldoutRect, property.isExpanded, "Event Properties");
if (property.isExpanded)
{
var style = new GUIStyle(GUI.skin.label);
style.richText = true;
EditorEventRef eventRef = EventManager.EventFromPath(pathProperty.stringValue);
float width = style.CalcSize(new GUIContent("<b>Oneshot</b>")).x;
Rect labelRect = new Rect(position.x, position.y + baseHeight * 2, width, baseHeight);
Rect valueRect = new Rect(position.x + width + 10, position.y + baseHeight * 2, pathRect.width, baseHeight);
GUI.Label(labelRect, new GUIContent("<b>GUID</b>"), style);
EditorGUI.SelectableLabel(valueRect, eventRef.Guid.ToString("b"));
labelRect.y += baseHeight;
valueRect.y += baseHeight;
GUI.Label(labelRect, new GUIContent("<b>Banks</b>"), style);
StringBuilder builder = new StringBuilder();
eventRef.Banks.ForEach((x) => { builder.Append(Path.GetFileNameWithoutExtension(x.Path)); builder.Append(", "); });
GUI.Label(valueRect, builder.ToString(0, builder.Length - 2));
labelRect.y += baseHeight;
valueRect.y += baseHeight;
GUI.Label(labelRect, new GUIContent("<b>Panning</b>"), style);
GUI.Label(valueRect, eventRef.Is3D ? "3D" : "2D");
labelRect.y += baseHeight;
valueRect.y += baseHeight;
GUI.Label(labelRect, new GUIContent("<b>Stream</b>"), style);
GUI.Label(valueRect, eventRef.IsStream.ToString());
labelRect.y += baseHeight;
valueRect.y += baseHeight;
GUI.Label(labelRect, new GUIContent("<b>Oneshot</b>"), style);
GUI.Label(valueRect, eventRef.IsOneShot.ToString());
labelRect.y += baseHeight;
valueRect.y += baseHeight;
}
}
else
{
Rect labelRect = new Rect(position.x, position.y + baseHeight, position.width, baseHeight);
GUI.Label(labelRect, new GUIContent("Event Not Found", EditorGUIUtility.Load("FMOD/NotFound.png") as Texture2D));
}
EditorGUI.EndProperty();
}
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
{
bool expanded = property.isExpanded && !String.IsNullOrEmpty(property.stringValue) && EventManager.EventFromPath(property.stringValue) != null;
float baseHeight = GUI.skin.textField.CalcSize(new GUIContent()).y;
return baseHeight * (expanded ? 7 : 2); // 6 lines of info
}
}
}
```
|
```shell
Adding a remote repository
Finding a tag
Limiting log output by time
Perform a dry run
Ignore files in git
```
|
Rusatai-ye Chamran (, also Romanized as Rūsatāī-ye Chamrān) is a village in Kongor Rural District, in the Central District of Kalaleh County, Golestan Province, Iran. At the 2006 census, its population was 160, in 37 families.
References
Populated places in Kalaleh County
|
```python
# mypy: allow-untyped-defs
import torch
__all__ = ["Dropout"]
class Dropout(torch.nn.Dropout):
r"""This is the quantized equivalent of :class:`~torch.nn.Dropout`.
And this is a placeholder to enable models where fp32 tensors
had dropout to work with quantized tensors in train and eval mode.
Args:
p: probability of an element to be zeroed
inplace: can optionally do the operation in-place. Default: ``False``
"""
def forward(self, input):
return input
def _get_name(self):
return "QuantizedDropout"
@classmethod
def from_float(cls, mod, use_precomputed_fake_quant=False):
return cls(mod.p, mod.inplace)
@classmethod
def from_reference(cls, mod, scale, zero_point):
return cls(mod.p, mod.inplace)
```
|
Villa Paletti is a board game of physical skill designed by Bill Payne and published in 2001 by Zoch Verlag. Players compete to build the villa highest using columns from lower floors without collapsing the structure.
A double-size version of the game, Palazzo Paletti, is also available.
Gameplay
Each player chooses a colour (in the case of two-player games, each player chooses two colours). They then take their wooden column pieces - three thin, one medium, and one wide - and arrange them on the base mat. The players must then agree on a fair placement of the first "floor", which must lie completely above the base mat and which cannot partially cover any column.
Each player in turn must take one of their columns from any level except the highest, and place it on the highest floor. If they cannot remove one of their columns, they may ask to place the next floor. Each opponent may challenge this decision; if they choose to do so and are successful, they may remove that piece from play, and the player misses their go. If no opponent challenges the player, they may place the next floor on top of the pillars of the current highest floor - again, it must lie completely above the base mat and cannot partially cover any column.
Once a column is placed on the second floor, the player with the most column points (one for thin, two for medium, three for large) on the highest level is the leader. If the tower is collapsed by any other player, the leader has won; if they collapse the tower, the previous leader wins. If the tower collapses before a column is placed on the second floor, or if the first leader collapses the tower, no-one has won.
Awards
Villa Paletti won the Spiel des Jahres 2002, the Games 100 Top dexterity award, the Tric Trac gold medal 2001, Belgian game of the year 2003, finalist in Switzerland, Japan, Finland and more. The San Francisco Chronicle picked it as their top game for 2004.
References
External links
Zoch Verlag's Villa Paletti homepage
Board games introduced in 2001
Games of physical skill
Spiel des Jahres winners
|
Nikola Gabrovski (Bulgarian and ) was a military figure and a colonel in the Bulgarian army. He was born in the village of Krushevo (present-day North Macedonia) in 1871 and died in 1962 in Sofia. He studied in a gymnasium and then in the Military school in Sofia. Gabrovski took part in all three of the so-called "Wars of National Unification" - the First and Second Balkan and the First World War. He became a member of the "Union of Macedonian brotherhoods" in 1924. He has been awarded numeral medals and honors during his military career. Today, one of the main streets in Veliko Tarnovo bears his name.
References
Kumanov, Milen. "Macedonia. Short history guide", Sofia, 1993.
1871 births
1962 deaths
Bulgarian military personnel
People from Kruševo
Bulgarian military personnel of the Balkan Wars
Bulgarian military personnel of World War I
Emigrants from the Ottoman Empire to Bulgaria
|
Charles Robert Knight (October 21, 1874 – April 15, 1953) was an American wildlife and paleoartist best known for his detailed paintings of dinosaurs and other prehistoric animals. His works have been reproduced in many books and are currently on display at several major museums in the United States. One of his most famous works is a mural of Tyrannosaurus and Triceratops, which helped establish the two dinosaurs as "mortal enemies" in popular culture. Working at a time when many fossil discoveries were fragmentary and dinosaur anatomy was not well understood, many of his illustrations have later been shown to be incorrect representations. Nevertheless, he has been hailed as "one of the great popularizers of the prehistoric past".
Biography
Early life
Knight was born in Brooklyn, New York City on October 21, 1874.
As a child, Knight was deeply interested in nature and animals, largely thanks to his father's passion for the outdoors and spent many hours copying the illustrations from his father's natural history books. His father also took him on trips to the American Museum of Natural History which fueled his knowledge for nature. Knight began drawing when he was around five or six years old. In later years he abandoned the practice of drawing from books altogether, and instead drew from life.
Though legally blind because of astigmatism he inherited from his father and after his right eye was struck by a rock by a playmate, Knight pursued his artistic talents with the help of specially designed glasses which he used to paint inches from the canvas for the rest of his life. At the age of twelve, he enrolled at the Metropolitan Art School to become a commercial artist. In 1890, he was hired by church-decorating firm J. & R. Lamb to design stained-glass windows, and after two years with them, became a freelance illustrator for children's books and magazines, specializing in nature scenes. At this time, he met people like Rudyard Kipling and Arthur Conan Doyle. When Knight was eighteen, his father died and he took the little money his father left him and left home.
In his free time, Knight visited the American Museum of Natural History, attracting the attention of Dr. Jacob Wortman, who asked Knight to paint a restoration of an extinct hoofed mammal, Elotherium, whose fossilized bones were on display. Knight applied his knowledge of modern pig anatomy, and used his imagination to fill in any gaps. Wortman was thrilled with the final result, and the museum soon commissioned Knight to produce an entire series of watercolors to grace their fossil halls.
After a tour of Europe by visiting many museums and zoos, Knight returned home where he met two key people in the history of paleontology, Edward Drinker Cope and Henry Fairfield Osborn. Osborn then created the new Department of Vertebrate Paleontology at AMNH and he had a revolutionary idea to put entire skeletons of dinosaurs on display. Originally, fossils were kept out of the public's eye and were then stored in store room selves for reference of scientists only. But Osborn had the idea of creating these new exhibits for the public. He assembled a team of himself, Knight, and Dr. William Diller Matthew. Knight sketched the skeletons while Matthew and Osborn mounted the dinosaur skeletons. Cope died shortly after Knight met with him after he was impressed by Knight's sketches.
The museum was amazed by his watercolor paintings and the successful exhibits. J. P. Morgan the famous banker who was a patron to the museum helped finance the restorations of prehistoric life. His paintings were hugely popular among visitors, and Knight continued to work with the museum until the late 1930s, painting what would become some of the world's most iconic images of dinosaurs, prehistoric mammals, and prehistoric humans.
One of Knight's best-known pieces for the American Museum of Natural History is 1897's Leaping Laelaps, which was one of the few pre-1960s images to present dinosaurs as active, fast-moving creatures (thus anticipating the "Dinosaur Renaissance" theories of modern paleontologists like Robert Bakker). Other familiar American Museum paintings include Knight's portrayals of Agathaumas, Allosaurus, Apatosaurus, Brontosaurus, Smilodon, and the Woolly Mammoth. All of these have been reproduced in numerous places and have inspired many imitations.
Knight's work for the museum was not without critics, however. Although he spent considerable time at zoos studying the movements and habits of living animals, many curators argued that his work was more artistic than scientific, and protested that he did not have sufficient scientific expertise to render prehistoric animals as precisely as he did. While Knight himself agreed that his murals for the Hall of the Age of Man were "primarily a work of art," he insisted that he had as much paleontological knowledge as the museum's own curators.
In 1900, Knight married Annie Humphrey Hardcastle and had a daughter named Lucy.
Nationwide attention
After Knight established a reputation at the American Museum of Natural History, other natural history museums began requesting paintings for their own fossil exhibits. In 1925, for example, Knight produced an elaborate mural for the Natural History Museum of Los Angeles County which portrayed some of the birds and mammals whose remains had been found in the nearby La Brea Tar Pits. The following year, Knight began a 28-mural series for Chicago's Field Museum of Natural History, a project which chronicled the history of life on earth and took four years to complete. At the Field Museum, he produced one of his best-known pieces, a mural featuring Tyrannosaurus and Triceratops. This confrontation scene between a predator and its prey became iconic and inspired a huge number of imitations, establishing these two dinosaurs as "mortal enemies" in the public consciousness. The Field Museum's Alexander Sherman says, "It is so well-loved that it has become the standard encounter for portraying the age of dinosaurs".
Knight's work also found its way to the Carnegie Museums in Pittsburgh, the Smithsonian Institution, and Yale's Peabody Museum of Natural History, among others. Knight also created sculptures of animals both living and extinct. Several zoos, such as the Bronx Zoo, the Lincoln Park Zoo, and the Brookfield Zoo, also approached Knight to paint murals of their living animals, and Knight enthusiastically complied. Knight was actually the only person in America allowed to paint Su Lin, a giant panda that lived at Brookfield Zoo during the 1930s.
Although Knight's interest in animals and animal anatomy is well known, Knight also had an interest in botany. He often traveled to Florida and used the palm trees for his prehistoric paintings.
While making murals for museums and zoos, Knight continued illustrating books and magazines, and became a frequent contributor to National Geographic. He also wrote and illustrated several books of his own, such as Before the Dawn of History (Knight, 1935), Life Through the Ages (1946), Animal Drawing: Anatomy and Action for Artists (1947), and Prehistoric Man: The Great Adventure (1949). Additionally, Knight became a popular lecturer, describing prehistoric life to audiences across the country.
Eventually, Knight began to retire from the public sphere to spend more time with his grandchildren, mostly his granddaughter Rhoda, who shared his passion for animals and prehistoric life. In his later years, his eyesight began to deteriorate and he painted less often. From 1944 to 1946 he painted his final series of paintings at the National History Museum of Los Angeles County.
In 1951, he painted his last work, a mural for the Everhart Museum in Scranton, Pennsylvania. Two years later, on April 15, 1953, Knight died in New York City.
Legacy
Knight has been hailed as "one of the great popularizers of the prehistoric past", and as having influenced generations of museum-goers. Examples of Knight's work frequently appeared in dinosaur books published in the US during the first half of the twentieth century and countless other artists and illustrators borrowed heavily from Knight's conceptions of dinosaurs and other prehistoric animals. More recent works also include examples of Knight's paintings; for example, Stephen Jay Gould used one of Knight's paintings for the cover of his 1991 book Bully for Brontosaurus and another in his 1996 book Dinosaur in a Haystack. Though many other paleoartists have equaled Knight (perhaps Zdeněk Burian) Knight's paintings still remain very popular among dinosaur and paleontology enthusiasts. A commemorative edition of Knight's 1946 book Life Through the Ages was recently published by Indiana University Press, and a 2007 calendar of Knight's paintings is also currently available. Additionally, fantasy artist William Stout has compiled a series of Charles Knight Sketchbooks, which contain many rare and previously unpublished drawings and studies by Knight.
Because Knight worked in an era when new and often fragmentary fossils were coming out of the American west in quantity, not all of his creations were based on solid evidence; dinosaurs such as his improbably-adorned Agathaumas (1897) for example, were somewhat speculative. His depictions of better-known ceratopsians as solitary animals inhabiting lush grassy landscapes were largely imaginative (the grasslands that feature in many of his paintings didn't appear until the Cenozoic).
Although Knight sometimes made musculoskeletal studies of living animals, he did not do so for his dinosaur restorations, and he restored many dinosaurs with typical reptilian-like limbs and narrow hips (Paul, 1996). In the 1920s, studies by the celebrated palaeontologists Alfred Romer and Gerhard Heilmann (Heilmann, 1926) had confirmed that dinosaurs had broad avian-like hips rather than those of a typical reptile. Knight often restored extinct mammals, birds and marine reptiles in very dynamic action poses, but his depictions of large dinosaurs as ponderous swamp-dwellers destined for extinction reflected more traditional concepts (Paul, 1996). In his catalogue to Life through the Ages (1946), he reiterated views that he had written earlier (Knight, 1935), describing the great beasts as "slow-moving dunces" that were "unadaptable and unprogressive" while conceding that small dinosaurs had been more active. Some of his pictures are now known to be wrong, such as the tripod kangaroo-like posture of the hadrosaurs and theropods, whereas their spinal column was roughly horizontal at the hip; and the sauropods standing deeply in water whereas they were land-dwellers. Knight also drew dinosaur tails dragging on the ground, whereas they were held out approximately horizontally.
The late Stephen Jay Gould was one of Knight's most well-known fans, notably refusing to refer to Brontosaurus as "Apatosaurus" because Knight had always referred to the creature with the former name. Gould writes in his 1989 book Wonderful Life, "Not since the Lord himself showed his stuff to Ezekiel in the valley of dry bones had anyone shown such grace and skill in the reconstruction of animals from disarticulated skeletons. Charles R. Knight, the most celebrated of artists in the reanimation of fossils, painted all the canonical figures of dinosaurs that fire our fear and imagination to this day".
Other admirers have included special effects artist Ray Harryhausen, who writes in his autobiography An Animated Life, "Long before Obie (Willis O'Brien), myself, and Steven Spielberg, he put flesh on creatures that no human had ever seen. […] At the L.A. County Museum I vividly remember a beautiful Knight mural on one of the walls depicting the way the tar pits would have looked in ancient times. This, plus a picture book about Knight's work my mother gave me, were my first encounters with a man who was to prove an enormous help when the time came for me to make three-dimensional models of these extinct beings". Paleoartist Gregory S. Paul has also mentioned Knight as a big influence on him.
In 2012, a book about Knight and his art written by Richard Milner titled Charles R. Knight The Artist Who Saw Through Time was published. It starts with an introduction by Knight's granddaughter Rhoda.
A website dedicated to Knight was created and maintained by Rhoda and features many of his paintings.
An homage to the painter was also made in the 1998 IMAX feature film, T-Rex: Back to the Cretaceous, in which he was portrayed by actor Tuck Milligan.
Works
Knight's works are currently included as part of the permanent collections of these colleges, libraries, museums, and zoos:
Academy of Natural Sciences (Philadelphia, Pennsylvania)
American Museum of Natural History (New York, New York)
Bethune-Cookman College (Daytona Beach, Florida)
Bronx Zoo (Bronx, New York)
Carnegie Museum of Natural History (Pittsburgh, Pennsylvania)
The Dinosaur Museum (Blanding, Utah)
Everhart Museum (Scranton, Pennsylvania)
Field Museum of Natural History (Chicago, Illinois)
Florida Museum of Natural History (Gainesville, Florida)
Illinois State Museum (Springfield, Illinois)
Mesa Southwest Museum (Mesa, Arizona)
Museum of the Earth (Ithaca, New York)
National Museum of Natural History (Washington, DC)
National Zoo (Washington, DC)
Natural History Museum of Los Angeles County (Los Angeles, California)
Princeton University (Princeton, New Jersey)
Science Museum of Minnesota (Saint Paul, Minnesota)
Sebring Public Library (Sebring, Florida)
Yale Peabody Museum of Natural History (New Haven, Connecticut)
In addition, a touring exhibit, Honoring the Life of Charles R. Knight, was launched in 2003 and has visited several locations throughout the United States.
Publications
Before the Dawn of History, 1935
Life Through the Ages, 1946
Animal Drawing: Anatomy and Action for Artists, 1947
Prehistoric Man: The Great Adventurer, 1949
Charles R. Knight, Autobiography of an Artist, 2005
See also
Paleoart
Wildlife art
Notes
References
Heilmann, G. (1926). The Origin of Birds. London, H.F. & G. Witherby.
Paul, G.S. (1996). The art of Charles R. Knight. Scientific American 274 (6): 74-81.
For Knight's dark side see: Brian Regal, Henry Fairfield Osborn: Race and the Search for the Origins of Man (Ashgate, 2002).
External links
The World of Charles Knight, a website maintained by Knight's granddaughter Rhoda Knight Kalt (includes most of his paintings)
Charles R. Knight biography at Field Museum website
Charles R. Knight biography at American Museum of Natural History website
Time Traveler: The Art of Charles R. Knight; March 26, 2012; Scientific American
Animal artists
American muralists
19th-century American painters
American male painters
20th-century American painters
Painters from Brooklyn
1874 births
1953 deaths
Paleoartists
People associated with the American Museum of Natural History
People associated with the Field Museum of Natural History
Polytechnic Institute of New York University alumni
19th-century American male artists
20th-century American male artists
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.