text
stringlengths 1
22.8M
|
|---|
```python
import socket
try:
from select import poll, POLLIN
except ImportError: # `poll` doesn't exist on OSX and other platforms
poll = False
try:
from select import select
except ImportError: # `select` doesn't exist on AppEngine.
select = False
def is_connection_dropped(conn): # Platform-specific
"""
Returns True if the connection is dropped and should be closed.
:param conn:
:class:`httplib.HTTPConnection` object.
Note: For platforms like AppEngine, this will always return ``False`` to
let the platform handle connection recycling transparently for us.
"""
sock = getattr(conn, 'sock', False)
if sock is False: # Platform-specific: AppEngine
return False
if sock is None: # Connection already closed (such as by httplib).
return True
if not poll:
if not select: # Platform-specific: AppEngine
return False
try:
return select([sock], [], [], 0.0)[0]
except socket.error:
return True
# This version is better on platforms that support it.
p = poll()
p.register(sock, POLLIN)
for (fno, ev) in p.poll(0.0):
if fno == sock.fileno():
# Either data is buffered (bad), or the connection is dropped.
return True
# This function is copied from socket.py in the Python 2.7 standard
# library test suite. Added to its signature is only `socket_options`.
def create_connection(address, timeout=socket._GLOBAL_DEFAULT_TIMEOUT,
source_address=None, socket_options=None):
"""Connect to *address* and return the socket object.
Convenience function. Connect to *address* (a 2-tuple ``(host,
port)``) and return the socket object. Passing the optional
*timeout* parameter will set the timeout on the socket instance
before attempting to connect. If no *timeout* is supplied, the
global default timeout setting returned by :func:`getdefaulttimeout`
is used. If *source_address* is set it must be a tuple of (host, port)
for the socket to bind as a source address before making the connection.
An host of '' or port 0 tells the OS to use the default.
"""
host, port = address
err = None
for res in socket.getaddrinfo(host, port, 0, socket.SOCK_STREAM):
af, socktype, proto, canonname, sa = res
sock = None
try:
sock = socket.socket(af, socktype, proto)
# If provided, set socket level options before connecting.
# This is the only addition urllib3 makes to this function.
_set_socket_options(sock, socket_options)
if timeout is not socket._GLOBAL_DEFAULT_TIMEOUT:
sock.settimeout(timeout)
if source_address:
sock.bind(source_address)
sock.connect(sa)
return sock
except socket.error as _:
err = _
if sock is not None:
sock.close()
if err is not None:
raise err
else:
raise socket.error("getaddrinfo returns an empty list")
def _set_socket_options(sock, options):
if options is None:
return
for opt in options:
sock.setsockopt(*opt)
```
|
```java
package com.ctrip.xpipe.redis.checker.healthcheck.actions.gtidgap;
import com.ctrip.xpipe.api.foundation.FoundationService;
import com.ctrip.xpipe.cluster.ClusterType;
import com.ctrip.xpipe.redis.checker.AbstractCheckerTest;
import com.ctrip.xpipe.redis.checker.healthcheck.*;
import com.ctrip.xpipe.simpleserver.Server;
import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;
import java.util.concurrent.atomic.AtomicInteger;
import java.util.concurrent.atomic.AtomicReference;
import java.util.function.Function;
public class GtidGapCheckActionTest extends AbstractCheckerTest {
private GtidGapCheckAction action;
private RedisHealthCheckInstance instance;
private Server redis;
private static final String mockResp = "# Gtid\r\n" +
"all:4459c71945e04720aecacad7bd5f9cfad54c83ef:1-211639488:211639508-211642565,7af2e3cfe7b665d223b20d9d017699a2dddeac89:1-5321103,5f1949a377b0c543a7edbb4f6ebf085fec45631b:14-7135151\r\n";
@Before
public void setup() throws Exception {
redis = startServer(randomPort(), new Function<String, String>() {
@Override
public String apply(String s) {
if (s.trim().toLowerCase().startsWith("info gtid")) {
return String.format("$%d\r\n%s\r\n", mockResp.length(), mockResp);
} else {
return "+OK\r\n";
}
}
});
instance = newRandomRedisHealthCheckInstance(FoundationService.DEFAULT.getDataCenter(), ClusterType.ONE_WAY, redis.getPort());
action = new GtidGapCheckAction(scheduled, instance, executors);
}
@After
public void clean() throws Exception {
if (null != redis) redis.stop();
}
@Test
public void testAction() throws Exception {
AtomicInteger callCnt = new AtomicInteger(0);
AtomicReference<ActionContext> contextRef = new AtomicReference();
action.addListener(new HealthCheckActionListener() {
@Override
public void onAction(ActionContext actionContext) {
callCnt.incrementAndGet();
contextRef.set(actionContext);
}
@Override
public boolean worksfor(ActionContext t) {
return true;
}
@Override
public void stopWatch(HealthCheckAction action) {
}
});
AbstractHealthCheckAction.ScheduledHealthCheckTask task = action.new ScheduledHealthCheckTask();
task.run();
waitConditionUntilTimeOut(() -> callCnt.get() == 1, 1000);
GtidGapCheckActionContext context = (GtidGapCheckActionContext) contextRef.get();
Assert.assertEquals(1, callCnt.get());
Assert.assertEquals(1, context.getResult().intValue());
}
}
```
|
```xml
import * as React from "react";
import styled from "styled-components";
type Props = {
status: string;
color: string;
size?: number;
className?: string;
};
/**
* Issue status icon based on GitHub pull requests, but can be used for any git-style integration.
*/
export function PullRequestIcon({ size, ...rest }: Props) {
return (
<Icon size={size}>
<BaseIcon {...rest} />
</Icon>
);
}
const Icon = styled.span<{ size?: number }>`
display: inline-flex;
flex-shrink: 0;
width: ${(props) => props.size ?? 24}px;
height: ${(props) => props.size ?? 24}px;
align-items: center;
justify-content: center;
`;
function BaseIcon(props: Props) {
switch (props.status) {
case "open":
return (
<svg
viewBox="0 0 16 16"
width="16"
height="16"
fill={props.color}
className={props.className}
>
<path d="M1.5 3.25a2.25 2.25 0 1 1 3 2.122v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.25 2.25 0 0 1 1.5 3.25Zm5.677-.177L9.573.677A.25.25 0 0 1 10 .854V2.5h1A2.5 2.5 0 0 1 13.5 5v5.628a2.251 2.251 0 1 1-1.5 0V5a1 1 0 0 0-1-1h-1v1.646a.25.25 0 0 1-.427.177L7.177 3.427a.25.25 0 0 1 0-.354ZM3.75 2.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm0 9.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm8.25.75a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0Z" />
</svg>
);
case "merged":
return (
<svg
viewBox="0 0 16 16"
width="16"
height="16"
fill={props.color}
className={props.className}
>
<path d="M5.45 5.154A4.25 4.25 0 0 0 9.25 7.5h1.378a2.251 2.251 0 1 1 0 1.5H9.25A5.734 5.734 0 0 1 5 7.123v3.505a2.25 2.25 0 1 1-1.5 0V5.372a2.25 2.25 0 1 1 1.95-.218ZM4.25 13.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5Zm8.5-4.5a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5ZM5 3.25a.75.75 0 1 0 0 .005V3.25Z" />
</svg>
);
case "closed":
return (
<svg
viewBox="0 0 16 16"
width="16"
height="16"
fill={props.color}
className={props.className}
>
<path d="M3.25 1A2.25 2.25 0 0 1 4 5.372v5.256a2.251 2.251 0 1 1-1.5 0V5.372A2.251 2.251 0 0 1 3.25 1Zm9.5 5.5a.75.75 0 0 1 .75.75v3.378a2.251 2.251 0 1 1-1.5 0V7.25a.75.75 0 0 1 .75-.75Zm-2.03-5.273a.75.75 0 0 1 1.06 0l.97.97.97-.97a.748.748 0 0 1 1.265.332.75.75 0 0 1-.205.729l-.97.97.97.97a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018l-.97-.97-.97.97a.749.749 0 0 1-1.275-.326.749.749 0 0 1 .215-.734l.97-.97-.97-.97a.75.75 0 0 1 0-1.06ZM2.5 3.25a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0ZM3.25 12a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm9.5 0a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Z" />
</svg>
);
default:
return null;
}
}
```
|
Colonel Efisio Kon Uguak is a South Sudanese politician and military figure. He has served as Deputy Governor and Minister of Administration of Western Bahr el Ghazal since 18 May 2010.
References
21st-century South Sudanese politicians
Living people
South Sudanese military personnel
People from Western Bahr el Ghazal
Year of birth missing (living people)
Place of birth missing (living people)
|
The European Chamber Music Academy (ECMA) was founded in 2004 on the initiative of Hatto Beyerle. Four conservatories and two music festivals, led by the Hochschule fur Musik und Theater Hannover, came together as founding members:
the Fondazione Scuola di Musica di Fiesole (Italy),
the Hochschule für Musik und Theater Hannover (Germany),
the Universität für Musik und darstellende Kunst Vienna (Austria),
the Hochschule für Musik und Theater Zurich (Switzerland),
the Pablo Casals Festival in Prades (France)
the Kuhmo Chamber Music Festival (Finland).
The ECMA students are young, professionally oriented string quartets and
piano trios aiming to embark on a career as chamber musicians. The ECMA
exists specifically to promote these careers through theoretical and
practical tuition, as well as through concrete job preparation (marketing,
coaching etc.).
Tutors of note
Shmuel Ashkenasi
Norbert Brainin
Anner Bylsma
Heinrich Schiff
External links
The official site of the ECMA
Music schools in Europe
|
```c++
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*-
* vim: set ts=8 sts=4 et sw=4 tw=99:
* This Source Code Form is subject to the terms of the Mozilla Public
* file, You can obtain one at path_to_url */
#include "js/UbiNode.h"
#include "mozilla/Assertions.h"
#include "mozilla/Attributes.h"
#include "mozilla/Scoped.h"
#include "mozilla/UniquePtr.h"
#include "jscntxt.h"
#include "jsobj.h"
#include "jsscript.h"
#include "jsstr.h"
#include "jit/IonCode.h"
#include "js/Debug.h"
#include "js/TracingAPI.h"
#include "js/TypeDecls.h"
#include "js/Utility.h"
#include "js/Vector.h"
#include "vm/GlobalObject.h"
#include "vm/ScopeObject.h"
#include "vm/Shape.h"
#include "vm/String.h"
#include "vm/Symbol.h"
#include "jsobjinlines.h"
#include "vm/Debugger-inl.h"
using mozilla::Some;
using JS::HandleValue;
using JS::Value;
using JS::ZoneSet;
using JS::ubi::Concrete;
using JS::ubi::Edge;
using JS::ubi::EdgeRange;
using JS::ubi::Node;
using JS::ubi::SimpleEdge;
using JS::ubi::SimpleEdgeVector;
using JS::ubi::TracerConcrete;
using JS::ubi::TracerConcreteWithCompartment;
// All operations on null ubi::Nodes crash.
const char16_t* Concrete<void>::typeName() const { MOZ_CRASH("null ubi::Node"); }
EdgeRange* Concrete<void>::edges(JSContext*, bool) const { MOZ_CRASH("null ubi::Node"); }
JS::Zone* Concrete<void>::zone() const { MOZ_CRASH("null ubi::Node"); }
JSCompartment* Concrete<void>::compartment() const { MOZ_CRASH("null ubi::Node"); }
size_t
Concrete<void>::size(mozilla::MallocSizeOf mallocSizeof) const
{
MOZ_CRASH("null ubi::Node");
}
Node::Node(JSGCTraceKind kind, void* ptr)
{
switch (kind) {
case JSTRACE_OBJECT: construct(static_cast<JSObject*>(ptr)); break;
case JSTRACE_SCRIPT: construct(static_cast<JSScript*>(ptr)); break;
case JSTRACE_STRING: construct(static_cast<JSString*>(ptr)); break;
case JSTRACE_SYMBOL: construct(static_cast<JS::Symbol*>(ptr)); break;
case JSTRACE_BASE_SHAPE: construct(static_cast<js::BaseShape*>(ptr)); break;
case JSTRACE_JITCODE: construct(static_cast<js::jit::JitCode*>(ptr)); break;
case JSTRACE_LAZY_SCRIPT: construct(static_cast<js::LazyScript*>(ptr)); break;
case JSTRACE_SHAPE: construct(static_cast<js::Shape*>(ptr)); break;
case JSTRACE_OBJECT_GROUP: construct(static_cast<js::ObjectGroup*>(ptr)); break;
default:
MOZ_CRASH("bad JSGCTraceKind passed to JS::ubi::Node::Node");
}
}
Node::Node(HandleValue value)
{
if (value.isObject())
construct(&value.toObject());
else if (value.isString())
construct(value.toString());
else if (value.isSymbol())
construct(value.toSymbol());
else
construct<void>(nullptr);
}
Value
Node::exposeToJS() const
{
Value v;
if (is<JSObject>()) {
JSObject& obj = *as<JSObject>();
if (obj.is<js::ScopeObject>()) {
v.setUndefined();
} else if (obj.is<JSFunction>() && js::IsInternalFunctionObject(&obj)) {
v.setUndefined();
} else {
v.setObject(obj);
}
} else if (is<JSString>()) {
v.setString(as<JSString>());
} else if (is<JS::Symbol>()) {
v.setSymbol(as<JS::Symbol>());
} else {
v.setUndefined();
}
return v;
}
// A JSTracer subclass that adds a SimpleEdge to a Vector for each edge on
// which it is invoked.
class SimpleEdgeVectorTracer : public JSTracer {
// The vector to which we add SimpleEdges.
SimpleEdgeVector* vec;
// True if we should populate the edge's names.
bool wantNames;
static void staticCallback(JSTracer* trc, void** thingp, JSGCTraceKind kind) {
static_cast<SimpleEdgeVectorTracer*>(trc)->callback(thingp, kind);
}
void callback(void** thingp, JSGCTraceKind kind) {
if (!okay)
return;
char16_t* name16 = nullptr;
if (wantNames) {
// Ask the tracer to compute an edge name for us.
char buffer[1024];
const char* name = getTracingEdgeName(buffer, sizeof(buffer));
// Convert the name to char16_t characters.
name16 = js_pod_malloc<char16_t>(strlen(name) + 1);
if (!name16) {
okay = false;
return;
}
size_t i;
for (i = 0; name[i]; i++)
name16[i] = name[i];
name16[i] = '\0';
}
// The simplest code is correct! The temporary SimpleEdge takes
// ownership of name; if the append succeeds, the vector element
// then takes ownership; if the append fails, then the temporary
// retains it, and its destructor will free it.
if (!vec->append(mozilla::Move(SimpleEdge(name16, Node(kind, *thingp))))) {
okay = false;
return;
}
}
public:
// True if no errors (OOM, say) have yet occurred.
bool okay;
SimpleEdgeVectorTracer(JSContext* cx, SimpleEdgeVector* vec, bool wantNames)
: JSTracer(JS_GetRuntime(cx), staticCallback),
vec(vec),
wantNames(wantNames),
okay(true)
{ }
};
// An EdgeRange concrete class that simply holds a vector of SimpleEdges,
// populated by the init method.
class SimpleEdgeRange : public EdgeRange {
SimpleEdgeVector edges;
size_t i;
void settle() {
front_ = i < edges.length() ? &edges[i] : nullptr;
}
public:
explicit SimpleEdgeRange(JSContext* cx) : edges(cx), i(0) { }
bool init(JSContext* cx, void* thing, JSGCTraceKind kind, bool wantNames = true) {
SimpleEdgeVectorTracer tracer(cx, &edges, wantNames);
JS_TraceChildren(&tracer, thing, kind);
settle();
return tracer.okay;
}
void popFront() override { i++; settle(); }
};
template<typename Referent>
JS::Zone*
TracerConcrete<Referent>::zone() const
{
return get().zone();
}
template<typename Referent>
EdgeRange*
TracerConcrete<Referent>::edges(JSContext* cx, bool wantNames) const {
js::ScopedJSDeletePtr<SimpleEdgeRange> r(js_new<SimpleEdgeRange>(cx));
if (!r)
return nullptr;
if (!r->init(cx, ptr, ::js::gc::MapTypeToTraceKind<Referent>::kind, wantNames))
return nullptr;
return r.forget();
}
template<typename Referent>
JSCompartment*
TracerConcreteWithCompartment<Referent>::compartment() const
{
return TracerBase::get().compartment();
}
template<> const char16_t TracerConcrete<JSObject>::concreteTypeName[] =
MOZ_UTF16("JSObject");
template<> const char16_t TracerConcrete<JSString>::concreteTypeName[] =
MOZ_UTF16("JSString");
template<> const char16_t TracerConcrete<JS::Symbol>::concreteTypeName[] =
MOZ_UTF16("JS::Symbol");
template<> const char16_t TracerConcrete<JSScript>::concreteTypeName[] =
MOZ_UTF16("JSScript");
template<> const char16_t TracerConcrete<js::LazyScript>::concreteTypeName[] =
MOZ_UTF16("js::LazyScript");
template<> const char16_t TracerConcrete<js::jit::JitCode>::concreteTypeName[] =
MOZ_UTF16("js::jit::JitCode");
template<> const char16_t TracerConcrete<js::Shape>::concreteTypeName[] =
MOZ_UTF16("js::Shape");
template<> const char16_t TracerConcrete<js::BaseShape>::concreteTypeName[] =
MOZ_UTF16("js::BaseShape");
template<> const char16_t TracerConcrete<js::ObjectGroup>::concreteTypeName[] =
MOZ_UTF16("js::ObjectGroup");
// Instantiate all the TracerConcrete and templates here, where
// we have the member functions' definitions in scope.
namespace JS {
namespace ubi {
template class TracerConcreteWithCompartment<JSObject>;
template class TracerConcrete<JSString>;
template class TracerConcrete<JS::Symbol>;
template class TracerConcreteWithCompartment<JSScript>;
template class TracerConcrete<js::LazyScript>;
template class TracerConcrete<js::jit::JitCode>;
template class TracerConcreteWithCompartment<js::Shape>;
template class TracerConcreteWithCompartment<js::BaseShape>;
template class TracerConcrete<js::ObjectGroup>;
}
}
namespace JS {
namespace ubi {
RootList::RootList(JSContext* cx, Maybe<AutoCheckCannotGC>& noGC, bool wantNames /* = false */)
: noGC(noGC),
cx(cx),
edges(cx),
wantNames(wantNames)
{ }
bool
RootList::init()
{
SimpleEdgeVectorTracer tracer(cx, &edges, wantNames);
JS_TraceRuntime(&tracer);
if (!tracer.okay)
return false;
noGC.emplace(cx->runtime());
return true;
}
bool
RootList::init(ZoneSet& debuggees)
{
SimpleEdgeVector allRootEdges(cx);
SimpleEdgeVectorTracer tracer(cx, &allRootEdges, wantNames);
JS_TraceRuntime(&tracer);
if (!tracer.okay)
return false;
JS_TraceIncomingCCWs(&tracer, debuggees);
if (!tracer.okay)
return false;
for (SimpleEdgeVector::Range r = allRootEdges.all(); !r.empty(); r.popFront()) {
SimpleEdge& edge = r.front();
Zone* zone = edge.referent.zone();
if (zone && !debuggees.has(zone))
continue;
if (!edges.append(mozilla::Move(edge)))
return false;
}
noGC.emplace(cx->runtime());
return true;
}
bool
RootList::init(HandleObject debuggees)
{
MOZ_ASSERT(debuggees && JS::dbg::IsDebugger(ObjectValue(*debuggees)));
js::Debugger* dbg = js::Debugger::fromJSObject(debuggees);
ZoneSet debuggeeZones;
if (!debuggeeZones.init())
return false;
for (js::GlobalObjectSet::Range r = dbg->allDebuggees(); !r.empty(); r.popFront()) {
if (!debuggeeZones.put(r.front()->zone()))
return false;
}
if (!init(debuggeeZones))
return false;
// Ensure that each of our debuggee globals are in the root list.
for (js::GlobalObjectSet::Range r = dbg->allDebuggees(); !r.empty(); r.popFront()) {
if (!addRoot(JS::ubi::Node(static_cast<JSObject*>(r.front())),
MOZ_UTF16("debuggee global")))
{
return false;
}
}
return true;
}
bool
RootList::addRoot(Node node, const char16_t* edgeName)
{
MOZ_ASSERT(noGC.isSome());
MOZ_ASSERT_IF(wantNames, edgeName);
mozilla::UniquePtr<char16_t[], JS::FreePolicy> name;
if (edgeName) {
name = DuplicateString(cx, edgeName);
if (!name)
return false;
}
return edges.append(mozilla::Move(SimpleEdge(name.release(), node)));
}
// An EdgeRange concrete class that holds a pre-existing vector of SimpleEdges.
class PreComputedEdgeRange : public EdgeRange {
SimpleEdgeVector& edges;
size_t i;
void settle() {
front_ = i < edges.length() ? &edges[i] : nullptr;
}
public:
explicit PreComputedEdgeRange(JSContext* cx, SimpleEdgeVector& edges)
: edges(edges),
i(0)
{
settle();
}
void popFront() override { i++; settle(); }
};
const char16_t Concrete<RootList>::concreteTypeName[] = MOZ_UTF16("RootList");
EdgeRange*
Concrete<RootList>::edges(JSContext* cx, bool wantNames) const {
MOZ_ASSERT_IF(wantNames, get().wantNames);
return js_new<PreComputedEdgeRange>(cx, get().edges);
}
} // namespace ubi
} // namespace JS
```
|
```java
package com.fishercoder.solutions.secondthousand;
public class _1375 {
public static class Solution1 {
public int numTimesAllBlue(int[] light) {
int blues = 0;
int[] status = new int[light.length];//0 means off, 1 means on
for (int i = 0; i < light.length; i++) {
status[light[i] - 1] = 1;
if (checkAllBlues(status, i)) {
blues++;
}
}
return blues;
}
private boolean checkAllBlues(int[] status, int endIndex) {
for (int i = 0; i <= endIndex; i++) {
if (status[i] != 1) {
return false;
}
}
return true;
}
}
}
```
|
```smalltalk
Class {
#name : 'ClyAbstractMethodGroupProviderTest',
#superclass : 'ClyMethodGroupProviderTest',
#category : 'Calypso-SystemPlugins-InheritanceAnalysis-Queries-Tests',
#package : 'Calypso-SystemPlugins-InheritanceAnalysis-Queries-Tests'
}
{ #category : 'running' }
ClyAbstractMethodGroupProviderTest >> classSampleWhichHasGroup [
^ClyAbstractClassMock
]
{ #category : 'running' }
ClyAbstractMethodGroupProviderTest >> groupProviderClass [
^ClyAbstractMethodGroupProvider
]
```
|
NFL Head Coach 09 is the follow-up to NFL Head Coach for the Xbox 360 and PlayStation 3. The game was released on August 12, 2008. The game is available in the 20th Anniversary Collector's Edition of Madden NFL 09, and was released as a standalone game on September 2, 2008. A large group of fans were also petitioning for a PAL (European) version of the game because the original game was released only in America.
Tony Dungy from Indianapolis Colts replaces Bill Cowher as the cover head coach while Adam Schefter and Todd McShay provide commentary on upcoming draft picks and Adam Schefter provides the only commentary after and before the off-season and during the season including pre-season. Todd McShay only commentates during the Mock Draft and the NFL Draft.
Bundle with Madden NFL 09
Electronic Arts announced in a press release that NFL Head Coach 09 would be available in the Madden NFL 09 20th Anniversary Collector's Edition, claiming, "If we shipped Head Coach alone, it would be a full-priced SKU. But if we pack it in, we can reduce the price and make it a bonus to our fans... On the first Head Coach, we think it was a great concept, and as far as we've taken it, to be able to pack that in and pass on those savings to our consumers, if you can have one awesome pack like this -- we're really fired up." Two weeks later, EA announced a standalone version would be available three weeks after Madden's release.
New features
Unlike the previous title, the player can upgrade the staff by using skill points, from which they can spend on either Skills or Special Skills. The NFL Draft was redone. Instead of the usual 7 draft picks, the player can only pick if they have a draft pick. The player can make their own plays in the play creator and also watch live events from around the league. Players also have to deal with Game Changers: they differentiate from Study Session to Potential Changers; some Game Changers are good and some are bad.
Features changed
Trading System is a bidding system.
Contracts are preset packages.
Overall based on skills and special skills.
No Hall of Legends and no Coach Corridor.
Career Mode
The player creates a coach of their own or uses a preset coach from the 2008 head coach roster in the game. Bill Belichick is the only of 32 NFL coaches to not be included in the game. During the career, the player will deal with negotiations, sign players, upgrade staff with skill points, trade players, change teams, change philosophy, cut players, win and lose games, and also dealing with workouts during the off season with college players. The length of the career varies depending on which of the 4 draft paths the player gets, but ranges from 13 to 15 years.
Teams and stadiums
The teams consist of the usual 32 NFL teams. The Stadiums include all 32 NFL teams plus the Aloha Stadium which hosts the Pro Bowl games.
See alsoFront Office FootballMadden NFL 09NFL Head Coach''
Notes
External links
Official site
2008 video games
Madden NFL
Xbox 360 games
PlayStation 3 games
Sports management video games
EA Sports games
Video games developed in the United States
Single-player video games
|
```shell
Specify a range of commits using double dot syntax
Useful stashing options
Show history of a function
Debug using binary search
Sharing data by bundling
```
|
Denis Colin is a French bass clarinettist and composer, born in Vanves, 24 July 1956.
After studying clarinet at the conservatoire in Versailles, he turned to jazz, making appearances with Steve Lacy, François Cotinaud and Alan Silva.
He was in charge of the IACP (Institute for Artistic and Cultural Perception) from 1979 to 1982 and taught jazz at the Montreuil sous bois conservatoire.
Among the musicians he has played with are: Celestrial Communication Orchestra, Texture (with saxophonist François Cotinaud), Bekummernis (led by Luc Le Masne), François Tusques and Archie Shepp.
He has written music for the theatre (for the Cie Tuchenn) and cinema (for Florence Miailhe). In 1991, he formed a trio with Didier Petit (cello) and Pablo Cueco (zarb) to explore world music and free jazz. The trio expanded in 1995, adding Bruno Girard or Régis Huby (violin) and Camel Zekri (guitar) to form the group Les Arpenteurs.
In 2000, Denis Colin was commissioned by Radio France to create "Dans les cordes", a piece for ten musicians. In 2001, the trio reconstituted itself again around Afro-American music, with musicians from the Minneapolis scene, for the album Something in Common. This adventure continued in 2005 with singer Gwen Matthews, who was featured on a second American album.
Colin emerged again in 2008 with a younger, rotating ensemble, La Société des Arpenteurs.
The Chicago Reader has described him as a 'major artist'.
Discography
Portrait for a Small Woman, Celestrial Communication Orchestra, with Alan Silva 1978, Desert Mirage, 1982
Texture sextet 1981, Polygames, with Itaru Oki, François Cotinaud, Bruno Girard, Pierre Jacquet, Michel Coffi 1983
Clarinette basse Seul, 1990
Trois, 1992
In situ à Banlieues Bleues, 1994
Fluide, 1997
European Echoes with Barre Phillips, Bobo Stenson, Kent Carter, Theo Jörgensmann, Wolter Wierbos, Benoit Delbecq etc., 1999
Étude de terrain, 1999
Something in Common, 2001
Song for Swans, 2005
Subject to Change, 2009
Subject to Live, 2011
References
External links
Website
Interview in English
Interview in French
Chicago Reader writeup
Album review
Album review
Album review
1956 births
Living people
French jazz clarinetists
21st-century clarinetists
Klarinettenquartett Cl-4 members
|
```smalltalk
/* ====================================================================
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.
==================================================================== */
namespace NPOI.SS.Formula.Functions
{
using System;
using NPOI.SS.Formula.Eval;
/**
* Calculates the internal rate of return.
*
* Syntax is IRR(values) or IRR(values,guess)
*
* @author Marcel May
* @author Yegor Kozlov
*
* @see <a href="path_to_url#Numerical_solution">Wikipedia on IRR</a>
* @see <a href="path_to_url">Excel IRR</a>
*/
public class Irr : Function
{
public ValueEval Evaluate(ValueEval[] args, int srcRowIndex, int srcColumnIndex)
{
if (args.Length == 0 || args.Length > 2)
{
// Wrong number of arguments
return ErrorEval.VALUE_INVALID;
}
try
{
double[] values = AggregateFunction.ValueCollector.CollectValues(args[0]);
double guess;
if (args.Length == 2)
{
guess = NumericFunction.SingleOperandEvaluate(args[1], srcRowIndex, srcColumnIndex);
}
else
{
guess = 0.1d;
}
double result = irr(values, guess);
NumericFunction.CheckValue(result);
return new NumberEval(result);
}
catch (EvaluationException e)
{
return e.GetErrorEval();
}
}
/**
* Computes the internal rate of return using an estimated irr of 10 percent.
*
* @param income the income values.
* @return the irr.
*/
public static double irr(double[] income)
{
return irr(income, 0.1d);
}
/**
* Calculates IRR using the Newton-Raphson Method.
* <p>
* Starting with the guess, the method cycles through the calculation until the result
* is accurate within 0.00001 percent. If IRR can't find a result that works
* after 20 tries, the Double.NaN is returned.
* </p>
* <p>
* The implementation is inspired by the NewtonSolver from the Apache Commons-Math library,
* @see <a href="path_to_url">path_to_url
* </p>
*
* @param values the income values.
* @param guess the initial guess of irr.
* @return the irr value. The method returns <code>Double.NaN</code>
* if the maximum iteration count is exceeded
*
* @see <a href="path_to_url#Numerical_solution">
* path_to_url#Numerical_solution</a>
* @see <a href="path_to_url">
* path_to_url
*/
public static double irr(double[] values, double guess)
{
int maxIterationCount = 20;
double absoluteAccuracy = 1E-7;
double x0 = guess;
double x1;
int i = 0;
while (i < maxIterationCount)
{
// the value of the function (NPV) and its derivate can be calculated in the same loop
double fValue = 0;
double fDerivative = 0;
for (int k = 0; k < values.Length; k++)
{
fValue += values[k] / Math.Pow(1.0 + x0, k);
fDerivative += -k * values[k] / Math.Pow(1.0 + x0, k + 1);
}
// the essense of the Newton-Raphson Method
x1 = x0 - fValue / fDerivative;
if (Math.Abs(x1 - x0) <= absoluteAccuracy)
{
return x1;
}
x0 = x1;
++i;
}
// maximum number of iterations is exceeded
return Double.NaN;
}
}
}
```
|
A fawn is a young deer.
Fawn may also refer to:
Places
Canada
Fawn Island
Fawn Lake, Alberta, a locality
Fawn River (Ontario), Kenora District, Northwestern Ontario
United States
Fawn, Missouri
Fawn Grove, Pennsylvania
Fawn Lake (New York)
Fawn Lake Township, Minnesota
Fawn Pond (Massachusetts)
Fawn River (Michigan)
Fawn River Township, Michigan
Fawn Township, Allegheny County, Pennsylvania
Fawn Township, York County, Pennsylvania
Rising Fawn, Georgia
Other uses
Fawn River State Fish Hatchery, a historic hatchery near Orland, Indiana
Fawn (colour)
Fairey Fawn, a British single-engine light bomber of the 1920s
Fleet Fawn, a single-engine, two-seat training aircraft produced in the 1930s
HMS Fawn, the name of several ships in the British Navy
The Fawn (album), by The Sea and Cake
Parasitaster, or The Fawn, a 1604 play by John Marston
USS Fawn (1863), a steamer
Fawn, a Disney Fairies franchise character
People with the given name
Fawn M. Brodie (1915–1981), American biographer and historian.
Fawn Hall (born 1959), notable figure in the Iran-Contra affair.
Fawn Johnson, American journalist.
Fawn Sharp (born 1970), Native American politician, attorney, and policy advocate.
Fawn Silver, American actress active between 1965–1972.
Fawn Weaver (born 1976), American entrepreneur, historian, and author.
Fawn Yacker, American filmmaker, producer and cinematographer.
People with the surname
James Fawn (1847–1923), British music hall comic entertainer.
See also
Faun (disambiguation)
Fon (disambiguation)
Phon, a unit of loudness
|
People's Liberation Party may refer to:
People's Liberation Party (Turkey), a Marxist–Leninist communist party in Turkey
People's Liberation Party (East Timor), a political party in Timor-Leste
People's Liberation Party-Front of Turkey, a former Marxist–Leninist guerrilla group in Turkey
People's Liberation Party-Front of Turkey/Revolutionary Coordination Union, a former Marxist–Leninist organization in Turkey
|
William S. Hayward (February 26, 1835 – November 5, 1900) was an American banker, baker, and politician who served as mayor of Providence, Rhode Island, from 1881 until 1884.
Early life
Hayward was "born and reared a poor boy" in Foster, Rhode Island. As a young man, he attended public schools and worked on a farm.
Baker
Hayward moved to Providence 1851. He was hired as an employee of bakery Rice & Hayward, which was owned by Mr. Fitz James Rice and Mr. George W. Hayward. He left the firm for a year, then returned as a salesman until 1858; then moved up to the delivery department, supplying out-of-town customers. In 1860, Hayward became a member of the firm, and the name was changed to Rice, Hayward & Company.
In 1861, at the start of the Civil War, Hayward moved to Washington, D.C., and opened another bakery branch called "Rhode Island Bakery". It supplied biscuits to soldiers stationed in Washington, D.C. When soldiers moved out of District of Columbia into Virginia early in the war, Howard sold the District of Columbia location at a loss and returned to Providence.
By 1863 Hayward bought out the business and became full owner of Rice Hayward, & Co. He later partnered again with Fitz James Rice. The company was successful. They supplied biscuits to the Union Army stationed in Rhode Island during the Civil War and grew into one of the largest bakeries in New England.
Politician
1872 Elected to the Common Council from the Sixth Ward, and was re-elected until in 1876 he was elected to the Board of Aldermen. He served as President of the Board of Aldermen from 1878 to 1880.
He was elected mayor of Providence in 1880 and held the post for three years, but declined to run for re-election in 1884. During his years in office, the city's debt was reduced by nearly $600,000.
Hayward was also a member of the board of State Charities and Corrections; commissioner of the City Sinking Fund; and a commissioner of Dexter Asylum.
Banker
Hayward was co-founder of Citizens Savings Bank in 1871, along with his bakery partners Fitz James Rice and George Hayward. He was president of the Union Trust Bank of Providence, and a director of the Eagle National and Citizens Savings Banks.
Personal life
Hayward married Lucy Maria Rice in 1859. She was the daughter of Fitz James Rice, Hayward's business partner in the bakery and fellow founder of Citizens Savings Bank.
Hayward was described as "a man of fine physique, and of commanding presence, standing over six feet, two inches in height, and weighing two hundred and twenty pounds".
Hayward was a member of What Cheer Lodge of Masons, and a member of the Union Congregational Church on Broad Street.
He died of Bright's disease after an illness of eight days and is buried in Swan Point Cemetery.
Memorials
Sixth Avenue Park, in Providence, was renamed Hayward Park in his honor in 1889. The park was demolished for construction of the interchange for Interstate 95 and Interstate 195.
References
External links
Providence Mayors
Biography
Mayors of Providence, Rhode Island
1900 deaths
1835 births
Burials at Swan Point Cemetery
Rhode Island Republicans
People from Foster, Rhode Island
American Freemasons
American bakers
19th-century American politicians
|
```scss
@import '../variables';
@import '../mixins';
@import 'components/buttons';
@import 'components/forms';
@import 'config/import';
#onboarding-container {
min-height: calc(100vh - 350px);
}
.pages-onboarding {
min-height: initial;
}
// modal box card
.onboarding-main {
border: none;
@media screen and (min-width: 600px) {
border-width: 2px;
}
a {
color: var(--link-branded-color);
}
}
// modal inner content spacing
.onboarding-content {
box-sizing: border-box;
padding: var(--su-4);
width: 100%;
min-height: 100%;
overflow: auto;
&__tags {
min-height: auto;
margin-bottom: 100px;
}
@media screen and (min-width: $breakpoint-s) {
justify-content: center;
padding: var(--su-8);
}
}
// terms and conditions view
.terms-and-conditions-wrapper {
$content-height: 90%;
height: auto;
button {
@extend .crayons-btn;
}
.terms-and-conditions-content {
height: $content-height;
overflow-y: scroll;
margin-top: 10px;
}
}
// window background
.onboarding-body {
-moz-background-size: cover;
-o-background-size: cover;
-webkit-background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
display: flex;
height: 100vh;
justify-content: start;
line-height: 200%;
margin: 0;
overflow-y: scroll;
position: fixed;
top: 0;
width: 100%;
@media screen and (min-width: 600px) {
justify-content: center;
align-items: center;
overflow: hidden;
}
&:before {
display: block;
content: '';
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
background: rgba(0, 0, 0, 0.65);
height: 100%;
width: 100%;
}
}
.onboarding-content-separator {
position: absolute;
bottom: 160px;
left: var(--su-4);
width: calc(100% - 2 * var(--su-4));
height: 96px;
background-image: linear-gradient(
rgba(var(--tag-onboarding-bg), 0) 25%,
rgba(var(--tag-onboarding-bg), 1) 75%
);
pointer-events: none;
@media screen and (min-width: $breakpoint-s) {
left: var(--su-8);
width: calc(100% - 2 * var(--su-8));
bottom: 168px;
}
}
.onboarding-email-digest {
position: absolute;
bottom: 112px;
left: var(--su-4);
width: calc(100% - 2 * var(--su-4));
z-index: 1;
align-items: center;
border-radius: 0px 6px 6px 0px;
border: 1px solid rgba(var(--tag-onboarding-border), 1);
background-color: var(--card-secondary-bg);
@media screen and (min-width: $breakpoint-s) {
left: var(--su-8);
width: calc(100% - 2 * var(--su-8));
}
&__rectangle {
position: absolute;
width: 4px;
top: 0;
bottom: 0;
background: rgba(var(--accent-brand-rgb), 1);
}
}
// modal navigation
.onboarding-navigation {
align-self: flex-end;
flex-shrink: 0;
width: 100%;
border-top: 1px solid var(--divider);
.navigation-content {
display: flex;
justify-content: space-between;
padding: var(--su-4);
button {
@extend .crayons-btn;
}
.back-button-container,
.next-button {
// Explicitly set width to avoid next-button re-sizing with text,
// and to ensure that back-button-container takes up the same amount of space.
width: var(--su-10);
}
.back-button {
@extend .crayons-btn;
@extend .crayons-btn--ghost;
@extend .crayons-btn--icon;
$button-size: 40px; // Explicitly set size for accessibility.
border-radius: 100%;
min-width: $button-size;
height: $button-size;
align-items: center;
display: flex;
&:hover,
&:active {
background: var(--base-10);
}
}
.hide-button {
visibility: hidden;
}
.skip-for-now {
@extend .crayons-btn;
@extend .crayons-btn--secondary;
}
.stepper {
display: flex;
align-items: center;
justify-content: center;
}
.dot {
$dot-size: 10px;
background-color: var(--base-30);
border-radius: 50%;
width: $dot-size;
height: $dot-size;
margin: var(--su-1);
}
.active {
background-color: var(--accent-brand);
}
}
}
// modal header
.onboarding-content-header {
margin-bottom: var(--su-4);
@media screen and (min-width: $breakpoint-s) {
margin-bottom: var(--su-6);
}
.title,
.subtitle {
margin: 0;
}
.title {
font-weight: var(--fw-heavy);
margin-bottom: var(--su-1);
text-align: left;
}
.subtitle {
color: var(--card-color-secondary);
font-size: var(--fs-xl);
font-weight: var(--fw-medium);
letter-spacing: normal;
line-height: var(--lh-base);
}
}
// override crayons notice
.onboarding-body {
.crayons-notice {
display: block;
margin-bottom: var(--su-2);
}
}
// modal overflow scrolling
.onboarding-modal-scroll-container {
height: calc(100vh - 289px);
overflow-y: scroll;
border-bottom: 1px solid var(--base-20);
@media screen and (min-height: 800px) {
max-height: 520px;
}
}
// tag styles
.onboarding-tags {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-gap: var(--su-2);
width: 100%;
padding-bottom: 48px;
@media screen and (min-width: $breakpoint-s) {
padding-bottom: 24px;
}
@media screen and (min-width: 800px) {
grid-template-columns: repeat(3, 1fr);
}
&__item {
border: 1px solid rgba(var(--tag-onboarding-border), 1);
background: var(--tag-onboarding-bg);
border-radius: var(--radius);
padding: var(--su-3) var(--su-4);
position: relative;
overflow: hidden;
height: 73px;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
cursor: pointer;
$item: &;
input[type='checkbox'] {
border-radius: 50%;
background-color: var(--checkbox-default-bg);
background-image: none;
}
&:hover {
background: var(--white);
border: 1px solid rgba(var(--accent-brand-rgb), 1);
box-shadow: var(--shadow-smooth);
input[type='checkbox'] {
border: 1px solid rgba(var(--accent-brand-rgb), 1);
}
}
&__inner {
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
&__content {
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
padding: 0px;
gap: 4px;
}
&__content-name {
font-weight: var(--fw-medium);
font-size: var(--fs-base);
line-height: var(--lh-base);
letter-spacing: -0.02em;
color: var(--color-primary);
}
&__content-count {
font-weight: var(--fw-normal);
font-size: var(--fs-s);
line-height: var(--lh-base);
letter-spacing: -0.02em;
color: var(--tag-prefix);
}
}
&--selected {
background: rgba(var(--accent-brand-rgb), 0.1);
border: 1px solid rgba(var(--accent-brand-rgb), 1);
box-shadow: var(--shadow-smooth);
&:hover {
background: rgba(var(--accent-brand-rgb), 0.1);
border: 1px solid rgba(var(--accent-brand-rgb), 1);
box-shadow: var(--shadow-smooth);
}
input[type='checkbox'] {
border: 1px solid rgba(var(--accent-brand-rgb), 1);
background-color: rgba(var(--accent-brand-rgb), 1);
background-image: url("data:image/svg+xml,%3Csvg width='12' height='10' fill='none' xmlns='path_to_url fill-rule='evenodd' clip-rule='evenodd' d='M11.157.933a.75.75 0 01.077 1.058L4.817 9.407a.75.75 0 01-1.134 0L.766 6.037a.75.75 0 011.135-.982L4.25 7.77l5.85-6.76a.75.75 0 011.057-.077z' fill='%23fff'/%3E%3C/svg%3E");
}
}
}
}
// Onboarding Intro
.onboarding-main.introduction {
.onboarding-content {
background: var(--base-100);
color: white;
display: flex;
flex-direction: column;
justify-content: start;
padding: var(--su-8);
height: auto;
@media screen and (min-width: $breakpoint-s) {
justify-content: center;
}
}
figure {
margin: 0 0 var(--su-2) 0;
.sticker-logo {
height: var(--su-8);
width: var(--su-8);
box-sizing: content-box;
transform: rotate(-30deg);
padding: var(--su-3);
vertical-align: middle;
}
}
.introduction-title,
.introduction-subtitle {
margin: 0;
}
.introduction-title {
color: var(--base-inverted);
font-size: var(--fs-2xl);
font-weight: var(--fw-heavy);
line-height: var(--lh-tight);
margin-bottom: var(--su-1);
@media (min-width: $breakpoint-s) {
font-size: var(--fs-4xl);
}
}
.introduction-subtitle {
color: var(--base-inverted);
font-size: var(--fs-l);
font-weight: var(--fw-normal);
line-height: var(--lh-base);
@media (min-width: $breakpoint-s) {
font-size: var(--fs-xl);
}
}
.navigation-content {
padding: var(--su-7);
justify-content: center;
button {
@extend .crayons-btn;
}
}
}
// follow users slide
$onboarding-user-unselected-hover: rgba(71, 85, 235, 0.05);
$onboarding-user-selected: rgba(71, 85, 235, 0.1);
$onboarding-user-selected-hover: rgba(71, 85, 235, 0.2);
.onboarding-body {
.content-row {
background-color: var(--base-inverted); // Specify background for Safari.
align-items: center;
border: none;
box-sizing: border-box;
color: var(--body-color);
display: flex;
padding: var(--su-2) var(--su-4);
text-align: left;
width: 100%;
&.unselected {
&:hover {
background-color: $onboarding-user-unselected-hover;
cursor: pointer;
}
button {
@extend .crayons-btn;
@extend .crayons-btn--outlined;
}
}
&.selected {
background-color: $onboarding-user-selected;
&:hover {
background-color: $onboarding-user-selected-hover;
cursor: pointer;
}
button {
@extend .crayons-btn;
}
}
}
.user-avatar-container {
align-self: baseline;
margin: 0 var(--su-4) 0 0;
@media screen and (min-width: $breakpoint-s) {
align-self: center;
}
}
.user-avatar {
border-radius: 100%;
height: var(--su-8);
width: var(--su-8);
object-fit: cover;
border: 1px solid var(--base-10);
}
.current-user-info {
text-align: center;
margin-bottom: 1rem;
.current-user-avatar-container {
width: 80px;
height: 80px;
}
.current-user-avatar {
border-radius: 100%;
width: inherit;
height: inherit;
object-fit: cover;
border: 2px solid var(--base-90);
}
h3 {
margin-top: var(--su-2);
line-height: var(--lh-tight);
}
p {
font-size: var(--fs-base);
line-height: var(--lh-tight);
color: var(--base-70);
}
}
.user-name,
.user-summary {
color: var(--base);
margin: 0;
line-height: var(--lh-tight);
// overflow-wrap: anywhere isn't supported in Safari, in which case this fallback applies
overflow-wrap: break-word;
overflow-wrap: anywhere;
}
.user-name {
font-size: var(--fs-base);
}
.user-info {
width: 100%;
}
.user-summary {
font-size: var(--fs-s);
}
.user-following-status {
margin-left: var(--su-7);
}
}
// closing slide
.onboarding-what-next {
display: flex;
flex-direction: column;
overflow: auto;
min-height: 250px;
@media screen and (min-width: $breakpoint-s) {
flex-direction: column;
}
p {
align-items: center;
display: inline-flex;
}
a {
background: #d9e7ff;
margin: 4px auto;
border-radius: 3px;
display: block;
font-weight: 800;
width: 100%;
padding: 0.25em;
position: relative;
text-align: center;
box-sizing: border-box;
.whatnext-emoji {
text-align: center;
font-size: 32px;
margin-right: 8px;
}
}
}
.onboarding-previous-location {
text-align: center;
margin-top: 10px;
font-weight: bold;
display: none;
@media screen and (min-width: 600px) {
display: block;
}
code {
font-size: 0.6em;
margin-top: -10px;
display: block;
font-weight: 400;
}
}
// Follow user
.onboarding-body {
.content-row {
align-items: center;
color: #202428;
display: flex;
padding: 8px 16px;
text-align: left;
width: 100%;
&:hover,
&:focus-within {
background-color: var(--content-row-hover-bg) !important;
}
}
.user-avatar-container {
margin: 0 16px 0 0;
}
.user-avatar {
border-radius: 100%;
height: 48px;
width: 48px;
object-fit: cover;
border: 1px solid #eef0f1;
}
.user-name,
.user-summary {
margin: 0;
}
}
// Forms
.onboarding-main {
fieldset {
padding: 0;
border: none;
margin-bottom: var(--su-6);
&:last-child {
margin-bottom: 0;
}
ul {
list-style-type: none;
margin: 0;
padding-left: 0;
}
}
legend {
color: var(--body-color);
font-weight: var(--fw-medium);
}
input[type='text'],
textarea {
@extend .crayons-textfield;
box-sizing: border-box;
}
textarea {
min-height: 77px;
}
label {
@extend .crayons-field;
a {
margin-top: 0;
}
&:last-child {
margin-bottom: 0;
}
}
.checkbox-form-wrapper {
padding: var(--su-7);
.checkbox-form {
padding-bottom: var(--su-6);
}
}
.crayons-field--checkbox {
align-items: center;
}
// Checkboxes
.checkbox-item {
label {
@extend .crayons-field__label;
align-items: baseline;
border-radius: var(--radius);
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
padding: 0 var(--su-1);
width: 100%;
&:hover {
background: var(--body-bg);
cursor: pointer;
}
&:last-child {
margin-bottom: 0;
}
input[type='checkbox'] {
@extend .crayons-checkbox;
margin-right: var(--su-2) !important;
}
}
}
.onboarding-profile-sub-section {
margin-bottom: var(--su-6);
}
@media screen and (max-height: 790px) {
.onboarding-form-input--last {
margin-bottom: 25px;
}
}
}
.onboarding-profile-details-container {
display: flex;
align-items: center;
padding: 0px;
gap: 24px;
}
.onboarding-profile-image {
width: 80px;
height: 80px;
aspect-ratio: 1/1;
border-radius: 40px;
border: 1.5px solid #d4d4d4;
}
.onboarding-profile-details-sub-container {
display: flex;
flex-direction: column;
align-items: flex-start;
padding: 0px;
gap: 10px;
}
.onboarding-profile-user-name {
font-weight: var(--fw-bol);
font-size: var(--fs-xl);
line-height: var(--lh-base);
}
.onboarding-profile-upload-error {
color: darken($red, 8%);
font-size: 0.8em;
}
// Adjusting modals... This is naughty... Santa won't come.
.onboarding-main {
--onboarding-modal-height: 800px;
&.introduction {
--onboarding-modal-height: unset;
}
.crayons-modal__box {
@media (min-width: $breakpoint-s) {
height: var(--onboarding-modal-height);
}
}
}
```
|
```html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>use_future_t::rebind</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../boost_asio.html" title="Boost.Asio">
<link rel="up" href="../use_future_t.html" title="use_future_t">
<link rel="prev" href="operator_lb__rb_.html" title="use_future_t::operator[]">
<link rel="next" href="use_future_t.html" title="use_future_t::use_future_t">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="path_to_url">People</a></td>
<td align="center"><a href="path_to_url">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="operator_lb__rb_.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_future_t.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_future_t.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h4 class="title">
<a name="boost_asio.reference.use_future_t.rebind"></a><a class="link" href="rebind.html" title="use_future_t::rebind">use_future_t::rebind</a>
</h4></div></div></div>
<p>
<a class="indexterm" name="boost_asio.indexterm.use_future_t.rebind"></a>
Specify an alternate
allocator.
</p>
<pre class="programlisting">template<
typename OtherAllocator>
use_future_t< OtherAllocator > rebind(
const OtherAllocator & allocator) const;
</pre>
</div>
<table xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
file LICENSE_1_0.txt or copy at <a href="path_to_url" target="_top">path_to_url
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="operator_lb__rb_.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../use_future_t.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../boost_asio.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="use_future_t.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
```
|
```objective-c
//===- NativeInlineSiteSymbol.h - info about inline sites -------*- C++ -*-===//
//
// See path_to_url for license information.
//
//===your_sha256_hash------===//
#ifndef LLVM_DEBUGINFO_PDB_NATIVE_NATIVEINLINESITESYMBOL_H
#define LLVM_DEBUGINFO_PDB_NATIVE_NATIVEINLINESITESYMBOL_H
#include "llvm/DebugInfo/CodeView/SymbolRecord.h"
#include "llvm/DebugInfo/PDB/IPDBRawSymbol.h"
#include "llvm/DebugInfo/PDB/Native/NativeRawSymbol.h"
#include "llvm/DebugInfo/PDB/PDBTypes.h"
namespace llvm {
namespace pdb {
class NativeSession;
class NativeInlineSiteSymbol : public NativeRawSymbol {
public:
NativeInlineSiteSymbol(NativeSession &Session, SymIndexId Id,
const codeview::InlineSiteSym &Sym,
uint64_t ParentAddr);
~NativeInlineSiteSymbol() override;
void dump(raw_ostream &OS, int Indent, PdbSymbolIdField ShowIdFields,
PdbSymbolIdField RecurseIdFields) const override;
std::string getName() const override;
std::unique_ptr<IPDBEnumLineNumbers>
findInlineeLinesByVA(uint64_t VA, uint32_t Length) const override;
private:
const codeview::InlineSiteSym Sym;
uint64_t ParentAddr;
void getLineOffset(uint32_t OffsetInFunc, uint32_t &LineOffset,
uint32_t &FileOffset) const;
};
} // namespace pdb
} // namespace llvm
#endif // LLVM_DEBUGINFO_PDB_NATIVE_NATIVEINLINESITESYMBOL_H
```
|
```java
/*
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
package org.apache.beam.sdk.util;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
import static org.hamcrest.Matchers.isA;
import static org.junit.Assert.assertEquals;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.CompletionStage;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.atomic.AtomicInteger;
import org.apache.beam.sdk.util.MoreFutures.ExceptionOrResult;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.ExpectedException;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
/** Unit tests for {@link MoreFutures}. */
@RunWith(JUnit4.class)
public class MoreFuturesTest {
@Rule public ExpectedException thrown = ExpectedException.none();
@Test
public void supplyAsyncSuccess() throws Exception {
CompletionStage<Integer> future = MoreFutures.supplyAsync(() -> 42);
assertThat(MoreFutures.get(future), equalTo(42));
}
@Test
public void supplyAsyncFailure() throws Exception {
final String testMessage = "this is just a test";
CompletionStage<Long> future =
MoreFutures.supplyAsync(
() -> {
throw new IllegalStateException(testMessage);
});
thrown.expect(ExecutionException.class);
thrown.expectCause(isA(IllegalStateException.class));
thrown.expectMessage(testMessage);
MoreFutures.get(future);
}
@Test
public void runAsyncSuccess() throws Exception {
AtomicInteger result = new AtomicInteger(0);
CompletionStage<Void> sideEffectFuture =
MoreFutures.runAsync(
() -> {
result.set(42);
});
MoreFutures.get(sideEffectFuture);
assertThat(result.get(), equalTo(42));
}
@Test
public void runAsyncFailure() throws Exception {
final String testMessage = "this is just a test";
CompletionStage<Void> sideEffectFuture =
MoreFutures.runAsync(
() -> {
throw new IllegalStateException(testMessage);
});
thrown.expect(ExecutionException.class);
thrown.expectCause(isA(IllegalStateException.class));
thrown.expectMessage(testMessage);
MoreFutures.get(sideEffectFuture);
}
@Test
public void testAllAsListRespectsOriginalList() throws Exception {
CountDownLatch waitTillThreadRunning = new CountDownLatch(1);
CountDownLatch waitTillClearHasHappened = new CountDownLatch(1);
List<CompletionStage<Void>> stages = new ArrayList<>();
stages.add(MoreFutures.runAsync(waitTillThreadRunning::countDown));
stages.add(MoreFutures.runAsync(waitTillClearHasHappened::await));
CompletionStage<List<Void>> results = MoreFutures.allAsList(stages);
waitTillThreadRunning.await();
stages.clear();
waitTillClearHasHappened.countDown();
assertEquals(MoreFutures.get(results), Arrays.asList(null, null));
}
@Test
public void testAllAsListNoExceptionDueToMutation() throws Exception {
// This loop runs many times trying to exercise a race condition that existed where mutation
// of the passed in completion stages lead to various exceptions (such as a
// ConcurrentModificationException). See path_to_url
for (int i = 0; i < 10000; ++i) {
CountDownLatch waitTillThreadRunning = new CountDownLatch(1);
List<CompletionStage<Void>> stages = new ArrayList<>();
stages.add(MoreFutures.runAsync(waitTillThreadRunning::countDown));
CompletionStage<List<Void>> results = MoreFutures.allAsList(stages);
waitTillThreadRunning.await();
stages.clear();
MoreFutures.get(results);
}
}
@Test
public void testAllAsListWithExceptionsRespectsOriginalList() throws Exception {
CountDownLatch waitTillThreadRunning = new CountDownLatch(1);
CountDownLatch waitTillClearHasHappened = new CountDownLatch(1);
List<CompletionStage<Void>> stages = new ArrayList<>();
stages.add(MoreFutures.runAsync(waitTillThreadRunning::countDown));
stages.add(MoreFutures.runAsync(waitTillClearHasHappened::await));
CompletionStage<List<ExceptionOrResult<Void>>> results =
MoreFutures.allAsListWithExceptions(stages);
waitTillThreadRunning.await();
stages.clear();
waitTillClearHasHappened.countDown();
assertEquals(
MoreFutures.get(results),
Arrays.asList(ExceptionOrResult.result(null), ExceptionOrResult.result(null)));
}
@Test
public void testAllAsListWithExceptionsNoExceptionDueToMutation() throws Exception {
// This loop runs many times trying to exercise a race condition that existed where mutation
// of the passed in completion stages lead to various exceptions (such as a
// ConcurrentModificationException). See path_to_url
for (int i = 0; i < 10000; ++i) {
CountDownLatch waitTillThreadRunning = new CountDownLatch(1);
List<CompletionStage<Void>> stages = new ArrayList<>();
stages.add(MoreFutures.runAsync(waitTillThreadRunning::countDown));
CompletionStage<List<ExceptionOrResult<Void>>> results =
MoreFutures.allAsListWithExceptions(stages);
waitTillThreadRunning.await();
stages.clear();
MoreFutures.get(results);
}
}
}
```
|
```c++
//
//
// See accompanying file LICENSE_1_0.txt or copy at
// path_to_url
//
#include <boost/weak_ptr.hpp>
struct X
{
};
int main()
{
boost::weak_ptr<X> px;
boost::weak_ptr<X[]> px2( px );
}
```
|
Walnut in an unincorporated community in Madison County, North Carolina, United States. The community is named after the Walnut Mountains, located further north. Centered along Barnard Road (SR 1151), it is accessible via NC 213 and Walnut Drive (SR 1439), both connecting to nearby US 25/US 70 and northwest of Marshall. The community is part of the Asheville Metropolitan Statistical Area.
References
Unincorporated communities in Madison County, North Carolina
Asheville metropolitan area
Unincorporated communities in North Carolina
|
```c
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
* / __| | | | |_) | |
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at path_to_url
*
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
* copies of the Software, and permit persons to whom the Software is
* furnished to do so, under the terms of the COPYING file.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
* RFC4178 Simple and Protected GSS-API Negotiation Mechanism
*
***************************************************************************/
#include "curl_setup.h"
#if defined(HAVE_GSSAPI) && defined(USE_SPNEGO)
#include <curl/curl.h>
#include "vauth/vauth.h"
#include "urldata.h"
#include "curl_base64.h"
#include "curl_gssapi.h"
#include "warnless.h"
#include "curl_multibyte.h"
#include "sendf.h"
/* The last #include files should be: */
#include "curl_memory.h"
#include "memdebug.h"
/*
* Curl_auth_is_spnego_supported()
*
* This is used to evaluate if SPNEGO (Negotiate) is supported.
*
* Parameters: None
*
* Returns TRUE if Negotiate supported by the GSS-API library.
*/
bool Curl_auth_is_spnego_supported(void)
{
return TRUE;
}
/*
* Curl_auth_decode_spnego_message()
*
* This is used to decode an already encoded SPNEGO (Negotiate) challenge
* message.
*
* Parameters:
*
* data [in] - The session handle.
* userp [in] - The user name in the format User or Domain\User.
* passdwp [in] - The user's password.
* service [in] - The service type such as http, smtp, pop or imap.
* host [in] - The host name.
* chlg64 [in] - The optional base64 encoded challenge message.
* nego [in/out] - The Negotiate data struct being used and modified.
*
* Returns CURLE_OK on success.
*/
CURLcode Curl_auth_decode_spnego_message(struct Curl_easy *data,
const char *user,
const char *password,
const char *service,
const char *host,
const char *chlg64,
struct negotiatedata *nego)
{
CURLcode result = CURLE_OK;
size_t chlglen = 0;
unsigned char *chlg = NULL;
OM_uint32 major_status;
OM_uint32 minor_status;
OM_uint32 unused_status;
gss_buffer_desc spn_token = GSS_C_EMPTY_BUFFER;
gss_buffer_desc input_token = GSS_C_EMPTY_BUFFER;
gss_buffer_desc output_token = GSS_C_EMPTY_BUFFER;
(void) user;
(void) password;
if(nego->context && nego->status == GSS_S_COMPLETE) {
/* We finished successfully our part of authentication, but server
* rejected it (since we're again here). Exit with an error since we
* can't invent anything better */
Curl_auth_spnego_cleanup(nego);
return CURLE_LOGIN_DENIED;
}
if(!nego->spn) {
/* Generate our SPN */
char *spn = Curl_auth_build_spn(service, NULL, host);
if(!spn)
return CURLE_OUT_OF_MEMORY;
/* Populate the SPN structure */
spn_token.value = spn;
spn_token.length = strlen(spn);
/* Import the SPN */
major_status = gss_import_name(&minor_status, &spn_token,
GSS_C_NT_HOSTBASED_SERVICE,
&nego->spn);
if(GSS_ERROR(major_status)) {
Curl_gss_log_error(data, "gss_import_name() failed: ",
major_status, minor_status);
free(spn);
return CURLE_OUT_OF_MEMORY;
}
free(spn);
}
if(chlg64 && *chlg64) {
/* Decode the base-64 encoded challenge message */
if(*chlg64 != '=') {
result = Curl_base64_decode(chlg64, &chlg, &chlglen);
if(result)
return result;
}
/* Ensure we have a valid challenge message */
if(!chlg) {
infof(data, "SPNEGO handshake failure (empty challenge message)\n");
return CURLE_BAD_CONTENT_ENCODING;
}
/* Setup the challenge "input" security buffer */
input_token.value = chlg;
input_token.length = chlglen;
}
/* Generate our challenge-response message */
major_status = Curl_gss_init_sec_context(data,
&minor_status,
&nego->context,
nego->spn,
&Curl_spnego_mech_oid,
GSS_C_NO_CHANNEL_BINDINGS,
&input_token,
&output_token,
TRUE,
NULL);
/* Free the decoded challenge as it is not required anymore */
Curl_safefree(input_token.value);
nego->status = major_status;
if(GSS_ERROR(major_status)) {
if(output_token.value)
gss_release_buffer(&unused_status, &output_token);
Curl_gss_log_error(data, "gss_init_sec_context() failed: ",
major_status, minor_status);
return CURLE_OUT_OF_MEMORY;
}
if(!output_token.value || !output_token.length) {
if(output_token.value)
gss_release_buffer(&unused_status, &output_token);
return CURLE_OUT_OF_MEMORY;
}
nego->output_token = output_token;
return CURLE_OK;
}
/*
* Curl_auth_create_spnego_message()
*
* This is used to generate an already encoded SPNEGO (Negotiate) response
* message ready for sending to the recipient.
*
* Parameters:
*
* data [in] - The session handle.
* nego [in/out] - The Negotiate data struct being used and modified.
* outptr [in/out] - The address where a pointer to newly allocated memory
* holding the result will be stored upon completion.
* outlen [out] - The length of the output message.
*
* Returns CURLE_OK on success.
*/
CURLcode Curl_auth_create_spnego_message(struct Curl_easy *data,
struct negotiatedata *nego,
char **outptr, size_t *outlen)
{
CURLcode result;
OM_uint32 minor_status;
/* Base64 encode the already generated response */
result = Curl_base64_encode(data,
nego->output_token.value,
nego->output_token.length,
outptr, outlen);
if(result) {
gss_release_buffer(&minor_status, &nego->output_token);
nego->output_token.value = NULL;
nego->output_token.length = 0;
return result;
}
if(!*outptr || !*outlen) {
gss_release_buffer(&minor_status, &nego->output_token);
nego->output_token.value = NULL;
nego->output_token.length = 0;
return CURLE_REMOTE_ACCESS_DENIED;
}
return CURLE_OK;
}
/*
* Curl_auth_spnego_cleanup()
*
* This is used to clean up the SPNEGO (Negotiate) specific data.
*
* Parameters:
*
* nego [in/out] - The Negotiate data struct being cleaned up.
*
*/
void Curl_auth_spnego_cleanup(struct negotiatedata *nego)
{
OM_uint32 minor_status;
/* Free our security context */
if(nego->context != GSS_C_NO_CONTEXT) {
gss_delete_sec_context(&minor_status, &nego->context, GSS_C_NO_BUFFER);
nego->context = GSS_C_NO_CONTEXT;
}
/* Free the output token */
if(nego->output_token.value) {
gss_release_buffer(&minor_status, &nego->output_token);
nego->output_token.value = NULL;
nego->output_token.length = 0;
}
/* Free the SPN */
if(nego->spn != GSS_C_NO_NAME) {
gss_release_name(&minor_status, &nego->spn);
nego->spn = GSS_C_NO_NAME;
}
/* Reset any variables */
nego->status = 0;
}
#endif /* HAVE_GSSAPI && USE_SPNEGO */
```
|
```php
<?php
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
*/
namespace Google\Service\CertificateAuthorityService;
class RevokedCertificate extends \Google\Model
{
/**
* @var string
*/
public $certificate;
/**
* @var string
*/
public $hexSerialNumber;
/**
* @var string
*/
public $revocationReason;
/**
* @param string
*/
public function setCertificate($certificate)
{
$this->certificate = $certificate;
}
/**
* @return string
*/
public function getCertificate()
{
return $this->certificate;
}
/**
* @param string
*/
public function setHexSerialNumber($hexSerialNumber)
{
$this->hexSerialNumber = $hexSerialNumber;
}
/**
* @return string
*/
public function getHexSerialNumber()
{
return $this->hexSerialNumber;
}
/**
* @param string
*/
public function setRevocationReason($revocationReason)
{
$this->revocationReason = $revocationReason;
}
/**
* @return string
*/
public function getRevocationReason()
{
return $this->revocationReason;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(RevokedCertificate::class, 'Google_Service_CertificateAuthorityService_RevokedCertificate');
```
|
```c++
/*
* 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, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of the copyright holder nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
/**
* @file
* This file includes definitions for generic number utility functions (min, max, clamp).
*/
#ifndef NUM_UTILS_HPP_
#define NUM_UTILS_HPP_
#include "common/numeric_limits.hpp"
#include "common/type_traits.hpp"
namespace ot {
/**
* This template function returns the minimum of two given values.
*
* Uses `operator<` to compare the values.
*
* @tparam Type The value type.
*
* @param[in] aFirst The first value.
* @param[in] aSecond The second value.
*
* @returns The minimum of @p aFirst and @p aSecond.
*
*/
template <typename Type> Type Min(Type aFirst, Type aSecond) { return (aFirst < aSecond) ? aFirst : aSecond; }
/**
* This template function returns the maximum of two given values.
*
* Uses `operator<` to compare the values.
*
* @tparam Type The value type.
*
* @param[in] aFirst The first value.
* @param[in] aSecond The second value.
*
* @returns The maximum of @p aFirst and @p aSecond.
*
*/
template <typename Type> Type Max(Type aFirst, Type aSecond) { return (aFirst < aSecond) ? aSecond : aFirst; }
/**
* This template function returns clamped version of a given value to a given closed range [min, max].
*
* Uses `operator<` to compare the values. The behavior is undefined if the value of @p aMin is greater than @p aMax.
*
* @tparam Type The value type.
*
* @param[in] aValue The value to clamp.
* @param[in] aMin The minimum value.
* @param[in] aMax The maximum value.
*
* @returns The clamped version of @aValue to the closed range [@p aMin, @p aMax].
*
*/
template <typename Type> Type Clamp(Type aValue, Type aMin, Type aMax)
{
Type value = Max(aValue, aMin);
return Min(value, aMax);
}
/**
* This template function returns a clamped version of given integer to a `uint8_t`.
*
* If @p aValue is greater than max value of a `uint8_t`, the max value is returned.
*
* @tparam UintType The value type (MUST be `uint16_t`, `uint32_t`, or `uint64_t`).
*
* @param[in] aValue The value to clamp.
*
* @returns The clamped version of @p aValue to `uint8_t`.
*
*/
template <typename UintType> uint8_t ClampToUint8(UintType aValue)
{
static_assert(TypeTraits::IsSame<UintType, uint16_t>::kValue || TypeTraits::IsSame<UintType, uint32_t>::kValue ||
TypeTraits::IsSame<UintType, uint64_t>::kValue,
"UintType must be `uint16_t, `uint32_t`, or `uint64_t`");
return static_cast<uint8_t>(Min(aValue, static_cast<UintType>(NumericLimits<uint8_t>::kMax)));
}
/**
* This template function returns a clamped version of given integer to a `uint16_t`.
*
* If @p aValue is greater than max value of a `uint16_t`, the max value is returned.
*
* @tparam UintType The value type (MUST be `uint32_t`, or `uint64_t`).
*
* @param[in] aValue The value to clamp.
*
* @returns The clamped version of @p aValue to `uint16_t`.
*
*/
template <typename UintType> uint16_t ClampToUint16(UintType aValue)
{
static_assert(TypeTraits::IsSame<UintType, uint32_t>::kValue || TypeTraits::IsSame<UintType, uint64_t>::kValue,
"UintType must be `uint32_t` or `uint64_t`");
return static_cast<uint16_t>(Min(aValue, static_cast<UintType>(NumericLimits<uint16_t>::kMax)));
}
/**
* Returns a clamped version of given integer to a `int8_t`.
*
* If @p aValue is smaller than min value of a `int8_t`, the min value of `int8_t` is returned.
* If @p aValue is larger than max value of a `int8_t`, the max value of `int8_t` is returned.
*
* @tparam IntType The value type (MUST be `int16_t`, `int32_t`, or `int64_t`).
*
* @param[in] aValue The value to clamp.
*
* @returns The clamped version of @p aValue to `int8_t`.
*
*/
template <typename IntType> int8_t ClampToInt8(IntType aValue)
{
static_assert(TypeTraits::IsSame<IntType, int16_t>::kValue || TypeTraits::IsSame<IntType, int32_t>::kValue ||
TypeTraits::IsSame<IntType, int64_t>::kValue,
"IntType must be `int16_t, `int32_t`, or `int64_t`");
return static_cast<int8_t>(Clamp(aValue, static_cast<IntType>(NumericLimits<int8_t>::kMin),
static_cast<IntType>(NumericLimits<int8_t>::kMax)));
}
/**
* This template function performs a three-way comparison between two values.
*
* @tparam Type The value type.
*
* @param[in] aFirst The first value.
* @param[in] aSecond The second value.
*
* @retval 1 If @p aFirst > @p aSecond.
* @retval 0 If @p aFirst == @p aSecond.
* @retval -1 If @p aFirst < @p aSecond.
*
*/
template <typename Type> int ThreeWayCompare(Type aFirst, Type aSecond)
{
return (aFirst == aSecond) ? 0 : ((aFirst > aSecond) ? 1 : -1);
}
/**
* This is template specialization of three-way comparison between two boolean values.
*
* @param[in] aFirst The first boolean value.
* @param[in] aSecond The second boolean value.
*
* @retval 1 If @p aFirst is true and @p aSecond is false (true > false).
* @retval 0 If both @p aFirst and @p aSecond are true, or both are false (they are equal).
* @retval -1 If @p aFirst is false and @p aSecond is true (false < true).
*
*/
template <> inline int ThreeWayCompare(bool aFirst, bool aSecond)
{
return (aFirst == aSecond) ? 0 : (aFirst ? 1 : -1);
}
/**
* This template function divides two numbers and rounds the result to the closest integer.
*
* @tparam IntType The integer type.
*
* @param[in] aDividend The dividend value.
* @param[in] aDivisor The divisor value.
*
* @return The result of division and rounding to the closest integer.
*
*/
template <typename IntType> inline IntType DivideAndRoundToClosest(IntType aDividend, IntType aDivisor)
{
return (aDividend + (aDivisor / 2)) / aDivisor;
}
/**
* Casts a given `uint32_t` to `unsigned long`.
*
* @param[in] aUint32 A `uint32_t` value.
*
* @returns The @p aUint32 value as `unsigned long`.
*
*/
inline unsigned long ToUlong(uint32_t aUint32) { return static_cast<unsigned long>(aUint32); }
/**
* Counts the number of `1` bits in the binary representation of a given unsigned int bit-mask value.
*
* @tparam UintType The unsigned int type (MUST be `uint8_t`, uint16_t`, uint32_t`, or `uint64_t`).
*
* @param[in] aMask A bit mask.
*
* @returns The number of `1` bits in @p aMask.
*
*/
template <typename UintType> uint8_t CountBitsInMask(UintType aMask)
{
static_assert(TypeTraits::IsSame<UintType, uint8_t>::kValue || TypeTraits::IsSame<UintType, uint16_t>::kValue ||
TypeTraits::IsSame<UintType, uint32_t>::kValue || TypeTraits::IsSame<UintType, uint64_t>::kValue,
"UintType must be `uint8_t`, `uint16_t`, `uint32_t`, or `uint64_t`");
uint8_t count = 0;
while (aMask != 0)
{
aMask &= aMask - 1;
count++;
}
return count;
}
} // namespace ot
#endif // NUM_UTILS_HPP_
```
|
```go
//
// path_to_url
//
// Unless required by applicable law or agreed to in writing, software
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
package prometheus
import (
"errors"
"fmt"
"sort"
"strings"
"github.com/golang/protobuf/proto"
"github.com/prometheus/common/model"
dto "github.com/prometheus/client_model/go"
)
// Desc is the descriptor used by every Prometheus Metric. It is essentially
// the immutable meta-data of a Metric. The normal Metric implementations
// included in this package manage their Desc under the hood. Users only have to
// deal with Desc if they use advanced features like the ExpvarCollector or
// custom Collectors and Metrics.
//
// Descriptors registered with the same registry have to fulfill certain
// consistency and uniqueness criteria if they share the same fully-qualified
// name: They must have the same help string and the same label names (aka label
// dimensions) in each, constLabels and variableLabels, but they must differ in
// the values of the constLabels.
//
// Descriptors that share the same fully-qualified names and the same label
// values of their constLabels are considered equal.
//
// Use NewDesc to create new Desc instances.
type Desc struct {
// fqName has been built from Namespace, Subsystem, and Name.
fqName string
// help provides some helpful information about this metric.
help string
// constLabelPairs contains precalculated DTO label pairs based on
// the constant labels.
constLabelPairs []*dto.LabelPair
// VariableLabels contains names of labels for which the metric
// maintains variable values.
variableLabels []string
// id is a hash of the values of the ConstLabels and fqName. This
// must be unique among all registered descriptors and can therefore be
// used as an identifier of the descriptor.
id uint64
// dimHash is a hash of the label names (preset and variable) and the
// Help string. Each Desc with the same fqName must have the same
// dimHash.
dimHash uint64
// err is an error that occurred during construction. It is reported on
// registration time.
err error
}
// NewDesc allocates and initializes a new Desc. Errors are recorded in the Desc
// and will be reported on registration time. variableLabels and constLabels can
// be nil if no such labels should be set. fqName must not be empty.
//
// variableLabels only contain the label names. Their label values are variable
// and therefore not part of the Desc. (They are managed within the Metric.)
//
// For constLabels, the label values are constant. Therefore, they are fully
// specified in the Desc. See the Collector example for a usage pattern.
func NewDesc(fqName, help string, variableLabels []string, constLabels Labels) *Desc {
d := &Desc{
fqName: fqName,
help: help,
variableLabels: variableLabels,
}
if !model.IsValidMetricName(model.LabelValue(fqName)) {
d.err = fmt.Errorf("%q is not a valid metric name", fqName)
return d
}
// labelValues contains the label values of const labels (in order of
// their sorted label names) plus the fqName (at position 0).
labelValues := make([]string, 1, len(constLabels)+1)
labelValues[0] = fqName
labelNames := make([]string, 0, len(constLabels)+len(variableLabels))
labelNameSet := map[string]struct{}{}
// First add only the const label names and sort them...
for labelName := range constLabels {
if !checkLabelName(labelName) {
d.err = fmt.Errorf("%q is not a valid label name", labelName)
return d
}
labelNames = append(labelNames, labelName)
labelNameSet[labelName] = struct{}{}
}
sort.Strings(labelNames)
// ... so that we can now add const label values in the order of their names.
for _, labelName := range labelNames {
labelValues = append(labelValues, constLabels[labelName])
}
// Validate the const label values. They can't have a wrong cardinality, so
// use in len(labelValues) as expectedNumberOfValues.
if err := validateLabelValues(labelValues, len(labelValues)); err != nil {
d.err = err
return d
}
// Now add the variable label names, but prefix them with something that
// cannot be in a regular label name. That prevents matching the label
// dimension with a different mix between preset and variable labels.
for _, labelName := range variableLabels {
if !checkLabelName(labelName) {
d.err = fmt.Errorf("%q is not a valid label name", labelName)
return d
}
labelNames = append(labelNames, "$"+labelName)
labelNameSet[labelName] = struct{}{}
}
if len(labelNames) != len(labelNameSet) {
d.err = errors.New("duplicate label names")
return d
}
vh := hashNew()
for _, val := range labelValues {
vh = hashAdd(vh, val)
vh = hashAddByte(vh, separatorByte)
}
d.id = vh
// Sort labelNames so that order doesn't matter for the hash.
sort.Strings(labelNames)
// Now hash together (in this order) the help string and the sorted
// label names.
lh := hashNew()
lh = hashAdd(lh, help)
lh = hashAddByte(lh, separatorByte)
for _, labelName := range labelNames {
lh = hashAdd(lh, labelName)
lh = hashAddByte(lh, separatorByte)
}
d.dimHash = lh
d.constLabelPairs = make([]*dto.LabelPair, 0, len(constLabels))
for n, v := range constLabels {
d.constLabelPairs = append(d.constLabelPairs, &dto.LabelPair{
Name: proto.String(n),
Value: proto.String(v),
})
}
sort.Sort(labelPairSorter(d.constLabelPairs))
return d
}
// NewInvalidDesc returns an invalid descriptor, i.e. a descriptor with the
// provided error set. If a collector returning such a descriptor is registered,
// registration will fail with the provided error. NewInvalidDesc can be used by
// a Collector to signal inability to describe itself.
func NewInvalidDesc(err error) *Desc {
return &Desc{
err: err,
}
}
func (d *Desc) String() string {
lpStrings := make([]string, 0, len(d.constLabelPairs))
for _, lp := range d.constLabelPairs {
lpStrings = append(
lpStrings,
fmt.Sprintf("%s=%q", lp.GetName(), lp.GetValue()),
)
}
return fmt.Sprintf(
"Desc{fqName: %q, help: %q, constLabels: {%s}, variableLabels: %v}",
d.fqName,
d.help,
strings.Join(lpStrings, ","),
d.variableLabels,
)
}
```
|
There is also a Warren County, and a hamlet of Warren.
Warren is a town in Herkimer County, New York, United States. The population was 1,143 at the 2010 census. The town is named after General Joseph Warren, who was killed at the Battle of Bunker Hill. Warren is in the south part of Herkimer County. US 20 passes across the town.
History
The area was first settled prior to 1776. The town of Warren was created in 1796 from the town of German Flatts. In 1812, part of Warren was used to form the newer town of Columbia. The population of Warren in 1865 was 1,611. Sunset Hill was added to the National Register of Historic Places in 2007.
Geography
According to the United States Census Bureau, the town has a total area of , of which are land and , or 0.84%, are water. The town is northeast of Canadarago Lake and Richfield Springs. The southern and eastern town lines are the border of Otsego County.
Demographics
As of the census of 2000, there were 1,136 people, 390 households, and 290 families residing in the town. The population density was . There were 440 housing units at an average density of 11.5 per square mile (4.4/km2). The racial makeup of the town was 97.10% White, 0.62% African American, 0.26% Native American, 0.26% Asian, 0.18% from other races, and 1.58% from two or more races. Hispanic or Latino of any race were 1.32% of the population.
There were 390 households, out of which 32.3% had children under the age of 18 living with them, 63.3% were married couples living together, 5.1% had a female householder with no husband present, and 25.6% were non-families. 22.3% of all households were made up of individuals, and 10.8% had someone living alone who was 65 years of age or older. The average household size was 2.69 and the average family size was 3.09.
In the town, the population was spread out, with 23.0% under the age of 18, 10.0% from 18 to 24, 27.5% from 25 to 44, 24.3% from 45 to 64, and 15.2% who were 65 years of age or older. The median age was 39 years. For every 100 females, there were 125.8 males. For every 100 females age 18 and over, there were 127.9 males.
The median income for a household in the town was $36,548, and the median income for a family was $39,118. Males had a median income of $27,000 versus $19,297 for females. The per capita income for the town was $13,840. About 8.5% of families and 12.3% of the population were below the poverty line, including 14.0% of those under age 18 and 11.2% of those age 65 or over.
Communities and locations in Warren
Crains Corners – A location east of Jordanville.
Cullen – A location south of Jordanville. The Church of the Good Shepherd was listed on the National Register of Historic Places in 1997.
Harter Hill – An elevation located north of Jordanville.
Holy Trinity Monastery – A Russian orthodox monastery near Jordanville.
Jordanville – The hamlet of Jordanville is in the northwestern part of the town.
Kingdom – A hamlet at the town line, northwest of Jordanville; partially in the Town of Columbia.
Maumee Swamp – A swamp located north of Weaver Lake.
Merry Hill – An elevation located northeast of the hamlet of Warren.
Mud Lake – A small lake located southeast of Crains Corners.
Murray Hill – An elevation located north of Crains Corners.
Warren – The hamlet of Warren is in the southeastern part of the town on Route 20. It was previously called "Little Lakes."
Weatherby Pond – A pond located west-northwest of the hamlet of Warren.
Weaver Lake – A small lake northwest of Warren village.
Young Lake – A small lake south of Warren village.
Notable person
Roxalana Druse, who was convicted of murdering her husband, William Druse, with the help of her daughter and nephew. Mrs. Druse was executed in 1887 by hanging.
References
External links
Early history of Warren, New York
Utica–Rome metropolitan area
Towns in Herkimer County, New York
Towns in New York (state)
Ukrainian communities in the United States
|
```yaml
apiVersion: 1
deleteDatasources:
- name: Prometheus
orgId: 1
datasources:
- name: Prometheus
orgId: 1
type: prometheus
access: proxy
url: path_to_url
editable: false
```
|
Andrew Clayton (born 10 April 1973) is a male English former competition swimmer.
Swimming career
Clayton represented Great Britain in the Olympics, both the World championships and European championships, and he swam for England in the Commonwealth Games. Clayton twice competed at the Summer Olympics during 1996 and 2000 for Great Britain. He is best known for winning the 1997 European title in the men's 4×200 meter freestyle relay, alongside Paul Palmer, James Salter and Gavin Meadows. At the CASA National British Championships he won the 100 meter butterfly title in 1995.
He also represented England and won two bronze medals in the relay events, at the 1994 Commonwealth Games in Victoria, and in British Columbia, Canada. He also competed for England, at the 1998 Commonwealth Games in Kuala Lump, Malaysia, winning a silver medal.
See also
List of Commonwealth Games medalists in swimming (men)
References
1973 births
Living people
English male freestyle swimmers
Olympic swimmers for Great Britain
Swimmers at the 1996 Summer Olympics
Swimmers at the 2000 Summer Olympics
Sportspeople from Bradford
Commonwealth Games silver medallists for England
Swimmers at the 1994 Commonwealth Games
Swimmers at the 1998 Commonwealth Games
World Aquatics Championships medalists in swimming
Medalists at the FINA World Swimming Championships (25 m)
European Aquatics Championships medalists in swimming
Commonwealth Games bronze medallists for England
Commonwealth Games medallists in swimming
Medallists at the 1994 Commonwealth Games
Medallists at the 1998 Commonwealth Games
|
```c
/* $OpenBSD: close.c,v 1.7 2012/02/26 21:43:25 fgsch Exp $ */
/*
* proven@mit.edu 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, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by Chris Provenzano,
* the University of California, Berkeley, and contributors.
* 4. Neither the name of Chris Provenzano, the University, nor the names of
* contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY CHRIS PROVENZANO AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL CHRIS PROVENZANO, THE REGENTS OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
/*
* Test the semantics of close() while a select() is happening.
* Not a great test.
*/
#include <pthread.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include "test.h"
#define BUFSIZE 4096
int fd;
/*
* meat of inetd discard service -- ignore data
*/
static void
discard(int s)
{
char buffer[BUFSIZE];
while ((errno = 0, read(s, buffer, sizeof(buffer)) > 0) ||
errno == EINTR)
;
}
/*
* Listen on localhost:TEST_PORT for a connection
*/
#define TEST_PORT 9876
static void
server(void)
{
int sock;
int client;
int client_addr_len;
struct sockaddr_in serv_addr;
struct sockaddr client_addr;
CHECKe(sock = socket(AF_INET, SOCK_STREAM, 0));
bzero((char *) &serv_addr, sizeof serv_addr);
serv_addr.sin_family = AF_INET;
serv_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
serv_addr.sin_port = htons(TEST_PORT);
CHECKe(bind(sock, (struct sockaddr *) &serv_addr, sizeof serv_addr));
CHECKe(listen(sock,3));
client_addr_len = sizeof client_addr;
CHECKe(client = accept(sock, &client_addr, &client_addr_len ));
CHECKe(close(sock));
discard(client);
CHECKe(close(client));
exit(0);
}
static void *
new_thread(void* arg)
{
fd_set r;
int ret;
char garbage[] = "blah blah blah";
FD_ZERO(&r);
FD_SET(fd, &r);
printf("child: writing some garbage to fd %d\n", fd);
CHECKe(write(fd, garbage, sizeof garbage));
printf("child: calling select() with fd %d\n", fd);
ASSERT((ret = select(fd + 1, &r, NULL, NULL, NULL)) == -1);
ASSERT(errno == EBADF);
printf("child: select() returned %d, errno %d = %s [correct]\n", ret,
errno, strerror(errno));
return NULL;
}
int
main(int argc, char *argv[])
{
pthread_t thread;
pthread_attr_t attr;
struct sockaddr_in addr;
int ret;
/* fork and have the child open a listener */
signal(SIGCHLD, SIG_IGN);
switch (fork()) {
case 0:
server();
exit(0);
case -1:
exit(errno);
default:
sleep(2);
}
/* Open up a TCP connection to the local discard port */
addr.sin_family = AF_INET;
addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
addr.sin_port = htons(TEST_PORT);
CHECKe(fd = socket(AF_INET, SOCK_STREAM, 0));
printf("main: connecting to test port with fd %d\n", fd);
ret = connect(fd, (struct sockaddr *)&addr, sizeof addr);
if (ret == -1)
fprintf(stderr, "connect() failed\n");
CHECKe(ret);
printf("main: connected on fd %d\n", fd);
CHECKr(pthread_attr_init(&attr));
CHECKr(pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED));
printf("starting child thread\n");
CHECKr(pthread_create(&thread, &attr, new_thread, NULL));
sleep(1);
printf("main: closing fd %d\n", fd);
CHECKe(close(fd));
printf("main: closed\n");
sleep(1);
SUCCEED;
}
```
|
```eiffel
/*
* Program type: Embedded Static SQL
*
* Description:
* This program performs a positioned update.
* All job grades are selected, and the salary range
* for the job may be increased by some factor, if any
* of the employees have a salary close to the upper
* limit of their job grade.
* The contents of this file are subject to the Interbase Public
*
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
*
* The Original Code was created by Inprise Corporation
* and its predecessors. Portions created by Inprise Corporation are
*
* All Rights Reserved.
* Contributor(s): ______________________________________.
*/
#include "example.h"
#include <stdlib.h>
#include <stdio.h>
EXEC SQL
BEGIN DECLARE SECTION;
BASED_ON job.job_code job;
BASED_ON job.job_grade grade;
BASED_ON job.job_country country;
BASED_ON job.max_salary max_salary;
EXEC SQL
END DECLARE SECTION;
int main (void)
{
char jobstr[25];
float mult_factor;
EXEC SQL
WHENEVER SQLERROR GO TO Error;
/* Declare the cursor, allowing for the update of max_salary field. */
EXEC SQL
DECLARE sal_range CURSOR FOR
SELECT job_grade, job_code, job_country, max_salary
FROM job
FOR UPDATE OF max_salary;
EXEC SQL
OPEN sal_range;
printf("\nIncreasing maximum salary limit for the following jobs:\n\n");
printf("%-25s%-22s%-22s\n\n", " JOB NAME", "CURRENT MAX", "NEW MAX");
for (;;)
{
EXEC SQL
FETCH sal_range INTO :grade, :job, :country, :max_salary;
if (SQLCODE == 100)
break;
/* Check if any of the employees in this job category are within
* 10% of the maximum salary.
*/
EXEC SQL
SELECT salary
FROM employee
WHERE job_grade = :grade
AND job_code = :job
AND job_country = :country
AND salary * 0.1 + salary > :max_salary;
/* If so, increase the maximum salary. */
if (SQLCODE == 0)
{
/* Determine the increase amount; for example, 5%. */
mult_factor = 0.05;
sprintf(jobstr, "%s %d (%s)", job, grade, country);
printf("%-25s%10.2f%20.2f\n", jobstr,
max_salary, max_salary * mult_factor + max_salary);
EXEC SQL
UPDATE job
SET max_salary = :max_salary + :max_salary * :mult_factor
WHERE CURRENT OF sal_range;
}
}
printf("\n");
EXEC SQL
CLOSE sal_range;
/* Don't actually save the changes. */
EXEC SQL
ROLLBACK RELEASE;
return 0;
Error:
isc_print_sqlerror(SQLCODE, gds__status);
return 1 ;
}
```
|
Heinz Heinrich Schmidt (26 November 1906 – 14 September 1989) was a German journalist and editor. During the twelve Nazi years he was involved in active resistance, spending approximately three years in prison and a further seven years as a political refugee in London.
Life
Schmidt was born into a working-class family in Halle. He attended school locally and trained for work as a miner.
After briefly working in the mines, in 1926 he joined the Social Democratic Party ( / SPD), and was recruited to edit various party newspapers. Between 1930 and 1933 he undertook a period of further study in Halle, covering constitutional and civil law. During that period of study, in 1931, he joined the Communist Party.
In January 1933, the Nazi Party took power and lost no time in transforming Germany into a one-party dictatorship. After the Reichstag fire in February 1933 communists found themselves identified as enemies of the state. Schmidt continued with his party activism which was now illegal. He was arrested in 1934 and served his three year sentence in the Brandenburg-Görden super jail and as an inmate at the Lichtenburg concentration camp. Released in 1937 he escaped to Prague, emigrating from there to London, where he arrived in or before 1938. In London, he would have been identified as an enemy alien and incarcerated for a time, but he was also able to join the local branch of the exiled German communist party, becoming leader of the little group in 1941. Two years later, in 1943, using the pseudonym "Jack Morrell", he became editor-in-chief of the , a London-based newspaper published by and for the exiled German communists who had fetched up in Britain. He continued to serve in this capacity till war ended in the early summer of 1945.
When he returned to Germany in 1946, it was to his home region which was part of a large chunk of what had been central Germany that by now was being administered as the Soviet occupation zone. The region was being subjected to a carefully planned Soviet sponsored nation building exercise headed up by an elite team of German communists who, in contrast to the treatment afforded to others who had fled to the Soviet Union, had been flown in from Moscow at the end of April 1945. Most of the communists who had fled Nazi Germany and survived the experience had spent the war years in Moscow. Smaller groups had lived in western capitals including London, but many of these did not return to Germany after the war, or at least not to the Soviet occupation zone. Those, such as Heinz Schmidt, that did were branded as ("Western emigrants") and viewed with a certain amount of suspicion by the men who after 1949 would form the backbone of the East German political establishment: there was a concern, shared by Stalin himself, that living in the west might have corrupted or diminished their credentials as loyal pro-Soviet comrades. However, Schmidt lost no time in signing his party membership over to the newly formed Socialist Unity Party ( / SED) and took a job with the party, serving briefly in a senior capacity in the party's information department (). That lasted till 31 July 1947 when he took over from Max Seydewitz as (loosely: "director general") of the Berliner Rundfunk (radio channel).
October 1949 was the month in which the Soviet occupation zone was relaunched as the Soviet sponsored German Democratic Republic (East Germany). A more personal change of direction for Heinz Schmidt came on 20 October 1949 when the Politburo removed him from his post at Berlin Radio, citing his "nationalistic arrogance" and "insufficient political vigilance" (). Between 1950 and 1955 he was employed on a "provisional contract" in the production department. In 1955/56 he was appointed editor in chief on Das Magazin, a recently launched arts and lifestyle magazine. In 1956, he was switched to the same position on the satirical magazine . However, in 1958, he was removed from that post.
He was now installed as head of the press department at the National Council of the National Front, which was a political structure used by the ruling SED (party) to control the other political parties. He had already, in 1957, been appointed a member of the presidium and secretary of the National Front. In 1964 he was given the honorary presidency of the country's Afro-Asian solidarity committee, a position in which he continued to serve till 19 November 1976. That was when, on health grounds, he was replaced in the role by Kurt Seibt.
Personal
In his personal life, by August 1946, when the two of them moved together to Berlin, Heinz Schmidt had teamed up with the pioneering physician Eva Schmidt-Kolmer. They married in 1947. The marriage produced two children.
Heinz Heinrich Schmidt died in East Berlin on 14 September 1989 aged 82.
Awards and honours
1962 Patriotic Order of Merit in silver
1971 Patriotic Order of Merit in gold
1976 Order of Karl Marx
1981 Star of People's Friendship in Gold
1986 Patriotic Order of Merit gold clasp
References
People from Halle (Saale)
East German journalists
Social Democratic Party of Germany politicians
Communist Party of Germany politicians
Socialist Unity Party of Germany members
Communists in the German Resistance
Lichtenburg concentration camp survivors
People who emigrated to escape Nazism
German broadcasters
Recipients of the Patriotic Order of Merit
1906 births
1989 deaths
|
```smalltalk
// ***********************************************************************
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ***********************************************************************
#if false
// TODO: Rework this
// RepeatAttribute should either
// 1) Apply at load time to create the exact number of tests, or
// 2) Apply at run time, generating tests or results dynamically
//
// #1 is feasible but doesn't provide much benefit
// #2 requires infrastructure for dynamic test cases first
using System;
using NUnit.Framework.Api;
using NUnit.Framework.Internal.Commands;
namespace NUnit.Framework
{
/// <summary>
/// RepeatAttribute may be applied to test case in order
/// to run it multiple times.
/// </summary>
[AttributeUsage(AttributeTargets.Method, AllowMultiple=false, Inherited=false)]
public class RepeatAttribute : PropertyAttribute, ICommandDecorator
{
/// <summary>
/// Construct a RepeatAttribute
/// </summary>
/// <param name="count">The number of times to run the test</param>
public RepeatAttribute(int count) : base(count) { }
//private int count;
///// <summary>
///// Construct a RepeatAttribute
///// </summary>
///// <param name="count">The number of times to run the test</param>
//public RepeatAttribute(int count)
//{
// this.count = count;
//}
///// <summary>
///// Gets the number of times to run the test.
///// </summary>
//public int Count
//{
// get { return count; }
//}
#region ICommandDecorator Members
CommandStage ICommandDecorator.Stage
{
get { return CommandStage.Repeat; }
}
int ICommandDecorator.Priority
{
get { return 0; }
}
TestCommand ICommandDecorator.Decorate(TestCommand command)
{
return new RepeatedTestCommand(command);
}
#endregion
}
}
#endif
```
|
```smalltalk
using System;
namespace g3
{
// Very hard to abstract material definitions from different formats.
// basically we just have a generic top-level class and then completely different subclasses...
public abstract class GenericMaterial
{
public static readonly float Invalidf = float.MinValue;
public static readonly Vector3f Invalid = new Vector3f(-1, -1, -1);
public string name;
public int id;
abstract public Vector3f DiffuseColor { get; set; }
abstract public float Alpha { get; set; }
public enum KnownMaterialTypes
{
OBJ_MTL_Format
}
public KnownMaterialTypes Type { get; set; }
}
// details: path_to_url
// Note: if value is initialized to Invalid vector, -1, or NaN, it was not defined in material file
public class OBJMaterial : GenericMaterial
{
public Vector3f Ka; // rgb ambient reflectivity
public Vector3f Kd; // rgb diffuse reflectivity
public Vector3f Ks; // rgb specular reflectivity
public Vector3f Ke; // rgb emissive
public Vector3f Tf; // rgb transmission filter
public int illum; // illumination model 0-10
public float d; // dissolve (alpha)
public float Ns; // specular exponent (shininess)
public float sharpness; // reflection sharpness
public float Ni; // index of refraction / optical density
public string map_Ka;
public string map_Kd;
public string map_Ks;
public string map_Ke;
public string map_d;
public string map_Ns;
public string bump;
public string disp;
public string decal;
public string refl;
// [TODO] texture materials
public OBJMaterial()
{
Type = KnownMaterialTypes.OBJ_MTL_Format;
id = -1;
name = "///INVALID_NAME";
Ka = Kd = Ks = Ke = Tf = Invalid;
illum = -1;
d = Ns = sharpness = Ni = Invalidf;
}
override public Vector3f DiffuseColor {
get { return (Kd == Invalid) ? new Vector3f(1, 1, 1) : Kd; }
set { Kd = value; }
}
override public float Alpha {
get { return (d == Invalidf) ? 1.0f : d; }
set { d = value; }
}
}
}
```
|
```xml
import { createContext, useMemo } from 'react';
import pick from 'lodash/pick';
import { ListControllerResult } from './useListController';
/**
* Context to store the pagination part of the useListController() result.
*
* Use the useListPaginationContext() hook to read the pagination information.
* That's what List components do in react-admin (e.g. <Pagination>).
*
* @typedef {Object} ListPaginationContextValue
* @prop {boolean} isLoading boolean that is false until the data is available
* @prop {integer} total the total number of results for the current filters, excluding pagination. Useful to build the pagination controls. e.g. 23
* @prop {integer} page the current page. Starts at 1
* @prop {Function} setPage a callback to change the page, e.g. setPage(3)
* @prop {integer} perPage the number of results per page. Defaults to 25
* @prop {Function} setPerPage a callback to change the number of results per page, e.g. setPerPage(25)
* @prop {Boolean} hasPreviousPage true if the current page is not the first one
* @prop {Boolean} hasNextPage true if the current page is not the last one
* @prop {string} resource the resource name, deduced from the location. e.g. 'posts'
*
* @typedef Props
* @prop {ListPaginationContextValue} value
*
* @param {Props}
*
* @see useListController
* @see useListContext
*
* @example
*
* import { useListController, ListPaginationContext } from 'ra-core';
*
* const List = props => {
* const controllerProps = useListController(props);
* return (
* <ListPaginationContext.Provider value={controllerProps}>
* ...
* </ListPaginationContext.Provider>
* );
* };
*/
export const ListPaginationContext = createContext<
ListPaginationContextValue | undefined
>(undefined);
ListPaginationContext.displayName = 'ListPaginationContext';
export type ListPaginationContextValue = Pick<
ListControllerResult,
| 'isLoading'
| 'isPending'
| 'hasPreviousPage'
| 'hasNextPage'
| 'page'
| 'perPage'
| 'setPage'
| 'setPerPage'
| 'total'
| 'resource'
>;
export const usePickPaginationContext = (
context: ListControllerResult
): ListPaginationContextValue =>
useMemo(
() =>
pick(context, [
'isLoading',
'isPending',
'hasPreviousPage',
'hasNextPage',
'page',
'perPage',
'setPage',
'setPerPage',
'total',
'resource',
]),
// eslint-disable-next-line react-hooks/exhaustive-deps
[
context.isLoading,
context.isPending,
context.hasPreviousPage,
context.hasNextPage,
context.page,
context.perPage,
context.setPage,
context.setPerPage,
context.total,
]
);
```
|
Nine Muses (, often stylized as 9Muses) is a South Korean girl group formed by Star Empire Entertainment in 2010 with an admission and graduation concept. The group consists of total of fourteen former members: Jaekyung, Bini, Rana, Lee Sem, Sera, Eunji, Euaerin, Minha, Hyuna, Sungah, Gyeongree, Hyemi, Sojin, and Keumjo.
Following an unsuccessful debut with the single "No Playboy," the group's line-up changed with the release of the comeback single, "Figaro", which reached the Top 100 Billboard Charts. Then the group's single, "News", and its EP, Sweet Rendezvous, both earned a peak popularity position of six, and with additional new members the group came back with follow-up albums Wild, Dolls, Prima Donna and their digital single "Glue" which ranked at number four and nine.
After a year-long hiatus in 2014, the group came back with a new line-up on its 2015 album Drama that January. Later releases included 9Muses S/S Edition and Lost. The group disbanded in February 2019 following the contract expirations of three former members, Sojin, Hyemi and Keumjo.
History
2009: Formation and "Give Me"
On April 8, 2009, Star Empire Entertainment announced its plan to create a girl group called Nine Muses on the Mnet reality show, "Children of the Empire". According to Star Empire CEO Shin Ju-hak, the group's line-up would rotate and its members would be active in fields including singing, acting and modeling. Through the show, Rana, Sera, Eunji, Lee Sem, Euarin, Jaekyung, Bini, Minha and Hyemi were chosen to be members of Nine Muses. They released their first song "Give Me," a duet with Seo In-young for the soundtrack to Prosector Princess, on April 7, 2010.
2010–2011: Debut, awards win and commercial popularity
Nine Muses officially debuted on August 12, 2010 with the single album Let's Have a Party. Its lead single, "No Playboy", was written and produced by Rainstone and Park Jin-young. The album debuted at number 18 on the Gaon Album Chart, while "No Playboy" peaked at number 56 on the Gaon Digital Chart.
In October, Jaekyung left the group to concentrate on her modeling career and was replaced by Hyuna prior to promotions for the group's second single, "Ladies". In December, Nine Muses won a Top Ten Singers Award at the Korean Culture Entertainment Awards. Later that month, the group performed in Japan for the first time, alongside boyband ZE:A, at the Seoul Train: Nine Muses & Friends concert in Tokyo.
In February 2011, Star Empire announced that members Bini and Rana had left the group to focus on acting and modeling while Euaerin had left the group to focus on her studies. However, Euaerin ultimately re-joined the group, which released the digital single "Figaro" as a seven-piece group on August 18, 2011.
2012–2013: Sweet Rendezvous, nine-member comeback, Wild, and Prima Donna
Following the addition of new member Gyeongree, the group released the single, "News," on January 11, 2012. The song was produced by Sweetune, who was also behind their "Figaro" single. On March 8, 2012, Nine Muses released their first extended play, Sweet Rendezvous, with the lead single "Ticket". The extended play debuted at number 6 on the Gaon Album Chart. The group featured in a documentary called 9 Muses of Star Empire released in 2012 that chronicling their debut period.
In January 2013, Star Empire announced the addition of new member Sungah, reporting that the group would soon be making a comeback with nine members for the first time since 2010. Nine Muses released their second single album, Dolls, with a lead single of the same name, on January 24, 2013. The single, which marked the group's fourth collaboration with producer team Sweetune, was the group's highest charting single to date, peaking at number 17 on the Gaon Digital Chart. The group followed up on that success with the release of their second extended play, Wild, including a title track of the same name, on May 9, 2013. The extended play debuted at number 4 on the Gaon Album Chart, while the single peaked at number 22 on the Gaon Digital Chart.
On October 13, 2013, Nine Muses released their first studio album Prima Donna with lead single "Gun". The group released digital single "Glue" and its music video on December 4, 2013.
2014–2015: Eight-member comeback, Drama, 9Muses S/S Edition and Lost
In January 2014, it was announced that Lee Sem and Eunji had left the group following the expiration of their contracts. The agency released a statement saying that they would continue with the remaining seven members, with possible new members added. In June, it was revealed that Sera's contract was not renewed and she would be leaving the group to focus on solo activities and establish her own agency. While the company said the group would release new music in August after the addition of a new member, it instead debuted the project group Nasty Nasty on September 3. The group, which released the single "Knock," was composed of Gyeongree, ZE:A's Kevin and singer Sojin.
In January 2015, Star Empire announced the addition of Nasty Nasty member Sojin and new member Keumjo to Nine Muses. On January 23, 2015, the now-eight-member group released their third extended play Drama, including the lead single of the same name. The song peaked at number 13 on the Gaon Digital Chart.
In July 2015, the group released their fourth mini-album 9Muses S/S Edition with the title track "Hurt Locker". Nine Muses' fifth mini album Lost was released on November 24, 2015.
2016–2017: More line-up changes and Muses Diary series
The group held their first concert Muse in the City on February 19, 2016 at Wapop Hall in Seoul Children's Grand Park and also held two fan meets in China. On June 7, 2016, it was confirmed that Minha and Euaerin would be leaving the group at the end of the first week in June after they both decided not to renew their contracts with the company; the agency later confirmed that those former members would continue on to do solo activities. Minha later became an actress and Euaerin went back to modeling and other projects. Nine Muses later formed a four-member subgroup, Nine Muses A (an abbreviation for Nine Muses Amuse), which was composed of Gyeongree, Hyemi, Sojin, and Keumjo for a summer comeback. On October 4, 2016, it was revealed that Hyuna wouldn't renew her contract at the end of month and she'd be withdrawing the group after six years. Nine Muses remained as a four-member group due to Sungah taking hiatus to pursue her work as a disk jockey.
The group released their sixth extended play Muses Diary Part. 2: Identity on June 19, 2017. It was the second release of the Muses Diary series from their debut album under Nine Muses A. It charted on Gaon Album Charts at number 5 and at number 15 on Billboard. The extended play contained six tracks, with the lead single being "Remember". Their comeback showcase was held at the YES24 Muv Hall on the same day as the album's release. Nine Muses held second concert Re:Mine on July 29, 2017 at the Bluesquare Samsung Card Hall located in Yongsan. On August 3, 2017, a repackaged version of Muses Diary Part. 2: Identity, titled Muses Diary Part. 3: Love City, was released. The reissue contained of four tracks from Muses Diary Part. 2: Identity and two new songs including the title track "Love City".
2018–2019: Disbandment and Remember
On February 10, 2019, it was announced that the group had disbanded nine years after debuting due to the expiration of Sojin, Keumjo and Hyemi’s contracts and two of the members graduating. Prior to their disbandment, the group concluded activities with the release of their final digital single titled "Remember" on February 14 and held a fan meeting with the same title on February 24.
2023–present: 9Muses A
On March 21, 2023, it was announced that Nine Muses A would be releasing a song in May, followed by a full group comeback sometime in July or August, though the line-up for the full group comeback has yet to be confirmed.
Public image and reception
Prior to their debut, Nine Muses were marketed as a group of "model dolls" in reference to the members' tall and slim physiques, and the fact that several members had previously worked as models. The label was used to describe the group throughout their career. Nine Muses was best known for their "sexy" image, and was especially popular among military servicemen in South Korea, earning the group the nickname "military president" ().
While the group experienced modest success, they failed to achieve top-tier popularity. South Korean media dubbed Nine Muses a "nadallen" () group, alongside peers Dal Shabet and Rainbow, for having "all of the conditions for success" but none of the luck of more popular groups.
Members
Current members
Gyeongree () (2012–2019, 2023–present)
Sojin () (2015–2019, 2023–present)
Keumjo () (2015–2019, 2023–present)
Hyemi () (2010–2019)
Former members
Jaekyung () (2010)
Bini () (2010–2011)
Rana () (2010–2011)
Eunji () (2010–2014)
Lee Sem () (2010–2014)
Sera () (2010–2014)
Euaerin () (2010–2016)
Minha () (2010–2016)
Hyuna () (2010–2016)
Sungah () (2012–2016)
Timeline
Discography
Studio albums
Reissues
Extended plays
Single albums
Singles
Collaborations
Videography
Music videos
Concerts
Headlining
Muse in the City (Seoul, 2016)
Re:Mine (Seoul, 2017)
Awards and nominations
See also
Muses in popular culture
Notes
References
External links
Official Korean website
K-pop music groups
2010 establishments in South Korea
Musical groups established in 2010
South Korean dance music groups
South Korean girl groups
Musical quintets
|
John Frank Raley Jr. (September 13, 1926 – August 21, 2012) was a Maryland politician and an advocate for education, economic development and protection and restoration of the Chesapeake Bay.
He was a Democrat, a State Senator, and a member of the Maryland House of Delegates and is widely credited for modernizing St. Mary's County's badly outdated infrastructure (schools, roads, bridges, telecommunications and electric services), thus paving the way for a forty-year period of economic growth and development.
He is also credited with getting the Maryland State Legislature to establish St. Mary's College of Maryland as a four-year liberal arts college and served on its board of trustees for years, guiding and advocating for the school's further development.
He has been called, by area historians and newspapers, a founder of modern St. Mary's County.
Early life
He was born in St. Mary's County, Maryland and grew up in a family of politicians to include his father, grandfather, and great-grandfather. He grew up during the Great Depression, and learned about politics through his family at a young age.
Raley attended parochial schools in St. Mary's County, as well as the Charlotte Hall Military Academy for high school and received his B.A. from Georgetown University. He also served in the United States Army during World War Two. He also was a general insurance agent.
Career
1962: Raley challenges the County Political Machine
In 1962 Raley organized a slate of candidates who ran with him to replace the County political machine that had presided over economic stagnation for decades. He was elected, and followed this with a large scale and ultimately successful campaign that he led while he was both in and out of office to bring modern development and improvements in education to the St. Mary's County.
Role in economic development, modernization of St. Mary's County
Background
St. Mary's County had long struggled with rural poverty, a legacy of the plantation system that had previously dominated the county through to the 1800s. The plantation system had left a legacy of huge disparities in education and income in the county. It had long depressed the development of the local labor market and had created a widespread pattern of concentrated landholdings, leaving most non-landowning county residents (both Black and White) poor and uneducated.
Consequently, long-term cycles of poverty persisted among the non-landed peoples of the county. This pattern continued into the 20th century, leaving the county's wealth concentrated in very few hands.
Raley's dream of eliminating rural poverty in St. Mary's County
Raley, while still in college at Georgetown University, determined that he wanted to do something to change the economic patterns in the county. He was known for persisting with this vision throughout his entire career of political and then civic involvement. In the late 1950s he ran for office in the Maryland House of delegates. He served there for a time before making a successful run for the Maryland State Senate. It was in the senate where his influence became sufficient to begin to leverage funding for modernization projects and also political reform for the county, moving a large number of community capitol improvements into action.
State Senate
He was very successful in the Senate a relatively short period of time, proving himself adept at politics and leveraging the state legislature to provide many key state projects to economically develop St. Mary's County and to also add new schools.
As a State Senator, Raley was largely credited with providing most of the new infrastructure that was required to economically develop St. Mary's County. According to Raley, over 100 pieces of legislation were needed to bring the schools, roads, and bridges, including the Governor Thomas Johnson Memorial Bridge to the county. Raley chaired the Public Buildings Committee the entire time he served in the Maryland Senate. From this position he was able to launch the largest economic infrastructure development and modernization program in St. Mary's County's history. He is credited with playing pivotal roles in transforming the county, clearing the way significantly for the last 40 years of economic development in the county.
Defeat
Raley's elective office career was cut short when a successful smear campaign falsely accused him of attempting to directly eliminate the very popular slot machines (gambling) that were all over the county at the time. In fact he had supported a measure to forward a referendum on the issue that would have put the decision in the hands of voters in St. Mary's County.
He had not taken any direct action against the machines in the State Senate himself, although he did say years later that he never liked the slot machines, or how they affected county life. However, his political opponents were successful in convincing the majority of the county residents at the time that he was actively working to eliminate the machines in the county. The slot machine issue generated a great deal of anger at Raley at the time, and he never again ran for office.
Raley remained very active in county and state politics nevertheless, sitting on many development boards and using his own influence and family connections to lobby the state legislature on the county's behalf. He continued working in this capacity for the rest of his life.
After the Senate
Instead of retiring from politics Raley became extremely active in numerous local and regional economic development boards and commissions, as well as running his own local retail business. He also worked tirelessly for decades to get the state to expand and further develop St. Mary's College of Maryland.
He also became very involved in promoting environmental and policy advancements for the restoration and protection of the Chesapeake Bay for which he was later recognized by the state of Maryland. He continued these efforts for the rest of his life.
Key post-legislative positions held
Maryland Economic Development Commission
President of the Lexington Park, Maryland Chamber of Commerce
Chairman of the St. Mary's College of Maryland Board of Trustees from 1966 to 1991
Member, Planning and Zoning Commission, 1967–78
Member-at-large, Tri-County Council for Southern Maryland, 1967–88 (also its co-founder)
Member, Chesapeake Bay Critical Area Commission, 1985–90.
Southern Maryland Navy Alliance (also its first president)
Patuxent Partnership
St. Mary's City Commission
After losing re-election to the Maryland Senate, Raley also became a delegate to the 1967 Constitutional Convention of Maryland.
Expansion of Patuxent River Naval Air Station
Raley played key roles in getting the base expanded at a time when it was facing possible closure. He also was instrumental in helping to prevent several other possible closure attempts, and helped put the base on a strong footing for long-term survival.
Raley's efforts to expand education in the county
Education expansion as anti-poverty measure
As a part of his effort to eliminate rural poverty in St. Mary's County, J. Frank Raley is credited with significantly expanding primary, secondary and post secondary education by securing numerous capital programs for education in the Maryland Legislature.
Raley then followed this with years of ongoing, relentless education-related advocacy on behalf of the county.
Transformation of St. Mary's College
Raley was also instrumental in expanding the then two-year St. Mary's Seminary Junior College into the four-year St. Mary's College of Maryland. Under Raley's decades long board leadership the school then rose to national prominence, now ranked as the 5th best public college in the United States by U.S. News & World Report.
Under Raley's decades long board leadership, the school rose steadily to national prominence, becoming one of the top ranked public colleges in the United States.
Board of trustees service
Raley also played many key roles in the further development of St. Mary's College and its eventual rise to national prominence. Raley served on the board of trustees for the college from 1967 to 1991 and counseled every president of the college from then until his death in 2012.
Center for the Study of Democracy
Raley had a great interest in democracy and education and was also instrumental in establishing the Center for the Study of Democracy at St. Mary's College.
Honors
The Maryland Senate declared Raley one of Maryland's First Citizens" in 2006. One of the most prestigious awards that a citizen of Maryland can achieve.
For his dedication to St. Mary's College, Raley was awarded the schools highest honor, the Order of the Ark and Dove. In addition to the award, the college dining hall in the campus center was officially named the "Raley Great Room". An oil portrait of him hangs on the wall of the great room to honor and remember him.
Acquisition of land for Point Lookout State Park
Raley was also instrumental in getting the state to acquire the land for Point Lookout State Park, now a nationally recognized historic and recreation area.
External links
Slackwater Journal, four biographical interviews with J. Frank Raley
Maryland Archives, includes personal account by Raley of his time in office (his Senate tenure) scroll down to see
St. Marys College of Maryland website
Center for the Study of Democracy, St. Mary's College of Maryland
Maryland archives, key offices and committee posts held by J. Frank Raley
Countytimes.somd.com
St. Mary's County Department of Economic Development
References
People from St. Mary's County, Maryland
Maryland state senators
St. Mary's College of Maryland
St. Mary's City, Maryland
Members of the Maryland House of Delegates
Education in St. Mary's County, Maryland
Georgetown University alumni
1926 births
2012 deaths
|
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">@color/blue_175DDC</color>
<color name="ic_shortcut_background">@color/white</color>
</resources>
```
|
```turing
#!/usr/bin/perl -w
use strict;
# Make sure EUI works with MakeMaker
BEGIN {
unshift @INC, 't/lib';
}
use Config;
use ExtUtils::MakeMaker;
use Test::More;
use MakeMaker::Test::Utils;
my $make;
BEGIN {
$make = make_run();
if (!$make) {
plan skip_all => "make isn't available";
}
else {
plan tests => 15;
}
}
use MakeMaker::Test::Setup::BFD;
use File::Find;
use File::Spec;
use File::Path;
use File::Temp qw[tempdir];
# Environment variables which interfere with our testing.
delete @ENV{qw(PREFIX LIB MAKEFLAGS)};
# Run Makefile.PL
{
my $perl = which_perl();
my $Is_VMS = $^O eq 'VMS';
perl_lib;
my $tmpdir = tempdir( DIR => 't', CLEANUP => 1 );
chdir $tmpdir;
my $Touch_Time = calibrate_mtime();
$| = 1;
ok( setup_recurs(), 'setup' );
END {
ok( chdir File::Spec->updir );
ok( teardown_recurs(), 'teardown' );
}
ok( chdir('Big-Dummy'), "chdir'd to Big-Dummy" ) ||
diag("chdir failed: $!");
my @mpl_out = run(qq{"$perl" Makefile.PL "PREFIX=../dummy-install"});
END { rmtree '../dummy-install'; }
cmp_ok( $?, '==', 0, 'Makefile.PL exited with zero' ) ||
diag(@mpl_out);
END { unlink makefile_name(), makefile_backup() }
}
# make
{
my $make_out = run($make);
is( $?, 0, 'make ran ok' ) ||
diag($make_out);
}
# Test 'make install VERBINST=1'
{
my $make_install_verbinst = make_macro($make, 'install', VERBINST => 1);
my $install_out = run($make_install_verbinst);
is( $?, 0, 'install' ) || diag $install_out;
like( $install_out, qr/^Installing /m );
like( $install_out, qr/^Writing /m );
ok( -r '../dummy-install', ' install dir created' );
my %files = ();
find( sub {
# do it case-insensitive for non-case preserving OSs
my $file = lc $_;
# VMS likes to put dots on the end of things that don't have them.
$file =~ s/\.$// if $Is_VMS;
$files{$file} = $File::Find::name;
}, '../dummy-install' );
ok( $files{'dummy.pm'}, ' Dummy.pm installed' );
ok( $files{'liar.pm'}, ' Liar.pm installed' );
ok( $files{'program'}, ' program installed' );
ok( $files{'.packlist'}, ' packlist created' );
ok( $files{'perllocal.pod'},' perllocal.pod created' );
}
```
|
71 Fragments of a Chronology of Chance () is a 1994 Austrian drama film directed by Michael Haneke. It has a fragmented storyline as the title suggests, and chronicles several seemingly unrelated stories in parallel, but these separate narrative lines intersect in an incident at the end of the film. The film is set in Vienna from October to December 1993. Haneke refers to 71 Fragments of a Chronology of Chance as the last part of his "glaciation trilogy", the other parts of which are his preceding two films The Seventh Continent and Benny's Video.
Plot
The film opens with intertitles which introduce the mass killing in detail. It then chronicles in flashbacks the previous few months of several people in Vienna. A young Romanian boy sneaks across the border at night, wading through a swamp and hiding in the back of a truck. In Vienna he lives on the streets as a beggar. A security worker makes pickups at a bank. At home he argues with his wife and says prayers at great length. A young man steals weapons from a military armory. A college student plays games with his friends in which they bet against each other. He bets his watch against a stolen pistol. A retired man sits at home watching TV, talking at great length to his daughter who is too busy to spend time with him. A married couple tries to adopt a young girl.
The Romanian boy is picked up by authorities and his story receives news coverage. He is taken in by the couple who wanted to adopt the girl. While out doing errands, the wife leaves him in the car while she goes inside the bank. At the same time, the retired man goes to the bank under the guise of picking up his pension, but he's really there to see his daughter who works there.
The college student stops for gas. Short on cash, he goes across the street to use the ATM, but it is out of order. Stressed out and in a rush, he goes inside the crowded bank and attempts to cut to the front of the line, but he is assaulted by another customer. He leaves the bank and walks back to his car where he retrieves his gun. He returns to the bank, where he begins firing indiscriminately at the people inside. He then walks back to his car and shoots himself.
Characters
The drama consists of varied characters in each storyline: a Romanian boy who immigrated illegally into Austria and lives on the streets of Vienna; a religious bank security worker; a lonely old man staring at a TV screen; a childless couple considering adoption; a frustrated student and so on.
Film division
The film is divided into a number of variable-length "fragments" separated by black pauses and apparently unrelated to each other. The film is characterized by several fragments that take the form of video newscasts unrelated to the main storylines. News footages of real events are shown through video monitors. Newscasts report on the Bosnian War, the Somali Civil War, the South Lebanon conflict, the Kurdish–Turkish conflict, and molestation allegations against Michael Jackson.
Reception
Adam Bingham of Senses of Cinema wrote "Formally and conceptually, the film is one of the most challenging narrative works of the 1990s."
Manohla Dargis of The New York Times called it an "An icy-cool study of violence both mediated and horribly real", concluding that "For Mr. Haneke, the point seems less that evil is commonplace than that we don’t engage with it as thinking, actively moral beings. We slurp our soup while Sarajevo burns on the boob tube."
On Metacritic, the film has a weighted average score of 71 out of 100, based on 8 critics, indicating "generally favorable reviews".
Cast
Gabriel Cosmin Urdes as Marian Radu (Romanian Boy)
Lukas Miko as Max
Otto Grünmandl as Tomek
Anne Bennent as Inge Brunner
Udo Samel as Paul Brunner
Branko Samarovski as Hans
Claudia Martini as Maria
Georg Friedrich as Bernie
Alexander Pschill as Hanno
Klaus Händl as Gerhard
Corina Eder as Anni
Sebastian Stan as Kid in Subway
References
External links
1994 films
1994 drama films
1994 multilingual films
1990s German-language films
1990s Romanian-language films
Austrian drama films
Austrian multilingual films
Films directed by Michael Haneke
Films set in Vienna
|
This is a complete list of members of the United States House of Representatives during the 55th United States Congress listed by seniority.
As an historical article, the districts and party affiliations listed reflect those during the 55th Congress (March 4, 1897 – March 3, 1899). Current seats and party affiliations on the List of current members of the United States House of Representatives by seniority will be different for certain members.
Seniority depends on the date on which members were sworn into office. Since many members are sworn in on the same day, subsequent ranking is based on previous congressional service of the individual and then by alphabetical order by the last name of the congressman.
Committee chairmanship in the House is often associated with seniority. However, party leadership is typically not associated with seniority.
Note: The "*" indicates that the representative/delegate may have served one or more non-consecutive terms while in the House of Representatives of the United States Congress.
U.S. House seniority list
Delegates
See also
55th United States Congress
List of United States congressional districts
List of United States senators in the 55th Congress by seniority
References
United States Congressional Elections 1788-1997, by Michael J. Dubin (McFarland and Company 1998)
External links
Office of the Clerk of the United States House of Representatives
55
|
The barred wedge-snout ctenotus (Ctenotus schomburgkii) is a species of skink found in Australia.[2]
Note: some lizards that were previously known as Ctenotus schomburgkii are now known as Ctenotus kutjupa
Description:
A small skink (up to 5cm long), it has distinguishing orange dots along its side and brown and orange stripes on its back.[3]
Distribution:
This species is found in central western New South Wales and Queensland, to South Australia and the southern half of the Northern Territory through to the southern half of Western Australia.[4]
Ecology:
Ctenotus schomburgkii is an ectotherm. That is, they rely on external heat source from the environment to get what heat they require for their body temperature. They use solar radiation or conduction for their bodies heat source. (Sitting in the sun or deriving heat from a warmed rock for example).[5]
They are very adaptive skinks and relatively unspecialised in dietary requirements so can use various habitats. [6]
Ctenotus schomburgkii occurs in sympatry with other ctenotus lizards,[6,7] all of whom use spinifex grasses under trees. Being so adaptive they have minimal competition from inter or intra specific species.[6]
Spinifex (triodia and plectrachen) is of major importance to ctenotus schomburgkii [7] Termite tunnels have been found in the centre of spinifex grass tussocks, linking to mounds nearby, so the grasses are excellent for termite eating lizards. In fact flourishing termite populations has been linked to high lizard population directly[8]
Behaviour
Ctenotus schomburgkii has bimodal daily patterns, being active during the day, specifically at the start and end of the day. It forages widely. It has a longer activity time than larger lizards of the same genus.[7]
Ctenotus schomburgkii lives over 5 yrs, females live longer than males and are also larger.[6]
Breeding is over summer (Oct -Feb), they mostly lay clutches of 2 eggs but in some cases 1-3 eggs.[6]
Ctenotus schomburgkii has a home range of 40 - 60 metres. [6]
Diet:
This skink feeds mainly on termites but is considered a generalist insectivore. [6,7]They also are known to eat spiders, crickets, grasshoppers and beetles.[6]
Predators
Varanus gouldi otherwise known as the Sand Goanna, is a large monitor that preys on and digs schomburgkii out of burrows in the sand.
When schomburgkii hides in spinifex tussocks, mammalian and avian predators cannot catch them. These are therefore not considered predators[7] C. Schomburgkii is however preyed upon by cats.[9]
Conservation
While ctenotus schomburgkii is listed as least-concern species, [9] when habitat is fragmented into corridors or patches of habitat the lizard population is affected. Less are found the further one moves away from distinct conservation areas. Direct corridors are not necessarily protective of this and other species. [10]
Climate change is a risk to these species as fecundity is directly affected by temperature. This is more true for ctenosus lizards than mammals and endotherms. Favoured vegetation growth (rainfall) is also a factor as the spinifex grasses are used for both food and shelter.[11]
References
3. Museums Field Guide apps species profiles – vertebrates Accessed through ala.org.au June 2023.
4. https://www.iucnredlist.org/species/109464571/109464580#geographic-range
5. https://biologydictionary.net/ectotherm/
6. Read, J.L. 1998. The ecology of sympatric scincid lizards (Ctenotus) in arid South Australia . Australian Journal of Zoology 46: 617-629.
7. Pianka, E. R. 1969. Sympatry of dessert lizards (ctenotus) in Western Australia. Ecology 50,(6):1012 - 1030
8. Morton, S.R. & James, C. D. 1988 The Diversity and Abundance of Lizards in Arid Australia: A New Hypothesis. The American Naturalist. Vol. 132(2), 237-256.
9. IUCN 2016. The IUCN Red List of Threatened Species. Version 2022-3. http://www.iucnredlist.org.
10. Williams, J.R., Driscoll, D.A. and Bull, C.M. 2012. Roadside connectivity does not increase reptile abundance or richness in a fragmented mallee landscape. Austral Ecology 37: 383-391.
11. Read, J.L., Kovac, K., Brook, B.W. and Fordham, D.A. 2012. Booming during a bust: Asynchronous population responses of arid zone lizards to climatic variables. Acta Oecologica 40: 51-61.
12. Image created using information from The IUCN Red List of Threatened Species. Version 2022-3. http://www.iucnredlist.org. http://reptilesofaustralia.com/lizards/skinks/Ctenotus_schomburgkii.html
Images: Brett and Marie Smith - Ellura Sanctuary http://www.ellura.info/
schomburgkii
Reptiles described in 1863
Taxa named by Wilhelm Peters
Skinks of Australia
|
```smalltalk
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Diagnostics.Contracts;
using System.IO;
using ReClassNET.Extensions;
using ReClassNET.Native;
using ReClassNET.Nodes;
namespace ReClassNET.Plugins
{
internal class PluginInfo : IDisposable
{
public const string PluginName = "ReClass.NET Plugin";
public const string PluginNativeName = "ReClass.NET Native Plugin";
public string FilePath { get; }
public string FileVersion { get; }
public string Name { get; }
public string Description { get; }
public string Author { get; }
public bool IsNative { get; }
public Plugin Interface { get; set; }
public IntPtr NativeHandle { get; set; }
public IReadOnlyList<INodeInfoReader> NodeInfoReaders { get; set; }
public Plugin.CustomNodeTypes CustomNodeTypes { get; set; }
public PluginInfo(string filePath, FileVersionInfo versionInfo)
{
Contract.Requires(filePath != null);
Contract.Requires(versionInfo != null);
FilePath = filePath;
IsNative = versionInfo.ProductName == null /* Unix */ || versionInfo.ProductName == PluginNativeName;
FileVersion = (versionInfo.FileVersion ?? string.Empty).Trim();
Description = (versionInfo.Comments ?? string.Empty).Trim();
Author = (versionInfo.CompanyName ?? string.Empty).Trim();
Name = (versionInfo.FileDescription ?? string.Empty).Trim();
if (Name == string.Empty)
{
Name = Path.GetFileNameWithoutExtension(FilePath);
}
}
~PluginInfo()
{
ReleaseUnmanagedResources();
}
private void ReleaseUnmanagedResources()
{
if (!NativeHandle.IsNull())
{
NativeMethods.FreeLibrary(NativeHandle);
NativeHandle = IntPtr.Zero;
}
}
public void Dispose()
{
if (Interface != null)
{
try
{
Interface.Terminate();
}
catch
{
// ignored
}
}
ReleaseUnmanagedResources();
GC.SuppressFinalize(this);
}
}
}
```
|
Pentti Kalevi Karvonen (15 August 1931 – 12 March 2022) was a Finnish steeplechase runner. He competed in the men's 3000 metres steeplechase at the 1960 Summer Olympics. Karvonen died on 12 March 2022, at the age of 90.
References
External links
1931 births
2022 deaths
People from Primorsk, Leningrad Oblast
Finnish male steeplechase runners
Finnish male cross country runners
Olympic athletes for Finland
Athletes (track and field) at the 1960 Summer Olympics
|
```objective-c
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. path_to_url
#ifndef FXBARCODE_CBC_QRCODE_H_
#define FXBARCODE_CBC_QRCODE_H_
#include "core/fxcrt/fx_string.h"
#include "core/fxcrt/fx_system.h"
#include "fxbarcode/cbc_codebase.h"
class CBC_QRCodeWriter;
class CBC_QRCode final : public CBC_CodeBase {
public:
CBC_QRCode();
~CBC_QRCode() override;
// CBC_CodeBase:
bool Encode(WideStringView contents) override;
bool RenderDevice(CFX_RenderDevice* device,
const CFX_Matrix* matrix) override;
BC_TYPE GetType() override;
private:
CBC_QRCodeWriter* GetQRCodeWriter();
};
#endif // FXBARCODE_CBC_QRCODE_H_
```
|
```javascript
import React from 'react';
import SvgIcon from '../../SvgIcon';
const HardwareDevicesOther = (props) => (
<SvgIcon {...props}>
<path d="M3 6h18V4H3c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h4v-2H3V6zm10 6H9v1.78c-.61.55-1 1.33-1 2.22s.39 1.67 1 2.22V20h4v-1.78c.61-.55 1-1.34 1-2.22s-.39-1.67-1-2.22V12zm-2 5.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zM22 8h-6c-.5 0-1 .5-1 1v10c0 .5.5 1 1 1h6c.5 0 1-.5 1-1V9c0-.5-.5-1-1-1zm-1 10h-4v-8h4v8z"/>
</SvgIcon>
);
HardwareDevicesOther.displayName = 'HardwareDevicesOther';
HardwareDevicesOther.muiName = 'SvgIcon';
export default HardwareDevicesOther;
```
|
Ladislaus Szilágyi (; born at the end of the 14th century) was a Hungarian nobleman, general, captain of the fortress of Bradics,
Sources
Fraknói Vilmos: Michael Szilágyi, The uncle of King Matthias (Bp., 1913)
W.Vityi Zoltán: King Matthias maternal relatives
Felsőmagyarországi Minerva: nemzeti folyó-irás, Volumul 6
References
Ladislaus
Hungarian nobility
|
```java
package com.ctrip.platform.dal.daogen.resource;
import com.ctrip.platform.dal.dao.DalClientFactory;
import com.ctrip.platform.dal.daogen.domain.Status;
import com.ctrip.platform.dal.daogen.entity.DalGroup;
import com.ctrip.platform.dal.daogen.entity.LoginUser;
import com.ctrip.platform.dal.daogen.enums.AddUser;
import com.ctrip.platform.dal.daogen.enums.DatabaseType;
import com.ctrip.platform.dal.daogen.enums.RoleType;
import com.ctrip.platform.dal.daogen.log.LoggerManager;
import com.ctrip.platform.dal.daogen.utils.Configuration;
import com.ctrip.platform.dal.daogen.utils.DataSourceUtil;
import com.ctrip.platform.dal.daogen.utils.MD5Util;
import com.ctrip.platform.dal.daogen.utils.BeanGetter;
import com.ctrip.platform.dal.daogen.utils.ResourceUtils;
import com.ctrip.platform.dal.daogen.utils.XmlUtil;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.dom4j.Document;
import org.dom4j.DocumentHelper;
import org.dom4j.Element;
import org.dom4j.io.XMLWriter;
import javax.annotation.Resource;
import javax.inject.Singleton;
import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.*;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.MediaType;
import java.io.*;
import java.net.URL;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.Timestamp;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
@Resource
@Singleton
@Path("setupDb")
public class SetupDBResource {
private static final Object LOCK = new Object();
private static ClassLoader classLoader = null;
private static ObjectMapper mapper = new ObjectMapper();
private static final String LOGIC_DBNAME = "dao";
private static final String WEB_XML = "web.xml";
private static final String DATASOURCE_XML = "datasource.xml";
private static final String DATASOURCE = "Datasource";
private static final String DATASOURCE_NAME = "name";
private static final String DATASOURCE_USERNAME = "userName";
private static final String DATASOURCE_PASSWORD = "password";
private static final String DATASOURCE_CONNECTION_URL = "connectionUrl";
private static final String DATASOURCE_DRIVER_CLASS = "driverClassName";
private static final String DATASOURCE_MYSQL_DRIVER = "com.mysql.jdbc.Driver";
private String jdbcUrlTemplate = "jdbc:mysql://%s:%s/%s";
private static final String SCRIPT_FILE = "script.sql";
private static final String CREATE_TABLE = "CREATE TABLE";
private static boolean initialized = false;
private static Boolean dalInitialized = null;
static {
synchronized (LOCK) {
classLoader = Thread.currentThread().getContextClassLoader();
if (classLoader == null) {
classLoader = Configuration.class.getClassLoader();
}
}
}
public static boolean isDalInitialized() {
if (dalInitialized == null) {
synchronized (LOCK) {
if (dalInitialized == null) {
try {
dalInitialized = resourceExists(DATASOURCE_XML);
} catch (Exception e) {
e.printStackTrace();
}
}
}
}
return dalInitialized.booleanValue();
}
@GET
@Produces(MediaType.APPLICATION_JSON)
@Path("setupDbCheck")
public Status setupDbCheck() throws Exception {
Status status = Status.OK();
if (initialized) {
status.setInfo("");
return status;
}
try {
boolean valid = datasourceXmlValid();
if (!valid) {
status = Status.ERROR();
status.setInfo("!valid");
}
if (valid && !initialized) {
synchronized (LOCK) {
if (!initialized) {
initialized = true;
dalInitialized = true;
}
}
status.setInfo("initialized");
}
} catch (Throwable e) {
LoggerManager.getInstance().error(e);
status = Status.ERROR();
status.setInfo(e.getMessage());
}
return status;
}
@POST
@Produces(MediaType.APPLICATION_JSON)
@Path("tableConsistentCheck")
public Status tableConsistentCheck(@FormParam("dbaddress") String dbaddress, @FormParam("dbport") String dbport,
@FormParam("dbuser") String dbuser, @FormParam("dbpassword") String dbpassword,
@FormParam("dbcatalog") String dbcatalog) {
Status status = Status.ERROR();
try {
boolean initialized = initializeDatasourceXml(dbaddress, dbport, dbuser, dbpassword, dbcatalog);
if (initialized) {
boolean result = tableConsistent(dbcatalog);
if (result) {
status = Status.OK();
}
}
} catch (Throwable e) {
LoggerManager.getInstance().error(e);
status = Status.ERROR();
status.setInfo(e.getMessage());
}
return status;
}
@POST
@Produces(MediaType.APPLICATION_JSON)
@Path("initializeDal")
public Status initializeDal(@FormParam("dbaddress") String dbaddress, @FormParam("dbport") String dbport,
@FormParam("dbuser") String dbuser, @FormParam("dbpassword") String dbpassword,
@FormParam("dbcatalog") String dbcatalog) {
Status status = Status.OK();
try {
boolean result = initializeDatasourceXml(dbaddress, dbport, dbuser, dbpassword, dbcatalog);
if (!result) {
status = Status.ERROR();
}
} catch (Throwable e) {
LoggerManager.getInstance().error(e);
status = Status.ERROR();
status.setInfo(e.getMessage());
}
return status;
}
@POST
@Produces(MediaType.APPLICATION_JSON)
@Path("initializeDb")
public Status initializeDb(@Context HttpServletRequest request, @FormParam("dbaddress") String dbaddress,
@FormParam("dbport") String dbport, @FormParam("dbuser") String dbuser,
@FormParam("dbpassword") String dbpassword, @FormParam("dbcatalog") String dbcatalog,
@FormParam("groupName") String groupName, @FormParam("groupComment") String groupComment,
@FormParam("adminNo") String adminNo, @FormParam("adminName") String adminName,
@FormParam("adminEmail") String adminEmail, @FormParam("adminPass") String adminPass) {
Status status = Status.OK();
try {
boolean result = initializeDatasourceXml(dbaddress, dbport, dbuser, dbpassword, dbcatalog);
if (!result) {
status = Status.ERROR();
status.setInfo("Error occured while initializing the jdbc.properties file.");
return status;
}
boolean isSetupTables = setupTables();
if (!isSetupTables) {
status = Status.ERROR();
status.setInfo("Error occured while setting up the tables.");
return status;
}
DalGroup group = new DalGroup();
group.setGroup_name(groupName);
group.setGroup_comment(groupComment);
LoginUser user = new LoginUser();
user.setUserNo(adminNo);
user.setUserName(adminName);
user.setUserEmail(adminEmail);
user.setPassword(MD5Util.parseStrToMd5L32(adminPass));
boolean isSetupAdmin = setupAdmin(group, user);
if (!isSetupAdmin) {
status = Status.ERROR();
status.setInfo("Error occured while setting up the admin.");
return status;
}
} catch (Throwable e) {
LoggerManager.getInstance().error(e);
status = Status.ERROR();
status.setInfo(e.getMessage());
}
return status;
}
@POST
@Produces(MediaType.APPLICATION_JSON)
@Path("connectionTest")
public Status connectionTest(@FormParam("dbtype") String dbtype, @FormParam("dbaddress") String dbaddress,
@FormParam("dbport") String dbport, @FormParam("dbuser") String dbuser,
@FormParam("dbpassword") String dbpassword) throws Exception {
Status status = Status.OK();
Connection conn = null;
ResultSet rs = null;
try {
conn = DataSourceUtil.getConnection(dbaddress, dbport, dbuser, dbpassword,
DatabaseType.valueOf(dbtype).getValue());
rs = conn.getMetaData().getCatalogs();
Set<String> allCatalog = new HashSet<>();
while (rs.next()) {
allCatalog.add(rs.getString("TABLE_CAT"));
}
status.setInfo(mapper.writeValueAsString(allCatalog));
} catch (Throwable e) {
LoggerManager.getInstance().error(e);
status = Status.ERROR();
status.setInfo(e.getMessage());
} finally {
ResourceUtils.close(rs);
ResourceUtils.close(conn);
}
return status;
}
private static boolean resourceExists(String fileName) {
boolean result = false;
if (fileName == null || fileName.length() == 0) {
return result;
}
URL url = classLoader.getResource(fileName);
if (url != null) {
result = true;
}
return result;
}
private static boolean datasourceXmlValid() throws Exception {
boolean result = true;
Document document = XmlUtil.getDocument(DATASOURCE_XML);
if (document == null)
return false;
Element root = document.getRootElement();
List<Element> nodes = XmlUtil.getChildElements(root, DATASOURCE);
if (nodes == null || nodes.size() == 0)
return false;
Element node = nodes.get(0);
String userName = XmlUtil.getAttribute(node, DATASOURCE_USERNAME);
result &= (userName != null && userName.trim().length() > 0);
String password = XmlUtil.getAttribute(node, DATASOURCE_PASSWORD);
result &= (password != null && password.trim().length() > 0);
String url = XmlUtil.getAttribute(node, DATASOURCE_CONNECTION_URL);
result &= (url != null && url.trim().length() > 0);
return result;
}
private boolean tableConsistent(String catalog) throws Exception {
boolean result = false;
Set<String> catalogTableNames = BeanGetter.getSetupDBDao().getCatalogTableNames(catalog);
if (catalogTableNames == null || catalogTableNames.size() == 0) {
return result;
}
String scriptContent = getScriptContent(SCRIPT_FILE);
Set<String> scriptTableNames = getScriptTableNames(scriptContent);
result = true;
if (scriptTableNames != null && scriptTableNames.size() > 0) {
for (String tableName : scriptTableNames) {
if (!catalogTableNames.contains(tableName)) {
result = false;
break;
}
}
}
return result;
}
private Set<String> getScriptTableNames(String script) {
Set<String> set = new HashSet<>();
if (script == null || script.length() == 0) {
return set;
}
String[] array = script.toUpperCase().split(";");
for (int i = 0; i < array.length; i++) {
int beginIndex = array[i].indexOf(CREATE_TABLE);
if (beginIndex == -1) {
continue;
}
beginIndex += CREATE_TABLE.length();
int endIndex = array[i].indexOf("(");
String temp = array[i].substring(beginIndex, endIndex);
String tableName = temp.replaceAll("`", "").trim();
if (tableName != null && tableName.length() > 0) {
set.add(tableName);
}
}
return set;
}
private boolean initializeDatasourceXml(String dbaddress, String dbport, String dbuser, String dbpassword,
String dbcatalog) throws Exception {
boolean result = false;
try {
String connectionUrl = String.format(jdbcUrlTemplate, dbaddress, dbport, dbcatalog);
Document document = DocumentHelper.createDocument();
Element root = document.addElement("Datasources");
root.addElement("Datasource").addAttribute(DATASOURCE_NAME, LOGIC_DBNAME)
.addAttribute(DATASOURCE_USERNAME, dbuser).addAttribute(DATASOURCE_PASSWORD, dbpassword)
.addAttribute(DATASOURCE_CONNECTION_URL, connectionUrl)
.addAttribute(DATASOURCE_DRIVER_CLASS, DATASOURCE_MYSQL_DRIVER);
URL url = classLoader.getResource(WEB_XML);
String path = url.getPath().replace(WEB_XML, DATASOURCE_XML);
try (FileWriter fileWriter = new FileWriter(path)) {
XMLWriter writer = new XMLWriter(fileWriter);
writer.write(document);
writer.close();
}
DalClientFactory.getClient(LOGIC_DBNAME);
result = true;
} catch (Throwable e) {
throw e;
}
return result;
}
private String getScriptContent(String scriptPath) throws Exception {
if (scriptPath == null || scriptPath.length() == 0) {
return null;
}
InputStream inputStream = this.getClass().getClassLoader().getResourceAsStream(scriptPath);
InputStreamReader inputStreamReader = new InputStreamReader(inputStream);
BufferedReader bufferedReader = new BufferedReader(inputStreamReader);
StringBuffer stringBuffer = new StringBuffer();
String line = "";
while ((line = bufferedReader.readLine()) != null) {
stringBuffer.append(line);
}
bufferedReader.close();
inputStreamReader.close();
inputStream.close();
return stringBuffer.toString();
}
private boolean setupTables() throws Exception {
boolean scriptExists = resourceExists(SCRIPT_FILE);
if (!scriptExists) {
throw new Exception("script.sql not found.");
}
String scriptContent = getScriptContent(SCRIPT_FILE);
return BeanGetter.getSetupDBDao().executeSqlScript(scriptContent);
}
private boolean setupAdmin(DalGroup dalGroup, LoginUser user) throws Exception {
boolean result = false;
String groupName = dalGroup.getGroup_name();
if (groupName == null || groupName.isEmpty()) {
return result;
}
String userName = user.getUserName();
if (userName == null || userName.isEmpty()) {
return result;
}
int userResult = BeanGetter.getDaoOfLoginUser().insertUser(user);
if (userResult <= 0) {
return result;
}
user = BeanGetter.getDaoOfLoginUser().getUserByNo(user.getUserNo());
DalGroup group = new DalGroup();
group.setId(DalGroupResource.SUPER_GROUP_ID);
group.setGroup_name(dalGroup.getGroup_name());
group.setGroup_comment(dalGroup.getGroup_comment());
group.setCreate_user_no(user.getUserNo());
group.setCreate_time(new Timestamp(System.currentTimeMillis()));
int groupResult = BeanGetter.getDaoOfDalGroup().insertDalGroup(group);
if (groupResult <= 0) {
return result;
}
int userGroupResult = BeanGetter.getDalUserGroupDao().insertUserGroup(user.getId(),
DalGroupResource.SUPER_GROUP_ID, RoleType.Admin.getValue(), AddUser.Allow.getValue());
if (userGroupResult <= 0) {
return result;
}
return true;
}
}
```
|
```xml
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE module PUBLIC
"-//Puppy Crawl//DTD Check Configuration 1.2//EN"
"path_to_url">
<!--
Checkstyle Configuration
Severity: HARD
-->
<module name="Checker">
<!-- Checks whether files end with a new line. -->
<!-- See path_to_url#NewlineAtEndOfFile -->
<module name="NewlineAtEndOfFile">
<property name="severity" value="ignore" />
</module>
<!-- Checks that property files contain the same keys. -->
<!-- See path_to_url#Translation -->
<module name="Translation" />
<!-- Checks for Size Violations. -->
<!-- See path_to_url -->
<module name="FileLength" />
<!-- Checks for whitespace -->
<!-- See path_to_url -->
<module name="FileTabCharacter" />
<!-- Miscellaneous other checks. -->
<!-- See path_to_url -->
<module name="RegexpSingleline">
<property name="format" value="\s+$" />
<property name="minimum" value="0" />
<property name="maximum" value="0" />
<property name="message" value="Line has trailing spaces." />
<property name="severity" value="info" />
</module>
<module name="TreeWalker">
<!-- Checks for Javadoc comments. -->
<!-- See path_to_url -->
<module name="JavadocMethod">
<property name="scope" value="package" />
<property name="allowMissingParamTags" value="true" />
<property name="allowMissingThrowsTags" value="true" />
<property name="allowMissingReturnTag" value="true" />
<property name="allowThrowsTagsForSubclasses" value="true" />
<property name="allowUndeclaredRTE" value="true" />
<property name="allowMissingPropertyJavadoc" value="true" />
<property name="severity" value="ignore" />
</module>
<module name="JavadocType">
<property name="scope" value="package" />
<property name="severity" value="ignore" />
</module>
<module name="JavadocVariable">
<property name="scope" value="package" />
<property name="severity" value="ignore" />
</module>
<module name="JavadocStyle">
<property name="checkEmptyJavadoc" value="true" />
<property name="severity" value="ignore" />
</module>
<!-- Checks for Naming Conventions. -->
<!-- See path_to_url -->
<module name="ConstantName" />
<module name="LocalFinalVariableName" />
<module name="LocalVariableName" />
<module name="MemberName" />
<module name="MethodName" />
<module name="PackageName" />
<module name="ParameterName" />
<module name="StaticVariableName" />
<module name="TypeName" />
<!-- Checks for imports -->
<!-- See path_to_url -->
<module name="AvoidStarImport" />
<module name="IllegalImport" />
<!-- defaults to sun.* packages -->
<module name="RedundantImport" />
<module name="UnusedImports" />
<!-- Checks for Size Violations. -->
<!-- See path_to_url -->
<module name="LineLength">
<!-- what is a good max value? -->
<property name="max" value="150" />
<!-- ignore lines like "$File: //depot/... $" -->
<property name="ignorePattern" value="\$File.*\$" />
<property name="severity" value="info" />
</module>
<module name="MethodLength" />
<module name="ParameterNumber" />
<!-- Checks for whitespace -->
<!-- See path_to_url -->
<module name="EmptyForIteratorPad" />
<module name="GenericWhitespace" />
<module name="MethodParamPad" />
<module name="NoWhitespaceAfter">
<property name="tokens" value="INC, DEC, UNARY_MINUS, UNARY_PLUS, BNOT, LNOT, DOT, ARRAY_DECLARATOR, INDEX_OP" />
</module>
<module name="NoWhitespaceBefore" />
<module name="OperatorWrap">
<property name="option" value="eol"/>
</module>
<module name="ParenPad" />
<module name="TypecastParenPad" />
<module name="WhitespaceAfter" />
<module name="WhitespaceAround" />
<!-- Modifier Checks -->
<!-- See path_to_url -->
<module name="ModifierOrder" />
<module name="RedundantModifier" />
<!-- Checks for blocks. You know, those {}'s -->
<!-- See path_to_url -->
<module name="AvoidNestedBlocks" />
<module name="EmptyBlock">
<property name="option" value="text" />
</module>
<module name="LeftCurly" />
<module name="NeedBraces">
<!-- cannot initialize module TreeWalker - Property 'allowSingleLineIf' in module NeedBraces does not exist, please check the documentation -->
<!-- u wot m8 -->
<!--<property name="allowSingleLineIf" value="TRUE" />-->
<property name="severity" value="ignore" />
</module>
<module name="RightCurly" />
<!-- Checks for common coding problems -->
<!-- See path_to_url -->
<module name="EmptyStatement" />
<module name="EqualsHashCode">
<property name="severity" value="ignore" />
</module>
<module name="HiddenField">
<property name="severity" value="ignore" />
</module>
<module name="IllegalInstantiation" />
<module name="InnerAssignment" />
<module name="MagicNumber">
<property name="severity" value="ignore" />
</module>
<module name="MissingSwitchDefault">
<property name="severity" value="ignore" />
</module>
<module name="SimplifyBooleanExpression" />
<module name="SimplifyBooleanReturn" />
<!-- Checks for class design -->
<!-- See path_to_url -->
<module name="FinalClass" />
<module name="HideUtilityClassConstructor" />
<module name="InterfaceIsType" />
<module name="VisibilityModifier">
<property name="severity" value="ignore" />
</module>
<!-- Miscellaneous other checks. -->
<!-- See path_to_url -->
<module name="ArrayTypeStyle" />
<module name="TodoComment">
<property name="format" value="(?i)\s+TODO\s+" />
<property name="severity" value="info" />
</module>
<module name="TodoComment">
<property name="format" value="(?i)\s+CR\s+" />
<property name="severity" value="info" />
</module>
<module name="UpperEll" />
</module>
<!-- Enable suppression comments -->
<module name="SuppressionCommentFilter">
<property name="offCommentFormat" value="CHECKSTYLE IGNORE\s+(\S+)" />
<property name="onCommentFormat" value="CHECKSTYLE END IGNORE\s+(\S+)" />
<property name="checkFormat" value="$1" />
</module>
<module name="SuppressWithNearbyCommentFilter">
<property name="commentFormat" value="SUPPRESS CHECKSTYLE (\w+)" />
<property name="checkFormat" value="$1" />
<property name="influenceFormat" value="1" />
</module>
</module>
```
|
Borovitsa or Borowica (cyrillic ) is the name of several places in Slavic countries:
Bulgaria ()
Borovitsa, Kardzhali Province, a village
Borovitsa, Vidin Province, a village
, tributary of the Arda
, touristic mountain hostel on Kardzhali Reservoir, named after the river
, Kardzhali Province, on the Borovitsa river
Poland
Borowica, Lower Silesian Voivodeship (south-west Poland)
Borowica, Lublin Voivodeship (east Poland)
Russia ()
, village in Luzsky District, Kirov oblast
, village in Murashinsky District, Kirov oblast
, village in Slobodskoy District, Kirov oblast
Borovitsa, Nizhny Novgorod Oblast, village in Borsky District, Nizhny Novgorod oblast
, village in Usvyatsky District, Pskov oblast
, tributary of Voronezh River
, tributary of Kubena River
Ukraine ()
, village in Korosten Raion, Zhytomyr Oblast
, village in Cherkasy Raion, Cherkasy Oblast
See also
Borovica (disambiguation), Serbo-Croatian toponym
Borovichi, a city in Russia
Borovička, a juniper brandy from Slovakia
Boroviće (disambiguation)
Borowitz (disambiguation)
|
Jude Idada is a Nigerian actor, poet, playwright and producer best known for writing the feature film, The Tenant. He has also produced and written several other short films and books.
Early life and education
Idada, a descent of Edo, was born and raised in Lagos, Nigeria.
Idada was a pure science student in high school without any background in the arts. He initially applied to study medicine in the university but later, he changed his course of study to agricultural economics. After a couple of semesters in agriculture, Idada quit studying agricultural economics and stayed at home for nine months after which, he got admitted to the University of Ibadan to study theater arts where he had his first degree.
Career
After graduation, Idada worked at Guardian Express Bank, a job he got while he was still a corps member after which he moved to Arthur Andersen. He immigrated to Canada, did a postgraduate and worked in banks, telecommunication firms and along that line. After seeing a short film with friends, he resigned his job to pursue writing and film production.
He was selected as one of the screenwriters for the Toronto International Film Festival's Adapt This! and the Afrinolly/Ford Foundation Cinema4Change projects. Idada was also an inaugural participant in the Relativity Media/AFRIFF Filmmaking project.
He is the Artistic director of the Africa Theatre Ensemble in Toronto, Canada. Idada has stage plays, collection of short stories, poetry to his credit. Stage plays: Flood, Brixton Stories, Lost and Coma, 3some. He has also written and published a collection of short stories: A Box of Chocolates, Exotica Celestica. Written and directed Stage plays: Oduduwa – King of the Edos, By My Own Hands and a children's book Didi Kanu and the Singing Dwarfs of the North.
As an acting coach, Idada teaches a wide variety of thespians, the rudiments and technicalities of acting for stage and for film. He has also guest lectured for the African Theatre Ensemble in Canada, the Mofilm/Unilever Sunlight Foundation Film Project in Nigeria, the AIDS foundation in Guyana and also chaired several panels at International Film Festivals and writing for various magazines.
Filmography
Film
Chameleon (Short Film) – 2016 – Writer/Director
Blaze Up The Ghetto (Documentary) – 2010 – Director
The Tenant (Feature Film) – 2005 – Writer/Producer
Inside (Short Film) – 2000 – Director/Producer
The Woman in my Closet – (Short Film) – 1999 – Director/Producer
Young Wise Fools – (Short Film) – 1999 – Director/Producer
Stage plays
3some by Idada – 2018 – Director/Producer
Coma by Idada – 2013 – Director
Lost by Modupe Olaogun – 2013 – Director
Brixton Stories by Biyi Bandele – 2012 – Director
The Flood by Femi Osofisan – 2011 – Director
In The Name of The Father – 2008 – Writer/Director
The Seed of Life – 2008 – Writer/Director
Love is the Word – 2007 – Writer/Director
Your God is Dead – 2000 – Director/Writer/Producer
Power of Love – 1999 – Director/Writer/Producer
Snares of Lucifer – 1998 – Director/Writer/Producer
Writing credits
Screenplays
Simi (feature film) – 2016 – For Applegazer and Karmacause Productions, producer, Udoka Oyeka
Tatu (Feature film) – 2016 – For Filmhouse Productions, producer, Don Omope
The River (feature film) – 2015 – For Applegazer and Karmacause Productions, Producer Orode Uduaghan
House Girls (TV Series) – 2015 – For Xandria Productions; Producers, Chineze Anyaene, Theophilus Ukpaa.
Driving Mr Akin (feature film) – 2015 – For Xandra Productions, producer, Chineze Anyaene.
Doctor Death (feature film) – 2014 – For Raconteur/Creoternity Productions, Producer Chioma Onyenwe
The Road (Short film) – 2014 – For Afrinolly/Ford Foundation
Justice (Short film) – 2014 – For Elvina Ibru Productions
Sunshine (feature film) – 2013
Coma (Feature Film) – 2012 – For I Take Media, Producers, Fabian Lojede, Mickey Dube
Journeys of One (Feature Film) – 2011 – For Omcomm Communications, Producer; Soledad Grognett
Lagos Connection (Feature Film) – 2011 – For 1 Take Media, Producer; Fabian Lojede
Afreeka (Feature Film) – 2010
The Drum (Feature Film) – 2010
Sex in the Age of Innocence (Feature Film) – 2009
No More An Uncle Tom (Feature Film) – 2009
The Dilemma (Feature Film) – 2008
Ghetto Red Hot (Feature Film) – 2007 – (Optioned)
Mirage (Feature Film) – 2006
Kite (Feature Film) – 2006 – for NTFG Productions, Producer Yifei Zhang
The Tenant (Feature Film) – 2005 – released 2008 by Broken Manacles Entertainment
Somewhere in Between (Feature Film) – 2005 (Optioned)
Faces of a Coin (Feature Film) – 2004 (Optioned)
Inside – (Short Film) – 2000
The Woman in my Closet – (Short Film) – 1999
Young Wise Fools – (Short Film) – 1999
Two Faces of a Coin (Short Film) – 1998
Stage plays
Sankara – 2016 – Commissioned by G.R.I.P media
MKO – 2016 – Commissioned by the MKO Abiola family
3some – 2016 – Optioned by Make It Happen Productions
The March – 2016 – Optioned by Theatre Magnifica
Resurrection – 2014 – Optioned by Oracles Repertory Theatre
The Calling – 2013 – Commissioned by African Theatre Ensemble
Coma – 2012 – Optioned by Oracles Repertory Theatre
In The Name of The Father – 2008 – Performed by the Visionaries
The Seed of Life – 2008 – Performed by the Visionaires
Love is the Word – 2007 – Performed by the Visionaires
Vendetta – 2006 – Optioned by the Africa Theatre Ensemble
Oduduwa "King of the Edos" – 2005 – Performed by the Oracle Repertory Theatre
Published by Createspace/Creoternity Books
Power of Love – 1994 – Performed by Neighbours International
Your God is Dead – 1994 – Performed by Neighbours International
Snares of Lucifer – 1993 – Performed by Neighbours International
Novels
More than Comedy (A Biography of Efosa ‘Efex’ Iyamu) – 2015
Didi Kanu and the Singing Dwarfs of the North – 2015- Createspace/Creoternity Books
By My Own Hands – 2014 – Createspace/Creoternity Books
A Box of Chocolates – 2005 – Trafford Publishing (Collection of Short Stories)
Boom Boom – 2019 – Winepress Publishing
Poetry
Exotica Celestica – 2012 – Createspace/Creoternity Books
Meditations of a Traveling Mind – 2004
Oh My Lord! – 1992
Songs
Firefly – 2016 – Chibie; Producer: Brian Quaye, Chibie Okoye
Life is Sweet– 2013 – Chibie; Producer: Jeff McCulloch
Speed Demon – 2013– Chibie; Producer: Jeff McCulloch
Revolution – 2013 – Chibie; Producer: Soji Oyinsan
I No Be Tenant – 2010 – Blacko Blaze ft Chibie; Producer: Blacko Blaze, Released by Broken Manacles Entertainment
Acting credits
8 Bars and A Clef (Feature Film) – Dir Chioma Onyenwe – 2014
The Tenant (Feature Film) – Dir Lucky Ejim – 2006
Death and the Kings Horseman (Stage Play) – Dir Ronald Wiehs – 2004
The Prize (Stage Play) – Dir Lekan Fagbade – 2000
Inside (Short Film) – Dir Idada – 2000
Ezenwanyi (Stage Play) – Dir Chetachukwu Udo – Ukpai – 1999
The Woman in my Closet (Short Film) – Dir Idada – 1999
Young Wise Fools ( Short Film) – Dir Idada – 1999
Doom (Stage Play) – Dir Yacoub Adeleke – 1997
Grip Am (Stage Play) – Dir Dare Fasasi – 1997
Hopes of the Living Dead (Stage Play) – Dir Lekan Fagbade – 1998
Queen Idia (Stage Play) – Dir Israel Eboh −1998
Human Zoo (Stage Play) – Dir Dare Fasasi – 1997
Snares of Lucifer (Stage Play) – Dir Idada, Ifeanyi Agu – 1993, 1997
Your God is Dead (Stage Play) – Dir Idada – 1994
Power of Love (Stage Play)- Dir Idada – 1994, 1999
Eku (Stage Play) – Dir Wale Macaulay – 1995
Atakiti (Stage Play) – Dir Esikinni Olusanyin – 1995
Awards and recognition
References
External links
Nigerian screenwriters
Living people
People from Edo State
University of Ibadan alumni
Nigerian film directors
Year of birth missing (living people)
Nigerian film producers
Filmmakers from Lagos
|
```go
//go:build (nodejs || all) && !xplatform_acceptance
package ints
import (
"testing"
"github.com/pulumi/pulumi/pkg/v3/testing/integration"
)
// TestQuery creates a stack and runs a query over the stack's resource outputs.
//
//nolint:paralleltest // ProgramTest calls t.Parallel()
func TestQuery(t *testing.T) {
integration.ProgramTest(t, &integration.ProgramTestOptions{
// Create Pulumi resources.
Dir: "step1",
StackName: "query-stack-781a480a-fcac-4e5a-ab08-a73bc8cbcdd2",
Dependencies: []string{"@pulumi/pulumi"},
CloudURL: integration.MakeTempBackend(t), // Required; we hard-code the stack name
EditDirs: []integration.EditDir{
// Try to create resources during `pulumi query`. This should fail.
{
Dir: "step2",
Additive: true,
QueryMode: true,
ExpectFailure: true,
},
// Run a query during `pulumi query`. Should succeed.
{
Dir: "step3",
Additive: true,
QueryMode: true,
ExpectFailure: false,
},
},
})
}
```
|
María Margarita Suárez Sierra (January 5, 1936 – September 6, 1963), better known as Margarita Sierra, was a Spanish-American singer, dancer, and actress perhaps best known for her supporting role as the nightclub-singing Cha Cha O'Brien on the early 1960s ABC/Warner Bros. television series, Surfside 6, with Troy Donahue, Van Williams, Lee Patterson, and Diane McBain.
Episodes of Surfside 6 often featured Sierra singing, usually in English, but occasionally in Spanish. "The Cha Cha Twist", a song featured during the show's second and final season, was released as a single on Warner Bros. Records, but did not enter the Billboard Top 100 chart.
Sierra died in Hollywood, California, in 1963 at the age of 27, from complications following heart surgery performed a day earlier. She is interred at Holy Cross Cemetery in Culver City.
Television
1957: Tonight Starring Jack Paar, guest appearance
1960–1962: Surfside 6, nightclub singer Cha Cha O'Brien
References
External links
Margarita Sierra – The Private Life and Times of Margarita Sierra
Margarita Sierra bio
Classic TV & Movie Hits – Margarita Sierra
1936 births
1963 deaths
Spanish women singers
Spanish actresses
Singers from Madrid
Actresses from Los Angeles
Burials at Holy Cross Cemetery, Culver City
Warner Bros. contract players
Singers from Los Angeles
20th-century American actresses
20th-century American singers
20th-century Spanish musicians
20th-century American women singers
20th-century Spanish women
|
Nanojapyx pagesi is a species of forcepstail in the family Japygidae. It is found in North America.
References
Diplura
Articles created by Qbugbot
Animals described in 1959
|
```python
#
#
# 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 os
import unittest
import numpy as np
from op_test import convert_float_to_uint16, convert_uint16_to_float
import paddle
from paddle import base
from paddle.base import core
def np_sinc(x: np.ndarray):
tmp = np.sinc(x)
return np.where(~np.isnan(tmp), tmp, np.full_like(x, 1.0))
def np_sinc_gradient(x: np.ndarray):
x = np.pi * np.where(x == 0, 1.0e-20, x)
s = np.sin(x)
c = np.cos(x)
tmp = np.pi * (x * c - s) / x**2
return np.where(~np.isnan(tmp), tmp, np.full_like(x, 0.0))
class TestSincAPI(unittest.TestCase):
def setUp(self):
self.support_dtypes = [
'float32',
'float64',
]
self.place = []
if (
os.environ.get('FLAGS_CI_both_cpu_and_gpu', 'False').lower()
in ['1', 'true', 'on']
or not core.is_compiled_with_cuda()
):
self.place.append(paddle.CPUPlace())
if core.is_compiled_with_cuda():
self.place.append(paddle.CUDAPlace(0))
self.shapes = [[6], [16, 64]]
def test_dtype(self):
def run_dygraph(place):
paddle.disable_static(place)
for dtype in self.support_dtypes:
for shape in self.shapes:
x_data = np.random.rand(*shape).astype(dtype)
x = paddle.to_tensor(x_data)
x.stop_gradient = False
out = paddle.sinc(x)
out.backward()
x_grad = x.grad
out_expected = np_sinc(x_data)
np_grad_expected = np_sinc_gradient(x_data)
np.testing.assert_allclose(
out.numpy(), out_expected, rtol=1e-6, atol=1e-6
)
np.testing.assert_allclose(
x_grad.numpy(), np_grad_expected, rtol=1e-6, atol=0.02
)
def run_static(place):
paddle.enable_static()
for dtype in self.support_dtypes:
for shape in self.shapes:
x_data = np.random.rand(*shape).astype(dtype)
startup_program = paddle.static.Program()
main_program = paddle.static.Program()
exe = base.Executor(place)
with paddle.static.program_guard(
main_program, startup_program
):
x = paddle.static.data(
name='x', shape=shape, dtype=dtype
)
x.stop_gradient = False
res = paddle.sinc(x)
x_grad = paddle.static.gradients(res, x)
[static_result, static_grad_result] = exe.run(
feed={'x': x_data}, fetch_list=[res, x_grad]
)
out_expected = np_sinc(x_data)
np_grad_expected = np_sinc_gradient(x_data)
np.testing.assert_allclose(
static_result, out_expected, rtol=1e-6, atol=1e-6
)
np.testing.assert_allclose(
static_grad_result,
np_grad_expected,
rtol=1e-6,
atol=0.02,
)
for place in self.place:
run_dygraph(place)
run_static(place)
def test_zero(self):
def run_dygraph(place):
paddle.disable_static(place)
for dtype in self.support_dtypes:
for shape in self.shapes:
x_data = np.random.rand(*shape).astype(dtype)
mask = (
(np.random.rand(*shape) > 0.5)
.astype('int')
.astype(dtype)
)
x_data = x_data * mask
x = paddle.to_tensor(x_data)
x.stop_gradient = False
out = paddle.sinc(x)
out.backward()
x_grad = x.grad
out_expected = np_sinc(x_data)
np_grad_expected = np_sinc_gradient(x_data)
np.testing.assert_allclose(
out.numpy(), out_expected, rtol=1e-6, atol=1e-6
)
np.testing.assert_allclose(
x_grad.numpy(), np_grad_expected, rtol=1e-6, atol=0.02
)
for place in self.place:
run_dygraph(place)
def test_input_type_error(self):
with self.assertRaises(TypeError):
x = np.random.rand(6).astype('float32')
x = paddle.sinc(x)
def test_input_dype_error(self):
paddle.enable_static()
place = paddle.CPUPlace()
with self.assertRaises(TypeError):
x_data = np.random.rand(6).astype('int32')
startup_program = paddle.static.Program()
main_program = paddle.static.Program()
exe = base.Executor(place)
with paddle.static.program_guard(main_program, startup_program):
x = paddle.static.data(name='x', shape=[6], dtype='int32')
res = paddle.sinc(x)
static_result = exe.run(feed={'x': x_data}, fetch_list=[res])[0]
with self.assertRaises(TypeError):
x_data = np.random.rand(6).astype('int64')
startup_program = paddle.static.Program()
main_program = paddle.static.Program()
exe = base.Executor(place)
with paddle.static.program_guard(main_program, startup_program):
x = paddle.static.data(name='x', shape=[6], dtype='int64')
res = paddle.sinc(x)
static_result = exe.run(feed={'x': x_data}, fetch_list=[res])[0]
class TestSincInplaceAPI(unittest.TestCase):
def setUp(self):
self.support_dtypes = [
'float32',
'float64',
]
self.place = []
if (
os.environ.get('FLAGS_CI_both_cpu_and_gpu', 'False').lower()
in ['1', 'true', 'on']
or not core.is_compiled_with_cuda()
):
self.place.append(paddle.CPUPlace())
if core.is_compiled_with_cuda():
self.place.append(paddle.CUDAPlace(0))
self.shapes = [[6], [16, 64]]
def test_inplace(self):
def run_dygraph(place):
paddle.disable_static(place)
for dtype in self.support_dtypes:
for shape in self.shapes:
x_data = np.random.rand(*shape).astype(dtype)
x = paddle.to_tensor(x_data)
paddle.sinc_(x)
out_expected = np_sinc(x_data)
np.testing.assert_allclose(
x.numpy(), out_expected, rtol=1e-6, atol=1e-6
)
for place in self.place:
run_dygraph(place)
def test_inplace_input_type_error(self):
with self.assertRaises(TypeError):
x = np.random.rand(6).astype('float32')
paddle.sinc_(x)
@unittest.skipIf(
not core.is_compiled_with_cuda()
or not core.is_float16_supported(core.CUDAPlace(0)),
"core is not compiled with CUDA and not support the float16",
)
class TestSincAPIFP16(unittest.TestCase):
def setUp(self):
self.shapes = [[6], [16, 64]]
self.dtype = 'float16'
self.place = paddle.CUDAPlace(0)
def test_dtype(self):
def run_static(place):
paddle.enable_static()
for shape in self.shapes:
x_data = np.random.rand(*shape).astype(self.dtype)
startup_program = paddle.static.Program()
main_program = paddle.static.Program()
exe = base.Executor(place)
with paddle.static.program_guard(main_program, startup_program):
x = paddle.static.data(
name='x', shape=shape, dtype=self.dtype
)
x.stop_gradient = False
res = paddle.sinc(x)
x_grad = paddle.static.gradients(res, x)
[static_result, static_grad_result] = exe.run(
feed={'x': x_data}, fetch_list=[res, x_grad]
)
out_expected = np_sinc(x_data)
np_grad_expected = np_sinc_gradient(x_data)
np.testing.assert_allclose(
static_result, out_expected, rtol=1e-6, atol=1e-6
)
np.testing.assert_allclose(
static_grad_result, np_grad_expected, rtol=0.1, atol=0.1
)
run_static(self.place)
def test_zero(self):
def run_static(place):
paddle.enable_static()
for shape in self.shapes:
x_data = np.random.rand(*shape).astype(self.dtype)
mask = (
(np.random.rand(*shape) > 0.5)
.astype('int')
.astype(self.dtype)
)
x_data = x_data * mask
startup_program = paddle.static.Program()
main_program = paddle.static.Program()
exe = base.Executor(place)
with paddle.static.program_guard(main_program, startup_program):
x = paddle.static.data(
name='x', shape=shape, dtype=self.dtype
)
x.stop_gradient = False
res = paddle.sinc(x)
x_grad = paddle.static.gradients(res, x)
[static_result, static_grad_result] = exe.run(
feed={'x': x_data}, fetch_list=[res, x_grad]
)
out_expected = np_sinc(x_data)
np_grad_expected = np_sinc_gradient(x_data)
np.testing.assert_allclose(
static_result, out_expected, rtol=1e-6, atol=1e-6
)
np.testing.assert_allclose(
static_grad_result, np_grad_expected, rtol=0.1, atol=0.1
)
run_static(self.place)
@unittest.skipIf(
not core.is_compiled_with_cuda()
or not core.is_bfloat16_supported(core.CUDAPlace(0)),
"core is not compiled with CUDA and not support the bfloat16",
)
class TestSincAPIBF16(unittest.TestCase):
def setUp(self):
self.shapes = [[6], [16, 64]]
self.dtype = 'uint16'
self.place = paddle.CUDAPlace(0)
def test_dtype(self):
def run(place):
paddle.enable_static()
for shape in self.shapes:
x_data_np = np.random.rand(*shape).astype('float32')
x_data = convert_float_to_uint16(x_data_np)
startup_program = paddle.static.Program()
main_program = paddle.static.Program()
exe = base.Executor(place)
with paddle.static.program_guard(main_program, startup_program):
x = paddle.static.data(
name='x', shape=shape, dtype=self.dtype
)
x.stop_gradient = False
res = paddle.sinc(x)
x_grad = paddle.static.gradients(res, x)
[static_result, static_grad_result] = exe.run(
feed={'x': x_data}, fetch_list=[res, x_grad]
)
out_expected = np_sinc(x_data_np)
np_grad_expected = np_sinc_gradient(x_data_np)
result = convert_uint16_to_float(static_result)
grad_result = convert_uint16_to_float(static_grad_result)
np.testing.assert_allclose(
result, out_expected, rtol=1e-3, atol=1e-2
)
np.testing.assert_allclose(
grad_result, np_grad_expected, atol=0.2
)
run(self.place)
def test_zero(self):
def run(place):
paddle.enable_static()
for shape in self.shapes:
x_data_np = np.random.rand(*shape).astype('float32')
mask = (
(np.random.rand(*shape) > 0.5)
.astype('int')
.astype('float32')
)
x_data_np = x_data_np * mask
x_data = convert_float_to_uint16(x_data_np)
startup_program = paddle.static.Program()
main_program = paddle.static.Program()
exe = base.Executor(place)
with paddle.static.program_guard(main_program, startup_program):
x = paddle.static.data(
name='x', shape=shape, dtype=self.dtype
)
x.stop_gradient = False
res = paddle.sinc(x)
x_grad = paddle.static.gradients(res, x)
[static_result, static_grad_result] = exe.run(
feed={'x': x_data}, fetch_list=[res, x_grad]
)
out_expected = np_sinc(x_data_np)
np_grad_expected = np_sinc_gradient(x_data_np)
result = convert_uint16_to_float(static_result)
grad_result = convert_uint16_to_float(static_grad_result)
np.testing.assert_allclose(
result, out_expected, rtol=1e-3, atol=1e-2
)
np.testing.assert_allclose(
grad_result, np_grad_expected, atol=0.2
)
run(self.place)
if __name__ == "__main__":
unittest.main()
```
|
```smalltalk
// <copyright file="IMetricsConfigurationBuilder.cs" company="App Metrics Contributors">
// </copyright>
using System;
using System.Collections.Generic;
// ReSharper disable CheckNamespace
namespace App.Metrics
// ReSharper restore CheckNamespace
{
public interface IMetricsConfigurationBuilder
{
/// <summary>
/// Gets the <see cref="IMetricsBuilder"/> where App Metrics is configured.
/// </summary>
IMetricsBuilder Builder { get; }
/// <summary>
/// Uses the specifed <see cref="MetricsOptions" /> instance for App Metrics core configuration.
/// </summary>
/// <param name="options">An <see cref="MetricsOptions" /> instance used to configure core App Metrics options.</param>
/// <returns>
/// An <see cref="IMetricsBuilder" /> that can be used to further configure App Metrics.
/// </returns>
IMetricsBuilder Configure(MetricsOptions options);
/// <summary>
/// <para>
/// Uses the specifed key value pairs to configure an <see cref="MetricsOptions" /> instance for App Metrics core
/// configuration.
/// </para>
/// <para>
/// Keys match the <see cref="MetricsOptions" />s property names.
/// </para>
/// </summary>
/// <param name="optionValues">Key value pairs for configuring App Metrics</param>
/// <returns>
/// An <see cref="IMetricsBuilder" /> that can be used to further configure App Metrics.
/// </returns>
IMetricsBuilder Configure(IEnumerable<KeyValuePair<string, string>> optionValues);
/// <summary>
/// <para>
/// Uses the specifed key value pairs to configure an <see cref="MetricsOptions" /> instance for App Metrics core
/// configuration.
/// </para>
/// <para>
/// Keys match the <see cref="MetricsOptions" />s property names. Any make key will override the
/// <see cref="MetricsOptions" /> value configured.
/// </para>
/// </summary>
/// <param name="options">An <see cref="MetricsOptions" /> instance used to configure core App Metrics options.</param>
/// <param name="optionValues">Key value pairs for configuring App Metrics</param>
/// <returns>
/// An <see cref="IMetricsBuilder" /> that can be used to further configure App Metrics.
/// </returns>
IMetricsBuilder Configure(MetricsOptions options, IEnumerable<KeyValuePair<string, string>> optionValues);
/// <summary>
/// <para>
/// Uses the specifed key value pairs to configure an <see cref="MetricsOptions" /> instance for App Metrics core
/// configuration.
/// </para>
/// <para>
/// Keys match the <see cref="MetricsOptions" />s property names. Any make key will override the
/// <see cref="MetricsOptions" /> value configured.
/// </para>
/// </summary>
/// <param name="setupAction">An <see cref="MetricsOptions" /> setup action used to configure core App Metrics options.</param>
/// <returns>
/// An <see cref="IMetricsBuilder" /> that can be used to further configure App Metrics.
/// </returns>
IMetricsBuilder Configure(Action<MetricsOptions> setupAction);
/// <summary>
/// Merges the specifed <see cref="MetricsOptions" /> instance with any previously configured options.
/// </summary>
/// <param name="options">An <see cref="MetricsOptions" /> instance used to configure core App Metrics options.</param>
/// <returns>
/// An <see cref="IMetricsBuilder" /> that can be used to further configure App Metrics.
/// </returns>
IMetricsBuilder Extend(MetricsOptions options);
/// <summary>
/// Merges the specifed <see cref="MetricsOptions" /> instance with any previously configured options.
/// </summary>
/// <param name="optionValues">An <see cref="KeyValuePair{TKey,TValue}"/> used to configure core App Metrics options.</param>
/// <returns>
/// An <see cref="IMetricsBuilder" /> that can be used to further configure App Metrics.
/// </returns>
IMetricsBuilder Extend(IEnumerable<KeyValuePair<string, string>> optionValues);
}
}
```
|
```c
/*
*
* in the file LICENSE in the source distribution or at
* path_to_url
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "internal/cryptlib.h"
#include <openssl/cmac.h>
struct CMAC_CTX_st {
/* Cipher context to use */
EVP_CIPHER_CTX *cctx;
/* Keys k1 and k2 */
unsigned char k1[EVP_MAX_BLOCK_LENGTH];
unsigned char k2[EVP_MAX_BLOCK_LENGTH];
/* Temporary block */
unsigned char tbl[EVP_MAX_BLOCK_LENGTH];
/* Last (possibly partial) block */
unsigned char last_block[EVP_MAX_BLOCK_LENGTH];
/* Number of bytes in last block: -1 means context not initialised */
int nlast_block;
};
/* Make temporary keys K1 and K2 */
static void make_kn(unsigned char *k1, const unsigned char *l, int bl)
{
int i;
unsigned char c = l[0], carry = c >> 7, cnext;
/* Shift block to left, including carry */
for (i = 0; i < bl - 1; i++, c = cnext)
k1[i] = (c << 1) | ((cnext = l[i + 1]) >> 7);
/* If MSB set fixup with R */
k1[i] = (c << 1) ^ ((0 - carry) & (bl == 16 ? 0x87 : 0x1b));
}
CMAC_CTX *CMAC_CTX_new(void)
{
CMAC_CTX *ctx;
ctx = OPENSSL_malloc(sizeof(*ctx));
if (ctx == NULL)
return NULL;
ctx->cctx = EVP_CIPHER_CTX_new();
if (ctx->cctx == NULL) {
OPENSSL_free(ctx);
return NULL;
}
ctx->nlast_block = -1;
return ctx;
}
void CMAC_CTX_cleanup(CMAC_CTX *ctx)
{
EVP_CIPHER_CTX_reset(ctx->cctx);
OPENSSL_cleanse(ctx->tbl, EVP_MAX_BLOCK_LENGTH);
OPENSSL_cleanse(ctx->k1, EVP_MAX_BLOCK_LENGTH);
OPENSSL_cleanse(ctx->k2, EVP_MAX_BLOCK_LENGTH);
OPENSSL_cleanse(ctx->last_block, EVP_MAX_BLOCK_LENGTH);
ctx->nlast_block = -1;
}
EVP_CIPHER_CTX *CMAC_CTX_get0_cipher_ctx(CMAC_CTX *ctx)
{
return ctx->cctx;
}
void CMAC_CTX_free(CMAC_CTX *ctx)
{
if (!ctx)
return;
CMAC_CTX_cleanup(ctx);
EVP_CIPHER_CTX_free(ctx->cctx);
OPENSSL_free(ctx);
}
int CMAC_CTX_copy(CMAC_CTX *out, const CMAC_CTX *in)
{
int bl;
if (in->nlast_block == -1)
return 0;
if (!EVP_CIPHER_CTX_copy(out->cctx, in->cctx))
return 0;
bl = EVP_CIPHER_CTX_block_size(in->cctx);
memcpy(out->k1, in->k1, bl);
memcpy(out->k2, in->k2, bl);
memcpy(out->tbl, in->tbl, bl);
memcpy(out->last_block, in->last_block, bl);
out->nlast_block = in->nlast_block;
return 1;
}
int CMAC_Init(CMAC_CTX *ctx, const void *key, size_t keylen,
const EVP_CIPHER *cipher, ENGINE *impl)
{
static const unsigned char zero_iv[EVP_MAX_BLOCK_LENGTH] = { 0 };
/* All zeros means restart */
if (!key && !cipher && !impl && keylen == 0) {
/* Not initialised */
if (ctx->nlast_block == -1)
return 0;
if (!EVP_EncryptInit_ex(ctx->cctx, NULL, NULL, NULL, zero_iv))
return 0;
memset(ctx->tbl, 0, EVP_CIPHER_CTX_block_size(ctx->cctx));
ctx->nlast_block = 0;
return 1;
}
/* Initialise context */
if (cipher && !EVP_EncryptInit_ex(ctx->cctx, cipher, impl, NULL, NULL))
return 0;
/* Non-NULL key means initialisation complete */
if (key) {
int bl;
if (!EVP_CIPHER_CTX_cipher(ctx->cctx))
return 0;
if (!EVP_CIPHER_CTX_set_key_length(ctx->cctx, keylen))
return 0;
if (!EVP_EncryptInit_ex(ctx->cctx, NULL, NULL, key, zero_iv))
return 0;
bl = EVP_CIPHER_CTX_block_size(ctx->cctx);
if (!EVP_Cipher(ctx->cctx, ctx->tbl, zero_iv, bl))
return 0;
make_kn(ctx->k1, ctx->tbl, bl);
make_kn(ctx->k2, ctx->k1, bl);
OPENSSL_cleanse(ctx->tbl, bl);
/* Reset context again ready for first data block */
if (!EVP_EncryptInit_ex(ctx->cctx, NULL, NULL, NULL, zero_iv))
return 0;
/* Zero tbl so resume works */
memset(ctx->tbl, 0, bl);
ctx->nlast_block = 0;
}
return 1;
}
int CMAC_Update(CMAC_CTX *ctx, const void *in, size_t dlen)
{
const unsigned char *data = in;
size_t bl;
if (ctx->nlast_block == -1)
return 0;
if (dlen == 0)
return 1;
bl = EVP_CIPHER_CTX_block_size(ctx->cctx);
/* Copy into partial block if we need to */
if (ctx->nlast_block > 0) {
size_t nleft;
nleft = bl - ctx->nlast_block;
if (dlen < nleft)
nleft = dlen;
memcpy(ctx->last_block + ctx->nlast_block, data, nleft);
dlen -= nleft;
ctx->nlast_block += nleft;
/* If no more to process return */
if (dlen == 0)
return 1;
data += nleft;
/* Else not final block so encrypt it */
if (!EVP_Cipher(ctx->cctx, ctx->tbl, ctx->last_block, bl))
return 0;
}
/* Encrypt all but one of the complete blocks left */
while (dlen > bl) {
if (!EVP_Cipher(ctx->cctx, ctx->tbl, data, bl))
return 0;
dlen -= bl;
data += bl;
}
/* Copy any data left to last block buffer */
memcpy(ctx->last_block, data, dlen);
ctx->nlast_block = dlen;
return 1;
}
int CMAC_Final(CMAC_CTX *ctx, unsigned char *out, size_t *poutlen)
{
int i, bl, lb;
if (ctx->nlast_block == -1)
return 0;
bl = EVP_CIPHER_CTX_block_size(ctx->cctx);
*poutlen = (size_t)bl;
if (!out)
return 1;
lb = ctx->nlast_block;
/* Is last block complete? */
if (lb == bl) {
for (i = 0; i < bl; i++)
out[i] = ctx->last_block[i] ^ ctx->k1[i];
} else {
ctx->last_block[lb] = 0x80;
if (bl - lb > 1)
memset(ctx->last_block + lb + 1, 0, bl - lb - 1);
for (i = 0; i < bl; i++)
out[i] = ctx->last_block[i] ^ ctx->k2[i];
}
if (!EVP_Cipher(ctx->cctx, out, out, bl)) {
OPENSSL_cleanse(out, bl);
return 0;
}
return 1;
}
int CMAC_resume(CMAC_CTX *ctx)
{
if (ctx->nlast_block == -1)
return 0;
/*
* The buffer "tbl" contains the last fully encrypted block which is the
* last IV (or all zeroes if no last encrypted block). The last block has
* not been modified since CMAC_final(). So reinitialising using the last
* decrypted block will allow CMAC to continue after calling
* CMAC_Final().
*/
return EVP_EncryptInit_ex(ctx->cctx, NULL, NULL, NULL, ctx->tbl);
}
```
|
Aphoebantus desertus is a species of bee flies in the family Bombyliidae.
References
Bombyliidae
Articles created by Qbugbot
Insects described in 1891
|
```ocaml
(** Unit test for Transpose Convolution3D operations *)
open Owl_types
module N = Owl.Dense.Ndarray.S
(* Functions used in tests *)
let tolerance_f64 = 1e-8
let tolerance_f32 = 5e-4
let close a b = N.(sub a b |> abs |> sum') < tolerance_f32
let compute_trans_conv3d seq input_shape kernel_shape stride pad =
let inp = N.ones input_shape in
let kernel =
if seq = false then N.ones kernel_shape else N.sequential ~a:1. kernel_shape
in
N.transpose_conv3d ~padding:pad inp kernel stride
let compute_trans_conv3d_bi seq input_shape kernel_shape stride pad =
let inp = N.ones input_shape in
let kernel =
if seq = false then N.ones kernel_shape else N.sequential ~a:1. kernel_shape
in
let output = N.transpose_conv3d ~padding:pad inp kernel stride in
let os = N.shape output in
let output' = N.ones os in
N.transpose_conv3d_backward_input inp kernel stride output'
let compute_trans_conv3d_bk seq input_shape kernel_shape stride pad =
let inp = N.ones input_shape in
let kernel = N.ones kernel_shape in
let output = N.transpose_conv3d ~padding:pad inp kernel stride in
let os = N.shape output in
let output' = if seq = false then N.ones os else N.sequential ~a:1. os in
N.transpose_conv3d_backward_kernel inp kernel stride output'
let verify_value ?(seq = false) fn input_shape kernel_shape stride pad expected =
let a = fn seq input_shape kernel_shape stride pad in
let output_shape = N.shape a in
let b = N.of_array expected output_shape in
close a b
(* Test Transpose Convolution3D forward operation *)
module To_test_transpose_conv3d = struct
(* SingleStrideValid *)
let fun00 () =
let expected =
[| 1.0; 2.0; 3.0; 2.0; 1.0; 2.0; 4.0; 6.0; 4.0; 2.0; 3.0; 6.0; 9.0; 6.0; 3.0; 2.0
; 4.0; 6.0; 4.0; 2.0; 1.0; 2.0; 3.0; 2.0; 1.0 |]
in
verify_value
compute_trans_conv3d
[| 1; 3; 3; 1; 1 |]
[| 3; 3; 1; 1; 1 |]
[| 1; 1; 1 |]
VALID
expected
(* DifferentStrideSame *)
let fun01 () =
let expected = [| 2.; 2.; 4.; 2.; 2.; 2.; 4.; 2. |] in
verify_value
compute_trans_conv3d
[| 1; 2; 2; 1; 1 |]
[| 3; 3; 1; 1; 1 |]
[| 1; 2; 1 |]
SAME
expected
(* SingleKernelSame *)
let fun02 () =
let expected = [| 1.; 0.; 1.; 0.; 0.; 0.; 0.; 0. |] in
verify_value
compute_trans_conv3d
[| 1; 1; 2; 1; 1 |]
[| 1; 1; 1; 1; 1 |]
[| 2; 2; 1 |]
SAME
expected
(* SequantialKernelSame *)
let fun03 () =
let expected =
[| 1.0; 2.0; 4.0; 2.0; 4.0; 5.0; 10.0; 5.0; 8.0; 10.0; 20.0; 10.0; 4.0; 5.0; 10.0
; 5.0 |]
in
verify_value
compute_trans_conv3d
~seq:true
[| 1; 2; 2; 1; 1 |]
[| 3; 3; 1; 1; 1 |]
[| 2; 2; 1 |]
SAME
expected
(* WithDepthSame *)
let fun04 () =
let expected =
[| 2.0; 2.0; 4.0; 2.0; 2.0; 2.0; 4.0; 2.0; 4.0; 4.0; 8.0; 4.0; 2.0; 2.0; 4.0; 2.0
; 4.0; 4.0; 8.0; 4.0; 2.0; 2.0; 4.0; 2.0; 2.0; 2.0; 4.0; 2.0; 2.0; 2.0; 4.0; 2.0
; 4.0; 4.0; 8.0; 4.0; 2.0; 2.0; 4.0; 2.0; 4.0; 4.0; 8.0; 4.0; 2.0; 2.0; 4.0; 2.0
; 4.0; 4.0; 8.0; 4.0; 4.0; 4.0; 8.0; 4.0; 8.0; 8.0; 16.0; 8.0; 4.0; 4.0; 8.0; 4.0
; 8.0; 8.0; 16.0; 8.0; 4.0; 4.0; 8.0; 4.0; 2.0; 2.0; 4.0; 2.0; 2.0; 2.0; 4.0; 2.0
; 4.0; 4.0; 8.0; 4.0; 2.0; 2.0; 4.0; 2.0; 4.0; 4.0; 8.0; 4.0; 2.0; 2.0; 4.0; 2.0 |]
in
verify_value
compute_trans_conv3d
[| 1; 2; 3; 2; 2 |]
[| 3; 3; 3; 2; 1 |]
[| 2; 2; 2 |]
SAME
expected
end
(* Test Transpose Convolution3D backward operations *)
module To_test_transpose_conv3d_backward = struct
(* BackwardInputTwoStrideValid *)
let fun00 () =
let expected = [| 9.; 9.; 9.; 9. |] in
verify_value
compute_trans_conv3d_bi
[| 1; 2; 2; 1; 1 |]
[| 3; 3; 1; 1; 1 |]
[| 2; 2; 1 |]
VALID
expected
(* BackwardInputSingleStrideValid *)
let fun01 () =
let expected = [| 9.; 9.; 9.; 9. |] in
verify_value
compute_trans_conv3d_bi
[| 1; 2; 2; 1; 1 |]
[| 3; 3; 1; 1; 1 |]
[| 1; 1; 1 |]
VALID
expected
(* BackwardInputTwoStrideSame *)
let fun02 () =
let expected = [| 9.; 9.; 6.; 9.; 9.; 6.; 6.; 6.; 4. |] in
verify_value
compute_trans_conv3d_bi
[| 1; 3; 1; 3; 1 |]
[| 3; 1; 3; 1; 1 |]
[| 2; 1; 2 |]
SAME
expected
(* BackwardInputSingleStrideSame *)
let fun03 () =
let expected = [| 4.; 6.; 6.; 4.; 6.; 9.; 9.; 6.; 6.; 9.; 9.; 6.; 4.; 6.; 6.; 4. |] in
verify_value
compute_trans_conv3d_bi
[| 1; 4; 1; 4; 1 |]
[| 3; 1; 3; 1; 1 |]
[| 1; 1; 1 |]
SAME
expected
(* BackwardInputDifferentStrideSame *)
let fun04 () =
let expected = [| 6.; 6.; 4.; 9.; 9.; 6.; 6.; 6.; 4. |] in
verify_value
compute_trans_conv3d_bi
[| 1; 3; 3; 1; 1 |]
[| 3; 3; 1; 1; 1 |]
[| 1; 2; 1 |]
SAME
expected
(* BackwardInputDifferentKernelSame *)
let fun05 () =
let expected = [| 3.; 3.; 2.; 3.; 3.; 2.; 3.; 3.; 2. |] in
verify_value
compute_trans_conv3d_bi
[| 1; 3; 3; 1; 1 |]
[| 1; 3; 1; 1; 1 |]
[| 2; 2; 1 |]
SAME
expected
(* BackwardInputSequentialKernelSame *)
let fun06 () =
let expected = [| 45.; 27.; 21.; 12. |] in
verify_value
compute_trans_conv3d_bi
~seq:true
[| 1; 2; 2; 1; 1 |]
[| 3; 3; 1; 1; 1 |]
[| 2; 2; 1 |]
SAME
expected
(* BackwardInputMultiChannelSame *)
let fun07 () =
let expected = [| 18.; 18.; 12.; 12.; 12.; 12.; 8.; 8. |] in
verify_value
compute_trans_conv3d_bi
[| 1; 2; 2; 1; 2 |]
[| 3; 3; 1; 2; 2 |]
[| 2; 2; 1 |]
SAME
expected
(* BackwardKernelTwoStrideValid *)
let fun08 () =
let expected = [| 4.; 4.; 4.; 4.; 4.; 4.; 4.; 4.; 4. |] in
verify_value
compute_trans_conv3d_bk
[| 1; 2; 1; 2; 1 |]
[| 3; 1; 3; 1; 1 |]
[| 2; 1; 2 |]
VALID
expected
(* BackwardKernelSingleStrideValid *)
let fun09 () =
let expected = [| 4.; 4.; 4.; 4.; 4.; 4.; 4.; 4.; 4. |] in
verify_value
compute_trans_conv3d_bk
[| 1; 2; 2; 1; 1 |]
[| 3; 3; 1; 1; 1 |]
[| 1; 1; 1 |]
VALID
expected
(* BackwardKernelTwoStrideSame *)
let fun10 () =
let expected = [| 9.; 9.; 6.; 9.; 9.; 6.; 6.; 6.; 4. |] in
verify_value
compute_trans_conv3d_bk
[| 1; 3; 3; 1; 1 |]
[| 3; 3; 1; 1; 1 |]
[| 2; 2; 1 |]
SAME
expected
(* BackwardKernelSingleStrideSame *)
let fun11 () =
let expected = [| 9.; 12.; 9.; 12.; 16.; 12.; 9.; 12.; 9. |] in
verify_value
compute_trans_conv3d_bk
[| 1; 4; 4; 1; 1 |]
[| 3; 3; 1; 1; 1 |]
[| 1; 1; 1 |]
SAME
expected
(* BackwardKernelDifferentStrideSame *)
let fun12 () =
let expected = [| 6.; 6.; 4.; 9.; 9.; 6.; 6.; 6.; 4. |] in
verify_value
compute_trans_conv3d_bk
[| 1; 3; 3; 1; 1 |]
[| 3; 3; 1; 1; 1 |]
[| 1; 2; 1 |]
SAME
expected
(* BackwardInputDifferentKernelSame *)
let fun13 () =
let expected = [| 9.; 9.; 6. |] in
verify_value
compute_trans_conv3d_bk
[| 1; 3; 1; 3; 1 |]
[| 1; 1; 3; 1; 1 |]
[| 2; 1; 2 |]
SAME
expected
(* BackwardInputSequentialOutputValid *)
let fun14 () =
let expected = [| 24.; 28.; 14.; 40.; 44.; 22.; 20.; 22.; 11. |] in
verify_value
compute_trans_conv3d_bk
~seq:true
[| 1; 2; 2; 1; 1 |]
[| 3; 3; 1; 1; 1 |]
[| 2; 2; 1 |]
SAME
expected
(* BackwardInputMultiChannelSame *)
let fun15 () =
let expected =
[| 4.; 4.; 4.; 4.; 4.; 4.; 4.; 4.; 2.; 2.; 2.; 2.; 4.; 4.; 4.; 4.; 4.; 4.; 4.; 4.
; 2.; 2.; 2.; 2.; 2.; 2.; 2.; 2.; 2.; 2.; 2.; 2.; 1.; 1.; 1.; 1. |]
in
verify_value
compute_trans_conv3d_bk
[| 1; 2; 1; 2; 2 |]
[| 3; 1; 3; 2; 2 |]
[| 2; 1; 2 |]
SAME
expected
end
(* tests for transpose_conv3d forward operation *)
let fun_ctf00 () =
Alcotest.(check bool) "fun_ctf00" true (To_test_transpose_conv3d.fun00 ())
let fun_ctf01 () =
Alcotest.(check bool) "fun_ctf01" true (To_test_transpose_conv3d.fun01 ())
let fun_ctf02 () =
Alcotest.(check bool) "fun_ctf02" true (To_test_transpose_conv3d.fun02 ())
let fun_ctf03 () =
Alcotest.(check bool) "fun_ctf03" true (To_test_transpose_conv3d.fun03 ())
let fun_ctf04 () =
Alcotest.(check bool) "fun_ctf04" true (To_test_transpose_conv3d.fun04 ())
(* tests for transpose_conv3d backward operations *)
let fun_ctb00 () =
Alcotest.(check bool) "fun_ctb00" true (To_test_transpose_conv3d_backward.fun00 ())
let fun_ctb01 () =
Alcotest.(check bool) "fun_ctb01" true (To_test_transpose_conv3d_backward.fun01 ())
let fun_ctb02 () =
Alcotest.(check bool) "fun_ctb02" true (To_test_transpose_conv3d_backward.fun02 ())
let fun_ctb03 () =
Alcotest.(check bool) "fun_ctb03" true (To_test_transpose_conv3d_backward.fun03 ())
let fun_ctb04 () =
Alcotest.(check bool) "fun_ctb04" true (To_test_transpose_conv3d_backward.fun04 ())
let fun_ctb05 () =
Alcotest.(check bool) "fun_ctb05" true (To_test_transpose_conv3d_backward.fun05 ())
let fun_ctb06 () =
Alcotest.(check bool) "fun_ctb06" true (To_test_transpose_conv3d_backward.fun06 ())
let fun_ctb07 () =
Alcotest.(check bool) "fun_ctb07" true (To_test_transpose_conv3d_backward.fun07 ())
let fun_ctb08 () =
Alcotest.(check bool) "fun_ctb08" true (To_test_transpose_conv3d_backward.fun08 ())
let fun_ctb09 () =
Alcotest.(check bool) "fun_ctb09" true (To_test_transpose_conv3d_backward.fun09 ())
let fun_ctb10 () =
Alcotest.(check bool) "fun_ctb10" true (To_test_transpose_conv3d_backward.fun10 ())
let fun_ctb11 () =
Alcotest.(check bool) "fun_ctb11" true (To_test_transpose_conv3d_backward.fun11 ())
let fun_ctb12 () =
Alcotest.(check bool) "fun_ctb12" true (To_test_transpose_conv3d_backward.fun12 ())
let fun_ctb13 () =
Alcotest.(check bool) "fun_ctb13" true (To_test_transpose_conv3d_backward.fun13 ())
let fun_ctb14 () =
Alcotest.(check bool) "fun_ctb14" true (To_test_transpose_conv3d_backward.fun14 ())
let fun_ctb15 () =
Alcotest.(check bool) "fun_ctb15" true (To_test_transpose_conv3d_backward.fun15 ())
let test_set =
[ "fun_ctf00", `Slow, fun_ctf00; "fun_ctf01", `Slow, fun_ctf01
; "fun_ctf02", `Slow, fun_ctf02; "fun_ctf03", `Slow, fun_ctf03
; "fun_ctf04", `Slow, fun_ctf04; "fun_ctb00", `Slow, fun_ctb00
; "fun_ctb01", `Slow, fun_ctb01; "fun_ctb02", `Slow, fun_ctb02
; "fun_ctb03", `Slow, fun_ctb03; "fun_ctb04", `Slow, fun_ctb04
; "fun_ctb05", `Slow, fun_ctb05; "fun_ctb06", `Slow, fun_ctb06
; "fun_ctb07", `Slow, fun_ctb07; "fun_ctb08", `Slow, fun_ctb08
; "fun_ctb09", `Slow, fun_ctb09; "fun_ctb10", `Slow, fun_ctb10
; "fun_ctb11", `Slow, fun_ctb11; "fun_ctb12", `Slow, fun_ctb12
; "fun_ctb13", `Slow, fun_ctb13; "fun_ctb14", `Slow, fun_ctb14
; "fun_ctb15", `Slow, fun_ctb15 ]
```
|
Voxx International is an American consumer electronics company founded as Audiovox Corporation in 1960, and renamed Voxx in 2012. It is headquartered in Orlando, Florida. The company specializes in four areas: OEM and after-market automotive electronics, consumer electronics accessories, and consumer and commercial audio equipment.
Over the years, Voxx International has purchased a number of recognizable brandnames when the original companies were no longer viable as independent specialty shops, including Acoustic Research, Advent, Code Alarm, Invision, Jensen, Klipsch, Prestige, RCA, 808 Audio, and Terk, among others. Its international brands include Audiovox, Hirschmann, Heco, Incaar, Oehlbach, Mac Audio, Magnat, Schwaiger, and others. In addition, the company licenses the Energizer brand.
History
In 2020, Voxx International Corporation announced the change of name Klipsch Holding, LLC, which became Premium Audio Company, LLC. Premium Audio Company, LLC consists of two subsidiaries: Klipsch Group, Inc (brands: Klipsch, Jamo, Energy, ProMedia) and 11 Trading Company, LLC.
In May 2021, Voxx International and Sharp Corporation began negotiations with Onkyo to purchase its home audiovisual division. Voxx's subsidiary Premium Audio Company (PAC) entered a joint venture with Sharp to acquire the business, which includes the Onkyo and Integra brands, for $30.8 million. PAC would own 75% of the joint venture and Sharp 25%. PAC would manage all product development, engineering, sales, marketing, and distribution while Sharp would be responsible for manufacturing and supply chain management of Onkyo products. The acquisition was completed in September 2021.
Brands
Voxx International markets its products under several brand names, including:
808 Audio
Acoustic Research
Advent
Audiovox
CarLink
Champ
Chipmunks
Code-Alarm
Directed Electronics
FlashLogic
Hirschmann
Incaar
InVision Technologies
Jamo
Jensen Electronics
Klipsch
Magnat
Onkyo
Pioneer Electronics
Prestige
Pursuit
PursuiTrak
RCA
Surface Clean
Terk
Zentral Home Command
Product types
Electronics
In 2013, Audiovox developed the app for a new accessory device called Shutterball. Cellcom Communications holds the exclusive rights to the device.
Around 2010, Audiovox developed various wireless communication products, some of them were walkie-talkies and cordless phones.
Restatements
On March 14, 2003, Audiovox said it planned to restate results for the first three quarters of fiscal 2002, following a review of the effect of the FASB's Emerging Issues Task Force regulations on its statements. The restatement would lower revenue by about $462,000, and increase income by $36,000. On April 15, 2003, Audiovox announced to restate results for fiscal years 2000, 2001, and the first three quarters of fiscal 2002.
References
External links
Companies based in Orlando, Florida
Companies listed on the Nasdaq
Electronics companies established in 1960
Audio equipment manufacturers of the United States
Loudspeaker manufacturers
Mobile phone manufacturers
Technology companies established in 1960
|
Ballıkavak () is a village in the Eruh District of Siirt Province in Turkey. The village is populated by Kurds of the Jilyan tribe and had a population of 108 in 2021.
References
Villages in Eruh District
Kurdish settlements in Siirt Province
|
```javascript
it('basic', () => {
tests([
[[1, 2, 3], 1, true],
[[1, 2, 3], 4, false]
]);
});
it('object', () => {
tests([
[{ a: 1, b: 2 }, 1, true],
[{ b: 2 }, 1, false]
]);
});
it('string', () => {
tests([
['abc', 'a', true],
['abc', 'd', false]
]);
});
```
|
"Hope in Front of Me" is a song co-written and recorded by American singer Danny Gokey for his second studio album of the same name (2014). Gokey wrote the song with Brett James and its producer, Bernie Herms. It was released to Christian radio on January 24, 2014 and to digital retailers February 18, 2014 through BMG Rights Management as the record's lead single. "Hope in Front of Me" serves as Gokey's debut release on the BMG label and his first single in almost three years.
Written as a message of hope in dark times, "Hope in Front of Me" features a more soulful sound than Gokey's previous releases and is his first to be marketed in the Christian genre. The song peaked at number four on the Billboard Christian Songs chart and number 27 on Adult Contemporary, marking his first entry on these charts.
Background and recording
In 2009, Gokey rose to fame as the second runner-up on the eighth season of American reality singing competition American Idol. The following year, he released the country album, My Best Days, which reached the top 5 of the Billboard 200 and produced two top 40 singles on the Hot Country Songs chart. Gokey then announced in November 2011 that he had parted ways with his record label, RCA Records Nashville.
He signed a record/publishing deal with BMG Rights Management in May 2013 with the intention to shift his career toward a Christian crossover career. "I love country music and I still listen," Gokey told The Hollywood Reporter. "But I always felt my message of faith was important. Not much has changed, just my sound." He recorded new music in Nashville, Tennessee with producer Bernie Herms and released "Hope in Front of Me" to Christian radio on January 24, 2014.
Composition
"Hope in Front of Me" is a Christian pop song with influences of blue-eyed soul, written by Danny Gokey, Bernie Herms, and Brett James. It was inspired by Gokey's journey dealing with the death of his first wife in 2008 and is about "finding purpose in your darkest moments." The song's chorus speaks to finding hope despite tragedy, with lines such as "There's better days still up ahead / Even after all I've seen, there's hope in front of me."
According to the sheet music published by BMG Rights Management, the song was originally composed in the key of C Minor and set in common time to a "moderate rock" beat of 76 BPM. The song follows a chord progression of Cm – A – E – Gm7 and covers a vocal range of two octaves, from the note of C through C.
Accolades
"Hope in Front of Me" was nominated for Song of the Year at the 2015 GMA Dove Awards, however it lost to "How Can It Be" by Lauren Daigle. The song's success also contributed to Gokey being nominated in the category of New Artist of the Year at the same ceremony.
Chart performance
"Hope in Front of Me" debuted on the Billboard Hot Christian Songs chart dated March 8, 2014 and entered the top 20 in its seventh week on the chart dated May 24, 2014. The song reached a peak position of four on the chart dated August 16, 2014.
The song also experienced moderate pop crossover success. "Hope in Front of Me" debuted at number 29 on the Billboard Adult Contemporary chart dated July 26, 2014. It reached a peak position of 27 on the chart dated August 16, 2014 and spent a total of six weeks on the chart.
Music video
An accompanying music video for the song was uploaded to Gokey's official YouTube channel on July 16, 2014 and "tells a story of redemption."
Charts
Weekly charts
Year end charts
Release history
References
2014 songs
2014 singles
Danny Gokey songs
Songs written by Bernie Herms
Songs written by Brett James
Pop ballads
Songs written by Danny Gokey
BMG Rights Management singles
|
The Toro Negro River () is a river of Ciales, Orocovis, and Jayuya in Puerto Rico.
Gallery
See also
List of rivers of Puerto Rico
Toro Negro State Forest
References
External links
USGS Hydrologic Unit Map – Caribbean Region (1974)
Rios de Puerto Rico
Rivers of Puerto Rico
|
```java
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
package org.springframework.cloud.function.context.catalog;
import java.util.HashSet;
import java.util.Set;
/**
* @author Dave Syer
*
*/
@SuppressWarnings("serial")
public class FunctionRegistrationEvent extends FunctionCatalogEvent {
private final Class<?> type;
private final Set<String> names;
public FunctionRegistrationEvent(Object source, Class<?> type, Set<String> names) {
super(source);
this.type = type;
this.names = new HashSet<>(names);
}
public Class<?> getType() {
return this.type;
}
public Set<String> getNames() {
return this.names;
}
}
```
|
American wild ale is a sour beer brewed in the United States using yeast or bacteria in addition to Saccharomyces cerevisiae for fermentation. Such beers are similar to Belgian Lambic and Oud bruin, and typically fermented using a strain of brettanomyces, resulting in a "funky" flavor.
See also
List of beer styles
References
American beer styles
|
Live in NYC is a live album and DVD by American alternative rock band Jane's Addiction, released on July 8, 2013 in the UK and July 9 in North America. The album was recorded at Terminal 5 on July 25, 2011, and featured the world concert premiere of their new single "Irresistible Force".
The album is the band's first fully live release since its 1987 debut, Jane's Addiction.
Track listing
"Whores"
"Ain't No Right"
"Just Because"
"Ted, Just Admit It..."
"Been Caught Stealing"
"Irresistible Force (Met the Immovable Object)"
"Up the Beach"
"Ocean Size"
"Three Days"
"Mountain Song"
"Stop!"
"Jane Says"
Personnel
Jane's Addiction
Perry Farrell – vocals
Dave Navarro – guitars
Stephen Perkins – drums, percussion
Chris Chaney – bass guitar
References
Jane's Addiction albums
2013 live albums
|
Begin Again () is a South Korean television program which airs on JTBC.
Season 1 aired on Sundays at 22:30 (KST) from June 25 to September 10, 2017.
Season 2 aired on Fridays at 21:20 (KST) from March 30 to June 29, 2018.
Season 3 aired on Fridays at 21:00 (KST) from July 19 to November 8, 2019.
Season 4, also known as Begin Again Korea (비긴어게인 코리아) aired on Saturdays at 23:00 (KST), from June 6 to July 4, 2020 and on Sundays at 23:00 (KST) from July 12 to August 9.
A New Year Special series, also known as Begin Again - Intermission (비긴어게인 - 인터미션), aired on Fridays at 22:30 (KST), beginning January 6 to February 10, 2023.
Airtime
Overview
Reputable musicians from South Korea travel overseas, to places where no one knows anything about them, and hold busking events. They would introduce themselves to the people in other countries through their performances.
For Season 4 (Begin Again Korea), different from the previous 3 seasons, the cast members travel around South Korea to conduct Social Distancing Busking. The main purpose is to present music as a gift, to console the Korean citizens who have gone through difficult times due to the current COVID-19 pandemic.
Spin-offs
A year-end special titled Begin Again Reunion (비긴어게인 Reunion) aired on December 22, 2020, with the lineup featuring Yoon Do-hyun, , Paul Kim, Henry, Lee Hi and Lee Su-hyun.
An online version of the show Begin Again Open Mic (비긴어게인 오픈마이크) was launched, and videos are uploaded on the show's Youtube channel on Mondays and Wednesdays at 18:00 (KST) beginning May 11, 2021. Originally, Begin Again Open Mic was aired on JTBC from December 29, 2020 to February 11, 2021.
A New Year Special titled Begin Again - Intermission (비긴어게인 - 인터미션) aired from January 6, 2023 to February 10, 2023, with two lineups airing interwoven. Group 1 featured Lena Park, Kim Jong-wan (Nell), Kang Min-kyung (Davichi), John Park, Choi Jung-hoon (Jannabi), Kim Do-hyung (Jannabi) and Jeong Dong-hwan (MeloMance) while Group 2 featured Yim Jae-beom, Ha Dong-kyun, Kim Feel, Heize, Hynn, Sungha Jung and Kim Hyun-woo (DickPunks).
Cast
Season 1 (Begin Us)
Lee So-ra
You Hee-yeol (Toy)
Yoon Do-hyun (YB)
Noh Hong-chul
Season 2 (Team Kim Yoon-ah)
Kim Yoon-ah (Jaurim)
(Jaurim)
Roy Kim
Jeong Se-woon (Episode 5-7)
Season 2 (Team Lena Park/Family Band)
Lena Park
Henry
Lee Su-hyun (AKMU)
Season 3 (Family Band)
Lena Park
Hareem
Henry
Lee Su-hyun (AKMU)
Kim Feel
Season 3 (Dick2JukPaulTaeng)
Lee Juck
Taeyeon (Girls' Generation)
Paul Kim
Jukjae
Kim Hyun-woo (DickPunks)
Season 4 (Begin Again Korea)
Lee So-ra (Episode 1-5)
Hareem
Henry
Lee Su-hyun (AKMU)
Jukjae
Crush (Episode 1-3, 8-10)
Jung Seung-hwan
Lee Hi (Episode 4-6, 10)
Sohyang (Episode 6-10)
Begin Again - Intermission - Group 1
Lena Park
Kim Jong-wan (Nell)
Kang Min-kyung (Davichi)
John Park
Choi Jung-hoon (Jannabi)
Kim Do-hyung (Jannabi)
Jeong Dong-hwan (MeloMance)
Begin Again - Intermission - Group 2
Yim Jae-beom
Ha Dong-kyun
Kim Feel
Heize
Hynn
Sungha Jung
Kim Hyun-woo (DickPunks)
Episodes
Season 1
Season 2
Season 3
Season 4 (Begin Again Korea)
Discography
Recordings of some of the busking songs were released digitally on various music sites.
Season 1
Episode 2
Episode 3
Episode 4
Episode 5
Episode 6
Episode 7
Episode 8
Episode 9
Episode 10
Episode 11
Episode 12
Season 2
Jaurim Begin Again: Porto Live
Jaurim Begin Again: Lisbon Live
Jaurim Begin Again: Portugal Live 2CD
Roy Kim Live in Begin Again 2
Begin Again 2 Yoon Gun Special Edition
Season 3
Episode 1
Episode 2
Episode 3
Episode 4
Episode 5
Episode 7
Episode 8
Episode 9
Episode 10
Episode 11
Episode 12
Episode 13
Episode 14
Season 4 (Begin Again Korea)
Episode 1
Episode 3
Episode 5
Episode 6
Episode 7
Episode 8
Episode 9
Episode 10
Ratings
In the ratings below, the highest rating for the show will be in red, and the lowest rating for the show will be in blue each year.
Note that the show airs on a cable channel (pay TV), which plays part in its slower uptake and relatively small audience share when compared to programs broadcast (FTA) on public networks such as KBS, SBS, MBC or EBS.
NR rating means "not reported".
TNmS have stopped publishing their rating reports from June 2018.
Season 1
Season 2
Season 3
Season 4 (Begin Again Korea)
New Year's Special (Begin Again - Intermission)
References
Notes
External links
Begin Again YouTube Channel
South Korean travel television series
Korean-language television shows
JTBC original programming
2017 South Korean television series debuts
South Korean variety television shows
South Korean reality television series
2020s South Korean television series
|
Léon Marchand (; born 17 May 2002) is a French swimmer and a member of the Arizona State Sun Devils swim team. He is the World record holder in the long course 400 metre individual medley and the French record holder in the long course 200 metre individual medley, 200 metre butterfly and 200 metre breaststroke. He competed in the 400 metre individual medley at the 2020 Summer Olympics, placing sixth in the final. At the 2022 NCAA Division I Men's Swimming and Diving Championships, he won NCAA titles in the 200 yard breaststroke and 200 yard individual medley. He won the gold medal in the 400 metre individual medley and the 200 metre individual medley and the silver medal in the 200 metre butterfly at the 2022 World Aquatics Championships. At the 2023 NCAA Division I Men's Swimming and Diving Championships, he won NCAA titles in the 200 yard breaststroke, 200 yard individual medley, and 400 yard individual medley.
Early life
Léon was born on 17 May 2002. Léon is the son of former French medley swimmers Xavier Marchand and Céline Bonnet. He is currently a sophomore at Arizona State University majoring in computer science.
Career
2019 World Junior Championships
In August 2019, at the World Junior Swimming Championships in Budapest, Hungary, Marchand won the bronze medal in the 400 metre individual medley with a French record time of 4:16.37. He also placed seventh with a time of 2:01.53 in the 200 metre individual medley, seventh swimming a 1:58.73 in the final of the 200 metre butterfly, tenth in the 200 metre breaststroke with a 2:15.13, and 15th in the 100 metre breaststroke in a time of 1:03.03.
2020 Summer Olympics
Marchand qualified in his first event for the 2020 Summer Olympics at the 2021 French Elite Swimming Championships in Chartres, making the French Olympic Team in the 400 metre individual medley with a personal best and French record time of 4:09.65. At the 2020 Summer Olympics in Tokyo, Japan, Marchand placed sixth in the 400 metre individual medley with a 4:11.16, tenth in the 4×100 metre medley relay, 14th in the 200 metre butterfly with a 1:55.68, and 18th in the 200 metre individual medley with a 1:58.30.
2022 NCAA Championships
At the 2022 NCAA Division I Championships in March in Atlanta, United States, Marchand won his first individual NCAA title of his freshman year for the Arizona State Sun Devils in the 200 yard individual medley, winning the event and setting new NCAA, NCAA Championships, and US Open records with his time of 1:37.69, which was over four-tenths of a second faster than the old marks of 1:38.13 set by Caeleb Dressel in 2018 (NCAA and US Open records) and 1:38.14 set by Andrew Seliskar in 2019 (NCAA Championships record). It was the first time since 2000 that a man from the Arizona State University swim program won an individual title in swimming at a NCAA Division I men's swimming and diving championships. He won a second NCAA title in the 200 yard breaststroke, finishing 0.56 seconds ahead of second-place finisher Max McHugh with a time of 1:48.20. He placed second in the 400 yard individual medley, with a 3:34.08 to finish behind Hugo González, as well as in the 4×100 yard freestyle relay, where he split a 41.31 for the second leg of the relay to help finish in a final time of 2:46.40.
Seven days after the end of the 2022 NCAA Championships, Marchand set a new French record in the 200 metre individual medley at the 2022 Pro Swim Series at Northside Swim Center in San Antonio, United States, with a time of 1:56.95 and won the silver medal behind Shaine Casas who finished in 1:56.70. One day earlier, he won the 200 metre breaststroke with a time of 2:09.24.
2022 World Aquatics Championships
On 18 June, the first day of swimming at the 2022 World Aquatics Championships at Danube Arena in Budapest, Hungary, Marchand set a new French record in the 400 metre individual medley in the preliminary heats with a time of 4:09.09, qualifying for the evening final ranking first. He lowered his French record and set a new European record and Championships record in the final with a time of 4:04.28 to win the gold medal. Two days later, he qualified for the semifinals of the 200 metre butterfly with a time of 1:56.38 and tied rank of eleventh in the prelims. For the semifinals, he ranked 0.18 seconds ahead of the next-fastest swimmer, fifth-ranked Luca Urlando of the United States, and qualified for the final the following day with his new French record time of 1:54.32.
The following morning, he qualified for the semifinals of the 200 metre individual medley, swimming a 1:58.70 to tie for eighth-rank heading into the semifinals. For his first race of the evening, he set a new French record in the final of the 200 metre butterfly at 1:53.37 and won the silver medal, finishing behind Kristóf Milák of Hungary and ahead of Tomoru Honda of Japan. In his final race of the day, the semifinals of the 200 metre individual medley, he set a new French record with a time of 1:55.75 and qualified for the final ranking first. In the final of the 200 metre individual medley the following day, he won the gold medal with a French record time of 1:55.22. With his two gold medals, he became the third French swimmer to achieve two gold medals in individual events at a single FINA World Aquatics Championships, after Laure Manaudou and Florent Manaudou. He also became the first male swimmer representing France to win any medal in the 400 metre individual medley at a World Aquatics Championships and the first since 1998 to win a medal the 200 metre individual medley. On 23 June, he split a 1:47.59 for the second leg of the 4×200 metre freestyle relay in the final to help achieve a seventh-place finish in 7:08.78. In the preliminaries of the 4×100 metre medley relay on the eighth day, Marchand helped advance the relay to the final ranking second with a time of 52.09 seconds for the butterfly leg of the relay. He lowered his split to a 51.50 in the final, contributing to a time of 3:32.37 and fifth-place finish
The month after the Championships, Marchand set a new French record in the 200 metre breaststroke with a time of 2:08.76 at the 2022 Spanish Summer Championships in Sabadell, Spain.
2023
Leading up to NCAA and conference championships season in 2023, Marchand set new NCAA and US Open records in the 400 yard individual medley with a time of 3:31.84 in a dual meet against the California Golden Bears on 21 January.
2023 Pac-12 Conference Championships
On 1 March, the first day of the 2023 Pac-12 Conference Championships at King County Aquatic Center in Federal Way, United States, Marchand helped win the conference title in the 4×50 yard medley relay in a Pac-12 Conference and Championships record time of 1:21.69, splitting a 22.98 for the breaststroke leg of the relay. He repeated the trio of conference title, conference record, and Championships record later in the session in the 4×200 yard freestyle relay, where he contributed a lead-off time of 1:30.77 to the final mark of 6:06.30. The times for both relays also set new Arizona State Sun Devils swim program records for the men's events. Following up with a 1:37.81 in the 200 yard individual medley the next day, he won his second-consecutive conference title in the event and lowered his Championships record from the previous year's edition by 1.84 seconds. On day three, he lowered his US Open and NCAA records in the 400 yard individual medley, setting new conference, Championships, and program records with a time of 3:31.57 to win the conference title. He split a 49.73 for the breaststroke leg of the 4×100 yard medley relay later in the session, helping win the conference title with a program record time of 3:01.39.
The fourth of four days, Marchand broke the US Open and NCAA records of 1:47.91 in the 200 yard breaststroke set by Will Licon in 2017, winning the conference title with a personal best time of 1:47.67. For his final event, the 4×100 yard freestyle relay, he led-off with a 41.61 to contribute to a second-place time of 2:46.14. The points allocated for each of his swims contributed to an overall score of 897.5 points for the Arizona State Sun Devils, which earned the men's swim program its first team Pac-12 Conference Championships title.
2023 NCAA Championships
Later in the month, at the 2023 NCAA Division I Championships, Marchand helped win the silver medal in the 4×50 yard medley relay in a time of 1:21.07 on the first day of competition, splitting a 22.27 for the breaststroke leg of the relay. Later in the session, he anchored with a 1:28.42 in the 4×200 yard freestyle relay to help win the silver medal in a time of 6:05.08. Both relay times set new men's swim program records for the Arizona State Sun Devils. His split time of 22.27 lowered the former fastest 50 yard breaststroke split time in NCAA history of 22.39 seconds set by Max McHugh two heats earlier. His split time of 1:28.42 for his 200 yard portion of the 4×200 yard freestyle relay ranked as the fastest in NCAA history as well. On the second day, he won the NCAA title in the 200 yard individual medley for the second consecutive year, lowering his NCAA, Championships, and US Open records in the event to a 1:36.34.
In the final of the 400 yard individual medley on the third evening, Marchand won the gold medal with a new NCAA, Championships, and US Open record time of 3:28.82, which was over two full seconds faster than his previous mark of 3:31.57. For his second final of the evening, he contributed the fastest 100 yard breaststroke split time in NCAA history (49.23 seconds) to a bronze medal-win in the 4×100 yard medley relay in an Arizona State Sun Devils men's swim program record time of 2:59.18. Starting the fourth finals session with the 200 yard breaststroke, he won his second repeat title and third title overall of the Championships, lowering his NCAA and US Open records as well as setting a new Championships record with a personal best time of 1:46.91. Finishing the Championships in the 4×100 yard freestyle relay later in the session, he split a 40.55 for the second leg of the relay to contribute to placing third overall with a program record time of 2:45.12. His performances contributed to the first-ever top-five finish for the Arizona State Sun Devils men's swim program at a men's NCAA Division I Swimming and Diving Championships, with the team placing second overall with 430 points, just 52 points behind the first-place team (California Golden Bears) and 46 points ahead of the third-place team (Texas Longhorns).
2023 French Championships
Following the conclusion of the collegiate championships, Marchand competed at the 2023 TYR Pro Swim Series in April, winning the 400 metre individual medley with a 4:07.80, the 200 metre butterfly with a 1:55.58, the 200 metre breaststroke with a 2:10.52, and the 200 metre individual medley with a 1:55.69. In June, he won the gold medal in the 200 metre breaststroke at the 2023 French Elite Swimming Championships on day one in Rennes, finishing in a French record and 2023 World Aquatics Championships qualifying time of 2:06.59 that marked a time drop of 2.17 seconds from his previous personal best and French record time. On the second day, he swam a person best time of 1:48.70 in the preliminaries of the 200 metre freestyle and qualified ranking seventh for the final, where he won the gold medal with a personal best time of 1:46.44.
For the 200 metre butterfly on day three, Marchand won the gold medal with a time of 1:55.79. He won his fourth national title on the fourth day in the 200 metre individual medley, where he finished first with a time of 1:56.25 in the final. In the 400 metre individual medley on day five, he achieved a World Championships qualifying time of 4:10.57 in the final and won the gold medal and national title.
International championships (50 m)
International championships (25 m)
Personal best times
Long course metres (50 m pool)
Short course yards (25 yd pool)
Records
Continental and national records
Long course metres (50 m pool)
US Open records
Short course yards (25 yd pool)
Awards and honours
College Swimming and Diving Coaches Association of America (CSCAA), Swimmer of the Year (Men's): 2022
Pac-12 Conference, Swimmer of the Year (Men's): 2021–2022
Pac-12 Conference, Swimmer of the Meet, Pac-12 Conference Men's Swimming and Diving Championships: 2023
Pac-12 Conference, Freshman of the Year (Men's): 2021–2022
SwimSwam, Swammy Award, NCAA Swimmer of the Meet (Men's): 2022 NCAA Division I Championships
SwimSwam, Swammy Award, NCAA Freshman of the Year (Men's): 2022
References
External links
2002 births
Living people
Sportspeople from Toulouse
Swimmers at the 2020 Summer Olympics
Olympic swimmers for France
French male freestyle swimmers
French male medley swimmers
French male breaststroke swimmers
French male butterfly swimmers
Arizona State Sun Devils men's swimmers
World Aquatics Championships medalists in swimming
|
```go
//go:build !ignore_autogenerated
// +build !ignore_autogenerated
/*
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// Code generated by prerelease-lifecycle-gen. DO NOT EDIT.
package v1
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (in *RuntimeClass) APILifecycleIntroduced() (major, minor int) {
return 1, 20
}
// APILifecycleIntroduced is an autogenerated function, returning the release in which the API struct was introduced as int versions of major and minor for comparison.
// It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
func (in *RuntimeClassList) APILifecycleIntroduced() (major, minor int) {
return 1, 20
}
```
|
The women's daoshu / gunshu all-around competition at the 2008 Beijing Wushu Tournament was held on August 21 at the Olympic Sports Center Gymnasium.
Background
The favorite of the competition was Jade Xu (then known as Xu Huihui). At the 2007 World Wushu Championships, Xu became a three-time world champion. Geng Xiaoling was another projected favorite, as she won a silver medal in daoshu and a bronze medal in changquan at the 2007 world championships which was also her international debut. Another projected favorite could have been Macau's Xi Cheng Qing who won the gunshu and changquan silver medals at the 2007 world championships, but she decided to compete in the changquan event for this competition and won silver.
Although Xu was ranked first in the gunshu event, Geng was able to achieve a superior performance for daoshu and won the competition.
Schedule
All times are Beijing Time (UTC+08:00)
Results
Both events were judged without the degree of difficulty component.
References
Women's_daoshu_and_gunshu
|
```python
from __future__ import division, absolute_import, print_function
import sys
import re
import os
if sys.version_info[0] < 3:
from ConfigParser import RawConfigParser
else:
from configparser import RawConfigParser
__all__ = ['FormatError', 'PkgNotFound', 'LibraryInfo', 'VariableSet',
'read_config', 'parse_flags']
_VAR = re.compile(r'\$\{([a-zA-Z0-9_-]+)\}')
class FormatError(IOError):
"""
Exception thrown when there is a problem parsing a configuration file.
"""
def __init__(self, msg):
self.msg = msg
def __str__(self):
return self.msg
class PkgNotFound(IOError):
"""Exception raised when a package can not be located."""
def __init__(self, msg):
self.msg = msg
def __str__(self):
return self.msg
def parse_flags(line):
"""
Parse a line from a config file containing compile flags.
Parameters
----------
line : str
A single line containing one or more compile flags.
Returns
-------
d : dict
Dictionary of parsed flags, split into relevant categories.
These categories are the keys of `d`:
* 'include_dirs'
* 'library_dirs'
* 'libraries'
* 'macros'
* 'ignored'
"""
d = {'include_dirs': [], 'library_dirs': [], 'libraries': [],
'macros': [], 'ignored': []}
flags = (' ' + line).split(' -')
for flag in flags:
flag = '-' + flag
if len(flag) > 0:
if flag.startswith('-I'):
d['include_dirs'].append(flag[2:].strip())
elif flag.startswith('-L'):
d['library_dirs'].append(flag[2:].strip())
elif flag.startswith('-l'):
d['libraries'].append(flag[2:].strip())
elif flag.startswith('-D'):
d['macros'].append(flag[2:].strip())
else:
d['ignored'].append(flag)
return d
def _escape_backslash(val):
return val.replace('\\', '\\\\')
class LibraryInfo(object):
"""
Object containing build information about a library.
Parameters
----------
name : str
The library name.
description : str
Description of the library.
version : str
Version string.
sections : dict
The sections of the configuration file for the library. The keys are
the section headers, the values the text under each header.
vars : class instance
A `VariableSet` instance, which contains ``(name, value)`` pairs for
variables defined in the configuration file for the library.
requires : sequence, optional
The required libraries for the library to be installed.
Notes
-----
All input parameters (except "sections" which is a method) are available as
attributes of the same name.
"""
def __init__(self, name, description, version, sections, vars, requires=None):
self.name = name
self.description = description
if requires:
self.requires = requires
else:
self.requires = []
self.version = version
self._sections = sections
self.vars = vars
def sections(self):
"""
Return the section headers of the config file.
Parameters
----------
None
Returns
-------
keys : list of str
The list of section headers.
"""
return list(self._sections.keys())
def cflags(self, section="default"):
val = self.vars.interpolate(self._sections[section]['cflags'])
return _escape_backslash(val)
def libs(self, section="default"):
val = self.vars.interpolate(self._sections[section]['libs'])
return _escape_backslash(val)
def __str__(self):
m = ['Name: %s' % self.name, 'Description: %s' % self.description]
if self.requires:
m.append('Requires:')
else:
m.append('Requires: %s' % ",".join(self.requires))
m.append('Version: %s' % self.version)
return "\n".join(m)
class VariableSet(object):
"""
Container object for the variables defined in a config file.
`VariableSet` can be used as a plain dictionary, with the variable names
as keys.
Parameters
----------
d : dict
Dict of items in the "variables" section of the configuration file.
"""
def __init__(self, d):
self._raw_data = dict([(k, v) for k, v in d.items()])
self._re = {}
self._re_sub = {}
self._init_parse()
def _init_parse(self):
for k, v in self._raw_data.items():
self._init_parse_var(k, v)
def _init_parse_var(self, name, value):
self._re[name] = re.compile(r'\$\{%s\}' % name)
self._re_sub[name] = value
def interpolate(self, value):
# Brute force: we keep interpolating until there is no '${var}' anymore
# or until interpolated string is equal to input string
def _interpolate(value):
for k in self._re.keys():
value = self._re[k].sub(self._re_sub[k], value)
return value
while _VAR.search(value):
nvalue = _interpolate(value)
if nvalue == value:
break
value = nvalue
return value
def variables(self):
"""
Return the list of variable names.
Parameters
----------
None
Returns
-------
names : list of str
The names of all variables in the `VariableSet` instance.
"""
return list(self._raw_data.keys())
# Emulate a dict to set/get variables values
def __getitem__(self, name):
return self._raw_data[name]
def __setitem__(self, name, value):
self._raw_data[name] = value
self._init_parse_var(name, value)
def parse_meta(config):
if not config.has_section('meta'):
raise FormatError("No meta section found !")
d = dict(config.items('meta'))
for k in ['name', 'description', 'version']:
if not k in d:
raise FormatError("Option %s (section [meta]) is mandatory, "
"but not found" % k)
if not 'requires' in d:
d['requires'] = []
return d
def parse_variables(config):
if not config.has_section('variables'):
raise FormatError("No variables section found !")
d = {}
for name, value in config.items("variables"):
d[name] = value
return VariableSet(d)
def parse_sections(config):
return meta_d, r
def pkg_to_filename(pkg_name):
return "%s.ini" % pkg_name
def parse_config(filename, dirs=None):
if dirs:
filenames = [os.path.join(d, filename) for d in dirs]
else:
filenames = [filename]
config = RawConfigParser()
n = config.read(filenames)
if not len(n) >= 1:
raise PkgNotFound("Could not find file(s) %s" % str(filenames))
# Parse meta and variables sections
meta = parse_meta(config)
vars = {}
if config.has_section('variables'):
for name, value in config.items("variables"):
vars[name] = _escape_backslash(value)
# Parse "normal" sections
secs = [s for s in config.sections() if not s in ['meta', 'variables']]
sections = {}
requires = {}
for s in secs:
d = {}
if config.has_option(s, "requires"):
requires[s] = config.get(s, 'requires')
for name, value in config.items(s):
d[name] = value
sections[s] = d
return meta, vars, sections, requires
def _read_config_imp(filenames, dirs=None):
def _read_config(f):
meta, vars, sections, reqs = parse_config(f, dirs)
# recursively add sections and variables of required libraries
for rname, rvalue in reqs.items():
nmeta, nvars, nsections, nreqs = _read_config(pkg_to_filename(rvalue))
# Update var dict for variables not in 'top' config file
for k, v in nvars.items():
if not k in vars:
vars[k] = v
# Update sec dict
for oname, ovalue in nsections[rname].items():
if ovalue:
sections[rname][oname] += ' %s' % ovalue
return meta, vars, sections, reqs
meta, vars, sections, reqs = _read_config(filenames)
# FIXME: document this. If pkgname is defined in the variables section, and
# there is no pkgdir variable defined, pkgdir is automatically defined to
# the path of pkgname. This requires the package to be imported to work
if not 'pkgdir' in vars and "pkgname" in vars:
pkgname = vars["pkgname"]
if not pkgname in sys.modules:
raise ValueError("You should import %s to get information on %s" %
(pkgname, meta["name"]))
mod = sys.modules[pkgname]
vars["pkgdir"] = _escape_backslash(os.path.dirname(mod.__file__))
return LibraryInfo(name=meta["name"], description=meta["description"],
version=meta["version"], sections=sections, vars=VariableSet(vars))
# Trivial cache to cache LibraryInfo instances creation. To be really
# efficient, the cache should be handled in read_config, since a same file can
# be parsed many time outside LibraryInfo creation, but I doubt this will be a
# problem in practice
_CACHE = {}
def read_config(pkgname, dirs=None):
"""
Return library info for a package from its configuration file.
Parameters
----------
pkgname : str
Name of the package (should match the name of the .ini file, without
the extension, e.g. foo for the file foo.ini).
dirs : sequence, optional
If given, should be a sequence of directories - usually including
the NumPy base directory - where to look for npy-pkg-config files.
Returns
-------
pkginfo : class instance
The `LibraryInfo` instance containing the build information.
Raises
------
PkgNotFound
If the package is not found.
See Also
--------
misc_util.get_info, misc_util.get_pkg_info
Examples
--------
>>> npymath_info = np.distutils.npy_pkg_config.read_config('npymath')
>>> type(npymath_info)
<class 'numpy.distutils.npy_pkg_config.LibraryInfo'>
>>> print(npymath_info)
Name: npymath
Description: Portable, core math library implementing C99 standard
Requires:
Version: 0.1 #random
"""
try:
return _CACHE[pkgname]
except KeyError:
v = _read_config_imp(pkg_to_filename(pkgname), dirs)
_CACHE[pkgname] = v
return v
# TODO:
# - implements version comparison (modversion + atleast)
# pkg-config simple emulator - useful for debugging, and maybe later to query
# the system
if __name__ == '__main__':
import sys
from optparse import OptionParser
import glob
parser = OptionParser()
parser.add_option("--cflags", dest="cflags", action="store_true",
help="output all preprocessor and compiler flags")
parser.add_option("--libs", dest="libs", action="store_true",
help="output all linker flags")
parser.add_option("--use-section", dest="section",
help="use this section instead of default for options")
parser.add_option("--version", dest="version", action="store_true",
help="output version")
parser.add_option("--atleast-version", dest="min_version",
help="Minimal version")
parser.add_option("--list-all", dest="list_all", action="store_true",
help="Minimal version")
parser.add_option("--define-variable", dest="define_variable",
help="Replace variable with the given value")
(options, args) = parser.parse_args(sys.argv)
if len(args) < 2:
raise ValueError("Expect package name on the command line:")
if options.list_all:
files = glob.glob("*.ini")
for f in files:
info = read_config(f)
print("%s\t%s - %s" % (info.name, info.name, info.description))
pkg_name = args[1]
d = os.environ.get('NPY_PKG_CONFIG_PATH')
if d:
info = read_config(pkg_name, ['numpy/core/lib/npy-pkg-config', '.', d])
else:
info = read_config(pkg_name, ['numpy/core/lib/npy-pkg-config', '.'])
if options.section:
section = options.section
else:
section = "default"
if options.define_variable:
m = re.search(r'([\S]+)=([\S]+)', options.define_variable)
if not m:
raise ValueError("--define-variable option should be of " \
"the form --define-variable=foo=bar")
else:
name = m.group(1)
value = m.group(2)
info.vars[name] = value
if options.cflags:
print(info.cflags(section))
if options.libs:
print(info.libs(section))
if options.version:
print(info.version)
if options.min_version:
print(info.version >= options.min_version)
```
|
```yaml
apiVersion: v1
kind: Pod
metadata:
name: hostaliases-pod
spec:
restartPolicy: Never
hostAliases:
- ip: "127.0.0.1"
hostnames:
- "foo.local"
- "bar.local"
- ip: "10.1.2.3"
hostnames:
- "foo.remote"
- "bar.remote"
containers:
- name: cat-hosts
image: busybox:1.28
command:
- cat
args:
- "/etc/hosts"
```
|
```protocol buffer
syntax = 'proto3';
package topology_requests;
import "topology.proto";
option java_package = "io.camunda.zeebe.dynamic.config.protocol";
message AddMembersRequest {
repeated string memberIds = 1;
bool dryRun = 2;
}
message RemoveMembersRequest {
repeated string memberIds = 1;
bool dryRun = 2;
}
message JoinPartitionRequest {
string memberId = 1;
int32 partitionId = 2;
int32 priority = 3;
bool dryRun = 4;
}
message LeavePartitionRequest {
string memberId = 1;
int32 partitionId = 2;
bool dryRun = 3;
}
message ScaleRequest {
repeated string memberIds = 1;
bool dryRun = 2;
optional uint32 newReplicationFactor = 3;
}
message ReassignAllPartitionsRequest {
// The ids of the brokers to which all partitions should be re-distributed
repeated string memberIds = 1;
bool dryRun = 2;
}
message ExporterDisableRequest {
string exporterId = 1;
bool dryRun = 2;
}
message ExporterEnableRequest {
string exporterId = 1;
optional string initializeFrom = 2;
bool dryRun = 3;
}
message CancelTopologyChangeRequest {
int64 changeId = 1;
}
message TopologyChangeResponse {
int64 changeId = 1;
map<string, topology_protocol.MemberState> currentTopology = 2;
map<string, topology_protocol.MemberState> expectedTopology = 3;
repeated topology_protocol.TopologyChangeOperation plannedChanges = 4;
}
message Response {
oneof response {
ErrorResponse error = 1;
TopologyChangeResponse topologyChangeResponse = 2;
topology_protocol.ClusterTopology clusterTopology = 3;
}
}
message ErrorResponse {
ErrorCode errorCode = 1;
string errorMessage = 2;
}
enum ErrorCode {
INVALID_REQUEST = 0;
OPERATION_NOT_ALLOWED = 1;
CONCURRENT_MODIFICATION = 2;
INTERNAL_ERROR = 3;
}
```
|
```css
/*!
* bootstrap-fileinput v5.0.7
* path_to_url
*
* Krajee Explorer Font Awesome 4.x theme style for bootstrap-fileinput. Load this theme file after loading
* font awesome 4.x CSS and `fileinput.css`.
*
* Author: Kartik Visweswaran
*
* path_to_url
*/
.theme-explorer-fa .file-upload-indicator, .theme-explorer-fa .file-drag-handle, .theme-explorer-fa .explorer-frame .kv-file-content, .theme-explorer-fa .file-actions, .explorer-frame .file-preview-other {
text-align: center;
}
.theme-explorer-fa .file-thumb-progress .progress, .theme-explorer-fa .file-thumb-progress .progress-bar {
height: 13px;
font-size: 11px;
line-height: 13px;
}
.theme-explorer-fa .file-upload-indicator, .theme-explorer-fa .file-drag-handle {
position: absolute;
display: inline-block;
top: 0;
right: 3px;
width: 16px;
height: 16px;
font-size: 16px;
}
.theme-explorer-fa .file-thumb-progress .progress, .theme-explorer-fa .explorer-caption {
display: block;
}
.theme-explorer-fa .explorer-frame td {
vertical-align: middle;
text-align: left;
}
.theme-explorer-fa .explorer-frame .kv-file-content {
width: 80px;
height: 80px;
padding: 5px;
}
.theme-explorer-fa .file-actions-cell {
position: relative;
width: 120px;
padding: 0;
}
.theme-explorer-fa .file-thumb-progress .progress {
margin-top: 5px;
}
.theme-explorer-fa .explorer-caption {
color: #777;
}
.theme-explorer-fa .kvsortable-ghost {
opacity: 0.6;
background: #e1edf7;
border: 2px solid #a1abff;
}
.theme-explorer-fa .file-preview .table {
margin: 0;
}
.theme-explorer-fa .file-error-message ul {
padding: 5px 0 0 20px;
}
.explorer-frame .file-preview-text {
display: inline-block;
color: #428bca;
border: 1px solid #ddd;
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
outline: none;
padding: 8px;
resize: none;
}
.explorer-frame .file-preview-html {
display: inline-block;
border: 1px solid #ddd;
padding: 8px;
overflow: auto;
}
.explorer-frame .file-other-icon {
font-size: 2.6em;
}
@media only screen and (max-width: 767px) {
.theme-explorer-fa .table, .theme-explorer-fa .table tbody, .theme-explorer-fa .table tr, .theme-explorer-fa .table td {
display: block;
width: 100% !important;
}
.theme-explorer-fa .table {
border: none;
}
.theme-explorer-fa .table tr {
margin-top: 5px;
}
.theme-explorer-fa .table tr:first-child {
margin-top: 0;
}
.theme-explorer-fa .table td {
text-align: center;
}
.theme-explorer-fa .table .kv-file-content {
border-bottom: none;
padding: 4px;
margin: 0;
}
.theme-explorer-fa .table .kv-file-content .file-preview-image {
max-width: 100%;
font-size: 20px;
}
.theme-explorer-fa .file-details-cell {
border-top: none;
border-bottom: none;
padding-top: 0;
margin: 0;
}
.theme-explorer-fa .file-actions-cell {
border-top: none;
padding-bottom: 4px;
}
.theme-explorer-fa .explorer-frame .explorer-caption {
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
left: 0;
right: 0;
margin: auto;
}
}
/*noinspection CssOverwrittenProperties*/
.file-zoom-dialog .explorer-frame .file-other-icon {
font-size: 22em;
font-size: 50vmin;
}
```
|
Bernard Romain Julien or Bernard-Romain Julien (16 November 1802 – 3 December 1871) was a French printmaker, lithographer, painter and draughtsman.
Life
Julien was born on 16 November 1802 in Bayonne. He was trained to draw in his home town between 1815 and 1818 before moving to Paris, where he studied painting from 1822 onwards under Antoine-Jean Gros at the École des Beaux-Arts.
He exhibited some paintings and drawings at the Paris Salon between 1833 and 1850, but principally showed lithographs, for which he was known. He produced lithographs of other artists, like George Henry Hall's Cours de Dessin. In 1840, he published ("Study in deux crayons").
In Landor's Cottage, Edgar Allan Poe describes Julien's work, "One of these drawings was a scene of Oriental luxury, or rather voluptuousness; another was a carnival piece, spirited beyond compare; the third was a Greek female head—a face so divinely beautiful, and yet of an expression so provokingly indeterminate, never before arrested my attention."
In 1854, he made a full-bust portrait of George Washington, after Gilbert Stuart, and the lithograph is in the art collection of Mount Vernon. He returned to his hometown in 1866 and taught drawing there until his death on 3 December 1871.
References
French lithographers
19th-century French painters
French printmakers
People from Bayonne
1802 births
1871 deaths
|
```python
# Run this utility to create test checkpoints (usable in the backward compat
# test cases) for all frameworks.
# Checkpoints will be located in ~/ray_results/...
from ray.rllib.algorithms.ppo import PPOConfig
from ray.rllib.utils.test_utils import framework_iterator
# Build a PPOConfig object.
config = (
PPOConfig()
.environment("FrozenLake-v1")
.training(
num_sgd_iter=2,
model=dict(
fcnet_hiddens=[10],
),
)
)
for fw in framework_iterator(config):
algo = config.build()
results = algo.train()
algo.save()
algo.stop()
```
|
```go
package routes
import (
"github.com/kataras/iris/v12"
)
// GetFollowingHandler handles the GET: /following/{id}
func GetFollowingHandler(ctx iris.Context) {
id, _ := ctx.Params().GetInt64("id")
ctx.Writef("from "+ctx.GetCurrentRoute().Path()+" with ID: %d", id)
}
```
|
```objective-c
//
// YYCache.h
// YYKit <path_to_url
//
// Created by ibireme on 15/2/13.
//
// This source code is licensed under the MIT-style license found in the
// LICENSE file in the root directory of this source tree.
//
#import <Foundation/Foundation.h>
@class YYMemoryCache, YYDiskCache;
NS_ASSUME_NONNULL_BEGIN
/**
`YYCache` is a thread safe key-value cache.
It use `YYMemoryCache` to store objects in a small and fast memory cache,
and use `YYDiskCache` to persisting objects to a large and slow disk cache.
See `YYMemoryCache` and `YYDiskCache` for more information.
*/
@interface YYCache : NSObject
/** The name of the cache, readonly. */
@property (copy, readonly) NSString *name;
/** The underlying memory cache. see `YYMemoryCache` for more information.*/
@property (strong, readonly) YYMemoryCache *memoryCache;
/** The underlying disk cache. see `YYDiskCache` for more information.*/
@property (strong, readonly) YYDiskCache *diskCache;
/**
Create a new instance with the specified name.
Multiple instances with the same name will make the cache unstable.
@param name The name of the cache. It will create a dictionary with the name in
the app's caches dictionary for disk cache. Once initialized you should not
read and write to this directory.
@result A new cache object, or nil if an error occurs.
*/
- (nullable instancetype)initWithName:(NSString *)name;
/**
Create a new instance with the specified path.
Multiple instances with the same name will make the cache unstable.
@param path Full path of a directory in which the cache will write data.
Once initialized you should not read and write to this directory.
@result A new cache object, or nil if an error occurs.
*/
- (nullable instancetype)initWithPath:(NSString *)path NS_DESIGNATED_INITIALIZER;
/**
Convenience Initializers
Create a new instance with the specified name.
Multiple instances with the same name will make the cache unstable.
@param name The name of the cache. It will create a dictionary with the name in
the app's caches dictionary for disk cache. Once initialized you should not
read and write to this directory.
@result A new cache object, or nil if an error occurs.
*/
+ (nullable instancetype)cacheWithName:(NSString *)name;
/**
Convenience Initializers
Create a new instance with the specified path.
Multiple instances with the same name will make the cache unstable.
@param path Full path of a directory in which the cache will write data.
Once initialized you should not read and write to this directory.
@result A new cache object, or nil if an error occurs.
*/
+ (nullable instancetype)cacheWithPath:(NSString *)path;
- (instancetype)init UNAVAILABLE_ATTRIBUTE;
+ (instancetype)new UNAVAILABLE_ATTRIBUTE;
#pragma mark - Access Methods
///=============================================================================
/// @name Access Methods
///=============================================================================
/**
Returns a boolean value that indicates whether a given key is in cache.
This method may blocks the calling thread until file read finished.
@param key A string identifying the value. If nil, just return NO.
@return Whether the key is in cache.
*/
- (BOOL)containsObjectForKey:(NSString *)key;
/**
Returns a boolean value with the block that indicates whether a given key is in cache.
This method returns immediately and invoke the passed block in background queue
when the operation finished.
@param key A string identifying the value. If nil, just return NO.
@param block A block which will be invoked in background queue when finished.
*/
- (void)containsObjectForKey:(NSString *)key withBlock:(nullable void(^)(NSString *key, BOOL contains))block;
/**
Returns the value associated with a given key.
This method may blocks the calling thread until file read finished.
@param key A string identifying the value. If nil, just return nil.
@return The value associated with key, or nil if no value is associated with key.
*/
- (nullable id<NSCoding>)objectForKey:(NSString *)key;
/**
Returns the value associated with a given key.
This method returns immediately and invoke the passed block in background queue
when the operation finished.
@param key A string identifying the value. If nil, just return nil.
@param block A block which will be invoked in background queue when finished.
*/
- (void)objectForKey:(NSString *)key withBlock:(nullable void(^)(NSString *key, id<NSCoding> object))block;
/**
Sets the value of the specified key in the cache.
This method may blocks the calling thread until file write finished.
@param object The object to be stored in the cache. If nil, it calls `removeObjectForKey:`.
@param key The key with which to associate the value. If nil, this method has no effect.
*/
- (void)setObject:(nullable id<NSCoding>)object forKey:(NSString *)key;
/**
Sets the value of the specified key in the cache.
This method returns immediately and invoke the passed block in background queue
when the operation finished.
@param object The object to be stored in the cache. If nil, it calls `removeObjectForKey:`.
@param block A block which will be invoked in background queue when finished.
*/
- (void)setObject:(nullable id<NSCoding>)object forKey:(NSString *)key withBlock:(nullable void(^)(void))block;
/**
Removes the value of the specified key in the cache.
This method may blocks the calling thread until file delete finished.
@param key The key identifying the value to be removed. If nil, this method has no effect.
*/
- (void)removeObjectForKey:(NSString *)key;
/**
Removes the value of the specified key in the cache.
This method returns immediately and invoke the passed block in background queue
when the operation finished.
@param key The key identifying the value to be removed. If nil, this method has no effect.
@param block A block which will be invoked in background queue when finished.
*/
- (void)removeObjectForKey:(NSString *)key withBlock:(nullable void(^)(NSString *key))block;
/**
Empties the cache.
This method may blocks the calling thread until file delete finished.
*/
- (void)removeAllObjects;
/**
Empties the cache.
This method returns immediately and invoke the passed block in background queue
when the operation finished.
@param block A block which will be invoked in background queue when finished.
*/
- (void)removeAllObjectsWithBlock:(void(^)(void))block;
/**
Empties the cache with block.
This method returns immediately and executes the clear operation with block in background.
@warning You should not send message to this instance in these blocks.
@param progress This block will be invoked during removing, pass nil to ignore.
@param end This block will be invoked at the end, pass nil to ignore.
*/
- (void)removeAllObjectsWithProgressBlock:(nullable void(^)(int removedCount, int totalCount))progress
endBlock:(nullable void(^)(BOOL error))end;
@end
NS_ASSUME_NONNULL_END
```
|
Ahaetulla dispar, the Gunther's vine snake, is a species of tree snake endemic to the Western Ghats. It is primarily restricted to the Shola forests of the Southern Western Ghats where it is found often on high-elevation montane grasslands and the low shrub belts.
Description
Snout pointed and projecting, without dermal appendage, not quite twice as long as the eye. Internasals and prefrontals usually in contact with the labials; one or two small loreals ; frontal as long as its distance from the end of the snout or longer, as long as the parietals; one preocular, in contact with the frontal, with one or two suboculara below; twopostoculars; temporals 2+2 or 2+3; upper labials 8, fifth entering the eye; 4 lower labials in contact with the anterior chin-shields, which are as long as the posterior or a little shorter. Scales in 15 rows, those of the sacral region more or less distinctly keeled. Ventrals 142–151; anal divided; sub-caudals 90-105. Dorsal body Bright green or bronzy olive with two yellowish stripes along the ventrals, the skin between the scales black; ventral surface pale green to pale olive.
Total length 26 inches; tail 7.5.
Geographic Range
It is endemic to Southern Western Ghats in Kerala and Tamil Nadu states of South India, from the Anaimalai Hills to the region north of the Shencottah Gap. Precise records are from Munnar, Anaimalai, Grass Hills National Park, Palni hills, Meghamalai, Periyar Tiger Reserve, and Travancore hills. Populations south of the Shencottah Gap, in regions such as the Agasthyamalai Hills, are now considered to belong to a separate species, A. travancorica. It is a high-elevation species, occurring only above 1300 m, all the way up to 2695 m asl.
Habits and habitat
It is a diurnal, semi arboreal and sometimes terrestrial snake, often found in low bushes or rocks and high elevation forests and grasslands of the Western Ghats. Males are often green, while females are brown. It mainly feeds on lizards and frogs. It is considered to have a mild venom and is rear-fanged. It is presumed to be ovoviviparous, giving birth to live young ones. Natural history poorly known.
Notes
References
Boulenger, George A. 1890 The Fauna of British India, Including Ceylon and Burma. Reptilia and Batrachia. Taylor & Francis, London, xviii, 541 pp.
Günther, A. 1864 The Reptiles of British India. London (Taylor & Francis), xxvii + 452 pp.
Chandramouli, S. R., & Ganesh, S. R. (2011). Herpetofauna of southern Western Ghats, India–reinvestigated after decades. TAPROBANICA: The Journal of Asian Biodiversity, 2(2).
Ganesh, S. R., Bhupathy, S., David, P., Sathishkumar, N., & Srinivas, G. (2014). Snake fauna of High Wavy Mountains, Western Ghats, India: species richness, status, and distribution pattern. Russian Journal of Herpetology, 21(1), 53–64.
External links
https://web.archive.org/web/20051229232916/http://www.strangeark.com/ebooks/IndiaHerps.pdf
Ahaetulla
Snakes of India
Endemic fauna of the Western Ghats
Snakes of Asia
Reptiles described in 1864
Taxa named by Albert Günther
|
San Francesco is a Baroque-style, Roman Catholic church located on near the railway station in the town of Canicattì, province of Agrigento, region of Sicily, Italy.
History
The church is attached to the ancient Convent of the Franciscans, suppressed after the annexation of Sicily to the Kingdom of Italy. The church was begun in 1554 at the site of an early Oratory, under the patronage of Baron Giovanni Battista Bonanno. In 1954 it was consecrated by Cardinal Ernesto Ruffini as a Shrine dedicated to the Immaculate Conception, patroness of the town.
In 1906, the Convent was converted under the patronage of Baron Francesco Lombardo, into a nursing home for the elderly, with the designs drawn up by Ernesto Basile. The church was converted to parish church in 1963.
The church facade has sandstone mouldings with stucco walls. The interior structure was built above a crypt, used as an ossuary by the Franciscans. The interior has a single nave once possessing 18th-century ceiling frescoes by Domenico Provenzano, but lost in the roof collapse of 1823. The side altars possess a number of statues. In the first niche on the right is an eighteenth-century statue of St Anthony of Padua. In the second niche, a sculptural wooden group with the Pietà. In the third altar, a wooden statue of St Francis is attributed to the workshop of the sculptors Bagnasco.
In the apse, is a large wooden altar topped by a venerated statue of the Immaculate Conception. This statue is carried during holidays in procession to the major churches of the city. Legend holds that the image of the Virgin was sculpted not by human, but miraculously by the hands of angels.
References
16th-century Roman Catholic church buildings in Italy
San Francesco Church
Churches in the province of Agrigento
Roman Catholic churches completed in 1554
Renaissance architecture in Sicily
|
Alexander Ross (20 April 1845 – 3 February 1923) was a British civil engineer particularly noted for his work with the railway industry.
Ross was born in Laggan, County of Inverness in Scotland on 20 April 1845. He was educated in Aberdeen and at Owen's College in Manchester, an institution now a part of the University of Manchester. Ross began his career in railway engineering with the Great North of Scotland Railway (GNSR) before moving to the London and North Western Railway (LNWR) in 1871. In 1873 he went to work for the North Eastern Railway (NER) before returning to LNWR in the next year. He changed employer again in 1884 when he went to work for the Lancashire and Yorkshire Railway (LYR) before becoming the Chief Engineer of the Manchester, Sheffield and Lincolnshire Railway (MS&LR) in 1890. During his time at MS&LR he was responsible for the design of many of the works involved with that company's London Extension.
In 1896 Ross became the Chief Engineer of the Great Northern Railway (GNR), a post he held until 1911 when he became an engineering consultant. During his time at GNR his advice was sought by the company's board on the locomotive design to be chosen for their no.1300 series of engines. Several designs were rejected as they were judged to be too long or heavy for the rail infrastructure. Despite several attempts at redesign by Nigel Gresley the series was scrapped in 1924. His works as an engineering consultant included the Hertford Loop Line and Breydon Viaduct, with Ross serving as the Engineer-in-Chief of the latter. On 16 June 1897 he was appointed Major in the Engineer and Railway Staff Corps, an unpaid unit of the Volunteer Force which provided technical advice to the British Army. He was a Lieutenant-Colonel in that corps at the time it joined the Territorial Force on 1 April 1908. He had been a member of the Institution of Civil Engineers since before 16 June 1897 and from November 1915 to November 1916 he served as their president. Ross died in London on 3 February 1923.
References
Bibliography
1845 births
1923 deaths
Scottish civil engineers
Presidents of the Institution of Civil Engineers
Engineer and Railway Staff Corps officers
Great Northern Railway (Great Britain) people
|
Basal Eurasian is a proposed lineage of anatomically modern humans with reduced, or zero, archaic hominin (Neanderthal) admixture compared to other ancient non-Africans. Basal Eurasians represent a sister lineage to other Eurasians and may have originated from the Southern Middle East, specifically the Arabian peninsula, or North Africa, and are said to have contributed ancestry to various West Eurasian, South Asian, and Central Asian groups. This hypothetical population was proposed to explain the lower archaic admixture among modern West Eurasians compared to with East Eurasians, although alternatives without the need of such Basal lineage exist as well.
Description
A study by Lazaridis et al. in 2014 demonstrated that modern Europeans can be modelled as an admixture of three ancestral populations; Ancient North Eurasians (ANE), Western Hunter-Gatherers (WHG), and Early European Farmers (EEF). This same study also showed that EEFs harbour ancestry from a hypothetical 'ghost' population which the authors name 'Basal Eurasians'. This group, who have not yet been sampled from ancient remains, are thought to have diverged from all non-African populations c. 60,000 to 100,000 years ago, before non-Africans admixed with Neanderthals (c. 50,000 to 60,000 years ago) and diversified from each other. A second study by Lazaridis et al. in 2016 found that populations with higher levels of Basal Eurasian ancestry have lower levels of Neanderthal ancestry, which suggests that Basal Eurasians had lower levels of Neanderthal ancestry compared with other non-Africans. Another study by Ferreira et al. in 2021 suggested that Basal Eurasians diverged from other Eurasians between 50,000 and 60,000 years ago, and lived somewhere in the Arabian peninsula, specifically the Persian Gulf region, shortly before proper Eurasians admixed with a Neanderthal population in a region stretching from the Levant to northern Iran.
In modern populations, Neanderthal ancestry is around 10% to 20% lower in West Eurasians than East Eurasians, with intermediate levels found in South and Central Asian populations. Although a scenario involving multiple admixture events between modern humans and Neanderthals is an alternative possibility, the most likely explanation for this is that Neanderthal ancestry in West Eurasians and South and Central Asians was diluted by admixture with Basal Eurasian groups.
Possible geographic origins
Basal Eurasians may have originated in a region stretching from North Africa to the Middle East, before admixing with West-Eurasian populations. North Africa has been described as a strong candidate for the location of the emergence of Basal Eurasians by Loosdrecht et al. in 2018. Ferreira et al. in 2021 traced back the point of origin for Basal Eurasians into the Middle East, specifically in the Persian Gulf region on the Arab peninsula. As Basal Eurasians had low levels of Neanderthal ancestry, genetic and archaeological evidence for interactions between modern humans and Neanderthals may allow certain areas, such as the Levant, to be ruled out as possible sources for Basal Eurasians. In other areas, such as southern Southwest Asia, there is currently no evidence for an overlap between modern human and Neanderthal populations.
Estimated Basal Eurasian ancestry in other populations
An estimation for Holocene-era Near Easterners (e.g., Mesolithic Caucasian Hunter Gatherers, Mesolithic Iranians, Neolithic Iranians, Natufians) suggests that they formed from up to 50% Basal Eurasian ancestry, with the remainder being closer to Ancient North Eurasians.
The Ancient North African Taforalt individuals were found to have harbored ~65% West-Eurasian-like ancestry and considered likely direct descendants of such "Basal Eurasian" population. However they were shown to be genetically closer Holocene-era Iranians and Levantine populations, which already harbored increased archaic (Neanderthal) admixture.
Early European Farmers (EEFs), who had some Western European Hunter-Gatherer-related ancestry and originated in the Near East, also derive approximately 44% of their ancestry from this hypothetical Basal Eurasian lineage.
According to one study, Basal-Eurasian ancestry peaks among Eastern Arabs (Qataris) and Iranian populations, at 45% and 35% respectively, and is also found in significant amounts among Ancient Iberomarusian samples and modern Northern Africans, in accordance with the Arabian branch of West-Eurasian diversity, which expanded into Northern and Northeastern Africa between 30 and 15 thousand years ago.
References
Sources
Archaeogenetic lineages
Natufian culture
|
Frank John Ford (18 March 1935 – 27 September 2018) was an Australian freelance writer, director, dramaturg and drama lecturer.
Biography
He studied acting, drama theory, dramaturgy, directing and cinema in his degrees: M.F.A. (Theatre Arts) from Columbia University, New York (Awarded the Richard Rodgers Scholarship); Certificate in Arts Administration, Harvard Business School; A.D.B (Associate of the Drama Board) London and B.A. University of Sydney.
He was an author and director of opera, music theatre, cabaret, experimental theatre, modern and classic drama and multi-media productions. His plays, adaptations and cabarets have been performed in Australia and overseas. He was former Head of the Department of Drama at Adelaide University and held various teaching, directing and arts administration positions here and overseas.
He was Founding Chair of the art festival Adelaide Fringe Festival in 1975, and its first Honorary Life Member. He initiated the Adelaide Cabaret Festival and was Chair of the Advisory Committee. He served on many arts boards such as Country Arts SA, Adelaide Festival and as Chair of the Australian Dance Theatre and was in later life Chair of the Independent Arts Foundation.
He died on 27 September 2018 at the age of 83.
Honours and legacy
Honorary Life Member of Adelaide Fringe.
In 1999, he was awarded Member of the Order of Australia for service to the development of the performing arts in South Australia as a director, playwright, administrator and educator. In 2001 he received the Centenary Medal for services to the community, particularly through the performing arts.
In 2006 he received the inaugural Premier’s "Life Time Achievement" Ruby Award for the Arts.
In 2015 was an Australia Day, South Australian Senior of the Year Finalist and City of Adelaide Citizen of the Year.
In 2017 he was appointed Honorary Membership, Actors Equity division of the Media Entertainment and Arts Alliance.
In 2018 the South Australian Ruby Awards named an award after him, the Frank Ford Memorial Young Achiever Award
References
1935 births
2018 deaths
Australian theatre directors
Academic staff of the University of Adelaide
Australian LGBT dramatists and playwrights
Members of the Order of Australia
University of Sydney alumni
Columbia University School of the Arts alumni
Harvard Business School alumni
Australian male dramatists and playwrights
Further reading
|
```objective-c
// -*- C++ -*-
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the terms
// Foundation; either version 3, or (at your option) any later
// version.
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// Under Section 7 of GPL version 3, you are granted additional
// permissions described in the GCC Runtime Library Exception, version
// 3.1, as published by the Free Software Foundation.
// a copy of the GCC Runtime Library Exception along with this program;
// see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
// <path_to_url
/** @file parallel/workstealing.h
* @brief Parallelization of embarrassingly parallel execution by
* means of work-stealing.
*
* Work stealing is described in
*
* R. D. Blumofe and C. E. Leiserson.
* Scheduling multithreaded computations by work stealing.
* Journal of the ACM, 46(5):720748, 1999.
*
* This file is a GNU parallel extension to the Standard C++ Library.
*/
// Written by Felix Putze.
#ifndef _GLIBCXX_PARALLEL_WORKSTEALING_H
#define _GLIBCXX_PARALLEL_WORKSTEALING_H 1
#include <parallel/parallel.h>
#include <parallel/random_number.h>
#include <parallel/compatibility.h>
namespace __gnu_parallel
{
#define _GLIBCXX_JOB_VOLATILE volatile
/** @brief One __job for a certain thread. */
template<typename _DifferenceTp>
struct _Job
{
typedef _DifferenceTp _DifferenceType;
/** @brief First element.
*
* Changed by owning and stealing thread. By stealing thread,
* always incremented. */
_GLIBCXX_JOB_VOLATILE _DifferenceType _M_first;
/** @brief Last element.
*
* Changed by owning thread only. */
_GLIBCXX_JOB_VOLATILE _DifferenceType _M_last;
/** @brief Number of elements, i.e. @c _M_last-_M_first+1.
*
* Changed by owning thread only. */
_GLIBCXX_JOB_VOLATILE _DifferenceType _M_load;
};
/** @brief Work stealing algorithm for random access iterators.
*
* Uses O(1) additional memory. Synchronization at job lists is
* done with atomic operations.
* @param __begin Begin iterator of element sequence.
* @param __end End iterator of element sequence.
* @param __op User-supplied functor (comparator, predicate, adding
* functor, ...).
* @param __f Functor to @a process an element with __op (depends on
* desired functionality, e. g. for std::for_each(), ...).
* @param __r Functor to @a add a single __result to the already
* processed elements (depends on functionality).
* @param __base Base value for reduction.
* @param __output Pointer to position where final result is written to
* @param __bound Maximum number of elements processed (e. g. for
* std::count_n()).
* @return User-supplied functor (that may contain a part of the result).
*/
template<typename _RAIter,
typename _Op,
typename _Fu,
typename _Red,
typename _Result>
_Op
__for_each_template_random_access_workstealing(_RAIter __begin,
_RAIter __end, _Op __op,
_Fu& __f, _Red __r,
_Result __base,
_Result& __output,
typename std::iterator_traits<_RAIter>::difference_type __bound)
{
_GLIBCXX_CALL(__end - __begin)
typedef std::iterator_traits<_RAIter> _TraitsType;
typedef typename _TraitsType::difference_type _DifferenceType;
const _Settings& __s = _Settings::get();
_DifferenceType __chunk_size =
static_cast<_DifferenceType>(__s.workstealing_chunk_size);
// How many jobs?
_DifferenceType __length = (__bound < 0) ? (__end - __begin) : __bound;
// To avoid false sharing in a cache line.
const int __stride = (__s.cache_line_size * 10
/ sizeof(_Job<_DifferenceType>) + 1);
// Total number of threads currently working.
_ThreadIndex __busy = 0;
_Job<_DifferenceType> *__job;
omp_lock_t __output_lock;
omp_init_lock(&__output_lock);
// Write base value to output.
__output = __base;
// No more threads than jobs, at least one thread.
_ThreadIndex __num_threads = __gnu_parallel::max<_ThreadIndex>
(1, __gnu_parallel::min<_DifferenceType>(__length,
__get_max_threads()));
# pragma omp parallel shared(__busy) num_threads(__num_threads)
{
# pragma omp single
{
__num_threads = omp_get_num_threads();
// Create job description array.
__job = new _Job<_DifferenceType>[__num_threads * __stride];
}
// Initialization phase.
// Flags for every thread if it is doing productive work.
bool __iam_working = false;
// Thread id.
_ThreadIndex __iam = omp_get_thread_num();
// This job.
_Job<_DifferenceType>& __my_job = __job[__iam * __stride];
// Random number (for work stealing).
_ThreadIndex __victim;
// Local value for reduction.
_Result __result = _Result();
// Number of elements to steal in one attempt.
_DifferenceType __steal;
// Every thread has its own random number generator
// (modulo __num_threads).
_RandomNumber __rand_gen(__iam, __num_threads);
// This thread is currently working.
# pragma omp atomic
++__busy;
__iam_working = true;
// How many jobs per thread? last thread gets the rest.
__my_job._M_first = static_cast<_DifferenceType>
(__iam * (__length / __num_threads));
__my_job._M_last = (__iam == (__num_threads - 1)
? (__length - 1)
: ((__iam + 1) * (__length / __num_threads) - 1));
__my_job._M_load = __my_job._M_last - __my_job._M_first + 1;
// Init result with _M_first value (to have a base value for reduction)
if (__my_job._M_first <= __my_job._M_last)
{
// Cannot use volatile variable directly.
_DifferenceType __my_first = __my_job._M_first;
__result = __f(__op, __begin + __my_first);
++__my_job._M_first;
--__my_job._M_load;
}
_RAIter __current;
# pragma omp barrier
// Actual work phase
// Work on own or stolen current start
while (__busy > 0)
{
// Work until no productive thread left.
# pragma omp flush(__busy)
// Thread has own work to do
while (__my_job._M_first <= __my_job._M_last)
{
// fetch-and-add call
// Reserve current job block (size __chunk_size) in my queue.
_DifferenceType __current_job =
__fetch_and_add<_DifferenceType>(&(__my_job._M_first),
__chunk_size);
// Update _M_load, to make the three values consistent,
// _M_first might have been changed in the meantime
__my_job._M_load = __my_job._M_last - __my_job._M_first + 1;
for (_DifferenceType __job_counter = 0;
__job_counter < __chunk_size
&& __current_job <= __my_job._M_last;
++__job_counter)
{
// Yes: process it!
__current = __begin + __current_job;
++__current_job;
// Do actual work.
__result = __r(__result, __f(__op, __current));
}
# pragma omp flush(__busy)
}
// After reaching this point, a thread's __job list is empty.
if (__iam_working)
{
// This thread no longer has work.
# pragma omp atomic
--__busy;
__iam_working = false;
}
_DifferenceType __supposed_first, __supposed_last,
__supposed_load;
do
{
// Find random nonempty deque (not own), do consistency check.
__yield();
# pragma omp flush(__busy)
__victim = __rand_gen();
__supposed_first = __job[__victim * __stride]._M_first;
__supposed_last = __job[__victim * __stride]._M_last;
__supposed_load = __job[__victim * __stride]._M_load;
}
while (__busy > 0
&& ((__supposed_load <= 0)
|| ((__supposed_first + __supposed_load - 1)
!= __supposed_last)));
if (__busy == 0)
break;
if (__supposed_load > 0)
{
// Has work and work to do.
// Number of elements to steal (at least one).
__steal = (__supposed_load < 2) ? 1 : __supposed_load / 2;
// Push __victim's current start forward.
_DifferenceType __stolen_first =
__fetch_and_add<_DifferenceType>
(&(__job[__victim * __stride]._M_first), __steal);
_DifferenceType __stolen_try = (__stolen_first + __steal
- _DifferenceType(1));
__my_job._M_first = __stolen_first;
__my_job._M_last = __gnu_parallel::min(__stolen_try,
__supposed_last);
__my_job._M_load = __my_job._M_last - __my_job._M_first + 1;
// Has potential work again.
# pragma omp atomic
++__busy;
__iam_working = true;
# pragma omp flush(__busy)
}
# pragma omp flush(__busy)
} // end while __busy > 0
// Add accumulated result to output.
omp_set_lock(&__output_lock);
__output = __r(__output, __result);
omp_unset_lock(&__output_lock);
}
delete[] __job;
// Points to last element processed (needed as return value for
// some algorithms like transform)
__f._M_finish_iterator = __begin + __length;
omp_destroy_lock(&__output_lock);
return __op;
}
} // end namespace
#endif /* _GLIBCXX_PARALLEL_WORKSTEALING_H */
```
|
Idina (stylized as idina.) is the eponymous fifth studio album by singer Idina Menzel. It was released on September 23, 2016, by Warner Bros. Records.
Overview
In late 2015, Menzel announced via Twitter and in interviews that she was working on a new studio album, set to be released in Fall 2016. On August 5, 2016 at midnight, Menzel appeared on Facebook Live from the Skylark Rooftop in New York City to announce that the album would be released on September 23, 2016, and gave a world premiere performance of her single "I See You".
The week after she announced the album, Menzel appeared on Facebook Live again from The Berkshires with her all-girl performing arts camp A Broader Way, where she gave another sneak preview of a song from the album titled "Queen of Swords" along with the campers. The song was released as a single several days later. Music videos for both "I See You" and "Queen of Swords" were posted to her YouTube channel.
On September 9, Menzel released her third single, "Small World". The fourth single, "Perfect Story", and an accompanying music video were released on September 16.
Menzel also said that the album was her most personal to date.
The album was supported the following year by a World Tour which played in over 50+ cities across North America, Europe, and Asia.
Reception
The album received fairly positive reviews from music critics. AllMusic awarded it 3.5 stars, saying she was able to "craft a sound that's expansive enough to resonate with fans of her stage work while adding a bit of a modern age," particularly drawing attention to "Queen of Swords", "Cake", and "I Do". The review also noted that the album was very personal and was a vast improvement on her last pop album, I Stand. Newsday gave the album a B+, noting her "gorgeous voice" and mentioning "Queen of Swords", "I See You", and "Perfect Story" as stand-out tracks.
Track listing
Charts
References
2016 albums
Idina Menzel albums
|
```ruby
require 'rails_helper'
RSpec.describe "editors/edit", type: :view do
before(:each) do
@editor = assign(:editor, create(:editor))
allow(Repository).to receive(:editors).and_return %w(@user1 @user2 @user3)
end
context "renders the edit editor form" do
it "including tracks if tracks are enabled" do
enable_feature(:tracks) do
render
assert_select "form[action=?][method=?]", editor_path(@editor), "post" do
assert_select "select#editor_kind[name=?]", "editor[kind]"
assert_select "input#editor_max_assignments[name=?]", "editor[max_assignments]"
assert_select "input#editor_availability_comment[name=?]", "editor[availability_comment]"
assert_select "input#editor_title[name=?]", "editor[title]"
assert_select "input#editor_first_name[name=?]", "editor[first_name]"
assert_select "input#editor_last_name[name=?]", "editor[last_name]"
assert_select "select#editor_login[name=?]", "editor[login]"
assert_select "input#editor_email[name=?]", "editor[email]"
assert_select "input#editor_avatar_url[name=?]", "editor[avatar_url]"
assert_select "input#editor_category_list[name=?]", "editor[category_list]"
assert_select "input#editor_url[name=?]", "editor[url]"
assert_select "input[name=?]", "editor[track_ids][]"
assert_select "textarea#editor_description[name=?]", "editor[description]"
end
end
end
it "without tracks if tracks are disabled" do
disable_feature(:tracks) do
render
assert_select "form[action=?][method=?]", editor_path(@editor), "post" do
assert_select "select#editor_kind[name=?]", "editor[kind]"
assert_select "input#editor_max_assignments[name=?]", "editor[max_assignments]"
assert_select "input#editor_availability_comment[name=?]", "editor[availability_comment]"
assert_select "input#editor_title[name=?]", "editor[title]"
assert_select "input#editor_first_name[name=?]", "editor[first_name]"
assert_select "input#editor_last_name[name=?]", "editor[last_name]"
assert_select "select#editor_login[name=?]", "editor[login]"
assert_select "input#editor_email[name=?]", "editor[email]"
assert_select "input#editor_avatar_url[name=?]", "editor[avatar_url]"
assert_select "input#editor_category_list[name=?]", "editor[category_list]"
assert_select "input#editor_url[name=?]", "editor[url]"
assert_select "textarea#editor_description[name=?]", "editor[description]"
assert_select "input[name=?]", "editor[track_ids][]", count: 0
end
end
end
end
end
```
|
```go
// +build !ignore_autogenerated
/*
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// Code generated by deepcopy-gen. DO NOT EDIT.
package clientauthentication
import (
runtime "k8s.io/apimachinery/pkg/runtime"
)
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ExecCredential) DeepCopyInto(out *ExecCredential) {
*out = *in
out.TypeMeta = in.TypeMeta
in.Spec.DeepCopyInto(&out.Spec)
if in.Status != nil {
in, out := &in.Status, &out.Status
*out = new(ExecCredentialStatus)
(*in).DeepCopyInto(*out)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCredential.
func (in *ExecCredential) DeepCopy() *ExecCredential {
if in == nil {
return nil
}
out := new(ExecCredential)
in.DeepCopyInto(out)
return out
}
// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (in *ExecCredential) DeepCopyObject() runtime.Object {
if c := in.DeepCopy(); c != nil {
return c
}
return nil
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ExecCredentialSpec) DeepCopyInto(out *ExecCredentialSpec) {
*out = *in
if in.Response != nil {
in, out := &in.Response, &out.Response
*out = new(Response)
(*in).DeepCopyInto(*out)
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCredentialSpec.
func (in *ExecCredentialSpec) DeepCopy() *ExecCredentialSpec {
if in == nil {
return nil
}
out := new(ExecCredentialSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *ExecCredentialStatus) DeepCopyInto(out *ExecCredentialStatus) {
*out = *in
if in.ExpirationTimestamp != nil {
in, out := &in.ExpirationTimestamp, &out.ExpirationTimestamp
*out = (*in).DeepCopy()
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExecCredentialStatus.
func (in *ExecCredentialStatus) DeepCopy() *ExecCredentialStatus {
if in == nil {
return nil
}
out := new(ExecCredentialStatus)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *Response) DeepCopyInto(out *Response) {
*out = *in
if in.Header != nil {
in, out := &in.Header, &out.Header
*out = make(map[string][]string, len(*in))
for key, val := range *in {
var outVal []string
if val == nil {
(*out)[key] = nil
} else {
in, out := &val, &outVal
*out = make([]string, len(*in))
copy(*out, *in)
}
(*out)[key] = outVal
}
}
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Response.
func (in *Response) DeepCopy() *Response {
if in == nil {
return nil
}
out := new(Response)
in.DeepCopyInto(out)
return out
}
```
|
The following is a list of characters from the Japanese manga series Kodomo no Jikan, written and illustrated by Kaworu Watashiya and published in Japan by Futabasha in the monthly seinen manga magazine Comic High!. As of January 2008, thirty-three chapters have been published since serialization began on May 22, 2005, of which twenty-eight have been collected in four bound volumes to date. At one point, an English language version of the manga was licensed for distribution in North America by Seven Seas Entertainment under the title Nymphet, but the Los Angeles–based company ultimately decided not to publish it due to controversies over its content. An anime adaptation of the series with twelve episodes aired on Japanese television between October 12, 2007 and December 28, 2007. Since the animated version only covers events from the first twenty chapters or so, is self-contained, and had an original ending, there exist significant differences in characterization between the manga and anime incarnations of the characters.
The main story revolves around newly graduated, twenty-three-year-old teacher Daisuke Aoki, who has just landed his first teaching job as an elementary school instructor at . He is placed in charge of class 3-1, where one of his students, a mischievously precocious eight-year-old girl named Rin Kokonoe, develops an intense crush on him. Though he does his best to discourage her efforts, she nevertheless continues with her aggressive campaign to win his affections in spite of the problems that ensue that are her attempt to get closer to him. The situation is further complicated not only by the often complex, intertwining relationships existing between them and their respective friends, families, and peers, but also by the everyday life lessons they all learn together, as well as from each other.
Major characters
Daisuke Aoki
The bespectacled, good-natured homeroom teacher of 4-1 (originally 3-1) at Futatsubashi Elementary School and protagonist of the series. By his own accounts the product of a normal, uneventful childhood, Daisuke Aoki was an above average student and athlete in his youth and served as a substitute for members of the track and field club in university. While there, he fell in love with an unnamed female peer of his, but she married one of her seniors before he got a chance to confess his feelings to her. Aoki never harbored any resentment or negative emotions over this development, however, and was glad that she had found happiness with someone he believed to be a better man than himself.
After landing a position as a mid-trimester replacement for class 3-1 at Futatsubashi Elementary School, the freshly graduated, twenty-three-year-old Aoki quickly found several of the preconceived, idealistic notions he held about being an elementary school instructor put to the test by his first teaching job, literally from day one: his complete lack of previous experience as an educator left him poorly prepared for controlling or maintaining the interest of a classroom filled with unruly, disobedient students, inheriting a legacy of mistrust from the former teacher, Nakamura. Most significantly, he has to deal with the shameless flirtations of an eight-year-old determined to win his affections. His enthusiasm, positive-thinking, hands-on attitude, and emotional attachment to his students have made it difficult for him to maintain professional objectivity on occasion, often resulting in his butting heads with strict fellow teacher, Sae Shirai, whose distant, traditional teaching style is the polar opposite of his own. In his struggle to come to terms with the demands of his job and become a better educator, he has found an ally in his attractive coworker and direct senior, Kyōko Hōin, who has been an endless source of practical advice, teaching suggestions, and moral support.
Daisuke's lack of life experience has been his biggest obstacle as a teacher. While this fact has never discouraged his desire to help his students, it nevertheless complicates his efforts to grasp the hardships faced by some of them. His lack of experience with women has also rendered him far more vulnerable to Rin Kokonoe's sexual innuendo and Kuro's barbed remarks about his virginity than he otherwise might have been. His tendency to overthink and overanalyze things, obliviousness to female romantic interest, and his inability to read a person's mood have not proven beneficial, either, as evidenced by his ongoing attempts to start conversations or engage in discussions with Shirai in spite of her dislike for him.
From the moment they first met, Aoki's relationship with Rin Kokonoe has been a complex one. Though initially troubled by her actions and unrestrained affection for him, his attitude softened after learning that she was an orphan, and he has done his best to understand the reasons behind her unusual and outrageous behavior. Though they had developed a kind of affectionate working relationship — with Rin subtly using her influence over the other students to help him maintain classroom discipline, among other things — in a dramatic confrontation with her towards the end of his first school year, he was forced to acknowledge the existence of a strong attraction to her. While the initially undefinable nature of these feelings troubled him greatly, even after his reunion with Rin several months later, a chance comment by Mimi Usa led him to realize that he had developed a father's love for the girl (although he tends to have doubts whether this is what he really feels about her). This realization has increased his protectiveness of Rin and led him to become increasingly suspicious of the motives of her legal guardian, Reiji Kokonoe. When Rin and Reiji start to fall out, he decides to move in with them to keep them in check. However, he later moves out on the request of Shirai who saw him leave the house one night. In the end, Aoki comes to terms with his feelings and admits to himself that he does indeed have a romantic attraction to Rin. Though he has come to this resolution, he chooses to stick to his principles and decides that it is for the best to not confess to her and is fine with maintaining Rin's happiness until she is able to grow up and follow her own path, though it may lead to her eventually forgetting or moving on from their relationship and finding someone else. However, once Rin turns 16, she reunites with him and they finally start dating.
Rin Kokonoe
A mischievously precocious young girl in class 4-1 (originally 3-1) at Futatsubashi Elementary School. Born and raised by her single mother, Aki Kokonoe, for the first five years of her life, Rin Kokonoe was an affectionate, happy child. Though normally shy around strangers, she immediately warmed up to her first cousin once removed, Reiji Kokonoe, when he moved in with them after being orphaned, and accepted the relationship that developed between her mother and him. Her joy at finally having a complete family to call her own, however, was short-lived: Aki was diagnosed with lung cancer, and, while she tried to stay alive long enough to see her daughter enter first grade, died several months later. Rin, who had been folding paper cranes incessantly in the hopes that Aki would recover if she made enough of them, was at her mother's side during her last moments. The event was so traumatic that Rin became a silent and emotionless girl.
Rin, still in her stuporic state, entered Futatsubashi Elementary School, where she was grouped together with the two other "class misfits", Kuro Kagami and Mimi Usa, during a physical education class, which marked the beginning of their association. Though initially treated as a living doll by Kuro, the latter's attempt to remove one of Aki's homemade dresses triggered a reaction in Rin for the first time. Over the next two years, Rin's personality and reputation experienced a dramatic shift: she went from being silent and emotionless to the rebellious, de facto leader of her class who would not hesitate to stand up to adults by using her intelligence and exploiting her status as an "innocent" minor to outsmart and outmaneuver them. The bond between the three girls grew so intimate over time, in fact, that each became willing to do anything to help, protect, or defend the other two without hesitation. Such was the case when the original teacher of class 3-1, Nakamura, bullied Mimi until she decided to stay home from school. Rin, in turn, harassed Nakamura until he had a nervous breakdown and resigned his post.
Rin developed a crush on Nakamura's successor, Daisuke Aoki, on the first day they met, even proclaiming herself his girlfriend almost immediately after discovering he was single. However, she remained mistrustful of him, as she had become with all adults, and did not hesitate to coerce him into keeping silent about her involvement in his predecessor's fate. When a series of unrelated events, such as Aoki's persuading Mimi to return to class and treating the stray cat Nyaa with kindness, began silently attesting to his kindness and sincerity, however, Rin's attitude towards him began to soften. And, as it became to her apparent over time that his feelings for and dedication to her were unshakable — unaffected by the dark side of her he had seen or her sometimes questionable treatment of him and not borne of pity or her resemblance to someone he once cared for — what had started out as a simple crush blossomed into genuine love. As might be expected of a child of her age, Rin displayed her affection for Aoki mostly through merciless teasing, though her flirtatious nature and vast carnal knowledge invariably resulted in her antics bordering on sexual harassment. Her subsequent discovery that Kyōko Hōin was attracted to him as well, however, slowly drove Rin to commit increasingly desperate acts, which, following a failed attempt to confess her feelings to him, culminated in an emotionally charged confrontation that left her frustrated and depressed, Aoki questioning the exact nature of his feelings for her, and the development of a rift between the two of them that would persist for months.
Taking her "love rival", Hōin's, advice on how to get someone to like her to heart, Rin decided to try and earn Aoki's love with kindness instead of trying to take it by force. This change in strategy was part of what motivated her to volunteer for the position of class representative at the beginning of the next school year, a position which would both allow her to use her influence over the other students to facilitate his job as a teacher and make sure her peers could make themselves heard. While her faith in and dedication to him are such that she has been willing to push herself beyond her limits, even to the potential detriment of her own health, it has been revealed that two other, more sinister elements have served as the driving forces behind her actions. The first is Rin's awareness of Reiji's increasingly unhealthy obsession with her, which has left her in the uncomfortable position of balancing her platonic love for him as a father figure, her romantic love for Aoki, and her desire to respect her mother's memory and relationship with Reiji. The second is Rin's fear of her own dark nature — the part of her that tormented Nakamura, twice led her to blackmail Aoki with false charges of sexual molestation, and came close to seriously injuring her rival for Aoki's affection, Hōin — and that she will be consumed by her inner demons, something which she has slowly started to open up to Aoki about following their reconciliation.
Kuro Kagami
The short-tempered, diminutive classmate of Rin Kokonoe and Mimi Usa's at Futatsubashi Elementary School, who has been close friends with both of them since they were in first grade. Originally the stereotypical spoiled rich kid — egotistical, possessed of a superiority complex, and quick to mock, judge, and deride others — her involvement with Mimi and Rin began after the three of them, the "class misfits", grouped together for physical education class, during which the former two of them discovered that the latter's mute, detached state was the result of trauma from her mother's death. Initially, Kuro's "friendship" with Rin was rather warped, as she viewed the latter as little more than her personal plaything, applying things such as makeup and nail polish to her as if she were a living doll (and getting into trouble for it). However, it was during an attempted "dress up" session that Kuro had her arguably greatest impact on her friend's life: her attempt to remove a dress that Aki had made by hand for Rin prompted the latter to emerge from her stupor for the first time to protest the action, marking the beginning of her long journey on the road to eventual recovery.
While Kuro's attitude improved somewhat in the ensuing years, her friendship with Rin changed dramatically: the admiration and respect she developed for the strength of character that emerged in her friend eventually gave rise to an intimate attraction. In spite of this, she remains fiercely loyal and protective of Rin, a courtesy she extends to any individuals she considers her friends.
One quality of hers that has not changed in the intervening years, however, is her obsession with following the latest, expensive fashion trends, a vice which the wealth of the Kagami family, combined with her only child status and a loving yet overworked and absent mother, has allowed her to indulge in to no end. She often wears clothing in the Lolita style, sometimes combined with nekomimi ears and tail, and has claimed in the past that she purposely chose to attend a public school because of the restrictions on her wardrobe a private one's dress code would have imposed upon her.
Though Kuro frequently serves as Rin "partner in crime" due to their comparable levels of sexual knowledge and mutual disdain for authority figures and adults in general, their opinions differ radically when it comes to Daisuke Aoki. The open contempt she shows for him stems from the erroneous notion that he is a phony, i.e. that any praise he offers or concern for the happiness and well-being of his students he demonstrates is part of either an attempt to flatter kids into his authority or a facetious prerequisite of his job as an educator. That she also believes him to be both incompetent and naïve as well as a pervert, lolicon, and rival for Rin's affection have not helped matters any, and she has become determined to never let him live down the fact that he is a virgin once she learns of it. On the other hand, she has come to idolize Sae Shirai, viewing her strict, no-nonsense attitude towards children as evidence of sincerity, and has managed to cultivate a genuine friendship with her, albeit not without encountering a few bumps along the way.
Kuro's growing concerns over changes in Rin's pattern of behavior led to a dramatic confrontation between her and Aoki during which she, without betraying any confidences, stated in no uncertain terms her belief that he cannot banish her friend's demons simply because he is incapable of providing her with the romantic love she wants from him. Though heartbroken by Rin's decision in choosing him over her, Kuro has tried putting some of her animosity towards Aoki aside — or at least as much of it as she can stand to — for the sake of her friend.
Her mother divorced her father after he cheated on her. This is the reason for Kuro's general distrust of men.
Mimi Usa
The studious, bespectacled classmate of Rin Kokonoe and Kuro Kagami's in class 4-1 (originally 3-1) at Futatsubashi Elementary School, who has been close friends with both of them since they were in first grade. Quiet and shy by nature, Mimi Usa's reluctance to speak her mind was initially mistaken for aloofness by her classmates, resulting in their distancing themselves from her through no real fault of her own. This eventually led to her being grouped together with the two other "class outcasts," Kuro and Rin, during a physical education class, an episode which marked the beginning of a mutual association that would ultimately give rise to an intimate friendship.
Despite being the tallest, smartest, and most physically developed of the three girls, Mimi's knowledge of adult and sexual matters is, ironically, inversely proportional to her level of dominance in these areas: an astonishing degree of her childhood innocence has managed to survive her friendship with Rin and Kuro intact, and the clash of her wide-eyed naïveté with the sheer volume of sexual innuendo she is constantly bombarded with, intentionally or unintentionally, often results in confusion, shock, misinterpretation, embarrassment, or some combination of all four. While Daisuke Aoki has done his best to protect Mimi's purity of mind from Rin and Kuro's impromptu "sexual education" lessons, even her two best friends have, on occasion, stepped in to shield her from some of the world's seedier realities, such as lolicons, sexual harassment, lewd commentary, and underwear fetishes. Aoki, over time, has become something resembling a second father figure when it comes to Usa, and Usa has taken his support to heart and has a great deal of trust in him.
Mimi's biggest problem, however, comes in the form of her struggle to find her own voice and establish a sense of self-identity. While her shyness, lack of assertiveness, and reluctance to stand up for herself make her a prime target for teasing and bullying, her father was always there to defend her until a work transfer necessitated his living far away from his family, resulting in the loss of one of her few outlets for making herself heard. Her mother's preoccupation and preference with Mimi's older brother, with whom she does not get along, and her indifference (or at least inconsideration) towards Mimi have made things worse, as she has often found herself standing alone in the face of such challenges as dealing with the verbal abuse of her old homeroom teacher, Nakamura, and purchasing her first bra on her own after suffering much physical and social discomfort. Her mother's preference for her son over her daughter leads to neglectful abuse; when Mimi tells her about being approached by a molester, she shows no concern and even tells Mimi it was her own fault, and changes topic suggesting that she stop going to cram school and settle for going to a public school like her older brother. While Rin, Kuro, and Aoki have been quick to rise to her protection and are unyielding in their emotional and moral support, since most of Mimi's defining characteristics emphasize qualities about herself with which she is either uncomfortable or that make her stand out — such as her intelligence, height, lack of aptitude when it comes to sports and related activities, and unusually generous physical endowment for a third grader — she has become incredibly self-conscious, emotionally fragile, and increasingly depressed over time. Aoki even posed as her brother so that she could go to a photo shoot for a magazine, a rather ambitious step for her. Her picture was published but it seems that no one has yet noticed that Mimi is the girl in the photo. Even Kuro was not able to recognize her friend when she saw her in the streets with Aoki the night of her photo shoot.
Having fallen in love with Rin's cousin, Reiji Kokonoe, at first sight, Mimi received a significant boost in morale when he, recognizing much of who he once was in her, advised her to never lose hope that she would one day find someone who would understand and love her and encouraged her to not succumb to anger and hatred at the world like he did. Though prompted by Rin a short time later into revealing her secret crush on him — which Mimi tearfully did in spite of her fear about adversely affecting their relationship — she was surprised when her friend gave her permission to follow her heart with her blessing. Despite her deep feelings for Reiji, however, Mimi is far from blind: she has noticed subtle signs of his unusual emotional attachment to Rin, and an earlier incident — during which she saw Rin in an uncharacteristically vulnerable, emotionally distraught state just before the two of them shared an unusual moment of non-sexual physical intimacy — have raised her concerns about her friend's continued well-being.
Kyōko Hōin
The young, attractive homeroom teacher of class 4-2 (originally 3-2) at Futatsubashi Elementary School. Little is known about her past, except for the fact that she grew up with only her mother and her younger brother, and has been single since her previous boyfriend dumped her after issuing her an ultimatum: choose between her new teaching assignment or him. One of the first friends Daisuke Aoki made after beginning his new job as well as his direct senior, the friendly, busty, fun-loving Hōin has done her best from the outset to help him out by both offering guidance and advice as well as being his confidante. Though initially amused by the wide-eyed enthusiasm and naïveté with which he approached his job, Aoki's good nature and sincerity slowly grew on her and she developed a fierce crush on him, an attraction that was not diminished in the slightest by her later, accidental discovery that he is a virgin. Though she has made numerous attempts to initiate a romantic relationship with him, a combination of awkward timing and plain old bad luck combined with his uncanny inability to read people's moods and seeming obliviousness to her interest have thus far foiled her attempts, and she has avoided being straightforward about it due to the awkwardness of his being a colleague. Nevertheless, she remains firm in her resolve to keep trying until she succeeds. She is a bit more forward whilst drunk, managing to kiss Aoki whilst he was a sleep. The second time she tries this however, she ends up kissing his sister, Chika.
Hōin's problems with her own class mirror Aoki's own: she has had to deal with her own fair share of gropers, inappropriate remarks directed at her, and children bringing erotic manga to school. Her busty figure had given her the nicknames 'Boin-sensei' ('boin' being a perverse name for breasts) and 'Doin-sensei' (from the sound her stomach fat makes when she begins gaining weight) from her class. Her choice to wear a jumpsuit was, in fact, prompted by her students continuously tugging at her clothing and flipping up her skirt. In spite of all this, her students remain highly protective of her and once angrily banded together to drive Aoki away when they were under the mistaken impression that he was mistreating her.
Though her teaching style is the polar opposite of Sae Shirai's and it has led to (mostly unspoken) differences in opinion on occasion and once made her question whether her most casual style of dressing was detracting from her physical appeal or ability to be taken seriously. Hōin's relationship with her colleague has shown signs of evolving into something resembling friendship. Though she initially used her then-recently acquired knowledge that Shirai was the daughter of the board of education to manipulate her into cosplaying during the school's athletic meet while serving as one of the event's coordinators, Hōin later took advantage of that fact to help her get out of attending a teacher's workshop the principal was insisting she participate in. Shirai subsequently returned the favor by helping her deal with the belligerent mother in charge of the local parent-teacher association that had been causing her much grief and aggravation.
Reiji Kokonoe
Rin Kokonoe's first cousin once removed and legal guardian. The unfortunate product of a dysfunctional home, Reiji Kokonoe grew up without ever receiving any kind of praise from his short-tempered, adulterous alcoholic of a father in spite of his achievements, academic or otherwise. Both he and his mother were often on the receiving end of the father's mean-spirited criticism and vitriol. While he initially believed that his mother's reluctance to leave with him to begin a new life elsewhere and willingness to endure all the verbal and psychological abuse was for his sake, he eventually learned that she was doing it in order to ensure her own continued security and well-being, not his. In that moment, the lifetime of adoration and sympathy he held for his quiet, kind, long-suffering mother curdled into hatred, and he slowly began treating her with the same contempt his father did. Having grown angry and resentful at the world and everyone around him, Reiji began skipping school and locking himself in his room. His hatred for his parents grew so great that, when a freak traffic accident left him an orphan while he was still in high school, he did not shed a single tear for them.
Having grown alienated from his extended family due to circumstances surrounding his parents' deaths, Reiji traveled to Tokyo to live with the other black sheep of the Kokonoe family, his older cousin Aki, and her illegitimate daughter, Rin. Though initially just as cynical towards and mistrustful of her as he had become towards all adults, he was literally moved to tears upon learning that she had chosen to live her life as an outcast rather than have an abortion. Seeing in her the loving mother he always wished he had had, it is perhaps unsurprising that Aki's gentle, quirky nature and visible affection for her child eventually won Reiji over and he fell in love with her. Though still in high school, Reiji worked hard, and after securing a position at an accounting firm, confessed his feelings. While initially reluctant to return his feelings due to their age difference and status as cousins, Aki eventually entered into a relationship with him that was, by all appearances, a happy one. Despite the fact that she never quite managed to help him completely let go of the anger and hatred within him, Reiji's newfound family succeeded in silencing his inner demons and he finally found some measure of peace in his troubled life, one which, unfortunately, was not to last.
Though fiercely driven by his determination to provide for and protect his new family, with money being no object, Reiji did not learn of Aki's advanced stage of lung cancer until well after it was diagnosed. Though he managed to convince her to accept treatment in spite of her concerns over their finances, when she showed no signs of improvement after two months, he respected her wish to return home in spite of the knowledge that doing so was a death sentence. While it was hoped that she would remain alive long enough to see her daughter enter grade school, Aki succumbed to her illness well before then and died. It was Reiji who discovered her lifeless body after returning home from work one day, with a visibly traumatized Rin still diligently waiting by her side.
In the years that followed, Reiji continued to look after Rin, with whom he shared a special bond from almost the outset, as if she were his own daughter. In spite of her frequent objections about needlessly wasting money, he has done his best to give her with everything he had always hoped he could provide for her mother but never had a chance to. His over protectiveness of her has led him to, among other things, encourage her to wear less revealing, more conservative clothing and become extremely wary of any males in her life other than him. This has led, among other things, to the development of a rivalry of sorts between him and Daisuke Aoki, of whom he has grown increasingly suspicious and mistrustful, over Rin's affections.
Recently, Reiji's dedication to Rin has taken a more sinister turn: plagued by nightmares, still wrestling with the anger and hatred from his traumatic childhood, and unable to fully cope with his lover's death, he has begun showing signs of projecting his feelings for Aki onto her daughter and subtly grooming her to take her mother's place when she comes of age. Though he appears to be aware of his inner darkness to a certain extent — at least enough to encourage Mimi Usa to never lose hope and succumb to her inner demons as he did to his — it remains to be seen if Reiji will eventually succeed in dispelling his delusion that Rin is his only chance at salvation, redemption, and a normal life, or whether it will one day consume him utterly and end up destroying them both. There is some general signs that he might have an attraction towards Mimi Usa-chan. Aoki's efforts in reforming Reiji have been successful so far and Reiji has thus been able to control his obsession and has caused him to trust Aoki much more (though he is unable to admit it). In the final chapter, he is finally able to move on with his life and instead finds a new love with Usa whom he decides to marry and have a child with when she becomes old enough, showing him finally being able to pursue a much better life than before.
Sae Shirai
A strict, by-the-book, bespectacled instructor at Futatsubashi Elementary School, who has gained a reputation as a fearsome authoritarian figure among students and staff alike. As the daughter of two teachers — one of whom has since gone on to become the chief of the board of education — it might come as little surprise that Sae Shirai would become one herself were it not for the fact that she hates children and eschews social interaction. Quiet and studious in her youth, Shirai's years of exposure to her mother's endless criticism combined with being written off as gloomy, serious, and plain by her peers without a second thought caused her to become embittered, asocial, and resentful of the world. Not only did this result in her adopting a highly disciplined, traditional, no-nonsense teaching style — one which clashes horribly with the enthusiastic, positive-thinking approach of Daisuke Aoki and causes them to butt heads on just about every topic imaginable — it all but eliminated any semblance of a social life as she has neither had sexual relations nor even dated anyone despite being nearly thirty years old, the former of which remains a tremendous bone of contention for her.
After exploding at Kuro Kagami for mocking Aoki for being a virgin (unintentionally betraying her own status as one to him in the process), Shirai was completely taken aback when the young girl approached her a short time later, offering her not only fashion tips and suggestions on improving her appearance but also professing great interest in being her friend by dubbing her "Shiro-chan". Though annoyed by the sudden, newfound, and unwanted attention she was receiving, she nevertheless remained remarkably tolerant of it and restrained by her standards. When asked for advice by Kuro on what the best approach for dealing with her unrequited love for Rin would be, Shirai hurt the young girl's feelings by unintentionally implying that her lesbian attraction was somehow less than normal. Only later, following a series of unrelated events in her own personal life, did she realize the full extent of what she had inadvertently done and what a poor judge of normalcy she, of all people, was.
Seeking to make amends by wearing a white hairpin previously given to her as a gift by Kuro, Shirai was privately flattered when her admirer demonstrated her acceptance of the apologetic gesture by beating up a male student who made a disparaging remark about her appearance, the event marking something of a turning point for her. Though hardly transformed into a social animal by the experience, Shirai has shown signs of softening somewhat, once to the extent where she broke her own rules concerning physical contact between students and teachers by offering a comforting hug to a heartbroken Kuro at an athletic meet. She has also recently started rethinking certain aspects of her life — most notably how much she has become like the mother she so loathes — and repaid Hōin's favor of getting her out of a teacher's workshop by helping her deal with the belligerent mother in charge of the local parent-teacher association, achieving some closure and inner peace of her own in the process.
Aki Kokonoe
Rin's late mother and Reiji's older cousin. Abandoned by her boyfriend when she became pregnant and refused to have an abortion, Aki Kokonoe chose to carry her child to term and undertake the difficult task of raising her young daughter on her own. Despite the fact that her decision to become a single mother had turned her into the black sheep of the family, the kind-hearted Aki never harbored any resentment towards them or her child's father, believing it better to forgive and forget than risk living a life consumed by anger and hatred.
When Rin was five years old, Aki welcomed her then-recently orphaned younger cousin, Reiji, into her home with open arms. Though initially just as cynical towards and mistrustful of her as he had become towards all adults, her gentle, quirky nature and visible affection for her child soon won him over, so much so, in fact, that he fell in love with her. Though initially reluctant to return his feelings due to their age difference (13 years older than Reiji) and status as cousins, she eventually entered into a relationship with him that was, by all appearances, a happy one, and the three of them became a family.
A short time later, however, Aki was diagnosed with Stage 2 lung cancer during what was supposed to be a routine medical exam, an illness that was later on revealed to have been complicated further by Rin's birth, which was the entire reason why she was pushed by her boyfriend to abort Rin in the first place. Upon learning that the amount of money needed to keep her alive for several months could be used to provide for Rin for many years to come, she decided to make the second great sacrifice of her life for the sake of her child by foregoing treatment in order to be able to financially support her daughter and kept her illness secret from everyone for some time. When her situation finally became known to Reiji and she conceded to treatment in light of the ability to financially contribute to their household he had since gained, her cancer proved to be far too aggressive and advanced to deal with. After two months with no improvement, Aki's request that she be allowed to go home was granted. While she hoped she could stay alive long enough to see Rin enter grade school, Aki succumbed to her illness well before then and died, her daughter having remained at her side until the very end.
Though she died more than two years before the opening of the series, Aki remains very much alive in the hearts of Reiji and Rin, whose memories of her continue to influence their lives and shape their actions, for better or worse.
Minor characters
Nakamura
The original homeroom teacher for grade three, class one at Futatsubashi Elementary School and Daisuke Aoki's direct predecessor, about whom not much has been revealed. While he managed to maintain a far greater degree of control, discipline, and order in his classroom than his successor, he lacked the latter's good nature. Nakamura's severe, open, verbal and emotional abuse of Mimi Usa in front of the other students during class was directly responsible for the latter's decision to quit school in order to protect herself, something which so outraged Rin Kokonoe that she retaliated by scribbling an unending stream of hateful and abusive messages in his workbooks which mirrored his own hurtful remarks to her friend. His inability to resolve the issue by convincing Mimi to return combined with Rin's personal vendetta against him caused his mental and physical health to deteriorate to the point where he finally decided to quit his position.
Nyaa
A black and white stray tomcat whom Rin Kokonoe started looking after he wandered onto the Futatsubashi Elementary School grounds, emaciated and starving, at around the time of Daisuke Aoki's initial arrival. Having apparently suffered abuse at the hands of humans before, he is extremely mistrustful of them — as evidenced by his reaction towards Daisuke Aoki — and Rin has gone out of her way to prove to him that not all people are bad.
Though Aoki assumed responsibility for taking care of him during summer vacation, Nyaa had not warmed up to him at all in the interim and was still, quite literally, biting the hand that fed him.
Kenta Oyajima
An older male teacher at Futatsubashi Elementary School. Oyajima has an easygoing outlook on life and teaching and frequently dispenses advice and words of wisdom to his younger, more easily excitable colleagues. Rarely flustered, he is the senior of Sae Shirai and has a visible soft spot for her, often offering insight to Hōin concerning their mutual colleague's behavior, background, and mindset in his usual, laidback style without coming off as defensive or biased. His good working relationship with Shirai also allows him to present her with alternative points of view or make thought-provoking observational comments in a gentle, nonconfrontational manner without either one of them getting worked up in the process. He later confesses to Shirai, though as she is currently unable to accept his feelings, he settles with a promise that, once a day, they will talk about something unrelated to school work.
The anime incarnation of Oyajima has stated that he is a first grade teacher, though he has not specified which class. Also it is stated that he has a daughter who has recently become a pet owner.
Chuck
Rin Kokonoe's giant teddy bear, whom she has had since she was a little girl. Though not alive, he nevertheless is important, having served as, among other things, a stand-in for Daisuke Aoki for Rin to practice her seduction and kissing techniques on and a strategically placed prop in a naughty photo she sent to him as a Christmas present using her cell phone.
In a non-canonical context, Chuck is something of an unofficial mascot for the series: he appears on splash pages and standalone illustrations in the manga and has made cameos in the eyecatches and animated censorship panels in the anime.
Nogita
A short-haired, bespectacled woman who was Rin Kokonoe, Kuro Kagami, and Mimi Usa's original homeroom teacher in class 1-1 when they first began attending Futatsubashi Elementary School two years before the opening of the series. Though she often had her hands full dealing with the three girls' antics, she was visibly relieved and moved with joy when Rin, as a benevolent, albeit unexpected, result of Kuro's attempt at playing "dress-up", finally emerged from the stuporic state she had been in since her mother's death and began speaking to and interacting with others.
Though seen only briefly in flashbacks in the manga in Class Period 18, and Chapter 60, Nogita made a somewhat more prominent appearance in the anime episode equivalent to that chapter, Class Period 8: Hug Me Tightly, where she was first referred to by name. There, she was revealed to have been an extremely diligent instructor who was close to her students and had been a teacher at Futatsubashi Elementary School until the previous year, having apparently retired after getting married onstage in a glamorous wedding. She was something of a rival for Sae Shirai, with whom she disagreed with on many issues, and offered some friendly advice and encouragement to her successor, Daisuke Aoki, in regards to appropriate levels of physical contact between teachers and students.
Chika Aoki
Chika is Daisuke's younger sister, who resides in his hometown as a kindergarten teacher. Her personality is a direct contrast to Daisuke's, being very outgoing and social as opposed to his timid and quiet demeanor. She generally likes to tease her older brother, but is generally kind to the other girls, if a little forceful whilst fitting Mimi with a tampon. She is rather protective of Daisuke, so she is initially hostile towards Kyōko. She later gets along with her, at least until one night when they both got drunk and Kyōko kisses Chika thinking she was Daisuke.
See also
List of Kodomo no Jikan chapters
List of Kodomo no Jikan episodes
Notes and references
Kodomo no Jikan
|
```xml
/*
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
// TypeScript Version: 4.1
/// <reference types="@stdlib/types"/>
import { Layout, MatrixTriangle, TransposeOperation, DiagonalType } from '@stdlib/types/blas';
/**
* Interface describing `strmv`.
*/
interface Routine {
/**
* Performs one of the matrix-vector operations `x = A*x` or `x = A^T*x`, where `x` is an `N` element vector and `A` is an `N` by `N` unit, or non-unit, upper or lower triangular matrix.
*
* @param order - storage layout
* @param uplo - specifies whether `A` is an upper or lower triangular matrix
* @param trans - specifies whether `A` should be transposed, conjugate-transposed, or not transposed
* @param diag - specifies whether `A` has a unit diagonal
* @param N - number of elements along each dimension in the matrix `A`
* @param A - input matrix
* @param LDA - stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`)
* @param x - input vector
* @param strideX - `x` stride length
* @returns `x`
*
* @example
* var Float32Array = require( '@stdlib/array/float32' );
*
* var A = new Float32Array( [ 1.0, 2.0, 3.0, 0.0, 1.0, 2.0, 0.0, 0.0, 1.0 ] );
* var x = new Float32Array( [ 1.0, 2.0, 3.0 ] );
*
* strmv( row-major', 'upper', 'no-transpose', 'non-unit', 3, A, 3, x, 1 );
* // x => <Float32Array>[ 14.0, 8.0, 3.0 ]
*/
( order: Layout, uplo: MatrixTriangle, trans: TransposeOperation, diag: DiagonalType, N: number, A: Float32Array, LDA: number, x: Float32Array, strideX: number ): Float32Array;
/**
* Performs one of the matrix-vector operations `x = A*x` or `x = A^T*x`, using alternative indexing semantics and where `x` is an `N` element vector and `A` is an `N` by `N` unit, or non-unit, upper or lower triangular matrix.
*
* @param uplo - specifies whether `A` is an upper or lower triangular matrix
* @param trans - specifies whether `A` should be transposed, conjugate-transposed, or not transposed
* @param diag - specifies whether `A` has a unit diagonal
* @param N - number of elements along each dimension in the matrix `A`
* @param A - input matrix
* @param strideA1 - stride of the first dimension of `A`
* @param strideA2 - stride of the first dimension of `A`
* @param offsetA - starting index for `A`
* @param x - input vector
* @param strideX - `x` stride length
* @param offsetX - starting index for `x`
* @returns `x`
*
* @example
* var Float32Array = require( '@stdlib/array/float32' );
*
* var A = new Float32Array( [ 1.0, 2.0, 3.0, 0.0, 1.0, 2.0, 0.0, 0.0, 1.0 ] );
* var x = new Float32Array( [ 1.0, 2.0, 3.0 ] );
*
* strmv.ndarray( 'upper', 'no-transpose', 'non-unit', 3, A, 3, 1, 0, x, 1, 0 );
* // x => <Float32Array>[ 14.0, 8.0, 3.0 ]
*/
ndarray( uplo: MatrixTriangle, trans: TransposeOperation, diag: DiagonalType, N: number, A: Float32Array, strideA1: number, strideA2: number, offsetA: number, x: Float32Array, strideX: number, offsetX: number ): Float32Array;
}
/**
* Performs one of the matrix-vector operations `x = A*x` or `x = A^T*x`, where `x` is an `N` element vector and `A` is an `N` by `N` unit, or non-unit, upper or lower triangular matrix.
*
* @param order - storage layout
* @param uplo - specifies whether `A` is an upper or lower triangular matrix
* @param trans - specifies whether `A` should be transposed, conjugate-transposed, or not transposed
* @param diag - specifies whether `A` has a unit diagonal
* @param N - number of elements along each dimension in the matrix `A`
* @param A - input matrix
* @param LDA - stride of the first dimension of `A` (a.k.a., leading dimension of the matrix `A`)
* @param x - input vector
* @param strideX - `x` stride length
* @returns `x`
*
* @example
* var Float32Array = require( '@stdlib/array/float32' );
*
* var A = new Float32Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] );
* var x = new Float32Array( [ 1.0, 1.0, 1.0 ] );
*
* strmv( 'row-major', 'lower', 'no-transpose', 'non-unit', 3, A, 3, x, 1 );
* // x => <Float32Array>[ 1.0, 5.0, 15.0 ]
*
* @example
* var Float32Array = require( '@stdlib/array/float32' );
*
* var A = new Float32Array( [ 1.0, 0.0, 0.0, 2.0, 3.0, 0.0, 4.0, 5.0, 6.0 ] );
* var x = new Float32Array( [ 1.0, 1.0, 1.0 ] );
*
* strmv.ndarray( 'lower', 'no-transpose', 'non-unit', 3, A, 3, 1, 0, x, 1, 0 );
* // x => <Float32Array>[ 1.0, 5.0, 15.0 ]
*/
declare var strmv: Routine;
// EXPORTS //
export = strmv;
```
|
Sarvajña was a Kannada poet, pragmatist and philosopher of the 16th century. The word "Sarvajna" in Sanskrit literally means "the all knowing". His father was Kumbara Malla and his mother was Mallaladevi. His birth anniversary is celebrated on February 20 every year. He belongs to the caste of Kumbara. He is famous for his pithy three-lined poems called tripadi (written in the native three-line verse metre, "with three padas, a form of Vachana"). He is also referred as Sarvagna in modern translation.
Early life
The period of Sarvajña's life has not been determined accurately, and very little is known about his personal life.
See also
Thiruvalluvar
Vemana
Sarvajna and Tiruvalluvar statue installation
References
Sources
Medieval Indian Literature: An Anthology By K. Ayyappapanicker, Sahitya Akademi
Gandham Appa Rao, Vemana and Sarvajña, Progressive Literature (1982).
Anthology of Sarvajna's sayings, Kannada Sahitya Parishat (1978).
K. B Prabhu Prasad, Sarvajna, Sahitya Akademi (1987), reprint 1994 .
Notes
External links
http://www.kalagnanam.in/vira-vasantaraya/
know more about sarvajna and his poems
Sarvajna's three-liners (Kannada page)
Sarvajna's three-liners (with English translations)
Picture of Sarvjna's Manuscript
Sarvajna's vachana in Kannada
Sarvagna's Tripadi with translation, transliteration and explanation
200+ Collection of Sarvajna Vachanagalu(Android App)
An app with Sarvagna Tripadis curated for application in today's world
Kannada poets
16th-century Indian poets
16th-century Indian philosophers
Lingayatism
People from Haveri district
Poets from Karnataka
Indian male poets
Scholars from Karnataka
Kannada Hindu saints
|
Neodrillia blakensis is a species of sea snail, a marine gastropod mollusk in the family Drilliidae.
Description
The length of the shell varies between 40 mm and 45 mm.
Distribution
This species occurs in the western Atlantic Ocean off the Bahamas; also off Martinique.
References
External links
Fallon P.J. (2016). Taxonomic review of tropical western Atlantic shallow water Drilliidae (Mollusca: Gastropoda: Conoidea) including descriptions of 100 new species. Zootaxa. 4090(1): 1–363
blakensis
Gastropods described in 2007
|
Eliminator is a multi-directional shooter space combat game, created and released by Sega/Gremlin in 1981. Similar to the monochrome Star Castle, Eliminator uses color vector graphics and allows both cooperative and competitive multiplayer gameplay. It is the only four-player vector game ever made.
Gameplay
Players pilot a space ship around the playfield (space) and must destroy alien drones. The ultimate goal is to evade and destroy the Eliminator, a huge asteroid base. The players fire causes any enemy that is struck (with the exception of the Eliminator itself) to rebound and careen off in another direction. With a little skill, shots can propel the enemy into the Eliminator thus destroying them. There is only one way to destroy the Eliminator, fire a cannon blast down the trench into its center. This can be done directly or via a ricochet. Failure to destroy the Eliminator after a preset time causes the center to activate a drone that flies out of the Eliminator to shoot down the player with a destructive energy blast. The playfield becomes enclosed in an invisible barrier that bounces shots and ships off it, thus increasing the chances of death. Once the Eliminator is destroyed, the game restarts with a tougher set of enemies. The four player version allowed four players to simultaneously make attack runs on the Eliminator while trying to evade or destroy various other opponents. In four player mode, players must also dodge other player's ships.
Reception
Michael Blanchet's 1982 book How to Beat the Video Games praised Eliminator as offering "the best two-player action I've seen in a long time".
Legacy
The game is included as an unlockable game in the PSP version of Sega Genesis Collection.
References
External links
GameArchive's entry for Eliminator (copy at the Internet Archive)
1981 video games
Arcade video games
Sega arcade games
Vector arcade video games
Shooter games
Gremlin Industries games
Video games developed in the United States
|
```go
//
//
// path_to_url
//
// Unless required by applicable law or agreed to in writing, software
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// Package opthistory contains functional options to be used with stack history operations
// github.com/sdk/v3/go/x/auto Stack.History(ctx, pageSize, page, ...opthistory.Option)
package opthistory
// ShowSecrets configures whether to show config secrets when they appear.
func ShowSecrets(show bool) Option {
return optionFunc(func(opts *Options) {
opts.ShowSecrets = &show
})
}
// ---------------------------------- implementation details ----------------------------------
// Options is an implementation detail
type Options struct {
// Show config secrets when they appear.
ShowSecrets *bool
}
// Option is a parameter to be applied to a Stack.History() operation
type Option interface {
ApplyOption(*Options)
}
type optionFunc func(*Options)
// ApplyOption is an implementation detail
func (o optionFunc) ApplyOption(opts *Options) {
o(opts)
}
```
|
The Secretary of State of Azerbaijan () was a political position in that existed in Azerbaijan, existing from 1991 to 1994.
History
Establishment
The position was created in 1991 to replace in significance the previously existent political position of a 2nd Secretary of the Azerbaijani Communist Party. Since the dissolution of the Party in 1991 by its last First Secretary Ayaz Mutalibov, who became Azerbaijan's first President, there was a need to appoint a second in command to manage the newly created Presidential Administration that took over from the old party apparatus. The first holder of the position was Academician Tofig Ismayilov.
Rise in significance
The significance of the position varied in time. Under President Heydar Aliyev in 1993 the position rose to become the second after the head of state. Tadeusz Swietochowski wrote, '...Clearly, the number two person in Azerbaijan is Lala Shevket-Hajiyeva, whose title is State Secretary - which does not mean a foreign minister...'
In 1992, the State Secretary was part of the State Defense Committee of the Republic of Azerbaijan and the State Council, which was administered by the Secretary.
Fall out of use
In January 1994, the last holder of the position, Lala Shevket wrote a resignation letter as a protest against corruption in the government. After her resignation the position was formally by presidential decree.
Duties
The last holder of the position, Professor Lala Shevket herself told in an interview to Azerbaijan International magazine about the scope of the responsibilities of Azerbaijani Secretary of State:
In accordance with the regulations on the State Council, he had the authority to organize its work and coordinate the activities of the members of the State Council, to preside over the meetings of the State Council in the absence of the President of the Republic of Azerbaijan or on his instructions.
Office-holders
References
Politics of Azerbaijan
Civil servants
|
Deh-e Sangu (, also Romanized as Deh-e Sangū) is a village in Qorqori Rural District, Qorqori District, Hirmand County, Sistan and Baluchestan Province, Iran. At the 2006 census, its population was 34, in 8 families.
References
Populated places in Hirmand County
|
```css
Vertical centering fluid blocks
Fixed navigation bar
Inherit `box-sizing`
`direction`: `column-reverse`
```
|
```objective-c
/* ber.h
*
* Basic Encoding Rules (BER) file reading
*
* $Id: ber.h 18110 2006-05-08 19:56:36Z gal $
*
* This program is free software; you can redistribute it and/or
* as published by the Free Software Foundation; either version 2
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*/
#ifndef __BER_H__
#define __BER_H__
int ber_open(wtap *wth, int *err, gchar **err_info);
#endif
```
|
```xml
import * as expect from 'expect'
import { system } from './system-tools'
test('which - existing package', () => {
const result = system.which('node')
expect(result).not.toBe(null)
})
test('which - non-existing package', () => {
const result = system.which('non-existing-package')
expect(result).toBe(null)
})
test('run - should reject if the command does not exist', async () => {
try {
await system.run('echo "hi" && non-existing-command')
} catch (e) {
expect(e.stdout).toContain('hi')
if (process.platform === 'win32') {
expect(e.stderr).toContain('is not recognized as an internal or external command')
} else {
expect(e.stderr).toContain('not found')
}
}
})
test('run - should resolve if the command exists', async () => {
// `echo` should be a general command for both *nix and windows
await expect(system.run('echo gluegun', { trim: true })).resolves.toBe('gluegun')
})
```
|
```c
/* Generated by Snowball 2.1.0 - path_to_url */
#include "../runtime/header.h"
#ifdef __cplusplus
extern "C" {
#endif
extern int indonesian_UTF_8_stem(struct SN_env * z);
#ifdef __cplusplus
}
#endif
static int r_VOWEL(struct SN_env * z);
static int r_SUFFIX_I_OK(struct SN_env * z);
static int r_SUFFIX_AN_OK(struct SN_env * z);
static int r_SUFFIX_KAN_OK(struct SN_env * z);
static int r_KER(struct SN_env * z);
static int r_remove_suffix(struct SN_env * z);
static int r_remove_second_order_prefix(struct SN_env * z);
static int r_remove_first_order_prefix(struct SN_env * z);
static int r_remove_possessive_pronoun(struct SN_env * z);
static int r_remove_particle(struct SN_env * z);
#ifdef __cplusplus
extern "C" {
#endif
extern struct SN_env * indonesian_UTF_8_create_env(void);
extern void indonesian_UTF_8_close_env(struct SN_env * z);
#ifdef __cplusplus
}
#endif
static const symbol s_0_0[3] = { 'k', 'a', 'h' };
static const symbol s_0_1[3] = { 'l', 'a', 'h' };
static const symbol s_0_2[3] = { 'p', 'u', 'n' };
static const struct among a_0[3] =
{
{ 3, s_0_0, -1, 1, 0},
{ 3, s_0_1, -1, 1, 0},
{ 3, s_0_2, -1, 1, 0}
};
static const symbol s_1_0[3] = { 'n', 'y', 'a' };
static const symbol s_1_1[2] = { 'k', 'u' };
static const symbol s_1_2[2] = { 'm', 'u' };
static const struct among a_1[3] =
{
{ 3, s_1_0, -1, 1, 0},
{ 2, s_1_1, -1, 1, 0},
{ 2, s_1_2, -1, 1, 0}
};
static const symbol s_2_0[1] = { 'i' };
static const symbol s_2_1[2] = { 'a', 'n' };
static const symbol s_2_2[3] = { 'k', 'a', 'n' };
static const struct among a_2[3] =
{
{ 1, s_2_0, -1, 1, r_SUFFIX_I_OK},
{ 2, s_2_1, -1, 1, r_SUFFIX_AN_OK},
{ 3, s_2_2, 1, 1, r_SUFFIX_KAN_OK}
};
static const symbol s_3_0[2] = { 'd', 'i' };
static const symbol s_3_1[2] = { 'k', 'e' };
static const symbol s_3_2[2] = { 'm', 'e' };
static const symbol s_3_3[3] = { 'm', 'e', 'm' };
static const symbol s_3_4[3] = { 'm', 'e', 'n' };
static const symbol s_3_5[4] = { 'm', 'e', 'n', 'g' };
static const symbol s_3_6[4] = { 'm', 'e', 'n', 'y' };
static const symbol s_3_7[3] = { 'p', 'e', 'm' };
static const symbol s_3_8[3] = { 'p', 'e', 'n' };
static const symbol s_3_9[4] = { 'p', 'e', 'n', 'g' };
static const symbol s_3_10[4] = { 'p', 'e', 'n', 'y' };
static const symbol s_3_11[3] = { 't', 'e', 'r' };
static const struct among a_3[12] =
{
{ 2, s_3_0, -1, 1, 0},
{ 2, s_3_1, -1, 2, 0},
{ 2, s_3_2, -1, 1, 0},
{ 3, s_3_3, 2, 5, 0},
{ 3, s_3_4, 2, 1, 0},
{ 4, s_3_5, 4, 1, 0},
{ 4, s_3_6, 4, 3, r_VOWEL},
{ 3, s_3_7, -1, 6, 0},
{ 3, s_3_8, -1, 2, 0},
{ 4, s_3_9, 8, 2, 0},
{ 4, s_3_10, 8, 4, r_VOWEL},
{ 3, s_3_11, -1, 1, 0}
};
static const symbol s_4_0[2] = { 'b', 'e' };
static const symbol s_4_1[7] = { 'b', 'e', 'l', 'a', 'j', 'a', 'r' };
static const symbol s_4_2[3] = { 'b', 'e', 'r' };
static const symbol s_4_3[2] = { 'p', 'e' };
static const symbol s_4_4[7] = { 'p', 'e', 'l', 'a', 'j', 'a', 'r' };
static const symbol s_4_5[3] = { 'p', 'e', 'r' };
static const struct among a_4[6] =
{
{ 2, s_4_0, -1, 3, r_KER},
{ 7, s_4_1, 0, 4, 0},
{ 3, s_4_2, 0, 3, 0},
{ 2, s_4_3, -1, 1, 0},
{ 7, s_4_4, 3, 2, 0},
{ 3, s_4_5, 3, 1, 0}
};
static const unsigned char g_vowel[] = { 17, 65, 16 };
static const symbol s_0[] = { 'e', 'r' };
static const symbol s_1[] = { 's' };
static const symbol s_2[] = { 's' };
static const symbol s_3[] = { 'p' };
static const symbol s_4[] = { 'p' };
static const symbol s_5[] = { 'a', 'j', 'a', 'r' };
static const symbol s_6[] = { 'a', 'j', 'a', 'r' };
static int r_remove_particle(struct SN_env * z) {
z->ket = z->c;
if (z->c - 2 <= z->lb || (z->p[z->c - 1] != 104 && z->p[z->c - 1] != 110)) return 0;
if (!(find_among_b(z, a_0, 3))) return 0;
z->bra = z->c;
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
z->I[1] -= 1;
return 1;
}
static int r_remove_possessive_pronoun(struct SN_env * z) {
z->ket = z->c;
if (z->c - 1 <= z->lb || (z->p[z->c - 1] != 97 && z->p[z->c - 1] != 117)) return 0;
if (!(find_among_b(z, a_1, 3))) return 0;
z->bra = z->c;
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
z->I[1] -= 1;
return 1;
}
static int r_SUFFIX_KAN_OK(struct SN_env * z) {
if (!(z->I[0] != 3)) return 0;
if (!(z->I[0] != 2)) return 0;
return 1;
}
static int r_SUFFIX_AN_OK(struct SN_env * z) {
if (!(z->I[0] != 1)) return 0;
return 1;
}
static int r_SUFFIX_I_OK(struct SN_env * z) {
if (!(z->I[0] <= 2)) return 0;
{ int m1 = z->l - z->c; (void)m1;
if (z->c <= z->lb || z->p[z->c - 1] != 's') goto lab0;
z->c--;
return 0;
lab0:
z->c = z->l - m1;
}
return 1;
}
static int r_remove_suffix(struct SN_env * z) {
z->ket = z->c;
if (z->c <= z->lb || (z->p[z->c - 1] != 105 && z->p[z->c - 1] != 110)) return 0;
if (!(find_among_b(z, a_2, 3))) return 0;
z->bra = z->c;
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
z->I[1] -= 1;
return 1;
}
static int r_VOWEL(struct SN_env * z) {
if (in_grouping_U(z, g_vowel, 97, 117, 0)) return 0;
return 1;
}
static int r_KER(struct SN_env * z) {
if (out_grouping_U(z, g_vowel, 97, 117, 0)) return 0;
if (!(eq_s(z, 2, s_0))) return 0;
return 1;
}
static int r_remove_first_order_prefix(struct SN_env * z) {
int among_var;
z->bra = z->c;
if (z->c + 1 >= z->l || (z->p[z->c + 1] != 105 && z->p[z->c + 1] != 101)) return 0;
among_var = find_among(z, a_3, 12);
if (!(among_var)) return 0;
z->ket = z->c;
switch (among_var) {
case 1:
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
z->I[0] = 1;
z->I[1] -= 1;
break;
case 2:
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
z->I[0] = 3;
z->I[1] -= 1;
break;
case 3:
z->I[0] = 1;
{ int ret = slice_from_s(z, 1, s_1);
if (ret < 0) return ret;
}
z->I[1] -= 1;
break;
case 4:
z->I[0] = 3;
{ int ret = slice_from_s(z, 1, s_2);
if (ret < 0) return ret;
}
z->I[1] -= 1;
break;
case 5:
z->I[0] = 1;
z->I[1] -= 1;
{ int c1 = z->c;
{ int c2 = z->c;
if (in_grouping_U(z, g_vowel, 97, 117, 0)) goto lab1;
z->c = c2;
{ int ret = slice_from_s(z, 1, s_3);
if (ret < 0) return ret;
}
}
goto lab0;
lab1:
z->c = c1;
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
}
lab0:
break;
case 6:
z->I[0] = 3;
z->I[1] -= 1;
{ int c3 = z->c;
{ int c4 = z->c;
if (in_grouping_U(z, g_vowel, 97, 117, 0)) goto lab3;
z->c = c4;
{ int ret = slice_from_s(z, 1, s_4);
if (ret < 0) return ret;
}
}
goto lab2;
lab3:
z->c = c3;
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
}
lab2:
break;
}
return 1;
}
static int r_remove_second_order_prefix(struct SN_env * z) {
int among_var;
z->bra = z->c;
if (z->c + 1 >= z->l || z->p[z->c + 1] != 101) return 0;
among_var = find_among(z, a_4, 6);
if (!(among_var)) return 0;
z->ket = z->c;
switch (among_var) {
case 1:
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
z->I[0] = 2;
z->I[1] -= 1;
break;
case 2:
{ int ret = slice_from_s(z, 4, s_5);
if (ret < 0) return ret;
}
z->I[1] -= 1;
break;
case 3:
{ int ret = slice_del(z);
if (ret < 0) return ret;
}
z->I[0] = 4;
z->I[1] -= 1;
break;
case 4:
{ int ret = slice_from_s(z, 4, s_6);
if (ret < 0) return ret;
}
z->I[0] = 4;
z->I[1] -= 1;
break;
}
return 1;
}
extern int indonesian_UTF_8_stem(struct SN_env * z) {
z->I[1] = 0;
{ int c1 = z->c;
while(1) {
int c2 = z->c;
{
int ret = out_grouping_U(z, g_vowel, 97, 117, 1);
if (ret < 0) goto lab1;
z->c += ret;
}
z->I[1] += 1;
continue;
lab1:
z->c = c2;
break;
}
z->c = c1;
}
if (!(z->I[1] > 2)) return 0;
z->I[0] = 0;
z->lb = z->c; z->c = z->l;
{ int m3 = z->l - z->c; (void)m3;
{ int ret = r_remove_particle(z);
if (ret < 0) return ret;
}
z->c = z->l - m3;
}
if (!(z->I[1] > 2)) return 0;
{ int m4 = z->l - z->c; (void)m4;
{ int ret = r_remove_possessive_pronoun(z);
if (ret < 0) return ret;
}
z->c = z->l - m4;
}
z->c = z->lb;
if (!(z->I[1] > 2)) return 0;
{ int c5 = z->c;
{ int c_test6 = z->c;
{ int ret = r_remove_first_order_prefix(z);
if (ret == 0) goto lab3;
if (ret < 0) return ret;
}
{ int c7 = z->c;
{ int c_test8 = z->c;
if (!(z->I[1] > 2)) goto lab4;
z->lb = z->c; z->c = z->l;
{ int ret = r_remove_suffix(z);
if (ret == 0) goto lab4;
if (ret < 0) return ret;
}
z->c = z->lb;
z->c = c_test8;
}
if (!(z->I[1] > 2)) goto lab4;
{ int ret = r_remove_second_order_prefix(z);
if (ret == 0) goto lab4;
if (ret < 0) return ret;
}
lab4:
z->c = c7;
}
z->c = c_test6;
}
goto lab2;
lab3:
z->c = c5;
{ int c9 = z->c;
{ int ret = r_remove_second_order_prefix(z);
if (ret < 0) return ret;
}
z->c = c9;
}
{ int c10 = z->c;
if (!(z->I[1] > 2)) goto lab5;
z->lb = z->c; z->c = z->l;
{ int ret = r_remove_suffix(z);
if (ret == 0) goto lab5;
if (ret < 0) return ret;
}
z->c = z->lb;
lab5:
z->c = c10;
}
}
lab2:
return 1;
}
extern struct SN_env * indonesian_UTF_8_create_env(void) { return SN_create_env(0, 2); }
extern void indonesian_UTF_8_close_env(struct SN_env * z) { SN_close_env(z, 0); }
```
|
```html
<div class="single">
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="generator" content="Hugo 0.15" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<link rel='stylesheet' href='//fonts.googleapis.com/css?family=Open+Sans|Marcellus+SC'>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/styles/solarized_dark.min.css">
<link rel="stylesheet" href="/bookshelf/css/styles.css">
<link rel="stylesheet" href="/bookshelf/css/custom.css">
<link rel="alternate" type="application/rss+xml" title="RSS" href="path_to_url">
<title>seven habbits of highly effective people - Shekhar Gulati Bookshelf</title>
<meta property='og:title' content="seven habbits of highly effective people - Shekhar Gulati Bookshelf">
<meta property="og:type" content="article">
<meta property="og:url" content="path_to_url">
<meta property="og:image" content="path_to_url">
</head>
<body>
<header class="site">
<div class="title"><a href="path_to_url">Shekhar Gulati Bookshelf</a></div>
</header>
<div class="container site">
<div class="row">
<div class="col-sm-9">
<article class="single" itemscope="itemscope" itemtype="path_to_url">
<meta itemprop="mainEntityOfPage" itemType="path_to_url" content="path_to_url"/>
<meta itemprop="dateModified" content="2016-02-14T19:11:05+05:30">
<meta itemprop="headline" content="seven habbits of highly effective people">
<meta itemprop="description" content="">
<meta itemprop="url" content="path_to_url">
<div itemprop="image" itemscope itemtype="path_to_url">
<meta itemprop="url" content="path_to_url" />
<meta itemprop="width" content="800">
<meta itemprop="height" content="800">
</div>
<div itemprop="publisher" itemscope itemtype="path_to_url">
<div itemprop="logo" itemscope itemtype="path_to_url">
<meta itemprop="url" content="path_to_url">
<meta itemprop="width" content="100">
<meta itemprop="height" content="100">
</div>
<meta itemprop="name" content="Shekhar Gulati Bookshelf">
</div>
<div itemprop="author" itemscope itemtype="path_to_url">
<meta itemprop="name" content="Shekhar Gulati">
</div>
<div class="image" style="background-image: url(path_to_url"></div>
<header class="article-header">
<time itemprop="datePublished" pubdate="pubdate" datetime="2016-02-14T19:11:05+05:30">Sun, Feb 14, 2016</time>
<h1 class="article-title">seven habbits of highly effective people</h1>
</header>
<div class="article-body" itemprop="articleBody">
</div>
<aside>
<div class="section share">
<a href="path_to_url" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-facebook"></i></a>
<a href="path_to_url" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-twitter"></i></a>
<a href="path_to_url" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-google-plus"></i></a>
<a href="path_to_url" onclick="window.open(this.href, 'PCwindow', 'width=550, height=350, menubar=no, toolbar=no, scrollbars=yes'); return false;"><i class="fa fa-get-pocket"></i></a>
</div>
<div id="disqus_thread"></div>
<script type="text/javascript">
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
var disqus_shortname = 'shekhargulati';
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="path_to_url">comments powered by Disqus.</a></noscript>
<a href="path_to_url" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
</aside>
</article>
</div>
<div class="col-sm-3">
<aside class="site">
<div class="section">
<header><div class="title">TableOfContents</div></header>
<div class="list-default"></div>
</div>
<div class="section">
<header><div class="title">LatestPosts</div></header>
<div class="content">
<div class="sm"><article class="li">
<a href="path_to_url" class="clearfix">
<div class="image" style="background-image: url(path_to_url"></div>
</a>
</article>
</div>
<div class="sm"><article class="li">
<a href="path_to_url" class="clearfix">
<div class="image" style="background-image: url(path_to_url"></div>
</a>
</article>
</div>
<div class="sm"><article class="li">
<a href="path_to_url" class="clearfix">
<div class="image" style="background-image: url(path_to_url"></div>
</a>
</article>
</div>
<div class="sm"><article class="li">
<a href="path_to_url" class="clearfix">
<div class="image" style="background-image: url(path_to_url"></div>
</a>
</article>
</div>
<div class="sm"><article class="li">
<a href="path_to_url" class="clearfix">
<div class="image" style="background-image: url(path_to_url"></div>
</a>
</article>
</div>
</div>
</div>
<div class="section taxonomies">
<header><div class="title">category</div></header>
<div class="content">
</div>
</div>
<div class="section taxonomies">
<header><div class="title">tag</div></header>
<div class="content">
</div>
</div>
</aside>
</div>
</div>
</div>
<footer class="site">
<p>© 2016 Shekhar Gulati</p>
<p>Powered by <a href="path_to_url" target="_blank">Hugo</a>,</p>
</footer>
<script src="//code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity=your_sha256_hashP9aJ7xS" crossorigin="anonymous"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.4/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-73784822-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>
</div>
```
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.