text
stringlengths
1
22.8M
```c++ // // // file LICENSE_1_0.txt or copy at path_to_url // // Official repository: path_to_url // #ifndef BOOST_BEAST_HTTP_VECTOR_BODY_HPP #define BOOST_BEAST_HTTP_VECTOR_BODY_HPP #include <boost/beast/core/detail/config.hpp> #include <boost/beast/core/buffer_traits.hpp> #include <boost/beast/http/error.hpp> #include <boost/beast/http/message.hpp> #include <boost/beast/core/detail/clamp.hpp> #include <boost/asio/buffer.hpp> #include <boost/optional.hpp> #include <cstdint> #include <limits> #include <memory> #include <stdexcept> #include <string> #include <utility> namespace boost { namespace beast { namespace http { /** A <em>Body</em> using `std::vector` This body uses `std::vector` as a memory-based container for holding message payloads. Messages using this body type may be serialized and parsed. */ template<class T, class Allocator = std::allocator<T>> struct vector_body { private: static_assert(sizeof(T) == 1, "T requirements not met"); public: /** The type of container used for the body This determines the type of @ref message::body when this body type is used with a message container. */ using value_type = std::vector<T, Allocator>; /** Returns the payload size of the body When this body is used with @ref message::prepare_payload, the Content-Length will be set to the payload size, and any chunked Transfer-Encoding will be removed. */ static std::uint64_t size(value_type const& body) { return body.size(); } /** The algorithm for parsing the body Meets the requirements of <em>BodyReader</em>. */ #if BOOST_BEAST_DOXYGEN using reader = __implementation_defined__; #else class reader { value_type& body_; public: template<bool isRequest, class Fields> explicit reader(header<isRequest, Fields>&, value_type& b) : body_(b) { } void init(boost::optional< std::uint64_t> const& length, error_code& ec) { if(length) { if(*length > body_.max_size()) { ec = error::buffer_overflow; return; } body_.reserve(beast::detail::clamp(*length)); } ec = {}; } template<class ConstBufferSequence> std::size_t put(ConstBufferSequence const& buffers, error_code& ec) { auto const n = buffer_bytes(buffers); auto const len = body_.size(); if (n > body_.max_size() - len) { ec = error::buffer_overflow; return 0; } body_.resize(len + n); ec = {}; return net::buffer_copy(net::buffer( &body_[0] + len, n), buffers); } void finish(error_code& ec) { ec = {}; } }; #endif /** The algorithm for serializing the body Meets the requirements of <em>BodyWriter</em>. */ #if BOOST_BEAST_DOXYGEN using writer = __implementation_defined__; #else class writer { value_type const& body_; public: using const_buffers_type = net::const_buffer; template<bool isRequest, class Fields> explicit writer(header<isRequest, Fields> const&, value_type const& b) : body_(b) { } void init(error_code& ec) { ec = {}; } boost::optional<std::pair<const_buffers_type, bool>> get(error_code& ec) { ec = {}; return {{const_buffers_type{ body_.data(), body_.size()}, false}}; } }; #endif }; } // http } // beast } // boost #endif ```
```objective-c /* $OpenBSD: version.h,v 1.4 2024/03/02 15:55:58 tobhe Exp $ */ #define IKED_VERSION "7.4" ```
```javascript sampleTag`left${0}\u{${1}right` ```
```javascript Creating promises Unicode in ES6 The `for-of` loop in ES6 Generators as observers in ES6 Hoisting with `var` and `let` ```
```xml <dict> <key>CommonPeripheralDSP</key> <array> <dict> <key>DeviceID</key> <integer>0</integer> <key>DeviceType</key> <string>Headphone</string> </dict> <dict> <key>DeviceID</key> <integer>0</integer> <key>DeviceType</key> <string>Microphone</string> </dict> </array> <key>PathMaps</key> <array> <dict> <key>PathMap</key> <array> <array> <array> <array> <dict> <key>Amp</key> <dict> <key>Channels</key> <array> <dict> <key>Bind</key> <integer>1</integer> <key>Channel</key> <integer>1</integer> </dict> <dict> <key>Bind</key> <integer>2</integer> <key>Channel</key> <integer>2</integer> </dict> </array> <key>MuteInputAmp</key> <true/> <key>PublishMute</key> <true/> <key>PublishVolume</key> <true/> <key>VolumeInputAmp</key> <true/> </dict> <key>NodeID</key> <integer>9</integer> </dict> <dict> <key>NodeID</key> <integer>34</integer> </dict> <dict> <key>Boost</key> <integer>1</integer> <key>NodeID</key> <integer>24</integer> </dict> </array> </array> <array> <array> <dict> <key>Amp</key> <dict> <key>Channels</key> <array> <dict> <key>Bind</key> <integer>1</integer> <key>Channel</key> <integer>1</integer> </dict> <dict> <key>Bind</key> <integer>2</integer> <key>Channel</key> <integer>2</integer> </dict> </array> <key>MuteInputAmp</key> <true/> <key>PublishMute</key> <true/> <key>PublishVolume</key> <true/> <key>VolumeInputAmp</key> <true/> </dict> <key>NodeID</key> <integer>9</integer> </dict> <dict> <key>NodeID</key> <integer>34</integer> </dict> <dict> <key>Boost</key> <integer>1</integer> <key>NodeID</key> <integer>25</integer> </dict> </array> </array> </array> <array> <array> <array> <dict> <key>Amp</key> <dict> <key>Channels</key> <array> <dict> <key>Bind</key> <integer>1</integer> <key>Channel</key> <integer>1</integer> </dict> <dict> <key>Bind</key> <integer>2</integer> <key>Channel</key> <integer>2</integer> </dict> </array> <key>MuteInputAmp</key> <true/> <key>PublishMute</key> <true/> <key>PublishVolume</key> <true/> <key>VolumeInputAmp</key> <true/> </dict> <key>NodeID</key> <integer>8</integer> </dict> <dict> <key>NodeID</key> <integer>35</integer> </dict> <dict> <key>NodeID</key> <integer>26</integer> </dict> </array> </array> </array> <array> <array> <array> <dict> <key>NodeID</key> <integer>20</integer> </dict> <dict> <key>Amp</key> <dict> <key>Channels</key> <array> <dict> <key>Bind</key> <integer>1</integer> <key>Channel</key> <integer>1</integer> </dict> <dict> <key>Bind</key> <integer>2</integer> <key>Channel</key> <integer>2</integer> </dict> </array> <key>MuteInputAmp</key> <true/> <key>PublishMute</key> <true/> <key>PublishVolume</key> <true/> <key>VolumeInputAmp</key> <false/> </dict> <key>NodeID</key> <integer>12</integer> </dict> <dict> <key>Amp</key> <dict> <key>Channels</key> <array> <dict> <key>Bind</key> <integer>1</integer> <key>Channel</key> <integer>1</integer> </dict> <dict> <key>Bind</key> <integer>2</integer> <key>Channel</key> <integer>2</integer> </dict> </array> <key>MuteInputAmp</key> <true/> <key>PublishMute</key> <true/> <key>PublishVolume</key> <true/> <key>VolumeInputAmp</key> <false/> </dict> <key>NodeID</key> <integer>2</integer> </dict> </array> </array> </array> <array> <array> <array> <dict> <key>NodeID</key> <integer>27</integer> </dict> <dict> <key>Amp</key> <dict> <key>Channels</key> <array> <dict> <key>Bind</key> <integer>1</integer> <key>Channel</key> <integer>1</integer> </dict> <dict> <key>Bind</key> <integer>2</integer> <key>Channel</key> <integer>2</integer> </dict> </array> <key>MuteInputAmp</key> <true/> <key>PublishMute</key> <true/> <key>PublishVolume</key> <true/> <key>VolumeInputAmp</key> <false/> </dict> <key>NodeID</key> <integer>38</integer> </dict> <dict> <key>Amp</key> <dict> <key>Channels</key> <array> <dict> <key>Bind</key> <integer>1</integer> <key>Channel</key> <integer>1</integer> </dict> <dict> <key>Bind</key> <integer>2</integer> <key>Channel</key> <integer>2</integer> </dict> </array> <key>MuteInputAmp</key> <true/> <key>PublishMute</key> <true/> <key>PublishVolume</key> <true/> <key>VolumeInputAmp</key> <false/> </dict> <key>NodeID</key> <integer>37</integer> </dict> </array> </array> </array> <array> <array> <array> <dict> <key>NodeID</key> <integer>21</integer> </dict> <dict> <key>Amp</key> <dict> <key>Channels</key> <array> <dict> <key>Bind</key> <integer>1</integer> <key>Channel</key> <integer>1</integer> </dict> <dict> <key>Bind</key> <integer>2</integer> <key>Channel</key> <integer>2</integer> </dict> </array> <key>MuteInputAmp</key> <true/> <key>PublishMute</key> <true/> <key>PublishVolume</key> <true/> <key>VolumeInputAmp</key> <false/> </dict> <key>NodeID</key> <integer>13</integer> </dict> <dict> <key>Amp</key> <dict> <key>Channels</key> <array> <dict> <key>Bind</key> <integer>1</integer> <key>Channel</key> <integer>1</integer> </dict> <dict> <key>Bind</key> <integer>2</integer> <key>Channel</key> <integer>2</integer> </dict> </array> <key>MuteInputAmp</key> <true/> <key>PublishMute</key> <true/> <key>PublishVolume</key> <true/> <key>VolumeInputAmp</key> <false/> </dict> <key>NodeID</key> <integer>3</integer> </dict> </array> </array> </array> <array> <array> <array> <dict> <key>NodeID</key> <integer>30</integer> </dict> <dict> <key>NodeID</key> <integer>6</integer> </dict> </array> </array> </array> </array> <key>PathMapID</key> <integer>17</integer> </dict> </array> </dict> ```
Utricularia subg. Bivalvaria is a subgenus in the genus Utricularia. It was originally described by Wilhelm Sulpiz Kurz in 1874. In Peter Taylor's 1989 monograph on the genus, he reduced the subgenus to synonym under section Oligocista, a decision that was later reversed in the light of molecular phylogenetic studies and the subgenus was restored. See also List of Utricularia species References Utricularia Plant subgenera
"Corazón De Hierro" (English:"Heart of Iron") is a song by Dominican-American bachata trio Vena featuring Dominican singers Teodoro Reyes and Frank Reyes. It was released on November 12, 2013, by Planet Records and Len Melody's Element Music Group. Charts References 2013 songs 2013 singles
```go //go:build windows // +build windows /* Package wmi provides a WQL interface for WMI on Windows. Example code to print names of running processes: type Win32_Process struct { Name string } func main() { var dst []Win32_Process q := wmi.CreateQuery(&dst, "") err := wmi.Query(q, &dst) if err != nil { log.Fatal(err) } for i, v := range dst { println(i, v.Name) } } */ package wmi import ( "bytes" "errors" "fmt" "log" "os" "reflect" "runtime" "strconv" "strings" "sync" "time" "github.com/go-ole/go-ole" "github.com/go-ole/go-ole/oleutil" ) var l = log.New(os.Stdout, "", log.LstdFlags) var ( ErrInvalidEntityType = errors.New("wmi: invalid entity type") // ErrNilCreateObject is the error returned if CreateObject returns nil even // if the error was nil. ErrNilCreateObject = errors.New("wmi: create object returned nil") lock sync.Mutex ) // S_FALSE is returned by CoInitializeEx if it was already called on this thread. const S_FALSE = 0x00000001 // QueryNamespace invokes Query with the given namespace on the local machine. func QueryNamespace(query string, dst interface{}, namespace string) error { return Query(query, dst, nil, namespace) } // Query runs the WQL query and appends the values to dst. // // dst must have type *[]S or *[]*S, for some struct type S. Fields selected in // the query must have the same name in dst. Supported types are all signed and // unsigned integers, time.Time, string, bool, or a pointer to one of those. // Array types are not supported. // // By default, the local machine and default namespace are used. These can be // changed using connectServerArgs. See // path_to_url // for details. // // Query is a wrapper around DefaultClient.Query. func Query(query string, dst interface{}, connectServerArgs ...interface{}) error { if DefaultClient.SWbemServicesClient == nil { return DefaultClient.Query(query, dst, connectServerArgs...) } return DefaultClient.SWbemServicesClient.Query(query, dst, connectServerArgs...) } // CallMethod calls a method named methodName on an instance of the class named // className, with the given params. // // CallMethod is a wrapper around DefaultClient.CallMethod. func CallMethod(connectServerArgs []interface{}, className, methodName string, params []interface{}) (int32, error) { return DefaultClient.CallMethod(connectServerArgs, className, methodName, params) } // A Client is an WMI query client. // // Its zero value (DefaultClient) is a usable client. type Client struct { // NonePtrZero specifies if nil values for fields which aren't pointers // should be returned as the field types zero value. // // Setting this to true allows stucts without pointer fields to be used // without the risk failure should a nil value returned from WMI. NonePtrZero bool // PtrNil specifies if nil values for pointer fields should be returned // as nil. // // Setting this to true will set pointer fields to nil where WMI // returned nil, otherwise the types zero value will be returned. PtrNil bool // AllowMissingFields specifies that struct fields not present in the // query result should not result in an error. // // Setting this to true allows custom queries to be used with full // struct definitions instead of having to define multiple structs. AllowMissingFields bool // SWbemServiceClient is an optional SWbemServices object that can be // initialized and then reused across multiple queries. If it is null // then the method will initialize a new temporary client each time. SWbemServicesClient *SWbemServices } // DefaultClient is the default Client and is used by Query, QueryNamespace, and CallMethod. var DefaultClient = &Client{} // coinitService coinitializes WMI service. If no error is returned, a cleanup function // is returned which must be executed (usually deferred) to clean up allocated resources. func (c *Client) coinitService(connectServerArgs ...interface{}) (*ole.IDispatch, func(), error) { var unknown *ole.IUnknown var wmi *ole.IDispatch var serviceRaw *ole.VARIANT // be sure teardown happens in the reverse // order from that which they were created deferFn := func() { if serviceRaw != nil { serviceRaw.Clear() } if wmi != nil { wmi.Release() } if unknown != nil { unknown.Release() } ole.CoUninitialize() } // if we error'ed here, clean up immediately var err error defer func() { if err != nil { deferFn() } }() err = ole.CoInitializeEx(0, ole.COINIT_MULTITHREADED) if err != nil { oleCode := err.(*ole.OleError).Code() if oleCode != ole.S_OK && oleCode != S_FALSE { return nil, nil, err } } unknown, err = oleutil.CreateObject("WbemScripting.SWbemLocator") if err != nil { return nil, nil, err } else if unknown == nil { return nil, nil, ErrNilCreateObject } wmi, err = unknown.QueryInterface(ole.IID_IDispatch) if err != nil { return nil, nil, err } // service is a SWbemServices serviceRaw, err = oleutil.CallMethod(wmi, "ConnectServer", connectServerArgs...) if err != nil { return nil, nil, err } return serviceRaw.ToIDispatch(), deferFn, nil } // CallMethod calls a WMI method named methodName on an instance // of the class named className. It passes in the arguments given // in params. Use connectServerArgs to customize the machine and // namespace; by default, the local machine and default namespace // are used. See // path_to_url // for details. func (c *Client) CallMethod(connectServerArgs []interface{}, className, methodName string, params []interface{}) (int32, error) { service, cleanup, err := c.coinitService(connectServerArgs...) if err != nil { return 0, fmt.Errorf("coinit: %v", err) } defer cleanup() // Get class classRaw, err := oleutil.CallMethod(service, "Get", className) if err != nil { return 0, fmt.Errorf("CallMethod Get class %s: %v", className, err) } class := classRaw.ToIDispatch() defer classRaw.Clear() // Run method resultRaw, err := oleutil.CallMethod(class, methodName, params...) if err != nil { return 0, fmt.Errorf("CallMethod %s.%s: %v", className, methodName, err) } resultInt, ok := resultRaw.Value().(int32) if !ok { return 0, fmt.Errorf("return value was not an int32: %v (%T)", resultRaw, resultRaw) } return resultInt, nil } // Query runs the WQL query and appends the values to dst. // // dst must have type *[]S or *[]*S, for some struct type S. Fields selected in // the query must have the same name in dst. Supported types are all signed and // unsigned integers, time.Time, string, bool, or a pointer to one of those. // Array types are not supported. // // By default, the local machine and default namespace are used. These can be // changed using connectServerArgs. See // path_to_url // for details. func (c *Client) Query(query string, dst interface{}, connectServerArgs ...interface{}) error { dv := reflect.ValueOf(dst) if dv.Kind() != reflect.Ptr || dv.IsNil() { return ErrInvalidEntityType } dv = dv.Elem() mat, elemType := checkMultiArg(dv) if mat == multiArgTypeInvalid { return ErrInvalidEntityType } lock.Lock() defer lock.Unlock() runtime.LockOSThread() defer runtime.UnlockOSThread() service, cleanup, err := c.coinitService(connectServerArgs...) if err != nil { return err } defer cleanup() // result is a SWBemObjectSet resultRaw, err := oleutil.CallMethod(service, "ExecQuery", query) if err != nil { return err } result := resultRaw.ToIDispatch() defer resultRaw.Clear() count, err := oleInt64(result, "Count") if err != nil { return err } enumProperty, err := result.GetProperty("_NewEnum") if err != nil { return err } defer enumProperty.Clear() enum, err := enumProperty.ToIUnknown().IEnumVARIANT(ole.IID_IEnumVariant) if err != nil { return err } if enum == nil { return fmt.Errorf("can't get IEnumVARIANT, enum is nil") } defer enum.Release() // Initialize a slice with Count capacity dv.Set(reflect.MakeSlice(dv.Type(), 0, int(count))) var errFieldMismatch error for itemRaw, length, err := enum.Next(1); length > 0; itemRaw, length, err = enum.Next(1) { if err != nil { return err } err := func() error { // item is a SWbemObject, but really a Win32_Process item := itemRaw.ToIDispatch() defer item.Release() ev := reflect.New(elemType) if err = c.loadEntity(ev.Interface(), item); err != nil { if _, ok := err.(*ErrFieldMismatch); ok { // We continue loading entities even in the face of field mismatch errors. // If we encounter any other error, that other error is returned. Otherwise, // an ErrFieldMismatch is returned. errFieldMismatch = err } else { return err } } if mat != multiArgTypeStructPtr { ev = ev.Elem() } dv.Set(reflect.Append(dv, ev)) return nil }() if err != nil { return err } } return errFieldMismatch } // ErrFieldMismatch is returned when a field is to be loaded into a different // type than the one it was stored from, or when a field is missing or // unexported in the destination struct. // StructType is the type of the struct pointed to by the destination argument. type ErrFieldMismatch struct { StructType reflect.Type FieldName string Reason string } func (e *ErrFieldMismatch) Error() string { return fmt.Sprintf("wmi: cannot load field %q into a %q: %s", e.FieldName, e.StructType, e.Reason) } var timeType = reflect.TypeOf(time.Time{}) // loadEntity loads a SWbemObject into a struct pointer. func (c *Client) loadEntity(dst interface{}, src *ole.IDispatch) (errFieldMismatch error) { v := reflect.ValueOf(dst).Elem() for i := 0; i < v.NumField(); i++ { f := v.Field(i) of := f isPtr := f.Kind() == reflect.Ptr n := v.Type().Field(i).Name if n[0] < 'A' || n[0] > 'Z' { continue } if !f.CanSet() { return &ErrFieldMismatch{ StructType: of.Type(), FieldName: n, Reason: "CanSet() is false", } } prop, err := oleutil.GetProperty(src, n) if err != nil { if !c.AllowMissingFields { errFieldMismatch = &ErrFieldMismatch{ StructType: of.Type(), FieldName: n, Reason: "no such struct field", } } continue } defer prop.Clear() if isPtr && !(c.PtrNil && prop.VT == 0x1) { ptr := reflect.New(f.Type().Elem()) f.Set(ptr) f = f.Elem() } if prop.VT == 0x1 { //VT_NULL continue } switch val := prop.Value().(type) { case int8, int16, int32, int64, int: v := reflect.ValueOf(val).Int() switch f.Kind() { case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: f.SetInt(v) case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64: f.SetUint(uint64(v)) default: return &ErrFieldMismatch{ StructType: of.Type(), FieldName: n, Reason: "not an integer class", } } case uint8, uint16, uint32, uint64: v := reflect.ValueOf(val).Uint() switch f.Kind() { case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: f.SetInt(int64(v)) case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64: f.SetUint(v) default: return &ErrFieldMismatch{ StructType: of.Type(), FieldName: n, Reason: "not an integer class", } } case string: switch f.Kind() { case reflect.String: f.SetString(val) case reflect.Int, reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64: iv, err := strconv.ParseInt(val, 10, 64) if err != nil { return err } f.SetInt(iv) case reflect.Uint, reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64: uv, err := strconv.ParseUint(val, 10, 64) if err != nil { return err } f.SetUint(uv) case reflect.Struct: switch f.Type() { case timeType: if len(val) == 25 { mins, err := strconv.Atoi(val[22:]) if err != nil { return err } val = val[:22] + fmt.Sprintf("%02d%02d", mins/60, mins%60) } t, err := time.Parse("20060102150405.000000-0700", val) if err != nil { return err } f.Set(reflect.ValueOf(t)) } } case bool: switch f.Kind() { case reflect.Bool: f.SetBool(val) default: return &ErrFieldMismatch{ StructType: of.Type(), FieldName: n, Reason: "not a bool", } } case float32: switch f.Kind() { case reflect.Float32: f.SetFloat(float64(val)) default: return &ErrFieldMismatch{ StructType: of.Type(), FieldName: n, Reason: "not a Float32", } } default: if f.Kind() == reflect.Slice { switch f.Type().Elem().Kind() { case reflect.String: safeArray := prop.ToArray() if safeArray != nil { arr := safeArray.ToValueArray() fArr := reflect.MakeSlice(f.Type(), len(arr), len(arr)) for i, v := range arr { s := fArr.Index(i) s.SetString(v.(string)) } f.Set(fArr) } case reflect.Uint8, reflect.Uint16, reflect.Uint32, reflect.Uint64, reflect.Uint: safeArray := prop.ToArray() if safeArray != nil { arr := safeArray.ToValueArray() fArr := reflect.MakeSlice(f.Type(), len(arr), len(arr)) for i, v := range arr { s := fArr.Index(i) s.SetUint(reflect.ValueOf(v).Uint()) } f.Set(fArr) } case reflect.Int8, reflect.Int16, reflect.Int32, reflect.Int64, reflect.Int: safeArray := prop.ToArray() if safeArray != nil { arr := safeArray.ToValueArray() fArr := reflect.MakeSlice(f.Type(), len(arr), len(arr)) for i, v := range arr { s := fArr.Index(i) s.SetInt(reflect.ValueOf(v).Int()) } f.Set(fArr) } default: return &ErrFieldMismatch{ StructType: of.Type(), FieldName: n, Reason: fmt.Sprintf("unsupported slice type (%T)", val), } } } else { typeof := reflect.TypeOf(val) if typeof == nil && (isPtr || c.NonePtrZero) { if (isPtr && c.PtrNil) || (!isPtr && c.NonePtrZero) { of.Set(reflect.Zero(of.Type())) } break } return &ErrFieldMismatch{ StructType: of.Type(), FieldName: n, Reason: fmt.Sprintf("unsupported type (%T)", val), } } } } return errFieldMismatch } type multiArgType int const ( multiArgTypeInvalid multiArgType = iota multiArgTypeStruct multiArgTypeStructPtr ) // checkMultiArg checks that v has type []S, []*S for some struct type S. // // It returns what category the slice's elements are, and the reflect.Type // that represents S. func checkMultiArg(v reflect.Value) (m multiArgType, elemType reflect.Type) { if v.Kind() != reflect.Slice { return multiArgTypeInvalid, nil } elemType = v.Type().Elem() switch elemType.Kind() { case reflect.Struct: return multiArgTypeStruct, elemType case reflect.Ptr: elemType = elemType.Elem() if elemType.Kind() == reflect.Struct { return multiArgTypeStructPtr, elemType } } return multiArgTypeInvalid, nil } func oleInt64(item *ole.IDispatch, prop string) (int64, error) { v, err := oleutil.GetProperty(item, prop) if err != nil { return 0, err } defer v.Clear() i := int64(v.Val) return i, nil } // CreateQuery returns a WQL query string that queries all columns of src. where // is an optional string that is appended to the query, to be used with WHERE // clauses. In such a case, the "WHERE" string should appear at the beginning. // The wmi class is obtained by the name of the type. You can pass a optional // class throught the variadic class parameter which is useful for anonymous // structs. func CreateQuery(src interface{}, where string, class ...string) string { var b bytes.Buffer b.WriteString("SELECT ") s := reflect.Indirect(reflect.ValueOf(src)) t := s.Type() if s.Kind() == reflect.Slice { t = t.Elem() } if t.Kind() != reflect.Struct { return "" } var fields []string for i := 0; i < t.NumField(); i++ { fields = append(fields, t.Field(i).Name) } b.WriteString(strings.Join(fields, ", ")) b.WriteString(" FROM ") if len(class) > 0 { b.WriteString(class[0]) } else { b.WriteString(t.Name()) } b.WriteString(" " + where) return b.String() } ```
Awaaz Do Altaf khan (English translation: Speak up) is an initiative taken by UNICEF to mobilize Indian society to speak up for the more than eight million children currently out of school in the country. Awaaz do is primarily an online campaign with focus on empowering citizens to get actively involved and demand right for children. The idea behind the campaign is to help more than eight million children in the country, who are currently out of school, and to provide them formal education. Launched in 2010, the campaign has received support from citizens through online social campaign with more than 250 thousand registrations on the official website and from government and corporate organizations with several corporate and media houses partnering with UNICEF for the cause. Priyanka Chopra, UNICEF celebrity ambassador, and Kapil Sibal, Minister of Human Resource Development, have signed up as an Awaaz Do champions to garner support for the campaign. History The passing of the Right of Children to Free and Compulsory Education (RTE) Act 2009 has made education a fundamental right of every child between the ages of six and fourteen and specifies minimum norms in elementary schools. Still, an estimated eight million children (6 to 14 years) in India were out-of-school in 2009. Launch The campaign is being launched by UNICEF, with the support of the Government of India. "Awaaz Do" means "Speak Up" in Hindi and is symbolized by a megaphone logo. The Awaaz Do on-line campaign was launched on October 19, 2010. At the launch, Urmila Sarkar, UNICEF's Chief of Education said "UNICEF is working with the Government of India to outline a roadmap for implementing RTE at the national and state level. However, the success of this act is also largely dependent on collective action. The Awaaz Do campaign is a platform for the combined voices of the government, the corporate world, the media and individuals to become an undeniable force to ensure every child is in school." Vision The initiative is all about the power of words that can help change the lives of 8 million children who are not in school yet. The online Awaaz Do campaign aims at use of technology and social networking that allows citizens to get actively involved and demand the rights for children who are excluded and marginalized. Unicef India representative, Karin Hulshof said about the vision of Awaaz do campaign "Awaaz Do is an online campaign to create awareness about the RTE Act. The landmark passing of the Right of Children to Free and Compulsory Education Act 2009, (as the RTE Act is also known as) marks a historic moment for the children of India." Support Online support Awaaz do is primarily an online campaign with focus on empowering citizens to get actively involved and demand right for children. Karin Hulshof highlighted involvement of citizens through social networking "By making use of social networking, the campaign aims to empower citizens to get actively involved and demand the right for children, who are excluded and marginalised." A website was launched on October 19, 2010. The website provides introduction to the campaign, video and other forms of support offered by various groups and individuals, press releases, and registration link. Apart from registering for the program, the campaign lists specific things one can do; such as visiting a school nearby, checking whether the school has basic amenities and spreading the word among teachers and parents about RTE act. By the end of 2012, More than 250 thousand people have joined the campaign through online Awaaz Do website. Government and corporate support Besides Government of India, several corporates, celebrities, social activists, and general public have come forward to support the movement. Priyanka Chopra, an Indian actor, singer, and UNICEF celebrity ambassador, and Kapil Sibal, Minister of Human Resource Development, have signed up as an Awaaz Do champions to garner support. Priyanka Chopra has also recorded several videos highlighting the vision of the campaign and urging people to join the movement. Several corporate and media houses have partnered with UNICEF to endorse the cause. Tata Teleservices, Barista Lavazza, Park Hotels, Tupperware are urging their customers to speak up. Disney network and Chandamama are asking their viewers and readers – primarily children – to spread awareness on the campaign. Many leading corporates, such as CPA Global, are encouraging their employees to sign up. Radio City and Planet RadioCity.com are connecting with each one of their listeners across its 20 stations to take the online pledge and be part of the change. Photography and short-film contests are also being organized with prizes sponsored by Canon. See also Unicef RTE act References UNICEF Children's charities based in India
```smarty ----- {% lorem %} ----- {% lorem 10 %} ----- {% lorem 3 p %} ----- {% lorem 100 w %} ----- ```
In Earth science, ductility refers to the capacity of a rock to deform to large strains without macroscopic fracturing. Such behavior may occur in unlithified or poorly lithified sediments, in weak materials such as halite or at greater depths in all rock types where higher temperatures promote crystal plasticity and higher confining pressures suppress brittle fracture. In addition, when a material is behaving ductilely, it exhibits a linear stress vs strain relationship past the elastic limit. Ductile deformation is typically characterized by diffuse deformation (i.e. lacking a discrete fault plane) and on a stress-strain plot is accompanied by steady state sliding at failure, compared to the sharp stress drop observed in experiments during brittle failure. Brittle–Ductile Transition Zone The brittle–ductile transition zone is characterized by a change in rock failure mode, at an approximate average depth of 10–15 km (~ 6.2–9.3 miles) in continental crust, below which rock becomes less likely to fracture and more likely to deform ductilely. The zone exists because as depth increases confining pressure increases, and brittle strength increases with confining pressure whilst ductile strength decreases with increasing temperature. The transition zone occurs at the point where brittle strength equals ductile strength. In glacial ice this zone is at approximately depth. Not all materials, however, abide by this transition. It is possible and not rare for material above the transition zone to deform ductilely, and for material below to deform in a brittle manner. The depth of the material does exert an influence on the mode of deformation, but other substances, such as loose soils in the upper crust, malleable rocks, biological debris, and more are just a few examples of that which does not deform in accordance to the transition zone. The type of dominating deformation process also has a great impact on the types of rocks and structures found at certain depths within the Earth's crust. As evident from Fig. 1.1, different geological formations and rocks are found in accordance to the dominant deformation process. Gouge and Breccia form in the uppermost, brittle regime while Cataclasite and Pseudotachylite form in the lower parts of the brittle regime, edging upon the transition zone. Mylonite forms in the more ductile regime at greater depths while Blastomylonite forms well past the transition zone and well into the ductile regime, even deeper into the crust. Quantification Ductility is a material property that can be expressed in a variety of ways. Mathematically, it is commonly expressed as a total quantity of elongation or a total quantity of the change in cross sectional area of a specific rock until macroscopic brittle behavior, such as fracturing, is observed. For accurate measurement, this must be done under several controlled conditions, including but not limited to Pressure, Temperature, Moisture Content, Sample Size, etc., for all can impact the measured ductility. It is important to understand that even the same type of rock or mineral may exhibit different behavior and degrees of ductility due to internal heterogeneities small scale differences between each individual sample. The two quantities are expressed in the form of a ratio or a percent. % Elongation of a Rock = Where: = Initial Length of Rock = Final Length of Rock % Change in Area of a Rock = Where: = Initial Area = Final Area For each of these methods of quantifying, one must take measurements of both the initial and final dimensions of the rock sample. For Elongation, the measurement is a uni-dimensional initial and final length, the former measured before any Stress is applied and the latter measuring the length of the sample after fracture occurs. For Area, it is strongly preferable to use a rock that has been cut into a cylindrical shape before stress application so that the cross-sectional area of the sample can be taken. Cross-Sectional Area of a Cylinder = Area of a Circle = Using this, the initial and final areas of the sample can be used to quantify the % change in the area of the rock. Deformation Any material is shown to be able to deform ductilely or brittlely, in which the type of deformation is governed by both the external conditions around the rock and the internal conditions sample. External conditions include temperature, confining pressure, presence of fluids, etc. while internal conditions include the arrangement of the crystal lattice, the chemical composition of the rock sample, the grain size of the material, etc. Ductilely Deformative behavior can be grouped into three categories: Elastic, Viscous, and Crystal-Plastic Deformation. Elastic Deformation Elastic Deformation is deformation which exhibits a linear stress-strain relationship (quantified by Young's Modulus) and is derived from Hooke's Law of spring forces (see Fig. 1.2). In elastic deformation, objects show no permanent deformation after the stress has been removed from the system and return to their original state. Where: = Stress (In Pascals) = Young's Modulus (In Pascals) = Strain (Unitless) Viscous Deformation Viscous Deformation is when rocks behave and deform more like a fluid than a solid. This often occurs under great amounts of pressure and at very high temperatures. In viscous deformation, stress is proportional to the strain rate, and each rock sample has its own material property called its Viscosity. Unlike elastic deformation, viscous deformation is permanent even after the stress has been removed. Where: = Stress (In Pascals) = Viscosity (In Pascals * Seconds) = Strain Rate (In 1/Seconds) Crystal-Plastic Deformation Crystal-Plastic Deformation occurs at the atomic scale and is governed by its own set of specific mechanisms that deform crystals by the movements of atoms and atomic planes through the crystal lattice. Like viscous deformation, it is also a permanent form of deformation. Mechanisms of crystal-plastic deformation include Pressure solution, Dislocation creep, and Diffusion creep. Biological materials In addition to rocks, biological materials such as wood, lumber, bone, etc. can be assessed for their ductility as well, for many behave in the same manner and possess the same characteristics as abiotic Earth materials. This assessment was done in Hiroshi Yoshihara's experiment, "Plasticity Analysis of the Strain in the Tangential Direction of Solid Wood Subjected to Compression Load in the Longitudinal Direction." The study aimed to analyze the behavioral rheology of 2 wood specimens, the Sitka Spruce and Japanese Birch. In the past, it was shown that solid wood, when subjected to compressional stresses, initially has a linear stress-strain diagram (indicative of elastic deformation) and later, under greater load, demonstrates a non-linear diagram indicative of ductile objects. To analyze the rheology, the stress was restricted to uniaxial compression in the longitudinal direction and the post-linear behavior was analyzed using plasticity theory. Controls included moisture content in the lumber, lack of defects such as knots or grain distortions, temperature at 20 C, relative humidity at 65%, and size of the cut shapes of the wood samples. Results obtained from the experiment exhibited a linear stress-strain relationship during elastic deformation but also an unexpected non-linear relationship between stress and strain for the lumber after the elastic limit was reached, deviating from the model of plasticity theory. Multiple reasons were suggested as to why this came about. First, since wood is a biological material, it was suggested that under great stress in the experiment, the crushing of cells within the sample could have been a cause for deviation from perfectly plastic behavior. With greater destruction of cellular material, the stress-strain relationship is hypothesized to become more and more nonlinear and non-ideal with greater stress. Additionally, because the samples were inhomogeneous (non-uniform) materials, it was assumed that some bending or distortion may have occurred in the samples that could have deviated the stress from being perfectly uniaxial. This may have also been induced by other factors like irregularities in the cellular density profile and distorted sample cutting. The conclusions of the research accurately showed that although biological materials can behave like rocks undergoing deformation, there are many other factors and variables that must be considered, making it difficult to standardize the ductility and material properties of a biological substance. Peak Ductility Demand Peak Ductility Demand is a quantity used particularly in the fields of architecture, geological engineering, and mechanical engineering. It is defined as the amount of ductile deformation a material must be able to withstand (when exposed to a stress) without brittle fracture or failure. This quantity is particularly useful in the analysis of failure of structures in response to earthquakes and seismic waves. It has been shown that earthquake aftershocks can increase the peak ductility demand with respect to the mainshocks by up to 10%. References Structure of the Earth Seismology
Karkuli (, also Romanized as Karkūlī) is a village in Jargalan Rural District, Raz and Jargalan District, Bojnord County, North Khorasan Province, Iran. At the 2006 census, its population was 827, in 201 families. References Populated places in Bojnord County
Gressenhall is a village and civil parish in the English county of Norfolk. The villages name origin is uncertain possibly 'Grassy nook of land' or 'gravelly nook of land'. It covers an area of and had a population of 1,008 in 443 households at the 2001 census, increasing to a population of 1,050 in 459 households at the 2011 Census. For the purposes of local government, it falls within the district of Breckland. The village is on the River Nar close to Dereham in Norfolk. History The Gressenhall Farm and Workhouse museum is located here, and a watermill dating from 1847. The main buildings of the Gressenhall workhouse were built in 1777 when it was a house of industry. Here paupers would work under quite a strict regime in return for accommodation. This changed after the Poor Law Amendment Act of 1834: as a result the building underwent numerous changes to comply with the Act. The workhouse was a poor law institution. Its purpose was to provide a home and work for the poor local people who had nowhere to live. Gressenhall was constructed in 1776 and took one year to open. Gressenhall has a post office, a pub (The Swan) and a church (St Mary's). Notable residents Sir Jerome Alexander (died 1670), a High Court judge in Ireland noted for his severe sentences in criminal cases, was born in Gressenhall about 1590. Alsager Hay Hill, a notable Victorian social reformer was born at Gressenhall Hall in 1839. Dr James Robert Murray, a co-founder of Shire Pharmaceuticals, was the family doctor in the village from 1969 to 1976. He moved from Norfolk to Holland to start his career in pharmaceuticals. An Honorary President of Dereham RFC, in 2020, he published a fictional work about village life in 1970s Norfolk. References http://kepn.nottingham.ac.uk/map/place/Norfolk/Gressenhall External links Gressenhall Village and Parish Council Website Villages in Norfolk Civil parishes in Norfolk Breckland District
James S. Norris (1810 – March 5, 1874) was a Democratic politician from Minnesota Territory. Born in Monmouth, Maine, Norris moved to St. Croix Falls, Wisconsin in 1839. He later moved to Minnesota, settling on a farm in Cottage Grove, Minnesota in 1842. He was elected to the first Minnesota Territorial Legislature in 1849 and re-elected in 1854. In 1855, he served as the Speaker of the Minnesota Territory House of Representatives. He attended the state's Democratic Constitutional Convention in 1857. In 1870 he was elected to the Minnesota House of Representatives. He died in Cottage Grove in 1874. References 1874 deaths 1810 births Members of the Minnesota Territorial Legislature Democratic Party members of the Minnesota House of Representatives 19th-century American politicians People from Monmouth, Maine People from Cottage Grove, Minnesota
```go // This is a simple integration test for nginx-lua-prometheus. package main import ( "fmt" "log" "math/rand" "sync" "time" dto "github.com/prometheus/client_model/go" ) func registerResetTest(tr *testRunner) { tr.healthURLs = append(tr.healthURLs, "path_to_url") const setURL = "path_to_url" const resetURL = "path_to_url" const metricName = "reset_test_gauge" tr.tests = append(tr.tests, func() error { log.Printf("Running reset test with %d concurrent clients for %v", *concurrency, *testDuration) var wg sync.WaitGroup var mu sync.RWMutex for i := 1; i <= *concurrency; i++ { wg.Add(1) go func(i int) { labelValue := fmt.Sprintf("client%d", i) setUrl := func(value int) string { return fmt.Sprintf("%s?labelvalue=%s&metricvalue=%d", setURL, labelValue, value) } // Check that returned metrics contain a value for this worker. // If wantValue is 0, it means the metric should not exist at all. checkValue := func(mfs map[string]*dto.MetricFamily, wantValue int) { for _, mf := range mfs { if mf.GetName() != metricName { continue } if wantValue == 0 { log.Fatalf("client %d: metric %s exists while it should not; %+v", i, metricName, mf) } for _, m := range mf.Metric { if len(m.Label) != 1 { log.Fatalf("client %d: expected metric %s to have 1 label, got %+v", i, metricName, m) } if m.Label[0].GetValue() != labelValue { continue } if m.GetGauge().GetValue() != float64(wantValue) { log.Fatalf("client %d: expected metric %s to have value of %d, got %+v", i, metricName, wantValue, m) } return } log.Fatalf("client %d: metric %s does not have label %s while it should; %+v", i, metricName, labelValue, mf) } if wantValue != 0 { log.Fatalf("client %d: metric %s not found in %+v", i, metricName, mfs) } } for start := time.Now(); time.Since(start) < *testDuration; { // Call the URL that sets a label value and confirm that it // exists in the returned metrics. value := 1 + rand.Intn(9000) mu.RLock() tr.mustGet(setUrl(value)) metrics := tr.mustGetMetrics(tr.ctx) checkValue(metrics, value) mu.RUnlock() // Occasionally, reset the metric and confirm that it does // not get returned. A mutex ensures that no other clients // attempt to change or reset the gauge at the same time. if rand.Intn(100) < 5 { mu.Lock() tr.mustGet(resetURL) metrics := tr.mustGetMetrics(tr.ctx) checkValue(metrics, 0) // Wait for slightly longer than sync_interval to ensure that // metric reset gets propagated to all workers. time.Sleep(105 * time.Millisecond) mu.Unlock() } } wg.Done() }(i) } wg.Wait() return nil }) } ```
```c Contributed by Richard Henderson <rth@redhat.com>. This file is part of the GNU OpenMP Library (libgomp). Libgomp is free software; you can redistribute it and/or modify it (at your option) any later version. Libgomp is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS more details. along with libgomp; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* As a special exception, if you link this library with other files, some of which are compiled with GCC, to produce an executable, this library does not by itself cause the resulting executable to be covered by the any other reasons why the executable file might be covered by the GNU /* This file handles the SINGLE construct. */ #include "libgomp.h" /* This routine is called when first encountering a SINGLE construct that doesn't have a COPYPRIVATE clause. Returns true if this is the thread that should execute the clause. */ bool GOMP_single_start (void) { bool ret = gomp_work_share_start (false); gomp_mutex_unlock (&gomp_thread ()->ts.work_share->lock); gomp_work_share_end_nowait (); return ret; } /* This routine is called when first encountering a SINGLE construct that does have a COPYPRIVATE clause. Returns NULL if this is the thread that should execute the clause; otherwise the return value is pointer given to GOMP_single_copy_end by the thread that did execute the clause. */ void * GOMP_single_copy_start (void) { struct gomp_thread *thr = gomp_thread (); bool first; void *ret; first = gomp_work_share_start (false); gomp_mutex_unlock (&thr->ts.work_share->lock); if (first) ret = NULL; else { gomp_barrier_wait (&thr->ts.team->barrier); ret = thr->ts.work_share->copyprivate; gomp_work_share_end_nowait (); } return ret; } /* This routine is called when the thread that entered a SINGLE construct with a COPYPRIVATE clause gets to the end of the construct. */ void GOMP_single_copy_end (void *data) { struct gomp_thread *thr = gomp_thread (); struct gomp_team *team = thr->ts.team; if (team != NULL) { thr->ts.work_share->copyprivate = data; gomp_barrier_wait (&team->barrier); } gomp_work_share_end_nowait (); } ```
Yvette Duval (née Benchettrit; 25 April 1931 – 8 November 2006) was a Moroccan-born French historian who specialised in North Africa during Antiquity and the Early African church during Late antiquity. Early years and education Yvette Duval née Benchettrit was born on 25 April 1931 in Oujda to an Algerian-Moroccan Jewish family. She was allowed to study at the local Collège de jeunes filles despite the Vichy segregation rules due to her strong academic record. Having finished her studies in Rabat, she moved to Paris where she studied first at the Lycée Fénelon and then at the École normale supérieure de jeunes filles. After her graduation, she worked at the Lycée Français de Carthage. Career In 1962, Duval was named assistant to Roger Rémondon, the chair of ancient history at the Université Lille III. Two years later, following his retirement, she moved to Paris-Nanterre as the assistant to André Chastagnol. Duval began work on her thesis in 1965 under Henri-Irénée Marrou and received her doctorate soon after his death in 1977 under the supervision of Charles Pietri; it was published five years later as Loca sanctorum Africae. Le culte des martyrs en Afrique du IVe au VIIe siècle. In 1971, she was invited to help establish the History department at the Université Paris-Est-Créteil-Val-de-Marne where she was soon named professor. She remained until her retirement and was elected to serve on the Conseil national des universités and supervised at least three doctoral theses. Awards and honours In 2000, she received a Festschrift titled Romanité et cité chrétienne permanences et mutations, intégration et exclusion du Ier au VIe siècle: mélanges en l'honneur d'Yvette Duval. Personal life Duval married French historian and archaeologist Noël Duval in 1954. She died on 8 November 2006 in Paris. Selected publications 1982 : Loca sanctorum Africae. Le culte des martyrs en Afrique du IVe au VIIe siècle, Rome, Collection de l'École française de Rome, 2 vol. 1986 : L'Inhumation privilégiée du IVe au VIIIe siècle en Occident [ed.], Paris, De Boccard. 1986 : Topographie chrétienne des cités de la Gaule, des origines au milieu du VIIIe siècle : Provinces ecclésiastiques d'Aix et d'Embrun [ed.], Paris, De Boccard. 1988 : Auprès des saints, corps et âme. L'inhumation « ad sanctos » dans la chrétienté d'Orient et d'Occident du IIIe au VIIe siècle, Paris, Collection des Études Augustiniennes. 1992 : Institutions, société et vie politique dans l'empire romain au IVe siècle après J.-C. [ed.], Rome, Collection de l'École française de Rome. 1995 : Lambèse chrétienne, la gloire et l'oubli. De la Numidie romaine à l'Ifrîqiya, Paris, Collection des Études Augustiniennes. 2000 : Chrétiens d’Afrique à l'aube de la paix constantinienne : Les premiers échos de la grande persécution, Paris, Collection des Études Augustiniennes. 2005 : Les chrétientés d’Occident et leurs évêques au IIIe siècle, Paris, Collection des Études Augustiniennes. References 2006 deaths 1931 births 20th-century French historians 21st-century French historians French women historians Jewish historians 20th-century Moroccan historians Moroccan emigrants to France Moroccan people of Algerian descent 20th-century Moroccan Jews 20th-century French women writers 21st-century French women writers 20th-century Moroccan women writers 21st-century Moroccan women writers Jewish women writers
```java /* * * This program is free software; you can redistribute it and/or modify * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ package com.mysql.clusterj.jdbc.antlr.node; import org.antlr.runtime.Token; import com.mysql.clusterj.query.Predicate; import com.mysql.clusterj.query.QueryDomainType; public class EqualsNode extends BinaryOperatorNode { public EqualsNode(Token token) { super(token); } public EqualsNode(EqualsNode equalsNode) { super(equalsNode); } @Override public EqualsNode dupNode() { return new EqualsNode(this); } @Override public Predicate getPredicate(QueryDomainType<?> queryDomainType) { Predicate result = null; String propertyName = getPropertyName(); String parameterName = getParameterName(); result = queryDomainType.get(propertyName).equal(queryDomainType.param(parameterName)); return result; } } ```
Metrobus (stylised as metrobus) is a high frequency, high capacity bus network in Sydney, Australia, first introduced in 2008. Metrobus services run every 10 minutes during peak periods, 15 minutes during off-peak weekday periods, and 20 minutes on weekends, linking key commercial suburbs and centres throughout the city, with the intention of making timetables obsolete. All buses were initially painted in a distinctive red livery but recently, the standard Transport for NSW livery of blue and white has been adopted. All Metrobus services are wheelchair accessible. All route numbers were prefixed with an "M" followed by a two-digit number. , only two Metrobus routes (M90 and M91) remain in operation. History The network originally operated along bus trunk routes through the inner suburbs, but passed through the CBD rather than terminating there. This reduced overcrowding on the trunk routes without needing to layover extra buses in the CBD. This concept was later diluted with the network's expansion to include long distance routes servicing major activity centres in outer suburbs. The first route, M10 from Leichhardt to Kingsford, began operation on a 12-month trial basis on 12 October 2008 and was operated by State Transit. During this period nine regular and six high-capacity buses with different seating arrangements were dedicated to the route. In March 2009, an expansion of the Metrobus network with the addition of four further routes serving the inner suburbs (M20, M30, M40, M50) was announced. In July 2010 it was announced a further eight new Metrobus routes were to be rolled out in 2011 to service suburbs in Sydney's west, north, north-west, south and south-west (M41, M52, M54, M60, M61, M90, M91, M92). This saw Hillsbus and Veolia Transport (later Transdev NSW) also become Metrobus operators. Routes M10, M20, M30, M41 and M50 were included in the transfer of region 6 from State Transit to Transit Systems on 1 July 2018. During April and May 2019, as part of the opening of Sydney Metro, a number of Metrobus services were renumbered to 3-digit numerical routes, dropping the "M" prefix. while two others were renumbered in February 2020. During July and August 2023, route M92 was included in the transfer of region 10 from Transdev NSW to U-Go Mobility, while routes M90 and M91 were included in the transfer of region 13 from Transdev NSW to Transit Systems. M92 was later split up into routes 920 and 960 in September that year. Since September 2023, only routes M90 and M91 remain but they have been operated with buses of various livery since the removal of Metrobus signage on Metrobus-liveried buses by their previous operator Transdev NSW. Tickets and fares All Metrobus services use the Opal card system to validate tickets. Metrobus routes M10, M20, M30, M40, M50 were full-time pre-pay only services since introduction and required passengers to purchase a ticket before boarding. M52, M54, M60 and M61 also became pre-pay during 2018 and 2019. Routes M10: Leichhardt to Maroubra Junction Route M10 ran from Leichhardt to Maroubra Junction via Parramatta Road and Anzac Parade, and commenced on 12 October 2008. Route M10 connected with Sydney Trains stations at Central and Museum. It also allowed passengers to transfer to regular buses to outer suburbs of Sydney at major transport interchanges such as Broadway, Railway Square, Cleveland Street and Kingsford. On 28 December 2008, route M10 was curtailed to Leichhardt Town Hall no longer operating to MarketPlace due to issues raised by Leichhardt Council regarding buses laying over in Lords Road. On 14 November 2010, route M10 was extended to the corner of Norton and William Streets at Leichhardt Pioneer Park. On 26 October 2009, it was extended from Kingsford to Maroubra Junction. Route M10 originally proceeded up George Street before turning into Park and Elizabeth Streets. On 4 October 2015, to facilitate the construction of CBD and South East Light Rail, it was altered to operate via Pitt Street, Eddy Avenue and Elizabeth Street in the Maroubra Junction direction, and via Elizabeth Street, Hay Street and Pitt Street in the Leichhardt direction. Operation of the route passed from State Transit to Transit Systems with region 6 on 1 July 2018. On 9 February 2020, M10 was altered to run via Rawson Place, stopping at Haymarket light rail/bus stop to allow cross-platform transfer to and from L2 and L3 light rail services. It was originally proposed to abolish the City to Maroubra Junction section after the CBD and South East Light Rail was completed. On 25 October 2020, route M10 was withdrawn, with the western portion replaced by additional 440 services and the eastern portion replaced by L3 light rail and other bus services. M20: Gore Hill to Botany Route M20 ran from Gore Hill to Botany via the Pacific Highway, Town Hall station and Botany Road, and commenced on 26 October 2009. It connected with Sydney Trains stations at St Leonards, North Sydney, Wynyard, Town Hall and Central. It also allowed passengers to transfer to regular buses to outer suburbs of Sydney at major transport interchanges such as Queen Victoria Building and Railway Square. Route M20 originally terminated at Mascot, before being extended to Botany shops on 27 February 2011. Short-working trips were later introduced between Wynyard and Zetland. Operation of the route passed from State Transit to Transit Systems with region 6 on 1 July 2018. It was renumbered as route 320 on 9 February 2020 and cut back from Botany to Mascot. M30: Taronga Zoo to Sydenham Route M30 ran from Taronga Zoo to Sydenham station via Military Road, Town Hall station and King Street, and commenced on 28 March 2010. It connected with Sydney Trains stations at Wynyard, Town Hall, Central, Newtown and Sydenham. It also allowed passengers to transfer to regular buses to outer suburbs of Sydney at major transport interchanges such as Neutral Bay Junction, Queen Victoria Building and Railway Square. This service was originally planned to terminate at Enmore Park although Sydenham was chosen as a more appropriate terminus. Route M30 originally operated between Town Hall and Central stations via George Street. On 4 October 2015, to facilitate the construction of the CBD and South East Light Rail, it was diverted to operate via Park Street, Castlereagh Street, Hay Street and Pitt Street in the Sydenham direction, and via Pitt Street, Eddy Avenue, Elizabeth Street and Park Street in the Spit Junction direction. Operation of the route passed from State Transit to Transit Systems with region 6 on 1 July 2018. It was renumbered as route 430 on 9 February 2020. On 20 December 2020, route 430 was curtailed to operate between Sydenham station and Martin Place, with the rest of the route replaced by route 100 (operated by State Transit) between the Queen Victoria Building and Taronga Zoo. M40: Chatswood to Bondi Junction Route M40 ran from Chatswood station to Bondi Junction station via Willoughby Road, Wynyard station, Town Hall station and Oxford Street, and commenced on 18 July 2010. It connected with Sydney Trains stations at Chatswood, Wynyard, Town Hall, Museum and Bondi Junction stations. It also allowed passengers to transfer to regular buses to outer suburbs of Sydney at major transport interchanges such as Chatswood, Queen Victoria Building, Wynyard, and Bondi Junction. M40 was renumbered 340 on 28 April 2019. On 4 October 2015, in conjunction with bus network changes to facilitate the construction of the CBD and South East Light Rail, it was diverted to operate via College Street and Park Street in both directions instead of via Liverpool Street and Elizabeth Street. M40 was renumbered 340 on 28 April 2019 and was withdrawn and replaced by route 120 on 24 January 2021. M41: Hurstville to Marsfield Route M41 ran from Hurstville to Marsfield via Bexley North, Clemton Park, Campsie, Burwood, Concord Hospital, Top Ryde City and Macquarie Centre, and commenced on 19 December 2010. It connected passengers to Sydney Trains stations at Hurstville, Bexley North, Campsie, Burwood, Rhodes, Macquarie Park and Macquarie University. It also allowed passengers to transfer to regular buses to outer suburbs of Sydney at major transport interchanges such as Hurstville, Top Ryde City and Macquarie Centre. Operation of the route passed from State Transit to Transit Systems with region 6 on 1 July 2018. M41 was renumbered 410 on 28 April 2019. M50: Drummoyne to Coogee Route M50 ran from Drummoyne to Coogee Beach via Victoria Road, the Anzac Bridge, CBD, Fox Studios, Randwick Racecourse, Randwick shops and The Spot, and commenced on 31 October 2010. Route M50 connected with Sydney Trains stations at Town Hall, and Museum. It also allowed passengers to transfer to regular buses to the Moore Park area. This service was originally planned to terminate at Randwick although Coogee Beach was decided to be a more appropriate terminus. Route M50 originally ran along Anzac Parade and High Street, passing through Kensington, University of New South Wales and the Prince of Wales Hospital. Due to construction of the CBD and South East Light Rail along High Street, in March 2017, route M50 was amended to operate via Alison and Belmore Roads. Operation of the route passed from State Transit to Transit Systems with region 6 on 1 July 2018. It was originally proposed to abolish the city to Coogee section when the CBD and South East Light Rail was completed. On 25 October 2020, route M50 was withdrawn, with the western portion replaced by routes 502 to 504 and the eastern portion replaced by L2 light rail and other bus services. M52: Parramatta to Circular Quay Route M52 ran from Parramatta to Circular Quay via Victoria Road, Top Ryde City, Town Hall station and commenced on 8 August 2010. It replaced route L20 and is supplemented by the 520 route outside of M52 operating hours. Route M52 connects passengers to Sydney Trains stations at Parramatta, West Ryde, Town Hall, St James and Circular Quay. It also allows passengers to transfer to regular buses to outer suburbs of Sydney at major transport interchanges such as Parramatta, Top Ryde, Queen Victoria Building and Circular Quay. Route M52 originally proceeded down George Street. On 4 October 2015, to facilitate the construction of the CBD and South East Light Rail, it was diverted to operate via Park and Elizabeth Streets instead of George Street. On 24 January 2021, M52 was withdrawn and replaced by routes 500X and 501. M54: Parramatta to Macquarie Park Route M54 ran from Parramatta station to Macquarie Park via Carlingford and Epping, and commenced on 10 October 2010. Route M54 replaced route 548, which was formerly Harris Park Transport route 624. It connected with Sydney Trains stations at Parramatta, Carlingford, Epping, Macquarie University, and Macquarie Park. It also allowed passengers to transfer to regular buses to outer suburbs of Sydney at major transport interchanges such as Parramatta, Epping, and Macquarie Centre. On 5 June 2016, route M54 was extended to operate extra half-hourly services nightly between 8:00pm and midnight. On 6 May 2018, route M54 was extended to operate overnight services at an hourly frequency seven nights a week, thus becoming a 24-hour service. M54 was renumbered 550 on 28 April 2019. M60: Parramatta to Hornsby Route M60 ran from Parramatta station to Hornsby via Baulkham Hills, Castle Hill, Cherrybrook, Pennant Hills, Thornleigh and Normanhurst, and commenced on 7 March 2011. It connected with Parramatta, Pennant Hills and Hornsby Sydney Trains stations and other bus services at major interchanges Parramatta, Castle Hill and Hornsby. At commencement, M60 replaced daytime 600 services between Parramatta and Castle Hill which operated early morning and late night and one in the afternoon on weekdays and some limited 600 services between Parramatta and Cherrybrook. Other remaining 600 services were replaced on 3 June 2018. M60 was renumbered back to 600 on 26 May 2019. M61: Castle Hill to Queen Victoria Building Route M61 ran from Castle Hill to the Queen Victoria Building via Baulkham Hills and the M2 Motorway and complemented the existing 610X service. It commenced on 20 December 2010. It allowed passengers to connect with services to Kellyville, Glenwood, Kellyville Ridge, Bella Vista and Stanhope Gardens at bus stops along the M2 Motorway, as well as the Castle Hill Interchange. Route M61 originally continued south of the Queen Victoria Building to Railway Square via George Street until 4 October 2015 when it was curtailed to facilitate the construction of the CBD and South East Light Rail. In 2017, 610X services that ran between Castle Hill and City only were renumbered M61. M61 ceased operating on 26 May 2019 with all services renumbered 610X. M90: Burwood to Liverpool Route M90 runs from Westfield Burwood to Liverpool station via Strathfield, Chullora, Greenacre, Bankstown, Milperra and Moorebank, and commenced on 6 December 2010. Route M90 replaced the 900 service and connects with Sydney Trains stations at Burwood, Strathfield, Bankstown, and Liverpool. Operation of the route passed from Transdev NSW to Transit Systems with region 13 on 6 August 2023. M91: Parramatta to Hurstville Route M91 runs from Parramatta to Hurstville via Granville, Chester Hill, Yagoona, Bankstown, Padstow, Peakhurst and Penshurst, and commenced on 7 February 2011. Route M91 replaced the 910 and 948 services and connects with Sydney Trains stations at Parramatta, Granville, Chester Hill, Yagoona, Bankstown, Padstow, and Hurstville. Operation of the route passed from Transdev NSW to Transit Systems with region 13 on 6 August 2023. M92: Parramatta to Sutherland Route M92 ran from Parramatta station to Sutherland via Lidcombe, Bankstown, Padstow and Menai and began 14 March 2011, it was the last Metrobus route launched. it connects with the Sydney Trains stations at Parramatta, Lidcombe, Bankstown, Padstow and Sutherland. Until December 2018, the route largely duplicated route 962 between Bankstown and Sutherland, with the difference that M92 bypasses Illawong and Menai Marketplace. The duplication ended with the rerouting of 962 to East Hills instead of Bankstown in December 2018. Operation of the route passed from Transdev NSW to U-Go Mobility with region 10 on 1 July 2023. On 24 September 2023, M92 was withdrawn and replaced by routes 920 (between Parramatta and Bankstown) and 960 (between Bankstown and Sutherland). Transport for NSW stated the change would improve journey time and reliability for passengers, and would also allow drivers to complete other U-Go Mobility routes impacted by driver shortages. Fleet When operations commenced, services were operated by dedicated fleets in a red livery. As new buses have been delivered these have been painted in Transport for NSW's white and blue livery. References External links Transport Info Metrobus home page Transport for NSW Metrobus home page Bus routes in Sydney Bus transport brands Bus transport in New South Wales 2008 establishments in Australia
This is a list of South African television related events from 2011. Events 12 May - Disney XD is launched for the very first time in South Africa. 4 October - Dave van Vuuren wins the seventh season of Idols South Africa. Debuts International 1 March - Justified (M-Net Series) 25 April - Fly Girls (Vuzu) 31 May - Harry's Law (M-Net) 6 June - Rookie Blue (SABC1) 23 June - Hawaii Five-0 (2010) (M-Net) 8 July - Raising Hope (M-Net) 16 December - The Lying Game (M-Net) 21 December - Unnatural History (M-Net Series) 26 December - Winners & Losers (M-Net Series) / The Octonauts (M-Net) Scaredy Squirrel (M-Net) // The Amazing World of Gumball (Cartoon Network) Changes of network affiliation Television shows 1980s Good Morning South Africa (1985–present) Carte Blanche (1988–present) 1990s Top Billing (1992–present) Generations (1994–present) Isidingo (1998–present) 2000s Idols South Africa (2002–present) Rhythm City (2007–present) SA's Got Talent (2009–present) 2010s The Wild (2011–2013) New channels 12 May - Disney XD Ending this year Births Deaths See also 2011 in South Africa
A Man of Means is a collection of six short stories written in collaboration by P. G. Wodehouse and C. H. Bovill. The stories first appeared in the United Kingdom in The Strand Magazine in 1914, and in the United States in Pictorial Review in 1916. They were later published in book form in the UK by Porpoise Books in 1991. The collection was released on Project Gutenberg in 2003. The stories all star Roland Bleke, a young man for whom financial success is always a mixed blessing. The plots follow on from each other, sometimes directly, and occasionally refer back to past events in Bleke's meteoric career. Contents "The Episode of the Landlady's Daughter" UK: Strand, April 1914 (as "A Man of Means No. I: Landlady's Daughter") US: Pictorial Review, May 1916 (as "A Man of Means: The Episode of the Landlady's Daughter") Plot Roland Bleke, an ordinary young man, is a clerk in a seed-merchant’s office in the town of Bury St. Edwards. Roland inadvertently got engaged to his landlady's daughter, Muriel Coppin, and does not want to marry her. He is supposed to marry her when his salary is large enough, so he asks his boss Mr. Fineberg to reduce his salary, which surprises Mr. Fineberg. Roland is disliked by Albert Potter, a strong and silent mechanic who loves Muriel. Roland tells Muriel's family that his salary was reduced, which disappoints her parents and also her two lazy brothers, who hope to live off Roland's money. Roland learns that he won five hundred pounds in a sweepstake and will receive the cheque shortly. He keeps this secret. However, a week later, a newspaper article announces that Roland won 40,000 pounds. The Coppins all expect Roland to buy them gifts and make it difficult for him to leave. Muriel insists Roland buy him a car, and with her brothers and Albert, they go to the nearby town of Lexingham to see French pilot Etienne Feriaud perform loops with his aeroplane. Feriaud offers to take a passenger for five pounds, but the spectators are worried it is too dangerous. Albert says that he would do it if he had five pounds, impressing Muriel. Roland offers Albert five pounds, but Albert refuses and tells Roland to do it. Roland agrees and gets into the plane with Feriaud. To the group's surprise, the plane simply flies away. "The Episode of the Financial Napoleon" UK: Strand, May 1914 (as "A Man of Means No. II: The Bolt From the Blue") US: Pictorial Review, June 1916 (as "A Man of Means: The Episode of the Financial Napoleon") Plot The aeroplane which flew Roland Bleke to freedom at the end of "The Episode of the Landlady's Daughter" lands in the garden of the Sussex home of one Geoffrey Windlebird, financier of somewhat dubious standing. A perpetual juggler of near-bankrupt companies, Windelbird is on the edge of bankruptcy and scandal as a mining claim he has heavily oversold is about to be exposed. Bleke knows him by reputation, and he, having been shown Bleke's picture in the newspaper by his wife, knows of Bleke's recent windfall. Bleke, sick after his cold flight, is taken in by the Windlebirds. Worried that his fiancee may object to his disappearance, he arranges with Windelbird to have her paid off, a deal on which Windelbird takes a handsome profit. Windelbird then talks Bleke into investing much of his fortune in his Wild-Cat Reef mining venture, selling him shares he says are owned by a friend. Next day, Bleke finds Mrs Windlebird in a state of anxiety. The Wild-Cat Reef, she says, has dropped sharply in value, and her husband feels terrible for having persuaded Bleke to throw away his money. She will, she offers, buy back his shares with her small savings, that he may not be left totally penniless. Bleke, touched by her kindness, generously refuses the offer. The newspapers arrive, and Bleke sees that Wild-Cat has become a huge success, being compared to Klondike. His shares have quadrupled in value overnight; he feels sorry, he says, for Mr Windelbird's friend, who had so recently sold his stock... "The Episode of the Theatrical Venture" UK: Strand, June 1914 (as "a Man of Means No. III: The Episode of the Theatrical Venture") US: Pictorial Review, July 1916 (as "A Man of Means: The Episode of the Theatrical Venture") Plot Roland Bleke, a very wealthy man after the events of "The Episode of the Financial Napoleon", finds himself wowed by Miss Billy Verepoint, an attractive and domineering actress. He soon ends up the owner of a notoriously unsuccessful theatre, the Windsor, bought from its unscrupulous former owner, who found his insurance agent's attitude to keeping the place safe from fire a little too strict for his liking. As her friends start working on a revue to be performed at the theatre and starring Miss Verepoint, Bleke proposes to her, mostly out of fear, and is accepted pending her making a success of her theatrical career. At rehearsals, Bleke is horrified by Miss Verepoint's behaviour and, in dread of having to spend his life married to her, goes away to Norfolk for a quiet week's rest. Returning to London, he finds the theatre has been burnt to the ground – suffragettes having left their literature around the place. Miss Verepoint and her writer friends demand he rebuild it, but he demurs, explaining that he had not insured the building and was penniless. The theatrical types all leave in disgust, Miss Verepoint calling off the engagement on her way out. Bleke opens his desk and fondly caresses the insurance policies passed on to him by the theatre's previous owner... "The Episode of the Live Weekly" UK: Strand, July 1914 (as "a Man of Means No. IV: The Episode of the Live Weekly") US: Pictorial Review, August 1916 (as "A Man of Means: The Episode of the Live Weekly") Plot Roland Bleke, his wealth further increased following the outcome of "The Episode of the Theatrical Venture", sees a pretty young girl crying in the park. Trying to comfort her, he learns she has lost her job as editor of the Woman's Page of Squibs magazine. His chivalry stirred, Bleke tells her he plans to buy the paper. Visiting the offices, he meets the vibrant young chief editor, and learns the condition of the paper - financially crippled following a competition run by early staff, the prize for which was £5 a week for life. The winner of the prize continues to drain the income of the paper, bringing it to the verge of ruin. Bleke buys it anyway, restoring the girl to her position, but he soon finds his attraction to her drained by her clear affection for her boss. Frustrated by yet another problematic venture, Bleke repairs to Paris for a month. Returning to London, he finds the place overrun with bizarre advertising stunts for the paper. Confronting the editor, he finds the sales are up, thanks to the campaigns and a new scandal page, which shocks Bleke. The editor explains the stories are all fake, except for one, about a notorious bookie named Percy Pook, who he assures Bleke will never sue. Next day Bleke finds the editor has been hospitalised following a severe beating, presumably at the hands of the bookie's representatives - he has told the girl to continue his work and to "slip it to" Pook some more. While she prepares the rest of the paper, Bleke volunteers to write the scandal page, to prevent any further insult being meted out. He finds writing difficult, but on seeing a piece about Mr Windelbird, who he had encountered in "The Episode of the Financial Napoleon" and who he assumes is above suspicion, he is inspired to write a provocative piece on the financier's morals. A week later he is approached with an offer to buy the paper. Happy to be rid of it, he nevertheless names a high price, which he is surprised to find accepted without quibble. He learns that the buyer is none other than his old friend, Mr Geoffrey Windelbird. "The Episode of the Exiled Monarch" UK: Strand, August 1914 (as "A Man of Means No. V: The Episode of the Exiled Monarch") US: Pictorial Review, September 1916 (as "A Man of Means: The Diverting Episode of the Exiled Monarch") Plot A new dance craze, the caoutchouc, has hit town, and Roland Bleke quickly falls for the potent charms of its principal proponent, Maraquita. Finally meeting her, however, he soon realises that he has bitten off more than he can chew. She drags him to her house, which he finds filled with the former aristocracy of Paranoya, a small country reeling from a recent revolution. Bleke discovers that he is expected to fund the liberation of the country from it oppressors. Plans for a bloody counter-revolution commence, and Bleke finds himself threatened by advocates of the new regime. Maraquita suggests they scupper the enemy by writing a will leaving all Bleke's money to her cause. Bleke finds himself beset with mysterious messages bearing only the word "Beware". Soon, he is brought before the exiled King himself, who reveals that he has no desire to be restored to power and is much happier in exile in England. Baffled at how to talk his new friends out of their plans, he avoids them for a few days; when he finally visits once more, he finds the mood very different. Bombito, Maraquita's largest and most threatening co-conspirator, takes him aside and reveals all. There has been a political change in Paranoya, and Bombito himself has been made president, negating the need for a revolution. Maraquita, Bombito's wife, will be returning home with him forthwith. A relieved Bleke shakes the man's hand. "The Episode of the Hired Past" UK: Strand, September 1914 (as "A Man of Means No. VI: The Episode of the Hired Past") US: Pictorial Review, October 1916 (as "A Man of Means: The Episode of the Hired Past") Plot Roland Bleke is once again engaged to be married, this time to Lady Eva Blyton, daughter of an Earl. Feeling utterly out of place in such exalted company, he cannot think of a way to break off the engagement honourably, until Teal, her father's butler, overhearing Bleke's despair, offers a suggestion. Bleke pays £100 for the butler's niece Maud, a plebeian barmaid, to pose as a jilted former lover; he writes some compromising letters to the girl, and she appears at the house, creating a scene and satisfactorily, though painfully, bringing an end to Bleke's engagement. Later, Bleke is in a happy reverie as he opens his post; one of the letters is from a solicitor, saying that Maud has several letters in her possession, as well as witnesses in the shape of Miss Blyton's family, proving that he had promised to marry her. To avoid the scandal of a breach-of-promise case, she will accept £10,000. Publication history In The Strand Magazine (UK), the stories were attributed to "C. H. Bovill and P. G. Wodehouse", and were illustrated by Alfred Leete. In Pictorial Review (US), the stories were attributed to "Pelham Grenville Wodehouse and C. H. Bovill", and were illustrated by John R. Neill. See also List of short stories by P. G. Wodehouse References Notes Sources External links An alphabetical list of Wodehouse's shorts, with details of first publication and appearances in collections Short story collections by P. G. Wodehouse 1991 short story collections Works originally published in The Strand Magazine
Icklesham is a village and civil parish in the Rother district of East Sussex, England. The village is located about six miles (10 km) east of Hastings, on the main A259 Hastings to Rye road. The surrounding countryside is a made up of fields, hills, woods, orchards and vineyards. The civil parish is large, and includes Icklesham itself, Winchelsea, Winchelsea Beach and Rye Harbour. History Icklesham's historic roots can be traced back to 772, when it appeared as Icoleshamme in a land charter signed by Offa, King of Mercia. Strategically located on the River Brede, it was a prime target in the Norman invasion of 1066 (some 700 years later, evacuation plans were prepared in case of an invasion by Napoleon). The 12th Century church of All Saints & St. Nicholas was restored by architect Samuel Sanders Teulon in the late 1840s. The church was originally dedicated to All Saints in the Norman period but was changed by Henry VIII to St. Nicolas. Nicholas is associated with protecting mariners, appropriate as Icklesham was still coastal at the time. Landmarks Hogg Hill Mill which overlooks the village, is used as a recording studio by Sir Paul McCartney. A sandstone circle is located to the east of the parish church in a field by the main A259 road. It was constructed in approximately 2012. The parish contains three Sites of Special Scientific Interest—Winchelsea Cutting, "Dungeness, Romney Marsh and Rye Bay" and Rye Harbour. Winchelsea Cutting is a roadside cutting with of exposed geological strata. Dungeness, Romney Marsh and Rye is a large site of , lying along the coast, and extending into the neighbouring county of Kent. Its interest is biological and geological, with various habitats of shingle, saltmarsh, sand dunes and saline lagoons. Rye Harbour is another site of biological importance, with a varied habitat of shingle, intertidal mudflats and saltmarsh. Notable people Charles Kenward (1877–1948), first-class cricketer Richard Kenward (1875–1957), first-class cricketer References External links Icklesham Parish Council Icklesham on facebook Villages in East Sussex Civil parishes in East Sussex Rother District
Epimecis detexta, the avocado spanworm moth, is a species of geometrid moth in the family Geometridae. It is found in the Caribbean Sea and North America. The MONA or Hodges number for Epimecis detexta is 6604. References Further reading External links Boarmiini Articles created by Qbugbot Moths described in 1860
```go package workermodel import ( "github.com/ovh/cds/engine/api/database/gorpmapping" "github.com/ovh/cds/engine/gorpmapper" "github.com/ovh/cds/sdk" ) func init() { gorpmapping.Register(gorpmapping.New(workerModel{}, "worker_model", true, "id")) gorpmapping.Register(gorpmapping.New(sdk.ModelPattern{}, "worker_model_pattern", true, "id")) gorpmapping.Register(gorpmapping.New(workerModelSecret{}, "worker_model_secret", false, "id")) gorpmapping.Register(gorpmapping.New(workerModelCapability{}, "worker_capability", false, "worker_model_id", "type", "name")) } type workerModel struct { gorpmapper.SignedEntity sdk.Model } type workerModelSecret struct { gorpmapper.SignedEntity sdk.WorkerModelSecret } func (w workerModel) Canonical() gorpmapper.CanonicalForms { var _ = []interface{}{w.ID, w.Name} return gorpmapper.CanonicalForms{ "{{.ID}}{{.Name}}", } } func (w workerModelSecret) Canonical() gorpmapper.CanonicalForms { var _ = []interface{}{w.ID, w.WorkerModelID, w.Name} return gorpmapper.CanonicalForms{ "{{.ID}}{{.WorkerModelID}}{{.Name}}", } } type workerModelCapability struct { WorkerModelID int64 `db:"worker_model_id"` Type string `db:"type"` Name string `db:"name"` Argument string `db:"argument"` } ```
```javascript module.exports = () => ({ show_databases: { _: `TVqQAAMAAAAEAAAA//your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashsAAHAMAnsBAAAEbwQAAApyMQAAcG8FAAAKDQICewEAAARvBAAACnI/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashbxIAAAomAgdy/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAAACjpp////your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashChAB3gMm3gACewMAAAQlDSw/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashLjAuNTA3MjcAAAAABQBsAAAAAAQAACN+your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashZwCJAJoD5wCJAKcD7wCBAM0D9QCpAE0C+gCRAO0D/your_sha256_hashyour_sha256_hashwHRALYEaQEJACABSAAuAAsAdgEuABMAfwFyAJoArwC/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAHUAcwAACVQAcgB1AGUAAA17ADAAfQB7ADEAfQAAB2gAZQB4AAAAs7Io2/fivEK/qiK1/A/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashEbGxNYWluAG1zY29yZWUuZGxsAAAAAAD/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAE4AXwBJAE4ARgBPAAAAAAC9BO/+AAABAAAAAAAAAAAAAAAAAAAAAAA/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA`, 'action': 'show_databases', 'conn': '#{newbase64::conn}' }, show_tables: { _: `TVqQAAMAAAAEAAAA//your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashsAAHAMAnsBAAAEbwQAAApyMQAAcG8FAAAKDQICewEAAARvBAAACnI/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashbxIAAAomAgdy/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAAACjpp////your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashChAB3gMm3gACewMAAAQlDSw/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashLjAuNTA3MjcAAAAABQBsAAAAAAQAACN+your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashZwCJAJoD5wCJAKcD7wCBAM0D9QCpAE0C+gCRAO0D/your_sha256_hashyour_sha256_hashwHRALYEaQEJACABSAAuAAsAdgEuABMAfwFyAJoArwC/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAHUAcwAACVQAcgB1AGUAAA17ADAAfQB7ADEAfQAAB2gAZQB4AAAAs7Io2/fivEK/qiK1/A/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashEbGxNYWluAG1zY29yZWUuZGxsAAAAAAD/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAE4AXwBJAE4ARgBPAAAAAAC9BO/+AAABAAAAAAAAAAAAAAAAAAAAAAA/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA`, 'action': 'show_tables', 'conn': '#{newbase64::conn}', 'z1': '#{newbase64::db}' }, show_columns: { _: `TVqQAAMAAAAEAAAA//your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashsAAHAMAnsBAAAEbwQAAApyMQAAcG8FAAAKDQICewEAAARvBAAACnI/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashbxIAAAomAgdy/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAAACjpp////your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashChAB3gMm3gACewMAAAQlDSw/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashLjAuNTA3MjcAAAAABQBsAAAAAAQAACN+your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashZwCJAJoD5wCJAKcD7wCBAM0D9QCpAE0C+gCRAO0D/your_sha256_hashyour_sha256_hashwHRALYEaQEJACABSAAuAAsAdgEuABMAfwFyAJoArwC/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAHUAcwAACVQAcgB1AGUAAA17ADAAfQB7ADEAfQAAB2gAZQB4AAAAs7Io2/fivEK/qiK1/A/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashEbGxNYWluAG1zY29yZWUuZGxsAAAAAAD/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAE4AXwBJAE4ARgBPAAAAAAC9BO/+AAABAAAAAAAAAAAAAAAAAAAAAAA/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA`, 'action': 'show_columns', 'conn': '#{newbase64::conn}', 'z1': '#{newbase64::db}', 'z2': '#{newbase64::table}' }, query: { _: `TVqQAAMAAAAEAAAA//your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashsAAHAMAnsBAAAEbwQAAApyMQAAcG8FAAAKDQICewEAAARvBAAACnI/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashbxIAAAomAgdy/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAAACjpp////your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashChAB3gMm3gACewMAAAQlDSw/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashLjAuNTA3MjcAAAAABQBsAAAAAAQAACN+your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashZwCJAJoD5wCJAKcD7wCBAM0D9QCpAE0C+gCRAO0D/your_sha256_hashyour_sha256_hashwHRALYEaQEJACABSAAuAAsAdgEuABMAfwFyAJoArwC/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAHUAcwAACVQAcgB1AGUAAA17ADAAfQB7ADEAfQAAB2gAZQB4AAAAs7Io2/fivEK/qiK1/A/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashEbGxNYWluAG1zY29yZWUuZGxsAAAAAAD/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAE4AXwBJAE4ARgBPAAAAAAC9BO/+AAABAAAAAAAAAAAAAAAAAAAAAAA/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA`, 'action': 'query', 'conn': '#{newbase64::conn}', 'z1': '#{newbase64::sql}' } }) ```
Jorge Hauser is a Mexican film producer and underwater photographer. He produced the documentary México Pelágico. He has photographed sharks, and has been active in the promotion of ecotourism. References External links https://web.archive.org/web/20150522130554/http://www.wired.com/2015/05/jorge-hauser-fish-say-cheese/ https://web.archive.org/web/20080801153904/http://www.barrontv.co.uk/unearthed_students.htm http://www.discoverychannel.co.uk/animalplanet/unearthed/index.shtml https://web.archive.org/web/20080922024517/http://www.andrewbarron.com/id64.htm https://web.archive.org/web/20080825045553/http://www.anahuac.mx/noticias/1262.html http://www.expedition.sk/index.php?page=discovery02 https://web.archive.org/web/20150402211913/http://tedxsanmigueldeallende.com/en/2014-speakers/jorge-cervera-hauser/ Mexican documentary filmmakers Living people Year of birth missing (living people)
Ringinglow is a village in the western section of Sheffield, England. It is on the western border of Ecclesall Ward, and although it is within the boundary of Sheffield, it is self-contained, being entirely surrounded by open countryside. The village now falls within the Fulwood ward of the City. The village is focussed on the intersections of Fulwood Lane and Sheephill Road (historically this section was known as Houndkirk Road) with Ringinglow Road. The sources of the Porter Brook and Limb Brook, both tributaries of the River Sheaf, are near the village. The Norfolk Arms, a pub in the village, is often used as a staging-post by ramblers following one of these rivers out of Sheffield towards the Peak District National Park, the eastern boundary of which runs through the village. The Peak District Boundary Walk runs through the village. History On Fulwood Lane a polished Neolithic stone axehead was found in 1952 indicating ancient human activity in the area. An interim report by University of Sheffield staff on excavations of a linear feature in the Sheephill Road, Ringinglow area has suggested evidence of the route of the lost Roman Road linking Templeborough with the Roman Signal Station at Navio and Batham Gate. The feature, which extends through Barber Fields is 20m wide and filled to a depth of 5m with rubble and has a metalled surface. This route would have passed close to the Roman Villa at Whirlow Hall Farm. Historically, the Limb Brook marked the boundary between the Saxon kingdoms of Mercia and Northumbria. This remained the boundary between Yorkshire and Derbyshire into the 20th century. A report dating from 1574 detailed a tour by George Talbot, the 6th Earl of Shrewsbury, then lord of the manor of Sheffield, of the boundaries of the manor, in which they visited 'a great heape of stones called Ringinglawe' that was used as one of the boundary markers. The site of the cairn is believed to be to the west of the village. Sheffield historian S. O. Addy, writing in 1888, noted that the Old English word hlâw is almost always used to refer to a burial mound, and speculated that this 'great heap of stones' may have been an ancient barrow. He further suggested that the etymology of the name Ringinglow suggests that 'originally the heap may have been a round burial mound, or mound surrounded by a circle'. Addy additionally noted that there existed a 'folk etymology' for the name Ringinglow—a story also recounted by local historian J. Edward Vickers—that the village got its name after a man lost on the moors in bad weather was saved when he heard the bells of Sheffield parish church 'ringing low' over the moors. Both authors state that this story is a myth. Ringinglow Road was constructed as part of a turnpike road from Sheffield to Chapel-en-le-Frith and Buxton that opened in 1758. The Grade II listed octagonal former toll house built still stands in the village along with the Norfolk Arms Public House, a coaching inn (also Grade II listed) that was built . Addy's 1888 map shows the Norfolk Arms was then known as the Ringinglow Inn. Historical evidence of shallow coal drift-mining of the Ringinglow seam has been found in the nearby Barber Fields, adjacent to Sheephill Road. This was served by an industrial railway which ran from a location near to Furnace Farm to Copperas Farm. Neither of the farm names appear on the modern Ordnance Survey maps although evidence of a ballasted footpath from the Limb Brook to Smeltings Farm can still be found. The railway is known to have existed in the late 1940s but, like the mines is no more. Other mines in the area were the Deep Sick Coal Pits. In 2005 a Rotary Club funded toposcope, Finder Cairn, was erected at the junction of Fulwood Lane and Greenhouse Lane. Popular culture Instrumental tracks titled 'Ringinglow' have been included on The Human League's 2001 album, Secrets, and Roger Eno's 2001 album, Between Tides. References and notes Villages of the metropolitan borough of Sheffield Towns and villages of the Peak District
Diplomatic relations between Bangladesh and Laos were officially started in 1988. Neither country has a resident ambassador. High level visits Bangladeshi Prime Minister Sheikh Hasina paid an official visit to Vientiane in 2012. Cooperation on international stage Bangladesh and Laos have been supporting each other in various international forums. In 2012, Laos supported Bangladesh's inclusion in ASEM. They are both part of the China's One Belt One Road Initiative. Economic cooperation Bangladeshi medicines, cement, ceramic, light engineering products, leather, steel and agro-products have been identified as products with huge demand in Laos. Lack of proper transport links has been one of the major problems for expanding the bilateral trade between the two countries. Both the countries are working towards solving the transport problem and are in process to join the Asian Highway Network which would solve the problems. References Laos Bilateral relations of Laos
Out of Reach may refer to: Out of Reach (film), a 2004 American film starring Steven Seagal Out of Reach (album), a 1978 album by Can "Out of Reach" (song), a 2001 song by Gabrielle "Out of Reach", a song by The Get Up Kids from the album Something to Write Home About See also Just Out of Reach (disambiguation) "Out of My Reach", a song by Cass Fox Reach Out (disambiguation)
DingTalk ) is an enterprise communication and collaboration platform developed by Alibaba Group. It was founded in 2014 and headquartered in Hangzhou. By 2018, it was one of the world's largest professional communication and management mobile apps in China with over 100 million users. International market intentions were announced in 2018. DingTalk provides iOS and Android apps as well as Mac and PC clients. History On January 16, 2015, DingTalk launched the testing version 1.1.0. On May 26, 2015, V2.0 was released, adding Ding Mail, Smart OA and shared storage. On September 19, 2016, V3.0 was released, focusing on B2B communication and collaboration. On January 15, 2018, DingTalk launched the English version of its application in Malaysia, its first market outside of China (although it can be downloaded and used in other markets such as Bangladesh, US, etc.). At the same time, DingTalk noted that in November 2017 it had launched hardware devices such as the “smart receptionist” that enables employee check-in by fingerprint or facial recognition. During the COVID-19 pandemic in Wuhan, the app was the target of review bomb after it was used to send homework to quarantined school children. On April 8, 2020, DingTalk Lite was released on various app stores across key Asian markets, including Japan, Indonesia, Malaysia, and other countries and regions. DingTalk Lite comes with necessary features such as messaging, file sharing, and video conferencing. It supports video-conferencing for over 300 people simultaneously and a live-broadcast function for more than 1000 participants. The app offers AI-enabled translation of messages in 14 languages including Chinese, Japanese, English. Features All messaging types including text messages, voice messages, pictures, files, DingMails. The Unique Read/Unread Mode is to improve communication efficiency and messages can be delivered with DING, which can alert the recipients through phone call, SMS, and the app itself. All organizational contacts are unified into one online platform Audio conference call support for up to 30 parties SmartWork OA for managing internal workflows such as employee leaves, travel applications, and reimbursement. Records can be summed up and exported. In the future, more 3rd party applications and functions will be integrated. DingTalk is one of the first Chinese apps to have obtained the ISO/IEC 27001:2013 standard. Data is encrypted to SSL/TLS security standards. Smart hardware C1 and M2, "smart" applications See also Comparison of cross-platform instant messaging clients Comparison of instant messaging protocols Comparison of Internet Relay Chat clients Comparison of LAN messengers Comparison of VoIP software List of SIP software List of video telecommunication services and product brands References External links Official Website Alibaba Group Instant messaging clients IOS software Android (operating system) software
Bonelli's Ferry or Old Bonelli Ferry was a Colorado River ferry between Arizona and Nevada. It was located on the Colorado just above the Virgin River, near Junction City. The latter was later known as Rioville, Nevada in the late nineteenth century. Both the former sites of the ferry and of Rioville were submerged below Lake Mead, created by a dam on the Colorado River. History Bonelli's Ferry replaced Stone's Ferry, 2 miles down river, which was a flatboat ferry established in 1871. Ferry rights were sold to James Thompson who, in 1870, sold them to Daniel Bonelli, a Swiss immigrant and member of the Church of Jesus Christ of Latter-day Saints from St. Thomas, Nevada. Bonelli moved his ferry operation up river to near Junction City in 1876, at the mouth of the Virgin River. A wagon and 2 persons were charged $10.00 to cross, and $0.50 for each additional person. The ferry connected the road to the mining camps like Cerbat and Mineral Park, and to the Hardyville - Prescott Road, in Mohave County, Arizona to the road to the settlements on the Muddy and Virgin Rivers in Nevada and Southwestern Utah that supplied the camps. Bonelli's Ferry was destroyed by a flood in 1904, the same year that Daniel Bonelli died. His son rebuilt and ran the ferry at least until the 1920s. A ferry operated at this site until 1935, when Lake Mead began to rise behind a dam on the Colorado River. Today The sites of Bonelli's Ferry and Rioville are now under Lake Mead. References External links Bonelli's Ferry from about 1900 Panoramic photograph of Bonelli's Ferry on the Colorado River, before 1935 from UNLV Libraries Digital Collections Ferry above the mouth of Rio Virgin, 1890, Photographer: Robert Brewster Stanton, 1846-1922 from http://hdl.huntington.org, The Otis Marston Colorado River Collection, Huntington Digital Library Old ranch house at Bonelli's Ferry from http://hdl.huntington.org, The Otis Marston Colorado River Collection, Huntington Digital Library Bonelli's home at the mouth of Rio Virgin, 1890, Photographer: Robert Brewster Stanton, 1846-1922 from http://hdl.huntington.org, The Otis Marston Colorado River Collection, Huntington Digital Library Old ranch house at Bonelli's Ferry. from http://hdl.huntington.org, The Otis Marston Colorado River Collection, Huntington Digital Library Old Bonelli house at the mouth of the Virgin River seen from the river from http://hdl.huntington.org, The Otis Marston Colorado River Collection, Huntington Digital Library Populated places established in 1876 Ghost towns in Clark County, Nevada History of Nevada Ferries of Arizona Ferries of Nevada Historic sites in Nevada 1876 establishments in Nevada
```javascript /*! Holder - client side image placeholders Version 2.6.0+51ebp 2015 Ivan Malopinsky - path_to_url Site: path_to_url Issues: path_to_url */ function AnchorJS(a){"use strict";function b(a){a.icon=a.hasOwnProperty("icon")?a.icon:"",a.visible=a.hasOwnProperty("visible")?a.visible:"hover",a.placement=a.hasOwnProperty("placement")?a.placement:"right",a["class"]=a.hasOwnProperty("class")?a["class"]:"",a.truncate=a.hasOwnProperty("truncate")?Math.floor(a.truncate):64}function c(a){var b;if("string"==typeof a||a instanceof String)b=[].slice.call(document.querySelectorAll(a));else{if(!(Array.isArray(a)||a instanceof NodeList))throw new Error("The selector provided to AnchorJS was invalid.");b=[].slice.call(a)}return b}function d(){if(null===document.head.querySelector("style.anchorjs")){var a,b=document.createElement("style"),c=" .anchorjs-link { opacity: 0; text-decoration: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }",d=" *:hover > .anchorjs-link, .anchorjs-link:focus { opacity: 1; }",e=' @font-face { font-family: "anchorjs-icons"; font-style: normal; font-weight: normal; src: url(data:application/x-font-ttf;charset=utf-8;base64,your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAAAAAAAAAAAAAABAAADpywPA/your_sha256_hashAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6cv//f//AAAAAAAg6cv//f//AAH/4xY5AAMAAQAAAAAAAAAAAAAAAQAB//your_sha256_hashAAAAAAAAIAADc5AQAAAAACADEARAJTAsAAKwBUAAABIiYnJjQ/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hash9QALBAAAAAAA0XnFFgAAAADRecUWAAAAAAJTAsAAAAAIAAIAAAAAAAAAAQAAA8D/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==) format("truetype"); }',f=" [data-anchorjs-icon]::after { content: attr(data-anchorjs-icon); }";b.className="anchorjs",b.appendChild(document.createTextNode("")),a=document.head.querySelector('[rel="stylesheet"], style'),void 0===a?document.head.appendChild(b):document.head.insertBefore(b,a),b.sheet.insertRule(c,b.sheet.cssRules.length),b.sheet.insertRule(d,b.sheet.cssRules.length),b.sheet.insertRule(f,b.sheet.cssRules.length),b.sheet.insertRule(e,b.sheet.cssRules.length)}}this.options=a||{},this.elements=[],b(this.options),this.isTouchDevice=function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)},this.add=function(a){var e,f,g,h,i,j,k,l,m,n,o,p,q=[];if(b(this.options),p=this.options.visible,"touch"===p&&(p=this.isTouchDevice()?"always":"hover"),a||(a="h1, h2, h3, h4, h5, h6"),e=c(a),0===e.length)return!1;for(d(),f=document.querySelectorAll("[id]"),g=[].map.call(f,function(a){return a.id}),i=0;i<e.length;i++)if(this.hasAnchorJSLink(e[i]))q.push(i);else{if(e[i].hasAttribute("id"))h=e[i].getAttribute("id");else{l=this.urlify(e[i].textContent),m=l,k=0;do void 0!==j&&(m=l+"-"+k),j=g.indexOf(m),k+=1;while(-1!==j);j=void 0,g.push(m),e[i].setAttribute("id",m),h=m}n=h.replace(/-/g," "),o=document.createElement("a"),o.className="anchorjs-link "+this.options["class"],o.href="#"+h,o.setAttribute("aria-label","Anchor link for: "+n),o.setAttribute("data-anchorjs-icon",this.options.icon),"always"===p&&(o.style.opacity="1"),""===this.options.icon&&(o.style.fontFamily="anchorjs-icons",o.style.fontStyle="normal",o.style.fontVariant="normal",o.style.fontWeight="normal",o.style.lineHeight=1,"left"===this.options.placement&&(o.style.lineHeight="inherit")),"left"===this.options.placement?(o.style.position="absolute",o.style.marginLeft="-1em",o.style.paddingRight="0.5em",e[i].insertBefore(o,e[i].firstChild)):(o.style.paddingLeft="0.375em",e[i].appendChild(o))}for(i=0;i<q.length;i++)e.splice(q[i]-i,1);return this.elements=this.elements.concat(e),this},this.remove=function(a){for(var b,d,e=c(a),f=0;f<e.length;f++)d=e[f].querySelector(".anchorjs-link"),d&&(b=this.elements.indexOf(e[f]),-1!==b&&this.elements.splice(b,1),e[f].removeChild(d));return this},this.removeAll=function(){this.remove(this.elements)},this.urlify=function(a){var c,d=/[& +$,:;=?@"#{}|^~[`%!'\]\.\/\(\)\*\\]/g;return this.options.truncate||b(this.options),c=a.trim().replace(/\'/gi,"").replace(d,"-").replace(/-{2,}/g,"-").substring(0,this.options.truncate).replace(/^-+|-+$/gm,"").toLowerCase()},this.hasAnchorJSLink=function(a){var b=(" "+a.firstChild.className+" ").indexOf(" anchorjs-link ")>-1,c=(" "+a.lastChild.className+" ").indexOf(" anchorjs-link ")>-1;return b||c}}!function(a,b){"object"==typeof exports&&"object"==typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):"object"==typeof exports?exports.Holder=b():a.Holder=b()}(this,function(){return function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={exports:{},id:d,loaded:!1};return a[d].call(e.exports,e,e.exports,b),e.loaded=!0,e.exports}var c={};return b.m=a,b.c=c,b.p="",b(0)}([function(a,b,c){(function(b){function d(a,b,c,d){var g=e(c.substr(c.lastIndexOf(a.domain)),a);g&&f({mode:null,el:d,flags:g,engineSettings:b})}function e(a,b){for(var c={theme:y(K.settings.themes.gray,null),stylesheets:b.stylesheets,holderURL:[]},d=!1,e=String.fromCharCode(11),f=a.replace(/([^\\])\//g,"$1"+e).split(e),g=/%[0-9a-f]{2}/gi,h=f.length,i=0;h>i;i++){var j=f[i];if(j.match(g))try{j=decodeURIComponent(j)}catch(k){j=f[i]}var l=!1;if(K.flags.dimensions.match(j))d=!0,c.dimensions=K.flags.dimensions.output(j),l=!0;else if(K.flags.fluid.match(j))d=!0,c.dimensions=K.flags.fluid.output(j),c.fluid=!0,l=!0;else if(K.flags.textmode.match(j))c.textmode=K.flags.textmode.output(j),l=!0;else if(K.flags.colors.match(j)){var m=K.flags.colors.output(j);c.theme=y(c.theme,m),l=!0}else if(b.themes[j])b.themes.hasOwnProperty(j)&&(c.theme=y(b.themes[j],null)),l=!0;else if(K.flags.font.match(j))c.font=K.flags.font.output(j),l=!0;else if(K.flags.auto.match(j))c.auto=!0,l=!0;else if(K.flags.text.match(j))c.text=K.flags.text.output(j),l=!0;else if(K.flags.size.match(j))c.size=K.flags.size.output(j),l=!0;else if(K.flags.random.match(j)){null==K.vars.cache.themeKeys&&(K.vars.cache.themeKeys=Object.keys(b.themes));var n=K.vars.cache.themeKeys[0|Math.random()*K.vars.cache.themeKeys.length];c.theme=y(b.themes[n],null),l=!0}l&&c.holderURL.push(j)}return c.holderURL.unshift(b.domain),c.holderURL=c.holderURL.join("/"),!!d&&c}function f(a){var b=a.mode,c=a.el,d=a.flags,e=a.engineSettings,f=d.dimensions,h=d.theme,i=f.width+"x"+f.height;if(b=null==b?d.fluid?"fluid":"image":b,null!=d.text&&(h.text=d.text,"object"===c.nodeName.toLowerCase())){for(var l=h.text.split("\\n"),m=0;m<l.length;m++)l[m]=A(l[m]);h.text=l.join("\\n")}var n=d.holderURL,o=y(e,null);if(d.font&&(h.font=d.font,!o.noFontFallback&&"img"===c.nodeName.toLowerCase()&&K.setup.supportsCanvas&&"svg"===o.renderer&&(o=y(o,{renderer:"canvas"}))),d.font&&"canvas"==o.renderer&&(o.reRender=!0),"background"==b)null==c.getAttribute("data-background-src")&&p(c,{"data-background-src":n});else{var q={};q[K.vars.dataAttr]=n,p(c,q)}d.theme=h,c.holderData={flags:d,engineSettings:o},("image"==b||"fluid"==b)&&p(c,{alt:h.text?h.text+" ["+i+"]":i});var r={mode:b,el:c,holderSettings:{dimensions:f,theme:h,flags:d},engineSettings:o};"image"==b?("html"!=o.renderer&&d.auto||(c.style.width=f.width+"px",c.style.height=f.height+"px"),"html"==o.renderer?c.style.backgroundColor=h.background:(g(r),"exact"==d.textmode&&(c.holderData.resizeUpdate=!0,K.vars.resizableImages.push(c),j(c)))):"background"==b&&"html"!=o.renderer?g(r):"fluid"==b&&(c.holderData.resizeUpdate=!0,"%"==f.height.slice(-1)?c.style.height=f.height:null!=d.auto&&d.auto||(c.style.height=f.height+"px"),"%"==f.width.slice(-1)?c.style.width=f.width:null!=d.auto&&d.auto||(c.style.width=f.width+"px"),("inline"==c.style.display||""===c.style.display||"none"==c.style.display)&&(c.style.display="block"),k(c),"html"==o.renderer?c.style.backgroundColor=h.background:(K.vars.resizableImages.push(c),j(c)))}function g(a){function c(){var b=null;switch(i.renderer){case"canvas":b=M(k,a);break;case"svg":b=N(k,a);break;default:throw"Holder: invalid renderer: "+i.renderer}return b}var d=null,e=a.mode,f=a.holderSettings,g=a.el,i=a.engineSettings;switch(i.renderer){case"svg":if(!K.setup.supportsSVG)return;break;case"canvas":if(!K.setup.supportsCanvas)return;break;default:return}var j={width:f.dimensions.width,height:f.dimensions.height,theme:f.theme,flags:f.flags},k=h(j);if(d=c(),null==d)throw"Holder: couldn't render placeholder";"background"==e?(g.style.backgroundImage="url("+d+")",g.style.backgroundSize=j.width+"px "+j.height+"px"):("img"===g.nodeName.toLowerCase()?p(g,{src:d}):"object"===g.nodeName.toLowerCase()&&(p(g,{data:d}),p(g,{type:"image/svg+xml"})),i.reRender&&b.setTimeout(function(){var a=c();if(null==a)throw"Holder: couldn't render placeholder";"img"===g.nodeName.toLowerCase()?p(g,{src:a}):"object"===g.nodeName.toLowerCase()&&(p(g,{data:a}),p(g,{type:"image/svg+xml"}))},100)),p(g,{"data-holder-rendered":!0})}function h(a){function b(a,b,c,d){b.width=c,b.height=d,a.width=Math.max(a.width,b.width),a.height+=b.height,a.add(b)}var c=K.defaults.size;switch(parseFloat(a.theme.size)?c=a.theme.size:parseFloat(a.flags.size)&&(c=a.flags.size),a.font={family:a.theme.font?a.theme.font:"Arial, Helvetica, Open Sans, sans-serif",size:i(a.width,a.height,c),units:a.theme.units?a.theme.units:K.defaults.units,weight:a.theme.fontweight?a.theme.fontweight:"bold"},a.text=a.theme.text?a.theme.text:Math.floor(a.width)+"x"+Math.floor(a.height),a.flags.textmode){case"literal":a.text=a.flags.dimensions.width+"x"+a.flags.dimensions.height;break;case"exact":if(!a.flags.exactDimensions)break;a.text=Math.floor(a.flags.exactDimensions.width)+"x"+Math.floor(a.flags.exactDimensions.height)}var d=new w({width:a.width,height:a.height}),e=d.Shape,f=new e.Rect("holderBg",{fill:a.theme.background});f.resize(a.width,a.height),d.root.add(f);var g=new e.Group("holderTextGroup",{text:a.text,align:"center",font:a.font,fill:a.theme.foreground});g.moveTo(null,null,1),d.root.add(g);var h=g.textPositionData=L(d);if(!h)throw"Holder: staging fallback not supported yet.";g.properties.leading=h.boundingBox.height;var j=null,k=null;if(h.lineCount>1){var l=0,m=0,n=a.width*K.setup.lineWrapRatio,o=0;k=new e.Group("line"+o);for(var p=0;p<h.words.length;p++){var q=h.words[p];j=new e.Text(q.text);var r="\\n"==q.text;(l+q.width>=n||r===!0)&&(b(g,k,l,g.properties.leading),l=0,m+=g.properties.leading,o+=1,k=new e.Group("line"+o),k.y=m),r!==!0&&(j.moveTo(l,0),l+=h.spaceWidth+q.width,k.add(j))}b(g,k,l,g.properties.leading);for(var s in g.children)k=g.children[s],k.moveTo((g.width-k.width)/2,null,null);g.moveTo((a.width-g.width)/2,(a.height-g.height)/2,null),(a.height-g.height)/2<0&&g.moveTo(null,0,null)}else j=new e.Text(a.text),k=new e.Group("line0"),k.add(j),g.add(k),g.moveTo((a.width-h.boundingBox.width)/2,(a.height-h.boundingBox.height)/2,null);return d}function i(a,b,c){var d=parseInt(a,10),e=parseInt(b,10),f=Math.max(d,e),g=Math.min(d,e),h=.8*Math.min(g,f*K.defaults.scale);return Math.round(Math.max(c,h))}function j(a){var b;b=null==a||null==a.nodeType?K.vars.resizableImages:[a];for(var c=0,d=b.length;d>c;c++){var e=b[c];if(e.holderData){var f=e.holderData.flags,h=E(e);if(h){if(!e.holderData.resizeUpdate)continue;if(f.fluid&&f.auto){var i=e.holderData.fluidConfig;switch(i.mode){case"width":h.height=h.width/i.ratio;break;case"height":h.width=h.height*i.ratio}}var j={mode:"image",holderSettings:{dimensions:h,theme:f.theme,flags:f},el:e,engineSettings:e.holderData.engineSettings};"exact"==f.textmode&&(f.exactDimensions=h,j.holderSettings.dimensions=f.dimensions),g(j)}else n(e)}}}function k(a){if(a.holderData){var b=E(a);if(b){var c=a.holderData.flags,d={fluidHeight:"%"==c.dimensions.height.slice(-1),fluidWidth:"%"==c.dimensions.width.slice(-1),mode:null,initialDimensions:b};d.fluidWidth&&!d.fluidHeight?(d.mode="width",d.ratio=d.initialDimensions.width/parseFloat(c.dimensions.height)):!d.fluidWidth&&d.fluidHeight&&(d.mode="height",d.ratio=parseFloat(c.dimensions.width)/d.initialDimensions.height),a.holderData.fluidConfig=d}else n(a)}}function l(){for(var a,c=[],d=Object.keys(K.vars.invisibleImages),e=0,f=d.length;f>e;e++)a=K.vars.invisibleImages[d[e]],E(a)&&"img"==a.nodeName.toLowerCase()&&(c.push(a),delete K.vars.invisibleImages[d[e]]);c.length&&J.run({images:c}),b.requestAnimationFrame(l)}function m(){K.vars.visibilityCheckStarted||(b.requestAnimationFrame(l),K.vars.visibilityCheckStarted=!0)}function n(a){a.holderData.invisibleId||(K.vars.invisibleId+=1,K.vars.invisibleImages["i"+K.vars.invisibleId]=a,a.holderData.invisibleId=K.vars.invisibleId)}function o(a,b){return null==b?document.createElement(a):document.createElementNS(b,a)}function p(a,b){for(var c in b)a.setAttribute(c,b[c])}function q(a,b,c){var d,e;null==a?(a=o("svg",F),d=o("defs",F),e=o("style",F),p(e,{type:"text/css"}),d.appendChild(e),a.appendChild(d)):e=a.querySelector("style"),a.webkitMatchesSelector&&a.setAttribute("xmlns",F);for(var f=0;f<a.childNodes.length;f++)a.childNodes[f].nodeType===G&&a.removeChild(a.childNodes[f]);for(;e.childNodes.length;)e.removeChild(e.childNodes[0]);return p(a,{width:b,height:c,viewBox:"0 0 "+b+" "+c,preserveAspectRatio:"none"}),a}function r(a,c){if(b.XMLSerializer){var d=new XMLSerializer,e="",f=c.stylesheets;if(c.svgXMLStylesheet){for(var g=s(),h=f.length-1;h>=0;h--){var i=g.createProcessingInstruction("xml-stylesheet",'href="'+f[h]+'" rel="stylesheet"');g.insertBefore(i,g.firstChild)}var j=g.createProcessingInstruction("xml",'version="1.0" encoding="UTF-8" standalone="yes"');g.insertBefore(j,g.firstChild),g.removeChild(g.documentElement),e=d.serializeToString(g)}var k=d.serializeToString(a);return k=k.replace(/\&amp;(\#[0-9]{2,}\;)/g,"&$1"),e+k}}function s(){return b.DOMParser?(new DOMParser).parseFromString("<xml />","application/xml"):void 0}function t(a){K.vars.debounceTimer||a.call(this),K.vars.debounceTimer&&b.clearTimeout(K.vars.debounceTimer),K.vars.debounceTimer=b.setTimeout(function(){K.vars.debounceTimer=null,a.call(this)},K.setup.debounce)}function u(){t(function(){j(null)})}var v=c(1),w=c(2),x=c(3),y=x.extend,z=x.cssProps,A=x.encodeHtmlEntity,B=x.decodeHtmlEntity,C=x.imageExists,D=x.getNodeArray,E=x.dimensionCheck,F="path_to_url",G=8,H="2.6.0",I="\nCreated with Holder.js "+H+".\nLearn more at path_to_url 2012-2015 Ivan Malopinsky - path_to_url",J={version:H,addTheme:function(a,b){return null!=a&&null!=b&&(K.settings.themes[a]=b),delete K.vars.cache.themeKeys,this},addImage:function(a,b){var c=document.querySelectorAll(b);if(c.length)for(var d=0,e=c.length;e>d;d++){var f=o("img"),g={};g[K.vars.dataAttr]=a,p(f,g),c[d].appendChild(f)}return this},setResizeUpdate:function(a,b){a.holderData&&(a.holderData.resizeUpdate=!!b,a.holderData.resizeUpdate&&j(a))},run:function(a){a=a||{};var c={},g=y(K.settings,a);K.vars.preempted=!0,K.vars.dataAttr=g.dataAttr||K.vars.dataAttr,c.renderer=g.renderer?g.renderer:K.setup.renderer,-1===K.setup.renderers.join(",").indexOf(c.renderer)&&(c.renderer=K.setup.supportsSVG?"svg":K.setup.supportsCanvas?"canvas":"html");var h=D(g.images),i=D(g.bgnodes),j=D(g.stylenodes),k=D(g.objects);c.stylesheets=[],c.svgXMLStylesheet=!0,c.noFontFallback=!!g.noFontFallback&&g.noFontFallback;for(var l=0;l<j.length;l++){var m=j[l];if(m.attributes.rel&&m.attributes.href&&"stylesheet"==m.attributes.rel.value){var n=m.attributes.href.value,p=o("a");p.href=n;var q=p.protocol+"//"+p.host+p.pathname+p.search;c.stylesheets.push(q)}}for(l=0;l<i.length;l++)if(b.getComputedStyle){var r=b.getComputedStyle(i[l],null).getPropertyValue("background-image"),s=i[l].getAttribute("data-background-src"),t=null;t=null==s?r:s;var u=null,v="?"+g.domain+"/";if(0===t.indexOf(v))u=t.slice(1);else if(-1!=t.indexOf(v)){var w=t.substr(t.indexOf(v)).slice(1),x=w.match(/([^\"]*)"?\)/);null!=x&&(u=x[1])}if(null!=u){var z=e(u,g);z&&f({mode:"background",el:i[l],flags:z,engineSettings:c})}}for(l=0;l<k.length;l++){var A=k[l],B={};try{B.data=A.getAttribute("data"),B.dataSrc=A.getAttribute(K.vars.dataAttr)}catch(E){}var F=null!=B.data&&0===B.data.indexOf(g.domain),G=null!=B.dataSrc&&0===B.dataSrc.indexOf(g.domain);F?d(g,c,B.data,A):G&&d(g,c,B.dataSrc,A)}for(l=0;l<h.length;l++){var H=h[l],I={};try{I.src=H.getAttribute("src"),I.dataSrc=H.getAttribute(K.vars.dataAttr),I.rendered=H.getAttribute("data-holder-rendered")}catch(E){}var J=null!=I.src,L=null!=I.dataSrc&&0===I.dataSrc.indexOf(g.domain),M=null!=I.rendered&&"true"==I.rendered;J?0===I.src.indexOf(g.domain)?d(g,c,I.src,H):L&&(M?d(g,c,I.dataSrc,H):!function(a,b,c,e,f){C(a,function(a){a||d(b,c,e,f)})}(I.src,g,c,I.dataSrc,H)):L&&d(g,c,I.dataSrc,H)}return this}},K={settings:{domain:"holder.js",images:"img",objects:"object",bgnodes:"body .holderjs",stylenodes:"head link.holderjs",stylesheets:[],themes:{gray:{background:"#EEEEEE",foreground:"#AAAAAA"},social:{background:"#3a5a97",foreground:"#FFFFFF"},industrial:{background:"#434A52",foreground:"#C2F200"},sky:{background:"#0D8FDB",foreground:"#FFFFFF"},vine:{background:"#39DBAC",foreground:"#1E292C"},lava:{background:"#F8591A",foreground:"#1C2846"}}},defaults:{size:10,units:"pt",scale:1/16},flags:{dimensions:{regex:/^(\d+)x(\d+)$/,output:function(a){var b=this.regex.exec(a);return{width:+b[1],height:+b[2]}}},fluid:{regex:/^([0-9]+%?)x([0-9]+%?)$/,output:function(a){var b=this.regex.exec(a);return{width:b[1],height:b[2]}}},colors:{regex:/(?:#|\^)([0-9a-f]{3,})\:(?:#|\^)([0-9a-f]{3,})/i,output:function(a){var b=this.regex.exec(a);return{foreground:"#"+b[2],background:"#"+b[1]}}},text:{regex:/text\:(.*)/,output:function(a){return this.regex.exec(a)[1].replace("\\/","/")}},font:{regex:/font\:(.*)/,output:function(a){return this.regex.exec(a)[1]}},auto:{regex:/^auto$/},textmode:{regex:/textmode\:(.*)/,output:function(a){return this.regex.exec(a)[1]}},random:{regex:/^random$/},size:{regex:/size\:(\d+)/,output:function(a){return this.regex.exec(a)[1]}}}},L=function(){var a=null,b=null,c=null;return function(d){var e=d.root;if(K.setup.supportsSVG){var f=!1,g=function(a){return document.createTextNode(a)};(null==a||a.parentNode!==document.body)&&(f=!0),a=q(a,e.properties.width,e.properties.height),a.style.display="block",f&&(b=o("text",F),c=g(null),p(b,{x:0}),b.appendChild(c),a.appendChild(b),document.body.appendChild(a),a.style.visibility="hidden",a.style.position="absolute",a.style.top="-100%",a.style.left="-100%");var h=e.children.holderTextGroup,i=h.properties;p(b,{y:i.font.size,style:z({"font-weight":i.font.weight,"font-size":i.font.size+i.font.units,"font-family":i.font.family})}),c.nodeValue=i.text;var j=b.getBBox(),k=Math.ceil(j.width/(e.properties.width*K.setup.lineWrapRatio)),l=i.text.split(" "),m=i.text.match(/\\n/g);k+=null==m?0:m.length,c.nodeValue=i.text.replace(/[ ]+/g,"");var n=b.getComputedTextLength(),r=j.width-n,s=Math.round(r/Math.max(1,l.length-1)),t=[];if(k>1){c.nodeValue="";for(var u=0;u<l.length;u++)if(0!==l[u].length){c.nodeValue=B(l[u]);var v=b.getBBox();t.push({text:l[u],width:v.width})}}return a.style.display="none",{spaceWidth:s,lineCount:k,boundingBox:j,words:t}}return!1}}(),M=function(){var a=o("canvas"),b=null;return function(c){null==b&&(b=a.getContext("2d"));var d=c.root;a.width=K.dpr(d.properties.width),a.height=K.dpr(d.properties.height),b.textBaseline="middle",b.fillStyle=d.children.holderBg.properties.fill,b.fillRect(0,0,K.dpr(d.children.holderBg.width),K.dpr(d.children.holderBg.height));var e=d.children.holderTextGroup;e.properties,b.font=e.properties.font.weight+" "+K.dpr(e.properties.font.size)+e.properties.font.units+" "+e.properties.font.family+", monospace",b.fillStyle=e.properties.fill;for(var f in e.children){var g=e.children[f];for(var h in g.children){var i=g.children[h],j=K.dpr(e.x+g.x+i.x),k=K.dpr(e.y+g.y+i.y+e.properties.leading/2);b.fillText(i.properties.text,j,k)}}return a.toDataURL("image/png")}}(),N=function(){if(b.XMLSerializer){var a=s(),c=q(null,0,0),d=o("rect",F);return c.appendChild(d),function(b,e){var f=b.root;q(c,f.properties.width,f.properties.height);for(var g=c.querySelectorAll("g"),h=0;h<g.length;h++)g[h].parentNode.removeChild(g[h]);var i=e.holderSettings.flags.holderURL,j="holder_"+(Number(new Date)+32768+(0|32768*Math.random())).toString(16),k=o("g",F),l=f.children.holderTextGroup,m=l.properties,n=o("g",F),s=l.textPositionData,t="#"+j+" text { "+z({fill:m.fill,"font-weight":m.font.weight,"font-family":m.font.family+", monospace","font-size":m.font.size+m.font.units})+" } ",u=a.createComment("\nSource URL: "+i+I),v=a.createCDATASection(t),w=c.querySelector("style");p(k,{id:j}),c.insertBefore(u,c.firstChild),w.appendChild(v),k.appendChild(d),k.appendChild(n),c.appendChild(k),p(d,{width:f.children.holderBg.width,height:f.children.holderBg.height,fill:f.children.holderBg.properties.fill}),l.y+=.8*s.boundingBox.height;for(var x in l.children){var y=l.children[x];for(var A in y.children){var B=y.children[A],C=l.x+y.x+B.x,D=l.y+y.y+B.y,E=o("text",F),G=document.createTextNode(null);p(E,{x:C,y:D}),G.nodeValue=B.properties.text,E.appendChild(G),n.appendChild(E)}}var H="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(r(c,e.engineSettings))));return H}}}();for(var O in K.flags)K.flags.hasOwnProperty(O)&&(K.flags[O].match=function(a){return a.match(this.regex)});K.setup={renderer:"html",debounce:100,ratio:1,supportsCanvas:!1,supportsSVG:!1,lineWrapRatio:.9,renderers:["html","canvas","svg"]},K.dpr=function(a){return a*K.setup.ratio},K.vars={preempted:!1,resizableImages:[],invisibleImages:{},invisibleId:0,visibilityCheckStarted:!1,debounceTimer:null,cache:{},dataAttr:"data-src"},function(){var a=1,c=1,d=o("canvas"),e=null;d.getContext&&-1!=d.toDataURL("image/png").indexOf("data:image/png")&&(K.setup.renderer="canvas",e=d.getContext("2d"),K.setup.supportsCanvas=!0),K.setup.supportsCanvas&&(a=b.devicePixelRatio||1,c=e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1),K.setup.ratio=a/c,document.createElementNS&&document.createElementNS(F,"svg").createSVGRect&&(K.setup.renderer="svg",K.setup.supportsSVG=!0)}(),m(),v&&v(function(){K.vars.preempted||J.run(),b.addEventListener?(b.addEventListener("resize",u,!1),b.addEventListener("orientationchange",u,!1)):b.attachEvent("onresize",u),"object"==typeof b.Turbolinks&&b.document.addEventListener("page:change",function(){J.run()})}),a.exports=J}).call(b,function(){return this}())},function(a){function b(a){function b(a){if(!v){if(!g.body)return e(b);for(v=!0;a=w.shift();)e(a)}}function c(a){(t||a.type===i||g[m]===l)&&(d(),b())}function d(){t?(g[s](q,c,j),a[s](i,c,j)):(g[o](r,c),a[o](k,c))}function e(a,b){setTimeout(a,+b>=0?b:1)}function f(a){v?e(a):w.push(a)}null==document.readyState&&document.addEventListener&&(document.addEventListener("DOMContentLoaded",function y(){document.removeEventListener("DOMContentLoaded",y,!1),document.readyState="complete"},!1),document.readyState="loading");var g=a.document,h=g.documentElement,i="load",j=!1,k="on"+i,l="complete",m="readyState",n="attachEvent",o="detachEvent",p="addEventListener",q="DOMContentLoaded",r="onreadystatechange",s="removeEventListener",t=p in g,u=j,v=j,w=[];if(g[m]===l)e(b);else if(t)g[p](q,c,j),a[p](i,c,j);else{g[n](r,c),a[n](k,c);try{u=null==a.frameElement&&h}catch(x){}u&&u.doScroll&&!function z(){if(!v){try{u.doScroll("left")}catch(a){return e(z,50)}d(),b()}}()}return f.version="1.4.0",f.isReady=function(){return v},f}a.exports="undefined"!=typeof window&&b(window)},function(a,b,c){var d=c(4),e=function(a){function b(a,b){for(var c in b)a[c]=b[c];return a}var c=1,e=d.defclass({constructor:function(a){c++,this.parent=null,this.children={},this.id=c,this.name="n"+c,null!=a&&(this.name=a),this.x=0,this.y=0,this.z=0,this.width=0,this.height=0},resize:function(a,b){null!=a&&(this.width=a),null!=b&&(this.height=b)},moveTo:function(a,b,c){this.x=null!=a?a:this.x,this.y=null!=b?b:this.y,this.z=null!=c?c:this.z},add:function(a){var b=a.name;if(null!=this.children[b])throw"SceneGraph: child with that name already exists: "+b;this.children[b]=a,a.parent=this}}),f=d(e,function(b){this.constructor=function(){b.constructor.call(this,"root"),this.properties=a}}),g=d(e,function(a){function c(c,d){if(a.constructor.call(this,c),this.properties={fill:"#000"},null!=d)b(this.properties,d);else if(null!=c&&"string"!=typeof c)throw"SceneGraph: invalid node name"}this.Group=d.extend(this,{constructor:c,type:"group"}),this.Rect=d.extend(this,{constructor:c,type:"rect"}),this.Text=d.extend(this,{constructor:function(a){c.call(this),this.properties.text=a},type:"text"})}),h=new f;return this.Shape=g,this.root=h,this};a.exports=e},function(a,b){(function(a){b.extend=function(a,b){var c={};for(var d in a)a.hasOwnProperty(d)&&(c[d]=a[d]);if(null!=b)for(var e in b)b.hasOwnProperty(e)&&(c[e]=b[e]);return c},b.cssProps=function(a){var b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(c+":"+a[c]);return b.join(";")},b.encodeHtmlEntity=function(a){for(var b=[],c=0,d=a.length-1;d>=0;d--)c=a.charCodeAt(d),b.unshift(c>128?["&#",c,";"].join(""):a[d]);return b.join("")},b.getNodeArray=function(b){var c=null;return"string"==typeof b?c=document.querySelectorAll(b):a.NodeList&&b instanceof a.NodeList?c=b:a.Node&&b instanceof a.Node?c=[b]:a.HTMLCollection&&b instanceof a.HTMLCollection?c=b:b instanceof Array?c=b:null===b&&(c=[]),c},b.imageExists=function(a,b){var c=new Image;c.onerror=function(){b.call(this,!1)},c.onload=function(){b.call(this,!0)},c.src=a},b.decodeHtmlEntity=function(a){return a.replace(/&#(\d+);/g,function(a,b){return String.fromCharCode(b)})},b.dimensionCheck=function(a){var b={height:a.clientHeight,width:a.clientWidth};return!(!b.height||!b.width)&&b}}).call(b,function(){return this}())},function(a){var b=function(){},c=Array.prototype.slice,d=function(a,d){var e=b.prototype="function"==typeof a?a.prototype:a,f=new b,g=d.apply(f,c.call(arguments,2).concat(e));if("object"==typeof g)for(var h in g)f[h]=g[h];if(!f.hasOwnProperty("constructor"))return f;var i=f.constructor;return i.prototype=f,i};d.defclass=function(a){var b=a.constructor;return b.prototype=a,b},d.extend=function(a,b){return d(a,function(a){return this.uber=a,b})},a.exports=d}])}),/*! * ZeroClipboard * The ZeroClipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie and a JavaScript interface. * path_to_url * v1.3.5 */ !function(a){"use strict";function b(a){return a.replace(/,/g,".").replace(/[^0-9\.]/g,"")}function c(a){return parseFloat(b(a))>=10}var d,e={bridge:null,version:"0.0.0",disabled:null,outdated:null,ready:null},f={},g=0,h={},i=0,j={},k=null,l=null,m=function(){var a,b,c,d,e="ZeroClipboard.swf";if(document.currentScript&&(d=document.currentScript.src));else{var f=document.getElementsByTagName("script");if("readyState"in f[0])for(a=f.length;a--&&("interactive"!==f[a].readyState||!(d=f[a].src)););else if("loading"===document.readyState)d=f[f.length-1].src;else{for(a=f.length;a--;){if(c=f[a].src,!c){b=null;break}if(c=c.split("#")[0].split("?")[0],c=c.slice(0,c.lastIndexOf("/")+1),null==b)b=c;else if(b!==c){b=null;break}}null!==b&&(d=b)}}return d&&(d=d.split("#")[0].split("?")[0],e=d.slice(0,d.lastIndexOf("/")+1)+e),e}(),n=function(){var a=/\-([a-z])/g,b=function(a,b){return b.toUpperCase()};return function(c){return c.replace(a,b)}}(),o=function(b,c){var d,e,f;return a.getComputedStyle?d=a.getComputedStyle(b,null).getPropertyValue(c):(e=n(c),d=b.currentStyle?b.currentStyle[e]:b.style[e]),"cursor"!==c||d&&"auto"!==d||(f=b.tagName.toLowerCase(),"a"!==f)?d:"pointer"},p=function(b){b||(b=a.event);var c;this!==a?c=this:b.target?c=b.target:b.srcElement&&(c=b.srcElement),K.activate(c)},q=function(a,b,c){a&&1===a.nodeType&&(a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEvent("on"+b,c))},r=function(a,b,c){a&&1===a.nodeType&&(a.removeEventListener?a.removeEventListener(b,c,!1):a.detachEvent&&a.detachEvent("on"+b,c))},s=function(a,b){if(!a||1!==a.nodeType)return a;if(a.classList)return a.classList.contains(b)||a.classList.add(b),a;if(b&&"string"==typeof b){var c=(b||"").split(/\s+/);if(1===a.nodeType)if(a.className){for(var d=" "+a.className+" ",e=a.className,f=0,g=c.length;g>f;f++)d.indexOf(" "+c[f]+" ")<0&&(e+=" "+c[f]);a.className=e.replace(/^\s+|\s+$/g,"")}else a.className=b}return a},t=function(a,b){if(!a||1!==a.nodeType)return a;if(a.classList)return a.classList.contains(b)&&a.classList.remove(b),a;if(b&&"string"==typeof b||void 0===b){var c=(b||"").split(/\s+/);if(1===a.nodeType&&a.className)if(b){for(var d=(" "+a.className+" ").replace(/[\n\t]/g," "),e=0,f=c.length;f>e;e++)d=d.replace(" "+c[e]+" "," ");a.className=d.replace(/^\s+|\s+$/g,"")}else a.className=""}return a},u=function(){var a,b,c,d=1;return"function"==typeof document.body.getBoundingClientRect&&(a=document.body.getBoundingClientRect(),b=a.right-a.left,c=document.body.offsetWidth,d=Math.round(b/c*100)/100),d},v=function(b,c){var d={left:0,top:0,width:0,height:0,zIndex:B(c)-1};if(b.getBoundingClientRect){var e,f,g,h=b.getBoundingClientRect();"pageXOffset"in a&&"pageYOffset"in a?(e=a.pageXOffset,f=a.pageYOffset):(g=u(),e=Math.round(document.documentElement.scrollLeft/g),f=Math.round(document.documentElement.scrollTop/g));var i=document.documentElement.clientLeft||0,j=document.documentElement.clientTop||0;d.left=h.left+e-i,d.top=h.top+f-j,d.width="width"in h?h.width:h.right-h.left,d.height="height"in h?h.height:h.bottom-h.top}return d},w=function(a,b){var c=null==b||b&&b.cacheBust===!0&&b.useNoCache===!0;return c?(-1===a.indexOf("?")?"?":"&")+"noCache="+(new Date).getTime():""},x=function(b){var c,d,e,f=[],g=[],h=[];if(b.trustedOrigins&&("string"==typeof b.trustedOrigins?g.push(b.trustedOrigins):"object"==typeof b.trustedOrigins&&"length"in b.trustedOrigins&&(g=g.concat(b.trustedOrigins))),b.trustedDomains&&("string"==typeof b.trustedDomains?g.push(b.trustedDomains):"object"==typeof b.trustedDomains&&"length"in b.trustedDomains&&(g=g.concat(b.trustedDomains))),g.length)for(c=0,d=g.length;d>c;c++)if(g.hasOwnProperty(c)&&g[c]&&"string"==typeof g[c]){if(e=E(g[c]),!e)continue;if("*"===e){h=[e];break}h.push.apply(h,[e,"//"+e,a.location.protocol+"//"+e])}return h.length&&f.push("trustedOrigins="+encodeURIComponent(h.join(","))),"string"==typeof b.jsModuleId&&b.jsModuleId&&f.push("jsModuleId="+encodeURIComponent(b.jsModuleId)),f.join("&")},y=function(a,b,c){if("function"==typeof b.indexOf)return b.indexOf(a,c);var d,e=b.length;for("undefined"==typeof c?c=0:0>c&&(c=e+c),d=c;e>d;d++)if(b.hasOwnProperty(d)&&b[d]===a)return d;return-1},z=function(a){if("string"==typeof a)throw new TypeError("ZeroClipboard doesn't accept query strings.");return a.length?a:[a]},A=function(b,c,d,e){e?a.setTimeout(function(){b.apply(c,d)},0):b.apply(c,d)},B=function(a){var b,c;return a&&("number"==typeof a&&a>0?b=a:"string"==typeof a&&(c=parseInt(a,10))&&!isNaN(c)&&c>0&&(b=c)),b||("number"==typeof N.zIndex&&N.zIndex>0?b=N.zIndex:"string"==typeof N.zIndex&&(c=parseInt(N.zIndex,10))&&!isNaN(c)&&c>0&&(b=c)),b||0},C=function(a,b){if(a&&b!==!1&&"undefined"!=typeof console&&console&&(console.warn||console.log)){var c="`"+a+"` is deprecated. See docs for more info:\n path_to_url#deprecations";console.warn?console.warn(c):console.log(c)}},D=function(){var a,b,c,d,e,f,g=arguments[0]||{};for(a=1,b=arguments.length;b>a;a++)if(null!=(c=arguments[a]))for(d in c)if(c.hasOwnProperty(d)){if(e=g[d],f=c[d],g===f)continue;void 0!==f&&(g[d]=f)}return g},E=function(a){if(null==a||""===a)return null;if(a=a.replace(/^\s+|\s+$/g,""),""===a)return null;var b=a.indexOf("//");a=-1===b?a:a.slice(b+2);var c=a.indexOf("/");return a=-1===c?a:-1===b||0===c?null:a.slice(0,c),a&&".swf"===a.slice(-4).toLowerCase()?null:a||null},F=function(){var a=function(a,b){var c,d,e;if(null!=a&&"*"!==b[0]&&("string"==typeof a&&(a=[a]),"object"==typeof a&&"length"in a))for(c=0,d=a.length;d>c;c++)if(a.hasOwnProperty(c)&&(e=E(a[c]))){if("*"===e){b.length=0,b.push("*");break}-1===y(e,b)&&b.push(e)}},b={always:"always",samedomain:"sameDomain",never:"never"};return function(c,d){var e,f=d.allowScriptAccess;if("string"==typeof f&&(e=f.toLowerCase())&&/^always|samedomain|never$/.test(e))return b[e];var g=E(d.moviePath);null===g&&(g=c);var h=[];a(d.trustedOrigins,h),a(d.trustedDomains,h);var i=h.length;if(i>0){if(1===i&&"*"===h[0])return"always";if(-1!==y(c,h))return 1===i&&c===g?"sameDomain":"always"}return"never"}}(),G=function(a){if(null==a)return[];if(Object.keys)return Object.keys(a);var b=[];for(var c in a)a.hasOwnProperty(c)&&b.push(c);return b},H=function(a){if(a)for(var b in a)a.hasOwnProperty(b)&&delete a[b];return a},I=function(){try{return document.activeElement}catch(a){}return null},J=function(){var a=!1;if("boolean"==typeof e.disabled)a=e.disabled===!1;else{if("function"==typeof ActiveXObject)try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash")&&(a=!0)}catch(b){}!a&&navigator.mimeTypes["application/x-shockwave-flash"]&&(a=!0)}return a},K=function(a,b){return this instanceof K?(this.id=""+g++,h[this.id]={instance:this,elements:[],handlers:{}},a&&this.clip(a),"undefined"!=typeof b&&(C("new ZeroClipboard(elements, options)",N.debug),K.config(b)),this.options=K.config(),"boolean"!=typeof e.disabled&&(e.disabled=!J()),void(e.disabled===!1&&e.outdated!==!0&&null===e.bridge&&(e.outdated=!1,e.ready=!1,O()))):new K(a,b)};K.prototype.setText=function(a){return a&&""!==a&&(f["text/plain"]=a,e.ready===!0&&e.bridge&&"function"==typeof e.bridge.setText?e.bridge.setText(a):e.ready=!1),this},K.prototype.setSize=function(a,b){return e.ready===!0&&e.bridge&&"function"==typeof e.bridge.setSize?e.bridge.setSize(a,b):e.ready=!1,this};var L=function(a){e.ready===!0&&e.bridge&&"function"==typeof e.bridge.setHandCursor?e.bridge.setHandCursor(a):e.ready=!1};K.prototype.destroy=function(){this.unclip(),this.off(),delete h[this.id]};var M=function(){var a,b,c,d=[],e=G(h);for(a=0,b=e.length;b>a;a++)c=h[e[a]].instance,c&&c instanceof K&&d.push(c);return d};K.version="1.3.5";var N={swfPath:m,trustedDomains:a.location.host?[a.location.host]:[],cacheBust:!0,forceHandCursor:!1,zIndex:999999999,debug:!0,title:null,autoActivate:!0};K.config=function(a){if("object"==typeof a&&null!==a&&D(N,a),"string"!=typeof a||!a){var b={};for(var c in N)N.hasOwnProperty(c)&&(b[c]="object"==typeof N[c]&&null!==N[c]?"length"in N[c]?N[c].slice(0):D({},N[c]):N[c]);return b}if(N.hasOwnProperty(a))return N[a]},K.destroy=function(){K.deactivate();for(var a in h)if(h.hasOwnProperty(a)&&h[a]){var b=h[a].instance;b&&"function"==typeof b.destroy&&b.destroy()}var c=P(e.bridge);c&&c.parentNode&&(c.parentNode.removeChild(c),e.ready=null,e.bridge=null)},K.activate=function(a){d&&(t(d,N.hoverClass),t(d,N.activeClass)),d=a,s(a,N.hoverClass),Q();var b=N.title||a.getAttribute("title");if(b){var c=P(e.bridge);c&&c.setAttribute("title",b)}var f=N.forceHandCursor===!0||"pointer"===o(a,"cursor");L(f)},K.deactivate=function(){var a=P(e.bridge);a&&(a.style.left="0px",a.style.top="-9999px",a.removeAttribute("title")),d&&(t(d,N.hoverClass),t(d,N.activeClass),d=null)};var O=function(){var b,c,d=document.getElementById("global-zeroclipboard-html-bridge");if(!d){var f=K.config();f.jsModuleId="string"==typeof k&&k||"string"==typeof l&&l||null;var g=F(a.location.host,N),h=x(f),i=N.moviePath+w(N.moviePath,N),j=' <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="global-zeroclipboard-flash-bridge" width="100%" height="100%"> <param name="movie" value="'+i+'"/> <param name="allowScriptAccess" value="'+g+'"/> <param name="scale" value="exactfit"/> <param name="loop" value="false"/> <param name="menu" value="false"/> <param name="quality" value="best" /> <param name="bgcolor" value="#ffffff"/> <param name="wmode" value="transparent"/> <param name="flashvars" value="'+h+'"/> <embed src="'+i+'" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="100%" height="100%" name="global-zeroclipboard-flash-bridge" allowScriptAccess="'+g+'" allowFullScreen="false" type="application/x-shockwave-flash" wmode="transparent" pluginspage="path_to_url" flashvars="'+h+'" scale="exactfit"> </embed> </object>';d=document.createElement("div"),d.id="global-zeroclipboard-html-bridge",d.setAttribute("class","global-zeroclipboard-container"),d.style.position="absolute",d.style.left="0px",d.style.top="-9999px",d.style.width="15px",d.style.height="15px",d.style.zIndex=""+B(N.zIndex),document.body.appendChild(d),d.innerHTML=j}b=document["global-zeroclipboard-flash-bridge"],b&&(c=b.length)&&(b=b[c-1]),e.bridge=b||d.children[0].lastElementChild},P=function(a){for(var b=/^OBJECT|EMBED$/,c=a&&a.parentNode;c&&b.test(c.nodeName)&&c.parentNode;)c=c.parentNode;return c||null},Q=function(){if(d){var a=v(d,N.zIndex),b=P(e.bridge);b&&(b.style.top=a.top+"px",b.style.left=a.left+"px",b.style.width=a.width+"px",b.style.height=a.height+"px",b.style.zIndex=a.zIndex+1),e.ready===!0&&e.bridge&&"function"==typeof e.bridge.setSize?e.bridge.setSize(a.width,a.height):e.ready=!1}return this};K.prototype.on=function(a,b){var c,d,f,g={},i=h[this.id]&&h[this.id].handlers;if("string"==typeof a&&a)f=a.toLowerCase().split(/\s+/);else if("object"==typeof a&&a&&"undefined"==typeof b)for(c in a)a.hasOwnProperty(c)&&"string"==typeof c&&c&&"function"==typeof a[c]&&this.on(c,a[c]);if(f&&f.length){for(c=0,d=f.length;d>c;c++)a=f[c].replace(/^on/,""),g[a]=!0,i[a]||(i[a]=[]),i[a].push(b);g.noflash&&e.disabled&&T.call(this,"noflash",{}),g.wrongflash&&e.outdated&&T.call(this,"wrongflash",{flashVersion:e.version}),g.load&&e.ready&&T.call(this,"load",{flashVersion:e.version})}return this},K.prototype.off=function(a,b){var c,d,e,f,g,i=h[this.id]&&h[this.id].handlers;if(0===arguments.length)f=G(i);else if("string"==typeof a&&a)f=a.split(/\s+/);else if("object"==typeof a&&a&&"undefined"==typeof b)for(c in a)a.hasOwnProperty(c)&&"string"==typeof c&&c&&"function"==typeof a[c]&&this.off(c,a[c]);if(f&&f.length)for(c=0,d=f.length;d>c;c++)if(a=f[c].toLowerCase().replace(/^on/,""),g=i[a],g&&g.length)if(b)for(e=y(b,g);-1!==e;)g.splice(e,1),e=y(b,g,e);else i[a].length=0;return this},K.prototype.handlers=function(a){var b,c=null,d=h[this.id]&&h[this.id].handlers;if(d){if("string"==typeof a&&a)return d[a]?d[a].slice(0):null;c={};for(b in d)d.hasOwnProperty(b)&&d[b]&&(c[b]=d[b].slice(0))}return c};var R=function(b,c,d,e){var f=h[this.id]&&h[this.id].handlers[b];if(f&&f.length){var g,i,j,k=c||this;for(g=0,i=f.length;i>g;g++)j=f[g],c=k,"string"==typeof j&&"function"==typeof a[j]&&(j=a[j]),"object"==typeof j&&j&&"function"==typeof j.handleEvent&&(c=j,j=j.handleEvent),"function"==typeof j&&A(j,c,d,e)}return this};K.prototype.clip=function(a){a=z(a);for(var b=0;b<a.length;b++)if(a.hasOwnProperty(b)&&a[b]&&1===a[b].nodeType){a[b].zcClippingId?-1===y(this.id,j[a[b].zcClippingId])&&j[a[b].zcClippingId].push(this.id):(a[b].zcClippingId="zcClippingId_"+i++,j[a[b].zcClippingId]=[this.id],N.autoActivate===!0&&q(a[b],"mouseover",p));var c=h[this.id].elements;-1===y(a[b],c)&&c.push(a[b])}return this},K.prototype.unclip=function(a){var b=h[this.id];if(b){var c,d=b.elements;a="undefined"==typeof a?d.slice(0):z(a);for(var e=a.length;e--;)if(a.hasOwnProperty(e)&&a[e]&&1===a[e].nodeType){for(c=0;-1!==(c=y(a[e],d,c));)d.splice(c,1);var f=j[a[e].zcClippingId];if(f){for(c=0;-1!==(c=y(this.id,f,c));)f.splice(c,1);0===f.length&&(N.autoActivate===!0&&r(a[e],"mouseover",p),delete a[e].zcClippingId)}}}return this},K.prototype.elements=function(){var a=h[this.id];return a&&a.elements?a.elements.slice(0):[]};var S=function(a){var b,c,d,e,f,g=[];if(a&&1===a.nodeType&&(b=a.zcClippingId)&&j.hasOwnProperty(b)&&(c=j[b],c&&c.length))for(d=0,e=c.length;e>d;d++)f=h[c[d]].instance,f&&f instanceof K&&g.push(f);return g};N.hoverClass="zeroclipboard-is-hover",N.activeClass="zeroclipboard-is-active",N.trustedOrigins=null,N.allowScriptAccess=null,N.useNoCache=!0,N.moviePath="ZeroClipboard.swf",K.detectFlashSupport=function(){return C("ZeroClipboard.detectFlashSupport",N.debug),J()},K.dispatch=function(a,b){if("string"==typeof a&&a){var c=a.toLowerCase().replace(/^on/,"");if(c)for(var e=d&&N.autoActivate===!0?S(d):M(),f=0,g=e.length;g>f;f++)T.call(e[f],c,b)}},K.prototype.setHandCursor=function(a){return C("ZeroClipboard.prototype.setHandCursor",N.debug),a="boolean"==typeof a?a:!!a,L(a),N.forceHandCursor=a,this},K.prototype.reposition=function(){return C("ZeroClipboard.prototype.reposition",N.debug),Q()},K.prototype.receiveEvent=function(a,b){if(C("ZeroClipboard.prototype.receiveEvent",N.debug),"string"==typeof a&&a){var c=a.toLowerCase().replace(/^on/,"");c&&T.call(this,c,b)}},K.prototype.setCurrent=function(a){return C("ZeroClipboard.prototype.setCurrent",N.debug),K.activate(a),this},K.prototype.resetBridge=function(){return C("ZeroClipboard.prototype.resetBridge",N.debug),K.deactivate(),this},K.prototype.setTitle=function(a){if(C("ZeroClipboard.prototype.setTitle",N.debug),a=a||N.title||d&&d.getAttribute("title")){var b=P(e.bridge);b&&b.setAttribute("title",a)}return this},K.setDefaults=function(a){C("ZeroClipboard.setDefaults",N.debug),K.config(a)},K.prototype.addEventListener=function(a,b){return C("ZeroClipboard.prototype.addEventListener",N.debug),this.on(a,b)},K.prototype.removeEventListener=function(a,b){return C("ZeroClipboard.prototype.removeEventListener",N.debug),this.off(a,b)},K.prototype.ready=function(){return C("ZeroClipboard.prototype.ready",N.debug),e.ready===!0};var T=function(a,g){a=a.toLowerCase().replace(/^on/,"");var h=g&&g.flashVersion&&b(g.flashVersion)||null,i=d,j=!0;switch(a){case"load":if(h){if(!c(h))return void T.call(this,"onWrongFlash",{flashVersion:h});e.outdated=!1,e.ready=!0,e.version=h}break;case"wrongflash":h&&!c(h)&&(e.outdated=!0,e.ready=!1,e.version=h);break;case"mouseover":s(i,N.hoverClass);break;case"mouseout":N.autoActivate===!0&&K.deactivate();break;case"mousedown":s(i,N.activeClass);break;case"mouseup":t(i,N.activeClass);break;case"datarequested":if(i){var k=i.getAttribute("data-clipboard-target"),l=k?document.getElementById(k):null;if(l){var m=l.value||l.textContent||l.innerText;m&&this.setText(m)}else{var n=i.getAttribute("data-clipboard-text");n&&this.setText(n)}}j=!1;break;case"complete":H(f),i&&i!==I()&&i.focus&&i.focus()}var o=i,p=[this,g];return R.call(this,a,o,p,j)};"function"==typeof define&&define.amd?define(["require","exports","module"],function(a,b,c){return k=c&&c.id||null,K}):"object"==typeof module&&module&&"object"==typeof module.exports&&module.exports&&"function"==typeof a.require?(l=module.id||null,module.exports=K):a.ZeroClipboard=K}(function(){return this}());var anchors=new AnchorJS;/*! * JavaScript for Bootstrap's docs (path_to_url * details, see path_to_url */ !function(a){"use strict";a(function(){var b=a(window),c=a(document.body);c.scrollspy({target:".bs-docs-sidebar"}),b.on("load",function(){c.scrollspy("refresh")}),a('.bs-docs-container [href="#"]').click(function(a){a.preventDefault()}),setTimeout(function(){var b=a(".bs-docs-sidebar");b.affix({offset:{top:function(){var c=b.offset().top,d=parseInt(b.children(0).css("margin-top"),10),e=a(".bs-docs-nav").height();return this.top=c-e-d},bottom:function(){return this.bottom=a(".bs-docs-footer").outerHeight(!0)}}})},100),setTimeout(function(){a(".bs-top").affix()},100),function(){var b=a("#bs-theme-stylesheet"),c=a(".bs-docs-theme-toggle"),d=function(){b.attr("href",b.attr("data-href")),c.text("Disable theme preview"),localStorage.setItem("previewTheme",!0)};localStorage.getItem("previewTheme")&&d(),c.click(function(){var a=b.attr("href");a&&0!==a.indexOf("data")?(b.attr("href",""),c.text("Preview theme"),localStorage.removeItem("previewTheme")):d()})}(),a(".tooltip-demo").tooltip({selector:'[data-toggle="tooltip"]',container:"body"}),a(".popover-demo").popover({selector:'[data-toggle="popover"]',container:"body"}),a(".tooltip-test").tooltip(),a(".popover-test").popover(),a(".bs-docs-popover").popover(),a("#loading-example-btn").on("click",function(){var b=a(this);b.button("loading"),setTimeout(function(){b.button("reset")},3e3)}),a("#exampleModal").on("show.bs.modal",function(b){var c=a(b.relatedTarget),d=c.data("whatever"),e=a(this);e.find(".modal-title").text("New message to "+d),e.find(".modal-body input").val(d)}),a(".bs-docs-activate-animated-progressbar").on("click",function(){a(this).siblings(".progress").find(".progress-bar-striped").toggleClass("active")}),ZeroClipboard.config({moviePath:"/assets/flash/ZeroClipboard.swf",hoverClass:"btn-clipboard-hover"}),a(".highlight").each(function(){var b='<div class="zero-clipboard"><span class="btn-clipboard">Copy</span></div>';a(this).before(b)});var d=new ZeroClipboard(a(".btn-clipboard")),e=a("#global-zeroclipboard-html-bridge");d.on("load",function(){e.data("placement","top").attr("title","Copy to clipboard").tooltip(),d.on("dataRequested",function(b){var c=a(this).parent().nextAll(".highlight").first();b.setText(c.text())}),d.on("complete",function(){e.attr("title","Copied!").tooltip("fixTitle").tooltip("show").attr("title","Copy to clipboard").tooltip("fixTitle")})}),d.on("noflash wrongflash",function(){a(".zero-clipboard").remove(),ZeroClipboard.destroy()})})}(jQuery),function(){"use strict";anchors.options.placement="left",anchors.add(".bs-docs-section > h1, .bs-docs-section > h2, .bs-docs-section > h3, .bs-docs-section > h4, .bs-docs-section > h5")}(); ```
Lachrymatory or lacrymatory may refer to: Something that has the effect of lachrymation, causing the secretion of tears Tear gas, known formally as a lachrymatory agent or lachrymator A lacrymatory, a small vessel of terracotta or glass found in Roman and late Greek tombs, thought to have been used to collect the tears of mourners at funerals
```go package github import ( "context" "encoding/base64" "errors" "fmt" "hash/fnv" "log" "net/http" "os" "path/filepath" "strings" "sync" "github.com/google/go-github/v63/github" "google.golang.org/protobuf/proto" "github.com/reviewdog/reviewdog" "github.com/reviewdog/reviewdog/cienv" "github.com/reviewdog/reviewdog/pathutil" "github.com/reviewdog/reviewdog/proto/metacomment" "github.com/reviewdog/reviewdog/proto/rdf" "github.com/reviewdog/reviewdog/service/commentutil" "github.com/reviewdog/reviewdog/service/github/githubutils" "github.com/reviewdog/reviewdog/service/serviceutil" ) var _ reviewdog.CommentService = (*PullRequest)(nil) var _ reviewdog.DiffService = (*PullRequest)(nil) const maxCommentsPerRequest = 30 const maxFileComments = 10 const ( invalidSuggestionPre = "<details><summary>reviewdog suggestion error</summary>" invalidSuggestionPost = "</details>" ) func isPermissionError(err error) bool { var githubErr *github.ErrorResponse if !errors.As(err, &githubErr) { return false } status := githubErr.Response.StatusCode return status == http.StatusForbidden || status == http.StatusNotFound } // PullRequest is a comment and diff service for GitHub PullRequest. // // API: // // path_to_url#create-a-review-comment-for-a-pull-request // POST /repos/:owner/:repo/pulls/:number/comments type PullRequest struct { cli *github.Client owner string repo string pr int sha string toolName string muComments sync.Mutex postComments []*reviewdog.Comment logWriter *githubutils.GitHubActionLogWriter fallbackToLog bool postedcs commentutil.PostedComments outdatedComments map[string]*github.PullRequestComment // fingerprint -> comment prCommentWithReply map[int64]bool // review id -> bool // wd is working directory relative to root of repository. wd string } // NewGitHubPullRequest returns a new PullRequest service. // PullRequest service needs git command in $PATH. // // The GitHub Token generated by GitHub Actions may not have the necessary permissions. // For example, in the case of a PR from a forked repository, or when write permission is prohibited in the repository settings [1]. // // In such a case, the service will fallback to GitHub Actions workflow commands [2]. // // [1]: path_to_url#permissions-for-the-github_token // [2]: path_to_url func NewGitHubPullRequest(cli *github.Client, owner, repo string, pr int, sha, level, toolName string) (*PullRequest, error) { workDir, err := serviceutil.GitRelWorkdir() if err != nil { return nil, fmt.Errorf("PullRequest needs 'git' command: %w", err) } return &PullRequest{ cli: cli, owner: owner, repo: repo, pr: pr, sha: sha, toolName: toolName, logWriter: githubutils.NewGitHubActionLogWriter(level), wd: workDir, }, nil } // Post accepts a comment and holds it. Flush method actually posts comments to // GitHub in parallel. func (g *PullRequest) Post(_ context.Context, c *reviewdog.Comment) error { c.Result.Diagnostic.GetLocation().Path = filepath.ToSlash(filepath.Join(g.wd, c.Result.Diagnostic.GetLocation().GetPath())) g.muComments.Lock() defer g.muComments.Unlock() g.postComments = append(g.postComments, c) return nil } // Flush posts comments which has not been posted yet. func (g *PullRequest) Flush(ctx context.Context) error { g.muComments.Lock() defer g.muComments.Unlock() if err := g.setPostedComment(ctx); err != nil { return err } return g.postAsReviewComment(ctx) } func (g *PullRequest) postAsReviewComment(ctx context.Context) error { if g.fallbackToLog { // we don't have permission to post a review comment. // Fallback to GitHub Actions log as report. for _, c := range g.postComments { if err := g.logWriter.Post(ctx, c); err != nil { return err } } return g.logWriter.Flush(ctx) } postComments := g.postComments g.postComments = nil rawComments := make([]*reviewdog.Comment, 0, len(postComments)) reviewComments := make([]*github.DraftReviewComment, 0, len(postComments)) fileComments := make([]*github.PullRequestComment, 0) remaining := make([]*reviewdog.Comment, 0) rootPath, err := serviceutil.GetGitRoot() if err != nil { return err } repoBaseHTMLURL, err := g.repoBaseHTMLURL(ctx) if err != nil { return err } for _, c := range postComments { if !c.Result.InDiffFile { // GitHub Review API cannot report results outside diff file. If it's running // in GitHub Actions, fallback to GitHub Actions log as report. if cienv.IsInGitHubAction() { if err := g.logWriter.Post(ctx, c); err != nil { return err } } continue } fprint, err := fingerprint(c.Result.Diagnostic) if err != nil { return err } if g.postedcs.IsPosted(c, githubCommentLine(c), fprint) { // it's already posted. Mark the comment as non-outdated and skip it. delete(g.outdatedComments, fprint) continue } if c.Result.InDiffContext { // Only posts maxCommentsPerRequest comments per 1 request to avoid spammy // review comments. An example GitHub error if we don't limit the # of // review comments. // // > 403 You have triggered an abuse detection mechanism and have been // > temporarily blocked from content creation. Please retry your request // > again later. // path_to_url#rate-limiting if len(reviewComments) >= maxCommentsPerRequest { remaining = append(remaining, c) continue } comment := buildDraftReviewComment(c, buildBody(c, repoBaseHTMLURL, rootPath, fprint, g.toolName)) reviewComments = append(reviewComments, comment) } else { if len(fileComments) >= maxFileComments { remaining = append(remaining, c) continue } comment := buildPullRequestFileComment(c, buildBody(c, repoBaseHTMLURL, rootPath, fprint, g.toolName), g.sha) fileComments = append(fileComments, comment) } } if err := g.logWriter.Flush(ctx); err != nil { return err } if len(reviewComments) > 0 || len(remaining) > 0 { // send review comments to GitHub. review := &github.PullRequestReviewRequest{ CommitID: &g.sha, Event: github.String("COMMENT"), Comments: reviewComments, Body: github.String(g.remainingCommentsSummary(remaining, repoBaseHTMLURL, rootPath)), } _, _, err := g.cli.PullRequests.CreateReview(ctx, g.owner, g.repo, g.pr, review) if err != nil { log.Printf("reviewdog: failed to post a review comment: %v", err) // GitHub returns 403 or 404 if we don't have permission to post a review comment. // fallback to log message in this case. if isPermissionError(err) && cienv.IsInGitHubAction() { goto FALLBACK } return err } } for _, c := range fileComments { if _, _, err := g.cli.PullRequests.CreateComment(ctx, g.owner, g.repo, g.pr, c); err != nil { log.Printf("reviewdog: failed to post a pull request comment: %v", err) // GitHub returns 403 or 404 if we don't have permission to post a review comment. // fallback to log message in this case. if isPermissionError(err) && cienv.IsInGitHubAction() { goto FALLBACK } return err } } for _, c := range g.outdatedComments { if ok := g.prCommentWithReply[c.GetID()]; ok { // Do not remove comment with replies. continue } if _, err := g.cli.PullRequests.DeleteComment(ctx, g.owner, g.repo, c.GetID()); err != nil { return fmt.Errorf("failed to delete comment (id=%d): %w", c.GetID(), err) } } return nil FALLBACK: // fallback to GitHub Actions log as report. fmt.Fprintln(os.Stderr, `reviewdog: This GitHub Token doesn't have write permission of Review API [1], so reviewdog will report results via logging command [2] and create annotations similar to github-pr-check reporter as a fallback. [1]: path_to_url#pull_request_target [2]: path_to_url`) g.fallbackToLog = true for _, c := range rawComments { if err := g.logWriter.Post(ctx, c); err != nil { return err } } return g.logWriter.Flush(ctx) } // Document: path_to_url#create-a-review-comment-for-a-pull-request func buildDraftReviewComment(c *reviewdog.Comment, body string) *github.DraftReviewComment { loc := c.Result.Diagnostic.GetLocation() startLine, endLine := githubCommentLineRange(c) r := &github.DraftReviewComment{ Path: github.String(loc.GetPath()), Side: github.String("RIGHT"), Body: github.String(body), Line: github.Int(endLine), } // GitHub API: Start line must precede the end line. if startLine < endLine { r.StartSide = github.String("RIGHT") r.StartLine = github.Int(startLine) } return r } func buildPullRequestFileComment(c *reviewdog.Comment, body string, sha string) *github.PullRequestComment { return &github.PullRequestComment{ Path: github.String(c.Result.Diagnostic.GetLocation().GetPath()), Side: github.String("RIGHT"), Body: github.String(body), CommitID: github.String(sha), SubjectType: github.String("file"), } } // line represents end line if it's a multiline comment in GitHub, otherwise // it's start line. // Document: path_to_url#create-a-review-comment-for-a-pull-request func githubCommentLine(c *reviewdog.Comment) int { if !c.Result.InDiffContext { return 1 // GitHub returns line==1 for FILE comment. } _, end := githubCommentLineRange(c) return end } func githubCommentLineRange(c *reviewdog.Comment) (start int, end int) { var rdfRange *rdf.Range // Prefer first suggestion line range to diagnostic location if available so // that reviewdog can post code suggestion as well when the line ranges are // different between the diagnostic location and its suggestion. if c.Result.FirstSuggestionInDiffContext && len(c.Result.Diagnostic.GetSuggestions()) > 0 { rdfRange = c.Result.Diagnostic.GetSuggestions()[0].GetRange() } else { rdfRange = c.Result.Diagnostic.GetLocation().GetRange() } startLine := rdfRange.GetStart().GetLine() endLine := rdfRange.GetEnd().GetLine() if endLine == 0 { endLine = startLine } return int(startLine), int(endLine) } func (g *PullRequest) remainingCommentsSummary(remaining []*reviewdog.Comment, baseURL string, gitRootPath string) string { if len(remaining) == 0 { return "" } perTool := make(map[string][]*reviewdog.Comment) for _, c := range remaining { perTool[c.ToolName] = append(perTool[c.ToolName], c) } var sb strings.Builder sb.WriteString("Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit\n") sb.WriteString("\n") for tool, comments := range perTool { sb.WriteString("<details>\n") sb.WriteString(fmt.Sprintf("<summary>%s</summary>\n", tool)) sb.WriteString("\n") for _, c := range comments { sb.WriteString("<hr>") sb.WriteString("\n") sb.WriteString("\n") sb.WriteString(commentutil.MarkdownComment(c)) sb.WriteString("\n") sb.WriteString("\n") sb.WriteString(githubCodeSnippetURL(baseURL, gitRootPath, c.Result.Diagnostic.GetLocation())) sb.WriteString("\n") sb.WriteString("\n") } sb.WriteString("</details>\n") } return sb.String() } // setPostedComment get posted comments from GitHub. func (g *PullRequest) setPostedComment(ctx context.Context) error { g.postedcs = make(commentutil.PostedComments) g.outdatedComments = make(map[string]*github.PullRequestComment) g.prCommentWithReply = make(map[int64]bool) cs, err := g.comment(ctx) if err != nil { return err } for _, c := range cs { if id := c.GetInReplyTo(); id != 0 { g.prCommentWithReply[id] = true } if meta := extractMetaComment(c.GetBody()); meta != nil { g.postedcs.AddPostedComment(c.GetPath(), c.GetLine(), meta.GetFingerprint()) if meta.SourceName == g.toolName { g.outdatedComments[meta.GetFingerprint()] = c // Remove non-outdated comment later. } } } return nil } func extractMetaComment(body string) *metacomment.MetaComment { prefix := "<!-- __reviewdog__:" for _, line := range strings.Split(body, "\n") { if after, found := strings.CutPrefix(line, prefix); found { if metastring, foundSuffix := strings.CutSuffix(after, " -->"); foundSuffix { meta, err := DecodeMetaComment(metastring) if err != nil { log.Printf("failed to decode MetaComment: %v", err) continue } return meta } } } return nil } func DecodeMetaComment(metaBase64 string) (*metacomment.MetaComment, error) { b, err := base64.StdEncoding.DecodeString(metaBase64) if err != nil { return nil, err } meta := &metacomment.MetaComment{} if err := proto.Unmarshal(b, meta); err != nil { return nil, err } return meta, nil } // Diff returns a diff of PullRequest. func (g *PullRequest) Diff(ctx context.Context) ([]byte, error) { return (&PullRequestDiffService{ Cli: g.cli, Owner: g.owner, Repo: g.repo, PR: g.pr, SHA: g.sha, FallBackToGitCLI: true, }).Diff(ctx) } // Strip returns 1 as a strip of git diff. func (g *PullRequest) Strip() int { return 1 } func (g *PullRequest) repoBaseHTMLURL(ctx context.Context) (string, error) { repo, _, err := g.cli.Repositories.Get(ctx, g.owner, g.repo) if err != nil { return "", fmt.Errorf("failed to build repo base HTML URL: %w", err) } return repo.GetHTMLURL() + "/blob/" + g.sha, nil } func (g *PullRequest) comment(ctx context.Context) ([]*github.PullRequestComment, error) { // path_to_url opts := &github.PullRequestListCommentsOptions{ ListOptions: github.ListOptions{ PerPage: 100, }, } comments, err := listAllPullRequestsComments(ctx, g.cli, g.owner, g.repo, g.pr, opts) if err != nil { return nil, err } return comments, nil } func listAllPullRequestsComments(ctx context.Context, cli *github.Client, owner, repo string, pr int, opts *github.PullRequestListCommentsOptions) ([]*github.PullRequestComment, error) { comments, resp, err := cli.PullRequests.ListComments(ctx, owner, repo, pr, opts) if err != nil { return nil, err } if resp.NextPage == 0 { return comments, nil } newOpts := &github.PullRequestListCommentsOptions{ ListOptions: github.ListOptions{ Page: resp.NextPage, PerPage: opts.PerPage, }, } restComments, err := listAllPullRequestsComments(ctx, cli, owner, repo, pr, newOpts) if err != nil { return nil, err } return append(comments, restComments...), nil } func buildBody(c *reviewdog.Comment, baseURL string, gitRootPath string, fprint string, toolName string) string { cbody := commentutil.MarkdownComment(c) if c.Result.InDiffContext { if suggestion := buildSuggestions(c); suggestion != "" { cbody += "\n" + suggestion } } else { if c.Result.Diagnostic.GetLocation().GetRange().GetStart().GetLine() > 0 { snippetURL := githubCodeSnippetURL(baseURL, gitRootPath, c.Result.Diagnostic.GetLocation()) cbody += "\n\n" + snippetURL } } for _, relatedLoc := range c.Result.Diagnostic.GetRelatedLocations() { loc := relatedLoc.GetLocation() if loc.GetPath() == "" || loc.GetRange().GetStart().GetLine() == 0 { continue } snippetURL := githubCodeSnippetURL(baseURL, gitRootPath, loc) cbody += "\n<hr>\n\n" + relatedLoc.GetMessage() + "\n" + snippetURL } cbody += fmt.Sprintf("\n<!-- __reviewdog__:%s -->\n", BuildMetaComment(fprint, toolName)) return cbody } func githubCodeSnippetURL(baseURL, gitRootPath string, loc *rdf.Location) string { relPath := pathutil.NormalizePath(loc.GetPath(), gitRootPath, "") relatedURL := fmt.Sprintf("%s/%s", baseURL, relPath) if startLine := loc.GetRange().GetStart().GetLine(); startLine > 0 { relatedURL += fmt.Sprintf("#L%d", startLine) } if endLine := loc.GetRange().GetEnd().GetLine(); endLine > 0 { relatedURL += fmt.Sprintf("-L%d", endLine) } return relatedURL } func BuildMetaComment(fprint string, toolName string) string { b, _ := proto.Marshal( &metacomment.MetaComment{ Fingerprint: fprint, SourceName: toolName, }, ) return base64.StdEncoding.EncodeToString(b) } func buildSuggestions(c *reviewdog.Comment) string { var sb strings.Builder for _, s := range c.Result.Diagnostic.GetSuggestions() { txt, err := buildSingleSuggestion(c, s) if err != nil { sb.WriteString(invalidSuggestionPre + err.Error() + invalidSuggestionPost + "\n") continue } sb.WriteString(txt) sb.WriteString("\n") } return sb.String() } func buildSingleSuggestion(c *reviewdog.Comment, s *rdf.Suggestion) (string, error) { start := s.GetRange().GetStart() startLine := int(start.GetLine()) end := s.GetRange().GetEnd() endLine := int(end.GetLine()) if endLine == 0 { endLine = startLine } gStart, gEnd := githubCommentLineRange(c) if startLine != gStart || endLine != gEnd { return "", fmt.Errorf("GitHub comment range and suggestion line range must be same. L%d-L%d v.s. L%d-L%d", gStart, gEnd, startLine, endLine) } if start.GetColumn() > 0 || end.GetColumn() > 0 { return buildNonLineBasedSuggestion(c, s) } txt := s.GetText() backticks := commentutil.GetCodeFenceLength(txt) var sb strings.Builder sb.Grow(backticks + len("suggestion\n") + len(txt) + len("\n") + backticks) commentutil.WriteCodeFence(&sb, backticks) sb.WriteString("suggestion\n") if txt != "" { sb.WriteString(txt) sb.WriteString("\n") } commentutil.WriteCodeFence(&sb, backticks) return sb.String(), nil } func buildNonLineBasedSuggestion(c *reviewdog.Comment, s *rdf.Suggestion) (string, error) { sourceLines := c.Result.SourceLines if len(sourceLines) == 0 { return "", errors.New("source lines are not available") } start := s.GetRange().GetStart() end := s.GetRange().GetEnd() startLineContent, err := getSourceLine(sourceLines, int(start.GetLine())) if err != nil { return "", err } endLineContent, err := getSourceLine(sourceLines, int(end.GetLine())) if err != nil { return "", err } txt := startLineContent[:max(start.GetColumn()-1, 0)] + s.GetText() + endLineContent[max(end.GetColumn()-1, 0):] backticks := commentutil.GetCodeFenceLength(txt) var sb strings.Builder sb.Grow(backticks + len("suggestion\n") + len(txt) + len("\n") + backticks) commentutil.WriteCodeFence(&sb, backticks) sb.WriteString("suggestion\n") sb.WriteString(txt) sb.WriteString("\n") commentutil.WriteCodeFence(&sb, backticks) return sb.String(), nil } func getSourceLine(sourceLines map[int]string, line int) (string, error) { lineContent, ok := sourceLines[line] if !ok { return "", fmt.Errorf("source line (L=%d) is not available for this suggestion", line) } return lineContent, nil } func fingerprint(d *rdf.Diagnostic) (string, error) { h := fnv.New64a() // Ideally, we should not use proto.Marshal since Proto Serialization Is Not // Canonical. // path_to_url // // However, I left it as-is for now considering the same reviewdog binary // should re-calculate and compare fingerprint for almost all cases. data, err := proto.Marshal(d) if err != nil { return "", err } if _, err := h.Write(data); err != nil { return "", err } return fmt.Sprintf("%x", h.Sum64()), nil } ```
```gdscript @tool extends EditorPlugin const MainPanel = preload("res://addons/main_screen/main_panel.tscn") var main_panel_instance: CenterContainer func _enter_tree() -> void: main_panel_instance = MainPanel.instantiate() # Add the main panel to the editor's main viewport. get_editor_interface().get_editor_main_screen().add_child(main_panel_instance) # Hide the main panel. Very much required. _make_visible(false) func _exit_tree() -> void: if main_panel_instance: main_panel_instance.queue_free() func _has_main_screen() -> bool: return true func _make_visible(visible: bool) -> void: if main_panel_instance: main_panel_instance.visible = visible # If your plugin doesn't handle any node types, you can remove this method. func _handles(object: Object) -> bool: return is_instance_of(object, preload("res://addons/main_screen/handled_by_main_screen.gd")) func _get_plugin_name() -> String: return "Main Screen Plugin" func _get_plugin_icon() -> Texture2D: return get_editor_interface().get_base_control().get_theme_icon("Node", "EditorIcons") ```
Claremont School, is a public separate middle/high school located in Orangeville, Baltimore, Maryland, United States. The school was founded in 1966 with the purpose of serving the needs of students with intellectual disabilities. The school continues to serve students with disabilities, grades 6-12, offering career & technical training in areas such as food & beverage management. History Originally proposed as the Claremont Trainable School, the school was constructed in 1966 as purpose-built facility for training of students with intellectual disabilities, containing only small, special classrooms as well as home economics and industrial arts facilities, without a cafeteria, gymnasium or auditorium. Claremont's building was opposed by the Department of Education and Bureau of Building Construction, who objected to the high cost of the custom facility, 45% higher per square-foot than the bid for City Springs elementary earlier in the year. Nonetheless, the school's building was considered worth the cost by, with City Councilman John A. Pica stating "The need for this kind of facility in Baltimore city is too great to let it be delayed this way," and the Board of Estimates approved the project, which opened later in 1966. In 1969, Claremont was selected as the site of a project using federal funding to pilot a team teaching program to attempt on-the-job training of special education interns who did not have an education degree. The federal funding also permitted supplementary services for Claremont students including taxi and bus service and free lunches to be implemented. In 2001, as part of a city-wide reorganization plan, Claremont was recommended, along with three other special education centers, for closure by Baltimore City Schools, in a move "intended to maximize efficiency and improve the quality of education." However, due to heavy community opposition, the school board ultimately voted to keep the school open. In November 2014, as part of the 21st Century Schools project, Baltimore City Schools announced its intention to co-locate Claremont within the neighboring Patterson High School, once the latter's new facilities are built during the (projected) 2019 school year. Under the proposal, Claremont will retain a separate identity and facilities within the larger building with capacity for approximately 120 students. The school will relocate to the new Patterson/Claremont building during the 2022–2023 school year. Extracurriculars Claremont has hosted or participated in a number of programs outside of the school since its creation. Students from the school are able to participate in supervised summer jobs to gain experience, money and social connections, via a program funded through the school system. Starting in 1969, the city had hosted an annual Special Olympics (beginning one year after the original), and Claremont School students have been both participants and winners. By the 1980s, the school featured its own Girl Scout Troop, No. 888. Beginning in 1988, students from Claremont volunteered at the Memorial Stadium, handing out and collecting All-Star game ballots on the behalf of the Baltimore Orioles, in exchange for free trips to games there. The work also led to donations that funded programs at the school like assemblies and a school paper. When the Orioles made the transition to Camden Yards in 1992, they informed the Claremont students that they would not have them perform this task anymore. This led to letters of protest from the community, and the reversal of the change a month later. Johns Hopkins University hosts an organization, Best Buddies at JHU, which partners JHU students one-to-one with a student at both Claremont School and the related Baltimore Transition Connection to enjoy activities together including attending sports games, bowling, ice skating and meals. References External links Claremont School at Baltimore City Schools East Baltimore Public schools in Baltimore Public middle schools in Maryland Public high schools in Maryland Special schools in the United States Educational institutions established in 1966 Buildings and structures in Baltimore 1966 establishments in Maryland
Crambus psychellus is a moth in the family Crambidae. It was described by Peter Maassen in 1890. It is found in Ecuador. References Crambini Moths described in 1890 Moths of South America
```javascript // import async to make control flow simplier var async = require('async'); // import the rest of the normal stuff var mongoose = require('../../lib'); require('./geoJSONSchema.js')(); var Location = mongoose.model('Location'); // define some dummy data // note: the type can be Point, LineString, or Polygon var data = [ { loc: { type: 'Point', coordinates: [-20.0, 5.0] }}, { loc: { type: 'Point', coordinates: [6.0, 10.0] }}, { loc: { type: 'Point', coordinates: [34.0, -50.0] }}, { loc: { type: 'Point', coordinates: [-100.0, 70.0] }}, { loc: { type: 'Point', coordinates: [38.0, 38.0] }} ]; mongoose.connect('mongodb://localhost/locations', function(err) { if (err) throw err; Location.on('index', function(err) { if (err) throw err; // create all of the dummy locations async.each(data, function(item, cb) { Location.create(item, cb); }, function(err) { if (err) throw err; // create the location we want to search for var coords = { type : 'Point', coordinates : [-5, 5] }; // search for it Location.find({ loc : { $near : coords }}).limit(1).exec(function(err, res) { if (err) throw err; console.log("Closest to %s is %s", JSON.stringify(coords), res); cleanup(); }); }); }); }); function cleanup() { Location.remove(function() { mongoose.disconnect(); }); } ```
Travis VanderZanden (born 1979) is an American businessman and the founder and former CEO of Bird, a scooter sharing service. Before founding Bird, VanderZanden was Chief Operating Officer at Lyft, then VP of International Growth at Uber. Education VanderZanden graduated from Appleton North High School in 1997, he later attended University of Wisconsin–Eau Claire from 1997 to 2002, receiving a Bachelor of Business Administration. He earned a Master of Business Administration from the USC Marshall School of Business in 2007. Career Early career VanderZanden worked as a product manager at Qualcomm. After leaving Qualcomm, he was Chief Revenue Officer for Yammer from 2009 to 2011, then left to co-found Cherry, an on-demand car-wash service. He was CEO of Cherry until 2013, when the company was acquired by Lyft, and he was brought on as Chief Operating Officer. He left Lyft for Uber in October 2014. Lyft later sued him for allegedly breaking his confidentiality agreement, and the lawsuit was settled for undisclosed terms, with VanderZanden denying any wrongdoing. VanderZanden then left Uber in October 2016. Bird VanderZanden founded Bird in the summer of 2017. The company deployed its first scooters that September, before raising a $15 million Series A round of financing in February, 2018. In October of 2018, Bird released its latest edition of the scooter, Bird Zero, which was designed and built in partnership with Okai. As of 2019, the company is now in 120 cities across the globe. The company has taken in $415 million in funding. To date, Bird has provided more than 10 million rides. The company currently receives $1.27 on every Bird ride taken, which is inclusive of all costs. VanderZanden was a speaker at TechCrunch's Disrupt SF in October 2019. During the COVID-19 mass layoff of Bird employees, VanderZanden was criticized for not informing employees in person about their dismissal, rather, delegating the task to the company's Chief Communications Officer. Bird was also found to send a letter afterwards to all employees stating that they acknowledged to being warned about being laid off, or their shares will be kept from them if they choose to disagree. Personal life In 2020, VanderZanden purchased a home in Bel Air formerly owned by Trevor Noah. References External links Living people Marshall School of Business alumni University of Wisconsin–Eau Claire alumni 21st-century American businesspeople American technology chief executives American technology company founders American transportation businesspeople Businesspeople from the San Francisco Bay Area 1979 births People from Appleton, Wisconsin
```go // Code generated by protoc-gen-go. DO NOT EDIT. // source: io/prometheus/client/metrics.proto package io_prometheus_client import ( fmt "fmt" proto "github.com/golang/protobuf/proto" timestamp "github.com/golang/protobuf/ptypes/timestamp" math "math" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package type MetricType int32 const ( // COUNTER must use the Metric field "counter". MetricType_COUNTER MetricType = 0 // GAUGE must use the Metric field "gauge". MetricType_GAUGE MetricType = 1 // SUMMARY must use the Metric field "summary". MetricType_SUMMARY MetricType = 2 // UNTYPED must use the Metric field "untyped". MetricType_UNTYPED MetricType = 3 // HISTOGRAM must use the Metric field "histogram". MetricType_HISTOGRAM MetricType = 4 // GAUGE_HISTOGRAM must use the Metric field "histogram". MetricType_GAUGE_HISTOGRAM MetricType = 5 ) var MetricType_name = map[int32]string{ 0: "COUNTER", 1: "GAUGE", 2: "SUMMARY", 3: "UNTYPED", 4: "HISTOGRAM", 5: "GAUGE_HISTOGRAM", } var MetricType_value = map[string]int32{ "COUNTER": 0, "GAUGE": 1, "SUMMARY": 2, "UNTYPED": 3, "HISTOGRAM": 4, "GAUGE_HISTOGRAM": 5, } func (x MetricType) Enum() *MetricType { p := new(MetricType) *p = x return p } func (x MetricType) String() string { return proto.EnumName(MetricType_name, int32(x)) } func (x *MetricType) UnmarshalJSON(data []byte) error { value, err := proto.UnmarshalJSONEnum(MetricType_value, data, "MetricType") if err != nil { return err } *x = MetricType(value) return nil } func (MetricType) EnumDescriptor() ([]byte, []int) { return fileDescriptor_d1e5ddb18987a258, []int{0} } type LabelPair struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *LabelPair) Reset() { *m = LabelPair{} } func (m *LabelPair) String() string { return proto.CompactTextString(m) } func (*LabelPair) ProtoMessage() {} func (*LabelPair) Descriptor() ([]byte, []int) { return fileDescriptor_d1e5ddb18987a258, []int{0} } func (m *LabelPair) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_LabelPair.Unmarshal(m, b) } func (m *LabelPair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_LabelPair.Marshal(b, m, deterministic) } func (m *LabelPair) XXX_Merge(src proto.Message) { xxx_messageInfo_LabelPair.Merge(m, src) } func (m *LabelPair) XXX_Size() int { return xxx_messageInfo_LabelPair.Size(m) } func (m *LabelPair) XXX_DiscardUnknown() { xxx_messageInfo_LabelPair.DiscardUnknown(m) } var xxx_messageInfo_LabelPair proto.InternalMessageInfo func (m *LabelPair) GetName() string { if m != nil && m.Name != nil { return *m.Name } return "" } func (m *LabelPair) GetValue() string { if m != nil && m.Value != nil { return *m.Value } return "" } type Gauge struct { Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Gauge) Reset() { *m = Gauge{} } func (m *Gauge) String() string { return proto.CompactTextString(m) } func (*Gauge) ProtoMessage() {} func (*Gauge) Descriptor() ([]byte, []int) { return fileDescriptor_d1e5ddb18987a258, []int{1} } func (m *Gauge) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Gauge.Unmarshal(m, b) } func (m *Gauge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Gauge.Marshal(b, m, deterministic) } func (m *Gauge) XXX_Merge(src proto.Message) { xxx_messageInfo_Gauge.Merge(m, src) } func (m *Gauge) XXX_Size() int { return xxx_messageInfo_Gauge.Size(m) } func (m *Gauge) XXX_DiscardUnknown() { xxx_messageInfo_Gauge.DiscardUnknown(m) } var xxx_messageInfo_Gauge proto.InternalMessageInfo func (m *Gauge) GetValue() float64 { if m != nil && m.Value != nil { return *m.Value } return 0 } type Counter struct { Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"` Exemplar *Exemplar `protobuf:"bytes,2,opt,name=exemplar" json:"exemplar,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Counter) Reset() { *m = Counter{} } func (m *Counter) String() string { return proto.CompactTextString(m) } func (*Counter) ProtoMessage() {} func (*Counter) Descriptor() ([]byte, []int) { return fileDescriptor_d1e5ddb18987a258, []int{2} } func (m *Counter) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Counter.Unmarshal(m, b) } func (m *Counter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Counter.Marshal(b, m, deterministic) } func (m *Counter) XXX_Merge(src proto.Message) { xxx_messageInfo_Counter.Merge(m, src) } func (m *Counter) XXX_Size() int { return xxx_messageInfo_Counter.Size(m) } func (m *Counter) XXX_DiscardUnknown() { xxx_messageInfo_Counter.DiscardUnknown(m) } var xxx_messageInfo_Counter proto.InternalMessageInfo func (m *Counter) GetValue() float64 { if m != nil && m.Value != nil { return *m.Value } return 0 } func (m *Counter) GetExemplar() *Exemplar { if m != nil { return m.Exemplar } return nil } type Quantile struct { Quantile *float64 `protobuf:"fixed64,1,opt,name=quantile" json:"quantile,omitempty"` Value *float64 `protobuf:"fixed64,2,opt,name=value" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Quantile) Reset() { *m = Quantile{} } func (m *Quantile) String() string { return proto.CompactTextString(m) } func (*Quantile) ProtoMessage() {} func (*Quantile) Descriptor() ([]byte, []int) { return fileDescriptor_d1e5ddb18987a258, []int{3} } func (m *Quantile) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Quantile.Unmarshal(m, b) } func (m *Quantile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Quantile.Marshal(b, m, deterministic) } func (m *Quantile) XXX_Merge(src proto.Message) { xxx_messageInfo_Quantile.Merge(m, src) } func (m *Quantile) XXX_Size() int { return xxx_messageInfo_Quantile.Size(m) } func (m *Quantile) XXX_DiscardUnknown() { xxx_messageInfo_Quantile.DiscardUnknown(m) } var xxx_messageInfo_Quantile proto.InternalMessageInfo func (m *Quantile) GetQuantile() float64 { if m != nil && m.Quantile != nil { return *m.Quantile } return 0 } func (m *Quantile) GetValue() float64 { if m != nil && m.Value != nil { return *m.Value } return 0 } type Summary struct { SampleCount *uint64 `protobuf:"varint,1,opt,name=sample_count,json=sampleCount" json:"sample_count,omitempty"` SampleSum *float64 `protobuf:"fixed64,2,opt,name=sample_sum,json=sampleSum" json:"sample_sum,omitempty"` Quantile []*Quantile `protobuf:"bytes,3,rep,name=quantile" json:"quantile,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Summary) Reset() { *m = Summary{} } func (m *Summary) String() string { return proto.CompactTextString(m) } func (*Summary) ProtoMessage() {} func (*Summary) Descriptor() ([]byte, []int) { return fileDescriptor_d1e5ddb18987a258, []int{4} } func (m *Summary) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Summary.Unmarshal(m, b) } func (m *Summary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Summary.Marshal(b, m, deterministic) } func (m *Summary) XXX_Merge(src proto.Message) { xxx_messageInfo_Summary.Merge(m, src) } func (m *Summary) XXX_Size() int { return xxx_messageInfo_Summary.Size(m) } func (m *Summary) XXX_DiscardUnknown() { xxx_messageInfo_Summary.DiscardUnknown(m) } var xxx_messageInfo_Summary proto.InternalMessageInfo func (m *Summary) GetSampleCount() uint64 { if m != nil && m.SampleCount != nil { return *m.SampleCount } return 0 } func (m *Summary) GetSampleSum() float64 { if m != nil && m.SampleSum != nil { return *m.SampleSum } return 0 } func (m *Summary) GetQuantile() []*Quantile { if m != nil { return m.Quantile } return nil } type Untyped struct { Value *float64 `protobuf:"fixed64,1,opt,name=value" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Untyped) Reset() { *m = Untyped{} } func (m *Untyped) String() string { return proto.CompactTextString(m) } func (*Untyped) ProtoMessage() {} func (*Untyped) Descriptor() ([]byte, []int) { return fileDescriptor_d1e5ddb18987a258, []int{5} } func (m *Untyped) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Untyped.Unmarshal(m, b) } func (m *Untyped) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Untyped.Marshal(b, m, deterministic) } func (m *Untyped) XXX_Merge(src proto.Message) { xxx_messageInfo_Untyped.Merge(m, src) } func (m *Untyped) XXX_Size() int { return xxx_messageInfo_Untyped.Size(m) } func (m *Untyped) XXX_DiscardUnknown() { xxx_messageInfo_Untyped.DiscardUnknown(m) } var xxx_messageInfo_Untyped proto.InternalMessageInfo func (m *Untyped) GetValue() float64 { if m != nil && m.Value != nil { return *m.Value } return 0 } type Histogram struct { SampleCount *uint64 `protobuf:"varint,1,opt,name=sample_count,json=sampleCount" json:"sample_count,omitempty"` SampleCountFloat *float64 `protobuf:"fixed64,4,opt,name=sample_count_float,json=sampleCountFloat" json:"sample_count_float,omitempty"` SampleSum *float64 `protobuf:"fixed64,2,opt,name=sample_sum,json=sampleSum" json:"sample_sum,omitempty"` // Buckets for the conventional histogram. Bucket []*Bucket `protobuf:"bytes,3,rep,name=bucket" json:"bucket,omitempty"` // schema defines the bucket schema. Currently, valid numbers are -4 <= n <= 8. // They are all for base-2 bucket schemas, where 1 is a bucket boundary in each case, and // then each power of two is divided into 2^n logarithmic buckets. // Or in other words, each bucket boundary is the previous boundary times 2^(2^-n). // In the future, more bucket schemas may be added using numbers < -4 or > 8. Schema *int32 `protobuf:"zigzag32,5,opt,name=schema" json:"schema,omitempty"` ZeroThreshold *float64 `protobuf:"fixed64,6,opt,name=zero_threshold,json=zeroThreshold" json:"zero_threshold,omitempty"` ZeroCount *uint64 `protobuf:"varint,7,opt,name=zero_count,json=zeroCount" json:"zero_count,omitempty"` ZeroCountFloat *float64 `protobuf:"fixed64,8,opt,name=zero_count_float,json=zeroCountFloat" json:"zero_count_float,omitempty"` // Negative buckets for the native histogram. NegativeSpan []*BucketSpan `protobuf:"bytes,9,rep,name=negative_span,json=negativeSpan" json:"negative_span,omitempty"` // Use either "negative_delta" or "negative_count", the former for // regular histograms with integer counts, the latter for float // histograms. NegativeDelta []int64 `protobuf:"zigzag64,10,rep,name=negative_delta,json=negativeDelta" json:"negative_delta,omitempty"` NegativeCount []float64 `protobuf:"fixed64,11,rep,name=negative_count,json=negativeCount" json:"negative_count,omitempty"` // Positive buckets for the native histogram. PositiveSpan []*BucketSpan `protobuf:"bytes,12,rep,name=positive_span,json=positiveSpan" json:"positive_span,omitempty"` // Use either "positive_delta" or "positive_count", the former for // regular histograms with integer counts, the latter for float // histograms. PositiveDelta []int64 `protobuf:"zigzag64,13,rep,name=positive_delta,json=positiveDelta" json:"positive_delta,omitempty"` PositiveCount []float64 `protobuf:"fixed64,14,rep,name=positive_count,json=positiveCount" json:"positive_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Histogram) Reset() { *m = Histogram{} } func (m *Histogram) String() string { return proto.CompactTextString(m) } func (*Histogram) ProtoMessage() {} func (*Histogram) Descriptor() ([]byte, []int) { return fileDescriptor_d1e5ddb18987a258, []int{6} } func (m *Histogram) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Histogram.Unmarshal(m, b) } func (m *Histogram) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Histogram.Marshal(b, m, deterministic) } func (m *Histogram) XXX_Merge(src proto.Message) { xxx_messageInfo_Histogram.Merge(m, src) } func (m *Histogram) XXX_Size() int { return xxx_messageInfo_Histogram.Size(m) } func (m *Histogram) XXX_DiscardUnknown() { xxx_messageInfo_Histogram.DiscardUnknown(m) } var xxx_messageInfo_Histogram proto.InternalMessageInfo func (m *Histogram) GetSampleCount() uint64 { if m != nil && m.SampleCount != nil { return *m.SampleCount } return 0 } func (m *Histogram) GetSampleCountFloat() float64 { if m != nil && m.SampleCountFloat != nil { return *m.SampleCountFloat } return 0 } func (m *Histogram) GetSampleSum() float64 { if m != nil && m.SampleSum != nil { return *m.SampleSum } return 0 } func (m *Histogram) GetBucket() []*Bucket { if m != nil { return m.Bucket } return nil } func (m *Histogram) GetSchema() int32 { if m != nil && m.Schema != nil { return *m.Schema } return 0 } func (m *Histogram) GetZeroThreshold() float64 { if m != nil && m.ZeroThreshold != nil { return *m.ZeroThreshold } return 0 } func (m *Histogram) GetZeroCount() uint64 { if m != nil && m.ZeroCount != nil { return *m.ZeroCount } return 0 } func (m *Histogram) GetZeroCountFloat() float64 { if m != nil && m.ZeroCountFloat != nil { return *m.ZeroCountFloat } return 0 } func (m *Histogram) GetNegativeSpan() []*BucketSpan { if m != nil { return m.NegativeSpan } return nil } func (m *Histogram) GetNegativeDelta() []int64 { if m != nil { return m.NegativeDelta } return nil } func (m *Histogram) GetNegativeCount() []float64 { if m != nil { return m.NegativeCount } return nil } func (m *Histogram) GetPositiveSpan() []*BucketSpan { if m != nil { return m.PositiveSpan } return nil } func (m *Histogram) GetPositiveDelta() []int64 { if m != nil { return m.PositiveDelta } return nil } func (m *Histogram) GetPositiveCount() []float64 { if m != nil { return m.PositiveCount } return nil } // A Bucket of a conventional histogram, each of which is treated as // an individual counter-like time series by Prometheus. type Bucket struct { CumulativeCount *uint64 `protobuf:"varint,1,opt,name=cumulative_count,json=cumulativeCount" json:"cumulative_count,omitempty"` CumulativeCountFloat *float64 `protobuf:"fixed64,4,opt,name=cumulative_count_float,json=cumulativeCountFloat" json:"cumulative_count_float,omitempty"` UpperBound *float64 `protobuf:"fixed64,2,opt,name=upper_bound,json=upperBound" json:"upper_bound,omitempty"` Exemplar *Exemplar `protobuf:"bytes,3,opt,name=exemplar" json:"exemplar,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Bucket) Reset() { *m = Bucket{} } func (m *Bucket) String() string { return proto.CompactTextString(m) } func (*Bucket) ProtoMessage() {} func (*Bucket) Descriptor() ([]byte, []int) { return fileDescriptor_d1e5ddb18987a258, []int{7} } func (m *Bucket) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Bucket.Unmarshal(m, b) } func (m *Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Bucket.Marshal(b, m, deterministic) } func (m *Bucket) XXX_Merge(src proto.Message) { xxx_messageInfo_Bucket.Merge(m, src) } func (m *Bucket) XXX_Size() int { return xxx_messageInfo_Bucket.Size(m) } func (m *Bucket) XXX_DiscardUnknown() { xxx_messageInfo_Bucket.DiscardUnknown(m) } var xxx_messageInfo_Bucket proto.InternalMessageInfo func (m *Bucket) GetCumulativeCount() uint64 { if m != nil && m.CumulativeCount != nil { return *m.CumulativeCount } return 0 } func (m *Bucket) GetCumulativeCountFloat() float64 { if m != nil && m.CumulativeCountFloat != nil { return *m.CumulativeCountFloat } return 0 } func (m *Bucket) GetUpperBound() float64 { if m != nil && m.UpperBound != nil { return *m.UpperBound } return 0 } func (m *Bucket) GetExemplar() *Exemplar { if m != nil { return m.Exemplar } return nil } // A BucketSpan defines a number of consecutive buckets in a native // histogram with their offset. Logically, it would be more // straightforward to include the bucket counts in the Span. However, // the protobuf representation is more compact in the way the data is // structured here (with all the buckets in a single array separate // from the Spans). type BucketSpan struct { Offset *int32 `protobuf:"zigzag32,1,opt,name=offset" json:"offset,omitempty"` Length *uint32 `protobuf:"varint,2,opt,name=length" json:"length,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *BucketSpan) Reset() { *m = BucketSpan{} } func (m *BucketSpan) String() string { return proto.CompactTextString(m) } func (*BucketSpan) ProtoMessage() {} func (*BucketSpan) Descriptor() ([]byte, []int) { return fileDescriptor_d1e5ddb18987a258, []int{8} } func (m *BucketSpan) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_BucketSpan.Unmarshal(m, b) } func (m *BucketSpan) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_BucketSpan.Marshal(b, m, deterministic) } func (m *BucketSpan) XXX_Merge(src proto.Message) { xxx_messageInfo_BucketSpan.Merge(m, src) } func (m *BucketSpan) XXX_Size() int { return xxx_messageInfo_BucketSpan.Size(m) } func (m *BucketSpan) XXX_DiscardUnknown() { xxx_messageInfo_BucketSpan.DiscardUnknown(m) } var xxx_messageInfo_BucketSpan proto.InternalMessageInfo func (m *BucketSpan) GetOffset() int32 { if m != nil && m.Offset != nil { return *m.Offset } return 0 } func (m *BucketSpan) GetLength() uint32 { if m != nil && m.Length != nil { return *m.Length } return 0 } type Exemplar struct { Label []*LabelPair `protobuf:"bytes,1,rep,name=label" json:"label,omitempty"` Value *float64 `protobuf:"fixed64,2,opt,name=value" json:"value,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,3,opt,name=timestamp" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Exemplar) Reset() { *m = Exemplar{} } func (m *Exemplar) String() string { return proto.CompactTextString(m) } func (*Exemplar) ProtoMessage() {} func (*Exemplar) Descriptor() ([]byte, []int) { return fileDescriptor_d1e5ddb18987a258, []int{9} } func (m *Exemplar) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Exemplar.Unmarshal(m, b) } func (m *Exemplar) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Exemplar.Marshal(b, m, deterministic) } func (m *Exemplar) XXX_Merge(src proto.Message) { xxx_messageInfo_Exemplar.Merge(m, src) } func (m *Exemplar) XXX_Size() int { return xxx_messageInfo_Exemplar.Size(m) } func (m *Exemplar) XXX_DiscardUnknown() { xxx_messageInfo_Exemplar.DiscardUnknown(m) } var xxx_messageInfo_Exemplar proto.InternalMessageInfo func (m *Exemplar) GetLabel() []*LabelPair { if m != nil { return m.Label } return nil } func (m *Exemplar) GetValue() float64 { if m != nil && m.Value != nil { return *m.Value } return 0 } func (m *Exemplar) GetTimestamp() *timestamp.Timestamp { if m != nil { return m.Timestamp } return nil } type Metric struct { Label []*LabelPair `protobuf:"bytes,1,rep,name=label" json:"label,omitempty"` Gauge *Gauge `protobuf:"bytes,2,opt,name=gauge" json:"gauge,omitempty"` Counter *Counter `protobuf:"bytes,3,opt,name=counter" json:"counter,omitempty"` Summary *Summary `protobuf:"bytes,4,opt,name=summary" json:"summary,omitempty"` Untyped *Untyped `protobuf:"bytes,5,opt,name=untyped" json:"untyped,omitempty"` Histogram *Histogram `protobuf:"bytes,7,opt,name=histogram" json:"histogram,omitempty"` TimestampMs *int64 `protobuf:"varint,6,opt,name=timestamp_ms,json=timestampMs" json:"timestamp_ms,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *Metric) Reset() { *m = Metric{} } func (m *Metric) String() string { return proto.CompactTextString(m) } func (*Metric) ProtoMessage() {} func (*Metric) Descriptor() ([]byte, []int) { return fileDescriptor_d1e5ddb18987a258, []int{10} } func (m *Metric) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Metric.Unmarshal(m, b) } func (m *Metric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_Metric.Marshal(b, m, deterministic) } func (m *Metric) XXX_Merge(src proto.Message) { xxx_messageInfo_Metric.Merge(m, src) } func (m *Metric) XXX_Size() int { return xxx_messageInfo_Metric.Size(m) } func (m *Metric) XXX_DiscardUnknown() { xxx_messageInfo_Metric.DiscardUnknown(m) } var xxx_messageInfo_Metric proto.InternalMessageInfo func (m *Metric) GetLabel() []*LabelPair { if m != nil { return m.Label } return nil } func (m *Metric) GetGauge() *Gauge { if m != nil { return m.Gauge } return nil } func (m *Metric) GetCounter() *Counter { if m != nil { return m.Counter } return nil } func (m *Metric) GetSummary() *Summary { if m != nil { return m.Summary } return nil } func (m *Metric) GetUntyped() *Untyped { if m != nil { return m.Untyped } return nil } func (m *Metric) GetHistogram() *Histogram { if m != nil { return m.Histogram } return nil } func (m *Metric) GetTimestampMs() int64 { if m != nil && m.TimestampMs != nil { return *m.TimestampMs } return 0 } type MetricFamily struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Help *string `protobuf:"bytes,2,opt,name=help" json:"help,omitempty"` Type *MetricType `protobuf:"varint,3,opt,name=type,enum=io.prometheus.client.MetricType" json:"type,omitempty"` Metric []*Metric `protobuf:"bytes,4,rep,name=metric" json:"metric,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` } func (m *MetricFamily) Reset() { *m = MetricFamily{} } func (m *MetricFamily) String() string { return proto.CompactTextString(m) } func (*MetricFamily) ProtoMessage() {} func (*MetricFamily) Descriptor() ([]byte, []int) { return fileDescriptor_d1e5ddb18987a258, []int{11} } func (m *MetricFamily) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_MetricFamily.Unmarshal(m, b) } func (m *MetricFamily) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { return xxx_messageInfo_MetricFamily.Marshal(b, m, deterministic) } func (m *MetricFamily) XXX_Merge(src proto.Message) { xxx_messageInfo_MetricFamily.Merge(m, src) } func (m *MetricFamily) XXX_Size() int { return xxx_messageInfo_MetricFamily.Size(m) } func (m *MetricFamily) XXX_DiscardUnknown() { xxx_messageInfo_MetricFamily.DiscardUnknown(m) } var xxx_messageInfo_MetricFamily proto.InternalMessageInfo func (m *MetricFamily) GetName() string { if m != nil && m.Name != nil { return *m.Name } return "" } func (m *MetricFamily) GetHelp() string { if m != nil && m.Help != nil { return *m.Help } return "" } func (m *MetricFamily) GetType() MetricType { if m != nil && m.Type != nil { return *m.Type } return MetricType_COUNTER } func (m *MetricFamily) GetMetric() []*Metric { if m != nil { return m.Metric } return nil } func init() { proto.RegisterEnum("io.prometheus.client.MetricType", MetricType_name, MetricType_value) proto.RegisterType((*LabelPair)(nil), "io.prometheus.client.LabelPair") proto.RegisterType((*Gauge)(nil), "io.prometheus.client.Gauge") proto.RegisterType((*Counter)(nil), "io.prometheus.client.Counter") proto.RegisterType((*Quantile)(nil), "io.prometheus.client.Quantile") proto.RegisterType((*Summary)(nil), "io.prometheus.client.Summary") proto.RegisterType((*Untyped)(nil), "io.prometheus.client.Untyped") proto.RegisterType((*Histogram)(nil), "io.prometheus.client.Histogram") proto.RegisterType((*Bucket)(nil), "io.prometheus.client.Bucket") proto.RegisterType((*BucketSpan)(nil), "io.prometheus.client.BucketSpan") proto.RegisterType((*Exemplar)(nil), "io.prometheus.client.Exemplar") proto.RegisterType((*Metric)(nil), "io.prometheus.client.Metric") proto.RegisterType((*MetricFamily)(nil), "io.prometheus.client.MetricFamily") } func init() { proto.RegisterFile("io/prometheus/client/metrics.proto", fileDescriptor_d1e5ddb18987a258) } var fileDescriptor_d1e5ddb18987a258 = []byte{ // 896 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdd, 0x8e, 0xdb, 0x44, 0x18, 0xc5, 0x9b, 0x5f, 0x7f, 0xd9, 0x6c, 0xd3, 0x61, 0x55, 0x59, 0x0b, 0xcb, 0x06, 0x4b, 0x48, 0x0b, 0x42, 0x8e, 0x40, 0x5b, 0x81, 0x0a, 0x5c, 0xec, 0xb6, 0xe9, 0x16, 0x89, 0xb4, 0x65, 0x92, 0x5c, 0x14, 0x2e, 0xac, 0x49, 0x32, 0xeb, 0x58, 0x78, 0x3c, 0xc6, 0x1e, 0x57, 0x2c, 0x2f, 0xc0, 0x35, 0xaf, 0xc0, 0xc3, 0xf0, 0x22, 0x3c, 0x08, 0x68, 0xfe, 0xec, 0xdd, 0xe2, 0x94, 0xd2, 0x3b, 0x7f, 0x67, 0xce, 0xf7, 0xcd, 0x39, 0xe3, 0xc9, 0x71, 0xc0, 0x8f, 0xf9, 0x24, 0xcb, 0x39, 0xa3, 0x62, 0x4b, 0xcb, 0x62, 0xb2, 0x4e, 0x62, 0x9a, 0x8a, 0x09, 0xa3, 0x22, 0x8f, 0xd7, 0x45, 0x90, 0xe5, 0x5c, 0x70, 0x74, 0x18, 0xf3, 0xa0, 0xe6, 0x04, 0x9a, 0x73, 0x74, 0x12, 0x71, 0x1e, 0x25, 0x74, 0xa2, 0x38, 0xab, 0xf2, 0x6a, 0x22, 0x62, 0x46, 0x0b, 0x41, 0x58, 0xa6, 0xdb, 0xfc, 0xfb, 0xe0, 0x7e, 0x47, 0x56, 0x34, 0x79, 0x4e, 0xe2, 0x1c, 0x21, 0x68, 0xa7, 0x84, 0x51, 0xcf, 0x19, 0x3b, 0xa7, 0x2e, 0x56, 0xcf, 0xe8, 0x10, 0x3a, 0x2f, 0x49, 0x52, 0x52, 0x6f, 0x4f, 0x81, 0xba, 0xf0, 0x8f, 0xa1, 0x73, 0x49, 0xca, 0xe8, 0xc6, 0xb2, 0xec, 0x71, 0xec, 0xf2, 0x8f, 0xd0, 0x7b, 0xc8, 0xcb, 0x54, 0xd0, 0xbc, 0x99, 0x80, 0x1e, 0x40, 0x9f, 0xfe, 0x42, 0x59, 0x96, 0x90, 0x5c, 0x0d, 0x1e, 0x7c, 0xfe, 0x41, 0xd0, 0x64, 0x20, 0x98, 0x1a, 0x16, 0xae, 0xf8, 0xfe, 0xd7, 0xd0, 0xff, 0xbe, 0x24, 0xa9, 0x88, 0x13, 0x8a, 0x8e, 0xa0, 0xff, 0xb3, 0x79, 0x36, 0x1b, 0x54, 0xf5, 0x6d, 0xe5, 0x95, 0xb4, 0xdf, 0x1c, 0xe8, 0xcd, 0x4b, 0xc6, 0x48, 0x7e, 0x8d, 0x3e, 0x84, 0xfd, 0x82, 0xb0, 0x2c, 0xa1, 0xe1, 0x5a, 0xaa, 0x55, 0x13, 0xda, 0x78, 0xa0, 0x31, 0x65, 0x00, 0x1d, 0x03, 0x18, 0x4a, 0x51, 0x32, 0x33, 0xc9, 0xd5, 0xc8, 0xbc, 0x64, 0xd2, 0x47, 0xb5, 0x7f, 0x6b, 0xdc, 0xda, 0xed, 0xc3, 0x2a, 0xae, 0xf5, 0xf9, 0x27, 0xd0, 0x5b, 0xa6, 0xe2, 0x3a, 0xa3, 0x9b, 0x1d, 0xa7, 0xf8, 0x57, 0x1b, 0xdc, 0x27, 0x71, 0x21, 0x78, 0x94, 0x13, 0xf6, 0x26, 0x62, 0x3f, 0x05, 0x74, 0x93, 0x12, 0x5e, 0x25, 0x9c, 0x08, 0xaf, 0xad, 0x66, 0x8e, 0x6e, 0x10, 0x1f, 0x4b, 0xfc, 0xbf, 0xac, 0x9d, 0x41, 0x77, 0x55, 0xae, 0x7f, 0xa2, 0xc2, 0x18, 0x7b, 0xbf, 0xd9, 0xd8, 0x85, 0xe2, 0x60, 0xc3, 0x45, 0xf7, 0xa0, 0x5b, 0xac, 0xb7, 0x94, 0x11, 0xaf, 0x33, 0x76, 0x4e, 0xef, 0x62, 0x53, 0xa1, 0x8f, 0xe0, 0xe0, 0x57, 0x9a, 0xf3, 0x50, 0x6c, 0x73, 0x5a, 0x6c, 0x79, 0xb2, 0xf1, 0xba, 0x6a, 0xc3, 0xa1, 0x44, 0x17, 0x16, 0x94, 0x9a, 0x14, 0x4d, 0x5b, 0xec, 0x29, 0x8b, 0xae, 0x44, 0xb4, 0xc1, 0x53, 0x18, 0xd5, 0xcb, 0xc6, 0x5e, 0x5f, 0xcd, 0x39, 0xa8, 0x48, 0xda, 0xdc, 0x14, 0x86, 0x29, 0x8d, 0x88, 0x88, 0x5f, 0xd2, 0xb0, 0xc8, 0x48, 0xea, 0xb9, 0xca, 0xc4, 0xf8, 0x75, 0x26, 0xe6, 0x19, 0x49, 0xf1, 0xbe, 0x6d, 0x93, 0x95, 0x94, 0x5d, 0x8d, 0xd9, 0xd0, 0x44, 0x10, 0x0f, 0xc6, 0xad, 0x53, 0x84, 0xab, 0xe1, 0x8f, 0x24, 0x78, 0x8b, 0xa6, 0xa5, 0x0f, 0xc6, 0x2d, 0xe9, 0xce, 0xa2, 0x5a, 0xfe, 0x14, 0x86, 0x19, 0x2f, 0xe2, 0x5a, 0xd4, 0xfe, 0x9b, 0x8a, 0xb2, 0x6d, 0x56, 0x54, 0x35, 0x46, 0x8b, 0x1a, 0x6a, 0x51, 0x16, 0xad, 0x44, 0x55, 0x34, 0x2d, 0xea, 0x40, 0x8b, 0xb2, 0xa8, 0x12, 0xe5, 0xff, 0xe9, 0x40, 0x57, 0x6f, 0x85, 0x3e, 0x86, 0xd1, 0xba, 0x64, 0x65, 0x72, 0xd3, 0x88, 0xbe, 0x66, 0x77, 0x6a, 0x5c, 0x5b, 0x39, 0x83, 0x7b, 0xaf, 0x52, 0x6f, 0x5d, 0xb7, 0xc3, 0x57, 0x1a, 0xf4, 0x5b, 0x39, 0x81, 0x41, 0x99, 0x65, 0x34, 0x0f, 0x57, 0xbc, 0x4c, 0x37, 0xe6, 0xce, 0x81, 0x82, 0x2e, 0x24, 0x72, 0x2b, 0x17, 0x5a, 0xff, 0x3b, 0x17, 0xa0, 0x3e, 0x32, 0x79, 0x11, 0xf9, 0xd5, 0x55, 0x41, 0xb5, 0x83, 0xbb, 0xd8, 0x54, 0x12, 0x4f, 0x68, 0x1a, 0x89, 0xad, 0xda, 0x7d, 0x88, 0x4d, 0xe5, 0xff, 0xee, 0x40, 0xdf, 0x0e, 0x45, 0xf7, 0xa1, 0x93, 0xc8, 0x54, 0xf4, 0x1c, 0xf5, 0x82, 0x4e, 0x9a, 0x35, 0x54, 0xc1, 0x89, 0x35, 0xbb, 0x39, 0x71, 0xd0, 0x97, 0xe0, 0x56, 0xa9, 0x6b, 0x4c, 0x1d, 0x05, 0x3a, 0x97, 0x03, 0x9b, 0xcb, 0xc1, 0xc2, 0x32, 0x70, 0x4d, 0xf6, 0xff, 0xde, 0x83, 0xee, 0x4c, 0xa5, 0xfc, 0xdb, 0x2a, 0xfa, 0x0c, 0x3a, 0x91, 0xcc, 0x69, 0x13, 0xb2, 0xef, 0x35, 0xb7, 0xa9, 0x28, 0xc7, 0x9a, 0x89, 0xbe, 0x80, 0xde, 0x5a, 0x67, 0xb7, 0x11, 0x7b, 0xdc, 0xdc, 0x64, 0x02, 0x1e, 0x5b, 0xb6, 0x6c, 0x2c, 0x74, 0xb0, 0xaa, 0x3b, 0xb0, 0xb3, 0xd1, 0xa4, 0x2f, 0xb6, 0x6c, 0xd9, 0x58, 0xea, 0x20, 0x54, 0xa1, 0xb1, 0xb3, 0xd1, 0xa4, 0x25, 0xb6, 0x6c, 0xf4, 0x0d, 0xb8, 0x5b, 0x9b, 0x8f, 0x2a, 0x2c, 0x76, 0x1e, 0x4c, 0x15, 0xa3, 0xb8, 0xee, 0x90, 0x89, 0x5a, 0x9d, 0x75, 0xc8, 0x0a, 0x95, 0x48, 0x2d, 0x3c, 0xa8, 0xb0, 0x59, 0xe1, 0xff, 0xe1, 0xc0, 0xbe, 0x7e, 0x03, 0x8f, 0x09, 0x8b, 0x93, 0xeb, 0xc6, 0x4f, 0x24, 0x82, 0xf6, 0x96, 0x26, 0x99, 0xf9, 0x42, 0xaa, 0x67, 0x74, 0x06, 0x6d, 0xa9, 0x51, 0x1d, 0xe1, 0xc1, 0xae, 0x5f, 0xb8, 0x9e, 0xbc, 0xb8, 0xce, 0x28, 0x56, 0x6c, 0x99, 0xb9, 0xfa, 0xab, 0xee, 0xb5, 0x5f, 0x97, 0xb9, 0xba, 0x0f, 0x1b, 0xee, 0x27, 0x2b, 0x80, 0x7a, 0x12, 0x1a, 0x40, 0xef, 0xe1, 0xb3, 0xe5, 0xd3, 0xc5, 0x14, 0x8f, 0xde, 0x41, 0x2e, 0x74, 0x2e, 0xcf, 0x97, 0x97, 0xd3, 0x91, 0x23, 0xf1, 0xf9, 0x72, 0x36, 0x3b, 0xc7, 0x2f, 0x46, 0x7b, 0xb2, 0x58, 0x3e, 0x5d, 0xbc, 0x78, 0x3e, 0x7d, 0x34, 0x6a, 0xa1, 0x21, 0xb8, 0x4f, 0xbe, 0x9d, 0x2f, 0x9e, 0x5d, 0xe2, 0xf3, 0xd9, 0xa8, 0x8d, 0xde, 0x85, 0x3b, 0xaa, 0x27, 0xac, 0xc1, 0xce, 0x05, 0x86, 0xc6, 0x3f, 0x18, 0x3f, 0x3c, 0x88, 0x62, 0xb1, 0x2d, 0x57, 0xc1, 0x9a, 0xb3, 0x7f, 0xff, 0x45, 0x09, 0x19, 0xdf, 0xd0, 0x64, 0x12, 0xf1, 0xaf, 0x62, 0x1e, 0xd6, 0xab, 0xa1, 0x5e, 0xfd, 0x27, 0x00, 0x00, 0xff, 0xff, 0x16, 0x77, 0x81, 0x98, 0xd7, 0x08, 0x00, 0x00, } ```
Oleh Kovalenko (born 11 April 1988) is a Ukrainian former professional footballer. He plays the position of midfielder or striker. His former clubs include FC Helios Kharkiv, FC Dnister Ovidiopol and FC Pärnu Vaprus in Estonian Meistriliiga. He scored his first Meistriliiga goal on 30 August 2008, in the 22nd minute of a 1–2 loss against JK Maag Tammeka Tartu. References External links 1988 births Living people Pärnu JK Vaprus players FC Odesa players Expatriate men's footballers in Estonia Ukrainian men's footballers Men's association football midfielders Ukrainian expatriate men's footballers Ukrainian expatriate sportspeople in Estonia FC Helios Kharkiv players FC Kremin Kremenchuk players FC Yednist Plysky players FC Nyva Ternopil players FC Real Pharma Odesa players
Sir Charles Thomas Newton (16 September 1816 – 28 November 1894) was a British archaeologist. He was made KCB in 1887. Life He was born in 1816, the second son of Newton Dickinson Hand Newton, vicar of Clungunford, Shropshire, and afterwards of Bredwardine, Herefordshire. He was educated at Shrewsbury School (then under Samuel Butler), and at Christ Church, Oxford (matriculating 17 Oct. 1833), where he graduated B.A. in 1837 and M.A. in 1840. Already in his undergraduate days Newton (as his friend and contemporary, John Ruskin, tells in Præterita) was giving evidence of his natural bent; the scientific study of classical archaeology, which Winckelmann had set on foot in Germany, was in England to find its worthy apostle in Newton. In 1840, contrary to the wishes of his family, he entered the British Museum as an assistant in the department of antiquities. As a career the museum, as it then was, can have presented but few attractions to a young man; but the department, as yet undivided, probably offered to Newton a wider range of comparative study in his subject than he could otherwise have acquired. In 1852, he was named vice-consul at Mytilene, and from April 1853 to January 1854 he was consul at Rhodes, with the definite duty, among others, of watching over the interests of the British Museum in the Levant. In 1854 and 1855, with funds advanced by Lord Stratford de Redcliffe, he carried on excavations in Kalymnos, enriching the British Museum with an important series of inscriptions, and in the following year he was at length enabled to undertake his long-cherished scheme of identifying the site, and recovering for this country the chief remains, of the mausoleum at Halicarnassus. In 1856–1857, he achieved the great archaeological exploit of his life by the discovery of the remains of the mausoleum, one of the seven wonders of the ancient world. He was greatly assisted by Murdoch Smith, afterwards celebrated in connection with Persian telegraphs. The results were described by Newton in his History of Discoveries at Halicarnassus (1862–1863), written in conjunction with R. P. Pullan, and in his Travels and Discoveries in the Levant (1865). These works included particulars of other important discoveries, especially at Branchidae, where he disinterred the statues which had anciently lined the Sacred Way, and at Cnidos, where Pullan, acting under his direction, found the Lion of Knidos now in the British Museum. In 1860, he was named consul at Rome, but was the following year recalled to take up the newly created post of keeper of Greek and Roman antiquities at the British Museum. Newton's keepership at the museum was marked by an amassing wealth of important acquisitions, which were largely attributable to his personal influence or initiation. Thus in the ten years 1864-74 alone he was enabled to purchase no less than five important collections of classical antiquities: the Farnese, the two great series of Castellani, the Pourtales, and the Blacas collections, representing in special grants upwards of £100,000. Meanwhile, his work in the Levant, bringing to the museum the direct results of exploration and research, was being continued by his successors and friends: Biliotti in Rhodes, Smith and Porcher at Gyrene, Lang in Cyprus, Dennis in Sicily, in the Cyrenaica, and around Smyrna, Pullan at Priene, John Turtle Wood at Ephesus were all working more or less directly under Newton on behalf of the museum. Of his own work as a scholar in elucidating and editing the remains of antiquity, the list of his writings given below is only a slight indication; nor was this confined to writing alone. In 1855, he had been offered by Lord Palmerston (acting on Liddell's advice) the regius professorship of Greek at Oxford, rendered vacant by Dean Gaisford's death, with the definite object of creating a school of students in what was then a practically untried field of classical study at Oxford. The salary, however, was only nominal, and Newton was obliged to decline the post, which was then offered to and accepted by Benjamin Jowett. In 1880, however, the Yates chair of classical archaeology was created at University College, London, and by a special arrangement, Newton was enabled to hold it coincidentally with his museum appointment. As antiquary to the Royal Academy he lectured frequently. In the latter part of his career, he was closely associated with the work of three English societies, all of which owed to him more or less directly their inception and a large part of their success; the Society for the Promotion of Hellenic Studies, at the inaugural meeting of which he presided in June 1879; the British School at Athens, started in February 1885: and the Egypt Exploration Fund, which was founded in 1882. In 1889, he was presented by his friends and pupils, under the presidency of the Earl of Carnarvon, with a testimonial in the form of a marble portrait bust of himself by Boehm, now deposited in the Mausoleum Room at the British Museum; the balance of the fund was by his own wish devoted to founding a studentship in connection with the British School at Athens. In 1885, he resigned the museum and academy appointments, and in 1888 he was compelled by increasing infirmity to give up the Yates professorship. On 28 November 1894 he died at Margate, where he had moved from his residence, 2 Montague Place, Bedford Square. Awards In 1874 Newton was made honorary fellow of Worcester College, Oxford, and on 9 June 1875 D.C.L. of the same university ; LL.D. of Cambridge, and PhD of Strasburg in 1879 ; Companion of the Bath (C.B.) on 16 November 1875, and Knight Commander of the same order (K.C.B.) on 21 June 1887. He was correspondent of the Institute of France, honorary director of the Archaeological Institute of Berlin, and honorary member of the Accademia dei Lincei of Rome. Family On 27 April 1861, he married the distinguished painter, Ann Mary, daughter of Joseph Severn, himself a painter and the friend of John Keats, who had succeeded Newton in Rome; she died in 1866 at their residence, 74 Gower Street, Bloomsbury. Works He was editor of the Collection of Ancient Greek Inscriptions in the British Museum (1874 &c. fol.), and author of numerous other official publications of the British Museum ; also of a treatise on the Method of the Study of Ancient Art, 1850; a History of Discoveries at Halicarnassus, Cnidus, and Branchidse, 1862-3 ; Travels and Discoveries in the Levant, 1865 ; Essays on Art and Archæology, 1880 ; and of many papers in periodicals, among which may be specially noted a Memoir on the Mausoleum in the Classical Museum for 1847. References Attribution: Sources Charles T. Newton, History of Discoveries at Halicarnassus(1863) Vol. II Charles T. Newton, Travels & Discoveries in the Levant (1865) Vol. II (reissued by Cambridge University Press, 2010. ) Charles T Newton, Essays on Art and Archaeology (1886) Macmillan, London. (reissued by Cambridge University Press, 2010. ) External links 1816 births 1894 deaths 19th-century British archaeologists English archaeologists Employees of the British Museum Knights Commander of the Order of the Bath People educated at Shrewsbury School Recipients of the Royal Gold Medal People from Herefordshire Alumni of Christ Church, Oxford Burials at Kensal Green Cemetery Mausoleum at Halicarnassus
Doxy may refer to An archaic English term for prostitute Doxy (song), a jazz standard by Sonny Rollins Doxy, a magical creature in the fictional Harry Potter universe Doxycycline, an antibiotic drug Doxylamine, an antihistamine drug An abbreviation for Doxygen, a software package Doxy (vibrator), a British-made wand vibrator See also Doxey, a village and civil parish in Staffordshire, England
The Primetime Emmy Award for Picture Editing for a Nonfiction Program is awarded to one television documentary or nonfiction series each year. Prior to 2006, nonfiction and reality programs competed together until the Outstanding Picture Editing for Reality Programming category was created. In the following list, the first titles listed in gold are the winners; those not in gold are nominees, which are listed in alphabetical order. The years given are those in which the ceremonies took place. Winners and nominations 1970s 1980s 1990s 2000s 2010s 2020s Programs with multiple nominations 10 nominations American Masters 4 nominations Anthony Bourdain: Parts Unknown 2 nominations America Undercover Anthony Bourdain: No Reservations Planet Earth II Stanley Tucci: Searching for Italy This American Life Vice The War Notes References Picture Editing for a Nonfiction Program
```javascript export const steps = [ { id: 'create-pages', title: 'Create your first 3 pages', imagePath: 'path_to_url description: 'Jumpstart your creation with professional designs form the Template Library or start from scratch.', link: 'path_to_url CTA: 'Create a new page', isCompleted: true, }, { id: 'add-header', title: 'Create your first 3 pages', imagePath: 'path_to_url description: 'Jumpstart your creation with professional designs form the Template Library or start from scratch.', link: 'path_to_url CTA: 'Create a new page', isCompleted: false, }, { id: 'add-404', title: 'Create your first 3 pages', imagePath: 'path_to_url description: 'Jumpstart your creation with professional designs form the Template Library or start from scratch.', link: 'path_to_url CTA: 'Create a new page', isCompleted: false, }, ]; ```
```java /* * * * 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. */ package net.luckperms.api.event.group; import net.luckperms.api.event.LuckPermsEvent; import net.luckperms.api.event.cause.CreationCause; import net.luckperms.api.event.util.Param; import net.luckperms.api.model.group.Group; import org.checkerframework.checker.nullness.qual.NonNull; /** * Called when a group is created */ public interface GroupCreateEvent extends LuckPermsEvent { /** * Gets the new group * * @return the new group */ @Param(0) @NonNull Group getGroup(); /** * Gets the cause of the creation * * @return the cause of the creation */ @Param(1) @NonNull CreationCause getCause(); } ```
```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, * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * specific language governing permissions and limitations */ package org.apache.pulsar.broker.service; import static java.lang.Thread.sleep; import static org.apache.pulsar.broker.auth.MockedPulsarServiceBaseTest.retryStrategically; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertFalse; import static org.testng.Assert.assertNotNull; import static org.testng.Assert.assertNull; import static org.testng.Assert.assertTrue; import com.google.common.collect.Sets; import java.lang.reflect.Method; import java.net.URL; import java.util.List; import java.util.Optional; import java.util.concurrent.TimeUnit; import lombok.Cleanup; import org.apache.pulsar.broker.BrokerTestUtil; import org.apache.pulsar.broker.PulsarService; import org.apache.pulsar.broker.auth.MockedPulsarServiceBaseTest; import org.apache.pulsar.broker.loadbalance.extensions.ExtensibleLoadManagerImpl; import org.apache.pulsar.broker.loadbalance.impl.ModularLoadManagerImpl; import org.apache.pulsar.broker.service.persistent.PersistentTopic; import org.apache.pulsar.client.admin.PulsarAdmin; import org.apache.pulsar.client.api.Consumer; import org.apache.pulsar.client.api.Message; import org.apache.pulsar.client.api.MessageId; import org.apache.pulsar.client.api.MessageRoutingMode; import org.apache.pulsar.client.api.Producer; import org.apache.pulsar.client.api.PulsarClient; import org.apache.pulsar.client.api.SubscriptionType; import org.apache.pulsar.common.policies.data.ClusterData; import org.apache.pulsar.common.policies.data.ClusterPolicies.ClusterUrl; import org.apache.pulsar.common.policies.data.TenantInfoImpl; import org.apache.pulsar.common.util.collections.ConcurrentOpenHashMap; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; import org.testng.annotations.DataProvider; import org.testng.annotations.Factory; import org.testng.annotations.Test; @Test(groups = "cluster-migration") public class ClusterMigrationTest { private static final Logger log = LoggerFactory.getLogger(ClusterMigrationTest.class); protected String methodName; String namespace = "pulsar/migrationNs"; String namespaceNotToMigrate = "pulsar/notToMigrateNs"; TestBroker broker1, broker2, broker3, broker4; URL url1; URL urlTls1; PulsarService pulsar1; PulsarAdmin admin1; URL url2; URL urlTls2; PulsarService pulsar2; PulsarAdmin admin2; URL url3; URL urlTls3; PulsarService pulsar3; PulsarAdmin admin3; URL url4; URL urlTls4; PulsarService pulsar4; PulsarAdmin admin4; String loadManagerClassName; @DataProvider(name="NamespaceMigrationTopicSubscriptionTypes") public Object[][] namespaceMigrationSubscriptionTypes() { return new Object[][] { {SubscriptionType.Shared, true, false}, {SubscriptionType.Shared, false, true}, {SubscriptionType.Shared, true, true}, }; } @DataProvider(name = "loadManagerClassName") public static Object[][] loadManagerClassName() { return new Object[][]{ {ModularLoadManagerImpl.class.getName()}, {ExtensibleLoadManagerImpl.class.getName()} }; } @Factory(dataProvider = "loadManagerClassName") public ClusterMigrationTest(String loadManagerClassName) { this.loadManagerClassName = loadManagerClassName; } @BeforeMethod(alwaysRun = true, timeOut = 300000) public void setup() throws Exception { log.info("--- Starting ReplicatorTestBase::setup ---"); broker1 = new TestBroker("r1", loadManagerClassName); broker2 = new TestBroker("r2", loadManagerClassName); broker3 = new TestBroker("r3", loadManagerClassName); broker4 = new TestBroker("r4", loadManagerClassName); pulsar1 = broker1.getPulsarService(); url1 = new URL(pulsar1.getWebServiceAddress()); urlTls1 = new URL(pulsar1.getWebServiceAddressTls()); admin1 = PulsarAdmin.builder().serviceHttpUrl(url1.toString()).build(); pulsar2 = broker2.getPulsarService(); url2 = new URL(pulsar2.getWebServiceAddress()); urlTls2 = new URL(pulsar2.getWebServiceAddressTls()); admin2 = PulsarAdmin.builder().serviceHttpUrl(url2.toString()).build(); pulsar3 = broker3.getPulsarService(); url3 = new URL(pulsar3.getWebServiceAddress()); urlTls3 = new URL(pulsar3.getWebServiceAddressTls()); admin3 = PulsarAdmin.builder().serviceHttpUrl(url3.toString()).build(); pulsar4 = broker4.getPulsarService(); url4 = new URL(pulsar4.getWebServiceAddress()); urlTls4 = new URL(pulsar4.getWebServiceAddressTls()); admin4 = PulsarAdmin.builder().serviceHttpUrl(url4.toString()).build(); admin1.clusters().createCluster("r1", ClusterData.builder().serviceUrl(url1.toString()).serviceUrlTls(urlTls1.toString()) .brokerServiceUrl(pulsar1.getBrokerServiceUrl()) .brokerServiceUrlTls(pulsar1.getBrokerServiceUrlTls()).build()); admin3.clusters().createCluster("r1", ClusterData.builder().serviceUrl(url1.toString()).serviceUrlTls(urlTls1.toString()) .brokerServiceUrl(pulsar1.getBrokerServiceUrl()) .brokerServiceUrlTls(pulsar1.getBrokerServiceUrlTls()).build()); admin2.clusters().createCluster("r2", ClusterData.builder().serviceUrl(url2.toString()).serviceUrlTls(urlTls2.toString()) .brokerServiceUrl(pulsar2.getBrokerServiceUrl()) .brokerServiceUrlTls(pulsar2.getBrokerServiceUrlTls()).build()); admin4.clusters().createCluster("r2", ClusterData.builder().serviceUrl(url2.toString()).serviceUrlTls(urlTls2.toString()) .brokerServiceUrl(pulsar2.getBrokerServiceUrl()) .brokerServiceUrlTls(pulsar2.getBrokerServiceUrlTls()).build()); admin1.clusters().createCluster("r3", ClusterData.builder().serviceUrl(url3.toString()).serviceUrlTls(urlTls3.toString()) .brokerServiceUrl(pulsar3.getBrokerServiceUrl()) .brokerServiceUrlTls(pulsar3.getBrokerServiceUrlTls()).build()); admin3.clusters().createCluster("r3", ClusterData.builder().serviceUrl(url3.toString()).serviceUrlTls(urlTls3.toString()) .brokerServiceUrl(pulsar3.getBrokerServiceUrl()) .brokerServiceUrlTls(pulsar3.getBrokerServiceUrlTls()).build()); admin2.clusters().createCluster("r4", ClusterData.builder().serviceUrl(url4.toString()).serviceUrlTls(urlTls4.toString()) .brokerServiceUrl(pulsar4.getBrokerServiceUrl()) .brokerServiceUrlTls(pulsar4.getBrokerServiceUrlTls()).build()); admin4.clusters().createCluster("r4", ClusterData.builder().serviceUrl(url4.toString()).serviceUrlTls(urlTls4.toString()) .brokerServiceUrl(pulsar4.getBrokerServiceUrl()) .brokerServiceUrlTls(pulsar4.getBrokerServiceUrlTls()).build()); // Setting r3 as replication cluster for r1 updateTenantInfo(admin1, "pulsar", new TenantInfoImpl(Sets.newHashSet("appid1", "appid2", "appid3"), Sets.newHashSet("r1", "r3"))); updateTenantInfo(admin3, "pulsar", new TenantInfoImpl(Sets.newHashSet("appid1", "appid2", "appid3"), Sets.newHashSet("r1", "r3"))); admin1.namespaces().createNamespace(namespace, Sets.newHashSet("r1", "r3")); admin3.namespaces().createNamespace(namespace); admin1.namespaces().setNamespaceReplicationClusters(namespace, Sets.newHashSet("r1", "r3")); admin1.namespaces().createNamespace(namespaceNotToMigrate, Sets.newHashSet("r1", "r3")); admin3.namespaces().createNamespace(namespaceNotToMigrate); admin1.namespaces().setNamespaceReplicationClusters(namespaceNotToMigrate, Sets.newHashSet("r1", "r3")); // Setting r4 as replication cluster for r2 updateTenantInfo(admin2, "pulsar", new TenantInfoImpl(Sets.newHashSet("appid1", "appid2", "appid3"), Sets.newHashSet("r2", "r4"))); updateTenantInfo(admin4,"pulsar", new TenantInfoImpl(Sets.newHashSet("appid1", "appid2", "appid3"), Sets.newHashSet("r2", "r4"))); admin2.namespaces().createNamespace(namespace, Sets.newHashSet("r2", "r4")); admin4.namespaces().createNamespace(namespace); admin2.namespaces().setNamespaceReplicationClusters(namespace, Sets.newHashSet("r2", "r4")); admin2.namespaces().createNamespace(namespaceNotToMigrate, Sets.newHashSet("r2", "r4")); admin4.namespaces().createNamespace(namespaceNotToMigrate); admin2.namespaces().setNamespaceReplicationClusters(namespaceNotToMigrate, Sets.newHashSet("r2", "r4")); assertEquals(admin1.clusters().getCluster("r1").getServiceUrl(), url1.toString()); assertEquals(admin2.clusters().getCluster("r2").getServiceUrl(), url2.toString()); assertEquals(admin3.clusters().getCluster("r3").getServiceUrl(), url3.toString()); assertEquals(admin4.clusters().getCluster("r4").getServiceUrl(), url4.toString()); assertEquals(admin1.clusters().getCluster("r1").getBrokerServiceUrl(), pulsar1.getBrokerServiceUrl()); assertEquals(admin2.clusters().getCluster("r2").getBrokerServiceUrl(), pulsar2.getBrokerServiceUrl()); assertEquals(admin3.clusters().getCluster("r3").getBrokerServiceUrl(), pulsar3.getBrokerServiceUrl()); assertEquals(admin4.clusters().getCluster("r4").getBrokerServiceUrl(), pulsar4.getBrokerServiceUrl()); sleep(100); log.info("--- ReplicatorTestBase::setup completed ---"); } protected void updateTenantInfo(PulsarAdmin admin, String tenant, TenantInfoImpl tenantInfo) throws Exception { if (!admin.tenants().getTenants().contains(tenant)) { admin.tenants().createTenant(tenant, tenantInfo); } else { admin.tenants().updateTenant(tenant, tenantInfo); } } @AfterMethod(alwaysRun = true, timeOut = 300000) protected void cleanup() throws Exception { log.info("--- Shutting down ---"); admin1.close(); admin2.close(); admin3.close(); admin4.close(); broker1.cleanup(); broker2.cleanup(); broker3.cleanup(); broker4.cleanup(); } @BeforeMethod(alwaysRun = true) public void beforeMethod(Method m) throws Exception { methodName = m.getName(); } /** * Test producer/consumer migration: using persistent/non-persistent topic and all types of subscriptions * (1) Producer1 and consumer1 connect to cluster-1 * (2) Close consumer1 to build backlog and publish messages using producer1 * (3) Migrate topic to cluster-2 * (4) Validate producer-1 is connected to cluster-2 * (5) create consumer1, drain backlog and migrate and reconnect to cluster-2 * (6) Create new consumer2 with different subscription on cluster-1, * which immediately migrate and reconnect to cluster-2 * (7) Create producer-2 directly to cluster-2 * (8) Create producer-3 on cluster-1 which should be redirected to cluster-2 * (8) Publish messages using producer1, producer2, and producer3 * (9) Consume all messages by both consumer1 and consumer2 * (10) Create Producer/consumer on non-migrated cluster and verify their connection with cluster-1 * (11) Restart Broker-1 and connect producer/consumer on cluster-1 * @throws Exception */ @Test public void testClusterMigration() throws Exception { log.info("--- Starting ReplicatorTest::testClusterMigration ---"); final String topicName = BrokerTestUtil .newUniqueName("persistent://" + namespace + "/migrationTopic"); @Cleanup PulsarClient client1 = PulsarClient.builder().serviceUrl(url1.toString()).statsInterval(0, TimeUnit.SECONDS) .build(); // cluster-1 producer/consumer Producer<byte[]> producer1 = client1.newProducer().topic(topicName).enableBatching(false) .producerName("cluster1-1").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); Consumer<byte[]> consumer1 = client1.newConsumer().topic(topicName).subscriptionType(SubscriptionType.Shared) .subscriptionName("s1").subscribe(); AbstractTopic topic1 = (AbstractTopic) pulsar1.getBrokerService().getTopic(topicName, false).getNow(null).get(); retryStrategically((test) -> !topic1.getProducers().isEmpty(), 5, 500); retryStrategically((test) -> !topic1.getSubscriptions().isEmpty(), 5, 500); assertFalse(topic1.getProducers().isEmpty()); assertFalse(topic1.getSubscriptions().isEmpty()); // build backlog consumer1.close(); int n = 5; for (int i = 0; i < n; i++) { producer1.send("test1".getBytes()); } @Cleanup PulsarClient client2 = PulsarClient.builder().serviceUrl(url2.toString()).statsInterval(0, TimeUnit.SECONDS) .build(); // cluster-2 producer/consumer Producer<byte[]> producer2 = client2.newProducer().topic(topicName).enableBatching(false) .producerName("cluster2-1").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); AbstractTopic topic2 = (AbstractTopic) pulsar2.getBrokerService().getTopic(topicName, false).getNow(null).get(); assertFalse(topic2.getProducers().isEmpty()); ClusterUrl migratedUrl = new ClusterUrl(pulsar2.getWebServiceAddress(), pulsar2.getWebServiceAddressTls(), pulsar2.getBrokerServiceUrl(), pulsar2.getBrokerServiceUrlTls()); admin1.clusters().updateClusterMigration("r1", true, migratedUrl); assertEquals(admin1.clusters().getClusterMigration("r1").getMigratedClusterUrl(), migratedUrl); retryStrategically((test) -> { try { topic1.checkClusterMigration().get(); return true; } catch (Exception e) { // ok } return false; }, 10, 500); topic1.checkClusterMigration().get(); log.info("before sending message"); sleep(1000); producer1.sendAsync("test1".getBytes()); // producer is disconnected from cluster-1 retryStrategically((test) -> topic1.getProducers().isEmpty(), 10, 500); log.info("before asserting"); assertTrue(topic1.getProducers().isEmpty()); // create 3rd producer on cluster-1 which should be redirected to cluster-2 Producer<byte[]> producer3 = client1.newProducer().topic(topicName).enableBatching(false) .producerName("cluster1-2").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); // producer is connected with cluster-2 retryStrategically((test) -> topic2.getProducers().size() == 3, 10, 500); assertTrue(topic2.getProducers().size() == 3); // try to consume backlog messages from cluster-1 consumer1 = client1.newConsumer().topic(topicName).subscriptionName("s1").subscribe(); for (int i = 0; i < n; i++) { Message<byte[]> msg = consumer1.receive(); assertEquals(msg.getData(), "test1".getBytes()); consumer1.acknowledge(msg); } // after consuming all messages, consumer should have disconnected // from cluster-1 and reconnect with cluster-2 retryStrategically((test) -> !topic2.getSubscriptions().isEmpty(), 10, 500); assertFalse(topic2.getSubscriptions().isEmpty()); topic1.checkClusterMigration().get(); ConcurrentOpenHashMap<String, ? extends Replicator> replicators = topic1.getReplicators(); replicators.forEach((r, replicator) -> { assertFalse(replicator.isConnected()); }); assertTrue(topic1.getSubscriptions().isEmpty()); // not also create a new consumer which should also reconnect to cluster-2 Consumer<byte[]> consumer2 = client1.newConsumer().topic(topicName).subscriptionType(SubscriptionType.Shared) .subscriptionName("s2").subscribe(); retryStrategically((test) -> topic2.getSubscription("s2") != null, 10, 500); assertFalse(topic2.getSubscription("s2").getConsumers().isEmpty()); // new sub on migration topic must be redirected immediately Consumer<byte[]> consumerM = client1.newConsumer().topic(topicName).subscriptionType(SubscriptionType.Shared) .subscriptionName("sM").subscribe(); assertFalse(pulsar2.getBrokerService().getTopicReference(topicName).get().getSubscription("sM").getConsumers() .isEmpty()); consumerM.close(); // migrate topic after creating subscription String newTopicName = topicName + "-new"; consumerM = client1.newConsumer().topic(newTopicName).subscriptionType(SubscriptionType.Shared) .subscriptionName("sM").subscribe(); retryStrategically((t) -> pulsar2.getBrokerService().getTopicReference(newTopicName).isPresent(), 5, 100); pulsar2.getBrokerService().getTopicReference(newTopicName).get().checkClusterMigration().get(); retryStrategically((t) -> pulsar2.getBrokerService().getTopicReference(newTopicName).isPresent() && pulsar2.getBrokerService().getTopicReference(newTopicName).get().getSubscription("sM") .getConsumers().isEmpty(), 5, 100); assertFalse(pulsar2.getBrokerService().getTopicReference(newTopicName).get().getSubscription("sM").getConsumers() .isEmpty()); consumerM.close(); // publish messages to cluster-2 and consume them for (int i = 0; i < n; i++) { producer1.send("test2".getBytes()); producer2.send("test2".getBytes()); producer3.send("test2".getBytes()); } log.info("Successfully published messages by migrated producers"); for (int i = 0; i < n * 3; i++) { assertEquals(consumer1.receive(2, TimeUnit.SECONDS).getData(), "test2".getBytes()); assertEquals(consumer2.receive(2, TimeUnit.SECONDS).getData(), "test2".getBytes()); } // create non-migrated topic which should connect to cluster-1 String diffTopic = BrokerTestUtil .newUniqueName("persistent://" + namespace + "/migrationTopic"); Consumer<byte[]> consumerDiff = client1.newConsumer().topic(diffTopic).subscriptionType(SubscriptionType.Shared) .subscriptionName("s1-d").subscribe(); Producer<byte[]> producerDiff = client1.newProducer().topic(diffTopic).enableBatching(false) .producerName("cluster1-d").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); AbstractTopic topicDiff = (AbstractTopic) pulsar2.getBrokerService().getTopic(diffTopic, false).getNow(null).get(); assertNotNull(topicDiff); for (int i = 0; i < n; i++) { producerDiff.send("diff".getBytes()); assertEquals(consumerDiff.receive(2, TimeUnit.SECONDS).getData(), "diff".getBytes()); } // restart broker-1 broker1.restart(); Producer<byte[]> producer4 = client1.newProducer().topic(topicName).enableBatching(false) .producerName("cluster1-4").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); Consumer<byte[]> consumer3 = client1.newConsumer().topic(topicName).subscriptionType(SubscriptionType.Shared) .subscriptionName("s3").subscribe(); retryStrategically((test) -> topic2.getProducers().size() == 4, 10, 500); assertTrue(topic2.getProducers().size() == 4); retryStrategically((test) -> topic2.getSubscription("s3") != null, 10, 500); assertFalse(topic2.getSubscription("s3").getConsumers().isEmpty()); for (int i = 0; i < n; i++) { producer4.send("test3".getBytes()); assertEquals(consumer1.receive(2, TimeUnit.SECONDS).getData(), "test3".getBytes()); assertEquals(consumer2.receive(2, TimeUnit.SECONDS).getData(), "test3".getBytes()); assertEquals(consumer3.receive(2, TimeUnit.SECONDS).getData(), "test3".getBytes()); } client1.close(); client2.close(); log.info("Successfully consumed messages by migrated consumers"); } @Test public void testClusterMigrationWithReplicationBacklog() throws Exception { log.info("--- Starting ReplicatorTest::testClusterMigrationWithReplicationBacklog ---"); final String topicName = BrokerTestUtil .newUniqueName("persistent://" + namespace + "/migrationTopic"); @Cleanup PulsarClient client1 = PulsarClient.builder().serviceUrl(url1.toString()).statsInterval(0, TimeUnit.SECONDS) .build(); @Cleanup PulsarClient client3 = PulsarClient.builder().serviceUrl(url3.toString()).statsInterval(0, TimeUnit.SECONDS) .build(); // cluster-1 producer/consumer Producer<byte[]> producer1 = client1.newProducer().topic(topicName).enableBatching(false) .producerName("cluster1-1").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); Consumer<byte[]> consumer1 = client1.newConsumer().topic(topicName).subscriptionType(SubscriptionType.Shared) .subscriptionName("s1").subscribe(); // cluster-3 consumer Consumer<byte[]> consumer3 = client3.newConsumer().topic(topicName).subscriptionType(SubscriptionType.Shared) .subscriptionName("s1").subscribe(); AbstractTopic topic1 = (AbstractTopic) pulsar1.getBrokerService().getTopic(topicName, false).getNow(null).get(); retryStrategically((test) -> !topic1.getProducers().isEmpty(), 5, 500); retryStrategically((test) -> !topic1.getSubscriptions().isEmpty(), 5, 500); assertFalse(topic1.getProducers().isEmpty()); assertFalse(topic1.getSubscriptions().isEmpty()); // build backlog consumer1.close(); retryStrategically((test) -> topic1.getReplicators().size() == 1, 10, 3000); assertEquals(topic1.getReplicators().size(), 1); // stop service in the replication cluster to build replication backlog broker3.stop(); retryStrategically((test) -> broker3.getPulsarService() == null, 10, 1000); assertNull(pulsar3.getBrokerService()); //publish messages into topic in "r1" cluster int n = 5; for (int i = 0; i < n; i++) { producer1.send("test1".getBytes()); } retryStrategically((test) -> topic1.isReplicationBacklogExist(), 10, 1000); assertTrue(topic1.isReplicationBacklogExist()); @Cleanup PulsarClient client2 = PulsarClient.builder().serviceUrl(url2.toString()).statsInterval(0, TimeUnit.SECONDS) .build(); // cluster-2 producer/consumer Producer<byte[]> producer2 = client2.newProducer().topic(topicName).enableBatching(false) .producerName("cluster2-1").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); AbstractTopic topic2 = (AbstractTopic) pulsar2.getBrokerService().getTopic(topicName, false).getNow(null).get(); log.info("name of topic 2 - {}", topic2.getName()); assertFalse(topic2.getProducers().isEmpty()); retryStrategically((test) -> topic2.getReplicators().size() == 1, 10, 2000); log.info("replicators should be ready"); ClusterUrl migratedUrl = new ClusterUrl(pulsar2.getWebServiceAddress(), pulsar2.getWebServiceAddressTls(), pulsar2.getBrokerServiceUrl(), pulsar2.getBrokerServiceUrlTls()); admin1.clusters().updateClusterMigration("r1", true, migratedUrl); log.info("update cluster migration called"); retryStrategically((test) -> { try { topic1.checkClusterMigration().get(); return true; } catch (Exception e) { // ok } return false; }, 10, 500); topic1.checkClusterMigration().get(); producer1.sendAsync("test1".getBytes()); // producer is disconnected from cluster-1 retryStrategically((test) -> topic1.getProducers().isEmpty(), 10, 500); assertTrue(topic1.getProducers().isEmpty()); // verify that the disconnected producer is not redirected // to replication cluster since there is replication backlog. assertEquals(topic2.getProducers().size(), 1); // Restart the service in cluster "r3". broker3.restart(); retryStrategically((test) -> broker3.getPulsarService() != null, 10, 1000); assertNotNull(broker3.getPulsarService()); pulsar3 = broker3.getPulsarService(); // verify that the replication backlog drains once service in cluster "r3" is restarted. retryStrategically((test) -> !topic1.isReplicationBacklogExist(), 10, 1000); assertFalse(topic1.isReplicationBacklogExist()); // verify that the producer1 is now connected to migrated cluster "r2" since backlog is cleared. topic1.checkClusterMigration().get(); // verify that the producer1 is now is now connected to migrated cluster "r2" since backlog is cleared. retryStrategically((test) -> topic2.getProducers().size()==2, 10, 500); assertEquals(topic2.getProducers().size(), 2); client1.close(); client2.close(); client3.close(); } /** * This test validates that blue cluster first creates list of subscriptions into green cluster so, green cluster * will not lose the data if producer migrates. * * @throws Exception */ @Test public void testClusterMigrationWithResourceCreated() throws Exception { log.info("--- Starting testClusterMigrationWithResourceCreated ---"); String tenant = "pulsar2"; String namespace = tenant + "/migration"; String greenClusterName = pulsar2.getConfig().getClusterName(); String blueClusterName = pulsar1.getConfig().getClusterName(); admin1.clusters().createCluster(greenClusterName, ClusterData.builder().serviceUrl(url2.toString()).serviceUrlTls(urlTls2.toString()) .brokerServiceUrl(pulsar2.getBrokerServiceUrl()) .brokerServiceUrlTls(pulsar2.getBrokerServiceUrlTls()).build()); admin2.clusters().createCluster(blueClusterName, ClusterData.builder().serviceUrl(url1.toString()).serviceUrlTls(urlTls1.toString()) .brokerServiceUrl(pulsar1.getBrokerServiceUrl()) .brokerServiceUrlTls(pulsar1.getBrokerServiceUrlTls()).build()); admin1.tenants().createTenant(tenant, new TenantInfoImpl(Sets.newHashSet("appid1", "appid2", "appid3"), Sets.newHashSet("r1", greenClusterName))); // broker should handle already tenant creation admin2.tenants().createTenant(tenant, new TenantInfoImpl(Sets.newHashSet("appid1", "appid2", "appid3"), Sets.newHashSet("r1", greenClusterName))); admin1.namespaces().createNamespace(namespace, Sets.newHashSet("r1", greenClusterName)); final String topicName = BrokerTestUtil.newUniqueName("persistent://" + namespace + "/migrationTopic"); broker1.getPulsarService().getConfig().setClusterMigrationAutoResourceCreation(true); @Cleanup PulsarClient client1 = PulsarClient.builder().serviceUrl(url1.toString()).statsInterval(0, TimeUnit.SECONDS) .build(); // cluster-1 producer/consumer Producer<byte[]> producer1 = client1.newProducer().topic(topicName).enableBatching(false) .producerName("cluster1-1").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); // create subscriptions admin1.topics().createSubscription(topicName, "s1", MessageId.earliest); admin1.topics().createSubscription(topicName, "s2", MessageId.earliest); ClusterUrl migratedUrl = new ClusterUrl(pulsar2.getWebServiceAddress(), pulsar2.getWebServiceAddressTls(), pulsar2.getBrokerServiceUrl(), pulsar2.getBrokerServiceUrlTls()); admin1.clusters().updateClusterMigration("r1", true, migratedUrl); PersistentTopic topic1 = (PersistentTopic) pulsar1.getBrokerService().getTopic(topicName, false).getNow(null) .get(); retryStrategically((test) -> { try { topic1.checkClusterMigration().get(); return true; } catch (Exception e) { // ok } return false; }, 10, 500); assertNotNull(admin2.tenants().getTenantInfo(tenant)); assertNotNull(admin2.namespaces().getPolicies(namespace)); List<String> subLists = admin2.topics().getSubscriptions(topicName); assertTrue(subLists.contains("s1")); assertTrue(subLists.contains("s2")); int n = 5; for (int i = 0; i < n; i++) { producer1.send("test1".getBytes()); } Consumer<byte[]> consumer1 = client1.newConsumer().topic(topicName).subscriptionName("s1").subscribe(); for (int i = 0; i < n; i++) { assertNotNull(consumer1.receive()); } consumer1.close(); producer1.close(); // publish to new topic which should be redirected immediately String newTopic = topicName+"-new"; producer1 = client1.newProducer().topic(newTopic).enableBatching(false) .producerName("cluster1-1").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); retryStrategically((test) -> { try { pulsar2.getBrokerService().getTopic(newTopic, false).getNow(null).get(); return true; } catch (Exception e) { // ok } return false; }, 10, 500); PersistentTopic pulsar2Topic = (PersistentTopic) pulsar2.getBrokerService().getTopic(newTopic, false).getNow(null) .get(); retryStrategically((test) -> { try { return !pulsar2Topic.getProducers().isEmpty(); } catch (Exception e) { return false; } }, 10, 500); assertFalse(pulsar2Topic.getProducers().isEmpty()); consumer1 = client1.newConsumer().topic(newTopic).subscriptionName("s1").subscribe(); retryStrategically((test) -> { try { return !pulsar2Topic.getSubscription("s1").getConsumers().isEmpty(); } catch (Exception e) { return false; } }, 10, 500); assertFalse(pulsar2Topic.getSubscription("s1").getConsumers().isEmpty()); client1.close(); } @Test(dataProvider = "NamespaceMigrationTopicSubscriptionTypes") public void testNamespaceMigration(SubscriptionType subType, boolean isClusterMigrate, boolean isNamespaceMigrate) throws Exception { log.info("--- Starting Test::testNamespaceMigration ---"); // topic for the namespace1 (to be migrated) final String topicName = BrokerTestUtil .newUniqueName("persistent://" + namespace + "/migrationTopic"); // topic for namespace2 (not to be migrated) final String topicName2 = BrokerTestUtil .newUniqueName("persistent://" + namespaceNotToMigrate + "/migrationTopic"); @Cleanup PulsarClient client1 = PulsarClient.builder().serviceUrl(url1.toString()).statsInterval(0, TimeUnit.SECONDS) .build(); // blue cluster - namespace1 - producer/consumer Producer<byte[]> blueProducerNs1_1 = client1.newProducer().topic(topicName).enableBatching(false) .producerName("blue-producer-ns1-1").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); Consumer<byte[]> blueConsumerNs1_1 = client1.newConsumer().topic(topicName).subscriptionType(subType) .subscriptionName("s1").subscribe(); AbstractTopic blueTopicNs1_1 = (AbstractTopic) pulsar1.getBrokerService().getTopic(topicName, false).getNow(null).get(); retryStrategically((test) -> !blueTopicNs1_1.getProducers().isEmpty(), 5, 500); retryStrategically((test) -> !blueTopicNs1_1.getSubscriptions().isEmpty(), 5, 500); assertFalse(blueTopicNs1_1.getProducers().isEmpty()); assertFalse(blueTopicNs1_1.getSubscriptions().isEmpty()); // blue cluster - namespace2 - producer/consumer Producer<byte[]> blueProducerNs2_1 = client1.newProducer().topic(topicName2).enableBatching(false) .producerName("blue-producer-ns2-1").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); Consumer<byte[]> blueConsumerNs2_1 = client1.newConsumer().topic(topicName2).subscriptionType(subType) .subscriptionName("s1").subscribe(); AbstractTopic blueTopicNs2_1 = (AbstractTopic) pulsar1.getBrokerService().getTopic(topicName2, false).getNow(null).get(); retryStrategically((test) -> !blueTopicNs2_1.getProducers().isEmpty(), 5, 500); retryStrategically((test) -> !blueTopicNs2_1.getSubscriptions().isEmpty(), 5, 500); assertFalse(blueTopicNs2_1.getProducers().isEmpty()); assertFalse(blueTopicNs2_1.getSubscriptions().isEmpty()); // build backlog on the blue cluster blueConsumerNs1_1.close(); blueConsumerNs2_1.close(); int n = 5; for (int i = 0; i < n; i++) { blueProducerNs1_1.send("test1".getBytes()); blueProducerNs2_1.send("test1".getBytes()); } @Cleanup PulsarClient client2 = PulsarClient.builder().serviceUrl(url2.toString()).statsInterval(0, TimeUnit.SECONDS) .build(); // green cluster - namespace1 - producer/consumer Producer<byte[]> greenProducerNs1_1 = client2.newProducer().topic(topicName).enableBatching(false) .producerName("green-producer-ns1-1").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); AbstractTopic greenTopicNs1_1 = (AbstractTopic) pulsar2.getBrokerService().getTopic(topicName, false).getNow(null).get(); assertFalse(greenTopicNs1_1.getProducers().isEmpty()); // green cluster - namespace2 - producer/consumer Producer<byte[]> greenProducerNs2_1 = client2.newProducer().topic(topicName2).enableBatching(false) .producerName("cluster2-nm1").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); AbstractTopic greenTopicNs2_1 = (AbstractTopic) pulsar2.getBrokerService().getTopic(topicName2, false).getNow(null).get(); assertFalse(greenTopicNs2_1.getProducers().isEmpty()); // blue - green cluster migration ClusterUrl migratedUrl = new ClusterUrl(pulsar2.getWebServiceAddress(), pulsar2.getWebServiceAddressTls(), pulsar2.getBrokerServiceUrl(), pulsar2.getBrokerServiceUrlTls()); admin1.clusters().updateClusterMigration("r1", isClusterMigrate, migratedUrl); admin1.namespaces().updateMigrationState(namespace, isNamespaceMigrate); retryStrategically((test) -> { try { blueTopicNs1_1.checkClusterMigration().get(); if (isClusterMigrate) { blueTopicNs2_1.checkClusterMigration().get(); } return true; } catch (Exception e) { // ok } return false; }, 10, 500); blueTopicNs1_1.checkClusterMigration().get(); if (isClusterMigrate) { blueTopicNs2_1.checkClusterMigration().get(); } log.info("before sending message"); sleep(1000); blueProducerNs1_1.sendAsync("test1".getBytes()); blueProducerNs2_1.sendAsync("test1".getBytes()); // producer is disconnected from blue for namespace1 as cluster or namespace migration is enabled retryStrategically((test) -> blueTopicNs1_1.getProducers().isEmpty(), 10, 500); assertTrue(blueTopicNs1_1.getProducers().isEmpty()); if(isClusterMigrate){ // producer is disconnected from blue for namespace2 if cluster migration is enabled retryStrategically((test) -> blueTopicNs2_1.getProducers().isEmpty(), 10, 500); assertTrue(blueTopicNs2_1.getProducers().isEmpty()); } else { // producer is not disconnected from blue for namespace2 if namespace migration is disabled retryStrategically((test) -> !blueTopicNs2_1.getProducers().isEmpty(), 10, 500); assertTrue(!blueTopicNs2_1.getProducers().isEmpty()); } // create producer on blue which should be redirected to green Producer<byte[]> blueProducerNs1_2 = client1.newProducer().topic(topicName).enableBatching(false) .producerName("blue-producer-ns1-2").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); // producer is connected with green retryStrategically((test) -> greenTopicNs1_1.getProducers().size() == 3, 10, 500); assertTrue(greenTopicNs1_1.getProducers().size() == 3); // blueProducerNs2_1 should be migrated to green if the cluster migration is enabled // should not be migrated if the namespace migration is disabled for namespace2 if (isClusterMigrate) { retryStrategically((test) -> greenTopicNs2_1.getProducers().size() == 2, 10, 500); assertTrue(greenTopicNs2_1.getProducers().size() == 2); } else{ retryStrategically((test) -> greenTopicNs2_1.getProducers().size() == 1, 10, 500); assertTrue(greenTopicNs2_1.getProducers().size() == 1); } // try to consume backlog messages from cluster-1 blueConsumerNs1_1 = client1.newConsumer().topic(topicName).subscriptionName("s1").subscribe(); blueConsumerNs2_1 = client1.newConsumer().topic(topicName2).subscriptionName("s1").subscribe(); for (int i = 0; i < n; i++) { Message<byte[]> msg = blueConsumerNs1_1.receive(); assertEquals(msg.getData(), "test1".getBytes()); blueConsumerNs1_1.acknowledge(msg); Message<byte[]> msg2 = blueConsumerNs2_1.receive(); assertEquals(msg2.getData(), "test1".getBytes()); blueConsumerNs2_1.acknowledge(msg2); } // after consuming all messages, consumer should have disconnected // from blue and reconnect with green retryStrategically((test) -> !greenTopicNs1_1.getSubscriptions().isEmpty(), 10, 500); assertFalse(greenTopicNs1_1.getSubscriptions().isEmpty()); if (isClusterMigrate) { retryStrategically((test) -> !greenTopicNs2_1.getSubscriptions().isEmpty(), 10, 500); assertFalse(greenTopicNs2_1.getSubscriptions().isEmpty()); } else { retryStrategically((test) -> greenTopicNs2_1.getSubscriptions().isEmpty(), 10, 500); assertTrue(greenTopicNs2_1.getSubscriptions().isEmpty()); } blueTopicNs1_1.checkClusterMigration().get(); if (isClusterMigrate) { blueTopicNs2_1.checkClusterMigration().get(); } ConcurrentOpenHashMap<String, ? extends Replicator> replicators = blueTopicNs1_1.getReplicators(); replicators.forEach((r, replicator) -> { assertFalse(replicator.isConnected()); }); assertTrue(blueTopicNs1_1.getSubscriptions().isEmpty()); if (isClusterMigrate) { ConcurrentOpenHashMap<String, ? extends Replicator> replicatorsNm = blueTopicNs2_1.getReplicators(); replicatorsNm.forEach((r, replicator) -> { assertFalse(replicator.isConnected()); }); assertTrue(blueTopicNs2_1.getSubscriptions().isEmpty()); } else { ConcurrentOpenHashMap<String, ? extends Replicator> replicatorsNm = blueTopicNs2_1.getReplicators(); replicatorsNm.forEach((r, replicator) -> { assertTrue(replicator.isConnected()); }); assertFalse(blueTopicNs2_1.getSubscriptions().isEmpty()); } // create a new consumer on blue which should also reconnect to green Consumer<byte[]> blueConsumerNs1_2 = client1.newConsumer().topic(topicName).subscriptionType(subType) .subscriptionName("s2").subscribe(); Consumer<byte[]> blueConsumerNs2_2 = client1.newConsumer().topic(topicName2).subscriptionType(subType) .subscriptionName("s2").subscribe(); retryStrategically((test) -> greenTopicNs1_1.getSubscription("s2") != null, 10, 500); assertFalse(greenTopicNs1_1.getSubscription("s2").getConsumers().isEmpty()); if (isClusterMigrate) { retryStrategically((test) -> greenTopicNs2_1.getSubscription("s2") != null, 10, 500); assertFalse(greenTopicNs2_1.getSubscription("s2").getConsumers().isEmpty()); } else { retryStrategically((test) -> greenTopicNs2_1.getSubscription("s2") == null, 10, 500); } // new sub on migration topic must be redirected immediately Consumer<byte[]> consumerM = client1.newConsumer().topic(topicName).subscriptionType(subType) .subscriptionName("sM").subscribe(); assertFalse(pulsar2.getBrokerService().getTopicReference(topicName).get().getSubscription("sM").getConsumers() .isEmpty()); consumerM.close(); // migrate topic after creating subscription String newTopicName = topicName + "-new"; consumerM = client1.newConsumer().topic(newTopicName).subscriptionType(subType) .subscriptionName("sM").subscribe(); retryStrategically((t) -> pulsar1.getBrokerService().getTopicReference(newTopicName).isPresent(), 5, 100); pulsar2.getBrokerService().getTopicReference(newTopicName).get().checkClusterMigration().get(); retryStrategically((t) -> pulsar2.getBrokerService().getTopicReference(newTopicName).isPresent() && pulsar2.getBrokerService().getTopicReference(newTopicName).get().getSubscription("sM") .getConsumers().isEmpty(), 5, 100); assertFalse(pulsar2.getBrokerService().getTopicReference(newTopicName).get().getSubscription("sM").getConsumers() .isEmpty()); consumerM.close(); // publish messages to cluster-2 and consume them for (int i = 0; i < n; i++) { blueProducerNs1_1.send("test2".getBytes()); blueProducerNs1_2.send("test2".getBytes()); greenProducerNs1_1.send("test2".getBytes()); } log.info("Successfully published messages by migrated producers"); for (int i = 0; i < n * 3; i++) { assertEquals(blueConsumerNs1_1.receive(2, TimeUnit.SECONDS).getData(), "test2".getBytes()); assertEquals(blueConsumerNs1_2.receive(2, TimeUnit.SECONDS).getData(), "test2".getBytes()); } // create non-migrated topic which should connect to blue String diffTopic = BrokerTestUtil .newUniqueName("persistent://" + namespace + "/migrationTopic"); Consumer<byte[]> consumerDiff = client1.newConsumer().topic(diffTopic).subscriptionType(subType) .subscriptionName("s1-d").subscribe(); Producer<byte[]> producerDiff = client1.newProducer().topic(diffTopic).enableBatching(false) .producerName("cluster1-d").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); AbstractTopic topicDiff = (AbstractTopic) pulsar2.getBrokerService().getTopic(diffTopic, false).getNow(null).get(); assertNotNull(topicDiff); for (int i = 0; i < n; i++) { producerDiff.send("diff".getBytes()); assertEquals(consumerDiff.receive(2, TimeUnit.SECONDS).getData(), "diff".getBytes()); } // restart broker-1 broker1.restart(); Producer<byte[]> producer4 = client1.newProducer().topic(topicName).enableBatching(false) .producerName("cluster1-4").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); Consumer<byte[]> consumer3 = client1.newConsumer().topic(topicName).subscriptionType(subType) .subscriptionName("s3").subscribe(); retryStrategically((test) -> greenTopicNs1_1.getProducers().size() == 4, 10, 500); assertTrue(greenTopicNs1_1.getProducers().size() == 4); retryStrategically((test) -> greenTopicNs1_1.getSubscription("s3") != null, 10, 500); assertFalse(greenTopicNs1_1.getSubscription("s3").getConsumers().isEmpty()); for (int i = 0; i < n; i++) { producer4.send("test3".getBytes()); assertEquals(blueConsumerNs1_1.receive(2, TimeUnit.SECONDS).getData(), "test3".getBytes()); assertEquals(blueConsumerNs1_2.receive(2, TimeUnit.SECONDS).getData(), "test3".getBytes()); assertEquals(consumer3.receive(2, TimeUnit.SECONDS).getData(), "test3".getBytes()); } log.info("Successfully consumed messages by migrated consumers"); // clean up blueConsumerNs1_1.close(); blueConsumerNs1_2.close(); blueConsumerNs2_1.close(); blueProducerNs1_1.close(); blueProducerNs1_2.close(); blueProducerNs2_1.close(); greenProducerNs1_1.close(); greenProducerNs2_1.close(); client1.close(); client2.close(); } @Test(dataProvider = "NamespaceMigrationTopicSubscriptionTypes") public void testNamespaceMigrationWithReplicationBacklog(SubscriptionType subType, boolean isClusterMigrate, boolean isNamespaceMigrate) throws Exception { log.info("--- Starting ReplicatorTest::testNamespaceMigrationWithReplicationBacklog ---"); // topic for namespace1 (to be migrated) final String topicName = BrokerTestUtil .newUniqueName("persistent://" + namespace + "/migrationTopic"); // topic for namespace2 (not to be migrated) final String topicName2 = BrokerTestUtil .newUniqueName("persistent://" + namespaceNotToMigrate + "/migrationTopic"); @Cleanup PulsarClient client1 = PulsarClient.builder().serviceUrl(url1.toString()).statsInterval(0, TimeUnit.SECONDS) .build(); @Cleanup PulsarClient client3 = PulsarClient.builder().serviceUrl(url3.toString()).statsInterval(0, TimeUnit.SECONDS) .build(); // blue cluster - namespace1 - producer/consumer Producer<byte[]> blueProducerNs1_1 = client1.newProducer().topic(topicName).enableBatching(false) .producerName("blue-producer-ns1-1").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); Consumer<byte[]> blueConsumerNs1_1 = client1.newConsumer().topic(topicName).subscriptionType(subType) .subscriptionName("s1").subscribe(); // blue cluster - namespace2 - producer/consumer Producer<byte[]> blueProducerNs2_1 = client1.newProducer().topic(topicName2).enableBatching(false) .producerName("blue-producer-ns1-1").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); Consumer<byte[]> blueConsumerNs2_1 = client1.newConsumer().topic(topicName2).subscriptionType(subType) .subscriptionName("s1").subscribe(); // blue cluster replication consumer namespace1 Consumer<byte[]> blueConsumerReplicationNs1 = client3.newConsumer().topic(topicName).subscriptionType(subType) .subscriptionName("s1").subscribe(); // blue cluster replication consumer namespace2 Consumer<byte[]> blueConsumerReplicationNs2 = client3.newConsumer().topic(topicName2).subscriptionType(subType) .subscriptionName("s1").subscribe(); AbstractTopic blueTopicNs1 = (AbstractTopic) pulsar1.getBrokerService().getTopic(topicName, false).getNow(null).get(); retryStrategically((test) -> !blueTopicNs1.getProducers().isEmpty(), 5, 500); retryStrategically((test) -> !blueTopicNs1.getSubscriptions().isEmpty(), 5, 500); assertFalse(blueTopicNs1.getProducers().isEmpty()); assertFalse(blueTopicNs1.getSubscriptions().isEmpty()); AbstractTopic blueTopicNs2 = (AbstractTopic) pulsar1.getBrokerService().getTopic(topicName2, false).getNow(null).get(); retryStrategically((test) -> !blueTopicNs2.getProducers().isEmpty(), 5, 500); retryStrategically((test) -> !blueTopicNs2.getSubscriptions().isEmpty(), 5, 500); assertFalse(blueTopicNs2.getProducers().isEmpty()); assertFalse(blueTopicNs2.getSubscriptions().isEmpty()); // build backlog blueConsumerNs1_1.close(); blueConsumerNs2_1.close(); retryStrategically((test) -> blueTopicNs1.getReplicators().size() == 1, 10, 3000); assertEquals(blueTopicNs1.getReplicators().size(), 1); retryStrategically((test) -> blueTopicNs2.getReplicators().size() == 1, 10, 3000); assertEquals(blueTopicNs2.getReplicators().size(), 1); // stop service in the replication cluster to build replication backlog broker3.stop(); retryStrategically((test) -> broker3.getPulsarService() == null, 10, 1000); assertNull(pulsar3.getBrokerService()); //publish messages into topic in blue cluster int n = 5; for (int i = 0; i < n; i++) { blueProducerNs1_1.send("test1".getBytes()); blueProducerNs2_1.send("test1".getBytes()); } retryStrategically((test) -> blueTopicNs1.isReplicationBacklogExist(), 10, 1000); assertTrue(blueTopicNs1.isReplicationBacklogExist()); retryStrategically((test) -> blueTopicNs2.isReplicationBacklogExist(), 10, 1000); assertTrue(blueTopicNs2.isReplicationBacklogExist()); @Cleanup PulsarClient client2 = PulsarClient.builder().serviceUrl(url2.toString()).statsInterval(0, TimeUnit.SECONDS) .build(); // green cluster - namespace1 - producer/consumer Producer<byte[]> greenProducerNs1_1 = client2.newProducer().topic(topicName).enableBatching(false) .producerName("green-producer-ns1-1").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); AbstractTopic greenTopicNs1 = (AbstractTopic) pulsar2.getBrokerService().getTopic(topicName, false).getNow(null).get(); Producer<byte[]> greenProducerNs2_1 = client2.newProducer().topic(topicName2).enableBatching(false) .producerName("green-producer-ns2-1").messageRoutingMode(MessageRoutingMode.SinglePartition).create(); AbstractTopic greenTopicNs2 = (AbstractTopic) pulsar2.getBrokerService().getTopic(topicName2, false).getNow(null).get(); log.info("name of topic 2 - {}", greenTopicNs1.getName()); assertFalse(greenTopicNs1.getProducers().isEmpty()); retryStrategically((test) -> greenTopicNs1.getReplicators().size() == 1, 10, 2000); log.info("replicators should be ready"); ClusterUrl migratedUrl = new ClusterUrl(pulsar2.getWebServiceAddress(), pulsar2.getWebServiceAddressTls(), pulsar2.getBrokerServiceUrl(), pulsar2.getBrokerServiceUrlTls()); admin1.clusters().updateClusterMigration("r1", isClusterMigrate, migratedUrl); admin1.namespaces().updateMigrationState(namespace, isNamespaceMigrate); assertEquals(admin1.namespaces().getPolicies(namespace).migrated, isNamespaceMigrate); log.info("update cluster migration called"); retryStrategically((test) -> { try { blueTopicNs1.checkClusterMigration().get(); if (isClusterMigrate) { blueTopicNs2.checkClusterMigration().get(); } return true; } catch (Exception e) { // ok } return false; }, 10, 500); blueTopicNs1.checkClusterMigration().get(); if (isClusterMigrate) { blueTopicNs2.checkClusterMigration().get(); } blueProducerNs1_1.sendAsync("test1".getBytes()); blueProducerNs2_1.sendAsync("test1".getBytes()); // producer is disconnected from blue retryStrategically((test) -> blueTopicNs1.getProducers().isEmpty(), 10, 500); assertTrue(blueTopicNs1.getProducers().isEmpty()); if (isClusterMigrate) { retryStrategically((test) -> blueTopicNs2.getProducers().isEmpty(), 10, 500); assertTrue(blueTopicNs2.getProducers().isEmpty()); } else { retryStrategically((test) -> !blueTopicNs2.getProducers().isEmpty(), 10, 500); assertFalse(blueTopicNs2.getProducers().isEmpty()); } // verify that the disconnected producer is not redirected // to replication cluster since there is replication backlog. assertEquals(greenTopicNs1.getProducers().size(), 1); // Restart the service in cluster "r3". broker3.restart(); retryStrategically((test) -> broker3.getPulsarService() != null, 10, 1000); assertNotNull(broker3.getPulsarService()); pulsar3 = broker3.getPulsarService(); // verify that the replication backlog drains once service in cluster "r3" is restarted. retryStrategically((test) -> !blueTopicNs1.isReplicationBacklogExist(), 10, 1000); assertFalse(blueTopicNs1.isReplicationBacklogExist()); retryStrategically((test) -> !blueTopicNs2.isReplicationBacklogExist(), 10, 1000); assertFalse(blueTopicNs2.isReplicationBacklogExist()); blueTopicNs1.checkClusterMigration().get(); blueTopicNs2.checkClusterMigration().get(); // verify that the producer1 is now is now connected to migrated cluster green since backlog is cleared. retryStrategically((test) -> greenTopicNs1.getProducers().size()==2, 10, 500); assertEquals(greenTopicNs1.getProducers().size(), 2); if (isClusterMigrate) { retryStrategically((test) -> greenTopicNs2.getProducers().size()==2, 10, 500); assertEquals(greenTopicNs2.getProducers().size(), 2); } else { retryStrategically((test) -> greenTopicNs2.getProducers().size()==1, 10, 500); assertEquals(greenTopicNs2.getProducers().size(), 1); } // clean up blueProducerNs1_1.close(); blueProducerNs2_1.close(); blueConsumerNs1_1.close(); blueConsumerNs2_1.close(); greenProducerNs1_1.close(); greenProducerNs2_1.close(); client1.close(); client2.close(); client3.close(); } static class TestBroker extends MockedPulsarServiceBaseTest { private String clusterName; private String loadManagerClassName; public TestBroker(String clusterName, String loadManagerClassName) throws Exception { this.clusterName = clusterName; this.loadManagerClassName = loadManagerClassName; setup(); } @Override protected void setup() throws Exception { super.setupWithClusterName(clusterName); } @Override protected void doInitConf() throws Exception { super.doInitConf(); this.conf.setLoadManagerClassName(loadManagerClassName); this.conf.setWebServicePortTls(Optional.of(0)); this.conf.setBrokerServicePortTls(Optional.of(0)); this.conf.setTlsTrustCertsFilePath(CA_CERT_FILE_PATH); this.conf.setTlsCertificateFilePath(BROKER_CERT_FILE_PATH); this.conf.setTlsKeyFilePath(BROKER_KEY_FILE_PATH); } public PulsarService getPulsarService() { return pulsar; } public String getClusterName() { return configClusterName; } public void stop() throws Exception { stopBroker(); } @Override protected void cleanup() throws Exception { internalCleanup(); } public void restart() throws Exception { restartBroker(); } } } ```
John Bergstedt (born 2 August 1969) is a Swedish ski mountaineer. Bergstedt was born in Östersund and has been member of the national team since 2007. He started ski mountaineering in 2006 and competed first in the Vertex Vinter race in 2007. He lives in Trillevallen. Selected results 2007: 1st, Bix Cup Oppdal single 1st, Bix Cup Oppdal team 6th, European Championship (relay race (together with Patrik Nordin, André Jonsson and Joakim Halvarsson) 2008: 10th, World Championship (relay race (together with Patrik Nordin, André Jonsson and Björn Gund) External links John Bergstedt at skimountaineering.org 1969 births Living people Swedish male ski mountaineers Sportspeople from Östersund
```c #include <stddef.h> #include <stdint.h> #include <oqs/kem_frodokem.h> #include "frodo_internal.h" #include "frodo976shake_params.h" #include "frodo_macrify_shake_avx2.c" #define frodo_mul_add_as_plus_e_actual frodo_mul_add_as_plus_e_avx2 #include "frodo_macrify_as_plus_e.c" ```
```html+django @function retina-size($value) { @return floor($value / 2); } @mixin retina-bg-size($spriteWidth, $spriteHeight) { background-size: floor($spriteWidth / 2) floor($spriteHeight / 2); } .iti__flag { $item-width-maps: ({{#items}}{{strings.name}}: {{px.width}}, {{/items}}); $standard-country: 'ac'; width: map-get($item-width-maps, $standard-country); @each $key, $width in $item-width-maps { @if $width != map-get($item-width-maps, $standard-country) { &.iti__#{$key} { width: $width; } } } @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { background-size: {{spritesheet.px.width}} {{spritesheet.px.height}}; } {{#items}} &.iti__{{strings.name}} { height: {{px.height}}; background-position: {{px.offset_x}} {{px.offset_y}}; } {{/items}} } ```
The Musée Denys-Puech is an art gallery in Rodez, France. It was founded in 1910 by the sculptor Denys Puech (1854–1942), winner of the prix de Rome in 1884 and one of the official sculptors of the French Third Republic. The building was completed in 1910 by the architect André Boyer, who designed a ground floor with large bays to enhance the sculpture collection. History After having offered the city of Rodez a large collection of sculptures and drawings, the sculptor Denys Puech (1854–1942) convinced his friends, the orientalist painter Maurice Bompard (1857–1935) and the engraver Eugène Viala (1858–1913), to donate some of their works to build the collections of the future museum. It was inaugurated on July 17, 1910. The building was designed by the architect André Boyer (1882–1953). A ground floor with large windows highlights the collection of sculptures. The museum was renovated and enlarged in the 1980s, opening up to contemporary art. In 1989, François Morellet created integrations on the north and south facades. They are only visible from a precise angle of view and thus disappear into the architecture of the building as soon as the visitor moves. In 2005, the sculptor Aurèle Ricard created six bronze dogs lacquered in the yellow "International Aurèle Yellow" (IAY) as part of a public commission initiated by the museum. This series, entitled Tribute to Antonin Artaud, is installed on the consoles of the facade of the museum, left vacant since the construction of the museum. External links Official site References Art museums and galleries in France Museums in Aveyron Art museums established in 1903 Musee Denys-Puech
Mustafa Hijri (, ) is an Iranian-Kurdish politician who is the current leader of the Democratic Party of Iranian Kurdistan (KDPI). Political life Born to a Kurdish family in 1945 in the city of Naqadeh in the West Azarbaijan Province of Iran, Hijri graduated from the Teachers' College of Agriculture in Urumieh in 1963 and took up a post as a secondary school teacher in Saqqez. In 1970, he started studying Persian literature at Tehran University, where he obtained a bachelor's degree. On returning to his home town, he restarted teaching at the secondary schools and a college here. Playing a considerable role in the mass demonstrations held in 1978 against the Shah's regime where he won 90% of the votes, but the results, as in any electoral regions of Kurdistan, were announced null and void by the newly established Islamic Republic of Iran. Participating in the 4th Congress of the PDKI in 1979, he was elected as a member of the Central Committee, and a few months later, chosen as a member of the Political Bureau, holding steadily on his heavy task ever since Dr. Abdul Rahman Ghassemlou was assassinated on July 13, 1989. Following the death of Dr. Ghassemlou, and on late Dr. Sadegh Sharafkandi’s appointment's as General Secretary, Hijri was once more chosen to the membership of the Political Bureau, and Vice-General Secretary. Dr. Sharafkandi having been killed on Sept. 17, 1992, Hijri was appointed as General Secretary, continuing his duty up till 1995, when the 10th Congress of the Party was convened, whereupon successfully carrying out his duties. After the above-mentioned date till the 12th Congress of the party in December 2000, he was chosen as a member of Political Bureau and elected afterwards as the Vice-General Secretary. Since the 12th Congress up to the 13th Congress he unremittingly carried out his duties as a member of Political Bureau. He promotes federalism as a model for governance and power sharing in Iran. In his view, federalism must be based on geography and ethnicity, and this helps in resolving grievances of different ethnic groups in Iran. In addition, he attempted to push for coexistence between Kurds and Azerbaijanis in northwestern Iran. He was reelected to the position of General Secretary in the 14th Congress of PDKI held in September 2008. References 1945 births Living people Democratic Party of Iranian Kurdistan politicians People from West Azerbaijan Province
Seven Periods with Mr Gormsby is a satirical New Zealand television series, created and written by Danny Mulheron (who also directs and co-produces), Dave Armstrong, and Tom Scott. It stars David McPhail as the titular Mr Gormsby, whose politically incorrect attitudes and "old school" teaching style clash and contrast with the environment at the fictional Tepapawai High School. The show pokes fun at the New Zealand education system but also at modern New Zealand social attitudes more generally. Plot The story follows various events at a New Zealand low-decile high school in a low-income area having often poorly-qualified teaching staff and many students with difficult socio-economic backgrounds - mostly belonging to ethnic minorities, Māori and Pasifika. Characters Mortimer Ellis Gormsby (David McPhail) - Relief Teacher Roger Dascent (Paul McLaughlin) - The principal of Tepapawai Boys High School Steve Mudgeway (Jason Hoyte) - The school counsellor Fenn Partington (Tandi Wright) - English Teacher Lauren (Michele Amas) - Secretary Alisdair Morton (Thomas Robins) - Economics teacher Hone Hakanui (Louis Sutherland) - Māori studies teacher Werner Hundertwasser (Nigel Collins) - Head of Music Marion Patterson (Geraldine Brophy) - The Education Review Office school inspector Rak (Charles Lum) - School cleaner, formerly a nuclear physicist in Cambodia Agnes Maria Teresa O'Flaherty - (Dena Kennedy) Social Studies/History teacher Lesley Tangaroa (Grace Hoet)- P.E. teacher Class 5F Emile Bastabus (Joseph Moore) Elvis Hohepa (R. J. Smiler) Afioga (Feterika Sage) Ama'ata'a Uleiata'aua Alupepe (Halaifonua Finau) Govind (Hursh Saha) Minh (Samson Phommachack) Gareth le Tissier (Lyndon McGaughran) Filming and broadcasting The series ran for two seasons; the first was broadcast in 2005 on TV ONE in New Zealand and the ABC TV in Australia. The second series was shown in New Zealand in 2006 and in Australia, on ABC2, April 2008. DVDs of the series were sold in Australia through the ABC Shop. The series was nominated for Best Script and Best Comedy in the 2006 NZ Screen Awards. The program was filmed at two schools in the suburbs of Lower Hutt: the first season at Wainuiomata College and the second at Petone College. The first season's school's original location is now occupied by Wainuiomata Little Theatre. Address 106 Moohan St, Wainuiomata, Lower Hutt 5014, New Zealand ( Google map location) Episode List Series One Series Two Reception The series was received mostly positively by Australian critics, although some aspects of its politically incorrect nature raised some eyebrows. Ray Cassin (The Age) writes that the series is attacking hypocrisy on all fronts and tries to unmasks deceits and pretensions with a rather relentless and gleeful insistence. Jim Schembri (Sydney Morning Herald) argues the show skating on thin ice due to its politically incorrect nature and sees it as another example of how far New Zealand is ahead of Australia when it comes to dealing with delicate matters through comedy. Alan Mascarenhas (The Age) states while the series has low production values and patchy acting it does nevertheless possess a pythonesque quality. He recalls that he couldn't stop laughing even at scenes where he probably shouldn't have. According to him the show goes further than The Office ever dared balancing between fun and bigotry. References External links Characters of Seven Periods with Mr Gormsby (TVNZ) Seven Periods with Mr Gormsby: episode guide at the australian television information archive 2000s high school television series 2000s workplace comedy television series 2000s New Zealand television series 2005 New Zealand television series debuts 2006 New Zealand television series endings New Zealand satirical television shows Television series about educators Television shows filmed in New Zealand Television shows funded by NZ on Air TVNZ 1 original programming
```c /* $OpenBSD: crtbeginS.c,v 1.21 2021/12/17 12:03:16 jca Exp $ */ /* $NetBSD: crtbegin.c,v 1.1 1996/09/12 16:59:03 cgd Exp $ */ /* * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, 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 Paul Kranenburg. * 4. The name of the author may not be used to endorse or promote products * derived from this software without specific prior written permission * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* * Run-time module for GNU C++ compiled shared libraries. * * The linker constructs the following arrays of pointers to global * constructors and destructors. The first element contains the * number of pointers in each. * The tables are also null-terminated. */ #include <stdlib.h> #include "md_init.h" #include "os-note-elf.h" #include "extern.h" /* * java class registration hooks */ MD_DATA_SECTION_FLAGS_SYMBOL(".jcr", "aw", void *, __JCR_LIST__); extern void _Jv_RegisterClasses (void *) __attribute__((weak)); /* * Include support for the __cxa_atexit/__cxa_finalize C++ abi for * gcc > 2.x. __dso_handle is NULL in the main program and a unique * value for each C++ shared library. For more info on this API, see: * * path_to_url#dso-dtor */ void *__dso_handle = &__dso_handle; __asm(".hidden __dso_handle"); long __guard_local __dso_hidden __attribute__((section(".openbsd.randomdata"))); extern int __cxa_atexit(void (*)(void *), void *, void *) __attribute__((weak)); extern void __cxa_finalize(void *) __attribute__((weak)); int atexit(void (*fn)(void)) { return (__cxa_atexit((void (*)(void *))fn, NULL, &__dso_handle)); } asm(".hidden atexit"); /* * Ditto for pthread_atfork() */ int _thread_atfork(void (*)(void), void (*)(void), void (*)(void), void *) __attribute__((weak)); int pthread_atfork(void (*)(void), void (*)(void), void (*)(void)) __attribute__((weak)); int pthread_atfork(void (*prep)(void), void (*parent)(void), void (*child)(void)) { return (_thread_atfork(prep, parent, child, &__dso_handle)); } /* hppa doesn't permit directives in first column, so space after newline */ asm(".hidden pthread_atfork\n .weak pthread_atfork"); MD_DATA_SECTION_SYMBOL_VALUE(".ctors", init_f, __CTOR_LIST__, -1); MD_DATA_SECTION_SYMBOL_VALUE(".dtors", init_f, __DTOR_LIST__, -1); static void __ctors(void) { unsigned long i = (unsigned long) __CTOR_LIST__[0]; const init_f *p; if (i == -1) { for (i = 1; __CTOR_LIST__[i] != NULL; i++) ; i--; } p = __CTOR_LIST__ + i; while (i--) (**p--)(); } static void __dtors(void) { const init_f *p = __DTOR_LIST__ + 1; while (*p) (**p++)(); } void _init(void); void _fini(void); static void _do_init(void) __used; static void _do_fini(void) __used; MD_SECTION_PROLOGUE(".init", _init); MD_SECTION_PROLOGUE(".fini", _fini); MD_SECT_CALL_FUNC(".init", _do_init); MD_SECT_CALL_FUNC(".fini", _do_fini); static void _do_init(void) { static int initialized; /* * Call global constructors. * Arrange to call global destructors at exit. */ if (!initialized) { initialized = 1; if (__JCR_LIST__[0] && _Jv_RegisterClasses) _Jv_RegisterClasses(__JCR_LIST__); __ctors(); } } static void _do_fini(void) { static int finalized; if (!finalized) { finalized = 1; if (__cxa_finalize != NULL) __cxa_finalize(__dso_handle); /* * since the _init() function sets up the destructors to * be called by atexit, do not call the destructors here. */ __dtors(); } } ```
Manjalpur is one of the 182 Legislative Assembly constituencies of Gujarat state in India. It is part of Vadodara district and it came into existence after 2008 delimitation. List of segments This assembly seat represents the following segments, Vadodara Taluka (Part) Village – Tarsali (CT) Vadodara Taluka (Part) – Vadodara Municipal Corporation (Part) Ward No. – 4, Kapurai (OG) 17 Member of Legislative Assembly Election results 2022 2017 2012 See also List of constituencies of Gujarat Legislative Assembly Gujarat Legislative Assembly References External links Assembly constituencies of Gujarat Vadodara district
William Robert Young (born 20 January 1979) is an English singer, songwriter, and actor. He came to prominence after winning the 2002 inaugural series of the ITV talent contest Pop Idol, making him the first winner of the worldwide Idol franchise. His double A-sided debut single "Anything Is Possible" / "Evergreen" was released two weeks after the show's finale and became the fastest-selling debut single in the UK. Young also came in fifth place in World Idol performing the single "Light My Fire" written by the band the Doors. As a teenager, Young studied politics at the University of Exeter before moving to London, where he studied musical theatre at the Arts Educational Schools in Chiswick. Young put his studies on hold in late 2001 to become a contestant on Pop Idol. After winning the competition the following year, he released his debut album From Now On (2002) which went straight to number one. Friday's Child (2003) followed and enjoyed greater success, eventually going platinum five times in the UK and spawning three top five singles. His following albums Keep On (2005), Let It Go (2008) and Echoes (2011) also went multi-platinum and 85% Proof (2015) became his fourth UK number-one album. His albums have spawned many songs that have achieved top ten positions in the UK, four of which went to the number one spot. Young has also undertaken numerous concert tours, and has accumulated multiple honours, including two Brit Awards from 12 nominations, and the estimated worldwide sale of over eight million albums. Young's net worth was estimated at £13.5 million in April 2012. Alongside his music career, Young has acted in film, on stage and in television. For his performance in the 2013 London revival of the musical Cabaret, he was nominated for the Laurence Olivier Award for Best Actor in a Leading Role in a Musical. He has also participated in philanthropy and released books Anything is Possible (2002), On Camera, Off Duty (2004), his autobiography Funny Peculiar (2012), To be a Gay Man (2020) and The A–Z of Wellbeing (2022). In January 2022 he appeared in the third series of The Masked Singer as "Lionfish" and in May issued the compilation album 20 Years: The Greatest Hits. Early life and education Early life and family Young was born on 20 January 1979 in Wokingham, Berkshire, and is the second-oldest child of Robin Young, a company director of an engineering firm, and Annabel Young (née Griffith), a plant nursery gardener. Born six weeks prematurely, he was ten minutes older than his twin brother, Rupert who died in July 2020. He also has an older sister Emma. Young was born into an affluent, middle-class family, whose paternal ancestry has strong ties to the British government and military services. His grandfather, Digby Aretas Young (d. 1966) served in the Royal Air Force, and his great-great-great-great-grandfather was Colonel Sir Aretas William Young, who, in 1795 at seventeen years old, joined the British Army and served in Ireland and Egypt before fighting in the Peninsular War. Aretas was later stationed in Trinidad and eventually took charge of the Trinidadian government, before moving to Demerara where he was appointed Protector of Slaves. Aretas became the sixth Governor of Prince Edward Island in 1831, and three years later was knighted by King William IV. One of Aretas's sons was Sir Henry Young, fifth Governor of South Australia, later first Governor of Tasmania. Education Young was brought up in Hungerford, West Berkshire, and was initially educated at Kingsbury Hill School in Marlborough, Wiltshire, before attending Horris Hill Preparatory School, Newbury, between the ages of eight and thirteen. His first appearance on stage was at the age of four when he played a fir tree in a school production and had one line to speak. At Horris Hill, Young was head chorister in the school choir, and at the age of nine he learned how to play the piano. Young recalls that at Horris Hill, pupils were taught that they were more privileged than pupils from state schools, and that one day he wrote a letter stating, "I must pass common entrance to take me to public school, otherwise I'll be going to state school and everyone will be very disappointed." At thirteen, Young and his brother were enrolled as boarders at the public school Wellington College in Crowthorne, Berkshire. Young appeared in several school productions and often gave speeches in assembly, despite later admitting that he never felt completely comfortable being the centre of attention. It was during this period that he became interested in sports and for a time he dreamed of competing in the Olympic Games in the 400 metre sprint, which he could run in under fifty seconds – the Olympic average is forty-three seconds. He became captain of the school's basketball and athletics teams, and also represented the school in the triple jump, long jump, football and rugby. The only sport he says he felt uncomfortable playing was cricket. Young left school with ten GCSEs, but achieved disappointing A-Level results and had to enrol in d'Overbroeck's College, Oxford, to re-sit his exams. He took a part-time job as a waiter at the Grand Café in Oxford, and became interested in environmental issues and local campaigning, joining a group called the Eco Society. He passed his A-Levels the second time, earning As in Politics and Ancient History, and a B in English. In 1998 Young began studying politics at the University of Exeter, choosing the subject because, "I thought I should know more about what was going on in my country." He also took women's studies at university and considers himself a feminist. His interest in performing arts continued, and he joined a theatre group called Footlights where he eventually landed the lead role of Curly in their production of Oklahoma! "I really enjoyed it and doing that gave me a lot of confidence", he later said of the show. He also took a work experience position at Sony Records to gain insight into the music industry. Other work included runway and photographic modelling, gardening, tearing labels off T-shirts in a clothing factory, and being a waiter. He graduated in 2001 with a 2:2 bachelor's degree. After leaving university, Young knew that he wanted to be a professional singer, but he did not want to be full of naivety and without training. In September 2001 he became a student at the Arts Educational Schools, in Chiswick, London. Career 1999–2001: Early auditions and Pop Idol In 1999 during his second year at university, Young watched an episode of This Morning and learned that the show was holding a competition to find members for a new boy band. He mailed the producers an audition tape and received a letter back from the show telling him he had been selected as one of seventy-five competitors, and that he had to appear in London for an off-camera audition. The 75 auditionees were whittled down to 9 finalists including Young, who were then invited to perform on the show. On 29 May 1999, Young appeared on the programme and performed a short rendition of the Jackson 5 song, I'll Be There, in front of a panel of judges that included Simon Cowell, an artists and repertoire executive at BMG, and Kate Thornton, a former editor of Smash Hits, turned television presenter. One week later, Young was selected into the boy band alongside three other competitors. They were Lee Ryan who later joined the boy band Blue, Declan Bennett who joined the boy band Point Break, signed to Danielle Barnett, the current lead singer of Urban Cookie Collective and Music Manager who contacted him directly following the This Morning audition, and Andy Scott-Lee who went on to compete in the second series of Pop Idol. Cowell said of the group, "We've tried to find people with star quality and these guys can sing and dance", but the band failed to find any success and it soon dis-banded. Young's next audition was at the Guildhall in London to be a jazz singer, but he accidentally arrived on the wrong date. On 20 June 2001, one of Young's university classmates showed him an advertisement in the News of the World for auditionees of Pop Idol, a planned nationwide televised talent show to find a solo pop artist in a similar way that Popstars had created the pop band Hear'Say the previous year. The winner was guaranteed a £1 million recording contract with BMG and representation by 19 Management. He printed out an application form from the website, filled it out and posted it on 28 June. On 7 August 2001, he received a reply which told him he had been accepted for an audition at ExCeL London on 5 September 2001. On the day of the audition, Young performed Aretha Franklin's "Until You Come Back to Me (That's What I'm Gonna Do)" in front of an assistant producer, and was deemed good enough to be given a second audition two days later. For his second audition, Young sang "Blame It on the Boogie" by the Jacksons in front of a show producer and won a place to the third round to perform before the show's judges: Simon Cowell; Nicki Chapman, a Popstars judge who also worked as a publicist at 19 Entertainment, the company that was producing Pop Idol; Pete Waterman, a music producer who had written or produced twenty-one singles that had charted at Number One in the UK Singles Chart, 200 Top Tens, and sold over 500 million records for the artists such as Kylie Minogue, Rick Astley, Bananarama, Steps and Westlife; and Neil "Dr Fox" Fox, a disc jockey who presented the drivetime show on Capital FM and the nationally syndicated Pepsi Chart. He was the final contestant the judges saw, and after a day of watching mostly poor performances they were not in the best spirits. Again, Young performed "Blame It on the Boogie", but the judges thought his overall performance was merely average. Chapman told him that his dance moves had let him down, but his vocal was good. Fox described him as cheesy, Waterman was unimpressed by his stage presence and image – Young was wearing baggy and faded jeans, scuffed shoes and his grandfather's jumper which was stained with egg yolk – but conceded that his voice was "nice". Despite their uncertainty, however, they advanced him through to the next round. The following week, auditions were held at the Criterion Theatre, and Young sang "All or Nothing" by O-Town, the Drifters' "Up on the Roof" and "Fast Love" by George Michael. Still not completely convinced by his performances, he was made to wait in the "Maybe" room until the judges decided to send him through to the Final 50. The first episode of Pop Idol was broadcast on 6 October 2001 on ITV, and Young's audition aired on the third show on 20 October 2001. The next round of the competition was split into five heats that aired every Saturday between 3 November 2001 and 8 December 2001. Each show featured ten of the fifty competitors singing one song in the Pop Idol studios in front of the judges and an audience, but unlike previous rounds, the viewing public decided who would advance to the next round by interactive televoting voting using their telephones, the Red Button on digital television remote controls, and the Pop Idol website. The two singers with the highest number of votes in each heat advanced to the final rounds of the competition. Young competed in Heat 4, broadcast on 24 November, and sang a jazz/lounge interpretation of "Light My Fire" by the Doors. Judges Chapman, Fox and Waterman were all enthusiastic about his performance, but Cowell was unimpressed and called it "distinctly average", adding, "I just thought it was totally normal. In the context of the show I honestly didn't think it was good enough." The other judges and contestants all expressed shock at his comments, and Young responded, telling Cowell that while he was entitled to his opinion, it was wrong. This incident has often been cited as the moment when Young's pop career truly began, standing out to viewers and endeared himself to them. It appeared that the voting audience agreed with Young and disagreed with Cowell, because he was voted through to the next round, in first place, with 41.5% of the overall vote. During Young's next appearance on the show on 15 December 2001, Cowell stated that he had previously made a "huge mistake", and that Young had conducted himself with a dignity that had humbled him. Young later stated that his proudest moment of the entire competition was this incident. Young easily progressed through each subsequent round by performing jazz, lounge and soul versions of songs such as "Wives and Lovers", "Ain't No Sunshine" and "Beyond the Sea". In the first four weeks of the Live Finals, he received the highest percentage of votes. In weeks five, six and seven, he received the second highest percentage of votes, losing out on first place to Gareth Gates each time. In the Semi-final, competing against Gates and Darius Danesh, Young again received the most votes (39.8%). Gates received 39.3% of the votes and won the other place in the Grand Final, while Danesh received 20.9% of the votes and was eliminated from the competition. Throughout the following week, Young and Gates embarked on separate whistle-stop tours of the United Kingdom in large tour buses adorned with their faces, in an attempt to canvass for votes. In election-style campaigns, they made numerous radio and television appearances, were interviewed in magazines, national and local newspapers, and met and performed for their fans. Celebrities such as Noel Gallagher, Robbie Williams, Posh and Becks, Kylie Minogue, Myleene Klass, Michelle Collins, S Club 7 and Jenny Frost announced their support for Young, while Gates was backed by Duncan James, Natasha Hamilton, Richard and Judy, Westlife, Faye Tozer, Denise Van Outen, Ben Adams, Neil Tennant, Andrew Lloyd Webber, Claire Richards, Boy George, Ricky Gervais and Francis Rossi. The media pitted Young and Gates against each other, publishing false news articles claiming that the two contestants were bitter rivals and their parents were bickering and fighting backstage, stories which both camps denied. Although for a brief moment earlier in the series Young was favoured to win, bookmakers gave Gates better odds on the eve of the Grand Final, pointing to his angelic voice, good looks and displays of emotion that appealed to a younger audience, compared with Young's soulful crooning and maturity appealing to housewives and intellectuals. Gates was given various odds of 1/5, 2/9 and 2/7, while Young's odds were quoted at 100/30, 11/4, 3/1 and 5/2 at different times in the week. On 9 February 2002, 13.34 million viewers watched Young and Gates battle each other in the Grand Final for the title of "Pop Idol". Both acts sang "Anything Is Possible" and "Evergreen", which were to be released as a double A-side single by the winner. Young also sang "Light My Fire" a second time as his favourite performance from the series. 8.7 million votes were registered over the two-and-a-half hours that the voting lines were open, which set a new world record. However, some voters complained that their votes had not been registered and that ITV, British Telecom and Telescope (the company responsible for operating the phone system) had not prepared well enough for the volume of calls because the system crashed at one point during the evening. It was also alleged that the phonelines had been fixed and they were involved in vote rigging. Nevertheless, Young was announced the winner of the competition after receiving 4.6 million (53.1%) votes, just 500,000 more than Gates. Young's shock at hearing the news was obvious to viewers as his jaw dropped and he clasped his hands to his face. "When he [Ant McPartlin] said what the votes were, I thought, 'I am second, and I have lost by that much. Oh well, that's not bad'," Young recalled. "When I heard I'd won ... I felt like I'd been hit. I stepped backwards. I could not believe it." In 2011, Young described Pop Idol as "a huge starting point and ... the best ever experience for me, ever." Pop Idol performances and results 2002–2003: From Now On Young's first single was a double A-side featuring Westlife's song "Evergreen" and "Anything Is Possible", a new song written for the winner of the show by Chris Braide and Cathy Dennis. In March 2002, this became the fastest-selling debut in UK chart history, selling 403,027 copies on its day of release (1,108,659 copies in its first week). It went on to sell over 1.7 million copies, and on the official list of the all-time best-selling singles in the UK issued later that year, it was ranked eleventh. In 2008, Official Charts Company released the Top 40 Biggest Selling Singles of the 21st century (so far) in which Young's version of Evergreen topped the chart. On 31 December 2009, Radio 1 confirmed that "Anything Is Possible"/"Evergreen" was the biggest selling single of the 2000s decade in the United Kingdom. This was again confirmed on 7 May 2012 when Radio 1 played a countdown of the top-selling 150 songs of the millennium so far. "Anything Is Possible" won an Ivor Novello Award for Bestselling Song of 2002. In October 2002, Young released his debut album, From Now On, which included "Evergreen" nominated in the Best single category in 2003 at the BRIT Awards and "Anything Is Possible". It produced three singles: "Light My Fire", "The Long and Winding Road" (a duet with Gareth Gates, released as a double A-side with Gates's song "Suspicious Minds") and "Don't Let Me Down"/"You and I" (released in aid of Children in Need). He won his first BRIT Award in February 2003 as Best Breakthrough Artist. Young sang "Try Again", a song featured in Disney's 101 Dalmatians II: Patch's London Adventure, the 2003 direct-to-video sequel to Walt Disney's 1961 feature One Hundred and One Dalmatians. 2003–2007: Friday's Child and Keep On Young's second album, Friday's Child, was released in December 2003. It features the singles "Leave Right Now", nominated in the Best British single category of the past 25 years at the 2005 BRIT Awards and winner of the Ivor Novello Award for Best Song Musically and Lyrically in 2004, "Your Game" (which won Young his second BRIT Award in 2005) and "Friday's Child" In November 2005, Young released his third album, Keep On, which included the single "All Time Love", nominated in the Best British Single category at the 2007 BRIT Awards. Other singles from the album were "Switch It On" and "Who Am I". In May 2006, he sang at the Prince's Trust 30th Birthday, which took place at the Tower of London. From 12 September until 2 October 2006, Young toured the UK with his Keep On Live tour, which included the songs taken from his album Keep On and a selection of past songs. The official merchandise range for the tour, highlighted by the press, included a "tip and strip" pen which, when turned over, reveals Young in his underpants. In October 2006, Young sang at Nitin Sawhney's concert in the BBC Electric Proms series of concerts. He followed this by performing in South Africa for Nelson Mandela's Unite of the Stars charity concerts. In July 2007, he appeared at the Concert for Diana at the new Wembley Stadium. Young was the headline act at the Proms in the Park, which took place in Hyde Park in September 2007 as part of the Last Night of the Proms. In September 2007, Young performed at Ronnie Scott's Jazz Club with the Vanguard Big Band. Young took part in the Little Noise Sessions, a series of intimate, acoustic gigs for the learning disability charity, Mencap. He performed in November 2007 with special guests at Islington's Union Chapel. 2008–2010: Let It Go and The Hits On 29 September 2008, Young's fourth album, Let It Go, was released. It peaked at No.2 in the album charts, having been preceded by the single "Changes", which was released on 15 September and peaked at No.10 in the UK Singles Chart. His next single "Grace" was released on 1 December 2008, and peaked at No.33 on the UK Singles Chart. The third single taken from the album, "Let It Go", was released on 2 March 2009 in the UK, and peaked at No.58 on the UK Singles Chart. The fourth and final single, "Tell Me the Worst", was released in the UK only, on 5 July 2009. It served as a club promo, and featured some Fred Falke remixes. In April 2008, Young again appeared at Ronnie Scott's Jazz Club with the Vanguard Big Band. Young is to perform at various festivals during mid-2008, including Glastonbury, T in the Park in Scotland and Bestival on the Isle of Wight. On 24 August 2008, Young appeared at the Olympic Party which took place in the Mall, London. He performed his latest single Changes and I Can See Clearly Now, which was originally sung by Johnny Nash. On an interview with Digital Spy, Young revealed that he was working on a Dance-Pop album, which might be released in late 2009. He also confirmed that he was working with British duo Groove Armada, Superbass, who remixed his UK Top 10 single "Changes", and Gregg Alexander, who has previously worked with British pop singers Sophie Ellis-Bextor and Geri Halliwell. He also confirmed that he is working on an album covering songs by Noël Coward, which is as yet in its very early stages and he "doesn't know if it will end up". Young performed in a sell-out theatre tour, commencing on 16 November 2008 and continuing until 13 December 2008 with two dates at the Roundhouse in Camden, London. Young was the featured singer on the X-Factor programme on ITV1 on Saturday 1 November 2008. He also mentored the remaining contestants. On 31 December 2008, Young was featured as a guest on Elton John's Live New Year show at the O2 Arena in London along with that year's X Factor winner Alexandra Burke. He joined Sir Elton in the song "Daniel". Young was one of the performers at the BBC's "Live at Blackpool" programme on BBC Radio 2 on Saturday 5 September 2009. Young's greatest hits collection was released on 16 November 2009. It included two brand new songs, one of them the single "Hopes & Fears". The album was a success on the charts, being certified Platinum by the British Phonographic Industry. In 2010, Young collaborated with Groove Armada on their album Black Light, singing vocals on the track 'History'. As part of his 2010 outdoor summer tour, it was announced that he would be a special guest and play on the Queen's Sandringham Estate, Sandringham in Norfolk. Pop singer Sophie Ellis-Bextor was his supporting act for his 2010 tour. His 2003 song "Leave Right Now" was featured on American Idol as the "departing song". He also performed live on the programme on 25 May 2010. Young gave his first US concert on 26 May at West Hollywood's Ultra Suede nightclub. He was also featured on the cover of the US magazine Instinct. Young was told by someone at the record company to re-record his hit single "Leave Right Now" because he sounded too gay on the track. He didn't realize this but he was made to re-record the song until the record executives were satisfied with it. 2011–2016: Echoes, record label change and 85% Proof In early 2011, Young tweeted teaser clips of tracks from his new album, 'Echoes', which was subsequently released on 22 August 2011 and entered the UK Album charts at number one on 29 August 2011 making it Youngs first number one album since "Friday's Child" in 2003. The first single is called 'Jealousy', and premiered on BBC Radio 2, between 9.00am-12noon, Monday 11 July 2011, as confirmed on Young's Facebook page. The single was released on 21 August 2011, preceding the album by 1 day with the single peaking at No.5. "A Night With...Will Young" was aired two days before the release of Echoes on ITV1 presented by Kate Thornton charting all of Young's greatest hits plus performing a few new tracks from the album. Young appeared on the third episode of the Jonathan Ross Show performing Hearts on Fire from Echoes to further promote the album. Young undertook a 23 date UK tour including 2 nights at London's Shepherd's Bush Empire in Autumn 2011. The second single from Echoes was Come On released in November 2011, with the accompanying video featuring Young performing at a dog show. It was confirmed that Young would appear as one of the four judges on singing competition series The Voice UK although on 12 December 2011 it was reported that Young had been replaced by Danny O'Donoghue at the last minute. He performed a special Christmas concert at the London Palladium in December as the final night of his 2011 performances. The following day it was announced that he would be undertaking summer shows as part of the Forestry Commission's summer concert programme, also at Cornbury Festival. 2012 singles releases were Losing Myself and I Just Want a Lover with trademark unique accompanying videos. On 8 November 2012, it was announced Young had left his record company after being with them since winning Pop Idol over ten years ago and signed with Island Records. On Good Morning Britain, Young announced that he was recording his sixth studio album. On 25 March 2015, he announced on his Instagram account that the title of the new album will be 85% Proof. It was released on 25 May. The final single from 85% Proof was "What the World Needs Now", written by Burt Bacharach, which he released towards the end of 2015 as part of WWF's campaign to raise awareness for declining wildlife populations across the globe. 2019–present: Lexicon, Crying on the Bathroom Floor and 20 Years: The Greatest Hits Young's album Lexicon was released on 21 June. Young also released the lead single "All the Songs" from the album the same day and announced he would be embarking on a tour in October 2019 in support of the album. Young had stated in an interview he had no intentions of releasing any more records as he was focusing on acting and his podcast series, however after going into the studio with old friend and producer Richard X the lead single was recorded and the album naturally followed. On 26 March 2021 Young announced the release of his eighth studio album Crying on the Bathroom Floor, which was released on 6 August 2021. Following the release, Young said: "I loved the idea of creating an album that celebrates some of the modern female artists I so admire in pop. In today's times it's so much easier and accepted to occupy other genders, ideas and explore new avenues. I wanted to understand what it might be like to sing their lyrics. A song about a boy called Daniel; crying on the bathroom floor, feeling like Elizabeth Taylor. This is not a covers album as such, well certainly not in the standard way. I wanted to bring songs from female artists who I admire into a new arena. I wanted to work with Richard X again and create a true pop record." "Daniel", the lead single taken from the album, was released on 26 April 2021, with the official video released on the same day. The second song to be lifted from the album was "Elizabeth Taylor", a cover of the Clare Maguire track which was released on 28 May. The title track (a cover of the 2017 Muna single) was released on 8 July 2021. On 25 October 2021, Young announced the compilation 20 Years: The Greatest Hits for release on 27 May 2022, marking 20 years since he won Pop Idol. The album will include his greatest hits alongside two new tracks. Young also plans to tour in support of the album in October 2022. In January 2022 Young competed in the third series of The Masked Singer as "Lionfish". He was unmasked in the third episode. In June 2023 Young performed, again on the Avalon Stage, at the Glastonbury Festival. Other ventures Acting career Young added acting to his repertoire when he accepted a role in the BBC film Mrs Henderson Presents, starring Judi Dench and Bob Hoskins, in which he played Bertie. The film was released in the UK in November 2005 to excellent reviews—not least for Young's performance as both actor and singer in the film. The scene in which Young appears naked postdated his "absolutely thrilled" acceptance of the British male Rear of the Year Award 2005, an accolade to add to the Most Stylish Male Music Star, Best Bod, Sexiest Star, Best Dressed and Best Hair awards he had already won. Young was an Executive Producer for Ralph Fiennes production of Shakespeare's Coriolanus filmed in Serbia, and his documentary on the making of the film features on its DVD release. He was to have a small role in the film as a reporter on the conflict as well as being Executive Producer, but it was decided that his appearance was a "distraction" and it did not make the final cut of the film. Young trod the boards in the Royal Exchange Theatre's production of The Vortex by Noël Coward. This production ran from January to March 2007 and Young played the leading role of Nicky Lancaster. Critics, including Nicholas de Jongh, were very positive. He recently appeared in the musical Cabaret in London, after a short nationwide tour. This marked his West End debut. He was awarded the What's on Stage award for London Newcomer of the Year. He was also nominated for the 2013 Laurence Olivier Award for Best Actor in a Musical, but lost out to Michael Ball. Young also appeared in the 2010 Marple drama "The Mirror Crack'd from Side to Side" and guest starred in a 2010 episode of Skins. In 2011, he starred in a new drama series on Sky Living called Bedlam, about supernatural happenings taking place at a disused asylum being converted into loft-style apartments. The £3 million six-part series began airing on 7 February 2011. It was distributed by BBC Worldwide. Young was a guest on Top Gear during season 12 episode 2 and set the fastest wet lap around the track in the Chevrolet Lacetti. On 31 October 2011, Young was also the guest host of Never Mind the Buzzcocks. In November 2004, Young presented a documentary entitled Runaways as part of the Children in Need campaign, highlighting the problems facing distressed teens who run away from home, and the plight they were in being picked up off the streets and railway stations by pimps who offered them work and drugs. The children did not know where to go for immediate help unless they were picked up by the police and sent to a refuge centre. During June 2007 a series of documentaries entitled Saving Planet Earth was shown on BBC Television. Young filmed an episode about saving the gorillas of West Africa during his visit to Africa earlier in the year. In March 2009, ITV1 arts programme, The South Bank Show presented an hour long fly on the wall documentary about Young that they had been filming over the course of the year as he returned to promote the Let It Go album. It showed him in Iceland filming the video for the "Let It Go" single, backstage before his performance on The X Factor and on his UK theatre tour from November 2008 amongst other segments. In August 2011, ITV based an hour-long programme on Young, entitled A Night with Will Young. This was to promote the release of his most recent album Echoes. In October 2007, Young narrated an audio version of the Roald Dahl novel Danny, the Champion of the World. Young was made a "Companion" of the Liverpool Institute for Performing Arts in 2009. In January 2023 Young returned to the theatre with the one-man show Song from Far Away, by Olivier Award winner Simon Stephens and Mark Eitzel, at the HOME Theatre in Manchester. Other activities On 27 October 2008, Young spoke on Celebrity at the Oxford Union, where he showed an interest in forming a band named 'Will Young and the Credit Crunchers'. He was invited to appear on Question Time after he revealed he was a fan of the show. He participated in the edition from Dunstable, Bedfordshire, in February 2009 and March 2012. Young supports the charity Women's Aid, about which he wrote, "I am proud to put my name beside this cause, and hope that I might be able to help more people affected by the terrors of domestic violence, as well as help to create a wider awareness within our society." Young also supports Mencap, about which he wrote, "I'm very much in this for the long term, and I'd like to help continue to break down peoples' misconceptions and prejudices". He also supports The Children's Society Safe and Sound Campaign, and Positive Action Southwest (PASW), for which he performed at his first solo concert, in July 2003, at Killerton House, Exeter. Young has been an ambassador for the Prince's Trust since 2002, and performed at the 30th anniversary concert in the grounds of the Tower of London. Together with Dame Helen Mirren, Helena Bonham Carter and Martin Freeman, Young appeared in a series of advertisements during the Christmas period 2007 for Oxfam; "Oxfam Unwrapped". Young is the ambassador for Mood Foundation, a charity which aims to build a database of private therapists and alternative therapies to treat various types of depressive conditions. It was set up by Young's twin brother Rupert Young. Young is an ambassador for Catch22, a UK young people's charity, which supports young people in tough situations. The young people may come from tough upbringings or districts, where poverty, crime and unemployment are common features. They may be leaving care, truanting, or have been excluded from school. Some of them have started getting into trouble with the police or may have got as far as custody. In April 2011 Young ran the London Marathon for Catch22, competing again for the charity in 2012. On 18 April 2012, Young confirmed he would be releasing his first autobiography. The book was published by Sphere on 11 October 2012 entitled Funny Peculiar. As of March 2014, Young accepted the opportunity to become a spokesperson for the non-for-profit charity organisation gAID. Similar to Woman AID, gAID focuses on domestic violence in homosexual relationships. In August 2016, Young was announced as a contestant participating in the fourteenth series of Strictly Come Dancing. After having competed, with professional dancer Karen Clifton, over the first three weeks of the show, on 11 October he announced that he was quitting the show for "personal reasons". Young is a longtime supporter of wildlife charities, including WWF. He released What the World Needs Now in late 2015, from the album 85% Proof, to raise awareness and funds for declining wildlife populations around the world, saying, "It's shocking to think that in my lifetime global wildlife populations have declined by over 50% and our forests and oceans remain at risk." The music video, produced by WWF, was aired on UK television in late 2015. Young confirmed on 1 September 2020 during BBC2's Newsnight interview that his new book To Be a Gay Man would be published by Virgin Books on 3 September 2020. In it, he writes of the Chris Moyles "rampage of homophobia" in 2009, live on BBC Radio 1, which left Young "aghast" and unable to speak out against it at the time. In November 2021, Young handcuffed himself to a gate, joining a protest at Camp Beagle. Following the death of his twin, Rupert, Young presented a Channel 4 documentary, titled Will Young: Losing My Twin Rupert. The documentary, airing on 10 May 2022, was rated 4/5 stars by The Guardian. Young was praised by viewers and critics for being so open and honest about Rupert's addiction and suicide. Personal life In March 2002 after winning Pop Idol, Young publicly came out as gay, pre-empting a tabloid newspaper from outing him. He also stated that he had never hidden it and was comfortable with his sexual orientation. As of 2017, Young was in a relationship. Young's main home is a house in Dalston, East London. He also owns a 17th-century cottage in the middle of Bodmin Moor, Cornwall, where he is a keen gardener. On 30 July 2020, it was confirmed that Young's twin brother, Rupert, had died, aged 41. A spokesperson for the family said, "Will's relationship with Rupert had been tough over the years at times, and they had both spoken about the mental health problems which had made it challenging ... there were hopes he had turned a corner and they are a very loving family – and utterly devastated by his passing." In 2020, Young rescued two dogs from America who had been facing euthanasia. Domino, aged four, a half Bullmastiff, half Dalmatian and Diamond, aged three, a pit bull–Labrador cross. In April 2021 Young spoke about his experiences at his prep school, Horris Hill Preparatory School in Newbury, saying he had had PTSD. He said, "I've been thinking a lot about prep school, and wondering if any of those institutions will be brought to justice for the things that I saw happen ... kids thrown against radiators. Other things I can't talk about." Young also remembered drunk teachers "rolling around dormitories", and one "you wouldn't go for a ride with ... Teachers looking at our penises in the shower, in the bath ... There was such a sense of injustice from things that I experienced and witnessed ... I think I escaped – not that it didn't damage me." Discography From Now On (2002) Friday's Child (2003) Keep On (2005) Let It Go (2008) Echoes (2011) 85% Proof (2015) Lexicon (2019) Crying on the Bathroom Floor (2021) Tours Headlining Will Young Live Keep On Live Let It Go Tour The Hits Tour Echoes Tour Love Revolution Tour An Evening with Will Young An Intimate Evening with Will Young 20 Years Tour Co-headlining Pop Idol Tour (with Jessica Garlick, Korben, Zoe Birkett, Gareth Gates, Hayley Evetts, Laura Doherty, Aaron Bayley, Darius Danesh and Rosie Ribbons) Will & Gareth Live (with Gareth Gates) Filmography Accolades BT Digital Music Awards Launched in 2002, the BT Digital Music Awards were held annually in the United Kingdom. !Ref. |- |2003 |rowspan=2|Himself |rowspan=2|Artist of the Year | | |- | rowspan=4|2004 | | |- | "Friday's Child" | Best Music Video | | Brit Awards The Brit Awards are the British Phonographic Industry's (BPI) annual pop music awards. !Ref. |- | rowspan=3|2003 | "Anything is Possible" |British Single of the Year | |rowspan=3| |- | rowspan=4|Himself |British Breakthrough Act | |- |Best Pop Act | |- |2004 | rowspan=2|British Male Solo Artist | | |- |rowspan=3|2005 | |rowspan=3| |- |"Leave Right Now" | British Song of 25 Years | |- |"Your Game" |British Single of the Year | |- |2006 | Himself | British Male Solo Artist | | |- |2007 |"All Time Love" |British Single of the Year | | |- |2009 | Himself | British Male Solo Artist | | British LGBT Awards !Ref. |- | 2022 | Himself | Music Artist | Nominated | Gay Music Chart Awards !Ref. |- | rowspan=4|2015 | rowspan=4|"Brave Man" | Best Transgender Music Video | | rowspan=4| |- | Best Song/Music Video with a Message | |- | Best Song | |- | Best British Music Video | Camerimage Camerimage is a Polish film festival dedicated to the celebration of cinematography. !Ref. |- |2008 |"Changes" | Best Cinematography | | D&AD Awards Design and Art Direction (D&AD) is a British educational charity which exists to promote excellence in design and advertising. !Ref. |- | rowspan=2|2009 | rowspan=2|"Changes" | Best Music Video | style="background:#BF8040"| Wood Pencil | |- | Best Cinematography | style="background:#FFBF00"| Yellow Pencil | Popjustice £20 Music Prize The Popjustice £20 Music Prize is an annual prize awarded by a panel of judges organized by music Web site Popjustice to the singer(s) of the best British pop single of the past year. To qualify, a single must be by (a) British artist(s) and have been released within the 12 months before the award nominations in July. ! Ref. |- | 2004 | "Leave Right Now" | rowspan=3|Best British Pop Single | | rowspan=3| |- | 2006 | "Who Am I" | |- | 2012 | "Jealousy" | Silver Clef Awards !Ref. |- | 2004 | Himself | Artist of the Year | | Smash Hits Poll Winners Party The Smash Hits Poll Winners Party was an awards ceremony held annually by British magazine Smash Hits, and broadcast on BBC One. !Ref. |- | rowspan=6|2002 | rowspan=4|Himself | Best Newcomer | |rowspan=6| |- | Best Live Act | |- | Most Fanciable Male | |- | Best Male Solo | |- | "Evergreen" | Best Single | |- | From Now On | rowspan=2|Best Album | |- | 2004 | Friday's Child | | The Record of the Year The Record of the Year was an award voted by the UK public. The award began in 1998, and was televised on ITV before being dropped in 2006 after disagreements over the phone voting element. Since then it has been an online poll, administered through the Record of the Year website. In 2013, it was axed, signaling the end of the award. ! Ref. |- | 2002 | "Evergreen" | rowspan=2|The Record of the Year | | rowspan=2| |- | 2004 | "Leave Right Now" | Top of the Pops Awards The Top of the Pops Awards were awarded annually by television programme Top of the Pops. !Ref. |- | rowspan=4|2002 | rowspan=3|Himself | Top Fan Site | | |- | Best Pop Act | | |- | Best Newcomer | | |- | "Evergreen" | Best Single | | |- | rowspan=6|2003 | rowspan=4|Himself | Singer of the Year | | |- | Best Newcomer | | |- | Best Official Site | | |- | Best Fan Site | | |- | rowspan=2|"Leave Right Now" | Song of the Year | | |- | Video of the Year | | UK Music Video Awards The UK Music Video Awards is an annual award ceremony founded in 2008 to recognise creativity, technical excellence and innovation in music videos and moving images for music. ! Ref. |- | 2008 | rowspan=2|"Changes" | UK Music Video Awards - People's Choice Award | |rowspan=5| |- | rowspan=3|2009 | rowspan=2|Best Pop Video | |- | rowspan=2|"Let It Go" | |- | Best Cinematography In A Video | |- | rowspan=3|2012 | rowspan=3|"Losing Myself" | Best Choreography in a Video | |- | Best Pop Video - UK | |rowspan=2| |- | Best Telecine in a Video | Laurence Olivier Awards The Laurence Olivier Award is presented annually by the Society of London Theatre (SLT) to recognize excellence in professional theater. Named after the renowned British actor Laurence Olivier, the awards are a UK equivalent of Broadway's Tony Awards. ! Ref. |- | 2013 | Cabaret | Laurence Olivier Award for Best Actor in a Musical | | See also List of British actors References External links Official website Will Young discography at Discogs. . Will Young Tour Review on the Daily Music Guide, 6 November 2008. The Big Interview on Monocle 24 with Georgina Godwin Interview with Will Young on the Daily Music Guide, 8 November 2008. 1979 births Living people 21st-century English male actors 21st-century English male singers 19 Recordings artists Alumni of the University of Exeter Brit Award winners English feminists English male film actors English male stage actors English pop singers English gay actors English gay musicians Feminist musicians Jive Records artists English LGBT singers Gay singers Gay feminists Musicians from Berkshire People educated at the Arts Educational Schools People educated at Wellington College, Berkshire People from Hungerford Musicians from Reading, Berkshire Male actors from Reading, Berkshire People from Wokingham People with post-traumatic stress disorder Pop Idol winners RCA Records artists Twin male actors Twin musicians English twins 20th-century English LGBT people 21st-century English LGBT people BT Digital Music Awards winners
Claro Duany Yedra (August 12, 1917 – March 28, 1997) was a Cuban professional baseball player. He played from 1944 to 1952. References External links and Seamheads Negro League Baseball Players Association 1917 births 1997 deaths New York Cubans players Industriales de Monterrey players Sherbrooke Athletics players Rojos del Águila de Veracruz players Diablos Rojos del México players Tampa Smokers players Havana Cubans players Cuban expatriate baseball players in Canada Cuban expatriate baseball players in Mexico Cuban expatriate baseball players in the United States People from Caibarién Sportspeople from Villa Clara Province Cuban expatriate baseball players in Nicaragua
Zhoa is a town and commune in Cameroon. Zhoa is one of the Communes in the North Western Region of Cameroon. Main Towns in the menchum division include Weh (We in French), Esu, and Zhoa. Zhao is the administrative capital of the Zhoa Commune. Zhoa is found in the Menchum Division and the headquarters of the Fungom Subdivision. The Zhoa people speak the Zhoa language. References Site de la primature - Élections municipales 2002 Contrôle de gestion et performance des services publics communaux des villes camerounaises - Thèse de Donation Avele, Université Montesquieu Bordeaux IV Charles Nanga, La réforme de l’administration territoriale au Cameroun à la lumière de la loi constitutionnelle n° 96/06 du 18 janvier 1996, Mémoire ENA. Populated places in Northwest Region (Cameroon) Communes of Cameroon
Seileria is a monotypic moth genus in the subfamily Arctiinae. Its single species, Seileria eucyaniformis, is found in Colombia. Both the genus and species were first described by Paul Dognin in 1923. References Arctiinae
Axel Tony (born in Colombes in 1984) is a French singer of mixed Cameroonian / Martinique / Vietnamese origin. He is signed to Universal Music France. Career Axel Tony was born to a Cameroonian father and a Martiniquais-born mother (of Vietnamese descent) and grew up on a mix of African rhythms, zouk and R&B music. His father Tonye Jackson was a well-known singer in Cameroon and a choir director. As an adolescent, he took part in the choir "We Are One" that included a number of known artists and appeared on a number of variety programmes on French television. In 2006, he joined as a backing vocals for rapper Diam's on her European tour performing on around 50 venues in France, Belgium and Switzerland. Other gigs included backing vocals for rapper Kery James singing on James' "Lettre à mon public" as a single solo backing vocals in the refrains. In 2009–2010, he branche to zouk collaborating with zouk artists Thayna and Imélie Monteiro, featured in their hit "Elle ou moi" written by Talina. Following the commercial success of the song, he toured in France and the Antilles and started working on a solo album project. Called Zouk et plus si affinité it is a mix of zouk, soul, R&B and gospel elements. Collaborations included Kayliah, Talina, Stony, and young artists Erika Azur and Jahmikal. The debut official single from the album "Les feux de l'amour" followed by "Pause Kizomba". His greatest commercial success though came with "Avec Toi" that featured Tunisiano reaching No. 7 in SNEP French Singles Chart. Discography Albums Singles Other singles 2011: "Les feux de l'amour" 2011: "Pause Kizomba" 2013: "Sensualité" (with Sheryfa Luna) 2016: "Je t'aimais, je t'aime, je t'aimerai" Featured in References External links Official website Twitter French-language singers 1984 births Living people Black French musicians French people of Cameroonian descent French people of Martiniquais descent People from Colombes French people of Vietnamese descent 21st-century French singers 21st-century French male singers
Don Michael Dowdle (December 6, 1937December 5, 1993) was an American football fullback and linebacker in the National Football League (NFL) for the Dallas Cowboys and San Francisco 49ers. He played college football at the University of Texas. Early years Dowdle attended Graham High School, where he practiced football and track. He accepted a football scholarship from the University of Texas, becoming a starter at fullback and the team's leader in rushing yards (429 yards) as a sophomore. He was a two-way player and was also a starting linebacker. As a senior, he was moved to halfback. Professional career San Francisco 49ers (first stint) Dowdle was selected by the San Francisco 49ers in the fifteenth round (179th overall) of the 1960 NFL Draft. He was tried at fullback and eventually waived on September 13. Dallas Cowboys In 1960, he was claimed off waivers by the Dallas Cowboys and was used for returning kickoffs. In 1962, he was switched to linebacker and became the starter at outside linebacker for the last 6 games of the season. The next year, he started 14 games at strongside linebacker. On April 30, 1963, he was traded to the San Francisco 49ers in exchange for defensive back Jim Ridlon. He was replaced in the starting lineup with Dave Edwards. San Francisco 49ers (second stint) Dowdle was the San Francisco 49ers' starting middle linebacker for three seasons, until 1966 when he was passed on the depth chart by Ed Beard. On May 18, 1967, he was traded to the Pittsburgh Steelers in exchange for a draft choice (not exercised), but he refused to report to the team. References External links 1937 births 1993 deaths People from Young County, Texas Players of American football from Texas American football linebackers American football fullbacks Texas Longhorns football players San Francisco 49ers players Dallas Cowboys players
```java /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * published by the Free Software Foundation. Oracle designates this * particular file as subject to the "Classpath" exception as provided * by Oracle in the LICENSE file that accompanied this code. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ package com.oracle.svm.hosted; public class ByteFormattingUtil { private static final double BYTES_TO_KiB = 1024d; private static final double BYTES_TO_MiB = 1024d * 1024d; private static final double BYTES_TO_GiB = 1024d * 1024d * 1024d; public static String bytesToHuman(long bytes) { return bytesToHuman("%4.2f", bytes); } public static String bytesToHuman(String format, long bytes) { if (bytes < BYTES_TO_KiB) { return String.format(format, (double) bytes) + "B"; } else if (bytes < BYTES_TO_MiB) { return String.format(format, bytesToKiB(bytes)) + "kB"; } else if (bytes < BYTES_TO_GiB) { return String.format(format, bytesToMiB(bytes)) + "MB"; } else { return String.format(format, bytesToGiB(bytes)) + "GB"; } } static double bytesToKiB(long bytes) { return bytes / BYTES_TO_KiB; } static double bytesToGiB(long bytes) { return bytes / BYTES_TO_GiB; } static double bytesToMiB(long bytes) { return bytes / BYTES_TO_MiB; } } ```
```yaml # Verify with_items that modifies the execution environment still executes in # the correct context. - name: integration/playbook_semantics/with_items.yml hosts: test-targets tasks: # TODO: path_to_url # - name: Spin up a few interpreters # shell: whoami # become: true # vars: # ansible_become_user: "mitogen__user{{item}}" # with_sequence: start=1 end=3 # register: first_run # - name: Reuse them # shell: whoami # become: true # vars: # ansible_become_user: "mitogen__user{{item}}" # with_sequence: start=1 end=3 # register: second_run # - name: Verify first and second run matches expected username. # assert: # that: # - first_run.results[item|int].stdout == ("mitogen__user%d" % (item|int + 1)) # - first_run.results[item|int].stdout == second_run.results[item|int].stdout # with_sequence: start=0 end=2 tags: - custom_python_new_style_module ```
```java /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * published by the Free Software Foundation. Oracle designates this * particular file as subject to the "Classpath" exception as provided * by Oracle in the LICENSE file that accompanied this code. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ package jdk.graal.compiler.nodeinfo.processor; import javax.lang.model.element.Element; /** * Denotes an error encountered while processing an element. */ @SuppressWarnings("serial") public class ElementException extends RuntimeException { public final Element element; public ElementException(Element element, String format, Object... args) { super(String.format(format, args)); this.element = element; } } ```
The men's 96 kilograms competition at the 2022 Asian Games will take place on 5 October 2023 at the Xiaoshan Sports Center Gymnasium. Schedule All times are China Standard Time (UTC+08:00) Records Results New records References External links Group A Start List Group A Results Group B Results Men's 96 kg
```python #!/usr/bin/env python import os, pathlib, sys def generate(private, public): return f'{{ include: [ "{private}", "private", "<{public}>", "public" ] }}' def panic(file): print(f'========== {__file__} error ==========', file=sys.stderr) print(f'\tFile \'{file}\' is a top-level detail header without a mapping', file=sys.stderr) sys.exit(1) def generate_map(include): detail_files = [] detail_directories = [] c_headers = [] for i in include.iterdir(): if i.is_dir() and i.name.startswith('__'): detail_directories.append(f'{i.name}') continue if i.name.startswith('__'): detail_files.append(i.name) continue if i.name.endswith('.h'): c_headers.append(i.name) result = [] temporary_mappings = {'__tuple_dir': 'tuple'} for i in detail_directories: public_header = temporary_mappings.get(i, i.lstrip('_')) result.append(f'{generate(f"@<{i}/.*>", public_header)},') for i in detail_files: public = [] if i == '__assert': continue elif i == '__availability': continue elif i == '__bit_reference': continue elif i == '__bits': public = ['bits'] elif i == '__bsd_locale_defaults.h': continue elif i == '__bsd_locale_fallbacks.h': continue elif i == '__config_site.in': continue elif i == '__config': continue elif i == '__debug': continue elif i == '__errc': continue elif i == '__hash_table': public = ['unordered_map', 'unordered_set'] elif i == '__locale': public = ['locale'] elif i == '__mbstate_t.h': continue elif i == '__mutex_base': continue elif i == '__node_handle': public = ['map', 'set', 'unordered_map', 'unordered_set'] elif i == '__split_buffer': public = ['deque', 'vector'] elif i == '__std_stream': public = ['iostream'] elif i == '__threading_support': public = ['atomic', 'mutex', 'semaphore', 'thread'] elif i == '__tree': public = ['map', 'set'] elif i == '__undef_macros': continue elif i == '__verbose_abort': continue else: panic() for p in public: result.append(f'{generate(f"<{i}>", p)},') result.sort() return result def main(): monorepo_root = pathlib.Path(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))) assert(monorepo_root.exists()) include = pathlib.Path(os.path.join(monorepo_root, 'libcxx', 'include')) mapping = generate_map(include) data = '[\n ' + '\n '.join(mapping) + '\n]\n' with open(f'{include}/libcxx.imp', 'w') as f: f.write(data) if __name__ == '__main__': main() ```
The 1964 CONMEBOL Pre-Olympic Tournament took place during May and June 1964. It was the 2nd CONMEBOL Pre-Olympic Tournament. Bolivia, Paraguay and Venezuela did not participate. Argentina and Brazil qualified for the 1964 Summer Olympics. It is estimated that 328 people died in a stampede during the match between Argentina and Peru on 24 May 1964. Group stage Playoff Brazil qualified for 1964 Summer Olympics. References CONMEBOL Pre-Olympic Tournament 1964 in association football
The University of Education, Winneba (UEW) is a university in Winneba, Central Region of Ghana. It was established in 1992 by a government ordinance (PNDC Law 322) and with a relationship with the University of Cape Coast. Its main aim is to train teachers for the education system of Ghana. The University of Education, Winneba is charged with the responsibility of teacher education and producing professional educators to spearhead a new national vision of education aimed at redirecting Ghana's efforts along the path of rapid economic and social development. The University of Education, Winneba is expected to play a leading role in Ghana's drive to produce scholars whose knowledge would be fully responsive to the realities and exigencies of contemporary Ghana. Organisation The university has twenty-nine academic departments and centers, seven faculties. It also has 18 distance education regional study centers throughout Ghana. In addition to three campuses in Winneba where its administrative office is located, the university has one extra campuse in addition to over 20 study centers: The College of Languages Education – Ajumako Campus College of Languages Education The Ajumako Campus currently hosts the students of the Department of Akan-Nzema Education, Ewe Education, Ga–Dangme Education of The Faculty of Languages Education. Gradually the Faculty of Languages Education will move from the Winneba Campus to the Ajumako Campus and will eventually become the College of Languages Education. Faculty of Languages Education Department of Akan-Nzema Education Department of Applied Linguistics Department of English Education Department of French Education Department of Gur - Gonja Education Department of Ewe Education The Winneba Campus – Main Campus The Winneba Campus is the main campus of the university and is spread over three sites (North, Central and South) within the Effutu Municipality. The central administration of the university is located at the South Campus. The Winneba Campus hosts the following faculties, schools, institute, centers and offices: Faculty of Social Sciences Education Department of Health, Physical Education, Recreation and Sports Education Department of Home Economics Departments of Mathematics Education Department of Biology Education Department of Social Science Education Department of Social Studies Education Department of Business Administration Department of Health Administration and Education Institutes and schools School of Creative Arts Department of Art Education Department of Graphic Design Department of Music School Department of Theatre Arts Institute for Educational Development and Extension Center for Continuing Education Center for Distance Education Center for Teacher Development and Action Research Institutes for Educational Research and Innovation Studies (IERIS) National Center for Research into Basic Education (NCRIBE) Center for Educational Policy Studies (CEPS) Center for School and Community Science and Technology Studies (SACOST) Campuses It is a multi-campus, multi-site university. It has six campuses, three at Winneba and one at Ajumako in the Central Region of Ghana, and the other two at Kumasi and Mampong respectively, both in the Ashanti Region. As a multi-campus, multi-site university with campuses and learning centres in other parts of the country, UEW has six Faculties, one institute and two centres of the university provide programmes in the areas of Science and Mathematics Education, Technology and Business Education, Agriculture Education, Home Economics Education, Cultural Studies, Creative Arts Education, Guidance and Counselling and Educational Administration and Leadership. Memorandum of Understanding In May 2021, the institution signed an MoU with an NGO called Transforming Teaching, Education and Learning to improve education. The MoU was signed at the Council Chamber of the North Campus of the institution. The project was funded by the MasterCard Foundation. References External links Official website Ghana Students Uew Forum University of Education, Winneba Educational institutions established in 1992 1992 establishments in Ghana Central Region (Ghana)
Magnolia High School can refer to any of the following educational institutions: Magnolia High School (Arkansas) in Magnolia, Arkansas Magnolia High School (California) in Anaheim, California Magnolia High School (Texas) in Magnolia, Texas Magnolia High School (West Virginia) in New Martinsville, West Virginia
Najdymowo is a village in the administrative district of Gmina Biskupiec, within Olsztyn County, Warmian-Masurian Voivodeship, in northern Poland. It lies approximately north-west of Biskupiec and north-east of the regional capital Olsztyn. References Najdymowo
```objective-c #pragma once #include "i_gid_to_lid_change_listener.h" #include <vespa/searchlib/attribute/reference_attribute.h> #include <vespa/vespalib/util/retain_guard.h> #include <vespa/vespalib/util/sequencedtaskexecutor.h> namespace proton { /* * Class for listening to changes in mapping from gid to lid and updating * reference attribute appropriately. */ class GidToLidChangeListener : public IGidToLidChangeListener { vespalib::ISequencedTaskExecutor &_executor; vespalib::ISequencedTaskExecutor::ExecutorId _executorId; std::shared_ptr<search::attribute::ReferenceAttribute> _attr; vespalib::RetainGuard _retainGuard; std::string _name; std::string _docTypeName; public: GidToLidChangeListener(vespalib::ISequencedTaskExecutor &attributeFieldWriter, std::shared_ptr<search::attribute::ReferenceAttribute> attr, vespalib::RetainGuard refCount, const std::string &name, const std::string &docTypeName); ~GidToLidChangeListener() override; void notifyPutDone(IDestructorCallbackSP context, document::GlobalId gid, uint32_t lid) override; void notifyRemove(IDestructorCallbackSP context, document::GlobalId gid) override; void notifyRegistered(const std::vector<document::GlobalId>& removes) override; const std::string &getName() const override; const std::string &getDocTypeName() const override; const std::shared_ptr<search::attribute::ReferenceAttribute> &getReferenceAttribute() const { return _attr; } }; } // namespace proton ```
```objective-c // This file was generated by the create_regs script #define APERF1_BASE 0x7ee08000 #define APERF1_APB_ID 0x41584950 #define APERF1_GEN_CTRL HW_REGISTER_RW( 0x7ee08000 ) #define APERF1_GEN_CTRL_MASK 0x00000003 #define APERF1_GEN_CTRL_WIDTH 2 #define APERF1_GEN_CTRL_RESET 0000000000 #define APERF1_GEN_CTRL_ENABLE_BITS 0:0 #define APERF1_GEN_CTRL_ENABLE_SET 0x00000001 #define APERF1_GEN_CTRL_ENABLE_CLR 0xfffffffe #define APERF1_GEN_CTRL_ENABLE_MSB 0 #define APERF1_GEN_CTRL_ENABLE_LSB 0 #define APERF1_GEN_CTRL_ENABLE_RESET 0x0 #define APERF1_GEN_CTRL_RESET_BITS 1:1 #define APERF1_GEN_CTRL_RESET_SET 0x00000002 #define APERF1_GEN_CTRL_RESET_CLR 0xfffffffd #define APERF1_GEN_CTRL_RESET_MSB 1 #define APERF1_GEN_CTRL_RESET_LSB 1 #define APERF1_GEN_CTRL_RESET_RESET 0x0 #define APERF1_BW0_CTRL HW_REGISTER_RW( 0x7ee08040 ) #define APERF1_BW0_CTRL_MASK 0xf0001f1f #define APERF1_BW0_CTRL_WIDTH 32 #define APERF1_BW0_CTRL_RESET 0000000000 #define APERF1_BW0_CTRL_BUS_BITS 4:0 #define APERF1_BW0_CTRL_BUS_SET 0x0000001f #define APERF1_BW0_CTRL_BUS_CLR 0xffffffe0 #define APERF1_BW0_CTRL_BUS_MSB 4 #define APERF1_BW0_CTRL_BUS_LSB 0 #define APERF1_BW0_CTRL_BUS_RESET 0x0 #define APERF1_BW0_CTRL_ID_BITS 12:8 #define APERF1_BW0_CTRL_ID_SET 0x00001f00 #define APERF1_BW0_CTRL_ID_CLR 0xffffe0ff #define APERF1_BW0_CTRL_ID_MSB 12 #define APERF1_BW0_CTRL_ID_LSB 8 #define APERF1_BW0_CTRL_ID_RESET 0x0 #define APERF1_BW0_CTRL_LATHALT_BITS 28:28 #define APERF1_BW0_CTRL_LATHALT_SET 0x10000000 #define APERF1_BW0_CTRL_LATHALT_CLR 0xefffffff #define APERF1_BW0_CTRL_LATHALT_MSB 28 #define APERF1_BW0_CTRL_LATHALT_LSB 28 #define APERF1_BW0_CTRL_LATHALT_RESET 0x0 #define APERF1_BW0_CTRL_ID_EN_BITS 29:29 #define APERF1_BW0_CTRL_ID_EN_SET 0x20000000 #define APERF1_BW0_CTRL_ID_EN_CLR 0xdfffffff #define APERF1_BW0_CTRL_ID_EN_MSB 29 #define APERF1_BW0_CTRL_ID_EN_LSB 29 #define APERF1_BW0_CTRL_ID_EN_RESET 0x0 #define APERF1_BW0_CTRL_EN_BITS 30:30 #define APERF1_BW0_CTRL_EN_SET 0x40000000 #define APERF1_BW0_CTRL_EN_CLR 0xbfffffff #define APERF1_BW0_CTRL_EN_MSB 30 #define APERF1_BW0_CTRL_EN_LSB 30 #define APERF1_BW0_CTRL_EN_RESET 0x0 #define APERF1_BW0_CTRL_RESET_BITS 31:31 #define APERF1_BW0_CTRL_RESET_SET 0x80000000 #define APERF1_BW0_CTRL_RESET_CLR 0x7fffffff #define APERF1_BW0_CTRL_RESET_MSB 31 #define APERF1_BW0_CTRL_RESET_LSB 31 #define APERF1_BW0_CTRL_RESET_RESET 0x0 #define APERF1_BW0_ATRANS HW_REGISTER_RO( 0x7ee08044 ) #define APERF1_BW0_ATRANS_MASK 0xffffffff #define APERF1_BW0_ATRANS_WIDTH 32 #define APERF1_BW0_ATRANS_RESET 0000000000 #define APERF1_BW0_ATWAIT HW_REGISTER_RO( 0x7ee08048 ) #define APERF1_BW0_ATWAIT_MASK 0xffffffff #define APERF1_BW0_ATWAIT_WIDTH 32 #define APERF1_BW0_ATWAIT_RESET 0000000000 #define APERF1_BW0_AMAX HW_REGISTER_RO( 0x7ee0804c ) #define APERF1_BW0_AMAX_MASK 0x00ffffff #define APERF1_BW0_AMAX_WIDTH 24 #define APERF1_BW0_AMAX_RESET 0000000000 #define APERF1_BW0_WTRANS HW_REGISTER_RO( 0x7ee08050 ) #define APERF1_BW0_WTRANS_MASK 0xffffffff #define APERF1_BW0_WTRANS_WIDTH 32 #define APERF1_BW0_WTRANS_RESET 0000000000 #define APERF1_BW0_WTWAIT HW_REGISTER_RO( 0x7ee08054 ) #define APERF1_BW0_WTWAIT_MASK 0xffffffff #define APERF1_BW0_WTWAIT_WIDTH 32 #define APERF1_BW0_WTWAIT_RESET 0000000000 #define APERF1_BW0_WMAX HW_REGISTER_RO( 0x7ee08058 ) #define APERF1_BW0_WMAX_MASK 0x00ffffff #define APERF1_BW0_WMAX_WIDTH 24 #define APERF1_BW0_WMAX_RESET 0000000000 #define APERF1_BW0_RTRANS HW_REGISTER_RO( 0x7ee0805c ) #define APERF1_BW0_RTRANS_MASK 0xffffffff #define APERF1_BW0_RTRANS_WIDTH 32 #define APERF1_BW0_RTRANS_RESET 0000000000 #define APERF1_BW0_RTWAIT HW_REGISTER_RO( 0x7ee08060 ) #define APERF1_BW0_RTWAIT_MASK 0xffffffff #define APERF1_BW0_RTWAIT_WIDTH 32 #define APERF1_BW0_RTWAIT_RESET 0000000000 #define APERF1_BW0_RMAX HW_REGISTER_RO( 0x7ee08064 ) #define APERF1_BW0_RMAX_MASK 0x00ffffff #define APERF1_BW0_RMAX_WIDTH 24 #define APERF1_BW0_RMAX_RESET 0000000000 #define APERF1_BW0_RPEND HW_REGISTER_RO( 0x7ee08068 ) #define APERF1_BW0_RPEND_MASK 0x000000ff #define APERF1_BW0_RPEND_WIDTH 8 #define APERF1_BW0_RPEND_RESET 0000000000 #define APERF1_BW1_CTRL HW_REGISTER_RW( 0x7ee08080 ) #define APERF1_BW1_CTRL_MASK 0xf0001f1f #define APERF1_BW1_CTRL_WIDTH 32 #define APERF1_BW1_CTRL_RESET 0000000000 #define APERF1_BW1_CTRL_BUS_BITS 4:0 #define APERF1_BW1_CTRL_BUS_SET 0x0000001f #define APERF1_BW1_CTRL_BUS_CLR 0xffffffe0 #define APERF1_BW1_CTRL_BUS_MSB 4 #define APERF1_BW1_CTRL_BUS_LSB 0 #define APERF1_BW1_CTRL_BUS_RESET 0x0 #define APERF1_BW1_CTRL_ID_BITS 12:8 #define APERF1_BW1_CTRL_ID_SET 0x00001f00 #define APERF1_BW1_CTRL_ID_CLR 0xffffe0ff #define APERF1_BW1_CTRL_ID_MSB 12 #define APERF1_BW1_CTRL_ID_LSB 8 #define APERF1_BW1_CTRL_ID_RESET 0x0 #define APERF1_BW1_CTRL_LATHALT_BITS 28:28 #define APERF1_BW1_CTRL_LATHALT_SET 0x10000000 #define APERF1_BW1_CTRL_LATHALT_CLR 0xefffffff #define APERF1_BW1_CTRL_LATHALT_MSB 28 #define APERF1_BW1_CTRL_LATHALT_LSB 28 #define APERF1_BW1_CTRL_LATHALT_RESET 0x0 #define APERF1_BW1_CTRL_ID_EN_BITS 29:29 #define APERF1_BW1_CTRL_ID_EN_SET 0x20000000 #define APERF1_BW1_CTRL_ID_EN_CLR 0xdfffffff #define APERF1_BW1_CTRL_ID_EN_MSB 29 #define APERF1_BW1_CTRL_ID_EN_LSB 29 #define APERF1_BW1_CTRL_ID_EN_RESET 0x0 #define APERF1_BW1_CTRL_EN_BITS 30:30 #define APERF1_BW1_CTRL_EN_SET 0x40000000 #define APERF1_BW1_CTRL_EN_CLR 0xbfffffff #define APERF1_BW1_CTRL_EN_MSB 30 #define APERF1_BW1_CTRL_EN_LSB 30 #define APERF1_BW1_CTRL_EN_RESET 0x0 #define APERF1_BW1_CTRL_RESET_BITS 31:31 #define APERF1_BW1_CTRL_RESET_SET 0x80000000 #define APERF1_BW1_CTRL_RESET_CLR 0x7fffffff #define APERF1_BW1_CTRL_RESET_MSB 31 #define APERF1_BW1_CTRL_RESET_LSB 31 #define APERF1_BW1_CTRL_RESET_RESET 0x0 #define APERF1_BW1_ATRANS HW_REGISTER_RO( 0x7ee08084 ) #define APERF1_BW1_ATRANS_MASK 0xffffffff #define APERF1_BW1_ATRANS_WIDTH 32 #define APERF1_BW1_ATRANS_RESET 0000000000 #define APERF1_BW1_ATWAIT HW_REGISTER_RO( 0x7ee08088 ) #define APERF1_BW1_ATWAIT_MASK 0xffffffff #define APERF1_BW1_ATWAIT_WIDTH 32 #define APERF1_BW1_ATWAIT_RESET 0000000000 #define APERF1_BW1_AMAX HW_REGISTER_RO( 0x7ee0808c ) #define APERF1_BW1_AMAX_MASK 0x00ffffff #define APERF1_BW1_AMAX_WIDTH 24 #define APERF1_BW1_AMAX_RESET 0000000000 #define APERF1_BW1_WTRANS HW_REGISTER_RO( 0x7ee08090 ) #define APERF1_BW1_WTRANS_MASK 0xffffffff #define APERF1_BW1_WTRANS_WIDTH 32 #define APERF1_BW1_WTRANS_RESET 0000000000 #define APERF1_BW1_WTWAIT HW_REGISTER_RO( 0x7ee08094 ) #define APERF1_BW1_WTWAIT_MASK 0xffffffff #define APERF1_BW1_WTWAIT_WIDTH 32 #define APERF1_BW1_WTWAIT_RESET 0000000000 #define APERF1_BW1_WMAX HW_REGISTER_RO( 0x7ee08098 ) #define APERF1_BW1_WMAX_MASK 0x0000ffff #define APERF1_BW1_WMAX_WIDTH 16 #define APERF1_BW1_WMAX_RESET 0000000000 #define APERF1_BW1_RTRANS HW_REGISTER_RO( 0x7ee0809c ) #define APERF1_BW1_RTRANS_MASK 0xffffffff #define APERF1_BW1_RTRANS_WIDTH 32 #define APERF1_BW1_RTRANS_RESET 0000000000 #define APERF1_BW1_RTWAIT HW_REGISTER_RO( 0x7ee080a0 ) #define APERF1_BW1_RTWAIT_MASK 0xffffffff #define APERF1_BW1_RTWAIT_WIDTH 32 #define APERF1_BW1_RTWAIT_RESET 0000000000 #define APERF1_BW1_RMAX HW_REGISTER_RO( 0x7ee080a4 ) #define APERF1_BW1_RMAX_MASK 0x00ffffff #define APERF1_BW1_RMAX_WIDTH 24 #define APERF1_BW1_RMAX_RESET 0000000000 #define APERF1_BW1_RPEND HW_REGISTER_RO( 0x7ee08068 ) #define APERF1_BW1_RPEND_MASK 0x000000ff #define APERF1_BW1_RPEND_WIDTH 8 #define APERF1_BW1_RPEND_RESET 0000000000 #define APERF1_BW2_CTRL HW_REGISTER_RW( 0x7ee080c0 ) #define APERF1_BW2_CTRL_MASK 0xf0001f1f #define APERF1_BW2_CTRL_WIDTH 32 #define APERF1_BW2_CTRL_RESET 0000000000 #define APERF1_BW2_CTRL_BUS_BITS 4:0 #define APERF1_BW2_CTRL_BUS_SET 0x0000001f #define APERF1_BW2_CTRL_BUS_CLR 0xffffffe0 #define APERF1_BW2_CTRL_BUS_MSB 4 #define APERF1_BW2_CTRL_BUS_LSB 0 #define APERF1_BW2_CTRL_BUS_RESET 0x0 #define APERF1_BW2_CTRL_ID_BITS 12:8 #define APERF1_BW2_CTRL_ID_SET 0x00001f00 #define APERF1_BW2_CTRL_ID_CLR 0xffffe0ff #define APERF1_BW2_CTRL_ID_MSB 12 #define APERF1_BW2_CTRL_ID_LSB 8 #define APERF1_BW2_CTRL_ID_RESET 0x0 #define APERF1_BW2_CTRL_LATHALT_BITS 28:28 #define APERF1_BW2_CTRL_LATHALT_SET 0x10000000 #define APERF1_BW2_CTRL_LATHALT_CLR 0xefffffff #define APERF1_BW2_CTRL_LATHALT_MSB 28 #define APERF1_BW2_CTRL_LATHALT_LSB 28 #define APERF1_BW2_CTRL_LATHALT_RESET 0x0 #define APERF1_BW2_CTRL_ID_EN_BITS 29:29 #define APERF1_BW2_CTRL_ID_EN_SET 0x20000000 #define APERF1_BW2_CTRL_ID_EN_CLR 0xdfffffff #define APERF1_BW2_CTRL_ID_EN_MSB 29 #define APERF1_BW2_CTRL_ID_EN_LSB 29 #define APERF1_BW2_CTRL_ID_EN_RESET 0x0 #define APERF1_BW2_CTRL_EN_BITS 30:30 #define APERF1_BW2_CTRL_EN_SET 0x40000000 #define APERF1_BW2_CTRL_EN_CLR 0xbfffffff #define APERF1_BW2_CTRL_EN_MSB 30 #define APERF1_BW2_CTRL_EN_LSB 30 #define APERF1_BW2_CTRL_EN_RESET 0x0 #define APERF1_BW2_CTRL_RESET_BITS 31:31 #define APERF1_BW2_CTRL_RESET_SET 0x80000000 #define APERF1_BW2_CTRL_RESET_CLR 0x7fffffff #define APERF1_BW2_CTRL_RESET_MSB 31 #define APERF1_BW2_CTRL_RESET_LSB 31 #define APERF1_BW2_CTRL_RESET_RESET 0x0 #define APERF1_BW2_ATRANS HW_REGISTER_RO( 0x7ee080c4 ) #define APERF1_BW2_ATRANS_MASK 0xffffffff #define APERF1_BW2_ATRANS_WIDTH 32 #define APERF1_BW2_ATRANS_RESET 0000000000 #define APERF1_BW2_ATWAIT HW_REGISTER_RO( 0x7ee080c8 ) #define APERF1_BW2_ATWAIT_MASK 0xffffffff #define APERF1_BW2_ATWAIT_WIDTH 32 #define APERF1_BW2_ATWAIT_RESET 0000000000 #define APERF1_BW2_AMAX HW_REGISTER_RO( 0x7ee080cc ) #define APERF1_BW2_AMAX_MASK 0x00ffffff #define APERF1_BW2_AMAX_WIDTH 24 #define APERF1_BW2_AMAX_RESET 0000000000 #define APERF1_BW2_WTRANS HW_REGISTER_RO( 0x7ee080d0 ) #define APERF1_BW2_WTRANS_MASK 0xffffffff #define APERF1_BW2_WTRANS_WIDTH 32 #define APERF1_BW2_WTRANS_RESET 0000000000 #define APERF1_BW2_WTWAIT HW_REGISTER_RO( 0x7ee080d4 ) #define APERF1_BW2_WTWAIT_MASK 0xffffffff #define APERF1_BW2_WTWAIT_WIDTH 32 #define APERF1_BW2_WTWAIT_RESET 0000000000 #define APERF1_BW2_WMAX HW_REGISTER_RO( 0x7ee080d8 ) #define APERF1_BW2_WMAX_MASK 0x0ff0ffff #define APERF1_BW2_WMAX_WIDTH 28 #define APERF1_BW2_WMAX_RESET 0000000000 #define APERF1_BW2_RTRANS HW_REGISTER_RO( 0x7ee080dc ) #define APERF1_BW2_RTRANS_MASK 0xffffffff #define APERF1_BW2_RTRANS_WIDTH 32 #define APERF1_BW2_RTRANS_RESET 0000000000 #define APERF1_BW2_RTWAIT HW_REGISTER_RO( 0x7ee080e0 ) #define APERF1_BW2_RTWAIT_MASK 0xffffffff #define APERF1_BW2_RTWAIT_WIDTH 32 #define APERF1_BW2_RTWAIT_RESET 0000000000 #define APERF1_BW2_RMAX HW_REGISTER_RO( 0x7ee080e4 ) #define APERF1_BW2_RMAX_MASK 0x00ffffff #define APERF1_BW2_RMAX_WIDTH 24 #define APERF1_BW2_RMAX_RESET 0000000000 #define APERF1_BW2_RPEND HW_REGISTER_RO( 0x7ee08068 ) #define APERF1_BW2_RPEND_MASK 0x000000ff #define APERF1_BW2_RPEND_WIDTH 8 #define APERF1_BW2_RPEND_RESET 0000000000 ```
```ocaml type t = float val of_string : string -> t option val to_string : t -> string val compare : t -> t -> Ordering.t val max : t -> t -> t ```
```php <?php /** */ namespace OCA\Files_External\Command; use OC\Core\Command\Base; use OCA\Files_External\Lib\StorageConfig; use OCA\Files_External\NotFoundException; use OCA\Files_External\Service\GlobalStoragesService; use OCP\IGroupManager; use OCP\IUserManager; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; use Symfony\Component\HttpFoundation\Response; class Applicable extends Base { public function __construct( protected GlobalStoragesService $globalService, private IUserManager $userManager, private IGroupManager $groupManager, ) { parent::__construct(); } protected function configure(): void { $this ->setName('files_external:applicable') ->setDescription('Manage applicable users and groups for a mount') ->addArgument( 'mount_id', InputArgument::REQUIRED, 'The id of the mount to edit' )->addOption( 'add-user', '', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'user to add as applicable' )->addOption( 'remove-user', '', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'user to remove as applicable' )->addOption( 'add-group', '', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'group to add as applicable' )->addOption( 'remove-group', '', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'group to remove as applicable' )->addOption( 'remove-all', '', InputOption::VALUE_NONE, 'Set the mount to be globally applicable' ); parent::configure(); } protected function execute(InputInterface $input, OutputInterface $output): int { $mountId = $input->getArgument('mount_id'); try { $mount = $this->globalService->getStorage($mountId); } catch (NotFoundException $e) { $output->writeln('<error>Mount with id "' . $mountId . ' not found, check "occ files_external:list" to get available mounts</error>'); return Response::HTTP_NOT_FOUND; } if ($mount->getType() === StorageConfig::MOUNT_TYPE_PERSONAL) { $output->writeln('<error>Can\'t change applicables on personal mounts</error>'); return self::FAILURE; } $addUsers = $input->getOption('add-user'); $removeUsers = $input->getOption('remove-user'); $addGroups = $input->getOption('add-group'); $removeGroups = $input->getOption('remove-group'); $applicableUsers = $mount->getApplicableUsers(); $applicableGroups = $mount->getApplicableGroups(); if ((count($addUsers) + count($removeUsers) + count($addGroups) + count($removeGroups) > 0) || $input->getOption('remove-all')) { foreach ($addUsers as $addUser) { if (!$this->userManager->userExists($addUser)) { $output->writeln('<error>User "' . $addUser . '" not found</error>'); return Response::HTTP_NOT_FOUND; } } foreach ($addGroups as $addGroup) { if (!$this->groupManager->groupExists($addGroup)) { $output->writeln('<error>Group "' . $addGroup . '" not found</error>'); return Response::HTTP_NOT_FOUND; } } if ($input->getOption('remove-all')) { $applicableUsers = []; $applicableGroups = []; } else { $applicableUsers = array_unique(array_merge($applicableUsers, $addUsers)); $applicableUsers = array_values(array_diff($applicableUsers, $removeUsers)); $applicableGroups = array_unique(array_merge($applicableGroups, $addGroups)); $applicableGroups = array_values(array_diff($applicableGroups, $removeGroups)); } $mount->setApplicableUsers($applicableUsers); $mount->setApplicableGroups($applicableGroups); $this->globalService->updateStorage($mount); } $this->writeArrayInOutputFormat($input, $output, [ 'users' => $applicableUsers, 'groups' => $applicableGroups ]); return self::SUCCESS; } } ```
Yrjö Vihtori Saarinen (13 December 1899 – 9 January 1958) was a Finnish self-taught painter. In 1955, he was awarded the Pro Finlandia Medal and granted an artists' pension by the Finnish government. The novelist Mika Waltari, who collected Saarinen's works, also helped him financially. At times, Saarinen supported himself by painting billboards and signs. Saarinen's work includes figure paintings, portraits, landscapes and still lifes. The Hyvinkää Museum of Art in Southern Finland has a collection of about 200 paintings and 60 drawings by Yrjö Saarinen. References Finnish painters 1899 births 1958 deaths
```c++ /* This program is free software; you can redistribute it and/or modify This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef SET_LOGLEVEL_ORD_HPP #define SET_LOGLEVEL_ORD_HPP #include <LogLevel.hpp> #include "EventSubscribeReq.hpp" #include "SignalData.hpp" /** * */ class SetLogLevelOrd { /** * Sender(s) */ friend class MgmtSrvr; /* XXX can probably be removed */ friend class MgmApiSession; friend class CommandInterpreter; /** * Reciver(s) */ friend class Cmvmi; friend class NodeLogLevel; private: STATIC_CONST( SignalLength = 1 + LogLevel::LOGLEVEL_CATEGORIES ); Uint32 noOfEntries; Uint32 theData[LogLevel::LOGLEVEL_CATEGORIES]; void clear(); /** * Note level is valid as 0-15 */ void setLogLevel(LogLevel::EventCategory ec, int level = 7); SetLogLevelOrd& assign (const LogLevel& ll){ noOfEntries = LogLevel::LOGLEVEL_CATEGORIES; for(Uint32 i = 0; i<noOfEntries; i++){ theData[i] = (i << 16) | ll.getLogLevel((LogLevel::EventCategory)i); } return * this; } SetLogLevelOrd& assign (const EventSubscribeReq& ll){ noOfEntries = ll.noOfEntries; for(Uint32 i = 0; i<noOfEntries; i++){ theData[i] = ll.theData[i]; } return * this; } }; inline void SetLogLevelOrd::clear(){ noOfEntries = 0; } inline void SetLogLevelOrd::setLogLevel(LogLevel::EventCategory ec, int level){ theData[noOfEntries] = (ec << 16) | level; noOfEntries++; } #endif ```
Razdol’noye is a village in Almaty Region of south-eastern Kazakhstan. References Populated places in Almaty Region
The Timorese Social Democratic Association (; abbreviated ASDT) was a political party in East Timor. Both the original ASDT of the 1970s (which became Fretilin) and the current party of the same name are founded by the late ex-Timorese President Francisco Xavier do Amaral. In the parliamentary election held on 30 August 2001, the party won 7.8% of the popular vote and 6 out of 88 seats. In the June 2007 parliamentary election, ASDT which was then led by Secretary General Gil Alves formed an alliance with the Social Democratic Party (PSD) which he stated that the coalition aims to establish a good collaboration, creating a system based on history, culture, experience and ability to govern. The program of the two related parties is based on a clear strategy that will bring progress in all sectors. Together they won 15.73% of the vote and 11 seats. In 2012 party President Francisco Xavier do Amaral died, due to this and the previous problems made ASDT split into two, namely the Gil Alves camp as Secretary General and the interim President of the party and the João Correia camp which carried Ramos-Horta as honorary president. In the end the decision of the Court of Appeals of Timor-Leste in favor of João Correia's version of ASDT. In 2017 the same thing happened again, in the internal stronghold of the ASDT party there has been a power struggle between two camps, namely the Francisco da Silva camp as president and João Correia's camp as its leader. And because there are two versions of the ASDT party, the Court of Appeal stated that the ASDT party could not contest in the July 2017 parliamentary election. And since 2018 the party have not attended elections for five years either at the local and national level with their own program. The ASDT party must declare the loss of it status as a political party in accordance with the law and the decision made by Court of Appeal from the consequence for not submitting their candidate list for the May 2018 early parliamentary election. ASDT party appealed against the decision and was rejected. In 2021 the Court of Appeal again declared seven political parties that were declared dead since 2018 could no longer take part in general elections including ASDT. References Political parties in East Timor 1970s establishments in East Timor 1974 establishments in Southeast Asia Political parties established in 1974 Separatism in Indonesia
The General's Garden (), also known as the Book of the Heart () or the New Book (), is an ancient Chinese military treatise attributed to the famous Three Kingdoms period military strategist Zhuge Liang (181–234). History Although the authorship of the book is attributed to Zhuge Liang, the book is not recorded prior to the Song Dynasty (960–1279), and it is generally considered to be a forgery written during the Northern Song period (960–1127). No Song Dynasty editions survive, and the earliest surviving editions date to the Ming Dynasty (1368–1644). Editions dating to 1517, 1564 and 1637 are known, of which the 1637 edition has a colophon dated 1485. The text was republished several times during the Qing Dynasty (1644–1911). A scholarly edition of the text was edited by Zhang Shu () (1781–1847), and a punctuated version of Zhang Shu's edition was published in China in 1960. The Ming editions of the text comprise fifty sections, but the last four sections, relating to the "barbarians" of the north (Beidi), south (Nanman), east (Dongyi) and west (Xirong), are omitted from most Qing Dynasty editions. This omission is thought to have been made in order to avoid offending the Manchu rulers of the Qing Dynasty. Tangut translation Although the earliest surviving editions of the General's Garden only date back to the Ming Dynasty, a unique manuscript of a translation of the text into the Tangut language was collected from the abandoned fortress city of Khara-Khoto by Aurel Stein in 1914, and is currently held at the British Library in London. This translation was probably made during the second half of the 12th century or the early 13th century, and thus predates the earliest extant Chinese editions by some 200 years. The Tangut translation differs from the Chinese version in two important respects. Firstly, the Tangut text is divided into thirty-seven sections, omitting more than ten sections compared with the Chinese text, which comprises fifty sections. It is not certain whether this difference is due to the Song Dynasty source for the translation having fewer sections than the later version of the text, or whether the Tangut translator deliberately omitted sections that were not considered relevant to the situation of the Western Xia. The other major difference is the treatment of the final four sections of the text, relating to the "barbarians" of the four directions, which is reduced to a single section describing only the barbarians of the north, called the "Lords of the Steppes" in the Tangut translation. This probably reflects the different geopolitical situation of the Western Xia state compared with the Chinese state. See also List of Chinese military texts Notes References External links Chinese classic texts Chinese military texts Military strategy books
```go package workflow import ( "context" "errors" "fmt" "sort" "sync" "github.com/qri-io/qri/base/params" "github.com/qri-io/qri/profile" ) var ( // ErrNotFound indicates that the workflow was not found in the store ErrNotFound = fmt.Errorf("workflow not found") // ErrWorkflowForDatasetExists indicates that a workflow associated // with the given dataset already exists ErrWorkflowForDatasetExists = fmt.Errorf("a workflow associated with the given dataset ID already exists") ) // Store manages & stores workflows, allowing listing and updating of workflows type Store interface { Lister // Get fetches a Workflow from the Store using the workflow.ID Get(ctx context.Context, wid ID) (*Workflow, error) // GetByInitID fetches a Workflow from the Store using the dataset.ID GetByInitID(ctx context.Context, initID string) (*Workflow, error) // Remove removes a Workflow from the Store using the workflow.ID Remove(ctx context.Context, id ID) error // Put adds a Workflow to the Store. If there is no ID in the Workflow, // Put will create a new ID, record the time in the `Created` field // and put the workflow in the store, ensuring that the associated // Workflow.InitID is unique. If there is an existing ID, Put will // update the entry in the Store, if the given workflow is valid Put(ctx context.Context, wf *Workflow) (*Workflow, error) // Shutdown closes the store Shutdown(ctx context.Context) error } // A Lister lists entries from a workflow store type Lister interface { // List lists the Workflows in the Store in reverse chronological order // by Workflow.Created time List(ctx context.Context, pid profile.ID, lp params.List) ([]*Workflow, error) // ListDeployed lists the deployed Workflows in the Store in reverse // chronological order by Workflow.Created time ListDeployed(ctx context.Context, pid profile.ID, lp params.List) ([]*Workflow, error) } // MemStore is an in memory representation of a Store type MemStore struct { mu *sync.Mutex workflows map[ID]*Workflow } var _ Store = (*MemStore)(nil) // NewMemStore returns a MemStore func NewMemStore() *MemStore { return &MemStore{ mu: &sync.Mutex{}, workflows: map[ID]*Workflow{}, } } // Put adds a Workflow to a MemStore func (m *MemStore) Put(ctx context.Context, wf *Workflow) (*Workflow, error) { if wf == nil { return nil, ErrNilWorkflow } w := wf.Copy() if w.ID == "" { if _, err := m.GetByInitID(ctx, w.InitID); !errors.Is(err, ErrNotFound) { return nil, ErrWorkflowForDatasetExists } w.ID = NewID() } if err := w.Validate(); err != nil { return nil, err } m.mu.Lock() m.workflows[w.ID] = w m.mu.Unlock() return w, nil } // Get fetches a Workflow using the associated ID func (m *MemStore) Get(ctx context.Context, wid ID) (*Workflow, error) { m.mu.Lock() wf, ok := m.workflows[wid] m.mu.Unlock() if !ok { return nil, ErrNotFound } return wf, nil } // GetByInitID fetches a Workflow using the dataset ID func (m *MemStore) GetByInitID(ctx context.Context, initID string) (*Workflow, error) { if initID == "" { return nil, ErrNotFound } m.mu.Lock() defer m.mu.Unlock() for _, wf := range m.workflows { if wf.InitID == initID { return wf, nil } } return nil, ErrNotFound } // Remove removes a Workflow from a Store func (m *MemStore) Remove(ctx context.Context, id ID) error { m.mu.Lock() _, ok := m.workflows[id] if !ok { return ErrNotFound } delete(m.workflows, id) m.mu.Unlock() return nil } // List lists all the workflows in the store, by decending order from time of // creation func (m *MemStore) List(ctx context.Context, pid profile.ID, lp params.List) ([]*Workflow, error) { wfs := NewSet() fetchAll := false switch { case lp.Limit == -1 && lp.Offset == 0: fetchAll = true case lp.Limit < 0: return nil, fmt.Errorf("limit of %d is out of bounds", lp.Limit) case lp.Offset < 0: return nil, fmt.Errorf("offset of %d is out of bounds", lp.Offset) case lp.Limit == 0: return []*Workflow{}, nil } m.mu.Lock() defer m.mu.Unlock() for _, wf := range m.workflows { wfs.Add(wf) } if lp.Offset >= wfs.Len() { return []*Workflow{}, nil } start := lp.Offset end := lp.Offset + lp.Limit if end > wfs.Len() || fetchAll { end = wfs.Len() } sort.Sort(wfs) return wfs.Slice(start, end), nil } // ListDeployed lists all the workflows in the store that are deployed, by // decending order from time of creation func (m *MemStore) ListDeployed(ctx context.Context, pid profile.ID, lp params.List) ([]*Workflow, error) { wfs := NewSet() fetchAll := false switch { case lp.Limit == -1 && lp.Offset == 0: fetchAll = true case lp.Limit < 0: return nil, fmt.Errorf("limit of %d is out of bounds", lp.Limit) case lp.Offset < 0: return nil, fmt.Errorf("offset of %d is out of bounds", lp.Offset) case lp.Limit == 0: return []*Workflow{}, nil } m.mu.Lock() defer m.mu.Unlock() for _, wf := range m.workflows { if wf.Active { wfs.Add(wf) } } if lp.Offset >= wfs.Len() { return []*Workflow{}, nil } start := lp.Offset end := lp.Offset + lp.Limit if end > wfs.Len() || fetchAll { end = wfs.Len() } sort.Sort(wfs) return wfs.Slice(start, end), nil } // Shutdown closes the store func (m *MemStore) Shutdown(ctx context.Context) error { return nil } ```
```c++ CFile myFile(_T("My__test__file.dat"), CFile::modeCreate | CFile::modeReadWrite); CAge age(21), *pAge; // Create a storing archive. CArchive arStore(&myFile, CArchive::store); // Write the object to the archive arStore.WriteObject(&age); // Close the storing archive arStore.Close(); // Create a loading archive. myFile.SeekToBegin(); CArchive arLoad(&myFile, CArchive::load); // Verify the object is in the archive. pAge = (CAge *)arLoad.ReadObject(RUNTIME_CLASS(CAge)); ASSERT(age == *pAge); ```
```java /** * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ package org.thingsboard.rule.engine.transform; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.node.ObjectNode; import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; import org.mockito.ArgumentCaptor; import org.thingsboard.common.util.JacksonUtil; import org.thingsboard.rule.engine.api.TbContext; import org.thingsboard.rule.engine.api.TbNodeConfiguration; import org.thingsboard.rule.engine.api.TbNodeException; import org.thingsboard.rule.engine.util.TbMsgSource; import org.thingsboard.server.common.data.id.DeviceId; import org.thingsboard.server.common.data.id.EntityId; import org.thingsboard.server.common.data.msg.TbMsgType; import org.thingsboard.server.common.msg.TbMsg; import org.thingsboard.server.common.msg.TbMsgMetaData; import org.thingsboard.server.common.msg.queue.TbMsgCallback; import java.util.Collections; import java.util.Map; import java.util.Set; import java.util.UUID; import java.util.stream.Stream; import static org.assertj.core.api.Assertions.assertThat; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.never; import static org.mockito.Mockito.spy; import static org.mockito.Mockito.verify; public class TbCopyKeysNodeTest { DeviceId deviceId; TbCopyKeysNode node; TbCopyKeysNodeConfiguration config; TbNodeConfiguration nodeConfiguration; TbContext ctx; TbMsgCallback callback; @BeforeEach void setUp() throws TbNodeException { deviceId = new DeviceId(UUID.randomUUID()); callback = mock(TbMsgCallback.class); ctx = mock(TbContext.class); config = new TbCopyKeysNodeConfiguration().defaultConfiguration(); config.setKeys(Set.of("TestKey_1", "TestKey_2", "TestKey_3", "(\\w*)Data(\\w*)")); config.setCopyFrom(TbMsgSource.METADATA); nodeConfiguration = new TbNodeConfiguration(JacksonUtil.valueToTree(config)); node = spy(new TbCopyKeysNode()); node.init(ctx, nodeConfiguration); } @AfterEach void tearDown() { node.destroy(); } @Test void givenDefaultConfig_whenVerify_thenOK() { TbCopyKeysNodeConfiguration defaultConfig = new TbCopyKeysNodeConfiguration().defaultConfiguration(); assertThat(defaultConfig.getKeys()).isEqualTo(Collections.emptySet()); assertThat(defaultConfig.getCopyFrom()).isEqualTo(TbMsgSource.DATA); } @Test void givenMsgFromMetadata_whenOnMsg_thenVerifyOutput() throws Exception { node.onMsg(ctx, getTbMsg(deviceId, TbMsg.EMPTY_JSON_OBJECT)); ArgumentCaptor<TbMsg> newMsgCaptor = ArgumentCaptor.forClass(TbMsg.class); verify(ctx).tellSuccess(newMsgCaptor.capture()); verify(ctx, never()).tellFailure(any(), any()); TbMsg newMsg = newMsgCaptor.getValue(); assertThat(newMsg).isNotNull(); JsonNode dataNode = JacksonUtil.toJsonNode(newMsg.getData()); assertThat(dataNode.has("TestKey_1")).isEqualTo(true); assertThat(dataNode.has("voltageDataValue")).isEqualTo(true); } @Test void givenMsgFromMsg_whenOnMsg_thenVerifyOutput() throws Exception { config.setCopyFrom(TbMsgSource.DATA); config.setKeys(Set.of(".*Key$")); nodeConfiguration = new TbNodeConfiguration(JacksonUtil.valueToTree(config)); node.init(ctx, nodeConfiguration); String data = "{\"nullKey\":null,\"stringKey\":\"value1\",\"booleanKey\":true,\"doubleKey\":42.0,\"longKey\":73," + "\"jsonKey\":{\"someNumber\":42,\"someArray\":[1,2,3],\"someNestedObject\":{\"key\":\"value\"}}}"; node.onMsg(ctx, getTbMsg(deviceId, data)); ArgumentCaptor<TbMsg> newMsgCaptor = ArgumentCaptor.forClass(TbMsg.class); verify(ctx).tellSuccess(newMsgCaptor.capture()); verify(ctx, never()).tellFailure(any(), any()); TbMsg newMsg = newMsgCaptor.getValue(); assertThat(newMsg).isNotNull(); Map<String, String> metaDataMap = newMsg.getMetaData().getData(); assertThat(metaDataMap.get("nullKey")).isEqualTo("null"); assertThat(metaDataMap.get("stringKey")).isEqualTo("value1"); assertThat(metaDataMap.get("booleanKey")).isEqualTo("true"); assertThat(metaDataMap.get("doubleKey")).isEqualTo("42.0"); assertThat(metaDataMap.get("longKey")).isEqualTo("73"); assertThat(metaDataMap.get("jsonKey")) .isEqualTo("{\"someNumber\":42,\"someArray\":[1,2,3],\"someNestedObject\":{\"key\":\"value\"}}"); } @Test void givenEmptyKeys_whenOnMsg_thenVerifyOutput() throws Exception { TbCopyKeysNodeConfiguration defaultConfig = new TbCopyKeysNodeConfiguration().defaultConfiguration(); nodeConfiguration = new TbNodeConfiguration(JacksonUtil.valueToTree(defaultConfig)); node.init(ctx, nodeConfiguration); String data = "{\"DigitData\":22.5,\"TempDataValue\":10.5}"; TbMsg msg = getTbMsg(deviceId, data); node.onMsg(ctx, msg); ArgumentCaptor<TbMsg> newMsgCaptor = ArgumentCaptor.forClass(TbMsg.class); verify(ctx).tellSuccess(newMsgCaptor.capture()); verify(ctx, never()).tellFailure(any(), any()); TbMsg newMsg = newMsgCaptor.getValue(); assertThat(newMsg).isNotNull(); assertThat(newMsg.getMetaData()).isEqualTo(msg.getMetaData()); } @Test void givenMsgDataNotJSONObject_whenOnMsg_thenTVerifyOutput() throws Exception { TbMsg msg = getTbMsg(deviceId, TbMsg.EMPTY_JSON_ARRAY); node.onMsg(ctx, msg); ArgumentCaptor<TbMsg> newMsgCaptor = ArgumentCaptor.forClass(TbMsg.class); verify(ctx).tellSuccess(newMsgCaptor.capture()); verify(ctx, never()).tellFailure(any(), any()); TbMsg newMsg = newMsgCaptor.getValue(); assertThat(newMsg).isNotNull(); assertThat(newMsg).isSameAs(msg); } private static Stream<Arguments> your_sha256_hashConfig() { return Stream.of( Arguments.of(0, "{\"fromMetadata\":false,\"keys\":[\"temperature\"]}", true, "{\"copyFrom\":\"DATA\",\"keys\":[\"temperature\"]}"), Arguments.of(0, "{\"fromMetadata\":true,\"keys\":[\"temperature\"]}", true, "{\"copyFrom\":\"METADATA\",\"keys\":[\"temperature\"]}"), Arguments.of(1, "{\"fromMetadata\":\"METADATA\",\"keys\":[\"temperature\"]}", true, "{\"copyFrom\":\"METADATA\",\"keys\":[\"temperature\"]}"), Arguments.of(1, "{\"fromMetadata\":\"DATA\",\"keys\":[\"temperature\"]}", true, "{\"copyFrom\":\"DATA\",\"keys\":[\"temperature\"]}"), Arguments.of(1, "{\"copyFrom\":\"METADATA\",\"keys\":[\"temperature\"]}", false, "{\"copyFrom\":\"METADATA\",\"keys\":[\"temperature\"]}"), Arguments.of(1, "{\"copyFrom\":\"DATA\",\"keys\":[\"temperature\"]}", false, "{\"copyFrom\":\"DATA\",\"keys\":[\"temperature\"]}") ); } @ParameterizedTest @MethodSource void your_sha256_hashConfig(int givenVersion, String givenConfigStr, boolean hasChanges, String expectedConfigStr) throws Exception { // GIVEN JsonNode givenConfig = JacksonUtil.toJsonNode(givenConfigStr); JsonNode expectedConfig = JacksonUtil.toJsonNode(expectedConfigStr); // WHEN var upgradeResult = node.upgrade(givenVersion, givenConfig); // THEN assertThat(upgradeResult.getFirst()).isEqualTo(hasChanges); ObjectNode upgradedConfig = (ObjectNode) upgradeResult.getSecond(); assertThat(upgradedConfig).isEqualTo(expectedConfig); } private TbMsg getTbMsg(EntityId entityId, String data) { final Map<String, String> mdMap = Map.of( "TestKey_1", "Test", "country", "US", "voltageDataValue", "220", "city", "NY" ); return TbMsg.newMsg(TbMsgType.POST_ATTRIBUTES_REQUEST, entityId, new TbMsgMetaData(mdMap), data, callback); } } ```
The Indian Society of Remote Sensing (ISRS) is an Indian learned society devoted to remote sensing; it was created in 1969 and has more than 5000 members. It is a national member of the International Society for Photogrammetry and Remote Sensing and Asian Association on Remote Sensing. ISRS publishes the Journal of the Indian Society of Remote Sensing. See also American Society for Photogrammetry and Remote Sensing International Society for Photogrammetry and Remote Sensing References Further reading Remote sensing organizations Scientific societies based in India
Sharka (also transliterated as Sharha, Xarha, Xerha, Xarkhah) was a province of the Ethiopian Empire in the southern part of its realm. Its inhabitants were predominantly Muslim, and similar in customs, economic conditions, and ethnic affiliations to its neighboring provinces of Hadiya and Arababni. According to the research of Ulrich Braukämper, the written sources allow one to determine only "that it was bordered by Hadiyya, Dawaro, and Bale." Interviews with local Oromo and Hadiya, however, revealed they identified Sharka with "Širk in eastern Arsiland, to which the traditions of many Alaba and East Gurage refer to as their former dwelling areas." History This earliest mention of this province is in the Royal Chronicle of Emperor Amda Seyon. During his reign, the governor of this province, Yusuf, was accused of cooperating with the Muslims of Dawaro against the Ethiopian army. As his army passed through Dawaro, Amda Seyon led a punitive expedition against Sharka, plundering its land, which was rich in livestock, and capturing Yusuf. The historians Chihab al-Umari and al-Maqrizi simply mention the length of Sharka was three days and its breadth four, and its army could muster 3,000 cavalrymen and twice that many foot soldiers. Along with Dawaro and Arababni, Sharka made use of small pieces of iron called hakuna, which served as primitive money. The next time Sharka is mentioned is in the Futuh al-Habasa, the history of the conquests of Imam Ahmad Gragn. At that time Sharka was administered by an Ethiopian governor named Limu. In 1531, the Imam sent the vizir 'Addoli to raid Ganbah, which is described as "above Sharka". Ten of his horsemen continued on to Sharka, where they encountered Fit Betuadad Badlai, who had 50 cavalry and 500 footmen with him, blocking their advance. Despite being outnumbered, the ten horsemen charged the forces of the Fit Betuadad and scattered them, taking two Ethiopians prisoner and much booty. When the Muslim horsemen returned to Imam Ahmad, he sent vizir 'Addoli to take the vizir Nur with him and raid Sharka a second time. which led to the capture of the wives and children of the Ethiopians who had been with Fit Betuadad Badlai and much booty. Sharkha was then governed by Siddiq b. Ali of Adal. The last reference to Sharka is in the Royal Chronicle of Emperor Sarsa Dengel, who marched through Wag and Sharka in 1577 on his way to attack the army of Harar. The Portuguese travellers of the 16th and 17th centuries are not familiar with Sharka, which leads to the assumption that it had vanished as a political unit by the 17th century. References Provinces of Ethiopia
```java /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ package org.springframework.samples.petclinic.repository.springdatajpa; import java.util.Collection; import org.springframework.data.jpa.repository.Query; import org.springframework.data.repository.Repository; import org.springframework.data.repository.query.Param; import org.springframework.samples.petclinic.model.Owner; import org.springframework.samples.petclinic.repository.OwnerRepository; /** * Spring Data JPA specialization of the {@link OwnerRepository} interface * * @author Michael Isvy * @since 15.1.2013 */ public interface SpringDataOwnerRepository extends OwnerRepository, Repository<Owner, Integer> { @Override @Query("SELECT DISTINCT owner FROM Owner owner left join fetch owner.pets WHERE owner.lastName LIKE :lastName%") public Collection<Owner> findByLastName(@Param("lastName") String lastName); @Override @Query("SELECT owner FROM Owner owner left join fetch owner.pets WHERE owner.id =:id") public Owner findById(@Param("id") int id); } ```
Jeong Han Kim (; born July 20, 1962) is a South Korean mathematician. He studied physics and mathematical physics at Yonsei University, and earned his Ph.D. in mathematics at Rutgers University. He was a researcher at AT&T Bell Labs and at Microsoft Research, and was Underwood Chair Professor of Mathematics at Yonsei University. He is currently a Professor of the School of Computational Sciences at the Korea Institute for Advanced Study. His main research fields are combinatorics and computational mathematics. His best known contribution to the field is his proof that the Ramsey number R(3,t) has asymptotic order of magnitude t2/log t. He received the Fulkerson Prize in 1997 for his contributions to Ramsey theory. In 2008, he became president of the National Institute for Mathematical Sciences of South Korea and was also awarded the Kyung-Ahm Prize. He was discharged of the position in 2011 after being accused of having allegedly misappropriated research funds. However, he was found not guilty by prosecution's investigation. References External links Faculty page of Jeong Han Kim at Korea Institute for Advanced Study Fulkerson Prize Winners at Mathematical Programming Society Categories 1962 births Living people 20th-century South Korean mathematicians 21st-century South Korean mathematicians Graph theorists Rutgers University alumni Yonsei University alumni National Institute for Mathematical Sciences
```yaml version: "3" services: mariadb: image: docker.io/bitnami/mariadb:10.6 environment: - ALLOW_EMPTY_PASSWORD=yes - MARIADB_USER=bn_matomo - MARIADB_DATABASE=bitnami_matomo - MARIADB_EXTRA_FLAGS=--max_allowed_packet=64MB volumes: - "matomo_db_data:/bitnami/mariadb" matomo: image: docker.io/bitnami/matomo:4 ports: - "8080:8080" environment: - MATOMO_DATABASE_HOST=mariadb - MATOMO_DATABASE_PORT_NUMBER=3306 - MATOMO_DATABASE_USER=bn_matomo - MATOMO_DATABASE_NAME=bitnami_matomo - MATOMO_USERNAME=user - MATOMO_PASSWORD=password - ALLOW_EMPTY_PASSWORD=yes volumes: - "matomo_data:/bitnami/matomo" depends_on: - mariadb volumes: matomo_db_data: driver: local matomo_data: driver: local ```
```lua This program is free software; you can redistribute it and/or modify (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. ]] local factory = require 'levels.contributed.psychlab.visuospatial_suite.factories.guided_saccade_factory' return factory.createLevelApi{ -- Specific kwargs for this task: schema = 'visuospatial_suite_visually_guided_prosaccade', saccadeSequenceLengths = {1, 2}, trialTypes = {'pro-cue'}, memoryGuided = false, } ```
```xml import * as React from 'react'; import createSvgIcon from '../utils/createSvgIcon'; const ConfigurationSolidIcon = createSvgIcon({ svg: ({ classes }) => ( <svg xmlns="path_to_url" viewBox="0 0 2048 2048" className={classes.svg} focusable="false"> <path d="M1755 512h-475V37l475 475zm-795 520q38 0 71 14t59 40 39 59 15 71q0 38-14 71t-40 59-59 39-71 15q-38 0-71-14t-59-40-39-59-15-71q0-38 14-71t40-59 59-39 71-15zm832-392v1408H128V0h1024v640h640zm-509 632q2-14 3-28t1-28q0-14-1-28t-3-28l185-76-55-134-185 77q-33-46-79-79l77-185-134-55-76 185q-14-2-28-3t-28-1q-14 0-28 1t-28 3l-76-185-134 55 77 185q-46 33-79 79l-185-77-55 134 185 76q-2 14-3 28t-2 28q0 14 1 28t4 28l-185 76 55 134 185-77q33 46 79 79l-77 185 134 55 76-185q14 2 28 3t28 2q14 0 28-1t28-4l76 185 134-55-77-185q46-33 79-79l185 77 55-134-185-76z" /> </svg> ), displayName: 'ConfigurationSolidIcon', }); export default ConfigurationSolidIcon; ```
This is a list of universities in Saint Pierre and Miquelon. Universities Institut Frecker (affiliated with the Memorial University of Newfoundland) See also List of universities by country References Universities Saint Pierre and Miquelon Saint Pierre and Miquelon
Comparative neuropsychology refers to an approach used for understanding human brain functions. It involves the direct evaluation of clinical neurological populations by employing experimental methods originally developed for use with nonhuman animals. Over many decades of animal research, methods were perfected to study the effects of well-defined brain lesions on specific behaviors, and later the tasks were modified for human use. Generally the modifications involve changing the reward from food to money, but standard administration of the tasks in humans still involves minimal instructions, thus necessitating a degree of procedural learning in human and nonhuman animals alike. Currently, comparative neuropsychology is used with neurological patients to link specific deficits with localized areas of the brain. The comparative neuropsychological approach employs simple tasks that can be mastered without relying upon language skills. Precisely because these simple paradigms do not require linguistic strategies for solution, they are especially useful for working with patients whose language skills are compromised, or whose cognitive skills may be minimal. Comparative neuropsychology contrasts with the traditional approach of using tasks that rely upon linguistic skills, and that were designed to study human cognition. Because important ambiguities about its heuristic value had not been addressed empirically, only recently has comparative neuropsychology become popular for implementation with brain-damaged patients. Within the past decade, comparative neuropsychology has had prevalent use as a framework for comparing and contrasting the performances of disparate neurobehavioral populations on similar tasks. History Comparative neuropsychology involves the study of brain-behavior relationships by applying experimental paradigms, used extensively in animal laboratories, for testing human clinical populations. Popular paradigms include delayed reaction tasks, discrimination and reversal learning tasks, and matching- and nonmatching-to-sample. These tasks adapt behavioral paradigms used with nonhuman animals to measure cognitive function and dysfunction in humans. Such tasks were perfected on experimental animals having well defined brain lesions, and adapted for human neurological patients. The comparative aspects of such approach resides in the analogy between animals with brain lesions and human patients with lesions in homologous areas of the brain. Examples are represented by the comparison between the brain of laboratory animals (primarily non human primates and mice) with the one of people with damages resulting from excessive alcohol use. George Ettlinger George Ettlinger was one of the few who actively combined human and animal research, and he did so consistently throughout his scientific career. Ettinger work focused on the importance of the inferior temporal neocortex in visual discrimination learning and memory in macaque monkeys, and on the importance of ventral temporal lobe in vision. Ettinger animals models carried inferotemporal or latero-ventral prestriate ablation. In 1966 George Ettlinger, together with the psychologist Colin Blakemore and the neurosurgeon Murray Falconer, described the results of a study on correlation between pre-operative intelligence and the severity of mesial temporal sclerosis in temporal lobe specimens excised to treat intractable epilepsy. Such study It is known as a forerunner of what has become one of the potentially most interesting techniques for exploring the relationship between certain aspects of human memory and temporal lobe structures. See also Comparative psychology Experimental psychology Neuropathology Neuroscience Psychology References Neuropsychology Comparisons
Sir Robert Crull (1349–1408) was the Treasurer of Ireland during the reigns of Richard II and Henry IV. Crull is an important figure in the history of English Ireland during the reign of Richard II (1382–1399) for two reasons: his involvement in the antagonism between the Geraldine and Butler families at its most notorious stage, and being at times a sacrificial lamb in Richard II's power struggle with the English Parliament over the stormy colonial politics that ensued. Crull had been prebendary of Swords, and had been asked by the English colonial community to go to Westminster in 1385 to transact business relating to the problems caused by the falling-out between the then English Lord Lieutenant of Ireland, Sir Philip Courtenay, and his appointed Chief Governor of Ireland James Butler, 3rd Earl of Ormond. Crull had been a protégé of Ormond and Bishop Alexander de Balscot. All three joined Robert de Vere, the Earl of Oxford and newly appointed Marquess of Dublin and Duke of Ireland, and his lieutenant Sir John Stanley in the expedition to Ireland to quell the insurrection. The three supplied small companies to the general muster of Stanley's army with Crull providing, among other things, 24 archers of his retinue. The success of this expedition led to rewards for Earl James (Butler) III of Ormond, Bishop Alexander (who became Chancellor of Ireland) and Robert Crull (appointed Treasurer of Ireland in 1386). The Battle of Radcot Bridge in December 1387, between forces loyal to Richard II led by de Vere, and an army captained by Henry Bolingbroke, Earl of Derby, resulted in defeat for de Vere and his subsequent disgrace. This and the plans of William Courtenay, Archbishop of Canterbury, for protecting his nephew Sir Philip Courtenay, and the convening of the "Merciless Parliament" to curb the power of the king led to the dismissal of Stanley, Bishop Alexander, and Crull, and embarrassment for the Earl of Ormond. However Richard II, in trying to win over the House of Commons at the Cambridge parliament of September 1388, promised, among other things, to assume greater governance of his Irish realm, and this led him to reappointed Stanley, Bishop Alexander and Crull to reconstitute the administration of the Duke of Ireland. The Earl of Ormand's status also again rose. The foregoing served as a pattern for all four during the subsequent years of Richard II's reign. Crull served briefly to 1403 during the early days of Henry IV, who depicted Richard II as a tyrant to enhance the legitimacy of his own seizure of the throne. References Lord High Treasurers Normans in Ireland English civil servants Irish civil servants 14th-century English people 14th-century Irish politicians 1349 births 1408 deaths
Elizabeth Susan Koshy, (born May 10, 1994) is an Indian shooter from Kerala. Career Koshy made her international debut at the Junior meet in Germany in 2011 in which the Indian team was in sixth place. Koshy won five gold medals in Thiruvananthapuram at the State championship in the same year. She won silver in the Asian Shooting Championships and represented India in the 2013 and 2014 World Cups. Koshy took part in the 2014 Glasgow Commonwealth Games. Koshy won gold in the 2015 National Games women's 50m Rifle Prone event, the first for Kerala. She was coached by Haryana-based Satguru Dass from the navy. From Kochi, she was inspired to take up the sport on seeing a pre-National shooting championship during her childhood; she said that her grandfather was a hunter. She has taken part in prone, three-position and air rifle events but prefers three-position. References 1994 births Indian female sport shooters Sport shooters from Kerala Living people Shooters at the 2014 Commonwealth Games Commonwealth Games competitors for India Sportspeople from Kochi Sportswomen from Kerala 21st-century Indian women 21st-century Indian people South Asian Games gold medalists for India South Asian Games silver medalists for India South Asian Games medalists in shooting St. Teresa's College alumni
The Venerable Ian Thomas Stanes was an eminent Anglican priest in the second half of the 20th century. Stanes was educated at Sheffield University and Linacre College, Oxford and ordained in 1966. After a curacy at Holy Apostles, Leicester he was the Vicar of Broom Leys, Coalville. After this he was Priest Warden of Marrick Priory from 1976 to 1982 and the Willesden Area Officer for Mission, Ministry and Evangelism, London for a decade after that. In 1992 he became Archdeacon of Loughborough, a post he held until his retirement in 2005. Notes 1939 births Alumni of the University of Sheffield Alumni of Linacre College, Oxford Archdeacons of Loughborough Living people
```xml <?xml version="1.0" encoding="utf-8"?> <!-- ~ Nextcloud - Android Client ~ --> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="path_to_url" xmlns:app="path_to_url" xmlns:tools="path_to_url" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".etm.EtmActivity"> <include layout="@layout/toolbar_standard"/> <FrameLayout android:layout_width="match_parent" android:layout_height="match_parent" app:layout_behavior="@string/appbar_scrolling_view_behavior" android:id="@+id/etm_page_container"> </FrameLayout> </androidx.coordinatorlayout.widget.CoordinatorLayout> ```
Martucci is an Italian surname. Notable people with the surname include: Alessandro Martucci, Italian painter Christian Martucci (born 1977), American musician and songwriter Giuseppe Martucci (1856–1909), Italian composer, pianist and conductor Matt Martucci, American sports announcer Mirko Martucci (born 1988), Italian footballer Italian-language surnames
Iridomyrmex obscurior is a species of ant in the genus Iridomyrmex. Described by Auguste-Henri Forel in 1902, the species is endemic to Australia. References External links Iridomyrmex Hymenoptera of Australia Insects described in 1902
```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. """Uplift heads package definitions.""" from official.recommendation.uplift.layers.encoders import concat_features ```
Ivan Pace Jr. (born December 16, 2000) is an American football linebacker for the Minnesota Vikings of the National Football League (NFL). He played college football at Miami (OH) before transferring to Cincinnati in 2022, where he was named a unanimous All-American and the AAC Defensive Player of the Year. High school career Pace Jr. attended Colerain High School in Cincinnati, Ohio. He played linebacker and running back in high school. He committed to Miami University to play college football. College career Miami (OH) Pace Jr. played in 13 games his true freshman year at Miami in 2019, recording 19 tackles and seven sacks. Six of those sacks came against Akron, which tied the NCAA record for most sacks in a game. In 2020, he started all three games in the COVID-19 pandemic shortened season and had 26 tackles. In 2021, he had 125 tackles, four sacks and an interception. Cincinnati Pace Jr. transferred to the University of Cincinnati after the 2021 season. He joined his brother, Deshawn, who also plays linebacker for the team. He was a starter his first year at Cincinnati in 2022. Professional career Pace signed with the Minnesota Vikings as an undrafted free agent on April 29, 2023. On August 29, 2023, the Vikings announced that he had made the initial 53-man roster. References External links Minnesota Vikings bio Miami RedHawks bio Cincinnati Bearcats bio 2000 births Living people All-American college football players American football linebackers Cincinnati Bearcats football players Miami RedHawks football players Players of American football from Cincinnati Minnesota Vikings players
Leveling seats (, , , , ), commonly known also as adjustment seats, are an election mechanism employed for many years by all Nordic countries (except Finland) in elections for their national legislatures. In 2013, Germany also introduced national leveling seats for their national parliament, the Bundestag. The electoral reform in Germany 2023 removed the leveling seats, and replaced with Zweitstimmendeckung. Leveling seats are seats of additional members elected to supplement the members directly elected by each constituency. The purpose of these additional seats is to ensure that each party's share of the total seats is roughly proportional to the party's overall shares of votes at the national level. Denmark In 1915, Denmark became one of the first countries in the world to introduce leveling seats in their parliamentary elections. Since then, all parliamentary elections in Denmark have allocated these adjustment seats as a substantial fraction of the seats in the parliament. The parliamentary seats currently comprise 135 county seats and 40 leveling seats, with a further 4 "North Atlantic seats" elected separately by proportional representation in the Faroe Islands and Greenland (which are not treated as an integral part of the Danish election system). The leveling seats are supplementary to the normal seats which are allocated by proportional votes within each county. All parties which achieve at least 2% of the national votes are granted as many leveling seats as required to achieve proportional representation at the national level. Iceland Leveling seats have been a part of the election procedures for all Icelandic parliamentary elections since 1934. Sweden Since 1970, Sweden used leveling seats in its elections for both the Riksdag and county councils, for parties having qualified with a total share of votes above a 4%-limit in parliamentary elections and 3%-limit in county council elections. Sweden did not use leveling seats for municipal elections prior to 2018. With the new election law (effective from the election 2018), leveling seats are used in municipalities with more than one electoral district. Of the 349 seats in the Riksdag, 310 are fixed seats and 39 are adjustment seats. The 310 fixed seats are distributed among the 29 electoral districts () according to the largest remainder method with the Hare quota. The distribution of seats between the parties then takes place in four stages. Leveling seat allocation In the first stage, the fixed seats are distributed within each district according to the modified Sainte-Laguë method (jämkade uddatalsmetoden) with the first divisor adjusted to 1.2 (1.4 in elections before 2018). Only parties that have received at least 4 percent of the vote nationally or 12 percent of the vote within the district can participate in this distribution of seats. In the second stage, the 349 seats are distributed through a calculation based on the total number of votes summed up across the entire country. In this distribution only parties that have received more than 4 percent of the national vote are included. Parties that fall below 4 percent nationally but have been awarded fixed seats in districts where they have had more than 12 percent of the vote are disregarded, and their seats are subtracted from the calculation. If a party has received 2 seats in this fashion, for example, the calculation will be made with 347 seats. Again the modified Sainte-Laguë method is used. In the third stage, a summary is made of the fixed seats that the parties have achieved, and this is compared to the outcome of the nationwide distribution above. If a party has received more fixed seats than its share of the total 349-seat distribution, district seats allocated to that party are retracted and given to the party with the second 'highest quotient'. The parties are then awarded a number of adjustment seats sufficient to cover the gap between their number of fixed seats and their share in the nationwide distribution. Finally, the adjustment seats that each party has received are distributed among the districts. The application of the Sainte-Laguë number gives each party a quotient ('comparison number', jämförelsetal) in each district, which is its number of votes in the district divided by (2n+1), where n is the number of seats it has been awarded. The district where the party has the highest quotient is awarded an adjustment seat, and a new quotient is then calculated for that district, before the next adjustment seat is distributed. In theory, a district can thus receive more than one adjustment seat. If a party is yet to receive a seat in the district, its quotient simply is the number of votes it received. When the fixed seats were distributed among the parties in the district, this number was divided by 1.4, which made it harder for a party to achieve its first seat. Now, however, no such division takes place. The method used is thus pure and not modified Sainte-Laguë. In local elections In elections to the county councils, the same principles are followed, with the following differences: only parties that have received more than 3 percent of the vote in the county are able to participate in the distribution of seats. There is no 12 percent clause or other possibility for parties that fall below this threshold to gain seats. Finally, the number of adjustment seats is one tenth of the number of seats in the county council. If one tenth is a fractional number (which it always is, since the number of seats in a county council is required to be odd), the fraction is always adjusted upwards, so a county council with 51 seats would have 45 fixed seats and 6 adjustment seats. Norway Leveling seats were introduced in Norway in the 1989 parliamentary election when there were 8 such seats. Since 2005, there are 19 leveling mandates, one for each county. Its current form is based on the following principles: In order to be eligible for leveling seats, a party must get at least 4% (the exclusion threshold) of the national popular vote. A party may attain enough votes in a given county to elect a representative but may fail to be eligible for leveling seats. The number of representatives elected per county is a function of the total population in the county and the area of the county. Hence, the county of Finnmark needs fewer votes to elect a representative (7,409 in 2005) than Oslo (18,167 the same election). Of 169 representatives, 150 are elected by popular vote within the county. This means that a party that achieves 40% of the popular vote in a county will send about 40% of the total number of representatives from that county. The remaining 19 representatives are allocated one to each county but are elected based on nationwide results for a party, as long as the popular vote at the national level for that party exceeds the exclusion threshold of 4%. The result is that each representative represents an approximately equal number of voters. In the 2005 elections, the average number of votes on a national level was largely similar across party lines. The largest party, the Norwegian Labour Party, required the fewest votes per representative with 14,139; the party that needed the most votes was the Christian Democrats, with 16,262. On a county by county basis, however, there were greater disparities: Sogn og Fjordane needed only 3,503 votes to elect one representative from the Liberal Party, while Akershus needed 22,555 to elect one representative from the Socialist Left Party. The arrangement has gone through several adjustments through the years and is the result of legislative action. Allocation of leveling seats The allocation of leveling seats is a fairly complex process. First the leveling seats are distributed among the parties. The second part is distributing them among the counties. Allocation among parties A nationwide "ideal" distribution of all 169 seats is calculated using the Sainte-Laguë method for the eligible parties. If a party that did not reach the electoral threshold won seats anyway, the party keeps those seats and the number of seats to distribute is reduced accordingly. In 2009 the Liberal party failed to reach the threshold but won two seats. Therefore, only 167 seats were taken into account for the ideal distribution. If a party already has won more seats than the ideal distribution indicates, the party keeps those seats, but will not win any leveling seats. In that case, another ideal distribution is made between the parties still eligible for leveling seats, this may be repeated if the revised distribution again shows a party with "too many" seats. In 2009, the first ideal distribution showed that the Labour Party should have 63 seats overall, but they had already won 64. Those seats were taken out of consideration, and so another ideal distribution of the remaining 103 seats was made between the Progress Party, the Conservative Party, the Christian Democrats, the Centre Party and the Socialist Left Party. Once a final ideal distribution has been settled, the number of leveling seats awarded to each party is equal to that party's ideal number of seats minus the number of seats already won from each county. Allocating among counties To determine the county that each party will receive its leveling seats in, the following process is done: For each county and eligible party, determine the first unused quotient when the regular district seats were distributed. If the party has not yet won a seat from that county, the quotient is equal to the number of votes the party received there. If the party already has won one mandate from that seat, the quotient is the number of votes received in that county divided by 3, if the party has already won two seats from the county, the quotient is the number of votes divided by 5, and so on. The quotients for each county and party are divided by the total number of votes for all parties in that county and multiplied by the number of regular non-leveling seats allocated to that county. This leaves a table of fractions for each county and party. The first leveling seat goes to the county and party corresponding to the highest fraction in the table. The second leveling seat goes to county and party corresponding the next highest fraction in the table, and so on. Each time a leveling seat has been determined, the remaining fractions for the county that gave its leveling seat are taken out of consideration. Once a party has received all the leveling seats that it is entitled to, the remaining fractions for that party are also taken out of consideration. This process continues until all 19 leveling seats have been distributed. Peculiarities The method for assigning leveling seats usually results in the first leveling seats being given to candidates that did fairly well in the county. However, the last leveling seats may be awarded to candidates that received few votes in the county that they will represent. (In theory it is even possible for a party to receive a leveling seat in a county where they received no votes, or even in a county where they did not field any candidates, a scenario that the election law has no contingency for.) An illustration of this came in 2005 when Vera Lysklætt of the Liberal Party received the last leveling seat, in Finnmark, with 826 votes. Thus, the Liberal party gained 20% of Finnmark's seats with about 2% of the vote there. In the 2009 election, a programming fault in the software calculating the allocation prognosis for one county made their leveling seat go to another party. That changed the outcome in two other counties, and it took over a week and a recount until the distribution of leveling seats was finally decided. Mette Hanekamhaug got the final seat. Germany In February 2013, following a decision of the Federal Constitutional Court which demanded a reform of the electoral law for proportional representation, Germany added a provision to create national leveling seats as needed in a case of negative vote weight occurring in its mixed member proportional system, in addition to the traditional leveling seats that already existed in many state elections. See also Additional Member System Biproportional apportionment Mixed-member proportional representation References Elections in Norway Elections in Sweden Elections in Denmark Party-list proportional representation