text
stringlengths 1
22.8M
|
|---|
Juan Larrea Celayeta (Bilbao, March 13, 1895 – Córdoba, Argentina, July 9, 1980) was a Spanish essayist and poet.
He studied literature at the University of Salamanca, and moved later to Paris where he published in French language the magazine Favorables París Poema with César Vallejo. After the Spanish Civil War, he moved definitively to the Americas, where he was an active member of the cultural life. He was an incessant collector and some of his collections about Inca art were donated to the National Archaeological Museum of Spain in 1937.
Guernica (1937 Picasso painting)
Immediately after hearing about the 26 April 1937 bombing of Guernica, Larrea visited Pablo Picasso in his Paris studio and urged him to make the bombing the subject for the large mural the Spanish Republican government had commissioned him to create for the Spanish pavilion at the 1937 Paris World's Fair, which resulted in Picasso's famed anti-war painting Guernica.
Works
Poetry
Oscuro dominio, 1935
Versión celeste, 1969
Orbe, 1990
Essays
Arte Peruano (1935)
Rendición de Espíritu (1943)
El Surrealismo entre Viejo y Nuevo mundo (1944)
The Vision of the "Guernica" (1947)
La Religión del Lenguaje Español (1951)
La Espada de la Paloma (1956)
Razón de Ser (1956)
César Vallejo o Hispanoamérica en la Cruz de su Razón (1958)
Teleología de la cultura (1965)
Del surrealismo a Machu Picchu (1967)
Guernica (1977)
Cara y cruz de la República (1980)
References
Works cited
External links
, video de Santiago Amón, para TVE
1895 births
1980 deaths
Spanish art collectors
Spanish male poets
20th-century Spanish poets
University of Salamanca alumni
20th-century Spanish male writers
Spanish expatriates in France
Spanish emigrants to Argentina
|
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
~
~
~ 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.
-->
<resources>
<string name="mtrl_chip_close_icon_content_description">Remover %1$s</string>
</resources>
```
|
```tex
\hypertarget{namespaceanonymous__namespace_02minqueue__test_8h_03}{}\section{anonymous\+\_\+namespace\{minqueue\+\_\+test.\+h\} Namespace Reference}
\label{namespaceanonymous__namespace_02minqueue__test_8h_03}\index{anonymous\+\_\+namespace\lcurly{}minqueue\+\_\+test.\+h\rcurly{}@{anonymous\+\_\+namespace\lcurly{}minqueue\+\_\+test.\+h\rcurly{}}}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item
const int \hyperlink{your_sha256_hash615354013b4d2480133959}{Q\+\_\+\+N\+U\+M} =10
\end{DoxyCompactItemize}
\subsection{Variable Documentation}
\hypertarget{your_sha256_hash615354013b4d2480133959}{}\index{anonymous\+\_\+namespace\lcurly{}minqueue\+\_\+test.\+h\rcurly{}@{anonymous\+\_\+namespace\lcurly{}minqueue\+\_\+test.\+h\rcurly{}}!Q\+\_\+\+N\+U\+M@{Q\+\_\+\+N\+U\+M}}
\index{Q\+\_\+\+N\+U\+M@{Q\+\_\+\+N\+U\+M}!anonymous\+\_\+namespace\lcurly{}minqueue\+\_\+test.\+h\rcurly{}@{anonymous\+\_\+namespace\lcurly{}minqueue\+\_\+test.\+h\rcurly{}}}
\subsubsection[{Q\+\_\+\+N\+U\+M}]{\setlength{\rightskip}{0pt plus 5cm}const int anonymous\+\_\+namespace\{minqueue\+\_\+test.\+h\}\+::Q\+\_\+\+N\+U\+M =10}\label{your_sha256_hash615354013b4d2480133959}
Definition at line 26 of file minqueue\+\_\+test.\+h.
```
|
```java
//your_sha256_hash--------------------------------//
// //
// T r e m o l o S y m b o l //
// //
//your_sha256_hash--------------------------------//
// <editor-fold defaultstate="collapsed" desc="hdr">
//
//
// This program is free software: you can redistribute it and/or modify it under the terms of the
//
// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
// without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
// program. If not, see <path_to_url
//your_sha256_hash--------------------------------//
// </editor-fold>
package org.audiveris.omr.ui.symbol;
import static org.audiveris.omr.ui.symbol.Alignment.AREA_CENTER;
import static org.audiveris.omr.ui.symbol.Alignment.BOTTOM_CENTER;
import org.audiveris.omr.glyph.Shape;
import org.audiveris.omr.math.GeoUtil;
import java.awt.Composite;
import java.awt.Graphics2D;
import java.awt.font.TextLayout;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
/**
* Class <code>TremoloSymbol</code> implements a multiple-tremolo symbol.
*
* @author Herv Bitteur
*/
public class TremoloSymbol
extends DecorableSymbol
{
//~ Constructors your_sha256_hash---------------
/**
* Create a <code>TremoloSymbol</code> standard size with no decoration.
*
* @param shape TREMOLO_1, TREMOLO_2, TREMOLO_3
* @param family the musicFont family
*/
public TremoloSymbol (Shape shape,
MusicFamily family)
{
super(shape, family);
}
//~ Methods your_sha256_hash--------------------
//-----------//
// getParams //
//-----------//
@Override
protected MyParams getParams (MusicFont font)
{
final MyParams p = new MyParams();
// Tremolo layout
p.layout = font.layoutShapeByCode(shape);
final Rectangle2D rTrem = p.layout.getBounds(); // Tremolo bounds
if (isDecorated) {
// Stem layout
p.stemLayout = font.layoutShapeByCode(Shape.STEM);
final Rectangle2D rStem = p.stemLayout.getBounds(); // Stem bounds (not centered)
GeoUtil.translate2D(rStem, 0, rStem.getHeight() / 2); // Stem bounds centered
p.rect = rTrem.createUnion(rStem);
} else {
p.rect = rTrem;
}
return p;
}
//-------//
// paint //
//-------//
@Override
protected void paint (Graphics2D g,
Params params,
Point2D location,
Alignment alignment)
{
final MyParams p = (MyParams) params;
Point2D loc;
if (isDecorated) {
// Decorating stem
loc = alignment.translatedPoint(BOTTOM_CENTER, p.rect, location);
final Composite oldComposite = g.getComposite();
g.setComposite(decoComposite);
MusicFont.paint(g, p.stemLayout, loc, BOTTOM_CENTER);
g.setComposite(oldComposite);
}
// Tremolo
loc = alignment.translatedPoint(AREA_CENTER, p.rect, location);
MusicFont.paint(g, p.layout, loc, AREA_CENTER);
}
//~ Inner Classes your_sha256_hash--------------
//--------//
// Params //
//--------//
protected static class MyParams
extends Params
{
// offset: if decorated, offset of symbol center vs decorated image center: null
// layout: tremolo layout
// rect: global image (tremolo + stem if decorated, tremolo alone if not)
//
// Layout for decorating stem
TextLayout stemLayout;
}
}
```
|
```smalltalk
using UnrealBuildTool;
using System.IO;
public class PythonAutomation : ModuleRules
{
#if WITH_FORWARDED_MODULE_RULES_CTOR
public PythonAutomation(ReadOnlyTargetRules Target) : base(Target)
#else
public PythonAutomation(TargetInfo Target)
#endif
{
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
string enableUnityBuild = System.Environment.GetEnvironmentVariable("UEP_ENABLE_UNITY_BUILD");
bFasterWithoutUnity = string.IsNullOrEmpty(enableUnityBuild);
PrivateIncludePaths.AddRange(
new string[] {
"PythonConsole/Private",
// ... add other private include paths required here ...
}
);
PrivateDependencyModuleNames.AddRange(
new string[] {
"Core",
"CoreUObject", // @todo Mac: for some reason it's needed to link in debug on Mac
"Engine",
"UnrealEd",
"UnrealEnginePython"
}
);
}
}
```
|
```objective-c
#ifndef __BPF_ENDIAN__
#define __BPF_ENDIAN__
/*
* Isolate byte #n and put it into byte #m, for __u##b type.
* E.g., moving byte #6 (nnnnnnnn) into byte #1 (mmmmmmmm) for __u64:
* 1) xxxxxxxx nnnnnnnn xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx mmmmmmmm xxxxxxxx
* 2) nnnnnnnn xxxxxxxx xxxxxxxx xxxxxxxx xxxxxxxx mmmmmmmm xxxxxxxx 00000000
* 3) 00000000 00000000 00000000 00000000 00000000 00000000 00000000 nnnnnnnn
* 4) 00000000 00000000 00000000 00000000 00000000 00000000 nnnnnnnn 00000000
*/
#define ___bpf_mvb(x, b, n, m) ((__u##b)(x) << (b-(n+1)*8) >> (b-8) << (m*8))
#define ___bpf_swab16(x) ((__u16)( \
___bpf_mvb(x, 16, 0, 1) | \
___bpf_mvb(x, 16, 1, 0)))
#define ___bpf_swab32(x) ((__u32)( \
___bpf_mvb(x, 32, 0, 3) | \
___bpf_mvb(x, 32, 1, 2) | \
___bpf_mvb(x, 32, 2, 1) | \
___bpf_mvb(x, 32, 3, 0)))
#define ___bpf_swab64(x) ((__u64)( \
___bpf_mvb(x, 64, 0, 7) | \
___bpf_mvb(x, 64, 1, 6) | \
___bpf_mvb(x, 64, 2, 5) | \
___bpf_mvb(x, 64, 3, 4) | \
___bpf_mvb(x, 64, 4, 3) | \
___bpf_mvb(x, 64, 5, 2) | \
___bpf_mvb(x, 64, 6, 1) | \
___bpf_mvb(x, 64, 7, 0)))
/* LLVM's BPF target selects the endianness of the CPU
* it compiles on, or the user specifies (bpfel/bpfeb),
* respectively. The used __BYTE_ORDER__ is defined by
* the compiler, we cannot rely on __BYTE_ORDER from
* libc headers, since it doesn't reflect the actual
* requested byte order.
*
* Note, LLVM's BPF target has different __builtin_bswapX()
* semantics. It does map to BPF_ALU | BPF_END | BPF_TO_BE
* in bpfel and bpfeb case, which means below, that we map
* to cpu_to_be16(). We could use it unconditionally in BPF
* case, but better not rely on it, so that this header here
* can be used from application and BPF program side, which
* use different targets.
*/
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
# define __bpf_ntohs(x) __builtin_bswap16(x)
# define __bpf_htons(x) __builtin_bswap16(x)
# define __bpf_constant_ntohs(x) ___bpf_swab16(x)
# define __bpf_constant_htons(x) ___bpf_swab16(x)
# define __bpf_ntohl(x) __builtin_bswap32(x)
# define __bpf_htonl(x) __builtin_bswap32(x)
# define __bpf_constant_ntohl(x) ___bpf_swab32(x)
# define __bpf_constant_htonl(x) ___bpf_swab32(x)
# define __bpf_ntohll(x) __builtin_bswap64(x)
# define __bpf_htonll(x) __builtin_bswap64(x)
# define __bpf_constant_ntohll(x) ___bpf_swab64(x)
# define __bpf_constant_htonll(x) ___bpf_swab64(x)
# define __bpf_be64_to_cpu(x) __builtin_bswap64(x)
# define __bpf_cpu_to_be64(x) __builtin_bswap64(x)
# define __bpf_constant_be64_to_cpu(x) ___bpf_swab64(x)
# define __bpf_constant_cpu_to_be64(x) ___bpf_swab64(x)
#elif __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
# define __bpf_ntohs(x) (x)
# define __bpf_htons(x) (x)
# define __bpf_constant_ntohs(x) (x)
# define __bpf_constant_htons(x) (x)
# define __bpf_ntohl(x) (x)
# define __bpf_htonl(x) (x)
# define __bpf_constant_ntohl(x) (x)
# define __bpf_constant_htonl(x) (x)
# define __bpf_ntohll(x) (x)
# define __bpf_htonll(x) (x)
# define __bpf_constant_ntohll(x) (x)
# define __bpf_constant_htonll(x) (x)
# define __bpf_be64_to_cpu(x) (x)
# define __bpf_cpu_to_be64(x) (x)
# define __bpf_constant_be64_to_cpu(x) (x)
# define __bpf_constant_cpu_to_be64(x) (x)
#else
# error "Fix your compiler's __BYTE_ORDER__?!"
#endif
#define bpf_htons(x) \
(__builtin_constant_p(x) ? \
__bpf_constant_htons(x) : __bpf_htons(x))
#define bpf_ntohs(x) \
(__builtin_constant_p(x) ? \
__bpf_constant_ntohs(x) : __bpf_ntohs(x))
#define bpf_htonl(x) \
(__builtin_constant_p(x) ? \
__bpf_constant_htonl(x) : __bpf_htonl(x))
#define bpf_ntohl(x) \
(__builtin_constant_p(x) ? \
__bpf_constant_ntohl(x) : __bpf_ntohl(x))
#define bpf_htonll(x) \
(__builtin_constant_p(x) ? \
__bpf_constant_htonll(x) : __bpf_htonll(x))
#define bpf_ntohll(x) \
(__builtin_constant_p(x) ? \
__bpf_constant_ntohll(x) : __bpf_ntohll(x))
#define bpf_cpu_to_be64(x) \
(__builtin_constant_p(x) ? \
__bpf_constant_cpu_to_be64(x) : __bpf_cpu_to_be64(x))
#define bpf_be64_to_cpu(x) \
(__builtin_constant_p(x) ? \
__bpf_constant_be64_to_cpu(x) : __bpf_be64_to_cpu(x))
#endif /* __BPF_ENDIAN__ */
```
|
The 1988–89 New York Rangers season was the franchise's 63rd season. The team returned to the playoffs for the 11th time in 12 seasons. A major storyline of the season was Guy Lafleur's comeback from retirement.
Regular season
Guy Lafleur
After being inducted into the Hockey Hall of Fame, Guy Lafleur returned to the NHL during the 1988–89 season with the New York Rangers. Lafleur remained one of the few players that did not wear protective helmets due to the Grandfather clause. A highlight of Lafleur's season was the opportunity to be on the same team with Marcel Dionne. During his first game back in the Montreal Forum, he scored twice against Patrick Roy during the Rangers' 7–5 loss to the Canadiens. Although his high-scoring days were well behind him, his stint with the Rangers was moderately successful and he helped the team to first place in the Patrick Division until being knocked out by a knee injury. The Rangers would finish the season in third place.
Season standings
Schedule and results
|- align="center" bgcolor="white"
| 1 || 6 || @ Chicago Blackhawks || 2 - 2 OT || 0-0-1
|- align="center" bgcolor="#CCFFCC"
| 2 || 8 || @ St. Louis Blues || 4 - 2 || 1-0-1
|- align="center" bgcolor="#FFBBBB"
| 3 || 10 || New Jersey Devils || 5 - 0 || 1-1-1
|- align="center" bgcolor="#FFBBBB"
| 4 || 12 || Hartford Whalers || 4 - 3 || 1-2-1
|- align="center" bgcolor="#CCFFCC"
| 5 || 16 || Vancouver Canucks || 3 - 2 || 2-2-1
|- align="center" bgcolor="#CCFFCC"
| 6 || 19 || Washington Capitals || 5 - 1 || 3-2-1
|- align="center" bgcolor="#CCFFCC"
| 7 || 21 || @ Washington Capitals || 4 - 1 || 4-2-1
|- align="center" bgcolor="#CCFFCC"
| 8 || 23 || Quebec Nordiques || 8 - 2 || 5-2-1
|- align="center" bgcolor="#CCFFCC"
| 9 || 26 || Philadelphia Flyers || 4 - 3 || 6-2-1
|- align="center" bgcolor="#CCFFCC"
| 10 || 29 || @ Philadelphia Flyers || 6 - 5 || 7-2-1
|- align="center" bgcolor="#CCFFCC"
| 11 || 30 || Pittsburgh Penguins || 9 - 2 || 8-2-1
|-
|- align="center" bgcolor="#FFBBBB"
| 12 || 2 || @ Buffalo Sabres || 6 - 4 || 8-3-1
|- align="center" bgcolor="#FFBBBB"
| 13 || 6 || @ New Jersey Devils || 6 - 5 || 8-4-1
|- align="center" bgcolor="#FFBBBB"
| 14 || 8 || @ New York Islanders || 4 - 3 || 8-5-1
|- align="center" bgcolor="#CCFFCC"
| 15 || 9 || Philadelphia Flyers || 5 - 3 || 9-5-1
|- align="center" bgcolor="white"
| 16 || 11 || Boston Bruins || 4 - 4 OT || 9-5-2
|- align="center" bgcolor="#FFBBBB"
| 17 || 13 || Detroit Red Wings || 5 - 3 || 9-6-2
|- align="center" bgcolor="white"
| 18 || 15 || @ Philadelphia Flyers || 3 - 3 OT || 9-6-3
|- align="center" bgcolor="#CCFFCC"
| 19 || 17 || @ Los Angeles Kings || 6 - 5 || 10-6-3
|- align="center" bgcolor="#CCFFCC"
| 20 || 19 || @ Minnesota North Stars || 4 - 1 || 11-6-3
|- align="center" bgcolor="#FFBBBB"
| 21 || 21 || Montreal Canadiens || 4 - 2 || 11-7-3
|- align="center" bgcolor="#FFBBBB"
| 22 || 23 || @ Pittsburgh Penguins || 8 - 2 || 11-8-3
|- align="center" bgcolor="#CCFFCC"
| 23 || 26 || @ New York Islanders || 6 - 4 || 12-8-3
|- align="center" bgcolor="#CCFFCC"
| 24 || 27 || New York Islanders || 5 - 3 || 13-8-3
|- align="center" bgcolor="#CCFFCC"
| 25 || 29 || @ Winnipeg Jets || 4 - 3 || 14-8-3
|-
|- align="center" bgcolor="#FFBBBB"
| 26 || 1 || @ Calgary Flames || 6 - 3 || 14-9-3
|- align="center" bgcolor="#FFBBBB"
| 27 || 4 || @ Edmonton Oilers || 10 - 6 || 14-10-3
|- align="center" bgcolor="#CCFFCC"
| 28 || 6 || @ Vancouver Canucks || 5 - 3 || 15-10-3
|- align="center" bgcolor="#FFBBBB"
| 29 || 8 || @ Hartford Whalers || 5 - 4 || 15-11-3
|- align="center" bgcolor="white"
| 30 || 10 || @ Boston Bruins || 1 - 1 OT || 15-11-4
|- align="center" bgcolor="#FFBBBB"
| 31 || 12 || Los Angeles Kings || 5 - 2 || 15-12-4
|- align="center" bgcolor="#CCFFCC"
| 32 || 14 || New York Islanders || 2 - 1 || 16-12-4
|- align="center" bgcolor="#FFBBBB"
| 33 || 17 || @ Montreal Canadiens || 6 - 3 || 16-13-4
|- align="center" bgcolor="#CCFFCC"
| 34 || 19 || Washington Capitals || 3 - 1 || 17-13-4
|- align="center" bgcolor="#FFBBBB"
| 35 || 21 || Buffalo Sabres || 5 - 2 || 17-14-4
|- align="center" bgcolor="white"
| 36 || 23 || @ Washington Capitals || 2 - 2 OT || 17-14-5
|- align="center" bgcolor="#CCFFCC"
| 37 || 26 || New Jersey Devils || 5 - 1 || 18-14-5
|- align="center" bgcolor="#CCFFCC"
| 38 || 27 || @ New Jersey Devils || 7 - 5 || 19-14-5
|- align="center" bgcolor="#CCFFCC"
| 39 || 31 || Chicago Blackhawks || 4 - 1 || 20-14-5
|-
|- align="center" bgcolor="#CCFFCC"
| 40 || 2 || Hartford Whalers || 5 - 4 || 21-14-5
|- align="center" bgcolor="white"
| 41 || 4 || Washington Capitals || 3 - 3 OT || 21-14-6
|- align="center" bgcolor="#CCFFCC"
| 42 || 7 || @ New York Islanders || 5 - 1 || 22-14-6
|- align="center" bgcolor="#FFBBBB"
| 43 || 9 || New Jersey Devils || 5 - 4 || 22-15-6
|- align="center" bgcolor="white"
| 44 || 14 || @ Pittsburgh Penguins || 4 - 4 OT || 22-15-7
|- align="center" bgcolor="#CCFFCC"
| 45 || 15 || Pittsburgh Penguins || 6 - 4 || 23-15-7
|- align="center" bgcolor="#CCFFCC"
| 46 || 18 || @ Chicago Blackhawks || 6 - 4 || 24-15-7
|- align="center" bgcolor="#CCFFCC"
| 47 || 19 || @ St. Louis Blues || 5 - 0 || 25-15-7
|- align="center" bgcolor="#CCFFCC"
| 48 || 21 || @ Vancouver Canucks || 5 - 4 OT || 26-15-7
|- align="center" bgcolor="#CCFFCC"
| 49 || 23 || @ Edmonton Oilers || 3 - 2 || 27-15-7
|- align="center" bgcolor="#FFBBBB"
| 50 || 26 || @ Calgary Flames || 5 - 3 || 27-16-7
|- align="center" bgcolor="white"
| 51 || 28 || @ Toronto Maple Leafs || 1 - 1 OT || 27-16-8
|- align="center" bgcolor="#CCFFCC"
| 52 || 30 || New York Islanders || 7 - 3 || 28-16-8
|-
|- align="center" bgcolor="#FFBBBB"
| 53 || 1 || Washington Capitals || 4 - 3 OT || 28-17-8
|- align="center" bgcolor="#FFBBBB"
| 54 || 4 || @ Montreal Canadiens || 7 - 5 || 28-18-8
|- align="center" bgcolor="#FFBBBB"
| 55 || 5 || Minnesota North Stars || 5 - 3 || 28-19-8
|- align="center" bgcolor="#CCFFCC"
| 56 || 9 || Winnipeg Jets || 4 - 3 || 29-19-8
|- align="center" bgcolor="#FFBBBB"
| 57 || 12 || Edmonton Oilers || 3 - 1 || 29-20-8
|- align="center" bgcolor="#FFBBBB"
| 58 || 14 || @ Philadelphia Flyers || 3 - 1 || 29-21-8
|- align="center" bgcolor="#FFBBBB"
| 59 || 17 || Toronto Maple Leafs || 10 - 6 || 29-22-8
|- align="center" bgcolor="#CCFFCC"
| 60 || 18 || @ Pittsburgh Penguins || 5 - 3 || 30-22-8
|- align="center" bgcolor="#CCFFCC"
| 61 || 20 || New Jersey Devils || 7 - 4 || 31-22-8
|- align="center" bgcolor="#FFBBBB"
| 62 || 22 || Philadelphia Flyers || 6 - 4 || 31-23-8
|- align="center" bgcolor="#CCFFCC"
| 63 || 25 || @ Quebec Nordiques || 7 - 2 || 32-23-8
|- align="center" bgcolor="#CCFFCC"
| 64 || 27 || Los Angeles Kings || 6 - 4 || 33-23-8
|-
|- align="center" bgcolor="#CCFFCC"
| 65 || 1 || Toronto Maple Leafs || 7 - 4 || 34-23-8
|- align="center" bgcolor="#FFBBBB"
| 66 || 3 || @ New Jersey Devils || 6 - 3 || 34-24-8
|- align="center" bgcolor="#FFBBBB"
| 67 || 5 || Boston Bruins || 5 - 0 || 34-25-8
|- align="center" bgcolor="#FFBBBB"
| 68 || 8 || Buffalo Sabres || 2 - 0 || 34-26-8
|- align="center" bgcolor="#FFBBBB"
| 69 || 9 || @ Detroit Red Wings || 3 - 2 || 34-27-8
|- align="center" bgcolor="#FFBBBB"
| 70 || 11 || @ Washington Capitals || 4 - 2 || 34-28-8
|- align="center" bgcolor="#CCFFCC"
| 71 || 13 || Calgary Flames || 4 - 3 || 35-28-8
|- align="center" bgcolor="#FFBBBB"
| 72 || 15 || Winnipeg Jets || 6 - 3 || 35-29-8
|- align="center" bgcolor="#FFBBBB"
| 73 || 18 || @ Quebec Nordiques || 8 - 3 || 35-30-8
|- align="center" bgcolor="#CCFFCC"
| 74 || 20 || St. Louis Blues || 7 - 4 || 36-30-8
|- align="center" bgcolor="#CCFFCC"
| 75 || 22 || Minnesota North Stars || 3 - 1 || 37-30-8
|- align="center" bgcolor="#FFBBBB"
| 76 || 25 || @ Philadelphia Flyers || 6 - 1 || 37-31-8
|- align="center" bgcolor="#FFBBBB"
| 77 || 26 || Pittsburgh Penguins || 6 - 4 || 37-32-8
|- align="center" bgcolor="#FFBBBB"
| 78 || 29 || @ Detroit Red Wings || 4 - 3 || 37-33-8
|-
|- align="center" bgcolor="#FFBBBB"
| 79 || 1 || @ Pittsburgh Penguins || 5 - 2 || 37-34-8
|- align="center" bgcolor="#FFBBBB"
| 80 || 2 || New York Islanders || 6 - 4 || 37-35-8
|-
Playoffs
Key: Win Loss
Player statistics
Skaters
Goaltenders
†Denotes player spent time with another team before joining Rangers. Stats reflect time with Rangers only.
‡Traded mid-season. Stats reflect time with Rangers only.
Draft picks
New York's picks at the 1988 NHL Entry Draft in Montreal, Quebec, Canada at the Montreal Forum.
Supplemental Draft
New York's picks at the 1988 NHL Supplemental Draft.
Awards and records
Brian Leetch, Calder Memorial Trophy
Brian Leetch, Most Goals by a Rookie Defenseman in One Season (23)
Most goals by rookie, season - Tony Granato (1988–89) - 36
References
External links
Rangers on Hockey Database
New York Rangers seasons
New York Rangers
New York Rangers
New York Rangers
New York Rangers
1980s in Manhattan
Madison Square Garden
|
Widford railway station served the village of Widford, Hertfordshire, England, from 1863 to 1964 on the Buntingford branch line.
History
The station was opened on 3 July 1863 by the Great Eastern Railway. It was situated on the north side of Ware Road. It had a brick-built waiting room and a booking office. At the east end of the platform was a signal box which controlled a siding leading to a cattle and goods dock. Goods traffic ceased on 7 September 1964. The station closed on 16 November 1964.
References
Disused railway stations in Hertfordshire
Former Great Eastern Railway stations
Railway stations in Great Britain opened in 1863
Railway stations in Great Britain closed in 1964
1863 establishments in England
1964 disestablishments in England
Beeching closures in England
Widford, Hertfordshire
|
Orchomenus or Orchomenos () was a town of Phthiotis in ancient Thessaly. In 302 BCE, Cassander planned to transfer to town's population to Phthiotic Thebes but this was prevented by Demetrius Poliorcetes.
Its site is unlocated.
References
Populated places in ancient Thessaly
Former populated places in Greece
Achaea Phthiotis
Lost ancient cities and towns
|
```javascript
import React from 'react';
import { Route, IndexRoute } from 'react-router';
import Main from '../components/Main';
import CheckAuth from '../components/CheckAuth';
import HomePageContainer from '../containers/HomePageContainer';
import LoginPageContainer from '../containers/LoginPageContainer';
import SharePageContainer from '../containers/SharePageContainer';
export default (
<Route path='/' component={Main}>
<IndexRoute component={HomePageContainer} />
<Route path="/login" component={CheckAuth(LoginPageContainer, 'guest')}/>
<Route path="/share" component={CheckAuth(SharePageContainer, 'auth')}/>
</Route>
);
```
|
```smalltalk
using System.Diagnostics;
using System.IO;
using System.Xml;
using System.Xml.Serialization;
namespace NPOI.OpenXmlFormats.Spreadsheet
{
public class StyleSheetDocument
{
private CT_Stylesheet stylesheet = null;
public StyleSheetDocument()
{
this.stylesheet = new CT_Stylesheet();
}
public StyleSheetDocument(CT_Stylesheet stylesheet)
{
this.stylesheet = stylesheet;
}
public static StyleSheetDocument Parse(XmlDocument xmldoc, XmlNamespaceManager namespaceManager)
{
CT_Stylesheet obj = CT_Stylesheet.Parse(xmldoc.DocumentElement,namespaceManager);
return new StyleSheetDocument(obj);
}
public void AddNewStyleSheet()
{
this.stylesheet = new CT_Stylesheet();
}
public CT_Stylesheet GetStyleSheet()
{
return this.stylesheet;
}
public void Save(Stream stream)
{
using (StreamWriter sw1 = new StreamWriter(stream))
{
this.stylesheet.Write(sw1);
}
}
}
}
```
|
Karl Wilhelm Berkhan (8 April 1915 in Hamburg – 9 March 1994 in Hamburg), also known as Willi Berkhan, was a German politician, representative of the Social Democratic Party.
See also
List of Social Democratic Party of Germany politicians
References
Social Democratic Party of Germany politicians
1915 births
1994 deaths
Military Ombudspersons in Germany
|
Jenny Hung (born 23 March 1991 in Taipei, Taiwan) is a semi-professional table tennis player from Christchurch, New Zealand. She is currently ranked #3 in New Zealand, #19 in Oceania and #662 in the world for Open Women's table tennis. Hung has been the top ranked female junior in New Zealand for the past several years and is a representative player for both Canterbury region and New Zealand. Her most notable achievement came at the 2009 Australian Junior Open, where she became the first New Zealander and the first player from Oceania to win an ITTF Junior Circuit Singles title.
Achievements
2006
Commonwealth Championships - NZ Women's team bronze medal
2007
New Zealand Open Champs - Under 21 & 18 Women's Singles Winner
2008
New Zealand Open Champs - Under 21 & 18 Women's Singles Winner
2009
Australian Junior Open Winner
2010
Oceania Champs - Under 21 Women's Singles Winner
Selected in the New Zealand team for the Commonwealth Games in Delhi
Playing style
Hung primarily employs an at the table, counter-driving style of play. She utilises long serves as well as short serves due to her rallying proficiency, which effectively allows her to capitalise on all but the most aggressive of returns and take control of the point. She consistently slices long on the return of serve, often inducing a weak attacking shot from her opponent that can easily be dispatched for a winner. Because of her flat hitting style, however, Hung has historically struggled against choppers. Recent years have seen the development of her forehand topspin in order to counteract such style players.
References
Living people
1991 births
New Zealand female table tennis players
Table tennis players at the 2006 Commonwealth Games
Commonwealth Games competitors for New Zealand
Table tennis players at the 2010 Commonwealth Games
|
```javascript
/**
* @author Yosuke Ota
* See LICENSE file in root directory for full license.
*/
'use strict'
const utils = require('../utils')
module.exports = {
meta: {
type: 'problem',
docs: {
description:
'disallow using deprecated the `functional` template (in Vue.js 3.0.0+)',
categories: ['vue3-essential'],
url: 'path_to_url
},
fixable: null,
schema: [],
messages: {
unexpected: 'The `functional` template are deprecated.'
}
},
/**
* @param {RuleContext} context - The rule context.
* @returns {RuleListener} AST event handlers.
*/
create(context) {
return {
Program(program) {
const element = program.templateBody
if (element == null) {
return
}
const functional = utils.getAttribute(element, 'functional')
if (functional) {
context.report({
node: functional,
messageId: 'unexpected'
})
}
}
}
}
}
```
|
The Commonwealth Games has been commemorated in the postage stamps of a number of nations. Unlike the Olympic Games the first celebrations of the Commonwealth Games did not appear on stamps. The first Commonwealth Games stamps were issued in connection with the Games in Cardiff in 1958, although there were philatelic labels issued for Games prior to 1958.
1934 London
New Zealand, 1990, SG 1559 (shows Jack Lovelock running in the 1934 British Empire Games)
New Zealand, 1990, SG MS1561 (mentions the 1934 British Empire Games on the miniature sheet)
1938 Sydney
Australia, 1938, Philatelic label
Australia, 1938, 150th anniversary of New South Wales, SG 193-195 (Not Commonwealth Games, but the games were held in conjunction with the 150th anniversary of New South Wales)
1958 Cardiff
Great Britain, 1958, SG 567-569
1962 Perth
Australia, 1962, SG 346-347
Australia, 2006, SG MS2599 (1962 stamps reprinted in miniature sheet in conjunction with 2006 Commonwealth Games)
Papua & New Guinea, 1962, SG 39-41
1966 Kingston
Jamaica, 1966, SG 254–257, MS258
Kenya Uganda Tanzania, 1966, SG 227-230
1970 Edinburgh
Calf of Man, 1970, British local issue not listed in Stanley Gibbons (set of 5 values and Miniature Sheet)
Gambia, 1970, SG 262-264
Great Britain, 1970, SG 832-834
Kenya Uganda Tanzania, 1970, SG 280-283
Malawi, 1970, SG 351–354, MS355
Swaziland, 1970, SG 180-183
1974 Christchurch
Cook Islands, 1974, SG 455–459, MS460
Fiji, 1974, SG 489-491
New Zealand, 1974, SG 1041–1045, MS1046
Samoa, 1974, SG 422-425
Tonga, 1974, SG 469–478, O109-O111
1978 Edmonton
Canada, 1978, SG 908–909, 918-921
Isle of Man, 1978, SG 140
Kenya, 1978, SG 127-130
Tonga, 1978, SG 665-665, O163-O165
Turks & Caicos Islands. 1978, SG 509–512, MS513
Uganda, 1978, SG 210–213, MS214
Uganda, 1979, SG 263-266 (Commonwealth Games set overprinted "Uganda Liberated 1979")
1982 Brisbane
Anguilla, 1982, SG 530-533
Ascension Island, 1982, SG 326-327
Australia, 1982, SG 859–862, MS863
Australia, 1982, SG MS863 (overprinted with "ANPex 82 National Stamp Exhibition 1982" on non-stamp portion of Miniature Sheet)
Australia, 1982, Aerogram with printed stamp
Australia, 2006, SG MS2599b 1982 stamps reprinted in Miniature Sheet in conjunction with 2006 Commonwealth Games
Falkland Islands, 1982, SG 431-432
Great Britain, 1982, Commemorative Sheet issued for Stampex 82
Great Britain, 2012, stamp issued as part of Diamond Jubilee set shows the Queen at the Brisbane Games in 1982
Guyana, 1982, SG 1005
Kenya, 1984, SG 457
Papua New Guinea, 1982, SG 460-463
St Helena, 1982, SG 401-402
Samoa, 1982, SG 625-628
Solomon Islands, 1982, SG 473–474, MS476
Tonga, 1982, SG 823-824
Tristan da Cunha, 1982, SG 335-336
1982 Commonwealth Table Tennis Championships, Bombay
India, 1980, SG 967
1986 Edinburgh
Eynhallow, 1986, British local issue not listed in Stanley Gibbons (set of 2 values)
Great Britain, 1986, SG 1328-1331
Guernsey, 1986, SG 371-376
Isle of Man, 1986, SG 306-309
Kenya, 1986, stamps prepared but not issued. (A few rural post offices did issue the stamps, so used examples of the 1/- value have been seen. One mint set of all 5 values is known in the collection of a German stamp collector.)
Tonga, 1986, SG 948-949
1990 Auckland
New Zealand, 1989, SG 1530–1537, MS1538
Tanzania, 1990, SG 817–820, MS821
Tonga, 1990, SG 1065-1069
1994 Victoria
Canada, 1994, SG 1590-1595
Hong Kong, 1994, SG 783-786
Nauru, 1994, SG 421
1998 Kuala Lumpur
Fiji, 1998, SG 1026–1029, MS1030
Malaysia, 1994, SG 548-549
Malaysia, 1995, SG 575-576
Malaysia, 1996, SG 627-630
Malaysia, 1997, SG 668-671
Malaysia, 1998, SG MS678
Malaysia, 1998, SG 693–708, MS709
Malaysia, 1998, SG MS715/MS716
Malaysia, 1998, Aerogram with printed stamp
Malaysia, 1998, pre-printed envelope for closing ceremony
Nauru, 1998, SG 483–486, MS487
Norfolk Island, 1998, SG 679–681, MS682
Papua New Guinea, 1998, SG 841-844
2002 Manchester
Australia, 2002, Aerogram with printed stamp
British Virgin Islands, 2003, SG 1116-1117
Great Britain, 2002, SG 2299-2303
Isle of Man, 2002, SG 976-981
Norfolk Island, 2002, SG 809-812
Pabay, 2002, British Local Issue not listed by Stanley Gibbons (3 values in a Miniature Sheet)
St Kitts, 2002, SG 718-719 (stamps feature Kim Collins)
Samoa, 2003, SG 1126 (stamp shows Beatrice Faumuina, the Commonwealth Games Discus champion from New Zealand)
Tonga, 2002, SG 1523-1526
2006 Melbourne
Australia, 2005, SG 2522 (stamp issued for the Queen's 79th Birthday, featured Commonwealth Games logo)
Australia, 2006, SG 2575, 2596–2598, MS2599, MS2599c, 2600
Australia, 2006, SG MS2607 (Opening Ceremony Miniature Sheet)
Australia, 2006, SG MS2608-MS2621 (14 miniature sheets featuring Australian Gold Medal winners)
Australia, 2006, SG MS2622 (Closing Ceremony Miniature Sheet)
Australia, 2006, SG MS2623 ("Most Memorable Moment" Miniature Sheet (Women's Marathon))
Norfolk Island, 2006, SG 946-947 (Commonwealth Games Baton arrival in Norfolk Island)
Norfolk Island, 2006, SG 948-950
Uganda, 2007, SG 2669-2670 two stamps issued as part of the set for Commonwealth Heads of Government Meeting in Kampala, featuring Ugandan athletes at the 2006 Commonwealth Games, namely Dorcus Inzikuru, the gold-medallist in the women's steeplechase, and Boniface Toroitich Kiprop the gold-medallist in the men's 10,000 metres
Samoa, 2007, SG 1201, MS1204 (featuring Ele Opeloge, the Commonwealth Games Women's Weightlifting Champion from Samoa)
2008 Pune (Commonwealth Youth Games)
India, 2008, 4 stamps and Miniature Sheet SG 2509–2512, MS2513
2010 Delhi
Australia, 2006, miniature sheet SG MS2622 stamps feature Delhi 2010 contribution to the Melbourne Commonwealth Games closing ceremony
Gibraltar, 2010, miniature sheet issued 20 October 2010
Guernsey, 2010, stamps issued 23 September 2010
India, 2008, stamp and miniature sheet SG 2516 miniature sheet not listed by Stanley Gibbons
India 2010, 2 stamps and miniature sheet SG 2723–2724, MS2725
India 2010, 2 stamps and miniature sheet SG 2735–2736, MS2737
India 2010, 4 stamps and miniature sheet issued 3 October 2010
Mozambique, 2010, 8 stamps and miniature sheet issued 30 November 2010
Papua New Guinea, 2010, set of four stamps and miniature sheet issued 3 September 2010
2011 Isle of Man (Commonwealth Youth Games)
Isle of Man, 2011, miniature sheet issued 19 August 2011
2014 Glasgow
Sri Lanka, 2007, 2 stamps SG 1920-1921 (issued for CGF General Assembly held in Sri Lanka in 2007, where the Games were awarded to Glasgow in 2014)
Sri Lanka, 2013, 4 stamps (issued for the Glasgow 2014 Queen's Baton Relay visit to Sri Lanka; these however are "personalized stamps" which are valid for postage, but not issued to the general public)
2018 Gold Coast
St Kitts, 2011, 1 stamp (issued for CGF General Assembly held in St Kitts in 2011, where the Games were awarded to Gold Coast in 2018)
See also
References
Stamps
Stamps
Sport on stamps
Lists of postage stamps
|
Aguilar del Río Alhama is a village in the province and autonomous community of La Rioja, Spain. The municipality covers an area of and as of 2011 had a population of 549 people. It is located in a low altitude mountainous area, in the foothills of the Iberian System. It belongs to the region of Rioja Baja and is washed by the waters of the Alhama river.
Location
The municipality is located in the extreme southeast of La Rioja, in the foothills of the Sierra del Pelago. It is bordered to the north and east by Cervera del Rio Alhama, west (from N to S) by Valdemadera and Navajún, and to the south by four municipalities in Soria province (from W to E), Cigudosa, San Felices, Dévanos and Ágreda.
History
The earliest record of the municipality dates from the 12th century when it was incorporated into Castile in 1198.
In 1269 Theobald II of Navarre included it in the jurisdiction of Viana and granted a weekly market on Tuesdays.
In 1271 Henry I of Navarre ordered the residents of the village of Rio to relocate to the village to form a single municipality. In 1273 Pedro Sanchez de Monteagut, lord of Cascante, who owned the village, donated it to King Henry.
In 1302 toll collectors from Tudela claimed rights over the village as a result of which they complained to Alfonso Robray, governor of Navarre, who ordered them not to worry.
In the 14th century, it was integrated into the lordship of Cameros. John II, in 1452, liberated the entire village from the perpetual tax on wine which they sold, for having been faithful, although they may have experienced theft, arrest or were killed.
In 1463 Henry IV of Castile subjected many villages to his dominion, including Aguilar, under the compromise ruling granted by Louis XI of France.
In the 16th century, the Aguilar County was created.
Until the late 16th century, Aguilar del Rio Alhama was an Islamic community of Moriscos (Moors forcibly converted to Catholicism). In the 1580s, it was the scene of one of the worst collective persecutions of an entire Morisco community in the history of the Inquisition, when nearly 30 adults from a village of some hundred households were burned at the stake or died in prison for secretly practising Islamic rituals. The Morisco community never recovered, and in the early years of the 17th century, all Moriscos were expelled from Spain by royal edict.
A mine was discovered in 1747 in a place called Santo de la Peña. Here a small extraction was conducted and this was sold to potters from Ágreda. There is no evidence that exploiting followed later.
Dinosaur footprints
During the Cretaceous period the zone where Aguilar del Río Alhama occupies formed part of a flooded plain that was eroded periodically, leaving behind muddy areas where dinosaur tracks remained marked into its path. Eventually these were dried and covered with new sediment whose weight compressed the lower layers, causing them to solidify into rocks over millions of years. Erosion has been wearing down the upper layers resulting in many of these rock formations becoming visible, revealing the footprints.
The town is the site of "La Virgen del Prado", declared Bien de Interés Cultural in the category of Historic Site on 23 June 2000. It is located near the village of Inestrillas next to the chapel that lends its name to the site, 2.4 km from the road. It is easily accessible. In it there are 36 footprints of carnivorous dinosaurs between 30 and 32 cm in the length which shows three stylized fingers (Filichnites gracilis). Four of the footprints form a small trail and the rest are isolated. Aguilar del Río Alhama has the peculiarity of containing the oldest footprints in La Rioja. Fish scales of the genus Lepidotes have also been found.
Demography
The closure, in 1959, of a textile factory which employed a number of people, caused a rapid decline in the population, as many had to move to other areas in search of work.
On 1 January 2010 the population was 573 inhabitants, 275 men and 298 women.
Recent population of the main nucleus
As at 1 January 2010, Aguilar del Río Alhama had a population of 493 inhabitants with 241 men and 252 women.
Population by nucleus
Communication routes
County road 284 connects Aguilar to Cervera del Río Alhama, the head of the region. Inestrillas, a village located in this same county, is found on this road.
Route 388 connects to the Soria towns of San Felices and Castilruiz.
Route 490 connects to Valdemadera and Navajún.
There is bus service from:
Logroño
Cervera del Río Alhama
Calahorra. Weekdays only.
Alfaro. Weekdays only.
Tudela
Places of interest
Buildings and monuments
Church of the Assumption: Made up of a single nave with three sections and was built with stone and ashlar in the 16th century. It has starry ribbed vaults and four side chapels. It features neoclassical and baroque altarpieces. There is a Gothic sculpture of the Virgen de los Remedios and a recumbent Christ from the 18th century.
The Valvanera or Santa María La Antigua Hermitage: From the Romanesque period.
Castle: It was located on top of the hill next to the village and was built in the 12th century. Only its ruins remain.
Other places of interest
Contrebia Leukade: was a Celtiberian city whose history dates back to the early Iron Age. Its ruins are preserved in relatively good condition. It is adjacent to the village of Inestrillas.
Gutur: is a deserted village which has a chapel dedicated to the Virgen de los Remedios.
Flora and fauna
There are a lot of vultures flying over the town which take advantage of the thermal currents. There are also golden eagles, Bonelli and hawks. There is also the Mustela putorius or European polecat.
In the municipality, besides common trees such as the oak or elder, there is also found the pistacia terebinthus or turpentine tree, the acer monspessulanum or black maple, Juniperus phoenicea or Phoenicean Juniper, the Juniperus oxycedrus or prickly Juniper, cistus albidus or white rockrose.
Celebrations
January 17, San Antón.
May 3, Day of the Cross. It was moved to the first Saturday in May and is a pilgrimage to the shrine of the Virgen de los Remedios in Gutur. Bodigos (bread stuffed with egg and sausage) are traditional features of this day.
14 to 20 August, festivities in honour of the Assumption and Saint Roch.
Image gallery
Bibliography
See also
List of municipalities in La Rioja
La Rioja (Spain)
References
External links
Official site of Aguilar del Río Alhama
Official site of the Celtiberian city of Contrebia Leucade
Aguilar del Río Alhama website
Blog with updated information and news on Aguilar del Río Alhama
Contrebia Leucade, Photo gallery
Populated places in La Rioja (Spain)
Bien de Interés Cultural landmarks in La Rioja (Spain)
|
```html
<HTML>
<!--
(See accompanying file LICENSE_1_0.txt or copy at
path_to_url
-->
<Head>
<Title>Boost Graph Library: EventVisitor</Title>
<BODY BGCOLOR="#ffffff" LINK="#0000ee" TEXT="#000000" VLINK="#551a8b"
ALINK="#ff0000">
<IMG SRC="../../../boost.png"
ALT="C++ Boost" width="277" height="86">
<BR Clear>
<H1>EventVisitor Concept</H1>
This concept defines the interface for single-event visitors. An
EventVisitor has an apply member function (<tt>operator()</tt>) which
is invoked within the graph algorithm at the event-point specified by
the <tt>event_filter</tt> typedef within the
EventVisitor. EventVisitor's can be combined into an <a
href="./EventVisitorList.html">EventVistorList</a>.
<p>
The following is the list of event tags that can be invoked in BGL
algorithms. Each tag corresponds to a member function of the visitor
for an algorithm. For example, the <a
href="./BFSVisitor.html">BFSVisitor</a> of <a
href="./breadth_first_search.html"><tt>breadth_first_search()</tt></a>
has a <tt>cycle_edge()</tt> member function. The corresponding tag is
<tt>on_cycle_edge</tt>. The first argument is the event visitor's
<tt>operator()</tt> must be either an edge or vertex descriptor
depending on the event tag.
<pre>
namespace boost {
struct on_initialize_vertex { };
struct on_start_vertex { };
struct on_discover_vertex { };
struct on_examine_edge { };
struct on_tree_edge { };
struct on_cycle_edge { };
struct on_finish_vertex { };
struct on_forward_or_cross_edge { };
struct on_back_edge { };
struct on_edge_relaxed { };
struct on_edge_not_relaxed { };
struct on_edge_minimized { };
struct on_edge_not_minimized { };
} // namespace boost
</pre>
<h3>Refinement of</h3>
<a href="../../utility/CopyConstructible.html">Copy Constructible</a>
(copying a visitor should be a lightweight operation).
<h3>Notation</h3>
<Table>
<TR>
<TD><tt>G</tt></TD>
<TD>A type that is a model of <a href="./Graph.html">Graph</a>.</TD>
</TR>
<TR>
<TD><tt>g</tt></TD>
<TD>An object of type <tt>G</tt>.</TD>
</TR>
<TR>
<TD><tt>V</tt></TD>
<TD>A type that is a model of EventVisitor.</TD>
</TR>
<TR>
<TD><tt>vis</tt></TD>
<TD>An object of type <tt>V</tt>.</TD>
</TR>
<TR>
<TD><tt>x</tt></TD>
<TD>An object of type
<tt>boost::graph_traits<G>::vertex_descriptor</tt>
or <tt>boost::graph_traits<G>::edge_descriptor</tt>.</TD>
</TR>
</table>
<h3>Associated Types</h3>
<Table border>
<TR>
<TD>Event Filter </TD>
<TD><TT>V::event_filter</TT></TD>
<TD>
A tag struct to specify on which event the visitor should be invoked.
</TD>
</TR>
</table>
<h3>Valid Expressions</h3>
<Table border>
<tr>
<th>Name</th><th>Expression</th><th>Return Type</th><th>Description</th>
</tr>
<tr>
<td>Apply Visitor</td>
<td><TT>vis(x, g)</TT></TD>
<TD><TT>void</TT></TD>
<TD>
Invokes the visitor operation on object <tt>x</tt>, which is
either a vertex or edge descriptor of the graph.
</TD>
</TR>
</table>
<h3>Models</h3>
<ul>
<li><a
href="./predecessor_recorder.html"><tt>predecessor_recorder</tt></a>
<li><a href="./distance_recorder.html"><tt>distance_recorder</tt></a>
<li><a href="./time_stamper.html"><tt>time_stamper</tt></a>
<li><a href="./property_writer.html"><tt>property_writer</tt></a>
<li><a href="./null_visitor.html"><tt>null_visitor</tt></a>
</ul>
<h3>See Also</h3>
<a href="./EventVisitorList.html">EventVisitorList</a>,
<a href="./visitor_concepts.html">Visitor concepts</a>
<br>
<HR>
<TABLE>
<TR valign=top>
<A HREF="path_to_url">Jeremy Siek</A>,
Indiana University (<A
HREF="mailto:jsiek@osl.iu.edu">jsiek@osl.iu.edu</A>)<br>
<A HREF="path_to_url">Lie-Quan Lee</A>, Indiana University (<A HREF="mailto:llee@cs.indiana.edu">llee@cs.indiana.edu</A>)<br>
<A HREF="path_to_url~lums">Andrew Lumsdaine</A>,
Indiana University (<A
HREF="mailto:lums@osl.iu.edu">lums@osl.iu.edu</A>)
</TD></TR></TABLE>
</BODY>
</HTML>
```
|
```shell
Block IPs using `Fail2ban`
Track SSH log-in attempts
Best password generation utilities
Lockdown **Cronjobs**
Disabling **USB** storage devices
```
|
```python
"""Tests for 'site'.
Tests assume the initial paths in sys.path once the interpreter has begun
executing have not been removed.
"""
import unittest
from test.test_support import run_unittest, TESTFN, EnvironmentVarGuard
from test.test_support import captured_output
import __builtin__
import os
import sys
import re
import encodings
import subprocess
import sysconfig
from copy import copy
# Need to make sure to not import 'site' if someone specified ``-S`` at the
# command-line. Detect this by just making sure 'site' has not been imported
# already.
if "site" in sys.modules:
import site
else:
raise unittest.SkipTest("importation of site.py suppressed")
if site.ENABLE_USER_SITE and not os.path.isdir(site.USER_SITE):
# need to add user site directory for tests
try:
os.makedirs(site.USER_SITE)
site.addsitedir(site.USER_SITE)
except OSError as exc:
raise unittest.SkipTest('unable to create user site directory (%r): %s'
% (site.USER_SITE, exc))
class HelperFunctionsTests(unittest.TestCase):
"""Tests for helper functions.
The setting of the encoding (set using sys.setdefaultencoding) used by
the Unicode implementation is not tested.
"""
def setUp(self):
"""Save a copy of sys.path"""
self.sys_path = sys.path[:]
self.old_base = site.USER_BASE
self.old_site = site.USER_SITE
self.old_prefixes = site.PREFIXES
self.old_vars = copy(sysconfig._CONFIG_VARS)
def tearDown(self):
"""Restore sys.path"""
sys.path[:] = self.sys_path
site.USER_BASE = self.old_base
site.USER_SITE = self.old_site
site.PREFIXES = self.old_prefixes
sysconfig._CONFIG_VARS = self.old_vars
def test_makepath(self):
# Test makepath() have an absolute path for its first return value
# and a case-normalized version of the absolute path for its
# second value.
path_parts = ("Beginning", "End")
original_dir = os.path.join(*path_parts)
abs_dir, norm_dir = site.makepath(*path_parts)
self.assertEqual(os.path.abspath(original_dir), abs_dir)
if original_dir == os.path.normcase(original_dir):
self.assertEqual(abs_dir, norm_dir)
else:
self.assertEqual(os.path.normcase(abs_dir), norm_dir)
def test_init_pathinfo(self):
dir_set = site._init_pathinfo()
for entry in [site.makepath(path)[1] for path in sys.path
if path and os.path.isdir(path)]:
self.assertIn(entry, dir_set,
"%s from sys.path not found in set returned "
"by _init_pathinfo(): %s" % (entry, dir_set))
def pth_file_tests(self, pth_file):
"""Contain common code for testing results of reading a .pth file"""
self.assertIn(pth_file.imported, sys.modules,
"%s not in sys.modules" % pth_file.imported)
self.assertIn(site.makepath(pth_file.good_dir_path)[0], sys.path)
self.assertFalse(os.path.exists(pth_file.bad_dir_path))
def test_addpackage(self):
# Make sure addpackage() imports if the line starts with 'import',
# adds directories to sys.path for any line in the file that is not a
# comment or import that is a valid directory name for where the .pth
# file resides; invalid directories are not added
pth_file = PthFile()
pth_file.cleanup(prep=True) # to make sure that nothing is
# pre-existing that shouldn't be
try:
pth_file.create()
site.addpackage(pth_file.base_dir, pth_file.filename, set())
self.pth_file_tests(pth_file)
finally:
pth_file.cleanup()
def make_pth(self, contents, pth_dir='.', pth_name=TESTFN):
# Create a .pth file and return its (abspath, basename).
pth_dir = os.path.abspath(pth_dir)
pth_basename = pth_name + '.pth'
pth_fn = os.path.join(pth_dir, pth_basename)
pth_file = open(pth_fn, 'w')
self.addCleanup(lambda: os.remove(pth_fn))
pth_file.write(contents)
pth_file.close()
return pth_dir, pth_basename
def test_addpackage_import_bad_syntax(self):
# Issue 10642
pth_dir, pth_fn = self.make_pth("import bad)syntax\n")
with captured_output("stderr") as err_out:
site.addpackage(pth_dir, pth_fn, set())
self.assertRegexpMatches(err_out.getvalue(), "line 1")
self.assertRegexpMatches(err_out.getvalue(),
re.escape(os.path.join(pth_dir, pth_fn)))
# XXX: the previous two should be independent checks so that the
# order doesn't matter. The next three could be a single check
# but my regex foo isn't good enough to write it.
self.assertRegexpMatches(err_out.getvalue(), 'Traceback')
self.assertRegexpMatches(err_out.getvalue(), r'import bad\)syntax')
self.assertRegexpMatches(err_out.getvalue(), 'SyntaxError')
def test_addpackage_import_bad_exec(self):
# Issue 10642
pth_dir, pth_fn = self.make_pth("randompath\nimport nosuchmodule\n")
with captured_output("stderr") as err_out:
site.addpackage(pth_dir, pth_fn, set())
self.assertRegexpMatches(err_out.getvalue(), "line 2")
self.assertRegexpMatches(err_out.getvalue(),
re.escape(os.path.join(pth_dir, pth_fn)))
# XXX: ditto previous XXX comment.
self.assertRegexpMatches(err_out.getvalue(), 'Traceback')
self.assertRegexpMatches(err_out.getvalue(), 'ImportError')
@unittest.skipIf(sys.platform == "win32", "Windows does not raise an "
"error for file paths containing null characters")
def test_addpackage_import_bad_pth_file(self):
# Issue 5258
pth_dir, pth_fn = self.make_pth("abc\x00def\n")
with captured_output("stderr") as err_out:
site.addpackage(pth_dir, pth_fn, set())
self.assertRegexpMatches(err_out.getvalue(), "line 1")
self.assertRegexpMatches(err_out.getvalue(),
re.escape(os.path.join(pth_dir, pth_fn)))
# XXX: ditto previous XXX comment.
self.assertRegexpMatches(err_out.getvalue(), 'Traceback')
self.assertRegexpMatches(err_out.getvalue(), 'TypeError')
def test_addsitedir(self):
# Same tests for test_addpackage since addsitedir() essentially just
# calls addpackage() for every .pth file in the directory
pth_file = PthFile()
pth_file.cleanup(prep=True) # Make sure that nothing is pre-existing
# that is tested for
try:
pth_file.create()
site.addsitedir(pth_file.base_dir, set())
self.pth_file_tests(pth_file)
finally:
pth_file.cleanup()
@unittest.skipUnless(site.ENABLE_USER_SITE, "requires access to PEP 370 "
"user-site (site.ENABLE_USER_SITE)")
def test_s_option(self):
usersite = site.USER_SITE
self.assertIn(usersite, sys.path)
env = os.environ.copy()
rc = subprocess.call([sys.executable, '-c',
'import sys; sys.exit(%r in sys.path)' % usersite],
env=env)
self.assertEqual(rc, 1, "%r is not in sys.path (sys.exit returned %r)"
% (usersite, rc))
env = os.environ.copy()
rc = subprocess.call([sys.executable, '-s', '-c',
'import sys; sys.exit(%r in sys.path)' % usersite],
env=env)
self.assertEqual(rc, 0)
env = os.environ.copy()
env["PYTHONNOUSERSITE"] = "1"
rc = subprocess.call([sys.executable, '-c',
'import sys; sys.exit(%r in sys.path)' % usersite],
env=env)
self.assertEqual(rc, 0)
env = os.environ.copy()
env["PYTHONUSERBASE"] = "/tmp"
rc = subprocess.call([sys.executable, '-c',
'import sys, site; sys.exit(site.USER_BASE.startswith("/tmp"))'],
env=env)
self.assertEqual(rc, 1)
def test_getuserbase(self):
site.USER_BASE = None
user_base = site.getuserbase()
# the call sets site.USER_BASE
self.assertEqual(site.USER_BASE, user_base)
# let's set PYTHONUSERBASE and see if it uses it
site.USER_BASE = None
import sysconfig
sysconfig._CONFIG_VARS = None
with EnvironmentVarGuard() as environ:
environ['PYTHONUSERBASE'] = 'xoxo'
self.assertTrue(site.getuserbase().startswith('xoxo'),
site.getuserbase())
def test_getusersitepackages(self):
site.USER_SITE = None
site.USER_BASE = None
user_site = site.getusersitepackages()
# the call sets USER_BASE *and* USER_SITE
self.assertEqual(site.USER_SITE, user_site)
self.assertTrue(user_site.startswith(site.USER_BASE), user_site)
def test_getsitepackages(self):
site.PREFIXES = ['xoxo']
dirs = site.getsitepackages()
if sys.platform in ('os2emx', 'riscos'):
self.assertEqual(len(dirs), 1)
wanted = os.path.join('xoxo', 'Lib', 'site-packages')
self.assertEqual(dirs[0], wanted)
elif os.sep == '/':
# OS X, Linux, FreeBSD, etc
self.assertEqual(len(dirs), 2)
wanted = os.path.join('xoxo', 'lib', 'python' + sys.version[:3],
'site-packages')
self.assertEqual(dirs[0], wanted)
wanted = os.path.join('xoxo', 'lib', 'site-python')
self.assertEqual(dirs[1], wanted)
else:
# other platforms
self.assertEqual(len(dirs), 2)
self.assertEqual(dirs[0], 'xoxo')
wanted = os.path.join('xoxo', 'lib', 'site-packages')
self.assertEqual(dirs[1], wanted)
class PthFile(object):
"""Helper class for handling testing of .pth files"""
def __init__(self, filename_base=TESTFN, imported="time",
good_dirname="__testdir__", bad_dirname="__bad"):
"""Initialize instance variables"""
self.filename = filename_base + ".pth"
self.base_dir = os.path.abspath('')
self.file_path = os.path.join(self.base_dir, self.filename)
self.imported = imported
self.good_dirname = good_dirname
self.bad_dirname = bad_dirname
self.good_dir_path = os.path.join(self.base_dir, self.good_dirname)
self.bad_dir_path = os.path.join(self.base_dir, self.bad_dirname)
def create(self):
"""Create a .pth file with a comment, blank lines, an ``import
<self.imported>``, a line with self.good_dirname, and a line with
self.bad_dirname.
Creation of the directory for self.good_dir_path (based off of
self.good_dirname) is also performed.
Make sure to call self.cleanup() to undo anything done by this method.
"""
FILE = open(self.file_path, 'w')
try:
print>>FILE, "#import @bad module name"
print>>FILE, "\n"
print>>FILE, "import %s" % self.imported
print>>FILE, self.good_dirname
print>>FILE, self.bad_dirname
finally:
FILE.close()
os.mkdir(self.good_dir_path)
def cleanup(self, prep=False):
"""Make sure that the .pth file is deleted, self.imported is not in
sys.modules, and that both self.good_dirname and self.bad_dirname are
not existing directories."""
if os.path.exists(self.file_path):
os.remove(self.file_path)
if prep:
self.imported_module = sys.modules.get(self.imported)
if self.imported_module:
del sys.modules[self.imported]
else:
if self.imported_module:
sys.modules[self.imported] = self.imported_module
if os.path.exists(self.good_dir_path):
os.rmdir(self.good_dir_path)
if os.path.exists(self.bad_dir_path):
os.rmdir(self.bad_dir_path)
class ImportSideEffectTests(unittest.TestCase):
"""Test side-effects from importing 'site'."""
def setUp(self):
"""Make a copy of sys.path"""
self.sys_path = sys.path[:]
def tearDown(self):
"""Restore sys.path"""
sys.path[:] = self.sys_path
def test_abs__file__(self):
# Make sure all imported modules have their __file__ attribute
# as an absolute path.
# Handled by abs__file__()
site.abs__file__()
for module in (sys, os, __builtin__):
try:
self.assertTrue(os.path.isabs(module.__file__), repr(module))
except AttributeError:
continue
# We could try everything in sys.modules; however, when regrtest.py
# runs something like test_frozen before test_site, then we will
# be testing things loaded *after* test_site did path normalization
def test_no_duplicate_paths(self):
# No duplicate paths should exist in sys.path
# Handled by removeduppaths()
site.removeduppaths()
seen_paths = set()
for path in sys.path:
self.assertNotIn(path, seen_paths)
seen_paths.add(path)
@unittest.skip('test not implemented')
def test_add_build_dir(self):
# Test that the build directory's Modules directory is used when it
# should be.
# XXX: implement
pass
def test_setting_quit(self):
# 'quit' and 'exit' should be injected into __builtin__
self.assertTrue(hasattr(__builtin__, "quit"))
self.assertTrue(hasattr(__builtin__, "exit"))
def test_setting_copyright(self):
# 'copyright' and 'credits' should be in __builtin__
self.assertTrue(hasattr(__builtin__, "copyright"))
self.assertTrue(hasattr(__builtin__, "credits"))
def test_setting_help(self):
# 'help' should be set in __builtin__
self.assertTrue(hasattr(__builtin__, "help"))
def test_aliasing_mbcs(self):
if sys.platform == "win32":
import locale
if locale.getdefaultlocale()[1].startswith('cp'):
for value in encodings.aliases.aliases.itervalues():
if value == "mbcs":
break
else:
self.fail("did not alias mbcs")
def test_setdefaultencoding_removed(self):
# Make sure sys.setdefaultencoding is gone
self.assertTrue(not hasattr(sys, "setdefaultencoding"))
def test_sitecustomize_executed(self):
# If sitecustomize is available, it should have been imported.
if "sitecustomize" not in sys.modules:
try:
import sitecustomize
except ImportError:
pass
else:
self.fail("sitecustomize not imported automatically")
def test_main():
run_unittest(HelperFunctionsTests, ImportSideEffectTests)
if __name__ == "__main__":
test_main()
```
|
Tony Rohr (born 1940) is an Irish actor.
Career
Rohr played Grandad in The Lakes and Solomon Featherstone in Middlemarch. He has also appeared in The Bill, The Long Good Friday, McVicar, Softly, Softly, Crown Court, The Sweeney, Casualty, Lovejoy, I Hired a Contract Killer, Cracker, The Vet, Father Ted, Waking the Dead, Hustle and Inspector George Gently. He played the railway station master in the 2010 film Leap Year. He played the IRA Brigade Commander in Yorkshire TV's Harry's Game. He recently played Anthony, the estranged father of the title character, Derek, in the series of the same name written and directed by Ricky Gervais.
Personal life
He has a daughter Louise with actress Pauline Collins. Collins gave baby Louise up for adoption in 1964. They were reunited 22 years later. Collins' book, Letter To Louise, documents these events.
Filmography
References
External links
Living people
British male film actors
British male television actors
1940 births
Place of birth missing (living people)
|
```xml
// Not using openpgp to allow using this without having to depend on openpgp being loaded
import { stringToUint8Array, uint8ArrayToString } from './encoding';
import { hasStorage as hasSessionStorage } from './sessionStorage';
/**
* Partially inspired by path_to_url
* However, we aim to deliberately be non-persistent. This is useful for
* data that wants to be preserved across refreshes, but is too sensitive
* to be safely written to disk. Unfortunately, although sessionStorage is
* deleted when a session ends, major browsers automatically write it
* to disk to enable a session recovery feature, so using sessionStorage
* alone is inappropriate.
*
* To achieve this, we do two tricks. The first trick is to delay writing
* any possibly persistent data until the user is actually leaving the
* page (onunload). This already prevents any persistence in the face of
* crashes, and severely limits the lifetime of any data in possibly
* persistent form on refresh.
*
* The second, more important trick is to split sensitive data between
* window.name and sessionStorage. window.name is a property that, like
* sessionStorage, is preserved across refresh and navigation within the
* same tab - however, it seems to never be stored persistently. This
* provides exactly the lifetime we want. Unfortunately, window.name is
* readable and transferable between domains, so any sensitive data stored
* in it would leak to random other websites.
*
* To avoid this leakage, we split sensitive data into two shares which
* xor to the sensitive information but which individually are completely
* random and give away nothing. One share is stored in window.name, while
* the other share is stored in sessionStorage. This construction provides
* security that is the best of both worlds - random websites can't read
* the data since they can't access sessionStorage, while disk inspections
* can't read the data since they can't access window.name. The lifetime
* of the data is therefore the smaller lifetime, that of window.name.
*/
const deserialize = (string: string) => {
try {
return JSON.parse(string);
} catch (e: any) {
return {};
}
};
const serialize = (data: any) => JSON.stringify(data);
const deserializeItem = (value: string | undefined) => {
if (value === undefined) {
return;
}
try {
return stringToUint8Array(atob(value));
} catch (e: any) {
return undefined;
}
};
const serializeItem = (value: Uint8Array) => {
return btoa(uint8ArrayToString(value));
};
const mergePart = (serializedA: string | undefined, serializedB: string | undefined) => {
const a = deserializeItem(serializedA);
const b = deserializeItem(serializedB);
if (a === undefined || b === undefined || a.length !== b.length) {
return;
}
const xored = new Uint8Array(b.length);
for (let j = 0; j < b.length; j++) {
xored[j] = b[j] ^ a[j];
}
// Strip off padding
let unpaddedLength = b.length;
while (unpaddedLength > 0 && xored[unpaddedLength - 1] === 0) {
unpaddedLength--;
}
return uint8ArrayToString(xored.slice(0, unpaddedLength));
};
export const mergeParts = (share1: any, share2: any) =>
Object.keys(share1).reduce<{ [key: string]: string }>((acc, key) => {
const value = mergePart(share1[key], share2[key]);
if (value === undefined) {
return acc;
}
acc[key] = value;
return acc;
}, {});
const separatePart = (value: string) => {
const item = stringToUint8Array(value);
const paddedLength = Math.ceil(item.length / 256) * 256;
const share1 = crypto.getRandomValues(new Uint8Array(paddedLength));
const share2 = new Uint8Array(share1);
for (let i = 0; i < item.length; i++) {
share2[i] ^= item[i];
}
return [serializeItem(share1), serializeItem(share2)];
};
export const separateParts = (data: any) =>
Object.keys(data).reduce<{ share1: { [key: string]: any }; share2: { [key: string]: any } }>(
(acc, key) => {
const value = data[key];
if (value === undefined) {
return acc;
}
const [share1, share2] = separatePart(value);
acc.share1[key] = share1;
acc.share2[key] = share2;
return acc;
},
{ share1: {}, share2: {} }
);
const SESSION_STORAGE_KEY = 'proton:storage';
export const save = (data: any) => {
if (!hasSessionStorage()) {
return;
}
const [share1, share2] = separatePart(JSON.stringify(data));
window.name = serialize(share1);
window.sessionStorage.setItem(SESSION_STORAGE_KEY, share2);
};
export const load = () => {
if (!hasSessionStorage()) {
return {};
}
try {
const share1 = deserialize(window.name);
const share2 = window.sessionStorage.getItem(SESSION_STORAGE_KEY) || '';
window.name = '';
window.sessionStorage.removeItem(SESSION_STORAGE_KEY);
const string = mergePart(share1, share2) || '';
const parsedValue = JSON.parse(string) || {};
if (parsedValue === Object(parsedValue)) {
return parsedValue;
}
return {};
} catch {
return {};
}
};
```
|
Salinõmme peninsula is a peninsula in southeastern Hiiumaa, 5 km to south of Suuremõisa, an Estonian territory in the Baltic Sea. It lies in east of Salinõmme Bay and in west of Soonlepa Bay. Village of Salinõmme comprises all of the peninsula. In 1870 the peninsula was still an island.
References
Hiiumaa Parish
Peninsulas of Estonia
Former islands of Estonia
Landforms of Hiiu County
|
"Go In and Out the Window" (or "Round and Round the Village") is an English singing game. It has Roud Folk Song Index 734. Documented since the late 19th century, the game was assumed to be an expression of an earlier adult tradition, such as a courtship dance. Later study discounts this idea and regards singing games as specifically a child activity.
Description
One player is chosen as the leader, and the others stand in a fixed circle and sing. The game repeats a series of stages corresponding to the verses of the song. Each verse repeats the same call three times, followed by a coda:
Round and round the village,
Round and round the village,
Round and round the village,
As we have done before.
An early study found that the following stages were the most common:
Round and round the village The leader walks around the outside of the ring.
In and out the windows The leader weaves in and out of the ring under the singers' raised arms.
Stand and face your partner The leader stops inside the ring and chooses a partner.
Follow me to London The partner leaves the ring.
What happens after the partner leaves the ring varies. The partner might follow the leader around the outside of the ring, or run away until tagged by the leader, then take over as leader for the next round. Sometimes the partner joins hands with the leader, forming a line of dancers that grows longer with each round. In some versions, the players initially divide into two teams — one forming the ring, the other a line of dancers — and "follow me to London" is replaced with a brief couple dance involving both teams.
References
External links
http://www.bluegrassmessengers.com/go-in-and-out-the-window--version-3-english-1898.aspx
English children's songs
English folk songs
Singing games
|
Guildford is a town centre and neighbourhood of Surrey, British Columbia, Canada. It is known for its retail corridors along 104 Avenue and 152 Street. At the intersection of these two streets sits the 200-store Guildford Town Centre (also known as the Guildford Shopping Centre). The community is named after Guildford in Surrey, England.
Although Guildford is geographically large, the Guildford "area" is locally considered to centre around the Guildford Town Centre mall and its surrounding blocks. A notable landmark in Guildford is the tall flagpole, which had been located at the Expo 86 fairgrounds, and was then the record holder for world's tallest flagpole. It is also home to the Guildford Recreation Centre, which is owned and operated by the City of Surrey to serve the recreational needs of local residents.
As of the 2016 census, the population of Guildford is 60,745.
Geography
Guildford occupies the northeastern corner of the city of Surrey with its northern border the shores of the Fraser River, its western border extending to roughly 144th Street and the east adjoining the city of Langley at 196th Street. Its southern border with the neighbourhood of Fleetwood extends roughly to 96th Avenue while its southern border with the neighbourhood of Cloverdale extends to roughly 84th and 80th Avenue.
Demographics
See also
Guildford Exchange
Surrey-Whalley provincial electoral district
List of largest enclosed shopping malls in Canada
References
External links
City of Surrey website
Neighbourhoods in Surrey, British Columbia
|
The arrondissement of Romorantin-Lanthenay is an arrondissement of France in the Loir-et-Cher department, in the Centre-Val de Loire region. It has 74 communes. Its population is 112,145 (2016), and its area is .
Composition
The communes of the arrondissement of Romorantin-Lanthenay are:
Angé (41002)
Billy (41016)
Chaon (41036)
La Chapelle-Montmartin (41038)
Châteauvieux (41042)
Châtillon-sur-Cher (41043)
Châtres-sur-Cher (41044)
Chaumont-sur-Tharonne (41046)
Chémery (41049)
Chissay-en-Touraine (41051)
Choussy (41054)
Le Controis-en-Sologne (41059)
Couddes (41062)
Couffy (41063)
Courmemin (41068)
Dhuizon (41074)
Faverolles-sur-Cher (41080)
La Ferté-Beauharnais (41083)
La Ferté-Imbault (41084)
Fresnes (41094)
Gièvres (41097)
Gy-en-Sologne (41099)
Lamotte-Beuvron (41106)
Langon-sur-Cher (41110)
Lassay-sur-Croisne (41112)
Loreux (41118)
Maray (41122)
Marcilly-en-Gault (41125)
Mareuil-sur-Cher (41126)
La Marolle-en-Sologne (41127)
Méhers (41132)
Mennetou-sur-Cher (41135)
Meusnes (41139)
Millançay (41140)
Monthou-sur-Cher (41146)
Montrichard-Val-de-Cher (41151)
Montrieux-en-Sologne (41152)
Mur-de-Sologne (41157)
Neung-sur-Beuvron (41159)
Nouan-le-Fuzelier (41161)
Noyers-sur-Cher (41164)
Oisly (41166)
Orçay (41168)
Pierrefitte-sur-Sauldre (41176)
Pontlevoy (41180)
Pouillé (41181)
Pruniers-en-Sologne (41185)
Romorantin-Lanthenay (41194)
Rougeou (41195)
Saint-Aignan (41198)
Saint-Georges-sur-Cher (41211)
Saint-Julien-de-Chédon (41217)
Saint-Julien-sur-Cher (41218)
Saint-Loup (41222)
Saint-Romain-sur-Cher (41229)
Saint-Viâtre (41231)
Salbris (41232)
Sassay (41237)
Seigy (41239)
Selles-Saint-Denis (41241)
Selles-sur-Cher (41242)
Soings-en-Sologne (41247)
Souesmes (41249)
Souvigny-en-Sologne (41251)
Theillay (41256)
Thésée (41258)
Vallières-les-Grandes (41267)
Veilleins (41268)
Vernou-en-Sologne (41271)
Villefranche-sur-Cher (41280)
Villeherviers (41282)
Villeny (41285)
Vouzon (41296)
Yvoy-le-Marron (41297)
History
The arrondissement of Romorantin-Lanthenay was created in 1800, disbanded in 1926 and restored in 1943. In 2007 it absorbed the canton of Saint-Aignan from the arrondissement of Blois. At the January 2017 reorganisation of the arrondissements of Loir-et-Cher, it gained 17 communes from the arrondissement of Blois, and it lost three communes to the arrondissement of Blois. In January 2019 it gained the commune Courmemin from the arrondissement of Romorantin-Lanthenay.
As a result of the reorganisation of the cantons of France which came into effect in 2015, the borders of the cantons are no longer related to the borders of the arrondissements. The cantons of the arrondissement of Romorantin-Lanthenay were, as of January 2015:
Lamotte-Beuvron
Mennetou-sur-Cher
Neung-sur-Beuvron
Romorantin-Lanthenay-Nord
Romorantin-Lanthenay-Sud
Saint-Aignan
Salbris
Selles-sur-Cher
References
Romorantin-Lanthenay
|
```java
/**
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
package org.thingsboard.server.service.edge.rpc.processor.asset.profile;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Component;
import org.thingsboard.common.util.JacksonUtil;
import org.thingsboard.server.common.data.asset.AssetProfile;
import org.thingsboard.server.common.data.id.AssetProfileId;
import org.thingsboard.server.common.data.id.DashboardId;
import org.thingsboard.server.common.data.id.RuleChainId;
import org.thingsboard.server.common.data.id.TenantId;
import org.thingsboard.server.gen.edge.v1.AssetProfileUpdateMsg;
import org.thingsboard.server.queue.util.TbCoreComponent;
import java.util.UUID;
@Primary
@Component
@TbCoreComponent
public class AssetProfileEdgeProcessorV2 extends AssetProfileEdgeProcessor {
@Override
protected AssetProfile constructAssetProfileFromUpdateMsg(TenantId tenantId, AssetProfileId assetProfileId, AssetProfileUpdateMsg assetProfileUpdateMsg) {
return JacksonUtil.fromString(assetProfileUpdateMsg.getEntity(), AssetProfile.class, true);
}
@Override
protected void setDefaultRuleChainId(TenantId tenantId, AssetProfile assetProfile, RuleChainId ruleChainId) {
assetProfile.setDefaultRuleChainId(ruleChainId);
}
@Override
protected void setDefaultEdgeRuleChainId(AssetProfile assetProfile, RuleChainId ruleChainId, AssetProfileUpdateMsg assetProfileUpdateMsg) {
UUID defaultEdgeRuleChainUUID = ruleChainId != null ? ruleChainId.getId() : null;
assetProfile.setDefaultEdgeRuleChainId(defaultEdgeRuleChainUUID != null ? new RuleChainId(defaultEdgeRuleChainUUID) : null);
}
@Override
protected void setDefaultDashboardId(TenantId tenantId, DashboardId dashboardId, AssetProfile assetProfile, AssetProfileUpdateMsg assetProfileUpdateMsg) {
UUID defaultDashboardUUID = assetProfile.getDefaultDashboardId() != null ? assetProfile.getDefaultDashboardId().getId() : (dashboardId != null ? dashboardId.getId() : null);
assetProfile.setDefaultDashboardId(defaultDashboardUUID != null ? new DashboardId(defaultDashboardUUID) : null);
}
}
```
|
```toml
# i18n strings for the Dutch (main) site.
[deprecation_warning]
other = " documentatie wordt niet langer actief onderhouden. De versie die u momenteel bekijkt is een statische momentopname. Zie voor bijgewerkte documentatie "
[deprecation_file_warning]
other = "Verouderd"
[objectives_heading]
other = "Doelen"
[cleanup_heading]
other = "Opschonen"
[prerequisites_heading]
other = "Voordat je begint"
[whatsnext_heading]
other = "Wat nu volgt"
[feedback_heading]
other = "Feedback"
[feedback_question]
other = "Was deze pagina nuttig?"
[feedback_yes]
other = "Ja"
[feedback_no]
other = "Nee"
[latest_version]
other = "laatste versie."
[version_check_mustbe]
other = "Je Kubernetes server moet op de volgende versie zitten "
[version_check_mustbeorlater]
other = "Je Kubernetes server moet op de volgende of latere versie zitten "
[version_check_tocheck]
other = "Voer het volgende in om de versie te controleren "
[caution]
other = "Voorzichtig:"
[note]
other = "Opmerking:"
[warning]
other = "Opletten:"
[main_read_about]
other = "Lees over"
[main_read_more]
other = "Lees meer"
[main_github_invite]
other = "Genteresseerd om aan de core Kubernetes code base te werken?"
[main_github_view_on]
other = "Bekijk op GitHub"
[main_github_create_an_issue]
other = "Maak een Issue"
[main_community_explore]
other = "Verken de community"
[main_kubernetes_features]
other = "Kubernetes functies"
[main_cncf_project]
other = """We zijn een <a href="path_to_url">CNCF</a> project</p>"""
[main_kubeweekly_baseline]
other = "Wil je het laatste Kubernetes nieuws ontvangen? Abonneer je op KubeWeekly."
[main_kubernetes_past_link]
other = "Eerdere nieuwsbrieven bekijken"
[main_kubeweekly_signup]
other = "Abonneren"
[main_contribute]
other = "Bijdragen"
[main_edit_this_page]
other = "Bewerk deze pagina"
[main_page_history]
other ="Pagina geschiedenis"
[main_page_last_modified_on]
other = "Pagina laatst gewijzigd op"
[main_by]
other = "door"
[main_documentation_license]
other = """De Kubernetes auteurs | Documentatie verspreid onder <a href="path_to_url" class="light-text">CC BY 4.0</a>"""
[main_copyright_notice]
other = """The Linux Foundation ®. Alle rechten voorbehouden. De Linux Foundation heeft handelsmerken geregistreerd en handelsmerken. gebruikt Voor een lijst met handelsmerken van The Linux Foundation raadpleegt u onze<a href="path_to_url" class="light-text">Handelsmerkgebruikspagina</a>"""
# Labels for the docs portal home page.
[docs_label_browse]
other = "Bladeren door documenten"
[docs_label_contributors]
other = "Bijdragers"
[docs_label_users]
other = "Gebruikers"
[docs_label_i_am]
other = "IK BEN..."
# layouts > blog > pager
[layouts_blog_pager_prev]
other = "<< Vorige"
[layouts_blog_pager_next]
other = "Volgende >>"
# layouts > blog > list
[layouts_case_studies_list_tell]
other = "Vertel jouw verhaal"
# layouts > docs > glossary
[layouts_docs_glossary_description]
other = "Deze verklarende woordenlijst is bedoeld als een uitgebreide, gestandaardiseerde lijst van Kubernetes-terminologie. Het bevat technische termen die specifiek zijn voor K8s, evenals meer algemene termen die een bruikbare context bieden."
[layouts_docs_glossary_filter]
other = "Filter termen op basis van hun tags"
[layouts_docs_glossary_select_all]
other = "Alles selecteren"
[layouts_docs_glossary_deselect_all]
other = "Alles deselecteren"
[layouts_docs_glossary_aka]
other = "Ook bekend als"
[layouts_docs_glossary_click_details_before]
other = "Klik op de"
[layouts_docs_glossary_click_details_after]
other = "onderstaande indicatoren om een langere verklaring voor een bepaalde term te krijgen."
# layouts > docs > search
[layouts_docs_search_fetching]
other = "Resultaten ophalen.."
# layouts > partial > feedback
[layouts_docs_partials_feedback_thanks]
other = "Bedankt voor de feedback. Als je een specifieke vraag hebt, die beantwoord moet worden, over het gebruik van Kubernetes, vraag het dan op"
[layouts_docs_partials_feedback_issue]
other = "Open een probleem in de GitHub-repo "
[layouts_docs_partials_feedback_problem]
other = "meld een probleem"
[layouts_docs_partials_feedback_or]
other = "of"
[layouts_docs_partials_feedback_improvement]
other = "doe een suggestie voor een verbetering"
# Community links
[community_twitter_name]
other = "Twitter"
[community_github_name]
other = "GitHub"
[community_slack_name]
other = "Slack"
[community_stack_overflow_name]
other = "Stack Overflow"
[community_forum_name]
other = "Forum"
[community_events_calendar]
other = "Evenementenkalender"
[community_youtube_name]
other = "YouTube"
# UI elements
[ui_search_placeholder]
other = "Zoeken"
```
|
John B. Michel (1917–1969) was a science fiction author (sometimes publishing using the name Hugh Raymond) and editor associated with the informal literary society the Futurians, of which he was one of twelve initial members. He was elected director of the Futurians in 1941. He was known widely for his leftist, utopian politics, which came to be known among science fiction fans as "Michelism", or the belief that "science-fiction should by nature stand for all forces working for a more unified world, a more Utopian existence, the application of science to human happiness, and a saner outlook on life". Debates concerning Michelism and its association with technocracy and communism were an object of controversy in fanzines during the late 1930s, and its influence can be seen in much science fiction of the period, including Isaac Asimov's Foundation series.
Michel was a member of the Young Communist League and later joined the CPUSA, although he was asked to quit in 1949 for absenteeism.
During the early 1940s, Michel was briefly associated romantically with Judith Merril.
References
External links
1917 births
1969 deaths
American science fiction writers
Futurians
20th-century American novelists
American male novelists
20th-century American male writers
|
Abatement refers generally to a lessening, diminution, reduction, or moderation; specifically, it may refer to:
421-a tax abatement, property tax exemption in the U.S. state of New York
Abatement of debts and legacies, a common law doctrine of wills
Abatement in pleading, a legal defense to civil and criminal actions
Abatement (heraldry), a modification of the shield or coat of arms imposed by authority for misconduct
Asbestos abatement, removal of asbestos from structures
Bird abatement, driving or removing undesired birds from an area
Dust abatement, the process of inhibiting the creation of excess soil dust
Graffiti abatement, a joint effort between groups to eliminate graffiti
Marginal abatement cost, the marginal cost of reducing pollution
Noise abatement, strategies to reduce noise pollution or its impact
Nuisance abatement, regulatory compliance methodology
Tax abatement, temporary reduction or elimination of a tax
See also
Abate (disambiguation)
|
```ocaml
*
* This program is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* In addition to the permissions granted to you by the LGPL, you may combine
* or link a "work that uses the Library" with a publicly distributed version
* of this file to produce a combined library or application, then distribute
* that combined work under the terms of your choosing, with no requirement
* to comply with the obligations normally placed on you by section 4 of the
* LGPL version 3 (or the corresponding section of a later version of the LGPL
* should you choose to use a later version).
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
type t = Location.t = {
loc_start: Lexing.position;
loc_end: Lexing.position;
loc_ghost: bool;
}
let is_ghost x = x.loc_ghost
let merge (l : t) (r : t) =
if is_ghost l then r
else if is_ghost r then l
else
match (l, r) with
| {loc_start; _}, {loc_end; _} (* TODO: improve*) ->
{loc_start; loc_end; loc_ghost = false}
(* let none = Location.none *)
```
|
Geoff Charles (28 January 1909 – 7 March 2002) was a Welsh photojournalist. His collection of over 120,000 images is being conserved and digitised by the National Library of Wales.
Biography
Charles was born near Wrexham in the small community of Brymbo in 1909. He attended Grove Park School in Wrexham, where he was encouraged to study journalism by a teacher who observed that he had a talent for writing. He went on to study at the University of London, where he obtained a first-class diploma in journalism in 1928. He worked during the 1930s when the Depression meant that many found it difficult to get work. He worked on the Wrexham Star which was sold by unemployed people for a penny a copy. With his earnings he was able to buy his first Thornton-Pickard camera which used 3.5 x 2.5 inch glass plates.
Charles was involved in one of the Wrexham Star'''s scoops when he was able to smuggle himself into the lamp room of Gresford Colliery following the disaster there in 1934. By counting the number of missing lamps and miners’ helmets, he realised that the then public figure of 100 miners lost was a significant underestimate, and organised a special issue of the paper with this information.Geoff Charles , William Troughton, Friend of the Library, Winter 2003, accessed July 2012 The final loss of life was 266.
In March 1936, the Wrexham Star was taken over by the Wrexham Advertiser which worked out well for Charles. He was offered the position of leading the photography department of Woodalls Newspapers. He then left to manage the Montgomeryshire Express where he met a reporter called John Roberts Williams. The two of them later worked together on the Welsh language newspaper Y Cymro., and together filmed, produced and directed one of the first movies shot in Welsh (Yr Etifeddiaeth, “The Heritage”).
Charles spent the war years working to improve farming practices by improved information. After the war he again went to work for Y Cymro where John Roberts Williams was now editor. Charles continued to document life through photography and one of his best-known images is used as the cover for Ioan Roberts's book about Charles —that of the poet and farmer Carneddog who had to move from his mountain farm near Beddgelert to live with his son in Hinckley. This image was published in Y Cymro in 1945. Charles took many photographs of Welsh life including the many eisteddfodau (cultural festivals). He also documented the loss of the Capel Celyn community under the river Tryweryn which was lost when it was flooded to create the Llyn Celyn reservoir for Liverpool. He covered the protest in 1956 when demonstrators who supported the threatened community travelled to Liverpool to hear the president of Plaid Cymru address the council.
Preservation of images
Charles's collection of 120,000 negatives was donated to the National Library of Wales where they remained safely until the 1990s when it was discovered that the photographic negatives on triacetate film were destroying themselves due to a chemical reaction. The cellulose was decaying and creating acetic acid (vinegar syndrome) which would in time destroy the image. A technique has been developed that allows the image to be separated from the gelatin and cellulose and these are then replaced with a new polyester surface. Images have been scanned at 1200 dpi for display on the library's website at 75 dpi, "[suiting] the resolution of computer monitors; it also prevents illegal copying". Images are proposed for listing in the Europeana database as available under licence from the National Library of Wales
In August 2011, an exhibition of Geoff Charles's photographs was shown in Y Lle Celf'' (arts and crafts pavilion) at the Welsh National Eisteddfod in Wrexham.
References
Further reading
External links
The Geoff Charles Collection on the National Library of Wales website
1909 births
2002 deaths
British photojournalists
Welsh photographers
People from Wrexham County Borough
|
Wade Allison (born 1941) is a British physicist who is Emeritus professor of Physics and Fellow of Keble College at Oxford University. Author of Nuclear is for Life: A Cultural Revolution, Radiation and Reason: The Impact of Science on a Culture of Fear , Fundamental Physics for Probing and Imaging
Early life
Wade Allison was educated at Rugby School and then at Trinity College, Cambridge as an Open Exhibitioner in Natural Science. He gained a First Class in Part I of the Tripos, before taking Part II in Physics and Part III in Mathematics in 1963. At Oxford he studied for a DPhil in Particle Physics, on the way becoming the last student permitted to operate Oxford University's thermionic valve Ferranti Mercury computer. He was elected to a Research Lecturership (JRF) at Christ Church, Oxford in 1967 and a Fellow of the Royal Commission for the Exhibition of 1851.
He spent two years at the Argonne National Laboratory before returning to Oxford in 1970.
In 1976 he was appointed a University Lecturer in the Physics Department at Oxford, later with the title of Professor. At the same time he was elected to a Tutorial Fellowship at Keble College. He was a Visiting Professor at the University of Minnesota in 1995. During his career he served periods as Associate Chairman of the Oxford Physics Department, Senior Tutor and Sub-Warden of Keble College. He retired officially in 2008, since when he has continued to teach, lecture and study. He was elected to an Emeritus Fellowship at Keble College in 2010.
Research interests
His background is in experimental Particle Physics. In earlier years he developed new experimental methods with their theory, and applied these in experiments on quarks at CERN and on neutrinos in the USA. He made special studies on the fields of relativistic charged particles in matter including Cherenkov Radiation, Transition radiation and other mechanisms of energy loss, dEdx. As a result of initiating some years ago an optional student course on applications of nuclear physics, his interest became increasingly engaged with medical physics, in particular safety, therapy and imaging across the full spectrum: ionizing radiation, ultrasound and magnetic resonance. In 2006 he published an advanced student text book Fundamental Physics for Probing and Imaging. In his second book Radiation and Reason he brought the scientific evidence of the effect of radiation to a wider audience. After the Fukushima accident this was translated into Japanese and Chinese. His third book Nuclear is for Life is a broad study that contrasts the cultural rejection of nuclear energy with the evidence, at all but the highest levels, for the harmless, and even beneficial, interaction of radiation with life.
Academic biography
Emeritus Fellow, Keble College, Oxford (2010)
Fellow by Special Election and Senior College Lecturer, Keble College, Oxford (2008)
Visiting Professor, Dept of Physics & Astronomy, University of Minnesota (1995)
Tutorial Fellow of Keble College, Oxford (1976–2008)
University Lecturer in Physics, Oxford (1976–2008)
Research Officer, Nuclear Physics Lab., Oxford (1970–1975)
Post-doctoral appointment, Argonne National Laboratory, Illinois, USA (1968–1970)
Research Lecturer, Christchurch, Oxford (1966–1971)
Christchurch, Oxford, D Phil (1963–1968)
Trinity College, Cambridge, Open Exhibitioner, Nat. Sci. Pt I (First), Physics Pt II (Second) Maths Pt III (1959–1963)
Bibliography
Books
Nuclear is for Life: A Cultural Revolution. (, December 2015) Website: http://www.nuclear4life.com
Radiation and Reason: The Impact of Science on a Culture of Fear. (, October 2009) Website: http://www.radiationandreason.com
Fundamental Physics for Probing and Imaging. (, Oxford University Press, October 2006)
Selected articles
Wade Allison, Life and Nuclear Radiation: Chernobyl and Fukushima in Perspective, European Journal of Risk Regulation (Lexxion, Berlin) 2(2011)373
Wade Allison, We Should Stop Running Away from Radiation, Philosophy and Technology (Springer) 24(2011)193
WWM Allison et al., Ab initio liquid hydrogen muon cooling simulations with ELMS, J Phys G Nucl. Part. Phys. 34(2007)679–685
G Alner, D Ayres, G Barr et al., Neutrino Oscillation Effects in Soudan-2 Physical Review D, 72 (2005), 052005 23pp
WWM Allison Calculations of energy loss and multiple scattering (ELMS) in Molecular Hydrogen J Phys G, 29 (2003), 1701–1703
WWM Allison et al., The atmospheric neutrino flavor ratio from a 3.9 fiducial kiloton year exposure of Soudan2 Physics Letters, B 449 137 (1999)
WWM Allison An article in Experimental Techniques in High Energy Physics, ed. Ferbel, World Scientific (1991)
WWM Allison and JH Cobb, Relativistic Charged Particle Identification by Energy Loss Annual Reviews in Nuclear & Particle Science, 30 (1980), 253
References
External links
http://www.nuclear4life.com
http://www.radiationandreason.com
http://www.keble.ox.ac.uk/academics/about/professor-w-w-m-allison
http://atomic.thepodcastnetwork.com/2006/12/28/the-atomic-show-043-prof-wade-allison-the-dangers-of-radiation-safety-rules/
Scientific publications of Wade Allison on INSPIRE-HEP
1941 births
Alumni of Trinity College, Cambridge
Alumni of Christ Church, Oxford
British physicists
People associated with CERN
Fellows of Keble College, Oxford
Living people
University of Minnesota faculty
|
Kye Gompa (; also spelled Kyi, Ki, Key, or Kee; pronounced like the English word key) is a Tibetan Buddhist monastery of the Gelugpa sect located on top of a hill at an altitude of above sea level, close to the Spiti River, in the Spiti Valley of Himachal Pradesh, Lahaul and Spiti district, India.
It is the largest monastery of the Spiti Valley and a religious training centre for lamas. It reportedly had 100 monks in 1855.
The monastery is dedicated to Lochen Tulku, the 24th reincarnation of the great translator Lotsawa Rinchen Zangpo.
It is about north of Kaza and from Manali by road.
History
Kye Gompa is said to have been founded by Dromtön (Brom-ston, 1008–1064 CE), a pupil of the famous teacher, Atisha, in the 11th century. This may, however, refer to a now destroyed Kadampa monastery at the nearby village of Rangrik, which was probably destroyed in the 14th century when the Sakya sect rose to power with Mongol assistance.
In the mid 17th century, during the reign of the Fifth Dalai Lama, Kye was extensively plundered and damaged by the Mongols, and became a Gelugpa establishment. Around 1821, it was sacked again during the wars between Ladakh and Kulu. In 1841, it was severely damaged by the Dogra army under Ghulam Khan and Rahim Khan. Later that same year, it was also attacked by Sikhs. In the 1840s, it was ravaged by fire and, in 1975, a violent earthquake caused further damage which was repaired with the help of the Archaeological Survey of India and the State Public Works Department.
The walls of the monastery are covered with paintings and murals, an example of the 14th century monastic architecture, which developed as the result of Chinese influence.
Kye monastery has a collection of ancient murals and books, including Buddha images.
There are three floors, the first one is mainly underground and used for storage. One room, called the Tangyur is richly painted with murals. The ground floor has the beautifully decorated Assembly Hall and cells for many monks.
Kye Gompa now belongs to the Gelugpa sect, along with Tabo Monastery and Dhankar Gompa, one of three in Spiti.
The monastery of Kee, for instance, accommodates nearly 250 monks, who reside within the sacred walls throughout the year. Some monks go to South Indian Monasteries during winters, the rest of them stay inside the monastery walls. These monasteries have their regular heads; these heads are the reincarnations of Guru Rinpoche. The current head of Kee Monastery is from Kinnaur district of Himachal Pradesh. He is 19th birth of Guru Rinpoche.
A celebration of its millennium was conducted in 2000 in the presence of the Dalai Lama. A new Prayer Hall was inaugurated on 3 August 2000 by the Fourteenth Dalai Lama.
It was presented through a tableau in the 69th Republic Day celebration held at Delhi.
In recent times the monastery has also hosted the "Kachen Dugyal Memorial Old Aged – Handicapped Society" which provide accommodation for a number of elderly and disabled people.
Gallery
See also
List of highest towns by country
Footnotes
References
Handa, O. C. (1987). Buddhist Monasteries in Himachal Pradesh. Indus Publishing Company, New Delhi. .
Handa, O. C. (2005). Buddhist Monasteries of Himachal. New Delhi, India: Indus Publishing Company. .
Harcourt, A. F. P. (1871). On the Himalayan Valleys:— Kooloo, Lahoul, and Spiti". Proceedings of the Royal Geographical Society of London, Vol. 15, No. 5, 336–343.
Kapadia, Harish. (1999). Spiti: Adventures in the Trans-Himalaya. 2nd Edition. Indus Publishing Company, New Delhi. .
Janet Rizvi. (1996). Ladakh: Crossroads of High Asia. Second Edition. Oxford University Press, Delhi. .
Cunningham, Alexander. (1854). LADĀK: Physical, Statistical, and Historical with Notices of the Surrounding Countries. London. Reprint: Sagar Publications (1977).
Francke, A. H. (1977). A History of Ladakh. (Originally published as, A History of Western Tibet, (1907). 1977 Edition with critical introduction and annotations by S. S. Gergan & F. M. Hassnain. Sterling Publishers, New Delhi.
Francke, A. H. (1914). Antiquities of Indian Tibet. Two Volumes. Calcutta. 1972 reprint: S. Chand, New Delhi.
Sarina Singh, et al. India. (2007). 12th Edition. Lonely Planet. .
External links
Buddhism in Lahaul and Spiti district
Buddhist monasteries in Himachal Pradesh
Buildings and structures in Lahaul and Spiti district
Gelug monasteries and temples
|
The D.I.C.E. Award for Outstanding Achievement in Game Direction is an award presented annually by the Academy of Interactive Arts & Sciences during the academy's annual D.I.C.E. Awards. This recognizes "the individual or small group of individuals who are responsible for directing and driving an interactive game and its team through a combination of skills that include vision, management execution, and game design to create a cohesive experience. This award recognizes the role of the creative director and game director - in guiding all elements of a title and shaping the final outcome of a game."
The most recent winner was Elden Ring, which was developed by FromSoftware and published by Bandai Namco Entertainment.
Winners and nominees
2000s
2010s
2020s
Multiple nominations and wins
Developers and publishers
Sony has published the most nominees and the most winners and is the only publisher with back-to-back winners. Sony's developer Naughty Dog has developed the most nominees and is tied with Bethesda Game Studios for developing the most winners. Ubisoft Montreal and Valve are tied for developing the most nominees without developing a single winner. Annapurna Interactive has published the most nominees without having published a single winner.
Franchises
Only six franchises have been nominated more than once, and there hasn't been a franchise to win more than once so far. Uncharted has been the most nominated franchise.
Notes
References
D.I.C.E. Craft Awards
Awards established in 2009
|
```xml
import * as ts from '@schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript';
import { Tree, SchematicsException } from '@angular-devkit/schematics';
/**
* Reads file from given path and Returns TypeScript source file.
* @param host {Tree} The source tree.
* @param path {String} The path to the file to read. Relative to the root of the tree.
*
*/
export function getSourceFile(host: Tree, path: string): ts.SourceFile {
const buffer = host.read(path);
if (!buffer) {
throw new SchematicsException(`Could not find ${path}!`);
}
const content = buffer.toString();
const sourceFile = ts.createSourceFile(
path,
content,
ts.ScriptTarget.Latest,
true
);
return sourceFile;
}
```
|
```c
/* $OpenBSD: s_roundf.c,v 1.2 2016/09/12 04:39:47 guenther Exp $ */
/*-
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice unmodified, this list of conditions, and the following
* disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.
*/
#include "math.h"
#include "math_private.h"
#define isinff __isinff
#define isnanf __isnanf
float
roundf(float x)
{
float t;
if (isinff(x) || isnanf(x))
return (x);
if (x >= 0.0) {
t = floorf(x);
if (t - x <= -0.5)
t += 1.0;
return (t);
} else {
t = floorf(-x);
if (t + x <= -0.5)
t += 1.0;
return (-t);
}
}
```
|
Megan McNeil (September 7, 1990 – January 28, 2011) was a Canadian singer. The only child of Dave and Suzanne McNeil, she was diagnosed in 2006 with adrenalcortical carcinoma, a rare type of adrenal cancer when she was 16 years old.
She studied at Seaquam Secondary and graduated in 2008. She also attended Kwantlen Polytechnic University in Surrey for Sciences. She beat cancer back three times, but succumbed during her fourth battle, at the age of 20.
"The Will to Survive"
McNeil gained media attention when she recorded a charity single written by her entitled The Will to Survive as a tribute to tens of thousands of cancer-fighting children and youth. The lyrics include:
Here’s to the fight
Here’s to the fighters
Here’s to the brave that take this on
Here’s to the lost souls
Here’s to the new hope
We’ll keep on keeping on
Megan McNeil wrote the lyrics in 2006 just 2 months after being diagnosed with cancer. The song was recorded in 2010 at Nimbus School of Recording Arts with producer Garth Richardson. The song was arranged by Ryan McMahon. A music video was shot by director Tash Baycroft. The proceeds from the single went to childhood cancer organizations.
Death
She died on January 28, 2011, aged 20.
Popular media
McNeil's story touched millions across Canada and the United States through many media appearances in promoting childhood cancer awareness and such charities as The British Columbia Childhood Cancer Parents' Association (BCCCPA) and The James Fund. McNeil appeared in features in Europe as well.
Canada AM selected McNeil's story one of the best of 2010
CBC News selected hers as the most inspirational story of the year in Canada
Discography
2010: "The Will to Survive"
References
External links
Will to Survive website
Megan McNeil MySpace
1990 births
2011 deaths
Canadian women singers
Deaths from adrenocortical cancer
Deaths from cancer in British Columbia
|
Oto Pustoslemšek (born 18 March 1943 in Mežica) is a Slovenian former alpine skier who competed for Yugoslavia in the 1964 Winter Olympics, finishing 62nd in the men's downhill and 67th in the men's giant slalom.
External links
1943 births
Living people
Slovenian male alpine skiers
Olympic alpine skiers for Yugoslavia
Alpine skiers at the 1964 Winter Olympics
People from the Municipality of Mežica
20th-century Slovenian people
|
Fisheye is a revision-control browser and search engine owned by Atlassian, Inc. Although Fisheye is a commercial product, it is freely available to open source projects and non-profit institutions. In addition to the advanced search and diff capabilities, it provides:
the notion of changelog and changesets - even if the underlying version control system (such as CVS) does not support this
direct, resource-based URLs down to line-number level
monitoring and user-level notifications via e-mail or RSS
Use in open-source projects
Atlassian approves free licenses for community and open-source installations under certain conditions. Many major open source projects use Fisheye to provide a front-end for the source code repository:
Atlassian provides free licences of Fisheye and Crucible for open-source projects.
Integration
Fisheye supported integration with the following revision control systems:
CVS
Git
Mercurial
Perforce
Subversion
Due to the resource-based URLs, it is possible to integrate Fisheye with different issue and bug tracking systems. It also provides a REST and XML-RPC API. Fisheye also integrates with IDEs like IntelliJ IDEA via the Atlassian IDE Connector.
See also
Crucible
OpenGrok
Source code repository
Trac
ViewVC
References
External links
, the software's official website
Atlassian products
Browsers
Proprietary cross-platform software
Version control systems
Java (programming language) software
2019 software
|
```python
from abc import abstractmethod
from django import forms
from rest_framework.response import Response
from rest_framework import status
from app.plugins import get_current_plugin, logger
from app.plugins.views import TaskView
from ..platform_helper import get_platform_by_name
from ..platform_extension import PlatformExtension, StringField
class CloudLibrary(PlatformExtension):
"""A Cloud Library is an online platform that has images organized in folders or albums.
It differs from a Cloud Platform, in the way that it can also list all folders it contains, so that a user can
choose to import a specific folder from a list, instead of a URL."""
def __init__(self, name, folder_url_example):
super().__init__(name, folder_url_example)
def get_form_fields(self):
return [self.get_server_url_field()]
def get_api_views(self):
return [("cloudlibrary/(?P<platform_name>[^/.]+)/listfolders", GetAllFoldersTaskView.as_view())]
def serialize(self, **kwargs):
base_payload = {'name': self.name, 'folder_url_example': self.folder_url_example}
if kwargs['user'] != None:
ds = get_current_plugin().get_user_data_store(kwargs['user'])
server_url_field = self.get_server_url_field()
stored_value = server_url_field.get_stored_value(ds)
if stored_value != server_url_field.default_value:
# If the user is set, and there is a server url set, then consider this platform as
# a library. Otherwise, consider it a plain platform
base_payload['type'] = 'library'
base_payload[server_url_field.key] = stored_value
return base_payload
base_payload['type'] = 'platform'
return base_payload
def get_server_url_field(self):
return ServerURLField(self.name)
def verify_server_url(self, server_url):
try:
# Define the API url we will call to get all the folders in the server
folder_list_api_url = self.build_folder_list_api_url(server_url)
# Call the API
payload = self.call_api(folder_list_api_url)
# Parse the payload into File instances
self.parse_payload_into_folders(payload)
# If I could parse it, then everything is ok
return "OK"
except Exception as e:
logger.error(str(e))
return "Error. Invalid server URL."
def list_folders_in_server(self, server_url):
# Define the API url we will call to get all the folders in the server
folder_list_api_url = self.build_folder_list_api_url(server_url)
# Call the API
payload = self.call_api(folder_list_api_url)
# Parse the payload into File instances
folders = self.parse_payload_into_folders(payload)
# Let the specific platform do some processing with the folders (if necessary)
folders = self.library_folder_processing(folders)
# Return all folders
return folders
def library_folder_processing(self, files):
"""This method does nothing, but each platform might want to do some processing of the folders and they can, by overriding this method"""
return files
@abstractmethod
def build_folder_list_api_url(self, server_url):
"""Build the url of the API that lists all the folders in the server"""
@abstractmethod
def parse_payload_into_folders(self, payload):
"""Parse the api payload and return Folder instances"""
class ServerURLField(StringField):
def __init__(self, platform_name):
super().__init__('server_url', platform_name, '')
self.platform_name = platform_name
def get_django_field(self, user_data_store):
return forms.URLField(
label="Server URL",
help_text="Please insert the URL of the Piwigo server",
required=False,
max_length=1024,
widget=forms.URLInput(attrs={"placeholder": "path_to_url"}),
initial=self.get_stored_value(user_data_store),
validators=[self.validate_server_url])
def validate_server_url(self, server_url_to_validate):
result = get_platform_by_name(self.platform_name).verify_server_url(server_url_to_validate)
if result != "OK":
raise forms.ValidationError(result)
class GetAllFoldersTaskView(TaskView):
def get(self, request, platform_name):
platform = get_platform_by_name(platform_name)
if platform == None:
return Response({'error': 'Failed to find a platform with the name \'{}\''.format(platform_name)}, status=status.HTTP_400_BAD_REQUEST)
ds = get_current_plugin().get_user_data_store(request.user)
server_url_field = platform.get_server_url_field()
server_url = server_url_field.get_stored_value(ds)
if server_url == server_url_field.default_value:
return Response({'error': 'You can\'t ask for the folders when there is no server configured'}, status=status.HTTP_412_PRECONDITION_FAILED)
folders = platform.list_folders_in_server(server_url)
return Response({'folders': [folder.serialize() for folder in folders]}, status=status.HTTP_200_OK)
```
|
Federalism was adopted, as a constitutional principle, in Australia on 1 January 1901 – the date upon which the six self-governing Australian Colonies of New South Wales, Queensland, South Australia, Tasmania, Victoria, and Western Australia federated, formally constituting the Commonwealth of Australia. It remains a federation of those six original States under the Constitution of Australia.
Australia is the sixth oldest surviving federation in the world after the United States (1789), Mexico (1824), Switzerland (1848), Canada (1867), and Brazil (1891).
Relatively few changes have been made in terms of the formal (written) constitution since Australian federation occurred; in practice, however, the way the federal system functions has changed enormously. The most significant respect in which it has changed is in the degree to which the Commonwealth government has assumed a position of dominance.
Federation
Instigated by Henry Parkes' Tenterfield Oration of 24 October 1889, the Australian Colonies conducted a series of constitutional conventions through the 1890s. These culminated in a draft Constitution that was put to popular vote in the individual colonies, and eventually approved by the electors, after a final round of changes met the higher threshold of support required in New South Wales. It was then passed into law by the Imperial Parliament in Britain as the Commonwealth of Australia Constitution Act 1900, finalising the process of the Federation of Australia.
The rather desultory way in which federation proceeded reflected the absence of compelling urgency. The colonies saw some advantage in removing tariff barriers to inter-colonial trade and commerce, having a greater strategic presence, and gaining access to investment capital at lower rates; individually, though, none of these represented a driving force. Taken together with the emergence for the first time of a distinct sense of Australian national identity, however, they were collectively sufficient. This lack of urgency was also reflected in their desire to create a minimally-centralised union.
Federal features in the Australian Constitution
In its design, Australia's federal system was modelled closely on the American federal system. This included: enumeration of the powers of parliament (s. 51) and not those of the States, with the States being assigned a broad 'residual' power instead (s. 108); a 'supremacy' clause (s. 109); strong bicameralism, with a Senate in which the States are equally represented notwithstanding great disparities in population (s. 7); the division of senators into different cohorts on alternating electoral cycles (s. 13); the establishment of a supreme court empowered to declare actions of either level of government unconstitutional, the High Court of Australia (s. 71); and a complex two-step amending procedure (s. 128).
Development of Australian Federalism
Since federation, the balance of power between levels of government has shifted substantially from the founders' vision. The shift has transferred power from State governments to the Commonwealth government. While voters have generally rejected proposals to enhance the Commonwealth's authority through constitutional amendment, the High Court has obliged, with generous interpretation of the Commonwealth's enumerated powers. A major factor has been the way the Commonwealth government has monopolised access to the main revenue sources.
For the first two decades, Australian federalism stayed reasonably true to the "co-ordinate" vision of the framers. In co-ordinate federalism, the Commonwealth and the States were both financially and politically independent within their own spheres of responsibility. This was reinforced by the High Court, which in a number of decisions in those early years rejected Commonwealth government attempts to extend its authority into areas of State jurisdiction.
A factor in the expansion of Commonwealth powers Australia's involvement in the First World War. The turning point really came, though, with the High Court's decision in the 1920 Engineers Case, Amalgamated Society of Engineers v Adelaide Steamship Co Ltd, repudiating its early doctrines that had protected the co-ordinate model and the place of the States in the federation.
A system of co-operative federalism began to emerge in the 1920s and 1930s in response to both internal and external pressures. Elements of cooperative federalism included: the establishment of the Australian Loan Council in response to intergovernmental competition in the loan markets; the co-ordination of economic management and budgetary policies during the Great Depression; and the establishment of joint consultative bodies, usually in the form of ministerial councils.
A second turning point came with the threat to Australia at the beginning of the Second World War and the Commonwealth government's mobilisation of financial resources. The constitutional framework on tax allowed both the Commonwealth and States to levy taxes. However, in 1942 the Commonwealth introduced legislation to give it a monopoly on income taxes. It did this by providing financial grants to states (using the section 96 grants power), on the condition that they did not collect their own income taxes. The validity of this scheme was upheld twice in the High Court. "Uniform" income taxation levied by the Commonwealth became the principal instrument of Commonwealth financial domination and vertical imbalance in the Australian federal system (vertical fiscal imbalance). The system allowed the Commonwealth to intrude into traditional fields of State responsibility by means of specific purpose grants or loans to the States for purposes such as education, health and transport. Extensive use of these 'tied grants' by the Labor Government 1972–75 provided a "work-around" solution for the Australian Labor Party's long-standing frustration with the obstacles of federalism. It thus helped diminish Labor's antipathy to the federal system in Australia.
Despite the centralisation of legislative and financial power, there are many areas where federal Parliament lacks the power to regulate comprehensively, even where such regulation might be seen to be in the national interest. This has led State and federal governments to co-operate to create regulatory regimes in fields such as the marketing of agricultural products and competition policy.
Over the years Australia has developed an increasingly comprehensive system of horizontal fiscal equalisation (HFE) aimed at ensuring that all jurisdictions have the same fiscal capacity in relation to their needs. Since 1933, a statutory agency of the Commonwealth government, the Commonwealth Grants Commission, has been responsible for determining the way transfers are distributed among the States and Territories to accomplish this goal. Since 2000, the net revenue of the GST, a national value-added tax, has been distributed as general purpose payments according to a strict levelling formula determined by the Grants Commission. Discontent with this arrangement led to a review inquiry in 2012.
Reform of the Federation
The reliance of the States on financial transfers from the Commonwealth, the high degree of "overlap and duplication", and the resulting policy conflict and confusion between the levels of government regularly generates criticism and calls for "reform of the federation". The Rudd Labor government launched a series of reforms in 2009 designed to reduce the micromanaging character of specific purpose payments. Most recently, the Abbott Liberal-National Party Coalition government commissioned a White Paper on the 'Reform of the Federation'.
The Territories
In addition to the States, Australia has a number of Territories. Two of those are self-governing: the Australian Capital Territory (ACT) and the Northern Territory (NT). The rest are administered by the Government of Australia. All are constitutionally under the authority of the Commonwealth parliament. The power to "make laws for the government" of the Territories, assigned to the Commonwealth Parliament by s 122 of the Constitution, is not confined by any words of limitation. It is generally assumed to be a plenary power, equivalent to the "peace, order and good government" powers of self-government assigned to the States by their own Constitution Acts.
However, the Constitution makes almost no provisions as to the role of the territories within the federation. For example, the Senate was to be composed of equal numbers of Senators from each state. A particularly troublesome matter was whether this excluded territories from participation in the Senate. Two seats each have been allocated to the Northern Territory and the Australian Capital Territory, while each of the states has twelve. Although officially a separate internal territory, Jervis Bay Territory is counted as part of the Division of Fenner for the purposes of representation in the House of Representatives and the Australian Capital Territory for the purpose of representation in the Senate. Two of the three inhabited external territories, namely Christmas Island and the Cocos (Keeling) Islands, are represented by the senators and representatives of the Northern Territory. Since 2019, Norfolk Island has been represented by the Senators for the Australian Capital Territory and by the House of Representatives member for Bean (since 2019) or Canberra (2016-19). It previously had no representation due to the higher degree of autonomy it possessed under self-government until 2015.
The Northern Territory referendum of 1998 narrowly rejected a statehood proposal for the Northern Territory. Admission of the Territory as a new State raises difficult questions about how much representation in parliament would be accorded a jurisdiction with such a small population.
Intergovernmental relations and executive federalism
In response to the increasing overlap between the two levels of government, Australian federalism has developed extensive practices of intergovernmental relations. At the peak of these are formal meetings between the Prime Minister, the premiers of the States, the Chief Ministers of the two self-governing Territories and the president of the Australian Local Government Association. In the early 1990s, those meetings were formalised as the Council of Australian Governments (COAG). With the onset of the COVID-19 pandemic, the formal processes of COAG were set aside in favour of more frequent, immediate and collegial meetings of the heads of government christened "National Cabinet".
In 2005, the State and Territory governments established their own peak body, the Council for the Australian Federation (CAF), modelled on the Council of the Federation in Canada. However, CAF was active for only a few years and has fallen into disuse.
See also
Federation of Australia
Australian constitutional law
Timeline of the expansion of federal powers in Australia
References
External links
Council for the Australian Federation (official website)
Federalism Repository – articles
Australia
Australian constitutional law
|
Hopesay is a small village, and civil parish, in south Shropshire, England. The population of the parish at the 2011 census was 561.
The name 'Hopesay' derives from "Hope de Say", the valley of Picot de Say, a Norman baron who held the manor of neighbouring Sibdon Carwood and whose power base was the nearby Clun Castle. Though most of the Norman influence has been lost, the church tower does date back to Norman times.
The 13th-century church of St Mary, restored c.1880, is a Grade I listed building.
The village has an active community though in recent decades has suffered from depopulation, leading to the closure of both the village shop and Post office, and the school (closed in 1989).
Within the parish lies the larger village of Aston on Clun, and the village of Broome which has a railway station on the Heart of Wales Line. The hamlet of Basford, in the north of the parish, straddles the boundary with Edgton parish.
The writer and adventurer Vivienne de Watteville (Vivienne Goschen) is buried at Hopesay.
See also
Listed buildings in Hopesay
References
External links
Civil parishes in Shropshire
Villages in Shropshire
|
```objective-c
#pragma once
#include "../../Common/d3dUtil.h"
#include "../../Common/MathHelper.h"
#include "../../Common/UploadBuffer.h"
struct ObjectConstants
{
DirectX::XMFLOAT4X4 World = MathHelper::Identity4x4();
DirectX::XMFLOAT4X4 TexTransform = MathHelper::Identity4x4();
UINT MaterialIndex;
UINT ObjPad0;
UINT ObjPad1;
UINT ObjPad2;
};
struct PassConstants
{
DirectX::XMFLOAT4X4 View = MathHelper::Identity4x4();
DirectX::XMFLOAT4X4 InvView = MathHelper::Identity4x4();
DirectX::XMFLOAT4X4 Proj = MathHelper::Identity4x4();
DirectX::XMFLOAT4X4 InvProj = MathHelper::Identity4x4();
DirectX::XMFLOAT4X4 ViewProj = MathHelper::Identity4x4();
DirectX::XMFLOAT4X4 InvViewProj = MathHelper::Identity4x4();
DirectX::XMFLOAT3 EyePosW = { 0.0f, 0.0f, 0.0f };
float cbPerObjectPad1 = 0.0f;
DirectX::XMFLOAT2 RenderTargetSize = { 0.0f, 0.0f };
DirectX::XMFLOAT2 InvRenderTargetSize = { 0.0f, 0.0f };
float NearZ = 0.0f;
float FarZ = 0.0f;
float TotalTime = 0.0f;
float DeltaTime = 0.0f;
DirectX::XMFLOAT4 AmbientLight = { 0.0f, 0.0f, 0.0f, 1.0f };
// Indices [0, NUM_DIR_LIGHTS) are directional lights;
// indices [NUM_DIR_LIGHTS, NUM_DIR_LIGHTS+NUM_POINT_LIGHTS) are point lights;
// indices [NUM_DIR_LIGHTS+NUM_POINT_LIGHTS, NUM_DIR_LIGHTS+NUM_POINT_LIGHT+NUM_SPOT_LIGHTS)
// are spot lights for a maximum of MaxLights per object.
Light Lights[MaxLights];
};
struct MaterialData
{
DirectX::XMFLOAT4 DiffuseAlbedo = { 1.0f, 1.0f, 1.0f, 1.0f };
DirectX::XMFLOAT3 FresnelR0 = { 0.01f, 0.01f, 0.01f };
float Roughness = 0.5f;
// Used in texture mapping.
DirectX::XMFLOAT4X4 MatTransform = MathHelper::Identity4x4();
UINT DiffuseMapIndex = 0;
UINT NormalMapIndex = 0;
UINT MaterialPad1;
UINT MaterialPad2;
};
struct Vertex
{
DirectX::XMFLOAT3 Pos;
DirectX::XMFLOAT3 Normal;
DirectX::XMFLOAT2 TexC;
DirectX::XMFLOAT3 TangentU;
};
// Stores the resources needed for the CPU to build the command lists
// for a frame.
struct FrameResource
{
public:
FrameResource(ID3D12Device* device, UINT passCount, UINT objectCount, UINT materialCount);
FrameResource(const FrameResource& rhs) = delete;
FrameResource& operator=(const FrameResource& rhs) = delete;
~FrameResource();
// We cannot reset the allocator until the GPU is done processing the commands.
// So each frame needs their own allocator.
Microsoft::WRL::ComPtr<ID3D12CommandAllocator> CmdListAlloc;
// We cannot update a cbuffer until the GPU is done processing the commands
// that reference it. So each frame needs their own cbuffers.
std::unique_ptr<UploadBuffer<PassConstants>> PassCB = nullptr;
std::unique_ptr<UploadBuffer<ObjectConstants>> ObjectCB = nullptr;
std::unique_ptr<UploadBuffer<MaterialData>> MaterialBuffer = nullptr;
// Fence value to mark commands up to this fence point. This lets us
// check if these frame resources are still in use by the GPU.
UINT64 Fence = 0;
};
```
|
James Richard "Sandy" Sanderson (December 27, 1925 – August 10, 2010) was a United States Navy vice admiral. He was born in Selma, California, and died in Naval Medical Center Portsmouth, Portsmouth, Virginia; he had lived in Virginia Beach, Virginia, for a long time. His commands included; commanding officer of , , and Battle Force, United States Sixth Fleet; and Deputy Commander Atlantic Command, Atlantic Fleet. He entered the Navy Aviation V-5 program in 1943 (some say March 1944) and retired from the Navy in April 1983.
Vice Admiral Sanderson was awarded the Legion of Merit four times, the Distinguished Service Medal, the Distinguished Flying Cross, the Meritorious Service Medal and five Air Medals.
Sanderson was an Eagle Scout and recipient of the Distinguished Eagle Scout Award from the Boy Scouts of America (BSA). He was an active supporter of Scouting throughout his life at many levels, including helping host the annual Eagle Recognition Dinner for BSA's Tidewater Council new Eagle Scouts.
See also
List of Eagle Scouts (Boy Scouts of America)
References
External links
Biographical info on Sanderson
United States Navy admirals
1926 births
2010 deaths
Recipients of the Air Medal
Recipients of the Distinguished Flying Cross (United States)
Recipients of the Legion of Merit
People from Selma, California
Military personnel from California
|
Christopher Tucker (1946–2022) is a British make-up artist for theatre and film.
Christopher Tucker may also refer to:
Chris Tucker (born 1971), American actor and comedian
|
```xml
import { FlowGenerator } from '../../flow-client'
import { test } from 'ava'
test('flow env interpolation - plain', t => {
const result = FlowGenerator.replaceEnv(`path_to_url`)
t.snapshot(result)
})
test('flow env interpolation - environment one', t => {
const result = FlowGenerator.replaceEnv('${env:PRISMA_ENDPOINT}')
t.snapshot(result)
})
test('flow env interpolation - environment multiple', t => {
const result = FlowGenerator.replaceEnv(
'path_to_url{env:PRISMA_SERVICE}/${env:PRISMA_STAGE}',
)
t.snapshot(result)
})
```
|
The 1935 Portuguese presidential election was held on 17 February. Óscar Carmona ran unopposed and was reelected.
Results
Notes and references
See also
President of Portugal
Portugal
Politics of Portugal
Presidential elections in Portugal
Portugal
President
Portugal
|
The 1997 Iowa State Cyclones football team represented Iowa State University during the 1997 NCAA Division I-A football season. They played their home games at Jack Trice Stadium in Ames, Iowa. They participated as members of the Big 12 Conference in the North Division. The team was coached by head coach Dan McCarney.
Schedule
References
Iowa State
Iowa State Cyclones football seasons
Iowa State Cyclones football
|
Szafranki is a village in the administrative district of Gmina Filipów, within Suwałki County, Podlaskie Voivodeship, in north-eastern Poland. It lies approximately south of Filipów, west of Suwałki, and north of the regional capital Białystok.
References
Villages in Suwałki County
|
```yaml
id:
decidim:
system:
actions:
confirm_destroy: apa kamu yakin ingin menghapus ini?
destroy: Menghapus
edit: Edit
save: Menyimpan
title: Tindakan
admins:
create:
error: Terjadi masalah saat membuat admin baru.
edit:
title: Edit admin
update: Memperbarui
index:
title: Admin
new:
create: Membuat
title: Admin baru
update:
error: Terjadi masalah saat memperbarui admin ini.
default_pages:
placeholders:
content: Silakan tambahkan konten yang bermakna ke %{page} halaman statis di dasbor admin.
title: Judul default untuk %{page}
menu:
admins: Admin
dashboard: Dasbor
organizations: Organisasi
models:
admin:
fields:
created_at: Dibuat di
email: E-mail
validations:
email_uniqueness: admin lain dengan email yang sama sudah ada
organization:
actions:
save_and_invite: Buat organisasi & undang admin
fields:
created_at: Dibuat di
name: Nama
organizations:
create:
error: Terjadi masalah saat membuat organisasi baru.
edit:
secondary_hosts_hint: Masukkan masing-masing dari mereka di baris baru
index:
title: Organisasi
new:
title: Organisasi baru
update:
error: Ada masalah saat memperbarui organisasi ini.
success: Organisasi berhasil diperbarui.
users_registration_mode:
disabled: Akses hanya dapat dilakukan dengan akun eksternal
shared:
notices:
no_organization_warning_html: Anda harus membuat organisasi untuk memulai. Pastikan Anda membaca %{guide} sebelum melanjutkan.
our_getting_started_guide: panduan memulai kami
titles:
dashboard: Dasbor
```
|
Rachel Boymvol, sometimes spelled Baumwoll (, , , March 4, 1914, Odessa - June 16, 2000, Jerusalem) was a Soviet poet, children's book author, and translator who wrote in both Yiddish and Russian. Because of the popularity of her Soviet children's books, they were translated into multiple languages. After 1971 she emigrated to Israel and published a number of books of poetry in Yiddish.
Biography
Boymvol was born in Odessa, Russian Empire on March 4, 1914. She was the daughter of Judah-Leib Boymvol, a playwright and Yiddish theatre director who was murdered in 1920 by anti-Bolshevik Polish soldiers during the Polish-soviet war. He and members of his touring Yiddish theatre were pulled off the train at Koziatyn which was then under Polish control; he and troupe members Epstein and Liebert were killed in front of their families. Rachel was also injured in the attack and remained bedridden for several years after. Rachel grew up in a culture fluent in both Yiddish and Russian and showed an aptitude for rhyming and storytelling from a young age. She began to write at age six; at around this time she and her mother relocated to Moscow. Her first Yiddish poems were published in a Komsomol magazine when she was nine. Her first published book was a book of children's songs entitled , published in 1930 with the support of Shmuel Galkin. She then studied in the Jewish department at the Second Moscow State University; she met her husband, Ziame Telesin, while in Moscow and they were married there. After they graduated in 1935 they were sent to work in Minsk, where she quickly became well-known as a children's literature author.
During World War II, she went with her family to Tashkent, except for her husband who enlisted in the Red Army; it was during the war the she began to publish in Russian. She later wrote, "The Bolsheviks saved me from death, and I was a fervent Bolshevik. I drew five-cornered stars, but also six-cornered, Jewish ones, because the Bolsheviks loved Jews and would give us a country that would be called Yidland. In my head was a confusion that would last many years..." After the war she settled in Moscow, and starting in 1948 she published many poems, children's songs, and stories in Russian, as well as translating from Yiddish to Russian, including a novel by Moshe Kulbak in 1960. Her dozens of books and pamphlets of Russian-language children's songs and short stories became very popular, with some reaching a circulation of a million copies. From 1961 onwards, she became a regular contributor to the Yiddish-language journal , both in original pieces and in translations of Soviet poetry.
Boymvol's son Julius, who was a dissident, applied to emigrate to Israel in 1969. His parents decided to follow him, and in 1971 Rachel was allowed to emigrate to Israel. She left as part of a large wave of Soviet Jewish writers who settled in Jerusalem, which also included Meir Kharats, Yosef Kerler, and Dovid Sfard. Her husband was able to follow her there during Passover 1972. After arriving there, she lost her main source of income which was writing children's books, and she turned increasingly to publishing books of Yiddish poetry. She also continued to publish in Russian, and some of her Yiddish collections were translated into Hebrew during the following decades by Shelomo Even-Shoshan.
Selected publications
(1930)
(1936, with Ziame Telesin)
(1936)
(1938)
(1938)
(1940)
(1947)
(1963)
(1966)
(1968)
(1972)
(1973)
(1977)
(1979)
(1983)
(1988)
(1989)
(1990)
(1998)
References
External links
Rachel Boymvol books in the Yiddish Book Center digital library (in Yiddish)
1914 births
2000 deaths
Odesa Jews
People from Odessky Uyezd
Writers from Odesa
Soviet emigrants to Israel
Yiddish-language poets
Jewish poets
Israeli poets
Soviet women poets
Moscow State Pedagogical University alumni
Soviet poets
20th-century Israeli poets
Soviet children's writers
|
Jonathan Mitchell (born September 7, 1955) is an American author and autistic blogger who writes about autism including the neuroscience of the disorder and neurodiversity movement. His novel The Mu Rhythm Bluff is about a 49-year-old autistic man who undergoes transcranial magnetic stimulation.
Biography
Mitchell was born in 1955 and at the age of 12, he was diagnosed with autism. He attended psychoanalytic therapy as a child. He also attended mainstream and special education schools facing expulsion and being bullied. Mitchell has done data entry jobs but was fired many times for his behavior. After retiring at 51 years old, he attempted to get SSDI but was not successful. He lives in Los Angeles and is supported by his parents.
Mitchell has volunteered in scientific research for autism and has served as an experimental subject to Eric Courchesne.
Mitchell claims that having autism has prevented him from having a girlfriend or making a living.
Advocacy
Mitchell has been described by Newsweek as an extremely controversial voice in the autism blogosphere for wanting a cure and discussing the need to consider the longer-term effects of autism.
Mitchell has been criticized by other autism/autistic bloggers for his pro-cure stance. In 2015, during a Newsweek profiling, the journalist was urged by Mitchell's critics to not write about him. In a 2015 commentary in the Huffington Post, immunologist and autism community supporter Neil Greenspan mentioned that Mitchell would be very unlikely to demand that others seek autism treatment, should it become widely available.
Responding to Mitchell's commentary on neurodiversity in the magazine The Spectator, Nick Cohen agreed with his statement that many neurodiversity advocates can hold down careers and provide for families, and cannot speak on behalf of those that are more severely impacted. Jonathan Rose, a history professor at Drew University, agreed with this commentary (that neurodiversity is over-represented in the media and at the Interagency Autism Coordinating Committee), since profoundly autistic individuals have difficulty advocating for themselves. By contrast, author Jessie Hewitson described many of the difficulties associated with autism as challenges, but that his autism is "not an affliction".
Interests
Mitchell has written the novel The Mu Rhythm Bluff, which is about a 49-year-old man who undergoes transcranial magnetic stimulation to treat his autism. Regarding the novel, neurobiology professor Manuel Casanova wrote that he was impressed with Mitchell's scientific knowledge. Mitchell has been working on another novel titled The School of Hard Knocks, which is about an abusive special education school. He has also written twenty-five short stories. Mitchell's writing has been compared by the novelist Lawrence Osborne to the work of David Miedzianik, a UK-based autistic poet and writer.
Mitchell served as a subject for an MRI study conducted by autism researcher Eric Courchesne. He has been exchanging emails with neurologist Marco Iacoboni with questions about mirror neurons since 2010. Mitchell has also followed Casanova's work, which focuses on abnormalities within the brain's minicolumns.
References
External links
Autism's Gadfly, Mitchell's blog
1955 births
21st-century American writers
Activists from California
American fiction writers
American male writers
American writers with disabilities
Autism activists
Living people
People on the autism spectrum
Writers from Los Angeles
|
```yaml
name: construct_component_output_values_py
description: A program that constructs remote component resources with output values.
runtime: python
```
|
```xml
import chai from 'chai';
import chaiAsPromised from 'chai-as-promised';
import 'mocha';
import { ExtendedRoutesConfig, generateRoutes } from 'tsoa';
import { DummyRouteGenerator } from '../../fixtures/templating/dummyRouteGenerator';
chai.use(chaiAsPromised);
const expect = chai.expect;
describe('RouteGenerator', () => {
describe('.generateRoutes', () => {
it('should instance and call a custom route generator provided as type reference', async () => {
// Arrange
const routesConfig: ExtendedRoutesConfig = {
entryFile: 'index.ts',
noImplicitAdditionalProperties: 'silently-remove-extras',
bodyCoercion: true,
routesDir: 'dist/routes',
controllerPathGlobs: ['fixtures/controllers/*.ts'],
routeGenerator: DummyRouteGenerator,
};
// Act
await generateRoutes(routesConfig);
// Assert
expect(DummyRouteGenerator.getCallCount()).gt(0);
});
});
});
```
|
```c++
#include <torch/csrc/jit/python/pybind_utils.h>
#include <torch/csrc/jit/python/python_custom_class.h>
#include <torch/csrc/jit/frontend/sugared_value.h>
#include <fmt/format.h>
namespace torch::jit {
struct CustomMethodProxy;
struct CustomObjectProxy;
py::object ScriptClass::__call__(
const py::args& args,
const py::kwargs& kwargs) {
auto instance =
Object(at::ivalue::Object::create(class_type_, /*numSlots=*/1));
Function* init_fn = instance.type()->findMethod("__init__");
TORCH_CHECK(
init_fn,
fmt::format(
"Custom C++ class: '{}' does not have an '__init__' method bound. "
"Did you forget to add '.def(torch::init<...>)' to its registration?",
instance.type()->repr_str()));
Method init_method(instance._ivalue(), init_fn);
invokeScriptMethodFromPython(init_method, args, kwargs);
return py::cast(instance);
}
/// Variant of StrongFunctionPtr, but for static methods of custom classes.
/// They do not belong to compilation units (the custom class method registry
/// serves that purpose in this case), so StrongFunctionPtr cannot be used here.
/// While it is usually unsafe to carry a raw pointer like this, the custom
/// class method registry that owns the pointer is never destroyed.
struct ScriptClassFunctionPtr {
ScriptClassFunctionPtr(Function* function) : function_(function) {
TORCH_INTERNAL_ASSERT(function_);
}
Function* function_;
};
void initPythonCustomClassBindings(PyObject* module) {
auto m = py::handle(module).cast<py::module>();
py::class_<ScriptClassFunctionPtr>(
m, "ScriptClassFunction", py::dynamic_attr())
.def("__call__", [](py::args args, const py::kwargs& kwargs) {
auto strongPtr = py::cast<ScriptClassFunctionPtr>(args[0]);
Function& callee = *strongPtr.function_;
py::object result = invokeScriptFunctionFromPython(
callee, tuple_slice(std::move(args), 1), kwargs);
return result;
});
py::class_<ScriptClass>(m, "ScriptClass")
.def("__call__", &ScriptClass::__call__)
.def(
"__getattr__",
[](ScriptClass& self, const std::string& name) {
// Define __getattr__ so that static functions of custom classes can
// be used in regular Python.
auto type = self.class_type_.type_->castRaw<ClassType>();
TORCH_INTERNAL_ASSERT(type);
auto* fn = type->findStaticMethod(name);
if (fn) {
return ScriptClassFunctionPtr(fn);
}
throw AttributeError("%s does not exist", name.c_str());
})
.def_property_readonly("__doc__", [](const ScriptClass& self) {
return self.class_type_.type_->expectRef<ClassType>().doc_string();
});
// This function returns a ScriptClass that wraps the constructor
// of the given class, specified by the qualified name passed in.
//
// This is to emulate the behavior in python where instantiation
// of a class is a call to a code object for the class, where that
// code object in turn calls __init__. Rather than calling __init__
// directly, we need a wrapper that at least returns the instance
// rather than the None return value from __init__
m.def(
"_get_custom_class_python_wrapper",
[](const std::string& ns, const std::string& qualname) {
std::string full_qualname =
"__torch__.torch.classes." + ns + "." + qualname;
auto named_type = getCustomClass(full_qualname);
TORCH_CHECK(
named_type,
fmt::format(
"Tried to instantiate class '{}.{}', but it does not exist! "
"Ensure that it is registered via torch::class_",
ns,
qualname));
c10::ClassTypePtr class_type = named_type->cast<ClassType>();
return ScriptClass(c10::StrongTypePtr(
std::shared_ptr<CompilationUnit>(), std::move(class_type)));
});
}
} // namespace torch::jit
```
|
Beit Nehemia (, lit. House of Nehemiah) is a moshav in central Israel. Located near Shoham, it falls under the jurisdiction of Hevel Modi'in Regional Council. In it had a population of .
History
During the 18th and 19th centuries, Beit Nehemia was the site of the Arab village of Beit Nabala. It belonged to the Nahiyeh (sub-district) of Lod that encompassed the area of the present-day city of Modi'in-Maccabim-Re'ut in the south to the present-day city of El'ad in the north, and from the foothills in the east, through the Lod Valley to the outskirts of Jaffa in the west. This area was home to thousands of inhabitants in about 20 villages, who had at their disposal tens of thousands of hectares of prime agricultural land.
The village was established in 1950 on the land of the depopulated Palestinian village of Beit Nabala by Jewish immigrants from Persia. It was named after the Biblical prophet Nehemiah, who left Persia for Israel like the modern founders.
References
External links
Moshavim
Populated places established in 1950
Populated places in Central District (Israel)
1950 establishments in Israel
|
```xml
import { FocusableOption } from "@angular/cdk/a11y";
import { coerceBooleanProperty } from "@angular/cdk/coercion";
import { Component, ElementRef, HostBinding, Input } from "@angular/core";
@Component({
selector: "[bitMenuItem]",
templateUrl: "menu-item.component.html",
})
export class MenuItemDirective implements FocusableOption {
@HostBinding("class") classList = [
"tw-block",
"tw-w-full",
"tw-py-1",
"tw-px-4",
"!tw-text-main",
"!tw-no-underline",
"tw-cursor-pointer",
"tw-border-none",
"tw-bg-background",
"tw-text-left",
"hover:tw-bg-secondary-100",
"focus-visible:tw-bg-secondary-100",
"focus-visible:tw-z-50",
"focus-visible:tw-outline-none",
"focus-visible:tw-ring",
"focus-visible:tw-ring-offset-2",
"focus-visible:tw-ring-primary-700",
"active:!tw-ring-0",
"active:!tw-ring-offset-0",
"disabled:!tw-text-muted",
"disabled:hover:tw-bg-background",
"disabled:tw-cursor-not-allowed",
];
@HostBinding("attr.role") role = "menuitem";
@HostBinding("tabIndex") tabIndex = "-1";
@HostBinding("attr.disabled") get disabledAttr() {
return this.disabled || null; // native disabled attr must be null when false
}
@Input({ transform: coerceBooleanProperty }) disabled?: boolean = false;
constructor(private elementRef: ElementRef) {}
focus() {
this.elementRef.nativeElement.focus();
}
}
```
|
Philipp J. Neumann (born 1977 in Leipzig, Saxony) is a German theatre and film director, author and graphic designer.
Education, theatre and film work
According to his own website, Philipp J. Neumann joined the Leipzig at the age of six and directed his first short films and plays at the age of 15. From 1999 onwards, he staged operas by Christoph Willibald Gluck in particular and oratorios by George Frideric Handel in several countries, as well as other musical pieces. In addition, since 1997 he has worked on various film productions, as a director, producer, cinematographer, film editor and screenwriter.
In 2002, Neumann was among the co-founders of the , of which he was a board member until 2013.
Stage productions
1999: Orfeo ed Euridice, opera by Christoph Willibald Gluck, in the church ruins at Wachau near Leipzig
2000: Iphigénie en Tauride, opera by Gluck, in the church ruins at Wachau near Leipzig
2001: Acis and Galatea, oratorio by George Frideric Handel, performed with the Bach Society of Columbia University in Leipzig and New York
2003 and 2004: The Magic Word and Poor Heinrich, singspiels by Josef Gabriel Rheinberger and the opera Pimpinone by Telemann, at the Moritzbastei in Leipzig
2005: Brundibár children's opera by Hans Krása, 2009 and 2010 guest performances under the patronage of Chancellor Angela Merkel in Germany and Israel
2006: Wagner:Vorspiel, musical theatre during the first Richard Wagner Festival in Leipzig
2006: Amadeus Piano, musical theatre based on his own libretto (music by Stephan König) and The Man in the Moon by Cesar Bresgen in the cellar theatre of the Leipzig Opera
2008: L'enfant et les sortilèges by Maurice Ravel and Carnival of the Animals by Camille Saint-Saëns at the Musikalische Komödie, Leipzig
2008: La rondine by Giacomo Puccini in Gera
2010 Euro-scene Leipzig: Prophecy 20/11, Instinkttheater, in co-production with the
2012: Eloise – An opera for young people, in conjunction with the Gewandhaus Children's Choir, Leipzig
2013: , in conjunction with the Gewandhaus Children's Choir, Leipzig
2015: Wenn der Mond aufgeht, lernst du fliegen, works by Richard Strauss in arrangements by Timo Jouko Herrmann, collaborative project between the Leipzig Gewandhaus Orchestra and the Barbican Centre London
2015: The Second Hurricane, scenic project with the Gewandhaus Children's Choir (direction: Frank-Steffen Elster)
2017: Von Zwergen, Riesen und Kindern, scenic project with the Gewandhaus Children's Choir (direction: Frank-Steffen Elster)
2019: Uprising! scenic project with the Gewandhaus Children's Choir (direction: Frank-Steffen Elster)
Performance
2005: Everest Deconstruction – die Zerstörung des weltgrößten Panoramabildes by Yadegar Asisi in the Leipzig Gasometer
Films
1998: Der Ton in der Mitte. Feature film. Director, writer, editor, producer and cameraman
2000: Das geliebte Moll. Documentary. Director and screenwriter (MDR, 3sat)
2002: Die Apostophkiller. Short film. Director, cameraman, editor and screenwriter
2004: Ins Fremdland. Documentary. Director and screenwriter
2006: Musikschule Leipzig. Imagefilm. Director, producer and screenwriter
2008: Berliner Salon. Short film. Director
2010: Atropos. Short film. Director
Awards
1999: visionale Leipzig, 1st prize for the feature film Der Ton in der Mitte
2010: Euro-scene Leipzig, 1st prize in the 20th anniversary project call for the piece Prophezeiung 20/11
2011: KurzsüchtigLeipzig Short Film Festival, prize of the expert jury in the field of fiction for Atropos
2012: Filmfest Dresden, national competition: Golden Rider for the short film Atropos
References
External links
Inszenierungen und Filme von Neumann auf crew-united
Film directors from Saxony
German theatre directors
1977 births
Living people
Film people from Leipzig
|
Katharinenberg bei Wunsiedel is a mountain close to the town of Wunsiedel in Bavaria, Germany.
Mountains of Bavaria
|
Walter Wilkinson is the name of
Walter Butler Wilkinson (1781–1807), political figure in Upper Canada
Walter Wilkinson (puppeteer) (1888–1970), British puppeteer
Walter Ernest Wilkinson (1903–2001), known as "Wilkie", British mechanic and founder member of the British Racing Mechanics Club
Walter Wilkinson (actor) (1916–1981), American actor
Walter Wilkinson (athlete) (born 1944), British middle-distance runner
|
Eupithecia damnosa is a moth in the family Geometridae first described by András Mátyás Vojnits in 1983. It is found in Nepal.
References
Moths described in 1983
damnosa
Moths of Asia
|
George Henry Craig (December 25, 1845 – January 26, 1923) was a U.S. Representative from Alabama.
Born in Cahaba, Alabama, Craig attended the Cahaba Academy.
He entered the Confederate States Army as a private in Colonel Byrd's regiment, Alabama Volunteers, at Mobile, in 1862.
He attended the University of Alabama at Tuscaloosa as a cadet in 1863.
He was promoted to first lieutenant of Infantry, and in 1863 again entered the Confederate service and remained until the end of the war.
He resumed his studies at the University of Alabama in 1865.
He studied law.
He was admitted to the bar in December 1867 and commenced practice in Selma, Alabama.
Craig was elected solicitor of Dallas County in 1868.
He was appointed sheriff of Dallas County in March 1869.
Craig was elected as judge of the criminal court of Dallas County in March 1870.
He was appointed by the Governor in July 1874 judge of the first judicial circuit to fill an unexpired term and was elected to this position on November 4, 1874, and served until 1880.
He resumed the practice of law in Selma, Alabama.
He successfully contested as a Republican the election of Charles M. Shelley to the Forty-eighth Congress and served from January 9, 1885, to March 3, 1885.
He was an unsuccessful candidate for reelection in 1884 to the Forty-ninth Congress.
He was appointed United States attorney for the middle and northern districts of Alabama by President Arthur.
He was appointed by President Cleveland a member of the Board of Visitors to the United States Military Academy at West Point in 1894.
He resumed the practice of law in Selma, Alabama, and died there January 26, 1923.
He was interred in Live Oak Cemetery.
References
External links
1845 births
1923 deaths
Politicians from Selma, Alabama
Alabama sheriffs
Alabama state court judges
Confederate States Army officers
Republican Party members of the United States House of Representatives from Alabama
United States Attorneys for the Middle District of Alabama
United States Attorneys for the Northern District of Alabama
|
Robert Ouko (24 October 1948 – 18 August 2019) was a Kenyan athlete, winner of gold medal in 4 × 400 m relay at the 1972 Summer Olympics.
Career
Ouko won two golds at the 1970 British Commonwealth Games, first in 800 m and then as a member of the Kenyan 4 × 400 m relay team. At the same year he was also a member of a Kenyan 4x880 yd relay team, which set the new world record of 7:11.6.
At the Munich Olympics, Ouko was fifth in 800 m and ran the third leg in the gold medal-winning Kenyan 4 × 400 m relay team.
After his athletics career, Ouko worked as the secretary general in the Kenyan Amateur Athletic Association.
Ouko died 18 August 2019.
See also
Luo people of Kenya and Tanzania
References
External links
1948 births
2019 deaths
Kenyan male middle-distance runners
Kenyan male sprinters
Athletes (track and field) at the 1968 Summer Olympics
Athletes (track and field) at the 1970 British Commonwealth Games
Athletes (track and field) at the 1972 Summer Olympics
Olympic athletes for Kenya
Olympic gold medalists for Kenya
Commonwealth Games gold medallists for Kenya
Commonwealth Games medallists in athletics
Medalists at the 1972 Summer Olympics
Olympic gold medalists in athletics (track and field)
20th-century Kenyan people
Medallists at the 1970 British Commonwealth Games
|
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<attr name="backgroundColor" format="color"/>
<attr name="textColor" format="color"/>
</resources>
```
|
```go
package cli
import (
"errors"
"fmt"
"rsprd.com/spread/pkg/data"
"rsprd.com/spread/pkg/deploy"
"rsprd.com/spread/pkg/entity"
"rsprd.com/spread/pkg/input/dir"
"rsprd.com/spread/pkg/packages"
pb "rsprd.com/spread/pkg/spreadproto"
"github.com/codegangsta/cli"
)
// Deploy allows the creation of deploy.Deployments remotely
func (s *SpreadCli) Deploy() *cli.Command {
return &cli.Command{
Name: "deploy",
Usage: "spread deploy [-s] PATH | COMMIT [kubectl context]",
Description: "Deploys objects to a remote Kubernetes cluster.",
ArgsUsage: "-s will deploy only if no other deployment found (otherwise fails)",
Action: func(c *cli.Context) {
ref := c.Args().First()
var dep *deploy.Deployment
proj, err := s.project()
if err == nil {
var docs map[string]*pb.Document
if len(ref) == 0 {
s.printf("Deploying from index...")
docs, err = proj.Index()
if err != nil {
s.fatalf("Error getting index: %v", err)
}
if err = s.promptForArgs(docs, false); err == nil {
dep, err = deploy.DeploymentFromDocMap(docs)
}
} else {
if docs, err = proj.ResolveCommit(ref); err == nil {
if err = s.promptForArgs(docs, false); err == nil {
dep, err = deploy.DeploymentFromDocMap(docs)
}
} else {
dep, err = s.globalDeploy(ref)
}
}
} else {
dep, err = s.globalDeploy(ref)
}
if err != nil {
s.fatalf("Failed to assemble deployment: %v", err)
}
context := c.Args().Get(1)
cluster, err := deploy.NewKubeClusterFromContext(context)
if err != nil {
s.fatalf("Failed to deploy: %v", err)
}
s.printf("Deploying %d objects using the %s.", dep.Len(), displayContext(context))
update := !c.Bool("s")
err = cluster.Deploy(dep, update, false)
if err != nil {
//TODO: make better error messages (one to indicate a deployment already existed; another one if a deployment did not exist but some other error was thrown
s.fatalf("Did not deploy.: %v", err)
}
s.printf("Deployment successful!")
},
}
}
func (s *SpreadCli) fileDeploy(srcDir string) (*deploy.Deployment, error) {
input, err := dir.NewFileInput(srcDir)
if err != nil {
return nil, inputError(srcDir, err)
}
e, err := input.Build()
if err != nil {
return nil, inputError(srcDir, err)
}
dep, err := e.Deployment()
// TODO: This can be removed once application (#56) is implemented
if err == entity.ErrMissingContainer {
// check if has pod; if not deploy objects
pods, err := input.Entities(entity.EntityPod)
if err != nil && len(pods) != 0 {
return nil, fmt.Errorf("Failed to deploy: %v", err)
}
dep, err = objectOnlyDeploy(input)
if err != nil {
return nil, fmt.Errorf("Failed to deploy: %v", err)
}
} else if err != nil {
return nil, inputError(srcDir, err)
}
return dep, nil
}
func (s *SpreadCli) globalDeploy(ref string) (*deploy.Deployment, error) {
// check if reference is local file
dep, err := s.fileDeploy(ref)
if err != nil {
ref, err = packages.ExpandPackageName(ref)
if err == nil {
var info packages.PackageInfo
info, err = packages.DiscoverPackage(ref, true, false)
if err != nil {
s.fatalf("failed to retrieve package info: %v", err)
}
proj, err := s.globalProject()
if err != nil {
s.fatalf("error setting up global project: %v", err)
}
remote, err := proj.Remotes().Lookup(ref)
// if does not exist or has different URL, create new remote
if err != nil {
remote, err = proj.Remotes().Create(ref, info.RepoURL)
if err != nil {
return nil, fmt.Errorf("could not create remote: %v", err)
}
} else if remote.Url() != info.RepoURL {
s.printf("changing remote URL for %s, current: '%s' new: '%s'", ref, remote.Url(), info.RepoURL)
err = proj.Remotes().SetUrl(ref, info.RepoURL)
if err != nil {
return nil, fmt.Errorf("failed to change URL for %s: %v", ref, err)
}
}
s.printf("pulling repo from %s", info.RepoURL)
branch := fmt.Sprintf("%s/master", ref)
err = proj.Fetch(remote.Name(), "master")
if err != nil {
return nil, fmt.Errorf("failed to fetch '%s': %v", ref, err)
}
docs, err := proj.Branch(branch)
if err != nil {
return nil, err
}
if err = s.promptForArgs(docs, false); err != nil {
return nil, err
}
return deploy.DeploymentFromDocMap(docs)
}
}
return dep, err
}
func (s *SpreadCli) promptForArgs(docs map[string]*pb.Document, required bool) error {
paramFields := data.ParameterFields(docs)
for _, field := range paramFields {
err := data.InteractiveArgs(s.in, s.out, field, required)
if err != nil {
return err
}
}
return nil
}
func objectOnlyDeploy(input *dir.FileInput) (*deploy.Deployment, error) {
objects, err := input.Objects()
if err != nil {
return nil, err
} else if len(objects) == 0 {
return nil, ErrNothingDeployable
}
deployment := new(deploy.Deployment)
for _, obj := range objects {
err = deployment.Add(obj)
if err != nil {
return nil, err
}
}
return deployment, nil
}
func inputError(srcDir string, err error) error {
return fmt.Errorf("Error using `%s`: %v", srcDir, err)
}
func displayContext(name string) string {
if name == deploy.DefaultContext {
return "default context"
}
return fmt.Sprintf("context '%s'", name)
}
var (
ErrNothingDeployable = errors.New("there is nothing deployable")
)
```
|
```objective-c
/*===-- IPO.h - Interprocedural Transformations C Interface -----*- C++ -*-===*\
|* *|
|* Exceptions. *|
|* See path_to_url for license information. *|
|* *|
|*===your_sha256_hash------===*|
|* *|
|* This header declares the C interface to libLLVMIPO.a, which implements *|
|* various interprocedural transformations of the LLVM IR. *|
|* *|
\*===your_sha256_hash------===*/
#ifndef LLVM_C_TRANSFORMS_IPO_H
#define LLVM_C_TRANSFORMS_IPO_H
#include "llvm-c/ExternC.h"
#include "llvm-c/Types.h"
LLVM_C_EXTERN_C_BEGIN
/**
* @defgroup LLVMCTransformsIPO Interprocedural transformations
* @ingroup LLVMCTransforms
*
* @{
*/
/** See llvm::createConstantMergePass function. */
void LLVMAddConstantMergePass(LLVMPassManagerRef PM);
/** See llvm::createMergeFunctionsPass function. */
void LLVMAddMergeFunctionsPass(LLVMPassManagerRef PM);
/** See llvm::createCalledValuePropagationPass function. */
void LLVMAddCalledValuePropagationPass(LLVMPassManagerRef PM);
/** See llvm::createDeadArgEliminationPass function. */
void LLVMAddDeadArgEliminationPass(LLVMPassManagerRef PM);
/** See llvm::createFunctionAttrsPass function. */
void LLVMAddFunctionAttrsPass(LLVMPassManagerRef PM);
/** See llvm::createFunctionInliningPass function. */
void LLVMAddFunctionInliningPass(LLVMPassManagerRef PM);
/** See llvm::createAlwaysInlinerPass function. */
void LLVMAddAlwaysInlinerPass(LLVMPassManagerRef PM);
/** See llvm::createGlobalDCEPass function. */
void LLVMAddGlobalDCEPass(LLVMPassManagerRef PM);
/** See llvm::createGlobalOptimizerPass function. */
void LLVMAddGlobalOptimizerPass(LLVMPassManagerRef PM);
/** See llvm::createIPSCCPPass function. */
void LLVMAddIPSCCPPass(LLVMPassManagerRef PM);
/** See llvm::createInternalizePass function. */
void LLVMAddInternalizePass(LLVMPassManagerRef, unsigned AllButMain);
/**
* Create and add the internalize pass to the given pass manager with the
* provided preservation callback.
*
* The context parameter is forwarded to the callback on each invocation.
* As such, it is the responsibility of the caller to extend its lifetime
* until execution of this pass has finished.
*
* @see llvm::createInternalizePass function.
*/
void LLVMAddInternalizePassWithMustPreservePredicate(
LLVMPassManagerRef PM,
void *Context,
LLVMBool (*MustPreserve)(LLVMValueRef, void *));
/** See llvm::createStripDeadPrototypesPass function. */
void LLVMAddStripDeadPrototypesPass(LLVMPassManagerRef PM);
/** See llvm::createStripSymbolsPass function. */
void LLVMAddStripSymbolsPass(LLVMPassManagerRef PM);
/**
* @}
*/
LLVM_C_EXTERN_C_END
#endif
```
|
```java
package cn.hncu.pubs;
import java.sql.Connection;
import java.sql.SQLException;
import javax.sql.DataSource;
import com.mchange.v2.c3p0.ComboPooledDataSource;
//c3p0()b/s
public class C3p0Pool {
private static DataSource pool;
private static ThreadLocal<Connection> t = new ThreadLocal<Connection>();
static {
pool = new ComboPooledDataSource();
}
public static DataSource getDataSource() {
return pool;
}
public static Connection getConnection() throws SQLException {
Connection con = t.get();
if(con==null){
con = pool.getConnection();
t.set(con);
}
return con;
}
}
```
|
Margarita Victoria "Mavi" García Cañellas (born 2 January 1984) is a Spanish professional racing cyclist and duathlete, who currently rides for UCI Women's WorldTeam .
Major results
2015
1st Zalla
2nd Sopelana
3rd Overall Gipuzkoako Emakumeen Itzulia
4th Larrabasterra
2016
National Road Championships
1st Road race
3rd Time trial
1st Overall Vuelta a Burgos
1st Stage 1
1st Gran Premio Comunidad de Cantabria
1st Trofeo Gobierno de La Rioja
1st Trofeo Ria de Marin
1st Zizurkil-Villabona Sari Nagusia
2nd 94.7 Cycle Challenge
KZN Summer Series
2nd Queen Nandi Challenge
8th Queen Sibiya Classic
6th Overall Tour Cycliste Féminin International de l'Ardèche
2017
1st Trofeo Gobierno de La Rioja
National Road Championships
2nd Time trial
2nd Road race
2nd Gran Premio Ciudad de Alcobendas
2nd Gran Premio Costa Blanca Calpe
3rd Gran Premio Comunidad de Cantabria
5th Overall Tour Cycliste Féminin International de l'Ardèche
5th Trofeo Roldan
7th Emakumeen Aiztondo Sari Nagusia
7th Trofeo Ciudad de Caspe
9th Durango-Durango Emakumeen Saria
2018
National Road Championships
1st Time trial
3rd Road race
1st Gran Premio Comunidad de Cantabria
2nd Overall Tour Cycliste Féminin International de l'Ardèche
6th Overall Setmana Ciclista Valenciana
8th Ladies Tour of Norway TTT
9th Open de Suède Vårgårda TTT
10th La Flèche Wallonne
2019
2nd Overall Women's Tour de Yorkshire
1st Mountains Classification
2nd Grand Prix de Plumelec-Morbihan Dames
3rd Overall Vuelta a Burgos Feminas
5th Overall Emakumeen Euskal Bira
6th Overall Tour Cycliste Féminin International de l'Ardèche
10th La Flèche Wallonne
10th Mixed team relay, UCI Road World Championships
2020
National Road Championships
1st Road race
1st Time trial
2nd Strade Bianche
2nd Overall Tour Cycliste Féminin International de l'Ardèche
1st Stages 1 & 2
2nd Emakumeen Nafarroako Klasikoa
2nd Durango-Durango Emakumeen Saria
9th Overall Giro Rosa
9th Brabantse Pijl
2021
National Road Championships
1st Time trial
1st Road race
1st Giro dell'Emilia
2nd Overall Setmana Ciclista Valenciana
2nd Overall Tour Cycliste Féminin International de l'Ardèche
5th La Flèche Wallonne
6th Trofeo Alfredo Binda
6th Amstel Gold Race
2022
National Road Championships
1st Time trial
1st Road race
1st Classic Lorient Agglomération
1st Stage 3 Vuelta a Burgos Feminas
5th La Flèche Wallonne
6th Amstel Gold Race
9th Overall Setmana Ciclista Valenciana
3rd Overall Giro Donne
10th Overall Tour de France
Combativity award Stage 8
2023
9th Overall La Vuelta Femenina
See also
List of 2021 UCI Women's Teams and riders
References
External links
1984 births
Living people
Spanish female cyclists
Sportspeople from Mallorca
Olympic cyclists for Spain
Cyclists at the 2020 Summer Olympics
Cyclists from the Balearic Islands
20th-century Spanish women
21st-century Spanish women
|
```yaml
---
parsed_sample:
- abort: ""
bandwidth: "100000 Kbit"
bia: "000f.352d.2381"
crc: "0"
delay: "100 usec"
description: "Connects to LAN"
duplex: "Full Duplex"
encapsulation: "802.1Q Virtual LAN"
frame: "0"
giants: "0"
hardware_type: "MV96340 Ethernet"
input_errors: "0"
input_packets: "338297234"
input_pps: "57"
input_rate: "95000"
interface: "GigabitEthernet0/0"
ip_address: ""
last_input: "00:00:24"
last_output: "00:00:00"
last_output_hang: "never"
link_status: "up"
mac_address: "000f.352d.2381"
media_type: "T"
mtu: "1500"
output_errors: "0"
output_packets: "336857668"
output_pps: "54"
output_rate: "90000"
overrun: "0"
prefix_length: ""
protocol_status: "up"
queue_drops: "0"
queue_flushes: "0"
queue_max: "75"
queue_output_drops: "0"
queue_size: "0"
queue_strategy: "fifo"
runts: "0"
speed: "100Mbps"
vlan_id: "1"
vlan_id_inner: ""
vlan_id_outer: ""
- abort: ""
bandwidth: "100000 Kbit"
bia: "000f.352d.2381"
crc: ""
delay: "100 usec"
description: "LAN"
duplex: ""
encapsulation: "802.1Q Virtual LAN"
frame: ""
giants: ""
hardware_type: "MV96340 Ethernet"
input_errors: ""
input_packets: ""
input_pps: ""
input_rate: ""
interface: "GigabitEthernet0/0.6"
ip_address: "192.27.6.129"
last_input: ""
last_output: ""
last_output_hang: ""
link_status: "up"
mac_address: "000f.352d.2381"
media_type: ""
mtu: "1500"
output_errors: ""
output_packets: ""
output_pps: ""
output_rate: ""
overrun: ""
prefix_length: "26"
protocol_status: "up"
queue_drops: ""
queue_flushes: ""
queue_max: ""
queue_output_drops: ""
queue_size: ""
queue_strategy: ""
runts: ""
speed: ""
vlan_id: "6"
vlan_id_inner: ""
vlan_id_outer: ""
- abort: ""
bandwidth: "100000 Kbit"
bia: "000f.352d.2381"
crc: ""
delay: "100 usec"
description: "Wireless LAN"
duplex: ""
encapsulation: "802.1Q Virtual LAN"
frame: ""
giants: ""
hardware_type: "MV96340 Ethernet"
input_errors: ""
input_packets: ""
input_pps: ""
input_rate: ""
interface: "GigabitEthernet0/0.44"
ip_address: "192.22.44.193"
last_input: ""
last_output: ""
last_output_hang: ""
link_status: "up"
mac_address: "000f.352d.2381"
media_type: ""
mtu: "1500"
output_errors: ""
output_packets: ""
output_pps: ""
output_rate: ""
overrun: ""
prefix_length: "26"
protocol_status: "up"
queue_drops: ""
queue_flushes: ""
queue_max: ""
queue_output_drops: ""
queue_size: ""
queue_strategy: ""
runts: ""
speed: ""
vlan_id: "44"
vlan_id_inner: ""
vlan_id_outer: ""
- abort: ""
bandwidth: "100000 Kbit"
bia: "000f.352d.2381"
crc: ""
delay: "100 usec"
description: "Voice LAN"
duplex: ""
encapsulation: "802.1Q Virtual LAN"
frame: ""
giants: ""
hardware_type: "MV96340 Ethernet"
input_errors: ""
input_packets: ""
input_pps: ""
input_rate: ""
interface: "GigabitEthernet0/0.188"
ip_address: "192.24.188.65"
last_input: ""
last_output: ""
last_output_hang: ""
link_status: "up"
mac_address: "000f.352d.2381"
media_type: ""
mtu: "1500"
output_errors: ""
output_packets: ""
output_pps: ""
output_rate: ""
overrun: ""
prefix_length: "26"
protocol_status: "up"
queue_drops: ""
queue_flushes: ""
queue_max: ""
queue_output_drops: ""
queue_size: ""
queue_strategy: ""
runts: ""
speed: ""
vlan_id: "188"
vlan_id_inner: ""
vlan_id_outer: ""
- abort: ""
bandwidth: "100000 Kbit"
bia: "000f.352d.2381"
crc: ""
delay: "100 usec"
description: "Native Vlan"
duplex: ""
encapsulation: "802.1Q Virtual LAN"
frame: ""
giants: ""
hardware_type: "MV96340 Ethernet"
input_errors: ""
input_packets: ""
input_pps: ""
input_rate: ""
interface: "GigabitEthernet0/0.666"
ip_address: ""
last_input: ""
last_output: ""
last_output_hang: ""
link_status: "up"
mac_address: "000f.352d.2381"
media_type: ""
mtu: "1500"
output_errors: ""
output_packets: ""
output_pps: ""
output_rate: ""
overrun: ""
prefix_length: ""
protocol_status: "up"
queue_drops: ""
queue_flushes: ""
queue_max: ""
queue_output_drops: ""
queue_size: ""
queue_strategy: ""
runts: ""
speed: ""
vlan_id: "888"
vlan_id_inner: ""
vlan_id_outer: ""
- abort: ""
bandwidth: "1000000 Kbit"
bia: "000f.352d.2382"
crc: "0"
delay: "10 usec"
description: "NOT IN USE"
duplex: "Auto Duplex"
encapsulation: "ARPA"
frame: "0"
giants: "0"
hardware_type: "MV96340 Ethernet"
input_errors: "0"
input_packets: "0"
input_pps: "0"
input_rate: "0"
interface: "GigabitEthernet0/1"
ip_address: ""
last_input: "never"
last_output: "never"
last_output_hang: "never"
link_status: "administratively down"
mac_address: "000f.352d.2382"
media_type: "T"
mtu: "1500"
output_errors: "0"
output_packets: "0"
output_pps: "0"
output_rate: "0"
overrun: "0"
prefix_length: ""
protocol_status: "down"
queue_drops: "0"
queue_flushes: "0"
queue_max: "75"
queue_output_drops: "0"
queue_size: "0"
queue_strategy: "fifo"
runts: "0"
speed: "Auto Speed"
vlan_id: ""
vlan_id_inner: ""
vlan_id_outer: ""
- abort: ""
bandwidth: "10000 Kbit"
bia: "b838.6148.8780"
crc: "0"
delay: "100 usec"
description: "connection to Provider"
duplex: "Full-duplex"
encapsulation: "802.1Q Virtual LAN"
frame: "0"
giants: "0"
hardware_type: "FastEthernet"
input_errors: "0"
input_packets: ""
input_pps: "63"
input_rate: "96000"
interface: "FastEthernet0/1/0"
ip_address: ""
last_input: "00:00:00"
last_output: "00:00:00"
last_output_hang: "never"
link_status: "up"
mac_address: "b838.6148.8780"
media_type: ""
mtu: "1500"
output_errors: "0"
output_packets: "350115018"
output_pps: "67"
output_rate: "111000"
overrun: "0"
prefix_length: ""
protocol_status: "up"
queue_drops: "0"
queue_flushes: "0"
queue_max: "75"
queue_output_drops: "1063"
queue_size: "0"
queue_strategy: "Class-based queueing"
runts: "0"
speed: "100Mb/s"
vlan_id: "1"
vlan_id_inner: ""
vlan_id_outer: ""
- abort: ""
bandwidth: "10000 Kbit"
bia: "b838.6148.8780"
crc: ""
delay: "100 usec"
description: "AVPN Circuit"
duplex: ""
encapsulation: "802.1Q Virtual LAN"
frame: ""
giants: ""
hardware_type: "FastEthernet"
input_errors: ""
input_packets: ""
input_pps: ""
input_rate: ""
interface: "FastEthernet0/1/0.50"
ip_address: "192.20.194.29"
last_input: ""
last_output: ""
last_output_hang: ""
link_status: "up"
mac_address: "b838.6148.8780"
media_type: ""
mtu: "1500"
output_errors: ""
output_packets: ""
output_pps: ""
output_rate: ""
overrun: ""
prefix_length: "30"
protocol_status: "up"
queue_drops: ""
queue_flushes: ""
queue_max: ""
queue_output_drops: ""
queue_size: ""
queue_strategy: ""
runts: ""
speed: ""
vlan_id: "50"
vlan_id_inner: ""
vlan_id_outer: ""
- abort: ""
bandwidth: "100000 Kbit"
bia: "b838.6148.8781"
crc: "0"
delay: "100 usec"
description: "NOT IN USE"
duplex: "Auto-duplex"
encapsulation: "ARPA"
frame: "0"
giants: "0"
hardware_type: "FastEthernet"
input_errors: "0"
input_packets: ""
input_pps: "0"
input_rate: "0"
interface: "FastEthernet0/1/1"
ip_address: ""
last_input: "never"
last_output: "never"
last_output_hang: "never"
link_status: "administratively down"
mac_address: "b838.6148.8781"
media_type: ""
mtu: "1500"
output_errors: "0"
output_packets: "0"
output_pps: "0"
output_rate: "0"
overrun: "0"
prefix_length: ""
protocol_status: "down"
queue_drops: "0"
queue_flushes: "0"
queue_max: "75"
queue_output_drops: "0"
queue_size: "0"
queue_strategy: "fifo"
runts: "0"
speed: "Auto Speed"
vlan_id: ""
vlan_id_inner: ""
vlan_id_outer: ""
- abort: "0"
bandwidth: "8000000 Kbit"
bia: ""
crc: "0"
delay: "5000 usec"
description: "Loopback Interface"
duplex: ""
encapsulation: "LOOPBACK"
frame: "0"
giants: "0"
hardware_type: "Loopback"
input_errors: "0"
input_packets: "2292"
input_pps: "0"
input_rate: "0"
interface: "Loopback0"
ip_address: "192.20.0.144"
last_input: "never"
last_output: "never"
last_output_hang: "never"
link_status: "up"
mac_address: ""
media_type: ""
mtu: "1514"
output_errors: "0"
output_packets: "0"
output_pps: "0"
output_rate: "0"
overrun: "0"
prefix_length: "32"
protocol_status: "up"
queue_drops: "0"
queue_flushes: "0"
queue_max: "75"
queue_output_drops: "0"
queue_size: "0"
queue_strategy: "fifo"
runts: "0"
speed: ""
vlan_id: ""
vlan_id_inner: ""
vlan_id_outer: ""
- abort: "0"
bandwidth: "100 Kbit"
bia: ""
crc: "0"
delay: "50000 usec"
description: ""
duplex: ""
encapsulation: "TUNNEL"
frame: "0"
giants: "0"
hardware_type: "Tunnel"
input_errors: "0"
input_packets: "0"
input_pps: "0"
input_rate: "0"
interface: "Tunnel0"
ip_address: ""
last_input: "never"
last_output: "never"
last_output_hang: "never"
link_status: "up"
mac_address: ""
media_type: ""
mtu: "17912"
output_errors: "0"
output_packets: "0"
output_pps: "0"
output_rate: "0"
overrun: "0"
prefix_length: ""
protocol_status: "up"
queue_drops: "0"
queue_flushes: "0"
queue_max: "75"
queue_output_drops: "0"
queue_size: "0"
queue_strategy: "fifo"
runts: "0"
speed: ""
vlan_id: ""
vlan_id_inner: ""
vlan_id_outer: ""
- abort: "0"
bandwidth: "100 Kbit"
bia: ""
crc: "0"
delay: "50000 usec"
description: ""
duplex: ""
encapsulation: "TUNNEL"
frame: "0"
giants: "0"
hardware_type: "Tunnel"
input_errors: "0"
input_packets: "0"
input_pps: "0"
input_rate: "0"
interface: "Tunnel1"
ip_address: ""
last_input: "never"
last_output: "never"
last_output_hang: "never"
link_status: "up"
mac_address: ""
media_type: ""
mtu: "17912"
output_errors: "0"
output_packets: "0"
output_pps: "0"
output_rate: "0"
overrun: "0"
prefix_length: ""
protocol_status: "up"
queue_drops: "0"
queue_flushes: "0"
queue_max: "75"
queue_output_drops: "0"
queue_size: "0"
queue_strategy: "fifo"
runts: "0"
speed: ""
vlan_id: ""
vlan_id_inner: ""
vlan_id_outer: ""
- abort: "0"
bandwidth: "100 Kbit"
bia: ""
crc: "0"
delay: "50000 usec"
description: ""
duplex: ""
encapsulation: "TUNNEL"
frame: "0"
giants: "0"
hardware_type: "Tunnel"
input_errors: "0"
input_packets: "0"
input_pps: "0"
input_rate: "0"
interface: "Tunnel2"
ip_address: ""
last_input: "never"
last_output: "never"
last_output_hang: "never"
link_status: "up"
mac_address: ""
media_type: ""
mtu: "17912"
output_errors: "0"
output_packets: "0"
output_pps: "0"
output_rate: "0"
overrun: "0"
prefix_length: ""
protocol_status: "up"
queue_drops: "0"
queue_flushes: "0"
queue_max: "75"
queue_output_drops: "0"
queue_size: "0"
queue_strategy: "fifo"
runts: "0"
speed: ""
vlan_id: ""
vlan_id_inner: ""
vlan_id_outer: ""
- abort: "0"
bandwidth: "100 Kbit"
bia: ""
crc: "0"
delay: "50000 usec"
description: ""
duplex: ""
encapsulation: "TUNNEL"
frame: "0"
giants: "0"
hardware_type: "Tunnel"
input_errors: "0"
input_packets: "0"
input_pps: "0"
input_rate: "0"
interface: "Tunnel3"
ip_address: ""
last_input: "never"
last_output: "never"
last_output_hang: "never"
link_status: "up"
mac_address: ""
media_type: ""
mtu: "17912"
output_errors: "0"
output_packets: "0"
output_pps: "0"
output_rate: "0"
overrun: "0"
prefix_length: ""
protocol_status: "up"
queue_drops: "0"
queue_flushes: "0"
queue_max: "75"
queue_output_drops: "0"
queue_size: "0"
queue_strategy: "fifo"
runts: "0"
speed: ""
vlan_id: ""
vlan_id_inner: ""
vlan_id_outer: ""
```
|
```java
/*
* 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.
*/
package org.apache.shardingsphere.mode.event.dispatch.datasource.unit;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import org.apache.shardingsphere.mode.event.dispatch.DispatchEvent;
/**
* Add data source unit event.
*/
@RequiredArgsConstructor
@Getter
public final class AlterStorageUnitEvent implements DispatchEvent {
private final String databaseName;
private final String storageUnitName;
private final String activeVersionKey;
private final String activeVersion;
}
```
|
Bucephalandra oncophora is a species of flowering plant in the family Araceae, native to Kalimantan on Borneo. It is an obligate rheophyte, found on pentlandite (an iron–nickel sulfide mineral) alongside streams.
References
Aroideae
Endemic flora of Borneo
Plants described in 2014
|
Kevin Eldon Will See You Now is a British comedy show broadcast on BBC Radio 4, currently in its fourth series. It is made by Pozzitive Television, and all 4 series have been produced and directed by David Tyler. It is written by and stars the comedian Kevin Eldon.
Over the course of the four series, there have been a number of famous guest stars making appearances, including Paul Putner, Julia Davis, Justin Edwards, Amelia Bullmore, Morwenna Banks, and Miles Jupp.
Episode list
Critical reception
Kevin Eldon Will See You Now received an overwhelmingly positive reception when it was first broadcast on BBC Radio 4, and has been nominated for a number of awards. The show made the shortlist for the British Comedy Guide Awards for Best Radio Sketch Show in 2017, and again in 2020. Series 3 was also shortlisted for the 2018 Writers Guild Award for Best Radio Comedy, and Series 4 was also shortlisted for both the Radio Award at the Chortle Awards, and the award for Best Scripted Comedy Show at the BBC's Audio Drama Awards. Writing in The Big Issue in 2019, Robin Ince described Kevin Eldon as "a titan of British comedy whose innovative new radio show is giving him the platform his unique talent deserves", while Brian Donaldson, writing for 'The List'', gave Kevin Eldon Will See You Now 4 stars, calling the show "addictive listening".
Notable awards and nominations
British Comedy Guide Awards - Best Radio Sketch Show - Shortlisted (2017)
Writers Guild Award - Best Radio Comedy - Shortlisted (2018)
British Comedy Guide Awards - Best Radio Sketch Show - Shortlisted (2020)
BBC Audio Drama Awards - Best Scripted Comedy Show - Shortlisted (2020)
References
BBC Radio comedy programmes
2012 radio programme debuts
|
The Hole (), also known as The Last Dance, is a 1998 Taiwanese drama-musical film directed by Tsai Ming-liang. It stars Yang Kuei-mei and Lee Kang-sheng.
Plot
Just before the turn of the new millennium, a strange disease hits Taiwan that causes people to crawl on the floor and search for dark places. It also rains constantly. Despite evacuation orders, tenants of a rundown apartment building stay put, including Hsiao Kang (Lee Kang-sheng). Hsiao Kang runs a food store with few customers.
One day, a plumber arrives at Hsiao Kang's apartment to check the pipes. He drills a small hole into the floor which comes down through the ceiling of the woman downstairs (Yang Kuei-mei). The woman, who maintains her flooded apartment while stockpiling toilet paper, becomes annoyed by Hsiao Kang's antics on the other side of the hole. She confronts him at his store.
However, the hole remains there, and the two continue to get on each other's nerves. The woman sprays her room, creating a smell that Hsiao Kang cannot stand; Hsiao Kang's alarm clock goes off, waking the woman. In spite of this, the two begin forming a connection. Someone rings Hsiao Kang's doorbell, but he does not answer. He lies down next to the hole and sticks his leg into it.
The woman catches the disease and crawls into the toilet paper fort that she made. Hsiao Kang gets distraught. He bangs on the floor near the hole with a hammer. Eventually, the woman emerges from the fort. Hsiao Kang offers her a glass of water through the hole, and she drinks it. Hsiao Kang then pulls her up through the hole. In the final scene, the two slow dance with each other.
Cast
Yang Kuei-mei - the woman downstairs
Lee Kang-sheng - Hsiao Kang / the man upstairs
Miao Tien - the customer
Tong Hsiang-Chu - the plumber
Lin Hui-Chin - a neighbor
Lin Kun-huei - the kid
Production
The Hole was made for the 2000, Seen By... project, initiated by the French company Haut et Court to produce films depicting the approaching turn of the millennium seen from the perspectives of 10 different countries.
The film was directed by Tsai Ming-liang and starred two actors he had worked with before, Yang Kuei-mei and Lee Kang-sheng. According to Tsai, Yang needed a lot of direction from him, while Lee did not need any. The two actors "never really clicked in a creative way." When they had to shoot scenes together, Yang often complained to Lee about his acting, saying that he was not working with her. Lee told Tsai on set that he did not want to be in any more of Tsai's films, but Lee went on to star in Tsai's next film, What Time Is It There? (2001). They would continue to collaborate for over 30 years.
Reception
Variety described the film as an "eerie, dank, claustrophobic mood piece."
The Hole was entered into the 1998 Cannes Film Festival. It was nominated for the Palme d'Or award and won the FIPRESCI Prize (competition) "for its daring combination of realism and apocalyptic vision, desperation and joy, austerity and glamour." The film won the Gold Hugo for best feature at the 1998 Chicago International Film Festival. It also won three Silver Screen Awards at the 1999 Singapore International Film Festival - for best Asian feature film, best Asian feature film director (Tsai Ming-liang), and best actress (Yang Kuei-mei).
The film has an 80% fresh rating on Rotten Tomatoes.
References
External links
1998 films
1990s musical films
Films directed by Tsai Ming-liang
1990s Mandarin-language films
Films with screenplays by Tsai Ming-liang
Taiwanese musical films
|
```javascript
import { a //comment1
//comment2
//comment3
as b} from "";
import {
a as //comment1
//comment2
//comment3
b1
} from "";
import {
a as //comment2 //comment1
//comment3
b2
} from "";
import {
a as //comment3 //comment2 //comment1
b3
} from "";
import {
// comment 1
FN1, // comment 2
/* comment 3 */ FN2,
// FN3,
FN4 /* comment 4 */
// FN4,
// FN5
} from "./module";
import {
ExecutionResult,
DocumentNode,
/* tslint:disable */
SelectionSetNode,
/* tslint:enable */
} from 'graphql';
import x, {
// comment
y
} from 'z';
```
|
```yaml
#
# This deployment launches a custom controller that monitors Nginx custom
# resources and spins up respective nginx pods.
#
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-controller
namespace: default
labels:
app: nginx-controller
spec:
replicas: 1
selector:
matchLabels:
app: nginx-controller
template:
metadata:
labels:
app: nginx-controller
spec:
containers:
- name: controller
image: quay.io/gravitational/nginx-controller:0.0.1
imagePullPolicy: Always
volumeMounts:
- name: tmp
mountPath: /tmp
volumes:
- name: tmp
hostPath:
path: /tmp
```
|
```smalltalk
/*
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* path_to_url
*
*/
namespace Piranha.Security;
/// <summary>
/// An item in the permission manager.
/// </summary>
public class PermissionItem
{
/// <summary>
/// The name of the claim.
/// </summary>
public string Name { get; set; }
/// <summary>
/// The display title.
/// </summary>
public string Title { get; set; }
/// <summary>
/// Gets/sets the optional category for grouping.
/// </summary>
public string Category { get; set; }
/// <summary>
/// Gets/sets if this is an internal permissions used
/// by Piranha.
/// </summary>
public bool IsInternal { get; set; }
}
```
|
St. Benedict is an unincorporated community in Helena Township, Scott County, Minnesota, United States. The community is located along 250th Street West at St. Benedict Road near New Prague.
The West Branch of Raven Stream and the East Branch of Raven Stream meet at St. Benedict.
References
Unincorporated communities in Minnesota
Unincorporated communities in Scott County, Minnesota
|
Polia purpurissata, the purple arches, is a species of cutworm or dart moth in the family Noctuidae. It is found in North America.
The MONA or Hodges number for Polia purpurissata is 10280.
References
Further reading
Hadenini
Articles created by Qbugbot
Moths described in 1864
|
```xml
export interface IListProvisioningWebPartProps {
description: string;
}
```
|
```python
import asyncio
from asyncio import AbstractEventLoop
import gevent
import structlog
from gevent.timeout import Timeout
from raiden.exceptions import RaidenUnrecoverableError
from raiden.network.transport.matrix.rtc import aiogevent
from raiden.utils.typing import Type
ASYNCIO_LOOP_RUNNING_TIMEOUT = 10
log = structlog.get_logger(__name__)
def setup_asyncio_event_loop(
exception: Type[Exception] = RaidenUnrecoverableError,
) -> AbstractEventLoop:
asyncio.set_event_loop_policy(aiogevent.EventLoopPolicy())
new_event_loop = asyncio.new_event_loop()
gevent.spawn(new_event_loop.run_forever)
gevent.sleep(0.05)
if not new_event_loop.is_running():
log.debug("Asyncio loop not running yet. Waiting.")
with Timeout(ASYNCIO_LOOP_RUNNING_TIMEOUT, exception):
while not new_event_loop.is_running():
gevent.sleep(0.05)
return new_event_loop
```
|
```turing
#require no-eden
$ setconfig devel.segmented-changelog-rev-compat=true
$ hg init repo
$ cd repo
$ echo start > start
$ hg ci -Amstart
adding start
New file:
$ mkdir dir1
$ echo new > dir1/new
$ hg ci -Amnew
adding dir1/new
$ hg diff --git -r 0
diff --git a/dir1/new b/dir1/new
new file mode 100644
--- /dev/null
+++ b/dir1/new
@@ -0,0 +1,1 @@
+new
Copy:
$ mkdir dir2
$ hg cp dir1/new dir1/copy
$ echo copy1 >> dir1/copy
$ hg cp dir1/new dir2/copy
$ echo copy2 >> dir2/copy
$ hg ci -mcopy
$ hg diff --git -r 1:tip
diff --git a/dir1/new b/dir1/copy
copy from dir1/new
copy to dir1/copy
--- a/dir1/new
+++ b/dir1/copy
@@ -1,1 +1,2 @@
new
+copy1
diff --git a/dir1/new b/dir2/copy
copy from dir1/new
copy to dir2/copy
--- a/dir1/new
+++ b/dir2/copy
@@ -1,1 +1,2 @@
new
+copy2
Cross and same-directory copies with a relative root:
$ hg diff --git --root .. -r 1:tip
abort: .. not under root '$TESTTMP/repo'
[255]
$ hg diff --git --root doesnotexist -r 1:tip
$ hg diff --git --root . -r 1:tip
diff --git a/dir1/new b/dir1/copy
copy from dir1/new
copy to dir1/copy
--- a/dir1/new
+++ b/dir1/copy
@@ -1,1 +1,2 @@
new
+copy1
diff --git a/dir1/new b/dir2/copy
copy from dir1/new
copy to dir2/copy
--- a/dir1/new
+++ b/dir2/copy
@@ -1,1 +1,2 @@
new
+copy2
$ hg diff --git --root dir1 -r 1:tip
diff --git a/new b/copy
copy from new
copy to copy
--- a/new
+++ b/copy
@@ -1,1 +1,2 @@
new
+copy1
$ hg diff --git --root dir2/ -r 1:tip
diff --git a/copy b/copy
new file mode 100644
--- /dev/null
+++ b/copy
@@ -0,0 +1,2 @@
+new
+copy2
$ hg diff --git --root dir1 -r 1:tip -I '**/copy'
diff --git a/new b/copy
copy from new
copy to copy
--- a/new
+++ b/copy
@@ -1,1 +1,2 @@
new
+copy1
$ hg diff --git --root dir1 -r 1:tip dir2
warning: dir2 not inside relative root dir1
$ hg diff --git --root dir1 -r 1:tip 'dir2/{copy}'
warning: possible glob in non-glob pattern 'dir2/{copy}', did you mean 'glob:dir2/{copy}'?
warning: dir2/{copy} not inside relative root dir1
$ cd dir1
$ hg diff --git --root .. -r 1:tip
diff --git a/dir1/new b/dir1/copy
copy from dir1/new
copy to dir1/copy
--- a/dir1/new
+++ b/dir1/copy
@@ -1,1 +1,2 @@
new
+copy1
diff --git a/dir1/new b/dir2/copy
copy from dir1/new
copy to dir2/copy
--- a/dir1/new
+++ b/dir2/copy
@@ -1,1 +1,2 @@
new
+copy2
$ hg diff --git --root ../.. -r 1:tip
abort: ../.. not under root '$TESTTMP/repo'
[255]
$ hg diff --git --root ../doesnotexist -r 1:tip
$ hg diff --git --root .. -r 1:tip
diff --git a/dir1/new b/dir1/copy
copy from dir1/new
copy to dir1/copy
--- a/dir1/new
+++ b/dir1/copy
@@ -1,1 +1,2 @@
new
+copy1
diff --git a/dir1/new b/dir2/copy
copy from dir1/new
copy to dir2/copy
--- a/dir1/new
+++ b/dir2/copy
@@ -1,1 +1,2 @@
new
+copy2
$ hg diff --git --root . -r 1:tip
diff --git a/new b/copy
copy from new
copy to copy
--- a/new
+++ b/copy
@@ -1,1 +1,2 @@
new
+copy1
$ hg diff --git --root . -r 1:tip copy
diff --git a/new b/copy
copy from new
copy to copy
--- a/new
+++ b/copy
@@ -1,1 +1,2 @@
new
+copy1
$ hg diff --git --root . -r 1:tip ../dir2
warning: ../dir2 not inside relative root .
$ hg diff --git --root . -r 1:tip '../dir2/*'
warning: possible glob in non-glob pattern '../dir2/*', did you mean 'glob:../dir2/*'? (no-windows !)
warning: ../dir2/* not inside relative root . (glob)
$ cd ..
Rename:
$ hg mv dir1/copy dir1/rename1
$ echo rename1 >> dir1/rename1
$ hg mv dir2/copy dir1/rename2
$ echo rename2 >> dir1/rename2
$ hg ci -mrename
$ hg diff --git -r 2:tip
diff --git a/dir1/copy b/dir1/rename1
rename from dir1/copy
rename to dir1/rename1
--- a/dir1/copy
+++ b/dir1/rename1
@@ -1,2 +1,3 @@
new
copy1
+rename1
diff --git a/dir2/copy b/dir1/rename2
rename from dir2/copy
rename to dir1/rename2
--- a/dir2/copy
+++ b/dir1/rename2
@@ -1,2 +1,3 @@
new
copy2
+rename2
Cross and same-directory renames with a relative root:
$ hg diff --root dir1 --git -r 2:tip
diff --git a/copy b/rename1
rename from copy
rename to rename1
--- a/copy
+++ b/rename1
@@ -1,2 +1,3 @@
new
copy1
+rename1
diff --git a/rename2 b/rename2
new file mode 100644
--- /dev/null
+++ b/rename2
@@ -0,0 +1,3 @@
+new
+copy2
+rename2
$ hg diff --root dir2 --git -r 2:tip
diff --git a/copy b/copy
deleted file mode 100644
--- a/copy
+++ /dev/null
@@ -1,2 +0,0 @@
-new
-copy2
$ hg diff --root dir1 --git -r 2:tip -I '**/copy'
diff --git a/copy b/copy
deleted file mode 100644
--- a/copy
+++ /dev/null
@@ -1,2 +0,0 @@
-new
-copy1
$ hg diff --root dir1 --git -r 2:tip -I '**/rename*'
diff --git a/copy b/rename1
copy from copy
copy to rename1
--- a/copy
+++ b/rename1
@@ -1,2 +1,3 @@
new
copy1
+rename1
diff --git a/rename2 b/rename2
new file mode 100644
--- /dev/null
+++ b/rename2
@@ -0,0 +1,3 @@
+new
+copy2
+rename2
Delete:
$ hg rm dir1/*
$ hg ci -mdelete
$ hg diff --git -r 3:tip
diff --git a/dir1/new b/dir1/new
deleted file mode 100644
--- a/dir1/new
+++ /dev/null
@@ -1,1 +0,0 @@
-new
diff --git a/dir1/rename1 b/dir1/rename1
deleted file mode 100644
--- a/dir1/rename1
+++ /dev/null
@@ -1,3 +0,0 @@
-new
-copy1
-rename1
diff --git a/dir1/rename2 b/dir1/rename2
deleted file mode 100644
--- a/dir1/rename2
+++ /dev/null
@@ -1,3 +0,0 @@
-new
-copy2
-rename2
$ cat > src <<EOF
> 1
> 2
> 3
> 4
> 5
> EOF
$ hg ci -Amsrc
adding src
#if execbit
chmod 644:
$ chmod +x src
$ hg ci -munexec
$ hg diff --git -r 5:tip
diff --git a/src b/src
old mode 100644
new mode 100755
Rename+mod+chmod:
$ hg mv src dst
$ chmod -x dst
$ echo a >> dst
$ hg ci -mrenamemod
$ hg diff --git -r 6:tip
diff --git a/src b/dst
old mode 100755
new mode 100644
rename from src
rename to dst
--- a/src
+++ b/dst
@@ -3,3 +3,4 @@
3
4
5
+a
Nonexistent in tip+chmod:
$ hg diff --git -r 5:6
diff --git a/src b/src
old mode 100644
new mode 100755
#else
Dummy changes when no exec bit, mocking the execbit commit structure
$ echo change >> src
$ hg ci -munexec
$ hg mv src dst
$ hg ci -mrenamemod
#endif
Binary diff:
$ cp "$TESTDIR/binfile.bin" .
$ hg add binfile.bin
$ hg diff --git > b.diff
$ cat b.diff
diff --git a/binfile.bin b/binfile.bin
new file mode 100644
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..37ba3d1c6f17137d9c5f5776fa040caf5fe73ff9
GIT binary patch
literal 593
zc$@)I0<QguP)<h;3K|Lk000e1NJLTq000mG000mO0ssI2kdbIM00009a7bBm000XU
z000XU0RWnu7ytkO2XskIMF-Uh9TW;VpMjwv0005-Nkl<ZD9@FWPs=e;7{<>W$NUkd
zX$nnYLt$-$V!?uy+1V%`z&Eh=ah|duER<4|QWhju3gb^nF*8iYobxWG-qqXl=2~5M
z*IoDB)sG^CfNuoBmqLTVU^<;@nwHP!1wrWd`{(mHo6VNXWtyh{alzqmsH*yYzpvLT
zLdY<T=ks|woh-`&01!ej#(xbV1f|pI*=%;d-%F*E*X#ZH`4I%6SS+$EJDE&ct=8po
ziN#{?_j|kD%Cd|oiqds`xm@;oJ-^?NG3Gdqrs?5u*zI;{nogxsx~^|Fn^Y?Gdc6<;
zfMJ+iF1J`LMx&A2?dEwNW8ClebzPTbIh{@$hS6*`kH@1d%Lo7fA#}N1)oN7`gm$~V
z+wDx#)OFqMcE{s!JN0-xhG8ItAjVkJwEcb`3WWlJfU2r?;Pd%dmR+q@mSri5q9_W-
zaR2~ECX?B2w+zELozC0s*6Z~|QG^f{3I#<`?)Q7U-JZ|q5W;9Q8i_=pBuSzunx=U;
z9C)5jBoYw9^?EHyQl(M}1OlQcCX>lXB*ODN003Z&P17_@)3Pi=i0wb04<W?v-u}7K
zXmmQA+wDgE!qR9o8jr`%=ab_&uh(l?R=r;Tjiqon91I2-hIu?57~@*4h7h9uORK#=
fQItJW-{SoTm)8|5##k|m00000NkvXXu0mjf{mKw4
Import binary diff:
$ hg revert binfile.bin
$ rm binfile.bin
$ hg import -mfoo b.diff
applying b.diff
$ cmp binfile.bin "$TESTDIR/binfile.bin"
Rename binary file:
$ hg mv binfile.bin renamed.bin
$ hg diff --git
diff --git a/binfile.bin b/renamed.bin
rename from binfile.bin
rename to renamed.bin
Diff across many revisions:
$ hg mv dst dst2
$ hg ci -m 'mv dst dst2'
$ echo >> start
$ hg ci -m 'change start'
$ hg revert -r -2 start
$ hg mv dst2 dst3
$ hg ci -m 'mv dst2 dst3; revert start'
$ hg diff --git -r 9:11
diff --git a/dst2 b/dst3
rename from dst2
rename to dst3
Reversed:
$ hg diff --git -r 11:9
diff --git a/dst3 b/dst2
rename from dst3
rename to dst2
$ echo a >> foo
$ hg add foo
$ hg ci -m 'add foo'
$ echo b >> foo
$ hg ci -m 'change foo'
$ hg mv foo bar
$ hg ci -m 'mv foo bar'
$ echo c >> bar
$ hg ci -m 'change bar'
File created before r1 and renamed before r2:
$ hg diff --git -r -3:-1
diff --git a/foo b/bar
rename from foo
rename to bar
--- a/foo
+++ b/bar
@@ -1,2 +1,3 @@
a
b
+c
Reversed:
$ hg diff --git -r -1:-3
diff --git a/bar b/foo
rename from bar
rename to foo
--- a/bar
+++ b/foo
@@ -1,3 +1,2 @@
a
b
-c
File created in r1 and renamed before r2:
$ hg diff --git -r -4:-1
diff --git a/foo b/bar
rename from foo
rename to bar
--- a/foo
+++ b/bar
@@ -1,1 +1,3 @@
a
+b
+c
Reversed:
$ hg diff --git -r -1:-4
diff --git a/bar b/foo
rename from bar
rename to foo
--- a/bar
+++ b/foo
@@ -1,3 +1,1 @@
a
-b
-c
File created after r1 and renamed before r2:
$ hg diff --git -r -5:-1
diff --git a/bar b/bar
new file mode 100644
--- /dev/null
+++ b/bar
@@ -0,0 +1,3 @@
+a
+b
+c
Reversed:
$ hg diff --git -r -1:-5
diff --git a/bar b/bar
deleted file mode 100644
--- a/bar
+++ /dev/null
@@ -1,3 +0,0 @@
-a
-b
-c
Comparing with the working dir:
$ echo >> start
$ hg ci -m 'change start again'
$ echo > created
$ hg add created
$ hg ci -m 'add created'
$ hg mv created created2
$ hg ci -m 'mv created created2'
$ hg mv created2 created3
There's a copy in the working dir:
$ hg diff --git
diff --git a/created2 b/created3
rename from created2
rename to created3
There's another copy between the original rev and the wd:
$ hg diff --git -r -2
diff --git a/created b/created3
rename from created
rename to created3
The source of the copy was created after the original rev:
$ hg diff --git -r -3
diff --git a/created3 b/created3
new file mode 100644
--- /dev/null
+++ b/created3
@@ -0,0 +1,1 @@
+
$ hg ci -m 'mv created2 created3'
$ echo > brand-new
$ hg add brand-new
$ hg ci -m 'add brand-new'
$ hg mv brand-new brand-new2
Created in parent of wd; renamed in the wd:
$ hg diff --git
diff --git a/brand-new b/brand-new2
rename from brand-new
rename to brand-new2
Created between r1 and parent of wd; renamed in the wd:
$ hg diff --git -r -2
diff --git a/brand-new2 b/brand-new2
new file mode 100644
--- /dev/null
+++ b/brand-new2
@@ -0,0 +1,1 @@
+
$ hg ci -m 'mv brand-new brand-new2'
One file is copied to many destinations and removed:
$ hg cp brand-new2 brand-new3
$ hg mv brand-new2 brand-new3-2
$ hg ci -m 'multiple renames/copies'
$ hg diff --git -r -2 -r -1
diff --git a/brand-new2 b/brand-new3
rename from brand-new2
rename to brand-new3
diff --git a/brand-new2 b/brand-new3-2
copy from brand-new2
copy to brand-new3-2
Reversed:
$ hg diff --git -r -1 -r -2
diff --git a/brand-new3-2 b/brand-new2
rename from brand-new3-2
rename to brand-new2
diff --git a/brand-new3 b/brand-new3
deleted file mode 100644
--- a/brand-new3
+++ /dev/null
@@ -1,1 +0,0 @@
-
There should be a trailing TAB if there are spaces in the file name:
$ echo foo > 'with spaces'
$ hg add 'with spaces'
$ hg diff --git
diff --git a/with spaces b/with spaces
new file mode 100644
--- /dev/null
+++ b/with spaces
@@ -0,0 +1,1 @@
+foo
$ hg ci -m 'add filename with spaces'
Additions should be properly marked even in the middle of a merge
$ hg up -r -2
0 files updated, 0 files merged, 1 files removed, 0 files unresolved
$ echo "New File" >> inmerge
$ hg add inmerge
$ hg ci -m "file in merge"
$ hg up 23
1 files updated, 0 files merged, 1 files removed, 0 files unresolved
$ hg merge
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
(branch merge, don't forget to commit)
$ hg diff -g
diff --git a/inmerge b/inmerge
new file mode 100644
--- /dev/null
+++ b/inmerge
@@ -0,0 +1,1 @@
+New File
```
|
```xml
import { Component } from '@angular/core';
import { Code } from '@domain/code';
@Component({
selector: 'vertical-doc',
template: `
<app-docsectiontext>
<p>Panels are displayed as stacked by setting the <i>layout</i> to <i>vertical</i>.</p>
</app-docsectiontext>
<div class="card">
<p-splitter [style]="{ height: '300px' }" styleClass="mb-5" layout="vertical">
<ng-template pTemplate>
<div class="col flex align-items-center justify-content-center">Panel 1</div>
</ng-template>
<ng-template pTemplate>
<div class="col flex align-items-center justify-content-center">Panel 2</div>
</ng-template>
</p-splitter>
</div>
<app-code [code]="code" selector="splitter-vertical-demo"></app-code>
`
})
export class VerticalDoc {
code: Code = {
basic: `<p-splitter
[style]="{ height: '300px' }"
styleClass="mb-5"
layout="vertical">
<ng-template pTemplate>
<div class="col flex align-items-center justify-content-center">
Panel 1
</div>
</ng-template>
<ng-template pTemplate>
<div class="col flex align-items-center justify-content-center">
Panel 2
</div>
</ng-template>
</p-splitter>`,
html: `<div class="card">
<p-splitter
[style]="{ height: '300px' }"
styleClass="mb-5"
layout="vertical">
<ng-template pTemplate>
<div class="col flex align-items-center justify-content-center">
Panel 1
</div>
</ng-template>
<ng-template pTemplate>
<div class="col flex align-items-center justify-content-center">
Panel 2
</div>
</ng-template>
</p-splitter>
</div>`,
typescript: `import { Component } from '@angular/core';
import { SplitterModule } from 'primeng/splitter';
@Component({
selector: 'splitter-vertical-demo',
templateUrl: './splitter-vertical-demo.html',
standalone: true,
imports: [SplitterModule]
})
export class SplitterVerticalDemo {}`
};
}
```
|
```sqlpl
-- create a table to use as a basis for views and materialized views in various combinations
CREATE TABLE mvtest_t (id int NOT NULL PRIMARY KEY, type text NOT NULL, amt numeric NOT NULL);
INSERT INTO mvtest_t VALUES
(1, 'x', 2),
(2, 'x', 3),
(3, 'y', 5),
(4, 'y', 7),
(5, 'z', 11);
-- we want a view based on the table, too, since views present additional challenges
CREATE VIEW mvtest_tv AS SELECT type, sum(amt) AS totamt FROM mvtest_t GROUP BY type;
SELECT * FROM mvtest_tv ORDER BY type;
-- create a materialized view with no data, and confirm correct behavior
EXPLAIN (costs off)
CREATE MATERIALIZED VIEW mvtest_tm AS SELECT type, sum(amt) AS totamt FROM mvtest_t GROUP BY type WITH NO DATA;
CREATE MATERIALIZED VIEW mvtest_tm AS SELECT type, sum(amt) AS totamt FROM mvtest_t GROUP BY type WITH NO DATA;
SELECT relispopulated FROM pg_class WHERE oid = 'mvtest_tm'::regclass;
SELECT * FROM mvtest_tm ORDER BY type;
REFRESH MATERIALIZED VIEW mvtest_tm;
SELECT relispopulated FROM pg_class WHERE oid = 'mvtest_tm'::regclass;
CREATE UNIQUE INDEX mvtest_tm_type ON mvtest_tm (type);
SELECT * FROM mvtest_tm ORDER BY type;
-- create various views
EXPLAIN (costs off)
CREATE MATERIALIZED VIEW mvtest_tvm AS SELECT * FROM mvtest_tv ORDER BY type;
CREATE MATERIALIZED VIEW mvtest_tvm AS SELECT * FROM mvtest_tv ORDER BY type;
SELECT * FROM mvtest_tvm;
CREATE MATERIALIZED VIEW mvtest_tmm AS SELECT sum(totamt) AS grandtot FROM mvtest_tm;
CREATE MATERIALIZED VIEW mvtest_tvmm AS SELECT sum(totamt) AS grandtot FROM mvtest_tvm;
CREATE UNIQUE INDEX mvtest_tvmm_expr ON mvtest_tvmm ((grandtot > 0));
CREATE UNIQUE INDEX mvtest_tvmm_pred ON mvtest_tvmm (grandtot) WHERE grandtot < 0;
CREATE VIEW mvtest_tvv AS SELECT sum(totamt) AS grandtot FROM mvtest_tv;
EXPLAIN (costs off)
CREATE MATERIALIZED VIEW mvtest_tvvm AS SELECT * FROM mvtest_tvv;
CREATE MATERIALIZED VIEW mvtest_tvvm AS SELECT * FROM mvtest_tvv;
CREATE VIEW mvtest_tvvmv AS SELECT * FROM mvtest_tvvm;
CREATE MATERIALIZED VIEW mvtest_bb AS SELECT * FROM mvtest_tvvmv;
CREATE INDEX mvtest_aa ON mvtest_bb (grandtot);
-- check that plans seem reasonable
\d+ mvtest_tvm
\d+ mvtest_tvm
\d+ mvtest_tvvm
\d+ mvtest_bb
-- test schema behavior
CREATE SCHEMA mvtest_mvschema;
ALTER MATERIALIZED VIEW mvtest_tvm SET SCHEMA mvtest_mvschema;
\d+ mvtest_tvm
\d+ mvtest_tvmm
SET search_path = mvtest_mvschema, public;
\d+ mvtest_tvm
-- modify the underlying table data
INSERT INTO mvtest_t VALUES (6, 'z', 13);
-- confirm pre- and post-refresh contents of fairly simple materialized views
SELECT * FROM mvtest_tm ORDER BY type;
SELECT * FROM mvtest_tvm ORDER BY type;
REFRESH MATERIALIZED VIEW CONCURRENTLY mvtest_tm;
REFRESH MATERIALIZED VIEW mvtest_tvm;
SELECT * FROM mvtest_tm ORDER BY type;
SELECT * FROM mvtest_tvm ORDER BY type;
RESET search_path;
-- confirm pre- and post-refresh contents of nested materialized views
EXPLAIN (costs off)
SELECT * FROM mvtest_tmm;
EXPLAIN (costs off)
SELECT * FROM mvtest_tvmm;
EXPLAIN (costs off)
SELECT * FROM mvtest_tvvm;
SELECT * FROM mvtest_tmm;
SELECT * FROM mvtest_tvmm;
SELECT * FROM mvtest_tvvm;
REFRESH MATERIALIZED VIEW mvtest_tmm;
REFRESH MATERIALIZED VIEW CONCURRENTLY mvtest_tvmm;
REFRESH MATERIALIZED VIEW mvtest_tvmm;
REFRESH MATERIALIZED VIEW mvtest_tvvm;
EXPLAIN (costs off)
SELECT * FROM mvtest_tmm;
EXPLAIN (costs off)
SELECT * FROM mvtest_tvmm;
EXPLAIN (costs off)
SELECT * FROM mvtest_tvvm;
SELECT * FROM mvtest_tmm;
SELECT * FROM mvtest_tvmm;
SELECT * FROM mvtest_tvvm;
-- test diemv when the mv does not exist
DROP MATERIALIZED VIEW IF EXISTS no_such_mv;
-- make sure invalid combination of options is prohibited
REFRESH MATERIALIZED VIEW CONCURRENTLY mvtest_tvmm WITH NO DATA;
-- no tuple locks on materialized views
SELECT * FROM mvtest_tvvm FOR SHARE;
-- test join of mv and view
SELECT type, m.totamt AS mtot, v.totamt AS vtot FROM mvtest_tm m LEFT JOIN mvtest_tv v USING (type) ORDER BY type;
-- make sure that dependencies are reported properly when they block the drop
DROP TABLE mvtest_t;
-- make sure dependencies are dropped and reported
-- and make sure that transactional behavior is correct on rollback
-- incidentally leaving some interesting materialized views for pg_dump testing
BEGIN;
DROP TABLE mvtest_t CASCADE;
ROLLBACK;
-- some additional tests not using base tables
CREATE VIEW mvtest_vt1 AS SELECT 1 moo;
CREATE VIEW mvtest_vt2 AS SELECT moo, 2*moo FROM mvtest_vt1 UNION ALL SELECT moo, 3*moo FROM mvtest_vt1;
\d+ mvtest_vt2
CREATE MATERIALIZED VIEW mv_test2 AS SELECT moo, 2*moo FROM mvtest_vt2 UNION ALL SELECT moo, 3*moo FROM mvtest_vt2;
\d+ mv_test2
CREATE MATERIALIZED VIEW mv_test3 AS SELECT * FROM mv_test2 WHERE moo = 12345;
SELECT relispopulated FROM pg_class WHERE oid = 'mv_test3'::regclass;
DROP VIEW mvtest_vt1 CASCADE;
-- test that duplicate values on unique index prevent refresh
CREATE TABLE mvtest_foo(a, b) AS VALUES(1, 10);
CREATE MATERIALIZED VIEW mvtest_mv AS SELECT * FROM mvtest_foo;
CREATE UNIQUE INDEX ON mvtest_mv(a);
INSERT INTO mvtest_foo SELECT * FROM mvtest_foo;
REFRESH MATERIALIZED VIEW mvtest_mv;
REFRESH MATERIALIZED VIEW CONCURRENTLY mvtest_mv;
DROP TABLE mvtest_foo CASCADE;
-- make sure that all columns covered by unique indexes works
CREATE TABLE mvtest_foo(a, b, c) AS VALUES(1, 2, 3);
CREATE MATERIALIZED VIEW mvtest_mv AS SELECT * FROM mvtest_foo;
CREATE UNIQUE INDEX ON mvtest_mv (a);
CREATE UNIQUE INDEX ON mvtest_mv (b);
CREATE UNIQUE INDEX on mvtest_mv (c);
INSERT INTO mvtest_foo VALUES(2, 3, 4);
INSERT INTO mvtest_foo VALUES(3, 4, 5);
REFRESH MATERIALIZED VIEW mvtest_mv;
REFRESH MATERIALIZED VIEW CONCURRENTLY mvtest_mv;
DROP TABLE mvtest_foo CASCADE;
-- allow subquery to reference unpopulated matview if WITH NO DATA is specified
CREATE MATERIALIZED VIEW mvtest_mv1 AS SELECT 1 AS col1 WITH NO DATA;
CREATE MATERIALIZED VIEW mvtest_mv2 AS SELECT * FROM mvtest_mv1
WHERE col1 = (SELECT LEAST(col1) FROM mvtest_mv1) WITH NO DATA;
DROP MATERIALIZED VIEW mvtest_mv1 CASCADE;
-- make sure that types with unusual equality tests work
CREATE TABLE mvtest_boxes (id serial primary key, b box);
INSERT INTO mvtest_boxes (b) VALUES
('(32,32),(31,31)'),
('(2.0000004,2.0000004),(1,1)'),
('(1.9999996,1.9999996),(1,1)');
CREATE MATERIALIZED VIEW mvtest_boxmv AS SELECT * FROM mvtest_boxes;
CREATE UNIQUE INDEX mvtest_boxmv_id ON mvtest_boxmv (id);
UPDATE mvtest_boxes SET b = '(2,2),(1,1)' WHERE id = 2;
REFRESH MATERIALIZED VIEW CONCURRENTLY mvtest_boxmv;
SELECT * FROM mvtest_boxmv ORDER BY id;
DROP TABLE mvtest_boxes CASCADE;
-- make sure that column names are handled correctly
CREATE TABLE mvtest_v (i int, j int);
CREATE MATERIALIZED VIEW mvtest_mv_v (ii, jj, kk) AS SELECT i, j FROM mvtest_v; -- error
CREATE MATERIALIZED VIEW mvtest_mv_v (ii, jj) AS SELECT i, j FROM mvtest_v; -- ok
CREATE MATERIALIZED VIEW mvtest_mv_v_2 (ii) AS SELECT i, j FROM mvtest_v; -- ok
CREATE MATERIALIZED VIEW mvtest_mv_v_3 (ii, jj, kk) AS SELECT i, j FROM mvtest_v WITH NO DATA; -- error
CREATE MATERIALIZED VIEW mvtest_mv_v_3 (ii, jj) AS SELECT i, j FROM mvtest_v WITH NO DATA; -- ok
CREATE MATERIALIZED VIEW mvtest_mv_v_4 (ii) AS SELECT i, j FROM mvtest_v WITH NO DATA; -- ok
ALTER TABLE mvtest_v RENAME COLUMN i TO x;
INSERT INTO mvtest_v values (1, 2);
CREATE UNIQUE INDEX mvtest_mv_v_ii ON mvtest_mv_v (ii);
REFRESH MATERIALIZED VIEW mvtest_mv_v;
UPDATE mvtest_v SET j = 3 WHERE x = 1;
REFRESH MATERIALIZED VIEW CONCURRENTLY mvtest_mv_v;
REFRESH MATERIALIZED VIEW mvtest_mv_v_2;
REFRESH MATERIALIZED VIEW mvtest_mv_v_3;
REFRESH MATERIALIZED VIEW mvtest_mv_v_4;
SELECT * FROM mvtest_v;
SELECT * FROM mvtest_mv_v;
SELECT * FROM mvtest_mv_v_2;
SELECT * FROM mvtest_mv_v_3;
SELECT * FROM mvtest_mv_v_4;
DROP TABLE mvtest_v CASCADE;
-- Check that unknown literals are converted to "text" in CREATE MATVIEW,
-- so that we don't end up with unknown-type columns.
CREATE MATERIALIZED VIEW mv_unspecified_types AS
SELECT 42 as i, 42.5 as num, 'foo' as u, 'foo'::unknown as u2, null as n;
\d+ mv_unspecified_types
SELECT * FROM mv_unspecified_types;
DROP MATERIALIZED VIEW mv_unspecified_types;
-- make sure that create WITH NO DATA does not plan the query (bug #13907)
create materialized view mvtest_error as select 1/0 as x; -- fail
create materialized view mvtest_error as select 1/0 as x with no data;
refresh materialized view mvtest_error; -- fail here
drop materialized view mvtest_error;
-- make sure that matview rows can be referenced as source rows (bug #9398)
CREATE TABLE mvtest_v AS SELECT generate_series(1,10) AS a;
CREATE MATERIALIZED VIEW mvtest_mv_v AS SELECT a FROM mvtest_v WHERE a <= 5;
DELETE FROM mvtest_v WHERE EXISTS ( SELECT * FROM mvtest_mv_v WHERE mvtest_mv_v.a = mvtest_v.a );
SELECT * FROM mvtest_v;
SELECT * FROM mvtest_mv_v;
DROP TABLE mvtest_v CASCADE;
-- make sure running as superuser works when MV owned by another role (bug #11208)
CREATE ROLE regress_user_mvtest;
SET ROLE regress_user_mvtest;
-- this test case also checks for ambiguity in the queries issued by
-- refresh_by_match_merge(), by choosing column names that intentionally
-- duplicate all the aliases used in those queries
CREATE TABLE mvtest_foo_data AS SELECT i,
i+1 AS tid,
md5(random()::text) AS mv,
md5(random()::text) AS newdata,
md5(random()::text) AS newdata2,
md5(random()::text) AS diff
FROM generate_series(1, 10) i;
CREATE MATERIALIZED VIEW mvtest_mv_foo AS SELECT * FROM mvtest_foo_data;
CREATE MATERIALIZED VIEW mvtest_mv_foo AS SELECT * FROM mvtest_foo_data;
CREATE MATERIALIZED VIEW IF NOT EXISTS mvtest_mv_foo AS SELECT * FROM mvtest_foo_data;
CREATE UNIQUE INDEX ON mvtest_mv_foo (i);
RESET ROLE;
REFRESH MATERIALIZED VIEW mvtest_mv_foo;
REFRESH MATERIALIZED VIEW CONCURRENTLY mvtest_mv_foo;
DROP OWNED BY regress_user_mvtest CASCADE;
DROP ROLE regress_user_mvtest;
-- make sure that create WITH NO DATA works via SPI
BEGIN;
CREATE FUNCTION mvtest_func()
RETURNS void AS $$
BEGIN
CREATE MATERIALIZED VIEW mvtest1 AS SELECT 1 AS x;
CREATE MATERIALIZED VIEW mvtest2 AS SELECT 1 AS x WITH NO DATA;
END;
$$ LANGUAGE plpgsql;
SELECT mvtest_func();
SELECT * FROM mvtest1;
SELECT * FROM mvtest2;
ROLLBACK;
-- INSERT privileges if relation owner is not allowed to insert.
CREATE SCHEMA matview_schema;
CREATE USER regress_matview_user;
ALTER DEFAULT PRIVILEGES FOR ROLE regress_matview_user
REVOKE INSERT ON TABLES FROM regress_matview_user;
GRANT ALL ON SCHEMA matview_schema TO public;
SET SESSION AUTHORIZATION regress_matview_user;
CREATE MATERIALIZED VIEW matview_schema.mv_withdata1 (a) AS
SELECT generate_series(1, 10) WITH DATA;
EXPLAIN (ANALYZE, COSTS OFF, SUMMARY OFF, TIMING OFF)
CREATE MATERIALIZED VIEW matview_schema.mv_withdata2 (a) AS
SELECT generate_series(1, 10) WITH DATA;
REFRESH MATERIALIZED VIEW matview_schema.mv_withdata2;
CREATE MATERIALIZED VIEW matview_schema.mv_nodata1 (a) AS
SELECT generate_series(1, 10) WITH NO DATA;
EXPLAIN (ANALYZE, COSTS OFF, SUMMARY OFF, TIMING OFF)
CREATE MATERIALIZED VIEW matview_schema.mv_nodata2 (a) AS
SELECT generate_series(1, 10) WITH NO DATA;
REFRESH MATERIALIZED VIEW matview_schema.mv_nodata2;
RESET SESSION AUTHORIZATION;
ALTER DEFAULT PRIVILEGES FOR ROLE regress_matview_user
GRANT INSERT ON TABLES TO regress_matview_user;
DROP SCHEMA matview_schema CASCADE;
DROP USER regress_matview_user;
-- CREATE MATERIALIZED VIEW ... IF NOT EXISTS
CREATE MATERIALIZED VIEW matview_ine_tab AS SELECT 1;
CREATE MATERIALIZED VIEW matview_ine_tab AS SELECT 1 / 0; -- error
CREATE MATERIALIZED VIEW IF NOT EXISTS matview_ine_tab AS
SELECT 1 / 0; -- ok
CREATE MATERIALIZED VIEW matview_ine_tab AS
SELECT 1 / 0 WITH NO DATA; -- error
CREATE MATERIALIZED VIEW IF NOT EXISTS matview_ine_tab AS
SELECT 1 / 0 WITH NO DATA; -- ok
EXPLAIN (ANALYZE, COSTS OFF, SUMMARY OFF, TIMING OFF)
CREATE MATERIALIZED VIEW matview_ine_tab AS
SELECT 1 / 0; -- error
EXPLAIN (ANALYZE, COSTS OFF, SUMMARY OFF, TIMING OFF)
CREATE MATERIALIZED VIEW IF NOT EXISTS matview_ine_tab AS
SELECT 1 / 0; -- ok
EXPLAIN (ANALYZE, COSTS OFF, SUMMARY OFF, TIMING OFF)
CREATE MATERIALIZED VIEW matview_ine_tab AS
SELECT 1 / 0 WITH NO DATA; -- error
EXPLAIN (ANALYZE, COSTS OFF, SUMMARY OFF, TIMING OFF)
CREATE MATERIALIZED VIEW IF NOT EXISTS matview_ine_tab AS
SELECT 1 / 0 WITH NO DATA; -- ok
DROP MATERIALIZED VIEW matview_ine_tab;
```
|
David Robert Hall, OAM (born 14 January 1970) is an Australian former professional wheelchair tennis player. With eight US Open singles titles, two Masters singles titles, and a Paralympic gold medal in singles, he has been referred to as Australia's greatest ever wheelchair tennis player.
Biography
Born in Sydney, Australia, Hall was raised in the New South Wales coastal town of Budgewoi, attending Budgewoi Public School and Northlakes High School. On 11 October 1986, at the age of 16, Hall lost his legs after being hit by a car. After a long period of rehabilitation, Hall began working as a clerk at the local police station. It was around this time that Hall was looking through the local paper and saw a picture of Terry Mason in a wheelchair playing tennis.
Hall had played tennis growing up and at the age of 13 and 14 had been Club Champion at his local tennis club under the coaching supervision of Allan McDonald. Inspired, Hall began to play and entered his first wheelchair tennis competition, the 'Albury-Wodonga Classic', in 1988.
This led to him competing in his first Australian Open in February 1989. Playing in the C division, Hall won. The following year, Hall participated in his first international competition and turned professional in 1993. 1995 saw Hall relocate to the United States. The year culminated with Hall winning the US Open Singles title and being ranked number one in the world.
Tennis career
In his career, Hall won all of the major world titles and was ranked as the world number one player for six years. He won Paralympic gold, silver and bronze medals and 18 Super Series titles. He was a member of Australia's World Cup winning teams in 1994, 1996, 2000 and 2002. He was ranked World No 1 for eight of the years between 1995 and 2005. Between 1995 and 2005 he won the Australian Open Wheelchair tennis title nine times, the British Open seven times, the US Open eight times, and the Japan Open eight times. For most of his tennis career, Hall was coached by Rich Berman. He was an Australian Institute of Sport scholarship holder from 1995 to 2000.
Professional career
Hall played professionally for more than a decade before officially retiring from competition in 2006. He announced his retirement from the NEC Wheelchair Tennis Tour in June 2006.
He won the NEC Singles Masters titles in 2002 and 2004.
Australian Open
Hall won nine Australian Opens in the men's singles wheelchair event. He first won the men's single wheelchair event at the Australian Open in 1995. In 1996 he also won the men's doubles with his partner, Mick Connell. He won his first British Open in 1995.
British Open
Hall won seven British Opens in the men's singles wheelchair event.
Japan Open
He won the Japan Open eight times.
US Open
Hall won eight US Opens in the men's singles wheelchair event. Six of these wins were between 1995 and 2002. In 2005, Japan's Shingo Kunieda beat David Hall in the quarter-finals of the US Open. Hall was the first non-American to win the U.S. Open Super Series title. He won five of these eight titles in a row between 2000 and 2004. His 2005 run was ended because France's Michaël Jérémiasz won that year. At the 1999 US Open he lost in the quarter-finals to Robin Ammerlaan.
Paralympic Games
Hall represented Australia at the Paralympic Games four times; First in 1992 at Barcelona, Atlanta in 1996, where he won a silver medal in the doubles and a bronze medal in the singles, Sydney in 2000, where he won a gold medal in the singles and a silver medal in the doubles, and Athens in 2004, where he won a silver medal in the singles and a bronze medal in the doubles. He received the Medal of the Order of Australia in the 2001 Australia Day Honours "for service to sport as a gold medallist at the Sydney 2000 Paralympic Games."
Other events
He competed in more than seventy other tournaments.
In 2013, 6-time World Champion David Hall, together with his long-time coach Rich Berman, released a comprehensive video tutorial of all the basics of playing wheelchair tennis titled Let's Roll - Learning Wheelchair Tennis with the Pros.
Awards and non-tennis career
Hall's accomplishments culminated in him being inducted into the Sport Australia Hall of Fame in 2010. In 2010, he was one of only three Paralympians to have been given the honour.
Hall was inducted into the New South Wales Hall of Champions in 2009.
In 2010 Hall was appointed an ambassador for wheelchair tennis by the International Tennis Federation to help promote the sport in Australia and worldwide. In 2011, Hall will sit on the selection panel for the Newcombe Medal Award for Most Outstanding Athlete with a Disability.
Hall was a writer for Sports 'n Spokes Magazine. For ten years he worked for Tennis Australia in promoting and raising awareness of wheelchair tennis within Australia. He also worked for the Royal Rehab Centre Sydney as an ambassador from 2007 to 2010. As part of a Sydney Morning Herald report in 2009, Hall toured the city of Sydney to explore the city's wheelchair accessibility. Hall highlighted some of the frustrations of using public transport.
During the Australian Tennis Open in 2015, he was inducted into the Australian Tennis Hall of Fame.
In July 2015, Hall was inducted into the International Tennis Hall of Fame In April 2016, he was awarded the International Tennis Federation's Brad Parks Award for his significant contribution to wheelchair tennis on an international basis.
In December 2016, Hall was inducted into the Australian Paralympic Hall of Fame.
References
External links
1970 births
Living people
Australian male tennis players
Australian wheelchair tennis players
Paralympic wheelchair tennis players
Paralympic wheelchair tennis players for Australia
Paralympic gold medalists for Australia
Paralympic medalists in wheelchair tennis
Paralympic silver medalists for Australia
Paralympic bronze medalists for Australia
Wheelchair tennis players at the 1992 Summer Paralympics
Wheelchair tennis players at the 1996 Summer Paralympics
Wheelchair tennis players at the 2000 Summer Paralympics
Wheelchair tennis players at the 2004 Summer Paralympics
Medalists at the 1996 Summer Paralympics
Medalists at the 2000 Summer Paralympics
Medalists at the 2004 Summer Paralympics
International Tennis Hall of Fame inductees
Recipients of the Medal of the Order of Australia
Sport Australia Hall of Fame inductees
Tennis people from New South Wales
ITF number 1 ranked wheelchair tennis players
ITF World Champions
Sportsmen from New South Wales
|
```java
//
// This file is auto-generated. Please don't modify it!
//
package org.opencv.core;
import java.lang.String;
// C++: class Algorithm
//javadoc: Algorithm
public class Algorithm {
protected final long nativeObj;
protected Algorithm(long addr) { nativeObj = addr; }
//
// C++: String getDefaultName()
//
//javadoc: Algorithm::getDefaultName()
public String getDefaultName()
{
String retVal = getDefaultName_0(nativeObj);
return retVal;
}
//
// C++: void clear()
//
//javadoc: Algorithm::clear()
public void clear()
{
clear_0(nativeObj);
return;
}
//
// C++: void save(String filename)
//
//javadoc: Algorithm::save(filename)
public void save(String filename)
{
save_0(nativeObj, filename);
return;
}
@Override
protected void finalize() throws Throwable {
delete(nativeObj);
}
// C++: String getDefaultName()
private static native String getDefaultName_0(long nativeObj);
// C++: void clear()
private static native void clear_0(long nativeObj);
// C++: void save(String filename)
private static native void save_0(long nativeObj, String filename);
// native support for java finalize()
private static native void delete(long nativeObj);
}
```
|
Major General Colin Richard James Weir, (born 2 March 1971) is a senior British Army officer.
Early life and education
Weir was born on 2 March 1971 in Portadown, Northern Ireland. He was educated at Portadown College, and graduated from Queen's University Belfast with a Bachelor of Arts degree in History.
Military career
Weir was commissioned into the Royal Irish Rangers on 26 May 1991. He was appointed commanding officer of the 1st Battalion of the Royal Irish Regiment in March 2010 and was deployed in that role to Afghanistan. He went on to be chief of staff for 1st (United Kingdom) Division in December 2012, commander of 16 Air Assault Brigade in July 2015, and Assistant Chief of Staff (Operations) at Permanent Joint Headquarters in May 2017 before becoming General Officer Commanding 1st (United Kingdom) Division in November 2018. Weir was appointed chief of staff to the Field Army in 2020, and stepped down in July 2023.
Weir was appointed Member of the Order of the British Empire (MBE) in the 2010 New Year Honours, awarded the Distinguished Service Order (DSO) on 30 September 2011 for service in Afghanistan, and appointed Companion of the Order of the Bath (CB) in the 2023 Birthday Honours.
References
1971 births
Living people
People educated at Portadown College
Alumni of Queen's University Belfast
British Army major generals
Companions of the Order of the Bath
Companions of the Distinguished Service Order
Members of the Order of the British Empire
People from Portadown
Military personnel from County Armagh
|
```java
package com.yahoo.container.jdisc;
import org.junit.jupiter.api.Test;
import static com.yahoo.container.jdisc.ShutdownDeadline.sanitizeFileName;
import static org.junit.jupiter.api.Assertions.assertEquals;
/**
* @author bjorncs
*/
class ShutdownDeadlineTest {
@Test
void testConfigId2FileName() {
assertEquals("admin.metrics.2088223-v6-1.ostk.bm2.prod.ne1.yahoo.com", sanitizeFileName("admin/metrics/2088223-v6-1.ostk.bm2.prod.ne1.yahoo.com"));
assertEquals("admin.standalone.cluster-controllers.1", sanitizeFileName("admin/standalone/cluster-controllers/1 "));
}
}
```
|
```objective-c
#import <Foundation/Foundation.h>
@interface Clipboard : NSObject
extern "C"
{
/* compare the namelist with system processes */
void _copyTextToClipboard(const char *textList);
}
@end
```
|
```smalltalk
#if PHOTON_VOICE_WINDOWS || UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace Photon.Voice.Windows
{
/// <summary>Enumerates microphones available on device.
/// </summary>
public class AudioInEnumerator : DeviceEnumeratorBase
{
const string lib_name = "AudioIn";
[DllImport(lib_name)]
private static extern IntPtr Photon_Audio_In_CreateMicEnumerator();
[DllImport(lib_name)]
private static extern void Photon_Audio_In_DestroyMicEnumerator(IntPtr handle);
[DllImport(lib_name)]
private static extern int Photon_Audio_In_MicEnumerator_Count(IntPtr handle);
[DllImport(lib_name)]
private static extern IntPtr Photon_Audio_In_MicEnumerator_NameAtIndex(IntPtr handle, int idx);
[DllImport(lib_name)]
private static extern int Photon_Audio_In_MicEnumerator_IDAtIndex(IntPtr handle, int idx);
IntPtr handle;
public AudioInEnumerator(ILogger logger) : base(logger)
{
Refresh();
}
/// <summary>Refreshes the microphones list.
/// </summary>
public override void Refresh()
{
Dispose();
try
{
handle = Photon_Audio_In_CreateMicEnumerator();
var count = Photon_Audio_In_MicEnumerator_Count(handle);
devices = new List<DeviceInfo>();
for (int i = 0; i < count; i++)
{
devices.Add(new DeviceInfo(Photon_Audio_In_MicEnumerator_IDAtIndex(handle, i), Marshal.PtrToStringAuto(Photon_Audio_In_MicEnumerator_NameAtIndex(handle, i))));
}
Error = null;
}
catch (Exception e)
{
Error = e.ToString();
if (Error == null) // should never happen but since Error used as validity flag, make sure that it's not null
{
Error = "Exception in AudioInEnumerator.Refresh()";
}
}
}
/// <summary>Disposes enumerator.
/// Call it to free native resources.
/// </summary>
public override void Dispose()
{
if (handle != IntPtr.Zero && Error == null)
{
Photon_Audio_In_DestroyMicEnumerator(handle);
handle = IntPtr.Zero;
}
}
}
}
#endif
```
|
```python
#!/usr/bin/python
# (See accompanying file LICENSE_1_0.txt or path_to_url
# Test the 'make' rule.
import BoostBuild
import string
t = BoostBuild.Tester(pass_toolset=1)
t.write("jamroot.jam", """\
import feature ;
feature.feature test_feature : : free ;
import toolset ;
toolset.flags creator STRING : <test_feature> ;
actions creator
{
echo $(STRING) > $(<)
}
make foo.bar : : creator : <test_feature>12345678 ;
""")
t.run_build_system()
t.expect_addition("bin/$toolset/debug*/foo.bar")
t.fail_test(string.find(t.read("bin/$toolset/debug*/foo.bar"), "12345678") == -1)
# Regression test. Make sure that if a main target is requested two times, and
# build requests differ only in incidental properties, the main target is
# created only once. The bug was discovered by Kirill Lapshin.
t.write("jamroot.jam", """\
exe a : dir//hello1.cpp ;
exe b : dir//hello1.cpp/<hardcode-dll-paths>true ;
""")
t.write("dir/jamfile.jam", """\
import common ;
make hello1.cpp : hello.cpp : common.copy ;
""")
t.write("dir/hello.cpp", "int main() {}\n")
# Show only action names.
t.run_build_system(["-d1", "-n"])
t.fail_test(t.stdout().count("copy") != 1)
t.cleanup()
```
|
The Yamaha FJ1100 and FJ1200 are sport touring motorcycles that were produced by Yamaha between 1984 and 1996.
FJ1100
Yamaha released the FJ1100 for model years 1984 and 1985. The FJ1100 was designed by GK Dynamics. This class is characterised by retaining sportiness while integrating more street-friendly riding characteristics, including good manoeuvrability as well as long-distance comfort, such as a more upright seating configuration designed to reduce back strain and a large fairing to reduce fatigue from wind resistance. Emphasis is placed on a balance of utility and sport, rather than pure performance orientation.
The machine was noticeably narrower than many contemporaries, Yamaha achieved this by placing the alternator behind the cylinders instead of the more normal position on the end of the crankshaft.
FJ1200
In 1986 Yamaha decided to upgrade the FJ1100 by increasing the engine displacement slightly and adding upgraded suspension and other components. The result was the FJ1200. They also changed the colour choices with the next model, but they weren't significant. The peak power output was raised slightly to from the FJ1100s , the FJ1200 had more low- to mid-range torque. The FJ1200 was produced in three main successive versions (1TX, 3CV and 3XW) each updated version benefiting from improvements to bodywork, front and rear suspension components, and the addition of an optional ABS-equipped version (FJ1200A) from 1991 until 1996 when Yamaha discontinued the FJ1200 in the United Kingdom. The model was discontinued in the United States in 1993. Market competitors during its production years included the BMW K100RS, Suzuki's 1100 Katana, and Kawasaki's Ninja ZX-10.
Engine
The FJ1200 uses a four cylinder in-line layout and is air-cooled. Sixteen valves are operated by a chain-driven double overhead camshaft; valve clearances are adjusted using shims. The four constant-velocity carburettors are mounted in a bank behind the cylinders and feed each cylinder through a short intake manifolds.
Four exhaust downpipes join a box below the engine where the gases are split to exit through two silencers (mufflers).
The crankshaft is geared directly to the clutch, no counter balancer shaft is used.
Starting is by electric starter only. Lubrication is wet sump using a trochoid pump; an oil radiator assists with cooling. Both the FJ1100 and FJ1200 were fitted with an additional fuel vapour recovery system to comply with California emission regulations.
Transmission
The FJ1200 uses a five-speed constant-mesh sequential manual close-ratio gearbox.
The clutch is of the wet, multiple-disc diaphragm spring type and is hydraulically operated. Final drive is by O-ring chain and sprockets.
Chassis
The frame of the FJ1200 is manufactured from mild steel box-section and uses a perimeter layout, the fairing and upper rear section use separate cylindrical tubing sub-frames. The rear shock absorber is placed vertically behind the engine and connects to a swinging arm made from extruded aluminium alloy (note: later 3XW models have mild steel swinging arm) via several forged aluminium rocker arms. The 17-inch front wheel is held between 41 mm spring and oil damped forks. The FJ1100 and early FJ1200 models featured adjustable anti-dive units and a smaller diameter 16-inch wheel.
The FJ1100 and early FJ1200 used twin ventilated disc brakes for the front wheel with a single ventilated disc at the rear. FJ1200 models, 3CV & 3XW, used solid front discs but retained the rear ventilated disc, front brake calipers were upgraded to a four-piston design.
An anti-lock braking system was used on the FJ1200A. A full fairing protects the rider, varying height fixed windscreens were available as options.
Electrical system
The FJ1200 features a standard 12 volt electrical system. The alternator and starter motor is mounted behind the cylinders. Nippondenso Transistor Controlled Ignition (TCI) is used in conjunction with two coils. Yamaha's self-cancelling indicator unit is used and a variable resistance gauging system is used to monitor engine oil contents with associated warning lights. A large fuel gauge is provided as is a low fuel level warning light. A digital clock is also fitted. A safety feature of the FJ1200 is that the engine ignition is cut if the first gear is selected with the side-stand down, this is now commonplace on modern motorcycles.
Specifications
See also
List of Yamaha motorcycles
References
Notes
Bibliography
Ahlstrand, Alan and Haynes, John H. Yamaha FJ1100 & 1200 Fours '84 to '96. Sparkford, UK: Haynes Publishing, 1996. .
Clymer, Yamaha FJ1100 & FJ1200 1984-1993. Overland Park, Kansas. Intertec Publishing, second edition 1996. .
Brown, Roland The Ultimate History of Fast Bikes. Bath, UK: Parragon Books, 2004. .
External links
Motorcycle Classics article on the 1984 Yamaha FJ1100
FJ1200
Sport touring motorcycles
Motorcycles introduced in 1984
|
```php
<?php
/*
* This file is part of Psy Shell.
*
* (c) 2012-2015 Justin Hileman
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Psy\VarDumper;
use Symfony\Component\Console\Formatter\OutputFormatter;
use Symfony\Component\VarDumper\Cloner\Cursor;
use Symfony\Component\VarDumper\Dumper\CliDumper;
/**
* A PsySH-specialized CliDumper.
*/
class Dumper extends CliDumper
{
private $formatter;
public function __construct(OutputFormatter $formatter)
{
$this->formatter = $formatter;
parent::__construct();
$this->setColors(false);
}
/**
* {@inheritdoc}
*/
public function enterHash(Cursor $cursor, $type, $class, $hasChild)
{
if (Cursor::HASH_INDEXED === $type || Cursor::HASH_ASSOC === $type) {
$class = 0;
}
parent::enterHash($cursor, $type, $class, $hasChild);
}
/**
* {@inheritdoc}
*/
protected function dumpKey(Cursor $cursor)
{
if (Cursor::HASH_INDEXED !== $cursor->hashType) {
parent::dumpKey($cursor);
}
}
protected function style($style, $value, $attr = array())
{
if ('ref' === $style) {
$value = strtr($value, '@', '#');
}
$style = $this->styles[$style];
$value = "<{$style}>" . $this->formatter->escape($value) . "</{$style}>";
$cchr = $this->styles['cchr'];
$value = preg_replace_callback(self::$controlCharsRx, function ($c) use ($cchr) {
switch ($c[0]) {
case "\t":
$c = '\t';
break;
case "\n":
$c = '\n';
break;
case "\v":
$c = '\v';
break;
case "\f":
$c = '\f';
break;
case "\r":
$c = '\r';
break;
case "\033":
$c = '\e';
break;
default:
$c = sprintf('\x%02X', ord($c[0]));
break;
}
return "<{$cchr}>{$c}</{$cchr}>";
}, $value);
return $value;
}
/**
* {@inheritdoc}
*/
protected function dumpLine($depth, $endOfValue = false)
{
if ($endOfValue && 0 < $depth) {
$this->line .= ',';
}
$this->line = $this->formatter->format($this->line);
parent::dumpLine($depth, $endOfValue);
}
}
```
|
Veenendal v Minister of Justice is an important case in South African law, especially in the area of criminal procedure. It was heard in the Transvaal Provincial Division J on September 1, 1992, by Mahomed, who handed down judgment on September 3. D. Bisschoff appeared for the applicant, and DS Fourie for the respondent.
Facts
An applicant for bail, on a continuous hunger fast, stated that he was prepared to comply with any condition of bail which the court might attach to his release, and that he would resume eating if bail were granted.
Judgment
This raised an important question of judicial policy. The court held that the applicant's statement constituted a basic and untenable challenge to the legitimacy and the credibility of the South African legal system and its courts. No court could retain any legitimacy or credibility if it were compelled to succumb to this kind of pressure. There was, in principle, no difference between the position of a man who says, "Release me or I will ensure that I die," and a man who says, "Release me or I will kill somebody else" or "Release me or I will kill my wife" or "Release me or I will kill a hostage." If the courts were to surrender to this kind of pressure, the very foundations of justice would be subverted in a manner which might do irreversible damage to the image of justice and to the values upon which any civilised system of law must be based.
The court had an inherent jurisdiction to grant bail to a person who had been committed to prison by a magistrate in terms of the Extradition Act, even though no appeal was pending against the magistrate's finding under section 10(1).
See also
Criminal procedure in South Africa
References
Veenendal v Minister of Justice 1993 (1) SACR 154 (T).
Notes
1992 in South African law
1992 in case law
South African case law
|
```objective-c
/*
*
*
* 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 "ZXBitArray.h"
#import "ZXCode93Reader.h"
#import "ZXErrors.h"
#import "ZXIntArray.h"
#import "ZXResult.h"
#import "ZXResultPoint.h"
NSString *ZX_CODE93_ALPHABET_STRING = nil;
const unichar ZX_CODE93_ALPHABET[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D',
'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W',
'X', 'Y', 'Z', '-', '.', ' ', '$', '/', '+', '%', 'a', 'b', 'c', 'd', '*'};
/**
* These represent the encodings of characters, as patterns of wide and narrow bars.
* The 9 least-significant bits of each int correspond to the pattern of wide and narrow.
*/
const int ZX_CODE93_CHARACTER_ENCODINGS[] = {
0x114, 0x148, 0x144, 0x142, 0x128, 0x124, 0x122, 0x150, 0x112, 0x10A, // 0-9
0x1A8, 0x1A4, 0x1A2, 0x194, 0x192, 0x18A, 0x168, 0x164, 0x162, 0x134, // A-J
0x11A, 0x158, 0x14C, 0x146, 0x12C, 0x116, 0x1B4, 0x1B2, 0x1AC, 0x1A6, // K-T
0x196, 0x19A, 0x16C, 0x166, 0x136, 0x13A, // U-Z
0x12E, 0x1D4, 0x1D2, 0x1CA, 0x16E, 0x176, 0x1AE, // - - %
0x126, 0x1DA, 0x1D6, 0x132, 0x15E, // Control chars? $-*
};
const int ZX_CODE93_ASTERISK_ENCODING = 0x15E;
@interface ZXCode93Reader ()
@property (nonatomic, strong, readonly) ZXIntArray *counters;
@end
@implementation ZXCode93Reader
+ (void)initialize {
if ([self class] != [ZXCode93Reader class]) return;
ZX_CODE93_ALPHABET_STRING = [[NSString alloc] initWithCharacters:ZX_CODE93_ALPHABET
length:sizeof(ZX_CODE93_ALPHABET) / sizeof(unichar)];
}
- (id)init {
if (self = [super init]) {
_counters = [[ZXIntArray alloc] initWithLength:6];
}
return self;
}
- (ZXResult *)decodeRow:(int)rowNumber row:(ZXBitArray *)row hints:(ZXDecodeHints *)hints error:(NSError **)error {
ZXIntArray *start = [self findAsteriskPattern:row];
if (!start) {
if (error) *error = ZXNotFoundErrorInstance();
return nil;
}
// Read off white space
int nextStart = [row nextSet:start.array[1]];
int end = row.size;
ZXIntArray *theCounters = self.counters;
memset(theCounters.array, 0, theCounters.length * sizeof(int32_t));
NSMutableString *result = [NSMutableString string];
unichar decodedChar;
int lastStart;
do {
if (![ZXOneDReader recordPattern:row start:nextStart counters:theCounters]) {
if (error) *error = ZXNotFoundErrorInstance();
return nil;
}
int pattern = [self toPattern:theCounters];
if (pattern < 0) {
if (error) *error = ZXNotFoundErrorInstance();
return nil;
}
decodedChar = [self patternToChar:pattern];
if (decodedChar == 0) {
if (error) *error = ZXNotFoundErrorInstance();
return nil;
}
[result appendFormat:@"%C", decodedChar];
lastStart = nextStart;
for (int i = 0; i < theCounters.length; i++) {
nextStart += theCounters.array[i];
}
// Read off white space
nextStart = [row nextSet:nextStart];
} while (decodedChar != '*');
[result deleteCharactersInRange:NSMakeRange([result length] - 1, 1)]; // remove asterisk
int lastPatternSize = [theCounters sum];
// Should be at least one more black module
if (nextStart == end || ![row get:nextStart]) {
if (error) *error = ZXNotFoundErrorInstance();
return nil;
}
if ([result length] < 2) {
// false positive -- need at least 2 checksum digits
if (error) *error = ZXNotFoundErrorInstance();
return nil;
}
if (![self checkChecksums:result error:error]) {
return nil;
}
[result deleteCharactersInRange:NSMakeRange([result length] - 2, 2)];
NSString *resultString = [self decodeExtended:result];
if (!resultString) {
if (error) *error = ZXFormatErrorInstance();
return nil;
}
float left = (float) (start.array[1] + start.array[0]) / 2.0f;
float right = lastStart + lastPatternSize / 2.0f;
return [ZXResult resultWithText:resultString
rawBytes:nil
resultPoints:@[[[ZXResultPoint alloc] initWithX:left y:(float)rowNumber],
[[ZXResultPoint alloc] initWithX:right y:(float)rowNumber]]
format:kBarcodeFormatCode93];
}
- (ZXIntArray *)findAsteriskPattern:(ZXBitArray *)row {
int width = row.size;
int rowOffset = [row nextSet:0];
[self.counters clear];
ZXIntArray *theCounters = self.counters;
int patternStart = rowOffset;
BOOL isWhite = NO;
int patternLength = theCounters.length;
int counterPosition = 0;
for (int i = rowOffset; i < width; i++) {
if ([row get:i] ^ isWhite) {
theCounters.array[counterPosition]++;
} else {
if (counterPosition == patternLength - 1) {
if ([self toPattern:theCounters] == ZX_CODE93_ASTERISK_ENCODING) {
return [[ZXIntArray alloc] initWithInts:patternStart, i, -1];
}
patternStart += theCounters.array[0] + theCounters.array[1];
for (int y = 2; y < patternLength; y++) {
theCounters.array[y - 2] = theCounters.array[y];
}
theCounters.array[patternLength - 2] = 0;
theCounters.array[patternLength - 1] = 0;
counterPosition--;
} else {
counterPosition++;
}
theCounters.array[counterPosition] = 1;
isWhite = !isWhite;
}
}
return nil;
}
- (int)toPattern:(ZXIntArray *)counters {
int max = counters.length;
int sum = [counters sum];
int32_t *array = counters.array;
int pattern = 0;
for (int i = 0; i < max; i++) {
int scaled = round(array[i] * 9.0f / sum);
if (scaled < 1 || scaled > 4) {
return -1;
}
if ((i & 0x01) == 0) {
for (int j = 0; j < scaled; j++) {
pattern = (pattern << 1) | 0x01;
}
} else {
pattern <<= scaled;
}
}
return pattern;
}
- (unichar)patternToChar:(int)pattern {
for (int i = 0; i < sizeof(ZX_CODE93_CHARACTER_ENCODINGS) / sizeof(int); i++) {
if (ZX_CODE93_CHARACTER_ENCODINGS[i] == pattern) {
return ZX_CODE93_ALPHABET[i];
}
}
return -1;
}
- (NSString *)decodeExtended:(NSMutableString *)encoded {
NSUInteger length = [encoded length];
NSMutableString *decoded = [NSMutableString stringWithCapacity:length];
for (int i = 0; i < length; i++) {
unichar c = [encoded characterAtIndex:i];
if (c >= 'a' && c <= 'd') {
if (i >= length - 1) {
return nil;
}
unichar next = [encoded characterAtIndex:i + 1];
unichar decodedChar = '\0';
switch (c) {
case 'd':
if (next >= 'A' && next <= 'Z') {
decodedChar = (unichar)(next + 32);
} else {
return nil;
}
break;
case 'a':
if (next >= 'A' && next <= 'Z') {
decodedChar = (unichar)(next - 64);
} else {
return nil;
}
break;
case 'b':
if (next >= 'A' && next <= 'E') {
decodedChar = (unichar)(next - 38);
} else if (next >= 'F' && next <= 'W') {
decodedChar = (unichar)(next - 11);
} else {
return nil;
}
break;
case 'c':
if (next >= 'A' && next <= 'O') {
decodedChar = (unichar)(next - 32);
} else if (next == 'Z') {
decodedChar = ':';
} else {
return nil;
}
break;
}
[decoded appendFormat:@"%C", decodedChar];
i++;
} else {
[decoded appendFormat:@"%C", c];
}
}
return decoded;
}
- (BOOL)checkChecksums:(NSMutableString *)result error:(NSError **)error {
NSUInteger length = [result length];
if (![self checkOneChecksum:result checkPosition:(int)length - 2 weightMax:20 error:error]) {
return NO;
}
return [self checkOneChecksum:result checkPosition:(int)length - 1 weightMax:15 error:error];
}
- (BOOL)checkOneChecksum:(NSMutableString *)result checkPosition:(int)checkPosition weightMax:(int)weightMax error:(NSError **)error {
int weight = 1;
int total = 0;
for (int i = checkPosition - 1; i >= 0; i--) {
total += weight * [ZX_CODE93_ALPHABET_STRING rangeOfString:[NSString stringWithFormat:@"%C", [result characterAtIndex:i]]].location;
if (++weight > weightMax) {
weight = 1;
}
}
if ([result characterAtIndex:checkPosition] != ZX_CODE93_ALPHABET[total % 47]) {
if (error) *error = ZXChecksumErrorInstance();
return NO;
}
return YES;
}
@end
```
|
```yaml
# (c) Nuvoton Technology Corp. All rights reserved.
description: Nuvoton, Numaker-UART
compatible: "nuvoton,numaker-uart"
include: [uart-controller.yaml, reset-device.yaml, pinctrl-device.yaml]
properties:
reg:
required: true
interrupts:
required: true
resets:
required: true
clocks:
required: true
pinctrl-0:
required: true
pinctrl-names:
required: true
```
|
```emacs lisp
;;; early-init.el --- Early initialization. -*- lexical-binding: t -*-
;; Author: Vincent Zhang <seagle0128@gmail.com>
;; URL: path_to_url
;; This file is not part of GNU Emacs.
;;
;; This program is free software; you can redistribute it and/or
;; published by the Free Software Foundation; either version 3, or
;; (at your option) any later version.
;;
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
;;
;; along with this program; see the file COPYING. If not, write to
;; the Free Software Foundation, Inc., 51 Franklin Street, Fifth
;; Floor, Boston, MA 02110-1301, USA.
;;
;;; Commentary:
;;
;; Emacs 27 introduces early-init.el, which is run before init.el,
;; before package and UI initialization happens.
;;
;;; Code:
;; Defer garbage collection further back in the startup process
(setq gc-cons-threshold most-positive-fixnum)
;; Prevent unwanted runtime compilation for gccemacs (native-comp) users;
;; packages are compiled ahead-of-time when they are installed and site files
;; are compiled when gccemacs is installed.
(setq native-comp-deferred-compilation nil ;; obsolete since 29.1
native-comp-jit-compilation nil)
;; Package initialize occurs automatically, before `user-init-file' is
;; loaded, but after `early-init-file'. We handle package
;; initialization, so we must prevent Emacs from doing it early!
(setq package-enable-at-startup nil)
;; `use-package' is builtin since 29.
;; It must be set before loading `use-package'.
(setq use-package-enable-imenu-support t)
;; In noninteractive sessions, prioritize non-byte-compiled source files to
;; prevent the use of stale byte-code. Otherwise, it saves us a little IO time
;; to skip the mtime checks on every *.elc file.
(setq load-prefer-newer noninteractive)
;; Explicitly set the prefered coding systems to avoid annoying prompt
;; from emacs (especially on Microsoft Windows)
(prefer-coding-system 'utf-8)
;; Inhibit resizing frame
(setq frame-inhibit-implied-resize t)
;; Faster to disable these here (before they've been initialized)
(push '(menu-bar-lines . 0) default-frame-alist)
(push '(tool-bar-lines . 0) default-frame-alist)
(push '(vertical-scroll-bars) default-frame-alist)
(when (featurep 'ns)
(push '(ns-transparent-titlebar . t) default-frame-alist))
(setq-default mode-line-format nil)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; early-init.el ends here
```
|
```php
<?php
/**
*/
namespace OCA\DAV\Tests\unit\CalDAV\Activity;
use OCA\DAV\CalDAV\Activity\Backend;
use OCA\DAV\CalDAV\Activity\Provider\Calendar;
use OCP\Activity\IEvent;
use OCP\Activity\IManager;
use OCP\App\IAppManager;
use OCP\IGroup;
use OCP\IGroupManager;
use OCP\IUser;
use OCP\IUserManager;
use OCP\IUserSession;
use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
class BackendTest extends TestCase {
/** @var IManager|MockObject */
protected $activityManager;
/** @var IGroupManager|MockObject */
protected $groupManager;
/** @var IUserSession|MockObject */
protected $userSession;
/** @var IAppManager|MockObject */
protected $appManager;
/** @var IUserManager|MockObject */
protected $userManager;
protected function setUp(): void {
parent::setUp();
$this->activityManager = $this->createMock(IManager::class);
$this->groupManager = $this->createMock(IGroupManager::class);
$this->userSession = $this->createMock(IUserSession::class);
$this->appManager = $this->createMock(IAppManager::class);
$this->userManager = $this->createMock(IUserManager::class);
}
/**
* @param array $methods
* @return Backend|MockObject
*/
protected function getBackend(array $methods = []) {
if (empty($methods)) {
return new Backend(
$this->activityManager,
$this->groupManager,
$this->userSession,
$this->appManager,
$this->userManager
);
} else {
return $this->getMockBuilder(Backend::class)
->setConstructorArgs([
$this->activityManager,
$this->groupManager,
$this->userSession,
$this->appManager,
$this->userManager
])
->onlyMethods($methods)
->getMock();
}
}
public function dataCallTriggerCalendarActivity() {
return [
['onCalendarAdd', [['data']], Calendar::SUBJECT_ADD, [['data'], [], []]],
['onCalendarUpdate', [['data'], ['shares'], ['changed-properties']], Calendar::SUBJECT_UPDATE, [['data'], ['shares'], ['changed-properties']]],
['onCalendarDelete', [['data'], ['shares']], Calendar::SUBJECT_DELETE, [['data'], ['shares'], []]],
['onCalendarPublication', [['data'], true], Calendar::SUBJECT_PUBLISH, [['data'], [], []]],
];
}
/**
* @dataProvider dataCallTriggerCalendarActivity
*
* @param string $method
* @param array $payload
* @param string $expectedSubject
* @param array $expectedPayload
*/
public function testCallTriggerCalendarActivity($method, array $payload, $expectedSubject, array $expectedPayload): void {
$backend = $this->getBackend(['triggerCalendarActivity']);
$backend->expects($this->once())
->method('triggerCalendarActivity')
->willReturnCallback(function () use ($expectedPayload, $expectedSubject): void {
$arguments = func_get_args();
$this->assertSame($expectedSubject, array_shift($arguments));
$this->assertEquals($expectedPayload, $arguments);
});
call_user_func_array([$backend, $method], $payload);
}
public function dataTriggerCalendarActivity() {
return [
// Add calendar
[Calendar::SUBJECT_ADD, [], [], [], '', '', null, []],
[Calendar::SUBJECT_ADD, [
'principaluri' => 'principal/user/admin',
'id' => 42,
'uri' => 'this-uri',
'{DAV:}displayname' => 'Name of calendar',
], [], [], '', 'admin', null, ['admin']],
[Calendar::SUBJECT_ADD, [
'principaluri' => 'principal/user/admin',
'id' => 42,
'uri' => 'this-uri',
'{DAV:}displayname' => 'Name of calendar',
], [], [], 'test2', 'test2', null, ['admin']],
// Update calendar
[Calendar::SUBJECT_UPDATE, [], [], [], '', '', null, []],
// No visible change - owner only
[Calendar::SUBJECT_UPDATE, [
'principaluri' => 'principal/user/admin',
'id' => 42,
'uri' => 'this-uri',
'{DAV:}displayname' => 'Name of calendar',
], ['shares'], [], '', 'admin', null, ['admin']],
// Visible change
[Calendar::SUBJECT_UPDATE, [
'principaluri' => 'principal/user/admin',
'id' => 42,
'uri' => 'this-uri',
'{DAV:}displayname' => 'Name of calendar',
], ['shares'], ['{DAV:}displayname' => 'Name'], '', 'admin', ['user1'], ['user1', 'admin']],
[Calendar::SUBJECT_UPDATE, [
'principaluri' => 'principal/user/admin',
'id' => 42,
'uri' => 'this-uri',
'{DAV:}displayname' => 'Name of calendar',
], ['shares'], ['{DAV:}displayname' => 'Name'], 'test2', 'test2', ['user1'], ['user1', 'admin']],
// Delete calendar
[Calendar::SUBJECT_DELETE, [], [], [], '', '', null, []],
[Calendar::SUBJECT_DELETE, [
'principaluri' => 'principal/user/admin',
'id' => 42,
'uri' => 'this-uri',
'{DAV:}displayname' => 'Name of calendar',
], ['shares'], [], '', 'admin', [], ['admin']],
[Calendar::SUBJECT_DELETE, [
'principaluri' => 'principal/user/admin',
'id' => 42,
'uri' => 'this-uri',
'{DAV:}displayname' => 'Name of calendar',
], ['shares'], [], '', 'admin', ['user1'], ['user1', 'admin']],
[Calendar::SUBJECT_DELETE, [
'principaluri' => 'principal/user/admin',
'id' => 42,
'uri' => 'this-uri',
'{DAV:}displayname' => 'Name of calendar',
], ['shares'], [], 'test2', 'test2', ['user1'], ['user1', 'admin']],
// Publish calendar
[Calendar::SUBJECT_PUBLISH, [], [], [], '', '', null, []],
[Calendar::SUBJECT_PUBLISH, [
'principaluri' => 'principal/user/admin',
'id' => 42,
'uri' => 'this-uri',
'{DAV:}displayname' => 'Name of calendar',
], ['shares'], [], '', 'admin', [], ['admin']],
// Unpublish calendar
[Calendar::SUBJECT_UNPUBLISH, [], [], [], '', '', null, []],
[Calendar::SUBJECT_UNPUBLISH, [
'principaluri' => 'principal/user/admin',
'id' => 42,
'uri' => 'this-uri',
'{DAV:}displayname' => 'Name of calendar',
], ['shares'], [], '', 'admin', [], ['admin']],
];
}
/**
* @dataProvider dataTriggerCalendarActivity
* @param string $action
* @param array $data
* @param array $shares
* @param array $changedProperties
* @param string $currentUser
* @param string $author
* @param string[]|null $shareUsers
* @param string[] $users
*/
public function testTriggerCalendarActivity($action, array $data, array $shares, array $changedProperties, $currentUser, $author, $shareUsers, array $users): void {
$backend = $this->getBackend(['getUsersForShares']);
if ($shareUsers === null) {
$backend->expects($this->never())
->method('getUsersForShares');
} else {
$backend->expects($this->once())
->method('getUsersForShares')
->with($shares)
->willReturn($shareUsers);
}
if ($author !== '') {
if ($currentUser !== '') {
$this->userSession->expects($this->once())
->method('getUser')
->willReturn($this->getUserMock($currentUser));
} else {
$this->userSession->expects($this->once())
->method('getUser')
->willReturn(null);
}
$event = $this->createMock(IEvent::class);
$this->activityManager->expects($this->once())
->method('generateEvent')
->willReturn($event);
$event->expects($this->once())
->method('setApp')
->with('dav')
->willReturnSelf();
$event->expects($this->once())
->method('setObject')
->with('calendar', $data['id'])
->willReturnSelf();
$event->expects($this->once())
->method('setType')
->with('calendar')
->willReturnSelf();
$event->expects($this->once())
->method('setAuthor')
->with($author)
->willReturnSelf();
$this->userManager->expects($action === Calendar::SUBJECT_DELETE ? $this->exactly(sizeof($users)) : $this->never())
->method('userExists')
->willReturn(true);
$event->expects($this->exactly(sizeof($users)))
->method('setAffectedUser')
->willReturnSelf();
$event->expects($this->exactly(sizeof($users)))
->method('setSubject')
->willReturnSelf();
$this->activityManager->expects($this->exactly(sizeof($users)))
->method('publish')
->with($event);
} else {
$this->activityManager->expects($this->never())
->method('generateEvent');
}
$this->invokePrivate($backend, 'triggerCalendarActivity', [$action, $data, $shares, $changedProperties]);
}
public function testUserDeletionDoesNotCreateActivity(): void {
$backend = $this->getBackend();
$this->userManager->expects($this->once())
->method('userExists')
->willReturn(false);
$this->activityManager->expects($this->never())
->method('publish');
$this->invokePrivate($backend, 'triggerCalendarActivity', [Calendar::SUBJECT_DELETE, [
'principaluri' => 'principal/user/admin',
'id' => 42,
'uri' => 'this-uri',
'{DAV:}displayname' => 'Name of calendar',
], [], []]);
}
public function dataGetUsersForShares() {
return [
[
[],
[],
[],
],
[
[
['{path_to_url}principal' => 'principal/users/user1'],
['{path_to_url}principal' => 'principal/users/user2'],
['{path_to_url}principal' => 'principal/users/user2'],
['{path_to_url}principal' => 'principal/users/user2'],
['{path_to_url}principal' => 'principal/users/user3'],
],
[],
['user1', 'user2', 'user3'],
],
[
[
['{path_to_url}principal' => 'principal/users/user1'],
['{path_to_url}principal' => 'principal/users/user2'],
['{path_to_url}principal' => 'principal/users/user2'],
['{path_to_url}principal' => 'principal/groups/group2'],
['{path_to_url}principal' => 'principal/groups/group3'],
],
['group2' => null, 'group3' => null],
['user1', 'user2'],
],
[
[
['{path_to_url}principal' => 'principal/users/user1'],
['{path_to_url}principal' => 'principal/users/user2'],
['{path_to_url}principal' => 'principal/users/user2'],
['{path_to_url}principal' => 'principal/groups/group2'],
['{path_to_url}principal' => 'principal/groups/group3'],
],
['group2' => ['user1', 'user2', 'user3'], 'group3' => ['user2', 'user3', 'user4']],
['user1', 'user2', 'user3', 'user4'],
],
];
}
/**
* @dataProvider dataGetUsersForShares
* @param array $shares
* @param array $groups
* @param array $expected
*/
public function testGetUsersForShares(array $shares, array $groups, array $expected): void {
$backend = $this->getBackend();
$getGroups = [];
foreach ($groups as $gid => $members) {
if ($members === null) {
$getGroups[] = [$gid, null];
continue;
}
$group = $this->createMock(IGroup::class);
$group->expects($this->once())
->method('getUsers')
->willReturn($this->getUsers($members));
$getGroups[] = [$gid, $group];
}
$this->groupManager->expects($this->exactly(sizeof($getGroups)))
->method('get')
->willReturnMap($getGroups);
$users = $this->invokePrivate($backend, 'getUsersForShares', [$shares]);
sort($users);
$this->assertEquals($expected, $users);
}
/**
* @param string[] $users
* @return IUser[]|MockObject[]
*/
protected function getUsers(array $users) {
$list = [];
foreach ($users as $user) {
$list[] = $this->getUserMock($user);
}
return $list;
}
/**
* @param string $uid
* @return IUser|MockObject
*/
protected function getUserMock($uid) {
$user = $this->createMock(IUser::class);
$user->expects($this->once())
->method('getUID')
->willReturn($uid);
return $user;
}
}
```
|
```c++
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE.chromium file.
#include "nativeui/win/drag_drop/drag_source.h"
namespace nu {
Microsoft::WRL::ComPtr<DragSource> DragSource::Create(Delegate* delegate) {
return Microsoft::WRL::Make<DragSource>(delegate);
}
DragSource::DragSource(Delegate* delegate) : delegate_(delegate) {}
HRESULT DragSource::QueryContinueDrag(BOOL escape_pressed, DWORD key_state) {
if (cancel_drag_)
return DRAGDROP_S_CANCEL;
if (escape_pressed) {
delegate_->OnDragSourceCancel();
return DRAGDROP_S_CANCEL;
}
if (!(key_state & MK_LBUTTON)) {
delegate_->OnDragSourceDrop();
return DRAGDROP_S_DROP;
}
delegate_->OnDragSourceMove();
return S_OK;
}
HRESULT DragSource::GiveFeedback(DWORD effect) {
return DRAGDROP_S_USEDEFAULTCURSORS;
}
} // namespace nu
```
|
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Element with Class Selector
</title>
<style>
/* all with class="highlight" */
.highlight {
background-color: green;
}
/* all p elements with class="highlight" */
p.highlight {
font-style: italic;
}
/* all elements with class 'highlight' as well as with class 'mainpoint'. */
.mainpoint.highlight {
color: red;
background-color: black;
}
</style>
</head>
<body>
<h1 class="highlight">Element with Class Selector</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus amet alias est? Nobis cum quasi at soluta odit, maiores quaerat dolores expedita ex nemo ea repellendus dolorem sed maxime quos?</p>
<p class="highlight">This is P with CLASS="highlight"</p>
<div class="mainpoint highlight">This is the main point of the entire article.
</div>
</body>
</html>
```
|
Orlando von Einsiedel (born in August 1980) is a British film director. He directs mostly documentary films that investigate global social issues, and has filmed in various places around the world, including Africa, Asia, America and the Arctic. von Einsiedel became known for his award winning film Virunga, produced with the cooperation of Virunga National Park director Prince de Merode.
Early life
Von Einsiedel is the grandson of Wittgo von Einsiedel (a second cousin to Heinrich Graf von Einsiedel, who descends from Otto von Bismarck) and Walburga von Obersdorff. His father, Andreas Jean-Paul von Einsiedel, was a photographer specialising in architecture and interiors. Orlando grew up in Forest Hill, London, UK with his mother (Harriet), a British music therapist. He attended Alleyn's, an independent school in East Dulwich, London, UK.
University
Von Einsiedel studied social anthropology at the University of Manchester and an MSc in anthropology and development at the London School of Economics.
Film career
Many of von Einsiedel's documentaries have been screened at some of the world's top film festivals. He directed Virunga (2014), which received an Academy Award nomination for Best Documentary Feature, and The White Helmets (2016), which won for Best Documentary (Short Subject). Both nominations were shared with producer Joanna Natasegara. His 2018 film, Evelyn, about his late brother, launched at the London Film Festival and won the BIFA for Best Documentary. In 2020, 'Learning to Skateboard in a Warzone (if you're a girl)', a film he was an executive producer on, won the Academy Award for Best Documentary (Short Subject).
In 2006, he co-founded Grain Media, a production company based in London.
Snowboard career
Von Einsiedel spent several years as a professional snowboarder, travelling the world promoting the brand names of various sponsors through media engagements, photo/video shoots, and competitions. During this period he was given the nickname 'Jill Dando', due to the rhyme connection between his name and hers.
Filmography
References
External links
1980 births
Living people
Counts in Germany
Directors of Best Documentary Short Subject Academy Award winners
English film directors
English screenwriters
English male screenwriters
Writers from London
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.