text
stringlengths
1
22.8M
Ponchon () is a commune in the Oise department in northern France. See also Communes of the Oise department References Communes of Oise
```shell # $OpenBSD: knownhosts.sh,v 1.2 2023/02/09 09:55:33 dtucker Exp $ # Placed in the Public Domain. tid="known hosts" opts="-F $OBJ/ssh_proxy" trace "test initial connection" ${SSH} $opts somehost true || fail "initial connection" trace "learn hashed known host" >$OBJ/known_hosts ${SSH} -ohashknownhosts=yes -o stricthostkeychecking=no $opts somehost true \ || fail "learn hashed known_hosts" trace "test hashed known hosts" ${SSH} $opts somehost true || fail "reconnect with hashed known hosts" trace "no newline at end of known_hosts" printf "something" >$OBJ/known_hosts ${SSH} $opts -ostricthostkeychecking=no somehost true \ || fail "hostkey update, missing newline, no strict" ${SSH} $opts -ostricthostkeychecking=yes somehost true \ || fail "reconnect after adding with missing newline" trace "newline at end of known_hosts" printf "something\n" >$OBJ/known_hosts ${SSH} $opts -ostricthostkeychecking=no somehost true \ || fail "hostkey update, newline, no strict" ${SSH} $opts -ostricthostkeychecking=yes somehost true \ || fail "reconnect after adding without missing newline" lines=`wc -l <$OBJ/known_hosts` if [ $lines -ne 2 ]; then fail "expected 2 lines in known_hosts, found $lines" fi ```
```objective-c /* related_packet_delegate.h * * Wireshark - Network traffic analyzer * By Gerald Combs <gerald@wireshark.org> * * This program is free software; you can redistribute it and/or * as published by the Free Software Foundation; either version 2 * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef RELATED_PACKET_DELEGATE_H #define RELATED_PACKET_DELEGATE_H #include <config.h> #include "epan/conversation.h" #include <QHash> #include <QStyledItemDelegate> class QPainter; struct conversation; class RelatedPacketDelegate : public QStyledItemDelegate { Q_OBJECT public: RelatedPacketDelegate(QWidget *parent = 0); void clear(); void setCurrentFrame(guint32 current_frame) { current_frame_ = current_frame; } void setConversation(struct conversation *conv); public slots: void addRelatedFrame(int frame_num, ft_framenum_type_t framenum_type = FT_FRAMENUM_NONE); protected: void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const; QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const; private: QHash<int, ft_framenum_type_t> related_frames_; struct conversation *conv_; guint32 current_frame_; void drawArrow(QPainter *painter, const QPoint tail, const QPoint head, int head_size) const; void drawCheckMark(QPainter *painter, const QRect bbox) const; signals: }; #endif // RELATED_PACKET_DELEGATE_H /* * Editor modelines * * Local Variables: * c-basic-offset: 4 * tab-width: 8 * indent-tabs-mode: nil * End: * * ex: set shiftwidth=4 tabstop=8 expandtab: * :indentSize=4:tabSize=8:noTabs=true: */ ```
```c++ /******************************************************************************* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *******************************************************************************/ #ifndef CPU_CPU_LRN_PD_HPP #define CPU_CPU_LRN_PD_HPP #include <assert.h> #include "common/lrn_pd.hpp" #include "cpu/cpu_engine.hpp" namespace dnnl { namespace impl { namespace cpu { struct cpu_lrn_fwd_pd_t : public lrn_fwd_pd_t { using lrn_fwd_pd_t::lrn_fwd_pd_t; }; struct cpu_lrn_bwd_pd_t : public lrn_bwd_pd_t { using lrn_bwd_pd_t::lrn_bwd_pd_t; }; } // namespace cpu } // namespace impl } // namespace dnnl #endif // vim: et ts=4 sw=4 cindent cino+=l0,\:4,N-s ```
```javascript import Section from './section' // @vue/component export default { name: 'BVReload', render(h) { const $heading = h('h1', [ h('span', { staticClass: 'bd-content-title' }, 'Updated documentation') ]) const $lead = h( 'p', { staticClass: 'lead' }, 'Updated documentation is available. Please reload.' ) const $button = h( 'b-button', { props: { variant: 'primary' }, on: { click: () => { window.location.reload(true) } } }, 'Reload page' ) return h(Section, [$heading, $lead, h('p', [$button])]) } } ```
```objective-c /****************************************************************************** * * Name: accommon.h - Common include files for generation of ACPICA source * *****************************************************************************/ /****************************************************************************** * * * All rights reserved. * * * 2.1. This is your license from Intel Corp. under its intellectual property * rights. You may have additional license terms from the party that provided * you this software, covering your right to use that party's intellectual * property rights. * * copy of the source code appearing in this file ("Covered Code") an * irrevocable, perpetual, worldwide license under Intel's copyrights in the * base code distributed originally by Intel ("Original Intel Code") to copy, * make derivatives, distribute, use and display any portion of the Covered * Code in any form, with the right to sublicense such rights; and * * license (with the right to sublicense), under only those claims of Intel * patents that are infringed by the Original Intel Code, to make, use, sell, * offer to sell, and import the Covered Code and derivative works thereof * solely to the minimum extent necessary to exercise the above copyright * license, and in no event shall the patent license extend to any additions * to or modifications of the Original Intel Code. No other license or right * is granted directly or by implication, estoppel or otherwise; * * The above copyright and patent license is granted only if the following * conditions are met: * * 3. Conditions * * 3.1. Redistribution of Source with Rights to Further Distribute Source. * Redistribution of source code of any substantial portion of the Covered * Code or modification with rights to further distribute source must include * and the following Disclaimer and Export Compliance provision. In addition, * must include a prominent statement that the modification is derived, * directly or indirectly, from Original Intel Code. * * 3.2. Redistribution of Source with no Rights to Further Distribute Source. * Redistribution of source code of any substantial portion of the Covered * Code or modification without rights to further distribute source must * include the following Disclaimer and Export Compliance provision in the * documentation and/or other materials provided with distribution. In * portion of the Covered Code, and must include terms to the effect that the * not to intellectual property embodied in modifications its licensee may * make. * * 3.3. Redistribution of Executable. Redistribution in executable form of any * substantial portion of the Covered Code or modification must reproduce the * provision in the documentation and/or other materials provided with the * distribution. * * 3.4. Intel retains all right, title, and interest in and to the Original * Intel Code. * * 3.5. Neither the name Intel nor any other trademark owned or controlled by * Intel shall be used in advertising or otherwise to promote the sale, use or * other dealings in products derived from or relating to the Covered Code * without prior written authorization from Intel. * * 4. Disclaimer and Export Compliance * * 4.1. INTEL MAKES NO WARRANTY OF ANY KIND REGARDING ANY SOFTWARE PROVIDED * HERE. ANY SOFTWARE ORIGINATING FROM INTEL OR DERIVED FROM INTEL SOFTWARE * IS PROVIDED "AS IS," AND INTEL WILL NOT PROVIDE ANY SUPPORT, ASSISTANCE, * INSTALLATION, TRAINING OR OTHER SERVICES. INTEL WILL NOT PROVIDE ANY * UPDATES, ENHANCEMENTS OR EXTENSIONS. INTEL SPECIFICALLY DISCLAIMS ANY * IMPLIED WARRANTIES OF MERCHANTABILITY, NONINFRINGEMENT AND FITNESS FOR A * PARTICULAR PURPOSE. * * 4.2. IN NO EVENT SHALL INTEL HAVE ANY LIABILITY TO LICENSEE, ITS LICENSEES * OR ANY OTHER THIRD PARTY, FOR ANY LOST PROFITS, LOST DATA, LOSS OF USE OR * COSTS OF PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, OR FOR ANY INDIRECT, * SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, UNDER ANY * CAUSE OF ACTION OR THEORY OF LIABILITY, AND IRRESPECTIVE OF WHETHER INTEL * HAS ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. THESE LIMITATIONS * SHALL APPLY NOTWITHSTANDING THE FAILURE OF THE ESSENTIAL PURPOSE OF ANY * LIMITED REMEDY. * * software or system incorporating such software without first obtaining any * required license or other approval from the U. S. Department of Commerce or * any other agency or department of the United States Government. In the * ensure that the distribution and export/re-export of the software is in * compliance with all laws, regulations, orders, or other restrictions of the * any of its subsidiaries will export/re-export any technical data, process, * software, or service, directly or indirectly, to any country for which the * United States government or any agency thereof requires an export license, * other governmental approval, or letter of assurance, without first obtaining * such license, approval or letter. * ***************************************************************************** * * Alternatively, you may choose to be licensed under the terms of the * following license: * * 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, * without modification. * 2. Redistributions in binary form must reproduce at minimum a disclaimer * substantially similar to the "NO WARRANTY" disclaimer below * ("Disclaimer") and any redistribution must be conditioned upon * including a substantially similar Disclaimer requirement for further * binary redistribution. * 3. Neither the names of the above-listed copyright holders nor the names * of any contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * * Alternatively, you may choose to be licensed under the terms of the * Software Foundation. * *****************************************************************************/ #ifndef __ACCOMMON_H__ #define __ACCOMMON_H__ /* * Common set of includes for all ACPICA source files. * We put them here because we don't want to duplicate them * in the source code again and again. * * Note: The order of these include files is important. */ #include "acconfig.h" /* Global configuration constants */ #include "acmacros.h" /* C macros */ #include "aclocal.h" /* Internal data types */ #include "acobject.h" /* ACPI internal object */ #include "acstruct.h" /* Common structures */ #include "acglobal.h" /* All global variables */ #include "achware.h" /* Hardware defines and interfaces */ #include "acutils.h" /* Utility interfaces */ #ifndef ACPI_USE_SYSTEM_CLIBRARY #include "acclib.h" /* C library interfaces */ #endif /* !ACPI_USE_SYSTEM_CLIBRARY */ #endif /* __ACCOMMON_H__ */ ```
Ilovlinsky District () is an administrative district (raion), one of the thirty-three in Volgograd Oblast, Russia. As a municipal division, it is incorporated as Ilovlinsky Municipal District. It is located in the center of the oblast. The area of the district is . Its administrative center is the urban locality (a work settlement) of Ilovlya. Population: 34,358 (2002 Census); The population of Ilovlya accounts for 33.9% of the district's total population. References Notes Sources Districts of Volgograd Oblast
Acrobatic rock and roll (spelled rock'n'roll by its organizing body, the World Rock'N'Roll Confederation) is a fast, athletic, physically demanding form of partner dance that originated from Lindy Hop but has evolved to a choreographed sport, often done in formal competition. It is danced by both couples (usually of mixed gender) and groups, either all-female or four to eight couples together. History From swing dance, which had come into being around 1920, there emerged Lindy Hop, the first partner dance ever to feature acrobatic elements, which was later modified to suit faster music, spawning dance steps to accompany rock 'n' roll as that genre developed. Today's rock and roll dance has gone far beyond these origins, especially in its gymnastic moves. Technique and basics The Rock and Roll form's specifics vary across the world, but its kick-step footwork style starts with the 6-basic step: Leader starts with left foot kick ball change, kick step (left), kick step (right). Follower starts with right foot kick ball change, kick step (right), kick step (left). Another simple form of basic footwork uses a tap step: Leader starts with their left foot and does a back step, then a tap step (left), tap step (right). Follower starts with the right foot and does a back step, then a tap step (right), tap step (left). The most obvious acrobatic feature of this dance sport are its kicks (into thin air) and its gymnastic elements like lifts, jumps, throws and flips. Today's rock and roll dance is focused on show and competition dance and, with the exception of its name, has nearly nothing in common with earlier dance steps done to rock music. It is danced in pairs or in formation and can even be danced with one male and two females simultaneously, a form called "triples". Over the years rock and roll dancing has experienced several important changes: the former 6-basic step was converted into the modern tournament's 9-basic step with its typical kick ball change. Other characteristics are techniques such as the man's body wave movement, which he uses to fling his partner from a sitting position upwards, and the throwing basic movement, where she steps onto his hands and is catapulted upwards into breakneck jumps. Because of its demanding technique, high speed, and acrobatics, rock and roll is a straining high-performance dance and is most often performed by young dancers. The name of the basic step comes from the number of separate actions. With the 6-basic one counts (1)step (2)step (3)kick (4)settle (5)kick (6)settle or (1)kick (2)settle (3)kick (4)settle (5)kick (6)settle, with the 9-basic it is (1)kick (2)ball (3)change (4)kick (5)settle (6)settle (7)kick (8)settle (9)settle. This means that a correct rock and roll kick will have the supporting foot settling on the floor a tiny moment before the kicking foot settles. Dance categories The World Rock'N'Roll Confederation (WRRC) recognizes the following dance categories for international competitions: Youth: No acrobatics allowed. Couples are 14 years old or younger. Juniors: A maximum of four acrobatic moves are allowed under the category's safety regulations. Couples are between 12 and 17 years of age. Main Class Contact Style: Two dances per couple and round. One is a dance program with no acrobatics allowed (footwork, or foot technique), the other an acrobatic program (acrobatic) requiring six acrobatic moves. The male may throw the female into the air, but no flips are allowed. Minimum age is 14 years. Main Class Free Style: Two dances, as in B-Class. Only difference to B-Class is that almost all acrobatics (e.g. lifts, jumps, throws and flips) are allowed. Minimum age is 15 years. National associations usually have additional classes (e.g., a C class for beginning competitive dancers). However, all have the four classes listed above (though some rules may differ). Rhythm and music Rock and roll dance works on the 4/4 measure, one basic step comprising six beats and therefore one and a half measures. Unlike much rock 'n' roll music, the dance puts stress on the first and third beats of each measure. Because of its non-off beat stressing and speed, the dance has now replaced traditional rock 'n' roll music with modern disco and pop music, played very fast, between 176 and 208 bpm. Clothes Current advanced tournament rock and roll dancers wear neither petticoats nor jeans, as the dancers originally did, but rather multicoloured costumes made of elastic artificial fibre, made individually by special tailors. One reason is that their acrobatic maneuvers have grown more and more dangerous, requiring rugged apparel that still provides freedom of movement. The shoes they wear are especially important, as their soles must both grip and slip properly. The most common footwear is light jazz shoes for the dance programs and, especially for women, usually aerobics sneakers for the acrobatic programs. Organization The WRRC sets national and international rules and guidelines for tournaments and organizes the World Cups, European championships, and World Championships held every year for couples and bodies. All international competitors are ranked by points won during competitions. The International Olympic Committee has officially recognized the WRRC, which aims for acrobatic rock and roll to become an Olympic sport. Notable dancers Notable dancers of this sport, among others, are Katerina Tikhonova, second daughter of the Russian president Vladimir Putin, and Miguel Angueira, a French world champion of this sport. See also World Rock'n'Roll Confederation International Dance Sport Federation References External links – World Rock'n'Roll Confederation Dancesport Swing dances Gymnastics
Catherine "Cate" Banfield is a fictional character in the American medical drama ER, portrayed by Angela Bassett. She is an attending physician with a mysterious past with County General. Bassett's addition into the main cast opening credits was in the 2nd episode of season 15. Life at County and Career Banfield was hired in 2008 to become the permanent Chief of the Emergency Department, replacing Dr. Skye Wexler who was serving as acting chief. The board had decided to offer the permanent position to Dr. Gregory Pratt, but with Pratt's death, Banfield was brought in as his replacement. She first appeared in the second episode of Season 15 and immediately puts the whole ER on edge with her tough attitude. It was mentioned that she flew to Indonesia to help that country deal with the 2004 tsunami disaster. On her first day, Nurse Haleh mentioned Banfield looked familiar as if she's been at County before, which Banfield immediately denies. Her first day as Chief tested her skills as an able and efficient leader when a bio-terrorist released a bag of weaponized Ricin in the ER, necessitating an evacuation and quarantine. She briefly met and clashed over a gunshot case with Abby Lockhart, who was finishing her last shift on her last day at County General. Nonetheless, Banfield made amends with her new acquaintance before Abby departed for Boston. In the episode "Heal Thyself", the treatment of a little girl who almost drowned in the Chicago River triggered painful memories, yet in the end it helped Banfield figure out how to save the girl from a certain death, thereby in her mind redeeming herself from the mistakes she made with her son Darryl. Later in Season 15, Cate and Archie Morris get snowed in at a conference in Omaha. Banfield ends up getting drunk and makes a wild scene of entertainment in the hotel lobby. She smiles and actually laughs for the first time (probably the first time since before the accident). The two end up having to share a room together before flying back to Chicago. Cate begins to open up more to Morris how they tried to have another baby a few years back but miscarried. Early life In the Season 15 episode "Heal Thyself", the audience begins to learn about Cate Banfield's haunting past and how her experiences have damaged her emotionally. Set in 2002, 6 years earlier, the flashback episode revealed a happier Cate Banfield with her husband Russell (played by Bassett's real life husband, actor Courtney B. Vance) and their 5-year-old son Darryl. Banfield had a more youthful look with longer black hair. She is smiling, which was never seen by the show's audiences until this point. In this episode, she stated to Dr. Greene that she worked as an ER attending physician at the University of Chicago. She went to medical school at Johns Hopkins School of Medicine. During a day out in the city park, Darryl was struck with a mysterious seizure. Cate at first didn't see it as anything serious and argued against calling 9-1-1, even though her husband Russell insisted. After Darryl began vomiting blood, Cate brought him to County General and was diagnosed by Dr. Mark Greene in Trauma 1. Darryl had acute leukemia, and died from advanced complications that arose with his illness. Cate's initial denial and delay contributed to one of the factors that led to Dr. Greene not being able to save Darryl. This explains how Nurse Haleh had recognized her before and the chilling moment Banfield had on her first day stepping into Trauma 1. In the last scene of the episode, Banfield and Greene talk about what happened near the Chicago River and how the ordeal proved to be completely damaging in Cate's mind and to her relationship with her husband. Personal life In the present day in the episode "Heal Thyself" after Darryl's death, Cate lay in Darryl's empty room, where her husband Russell tells her how he never blamed her for what happened, and Cate cries for the first time over her son's death. Morris is stunned to learn that Cate is working at the hospital where her son died. Later in the season Cate has an appointment with Janet Coburn from O.B. since she and Russell decide they want to try for a baby one last time, even though Coburn tells them the chances are slim. Cate begins to take special injections of hormones to help with her chances in the process and tries to remain hopeful over all the odds, but she and Russell are devastated when the egg implantation process has zero success. Later in the season a mother abandons a baby at County with whom Cate bonds. She convinces Russell that they should adopt the baby. When in the penultimate episode the mother arrives to take him back, Cate successfully convinces her to let her and Russell openly adopt the child. References ER (TV series) characters Television characters introduced in 2008 Fictional female doctors Fictional African-American people
```xml /** * a buffer-cache which holds the last X changeEvents of the collection */ import { Subscription } from 'rxjs'; import { filter } from 'rxjs/operators'; import type { RxChangeEvent, RxCollection } from './types/index.d.ts'; import { appendToArray, requestIdlePromiseNoQueue } from './plugins/utils/index.ts'; /** * This buffer rembemers previous change events * so that queries can use them on .exec() * to calculate the new result set via event-reduce instead * of running the query against the storage. */ export class ChangeEventBuffer<RxDocType> { /** * These properties are private to ensure they cannot * be read without first processing the lazy tasks. */ private subs: Subscription[] = []; private counter: number = 0; private eventCounterMap: WeakMap< RxChangeEvent<RxDocType>, number > = new WeakMap(); /** * array with changeEvents * starts with oldest known event, ends with newest */ private buffer: RxChangeEvent<RxDocType>[] = []; public limit: number = 100; private tasks = new Set<Function>(); constructor( public collection: RxCollection ) { this.subs.push( this.collection.database.eventBulks$.pipe( filter(changeEventBulk => changeEventBulk.collectionName === this.collection.name), filter(bulk => { const first = bulk.events[0]; return !first.isLocal; }) ).subscribe(eventBulk => { this.tasks.add(() => this._handleChangeEvents(eventBulk.events)); if (this.tasks.size <= 1) { requestIdlePromiseNoQueue().then(() => { this.processTasks(); }); } }) ); } private processTasks() { if (this.tasks.size === 0) { return; } const tasks = Array.from(this.tasks); tasks.forEach(task => task()); this.tasks.clear(); } private _handleChangeEvents(events: RxChangeEvent<RxDocType>[]) { const counterBefore = this.counter; this.counter = this.counter + events.length; if (events.length > this.limit) { this.buffer = events.slice(events.length * -1); } else { appendToArray(this.buffer, events); this.buffer = this.buffer.slice(this.limit * -1); } const counterBase = counterBefore + 1; const eventCounterMap = this.eventCounterMap; for (let index = 0; index < events.length; index++) { const event = events[index]; eventCounterMap.set(event, counterBase + index); } } getCounter() { this.processTasks(); return this.counter; } getBuffer() { this.processTasks(); return this.buffer; } /** * gets the array-index for the given pointer * @return arrayIndex which can be used to iterate from there. If null, pointer is out of lower bound */ getArrayIndexByPointer(pointer: number): number | null { this.processTasks(); const oldestEvent = this.buffer[0]; const oldestCounter = this.eventCounterMap.get( oldestEvent ) as number; if (pointer < oldestCounter) return null; // out of bounds const rest = pointer - oldestCounter; return rest; } /** * get all changeEvents which came in later than the pointer-event * @return array with change-events. If null, pointer out of bounds */ getFrom(pointer: number): RxChangeEvent<RxDocType>[] | null { this.processTasks(); const ret = []; let currentIndex = this.getArrayIndexByPointer(pointer); if (currentIndex === null) // out of bounds return null; while (true) { const nextEvent = this.buffer[currentIndex]; currentIndex++; if (!nextEvent) { return ret; } else { ret.push(nextEvent); } } } runFrom(pointer: number, fn: Function) { this.processTasks(); const ret = this.getFrom(pointer); if (ret === null) { throw new Error('out of bounds'); } else { ret.forEach(cE => fn(cE)); } } /** * no matter how many operations are done on one document, * only the last operation has to be checked to calculate the new state * this function reduces the events to the last ChangeEvent of each doc */ reduceByLastOfDoc(changeEvents: RxChangeEvent<RxDocType>[]): RxChangeEvent<RxDocType>[] { this.processTasks(); return changeEvents.slice(0); // TODO the old implementation was wrong // because it did not correctly reassigned the previousData of the changeevents // this should be added to the event-reduce library and not be done in RxDB const docEventMap: any = {}; changeEvents.forEach(changeEvent => { docEventMap[changeEvent.documentId] = changeEvent; }); return Object.values(docEventMap); } destroy() { this.tasks.clear(); this.subs.forEach(sub => sub.unsubscribe()); } } export function createChangeEventBuffer<RxdocType>( collection: RxCollection<RxdocType, any> ) { return new ChangeEventBuffer<RxdocType>(collection); } ```
The 1991 Commonwealth Heads of Government Meeting was the 12th Meeting of the Heads of Government of the Commonwealth of Nations. It was held in Harare, Zimbabwe, between 16 October 1991 and 21 October 1991, and was hosted by that country's President, Robert Mugabe. The Harare Declaration was issued at the CHOGM setting out the Commonwealth's core principles and values and its membership criteria, reaffirming and expanding upon the Singapore Declaration which had been issued twenty years earlier. 1991 Diplomatic conferences in Zimbabwe 20th-century diplomatic conferences 1991 conferences 1991 in international relations 1991 in Zimbabwe Zimbabwe and the Commonwealth of Nations 20th century in Harare October 1991 events in Africa
```raw token data Port Access Client Status Details Client 90:4c:81:cf:10:30, ap-0148-0125 ============================ Session Details --------------- Port : 2/1/15 Session Time : 5340956s IPv4 Address : IPv6 Address : Authentication Details ---------------------- Status : mac-auth Authenticated Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted Authorization Details ---------------------- Role : dur_cx_ap-3116-4 Status : Applied Client 90:4c:81:cf:0e:ec, ap-0148-0114 ============================ Session Details --------------- Port : 1/1/4 Session Time : 5340964s IPv4 Address : IPv6 Address : Authentication Details ---------------------- Status : mac-auth Authenticated Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted Authorization Details ---------------------- Role : dur_cx_ap-3116-4 Status : Applied Client 20:a6:cd:cf:6d:16, ap-0148-0111 ============================ Session Details --------------- Port : 1/1/1 Session Time : 5340969s IPv4 Address : IPv6 Address : Authentication Details ---------------------- Status : mac-auth Authenticated Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted Authorization Details ---------------------- Role : dur_cx_ap-3116-4 Status : Applied Client 90:4c:81:cf:1c:98, ap-0148-0123 ============================ Session Details --------------- Port : 2/1/13 Session Time : 5340966s IPv4 Address : IPv6 Address : Authentication Details ---------------------- Status : mac-auth Authenticated Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted Authorization Details ---------------------- Role : dur_cx_ap-3116-4 Status : Applied Client 90:4c:81:cf:0e:f4, ap-0148-0122 ============================ Session Details --------------- Port : 2/1/12 Session Time : 5340964s IPv4 Address : IPv6 Address : Authentication Details ---------------------- Status : mac-auth Authenticated Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted Authorization Details ---------------------- Role : dur_cx_ap-3116-4 Status : Applied Client 90:4c:81:cf:1b:ac, ap-0148-0115 ============================ Session Details --------------- Port : 1/1/5 Session Time : 5340962s IPv4 Address : IPv6 Address : Authentication Details ---------------------- Status : mac-auth Authenticated Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted Authorization Details ---------------------- Role : dur_cx_ap-3116-4 Status : Applied Client 90:4c:81:cf:1c:7e, ap-0148-0112 ============================ Session Details --------------- Port : 1/1/2 Session Time : 5340965s IPv4 Address : IPv6 Address : Authentication Details ---------------------- Status : mac-auth Authenticated Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted Authorization Details ---------------------- Role : dur_cx_ap-3116-4 Status : Applied Client 90:4c:81:cf:10:9a, ap-0148-0121 ============================ Session Details --------------- Port : 2/1/11 Session Time : 5340961s IPv4 Address : IPv6 Address : Authentication Details ---------------------- Status : mac-auth Authenticated Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted Authorization Details ---------------------- Role : dur_cx_ap-3116-4 Status : Applied Client 90:4c:81:cf:0f:8e, ap-0148-0120 ============================ Session Details --------------- Port : 2/1/10 Session Time : 5340960s IPv4 Address : IPv6 Address : Authentication Details ---------------------- Status : mac-auth Authenticated Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted Authorization Details ---------------------- Role : dur_cx_ap-3116-4 Status : Applied Client 90:4c:81:cf:10:ee, ap-0148-0113 ============================ Session Details --------------- Port : 1/1/3 Session Time : 5340966s IPv4 Address : IPv6 Address : Authentication Details ---------------------- Status : mac-auth Authenticated Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted Authorization Details ---------------------- Role : dur_cx_ap-3116-4 Status : Applied Client 00:20:85:e1:6e:4e, ups-0148-0003 ============================ Session Details --------------- Port : 2/1/48 Session Time : 5342401s IPv4 Address : IPv6 Address : Authentication Details ---------------------- Status : mac-auth Authenticated Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted Authorization Details ---------------------- Role : dur_cx_ups-3128-4 Status : Applied Client 90:4c:81:cf:0f:10, ap-0148-0118 ============================ Session Details --------------- Port : 1/1/8 Session Time : 5340968s IPv4 Address : IPv6 Address : Authentication Details ---------------------- Status : mac-auth Authenticated Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted Authorization Details ---------------------- Role : dur_cx_ap-3116-4 Status : Applied Client 90:4c:81:cf:0f:5c, ap-0148-0117 ============================ Session Details --------------- Port : 1/1/7 Session Time : 5340969s IPv4 Address : IPv6 Address : Authentication Details ---------------------- Status : mac-auth Authenticated Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted Authorization Details ---------------------- Role : dur_cx_ap-3116-4 Status : Applied Client 90:4c:81:cf:1c:92, ap-0148-0126 ============================ Session Details --------------- Port : 2/1/16 Session Time : 5340964s IPv4 Address : IPv6 Address : Authentication Details ---------------------- Status : mac-auth Authenticated Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted Authorization Details ---------------------- Role : dur_cx_ap-3116-4 Status : Applied Client 90:4c:81:cf:1c:74, ap-0148-0116 ============================ Session Details --------------- Port : 1/1/6 Session Time : 5340965s IPv4 Address : IPv6 Address : Authentication Details ---------------------- Status : mac-auth Authenticated Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted Authorization Details ---------------------- Role : dur_cx_ap-3116-4 Status : Applied Client 90:4c:81:cf:0f:e6, ap-0148-0124 ============================ Session Details --------------- Port : 2/1/14 Session Time : 5340965s IPv4 Address : IPv6 Address : Authentication Details ---------------------- Status : mac-auth Authenticated Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted Authorization Details ---------------------- Role : dur_cx_ap-3116-4 Status : Applied Client 90:4c:81:cf:10:1c, ap-0148-0119 ============================ Session Details --------------- Port : 2/1/9 Session Time : 5340964s IPv4 Address : IPv6 Address : Authentication Details ---------------------- Status : mac-auth Authenticated Auth Precedence : mac-auth - Authenticated, dot1x - Not attempted Authorization Details ---------------------- Role : dur_cx_ap-3116-4 Status : Applied ```
```c++ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! #include "config.h" #include "V8EventInit.h" #include "bindings/core/v8/ExceptionState.h" namespace blink { void V8EventInit::toImpl(v8::Isolate* isolate, v8::Local<v8::Value> v8Value, EventInit& impl, ExceptionState& exceptionState) { if (isUndefinedOrNull(v8Value)) return; if (!v8Value->IsObject()) { exceptionState.throwTypeError("cannot convert to dictionary."); return; } v8::TryCatch block(isolate); v8::Local<v8::Object> v8Object; if (!v8Call(v8Value->ToObject(isolate->GetCurrentContext()), v8Object, block)) { exceptionState.rethrowV8Exception(block.Exception()); return; } { v8::Local<v8::Value> bubblesValue; if (!v8Object->Get(isolate->GetCurrentContext(), v8String(isolate, "bubbles")).ToLocal(&bubblesValue)) { exceptionState.rethrowV8Exception(block.Exception()); return; } if (bubblesValue.IsEmpty() || bubblesValue->IsUndefined()) { // Do nothing. } else { bool bubbles = toBoolean(isolate, bubblesValue, exceptionState); if (exceptionState.hadException()) return; impl.setBubbles(bubbles); } } { v8::Local<v8::Value> cancelableValue; if (!v8Object->Get(isolate->GetCurrentContext(), v8String(isolate, "cancelable")).ToLocal(&cancelableValue)) { exceptionState.rethrowV8Exception(block.Exception()); return; } if (cancelableValue.IsEmpty() || cancelableValue->IsUndefined()) { // Do nothing. } else { bool cancelable = toBoolean(isolate, cancelableValue, exceptionState); if (exceptionState.hadException()) return; impl.setCancelable(cancelable); } } } v8::Local<v8::Value> toV8(const EventInit& impl, v8::Local<v8::Object> creationContext, v8::Isolate* isolate) { v8::Local<v8::Object> v8Object = v8::Object::New(isolate); if (!toV8EventInit(impl, v8Object, creationContext, isolate)) return v8::Local<v8::Value>(); return v8Object; } bool toV8EventInit(const EventInit& impl, v8::Local<v8::Object> dictionary, v8::Local<v8::Object> creationContext, v8::Isolate* isolate) { if (impl.hasBubbles()) { if (!v8CallBoolean(dictionary->CreateDataProperty(isolate->GetCurrentContext(), v8String(isolate, "bubbles"), v8Boolean(impl.bubbles(), isolate)))) return false; } else { if (!v8CallBoolean(dictionary->CreateDataProperty(isolate->GetCurrentContext(), v8String(isolate, "bubbles"), v8Boolean(false, isolate)))) return false; } if (impl.hasCancelable()) { if (!v8CallBoolean(dictionary->CreateDataProperty(isolate->GetCurrentContext(), v8String(isolate, "cancelable"), v8Boolean(impl.cancelable(), isolate)))) return false; } else { if (!v8CallBoolean(dictionary->CreateDataProperty(isolate->GetCurrentContext(), v8String(isolate, "cancelable"), v8Boolean(false, isolate)))) return false; } return true; } EventInit NativeValueTraits<EventInit>::nativeValue(v8::Isolate* isolate, v8::Local<v8::Value> value, ExceptionState& exceptionState) { EventInit impl; V8EventInit::toImpl(isolate, value, impl, exceptionState); return impl; } } // namespace blink ```
```php <?php namespace Psalm\Internal\LanguageServer\Provider; use Psalm\Internal\Provider\ProjectCacheProvider as PsalmProjectCacheProvider; /** * @internal */ final class ProjectCacheProvider extends PsalmProjectCacheProvider { private int $last_run = 0; public function __construct() { } public function getLastRun(string $psalm_version): int { return $this->last_run; } public function processSuccessfulRun(float $start_time, string $psalm_version): void { $this->last_run = (int) $start_time; } public function canDiffFiles(): bool { return $this->last_run > 0; } public function hasLockfileChanged(): bool { return false; } public function updateComposerLockHash(): void { } } ```
Web Junk 20 is an American television program in which VH1 and iFilm collaborate to highlight the twenty funniest and most interesting clips collected from the Internet that week. The show was last hosted by comedian Aries Spears. Patrice O'Neal hosted the first two seasons, while Jim Breuer hosted Season 3. Rachel Perry introduces the premise of each clip via voice-over. Season 3 of the show introduced credit given to websites the clips are taken from (as announced by Perry). Previous seasons of the show would only introduce the clips, but website addresses from sites such as ebaumsworld.com or break.com could clearly be seen in the clips. List of number one clips Cycle one January 13, 2006: "Tyra Banks Gone Wild" (Tyra becomes outraged when a contestant lacks the proper respect for America's Next Top Model) January 20, 2006: "My Name Is John Daker" (Local wannabe singer John Daker gives it a go on public-access television cable TV.) January 27, 2006: "Steve Ballmer Goes Wild" (The Microsoft executive goes nuts at a corporate convention) February 3, 2006: "Kangaroo Court" (A man holds court during an interview on a television program. In the background, a kangaroo is masturbating) February 10, 2006: "Most Uncomfortable Interview Ever" (The president of the Japanese fan club for Dakota Fanning gets a little nervous when interviewing his favorite star.) February 17, 2006: "Pinky the Wild Cat" (During an animal-adoption ad, the kitty goes berserk and tries to neuter the guy giving her away.) February 24, 2006: "Get Carl Lewis' Money!" (The world-famous track star shows off his acting chops and lays down the law.) March 10, 2006: "Kitty Porn" (A cat is caught masturbating on tape. This was voted by viewers as the number one clip on the Web Junk 40 year end special.) March 31, 2006: "Disaster Series" (A guy who has extremely terrible luck; The winner of the "Show us Your Junk" contest) Cycle two June 9, 2006: "Tom Cruise: Rump Shaker" (Tom Cruise, promoting Mission: Impossible III on BET, dances to It's Goin' Down) June 16, 2006: "But He's Gay" (A newswoman mistakenly identifies Erik Weihenmayer, who climbed Mount Everest as gay instead of blind.) June 23, 2006: "Silent Symphony" (The BBC Symphony Orchestra plays John Cage's piece 4′33″ in silence.) July 7, 2006: "Connie Chung - Thanks for the Memories" (On the finale of her show Weekends with Maury and Connie, Connie Chung "performs" "Thanks for the Memory".) July 14, 2006: "The Zidane Way to Solve Problems" (A parody of Zinedine Zidane's 2006 FIFA World Cup incident, showing a man solving everyday arguments with people by head-butting them.) July 21, 2006: "(Theme of) Jake Newcomb" (A tribute by Adam Osborne and Eric Holmes about their friend Jake Newcomb; The winner of the second "Show us Your Junk" contest) Cycle three November 17, 2006: "Weatherman vs. Cockroach" (A meteorologist gets mortified on two occasions when he spots a cockroach on the floor of the studio.) November 24, 2006: "Applebee's Birthday" (A waiter at the restaurant gives a goofy rendition of "Happy Birthday" to a customer.) December 1, 2006: "Bunk Bed Wedgie" (A Boy Scout jumps off a bunk bed and gives himself a self-induced wedgie after tying his underwear to the bed.) December 8, 2006: "Bull Humps Farmer" (Attempting to do his job, a bull continues to hump a farmer in the pen.) December 15, 2006: "Farting Jingle Bells" (A man pretends to imitate "Jingle Bells" with flatulence.) Additional episodes After Breuer left the program, the program went on hiatus save for a special Animals & Other Crap episode hosted by Aries Spears. This episode was not produced entirely like the previous episodes, instead including interviews with some people who found fame through viral videos. After taking a year off, a new Web Junk 20 special premiered on January 11, 2008, "Junk 40: Best of the New Crap"'. The Kid from Brooklyn/Web Ranter of the Week In the first two seasons, a regular feature of the show were rants from Mike Caracciolo, better known as "The Kid from Brooklyn", called "The Big Man Minute." This man posts regular videos on his website about any and all subjects. His clips were in the number four spot, now commonly filled by different rants every week. (Mr. Pregnant is the most common one so far, with rants about Thanksgiving and Christmas) See also Dot Comedy External links Web Junk 20 at iFilm VH1 original programming 2006 American television series debuts 2008 American television series endings English-language television shows 2000s American satirical television series 2000s American video clip television series Mass media about Internet culture Internet memes
```rust //! Standalone compilation of TeX documents. This implements the "classic" / //! "V1" / "rustc-like" Tectonic command-line interface, as well as the //! `compile` subcommand of the "V2" / "cargo-like" interface. use clap::Parser; use std::path::{Path, PathBuf}; use tectonic_bridge_core::{SecuritySettings, SecurityStance}; use tectonic::{ config::PersistentConfig, driver::{OutputFormat, PassSetting, ProcessingSession, ProcessingSessionBuilder}, errmsg, errors::{ErrorKind, Result}, status::StatusBackend, tt_error, tt_note, unstable_opts::{UnstableArg, UnstableOptions}, }; #[derive(Debug, Parser)] pub struct CompileOptions { /// The file to process, or "-" to process the standard input stream #[arg(name = "input")] input: String, /// The name of the "format" file used to initialize the TeX engine #[arg(long, short, name = "path", default_value = "latex")] format: String, /// Use this directory or Zip-format bundle file to find resource files instead of the default #[arg(long, short, name = "file_path")] bundle: Option<PathBuf>, /// Use only resource files cached locally #[arg(short = 'C', long)] only_cached: bool, /// The kind of output to generate #[arg(long, name = "format", default_value = "pdf")] outfmt: OutputFormat, /// Write Makefile-format rules expressing the dependencies of this run to <dest_path> #[arg(long, name = "dest_path")] makefile_rules: Option<PathBuf>, /// Which engines to run #[arg(long, default_value = "default")] pass: PassSetting, /// Rerun the TeX engine exactly this many times after the first #[arg(name = "count", long = "reruns", short = 'r')] reruns: Option<usize>, /// Keep the intermediate files generated during processing #[arg(short, long)] keep_intermediates: bool, /// Keep the log files generated during processing #[arg(long)] keep_logs: bool, /// Generate SyncTeX data #[arg(long)] synctex: bool, /// Tell the engine that no file at <hide_path> exists, if it tries to read it #[arg(long, name = "hide_path")] hide: Option<Vec<PathBuf>>, /// Print the engine's chatter during processing #[arg(long = "print", short)] print_stdout: bool, /// The directory in which to place output files [default: the directory containing <input>] #[arg(name = "outdir", short, long)] outdir: Option<PathBuf>, /// Input is untrusted -- disable all known-insecure features #[arg(long)] untrusted: bool, /// Unstable options. Pass -Zhelp to show a list #[arg(name = "option", short = 'Z')] unstable: Vec<UnstableArg>, /// Use this URL to find resource files instead of the default #[arg(long, short, name = "url", overrides_with = "url", global(true))] web_bundle: Option<String>, } // TODO: deprecate v1 interface and move this to v2cli/commands //impl TectonicCommand for CompileOptions { impl CompileOptions { //fn customize(&self, _cc: &mut CommandCustomizations) {} pub fn execute(self, config: PersistentConfig, status: &mut dyn StatusBackend) -> Result<i32> { let unstable = UnstableOptions::from_unstable_args(self.unstable.into_iter()); // Default to allowing insecure since it would be super duper annoying // to have to pass `--trusted` every time to build a personal document // that uses shell-escape! This default can be overridden by setting the // environment variable TECTONIC_UNTRUSTED_MODE to a nonempty value. let stance = if self.untrusted { SecurityStance::DisableInsecures } else { SecurityStance::MaybeAllowInsecures }; let mut sess_builder = ProcessingSessionBuilder::new_with_security(SecuritySettings::new(stance)); let format_path = self.format; let deterministic_mode = unstable.deterministic_mode; sess_builder .unstables(unstable) .format_name(&format_path) .keep_logs(self.keep_logs) .keep_intermediates(self.keep_intermediates) .format_cache_path(config.format_cache_path()?) .synctex(self.synctex) .output_format(self.outfmt) .pass(self.pass); if let Some(s) = self.reruns { sess_builder.reruns(s); } if let Some(p) = self.makefile_rules { sess_builder.makefile_output_path(p); } // Input and path setup let input_path = self.input; if input_path == "-" { // Don't provide an input path to the ProcessingSession, so it will default to stdin. sess_builder.tex_input_name("texput.tex"); sess_builder.output_dir(Path::new("")); tt_note!( status, "reading from standard input; outputs will appear under the base name \"texput\"" ); } else { let input_path = Path::new(&input_path); sess_builder.primary_input_path(input_path); if let Some(fname) = input_path.file_name() { sess_builder.tex_input_name(&fname.to_string_lossy()); } else { return Err(errmsg!( "can't figure out a basename for input path \"{}\"", input_path.to_string_lossy() )); }; if let Some(par) = input_path.parent() { sess_builder.output_dir(par); } else { return Err(errmsg!( "can't figure out a parent directory for input path \"{}\"", input_path.to_string_lossy() )); } } if let Some(output_dir) = self.outdir { if !output_dir.is_dir() { return Err(errmsg!( "output directory \"{}\" does not exist", output_dir.display() )); } sess_builder.output_dir(output_dir); } // Set up the rest of I/O. sess_builder.print_stdout(self.print_stdout); if let Some(items) = self.hide { for v in items { sess_builder.hide(v); } } let only_cached = self.only_cached; if only_cached { tt_note!(status, "using only cached resource files"); } if let Some(path) = self.bundle { sess_builder.bundle(config.make_local_file_provider(path, status)?); } else if let Some(u) = self.web_bundle { sess_builder.bundle(config.make_cached_url_provider(&u, only_cached, None, status)?); } else { sess_builder.bundle(config.default_bundle(only_cached, status)?); } sess_builder.build_date_from_env(deterministic_mode); run_and_report(sess_builder, status).map(|_| 0) } } pub(crate) fn run_and_report( sess_builder: ProcessingSessionBuilder, status: &mut dyn StatusBackend, ) -> Result<ProcessingSession> { let mut sess = sess_builder.create(status)?; let result = sess.run(status); if let Err(e) = &result { if let ErrorKind::EngineError(engine) = e.kind() { let output = sess.get_stdout_content(); if output.is_empty() { tt_error!( status, "something bad happened inside {}, but no output was logged", engine ); } else { tt_error!( status, "something bad happened inside {}; its output follows:\n", engine ); status.dump_error_logs(&output); } } } result.map(|_| sess) } ```
```python # # # path_to_url # # Unless required by applicable law or agreed to in writing, software # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import unittest from test_collective_api_base import TestDistBase import paddle paddle.enable_static() import paddle.distributed as dist class TestCollectiveAllreduceAPI(TestDistBase): def _setup_config(self): pass def test_allreduce_nccl(self): if paddle.base.core.is_compiled_with_cuda(): self.check_with_place( "collective_allreduce_api.py", "allreduce", "nccl" ) def test_allreduce_nccl_with_comm_context(self): dtypes_to_test = [ "float16", "float32", "float64", "int32", "int64", "int8", "uint8", "bool", ] red_types_to_test = [ dist.ReduceOp.SUM, ] if self._nccl_version >= 21000: dtypes_to_test.append("bfloat16") for dtype in dtypes_to_test: for red_type in red_types_to_test: self.check_with_place( "collective_allreduce_api.py", "allreduce", "nccl", dtype=dtype, reduce_type=red_type, need_envs={"USE_COMM_CONTEXT": "1"}, ) def test_allreduce_nccl_with_new_comm(self): dtypes_to_test = [ "float16", "float32", "float64", "int32", "int64", ] red_types_to_test = [ dist.ReduceOp.SUM, ] if self._nccl_version >= 21000: dtypes_to_test.append("bfloat16") for dtype in dtypes_to_test: for red_type in red_types_to_test: self.check_with_place( "collective_allreduce_api.py", "allreduce", "nccl", dtype=dtype, reduce_type=red_type, ) def test_allreduce_bkcl(self): if paddle.base.core.is_compiled_with_xpu(): self.check_with_place( "collective_allreduce_api.py", "allreduce", "bkcl" ) def test_allreduce_gloo(self): self.check_with_place( "collective_allreduce_api.py", "allreduce", "gloo", "2" ) def test_allreduce_gloo_with_comm_context(self): dtypes_to_test = [ "float16", "float32", "float64", "int32", "int64", "int8", "uint8", "bool", ] red_types_to_test = [ dist.ReduceOp.SUM, ] for dtype in dtypes_to_test: for red_type in red_types_to_test: self.check_with_place( "collective_allreduce_api.py", "allreduce", "gloo", "2", dtype=dtype, reduce_type=red_type, need_envs={"USE_COMM_CONTEXT": "1"}, ) def test_allreduce_nccl_dygraph(self): dtypes_to_test = [ "float16", "float32", "float64", "int32", "int64", "int8", "uint8", "bool", ] if self._nccl_version >= 21000: dtypes_to_test.append("bfloat16") for dtype in dtypes_to_test: self.check_with_place( "collective_allreduce_api_dygraph.py", "allreduce", "nccl", static_mode="0", dtype=dtype, ) def test_allreduce_gloo_dygraph(self): dtypes_to_test = [ "float16", "float32", "float64", "int32", "int64", "int8", "uint8", "bool", "bfloat16", ] for dtype in dtypes_to_test: self.check_with_place( "collective_allreduce_api_dygraph.py", "allreduce", "gloo", "2", static_mode="0", dtype=dtype, ) if __name__ == "__main__": unittest.main() ```
```javascript // @flow import type {RemoveTodoMutation_todo$key} from 'relay/RemoveTodoMutation_todo.graphql'; import type {RemoveTodoMutation_user$key} from 'relay/RemoveTodoMutation_user.graphql'; import {useCallback} from 'react'; import {graphql, useFragment, useMutation} from 'react-relay'; const mutation = graphql` mutation RemoveTodoMutation($connections: [ID!]!, $input: RemoveTodoInput!) { removeTodo(input: $input) { deletedTodoId @deleteEdge(connections: $connections) user { completedCount totalCount } } } `; export function useRemoveTodoMutation( userRef: RemoveTodoMutation_user$key, todoRef: RemoveTodoMutation_todo$key, todoConnectionId: string, ): () => void { const user = useFragment( graphql` fragment RemoveTodoMutation_user on User { id userId totalCount completedCount } `, userRef, ); const todo = useFragment( graphql` fragment RemoveTodoMutation_todo on Todo { id complete } `, todoRef, ); const [commit] = useMutation(mutation); return useCallback(() => { commit({ variables: { input: { id: todo.id, userId: user.userId, }, connections: [todoConnectionId], }, optimisticResponse: { removeTodo: { deletedTodoId: todo.id, user: { id: user.id, totalCount: user.totalCount - 1, completedCount: user.completedCount + (todo.complete ? -1 : 0), }, }, }, }); }, [commit, user, todo, todoConnectionId]); } ```
Wiesława Kwaśniewska (born 16 June 1933) is a Polish actress. She appeared in more than twenty films and television shows between 1951 and 1984. Selected filmography How to Be Loved (1963) Panienka z okienka (1964) References External links 1933 births Living people Polish film actresses Actors from Łódź
State Route 112 (SR-112) is a state highway in the U.S. state of Utah. It is approximately long and connects Tooele and Grantsville in Tooele County. It also provides access to the Tooele Army Depot. Route description From its western terminus at SR-138 (Main Street) just east of Grantsville, the route starts out as 800 East, going south and quickly turns to the southeast. It continues in this direction for several miles meeting, and then running along the northeast boundary of the Tooele Army Depot. About from its end, the route turns to the east along 1000 North in Tooele and continues east until its terminus at SR-36 (Main Street). History The route was designated on May 12, 1931, as the road from Tooele at SR-36 northwest to Grantsville at then SR-2 (now SR-138). Since that time, the route had undergone only a handful of minor legislative description changes until April 2009, when the eastern end was realigned. The American Recovery and Reinvestment Act of 2009 provided funds for a new construction project on 1000 North in Tooele, which would provide an alternate route from SR-112 to 600 West. As a result, this new construction from SR-112 to SR-36 (Main Street) was designated as part of SR-112, and the stretch of SR-112 from 1000 North southwesterly along Utah Avenue to Main Street was removed from the state highway system and returned to local jurisdiction. Construction of the new eastern portion was accomplished from May 2009 to June 2010. Major intersections References 112 112
```java /* This file is part of the iText (R) project. Authors: Apryse Software. This program is offered under a commercial and under the AGPL license. For commercial licensing, contact us at path_to_url For AGPL licensing, see below. AGPL licensing: 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 along with this program. If not, see <path_to_url */ package com.itextpdf.commons.bouncycastle.asn1.util; /** * This interface represents the wrapper for ASN1Dump that provides the ability * to switch between bouncy-castle and bouncy-castle FIPS implementations. */ public interface IASN1Dump { /** * Calls actual {@code dumpAsString} method for the wrapped ASN1Dump object. * * @param obj the ASN1Primitive (or its wrapper) to be dumped out * @param b if true, dump out the contents of octet and bit strings * * @return the resulting string. */ String dumpAsString(Object obj, boolean b); /** * Calls actual {@code dumpAsString} method for the wrapped ASN1Dump object. * * @param obj the ASN1Primitive (or its wrapper) to be dumped out * * @return the resulting string. */ String dumpAsString(Object obj); } ```
BIT Numerical Mathematics is a quarterly peer-reviewed mathematics journal that covers research in numerical analysis. It was established in 1961 by Carl Erik Fröberg and is published by Springer Science+Business Media. The name "BIT" is a reverse acronym of Tidskrift för Informationsbehandling (Swedish: Journal of Information Processing). Previous editors-in-chief have been Carl Erik Fröberg (1961-1992), Åke Björck (1993-2002), Axel Ruhe (2003-2015), and Lars Eldén (2016). , the editor-in-chief is Gunilla Kreiss. Peter Naur served as a member of the editorial board between the years 1960 and 1993, and Germund Dahlquist between 1962 and 1991. Abstracting and indexing The journal is abstracted and indexed in: According to the Journal Citation Reports, the journal has a 2020 impact factor of 1.663. References External links Mathematics journals Academic journals established in 1961 Springer Science+Business Media academic journals English-language journals Quarterly journals
The Billboard Year-End chart is a chart published by Billboard which denotes the top song of each year as determined by the publication's charts. Since 1946, Year-End charts have existed for the top songs in pop, R&B, and country, with additional album charts for each genre debuting in 1956, 1966, and 1965, respectively. See also Best-selling albums by year in the United States References Lists of number-one albums in the United States Lists of number-one songs in the United States
```go package observability import ( "github.com/go-spatial/tegola/dict" "github.com/go-spatial/tegola/internal/observer" ) var NullObserver observer.Null func noneInit(dict.Dicter) (Interface, error) { return NullObserver, nil } ```
```python # # # path_to_url # # Unless required by applicable law or agreed to in writing, software # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. import unittest import numpy as np from op_test import OpTest, paddle_static_guard import paddle from paddle import base from paddle.base import Program, core, program_guard from paddle.base.data_feeder import check_dtype from paddle.base.framework import Variable, static_only from paddle.common_ops_import import LayerHelper, check_type SEED = 2020 @static_only def quant_linear( x, w, size, scale_in, scale_weight, num_flatten_dims=1, bias_attr=None, activation=None, quant_round_type=1, quant_max_bound=127.0, quant_min_bound=-127.0, name=None, ): r""" Quant linear layer can take a tensor as its input and a tensor as the weight tensor. The quant linear layer multiplies the input tensor with the weight to produce an output tensor with shape :math:`[batch\_size, *, size]` , where :math:`*` means any number of additional dimensions. If :attr:`bias_attr` is not False, a 1-D bias tensor will be created and added to the output. If :attr:`activation` is not None, it will be applied to the output as well. Besides, the input tensor will be quantize to the tensor with int8 type, the parameter w must be a tensor with int8 type and the computation will also be with the int8 type. For a single input tensor :math:`X` , the equation is: .. math:: Out = Act({XW + b}) where: * :math:`X`: The input tensor. * :math:`W`: The weight matrix. * :math:`b`: The bias created by this layer (if needed). * :math:`Act`: The activation function. * :math:`Out`: The output tensor. Args: x (Tensor): A tensor. The number of dimensions of the tensor is at least 2. The data type should be float16, bfloat16, float32 or float64. w (Tensor): A tensor. The data type should be int8. size (int): The number of the output unit in this layer, which also means the feature size of output tensor. scale_in (float): The quantization scale for input. scale_weight (list[float]): The quantization scale for weights. num_flatten_dims (int, optional): The quant linear layer can accept an input tensor with more than two dimensions. If this happens, the multi-dimensional tensor will first be flattened into a 2-D matrix. The parameter :attr:`num_flatten_dims` determines how the input tensor is flattened: the first :math:`num\_flatten\_dims` (inclusive, index starts from 1) dimensions will be flatten to form the first dimension of the final matrix (height of the matrix), and the rest :math:`rank(x) - num\_flatten\_dims` dimensions are flattened to form the second dimension of the final matrix (width of the matrix). For example, assuming that :attr:`x` is a 5-dimensional tensor with a shape :math:`[2, 3, 4, 5, 6]` , and :attr:`num_flatten_dims` = 3. Then, the flattened matrix will have a shape :math:`[2 * 3 * 4, 5 * 6] = [24, 30]` . Default: 1. bias_attr (ParamAttr|bool, optional): The attribute of the learnable bias. If it is set to False, no bias will be added to the output. If it is set to None or one kind of ParamAttr, a bias parameter will be created according to ParamAttr. For detailed information, please refer to :attr:`paddle.ParamAttr`. The default value is None and the bias will be initialized to zero. activation (str, optional): Activation to be applied to the output of this layer. Only "relu" is supported. For more information, please refer to :ref:`api_guide_activations_en` . Default: None. quant_round_type (int, optional): The round type of float to int. 0 means rounding to nearest ties to even and 1 means rounding to nearest ties away from zero. Default: 1. quant_max_bound (float, optional): The max bound of float type to int type. Default: 127.0. quant_min_bound (float, optional): The min bound of float type to int type. Default: -127.0. name (str, optional): The default value is None. Normally there is no need for user to set it. For more information, please refer to :ref:`api_guide_Name` . Returns: Tensor, its shape is :math:`[batch\_size, *, size]` , and the data type is same with input. """ def quant_linear_base( input, weight, size, scale_in, scale_weight, num_flatten_dims=1, bias_attr=None, act=None, quant_round_type=1, quant_max_bound=127.0, quant_min_bound=-127.0, name=None, ): helper = LayerHelper("quant_linear", **locals()) check_type(input, 'input', Variable, 'quant_linear') dtype = helper.input_dtype() check_dtype( dtype, 'input', ['float16', 'float32', 'float64'], 'quant_linear', ) input_shape = input.shape if num_flatten_dims == -1: num_flatten_dims = len(input_shape) - 1 check_type(weight, "weight", Variable, 'quant_linear') check_dtype( weight.dtype, 'weight', ['int8'], 'quant_linear', ) check_type(scale_weight, "scale_weight", list, 'quant_linear') if len(scale_weight) != size: raise AttributeError( "The length of scale_weight must be the same with the param size." ) inputs_of_quant_linear = {"x": input, "w": weight} if bias_attr is not False: bias_shape = [size] bias = helper.create_parameter( attr=bias_attr, shape=bias_shape, dtype=dtype, is_bias=True ) inputs_of_quant_linear["bias"] = bias out = helper.create_variable_for_type_inference(dtype) attrs_of_quant_linear = { "in_num_col_dims": num_flatten_dims, "activation_type": act, "scale_in": scale_in, "scale_weights": scale_weight, "quant_round_type": quant_round_type, "quant_max_bound": quant_max_bound, "quant_min_bound": quant_min_bound, } helper.append_op( type="quant_linear", inputs=inputs_of_quant_linear, outputs={"out": out}, attrs=attrs_of_quant_linear, ) return out return quant_linear_base( input=x, weight=w, size=size, scale_in=scale_in, scale_weight=scale_weight, num_flatten_dims=num_flatten_dims, bias_attr=bias_attr, act=activation, quant_round_type=quant_round_type, quant_max_bound=quant_max_bound, quant_min_bound=quant_min_bound, name=name, ) def round_array(x): x[x > 0] = np.ceil(x[x > 0]) x[x <= 0] = np.floor(x[x <= 0]) def round_array_with_ties_to_even(x): xLower = np.floor(x) xUpper = np.ceil(x) dLower = x - xLower dUpper = xUpper - x x[(dLower == dUpper) & (xLower % 2 == 0)] = xLower[ (dLower == dUpper) & (xLower % 2 == 0) ] x[(dLower == dUpper) & (xLower % 2 != 0)] = xUpper[ (dLower == dUpper) & (xLower % 2 != 0) ] x[dLower < dUpper] = xLower[dLower < dUpper] x[dLower > dUpper] = xUpper[dLower > dUpper] def quant_linear_refer( matrix, with_bias, scale_in, scale_weights, quant_round_type=1, quant_max_bound=127, quant_min_bound=-127, with_relu=False, ): in_n, in_c, in_h, in_w = matrix.input.shape w_i, w_o = matrix.weights.shape x_data = np.reshape(matrix.input, [in_n, in_c * in_h * in_w]) quant_x_data = x_data.astype('float32') quant_x_data = quant_max_bound * scale_in * quant_x_data if quant_round_type == 0: round_array_with_ties_to_even(quant_x_data) else: round_array(quant_x_data) quant_x_data[quant_x_data > quant_max_bound] = quant_max_bound quant_x_data[quant_x_data < quant_min_bound] = quant_min_bound quant_x_data = quant_x_data.astype('int8') w_data = np.reshape(matrix.weights, [w_i, w_o]) b_data = np.reshape(matrix.bias, [1, w_o]) result = None quant_result = np.dot(quant_x_data.astype('int32'), w_data.astype('int32')) scale_out = scale_weights * scale_in result = quant_result / (quant_max_bound * quant_max_bound * scale_out) result = result.astype(x_data.dtype) if with_bias: result = result + b_data if with_relu: return np.maximum(result, 0) else: return result class MatrixGenerate: def __init__(self, mb, ic, oc, h, w, bias_dims=2): self.input = np.random.random((mb, ic, h, w)).astype("float32") self.weights = np.random.random((ic * h * w, oc)).astype("float32") if bias_dims == 2: self.bias = np.random.random((1, oc)).astype("float32") else: self.bias = np.random.random(oc).astype("float32") def get_scale_in(input): max_v = np.max(np.abs(input)) return 1 / max_v def get_scale_weights(weights): max_v = np.max(np.abs(weights), axis=0) return 1 / max_v def quant_weights( weights, scale_weights, quant_round_type, quant_max_bound, quant_min_bound ): quant_weights = weights.astype('float32') quant_weights = quant_max_bound * scale_weights * quant_weights if quant_round_type == 0: round_array_with_ties_to_even(quant_weights) else: round_array(quant_weights) quant_weights[quant_weights > quant_max_bound] = quant_max_bound quant_weights[quant_weights < quant_min_bound] = quant_min_bound quant_weights = quant_weights.astype('int8') return quant_weights @unittest.skipIf( not core.is_compiled_with_cuda() and not paddle.is_compiled_with_rocm(), "QuantLinear only supports cuda kernel.", ) class TestQuantLinearOp(OpTest): def config(self): self.with_bias = False self.with_relu = False self.quant_round_type = 0 self.quant_max_bound = 127 self.quant_min_bound = -127 self.matrix = MatrixGenerate(2, 1, 10, 1, 1, 2) self.scale_in = get_scale_in(self.matrix.input) self.scale_weights = get_scale_weights(self.matrix.weights) self.matrix.weights = quant_weights( self.matrix.weights, self.scale_weights, self.quant_round_type, self.quant_max_bound, self.quant_min_bound, ) def setUp(self): self.op_type = "quant_linear" self.config() if self.with_bias: self.inputs = { 'x': self.matrix.input, 'w': self.matrix.weights, 'bias': self.matrix.bias, } else: self.inputs = {'x': self.matrix.input, 'w': self.matrix.weights} if self.with_relu: activation_type = "relu" else: activation_type = "" self.attrs = { 'activation_type': activation_type, 'quant_round_type': self.quant_round_type, 'quant_max_bound': self.quant_max_bound, 'quant_min_bound': self.quant_min_bound, 'scale_in': self.scale_in, 'scale_weights': self.scale_weights, } self.outputs = { 'out': quant_linear_refer( self.matrix, self.with_bias, self.scale_in, self.scale_weights, self.quant_round_type, self.quant_max_bound, self.quant_min_bound, self.with_relu, ) } def test_check_output(self): if core.is_compiled_with_cuda(): place = core.CUDAPlace(0) self.check_output_with_place(place, check_dygraph=False) @unittest.skipIf( not core.is_compiled_with_cuda() and not paddle.is_compiled_with_rocm(), "QuantLinear only supports cuda kernel.", ) class TestQuantLinearOpNoBias1(TestQuantLinearOp): def config(self): self.with_bias = False self.with_relu = False self.quant_round_type = 1 self.quant_max_bound = 127 self.quant_min_bound = -127 self.matrix = MatrixGenerate(16, 10, 16, 4, 4, 2) self.scale_in = get_scale_in(self.matrix.input) self.scale_weights = get_scale_weights(self.matrix.weights) self.matrix.weights = quant_weights( self.matrix.weights, self.scale_weights, self.quant_round_type, self.quant_max_bound, self.quant_min_bound, ) @unittest.skipIf( not core.is_compiled_with_cuda() and not paddle.is_compiled_with_rocm(), "QuantLinear only supports cuda kernel.", ) class TestQuantLinearOpNoBias2(TestQuantLinearOp): def config(self): self.with_bias = False self.with_relu = False self.quant_round_type = 0 self.quant_max_bound = 127 self.quant_min_bound = -127 self.matrix = MatrixGenerate(2, 8, 10, 1, 1, 2) self.scale_in = get_scale_in(self.matrix.input) self.scale_weights = get_scale_weights(self.matrix.weights) self.matrix.weights = quant_weights( self.matrix.weights, self.scale_weights, self.quant_round_type, self.quant_max_bound, self.quant_min_bound, ) @unittest.skipIf( not core.is_compiled_with_cuda() and not paddle.is_compiled_with_rocm(), "QuantLinear only supports cuda kernel.", ) class TestQuantLinearOpNoBias3(TestQuantLinearOp): def config(self): self.with_bias = False self.with_relu = False self.quant_round_type = 1 self.quant_max_bound = 127 self.quant_min_bound = -127 self.matrix = MatrixGenerate(2, 6, 10, 1, 1, 2) self.scale_in = get_scale_in(self.matrix.input) self.scale_weights = get_scale_weights(self.matrix.weights) self.matrix.weights = quant_weights( self.matrix.weights, self.scale_weights, self.quant_round_type, self.quant_max_bound, self.quant_min_bound, ) @unittest.skipIf( not core.is_compiled_with_cuda() and not paddle.is_compiled_with_rocm(), "QuantLinear only supports cuda kernel.", ) class TestQuantLinearOpNoBias4(TestQuantLinearOp): def config(self): self.with_bias = False self.with_relu = False self.quant_round_type = 1 self.quant_max_bound = 127 self.quant_min_bound = -127 self.matrix = MatrixGenerate(2, 14, 10, 1, 1, 2) self.scale_in = get_scale_in(self.matrix.input) self.scale_weights = get_scale_weights(self.matrix.weights) self.matrix.weights = quant_weights( self.matrix.weights, self.scale_weights, self.quant_round_type, self.quant_max_bound, self.quant_min_bound, ) @unittest.skipIf( not core.is_compiled_with_cuda() and not paddle.is_compiled_with_rocm(), "QuantLinear only supports cuda kernel.", ) class TestQuantLinearOpWithBias1(TestQuantLinearOp): def config(self): self.with_bias = True self.with_relu = True self.quant_round_type = 1 self.quant_max_bound = 127 self.quant_min_bound = -127 self.matrix = MatrixGenerate(1, 64, 32, 3, 3, 1) self.scale_in = get_scale_in(self.matrix.input) self.scale_weights = get_scale_weights(self.matrix.weights) self.matrix.weights = quant_weights( self.matrix.weights, self.scale_weights, self.quant_round_type, self.quant_max_bound, self.quant_min_bound, ) @unittest.skipIf( not core.is_compiled_with_cuda() and not paddle.is_compiled_with_rocm(), "QuantLinear only supports cuda kernel.", ) class TestQuantLinearOpWithBias2(TestQuantLinearOp): def config(self): self.with_bias = True self.with_relu = True self.quant_round_type = 0 self.quant_max_bound = 127 self.quant_min_bound = -127 self.matrix = MatrixGenerate(3, 8, 10, 2, 1, 2) self.scale_in = get_scale_in(self.matrix.input) self.scale_weights = get_scale_weights(self.matrix.weights) self.matrix.weights = quant_weights( self.matrix.weights, self.scale_weights, self.quant_round_type, self.quant_max_bound, self.quant_min_bound, ) @unittest.skipIf( not core.is_compiled_with_cuda() and not paddle.is_compiled_with_rocm(), "QuantLinear only supports cuda kernel.", ) class TestQuantLinearOpWithPadding1(TestQuantLinearOp): def config(self): self.with_bias = True self.with_relu = True self.quant_round_type = 1 self.quant_max_bound = 127 self.quant_min_bound = -127 self.matrix = MatrixGenerate(1, 4, 4, 128, 128, 2) self.scale_in = get_scale_in(self.matrix.input) self.scale_weights = get_scale_weights(self.matrix.weights) self.matrix.weights = quant_weights( self.matrix.weights, self.scale_weights, self.quant_round_type, self.quant_max_bound, self.quant_min_bound, ) @unittest.skipIf( not core.is_compiled_with_cuda() and not paddle.is_compiled_with_rocm(), "QuantLinear only supports cuda kernel.", ) class TestQuantLinearOpWithPadding2(TestQuantLinearOp): def config(self): self.with_bias = True self.with_relu = True self.quant_round_type = 0 self.quant_max_bound = 127 self.quant_min_bound = -127 self.matrix = MatrixGenerate(1, 4, 3, 128, 128, 2) self.scale_in = get_scale_in(self.matrix.input) self.scale_weights = get_scale_weights(self.matrix.weights) self.matrix.weights = quant_weights( self.matrix.weights, self.scale_weights, self.quant_round_type, self.quant_max_bound, self.quant_min_bound, ) @unittest.skipIf( not core.is_compiled_with_cuda() and not paddle.is_compiled_with_rocm(), "QuantLinear only supports cuda kernel.", ) class TestQuantLinearOp_NumFlattenDims_NegOne(unittest.TestCase): def test_api(self): def run_program(num_flatten_dims): with paddle.pir_utils.OldIrGuard(): paddle.seed(SEED) np.random.seed(SEED) startup_program = paddle.base.Program() main_program = paddle.base.Program() with paddle.base.program_guard(main_program, startup_program): quant_round_type = 0 quant_max_bound = 127.0 quant_min_bound = -127.0 input = np.random.random([2, 2, 25]).astype("float32") scale_in = get_scale_in(input) x = paddle.static.data( name="x", shape=[2, 2, 25], dtype="float32", ) weight = np.random.random([25, 1]).astype("float32") scale_weight = get_scale_weights(weight) weight = quant_weights( weight, scale_weight, quant_round_type, quant_max_bound, quant_min_bound, ) w = paddle.static.data( name="w", shape=[25, 1], dtype="int8", ) out = quant_linear( x=x, size=1, num_flatten_dims=num_flatten_dims, w=w, scale_in=scale_in, scale_weight=scale_weight.tolist(), quant_round_type=quant_round_type, quant_max_bound=quant_max_bound, quant_min_bound=quant_min_bound, ) place = base.CUDAPlace(0) exe = base.Executor(place=place) exe.run(startup_program) out = exe.run( main_program, feed={"x": input, "w": weight}, fetch_list=[out], ) return out res_1 = run_program(-1) res_2 = run_program(2) np.testing.assert_array_equal(res_1, res_2) @unittest.skipIf( not core.is_compiled_with_cuda() and not paddle.is_compiled_with_rocm(), "QuantLinear only supports cuda kernel.", ) class TestQuantLinearOpError(unittest.TestCase): def test_errors(self): with paddle.pir_utils.OldIrGuard(): with program_guard(Program(), Program()): quant_round_type = 0 quant_max_bound = 127.0 quant_min_bound = -127.0 input_data = np.random.random((2, 4)).astype("float32") scale_in = get_scale_in(input_data) weight = np.random.random([25, 1]).astype("float32") scale_weight = get_scale_weights(weight) weight = quant_weights( weight, scale_weight, quant_round_type, quant_max_bound, quant_min_bound, ) def test_Variable(): with paddle_static_guard(): w2 = paddle.static.data( name='w2', shape=[25, 1], dtype='int8' ) quant_linear( x=input_data, size=1, num_flatten_dims=1, w=w2, scale_in=scale_in, scale_weight=scale_weight.tolist(), quant_round_type=quant_round_type, quant_max_bound=quant_max_bound, quant_min_bound=quant_min_bound, ) self.assertRaises(TypeError, test_Variable) def test_type(): with paddle_static_guard(): x2 = paddle.static.data( name='x2', shape=[-1, 4], dtype='int32' ) w2 = paddle.static.data( name='w2', shape=[25, 1], dtype='int8' ) paddle.static.nn.fc( x=x2, size=1, num_flatten_dims=1, w=w2, scale_in=scale_in, scale_weight=scale_weight.tolist(), quant_round_type=quant_round_type, quant_max_bound=quant_max_bound, quant_min_bound=quant_min_bound, ) self.assertRaises(TypeError, test_type) def test_Variable(): with paddle_static_guard(): x3 = paddle.static.data( name='x3', shape=[-1, 4], dtype='float32' ) quant_linear( x=x3, size=1, num_flatten_dims=1, w=weight, scale_in=scale_in, scale_weight=scale_weight.tolist(), quant_round_type=quant_round_type, quant_max_bound=quant_max_bound, quant_min_bound=quant_min_bound, ) self.assertRaises(TypeError, test_Variable) def test_type(): with paddle_static_guard(): x3 = paddle.static.data( name='x3', shape=[-1, 4], dtype='float32' ) w3 = paddle.static.data( name='w3', shape=[25, 1], dtype='int32' ) paddle.static.nn.fc( x=x3, size=1, num_flatten_dims=1, w=w3, scale_in=scale_in, scale_weight=scale_weight.tolist(), quant_round_type=quant_round_type, quant_max_bound=quant_max_bound, quant_min_bound=quant_min_bound, ) self.assertRaises(TypeError, test_type) scale_weight = 1.0 def test_type(): with paddle_static_guard(): x4 = paddle.static.data( name='x4', shape=[-1, 4], dtype='float32' ) w4 = paddle.static.data( name='w4', shape=[25, 1], dtype='int8' ) paddle.static.nn.fc( x=x4, size=1, num_flatten_dims=1, w=w4, scale_in=scale_in, scale_weight=scale_weight, quant_round_type=quant_round_type, quant_max_bound=quant_max_bound, quant_min_bound=quant_min_bound, ) self.assertRaises(TypeError, test_type) scale_weight = [] def test_param_length(): with paddle_static_guard(): x4 = paddle.static.data( name='x4', shape=[-1, 4], dtype='float32' ) w4 = paddle.static.data( name='w4', shape=[25, 1], dtype='int8' ) paddle.static.nn.fc( x=x4, size=1, num_flatten_dims=1, w=w4, scale_in=scale_in, scal=scale_weight, quant_round_type=quant_round_type, quant_max_bound=quant_max_bound, quant_min_bound=quant_min_bound, ) self.assertRaises(TypeError, test_param_length) if __name__ == "__main__": unittest.main() ```
Alcheringa may refer to: Alcheringa, an Aranda language word meaning The Dreaming, a concept in Aboriginal Australian mythology Alcheringa (journal), an Australian palaeontology journal Alcheringa (magazine), a magazine of ethnopoetics published from 1970 to 1980 Alcheringa (festival), an annual cultural festival held once a year at the Indian Institute of Technology, Guwahati, India Alcheringa (TV series), 1962 Australian TV series about Aboriginal culture presented by Bill Onus Alcheringa Gallery, a Canadian gallery of contemporary aboriginal art
```qml import QtQuick 2.15 import common 1.0 import components.texts 1.0 as Texts import components.images 1.0 Row { id: root readonly property int iconWidth: 16 property alias text: condition.text property bool checked: false width: parent.width spacing: iconWidth / 2 SvgImage { id: image color: checked ? colorStyle.indicatorGreen : colorStyle.textSecondary source: checked ? Images.check : Images.smallCircle sourceSize: Qt.size(iconWidth, iconWidth) } Texts.SecondaryText { id: condition width: parent.width - iconWidth font.strikeout: checked } } ```
Průlom is a 1946 Czechoslovak drama film directed by Karel Steklý. Cast Jindřich Plachta as Matej Domazlík - shoemaker Ella Nollová as Marjánka Domazlíková Jan Pivec as Vojta Domazlík Theodor Pištěk as Portreeve Trachta Jaroslav Marvan as Václav Dudácek Jirí Plachý as Viceregent Gustav Hilmar as Kleps - Farmer / 1st councillor Marie Blazková as Klep's Wife Jana Romanová as Milka - Klep's daughter Svatopluk Beneš as Kandler - City Manager References External links 1946 films 1946 drama films Czech drama films Czechoslovak drama films 1940s Czech-language films Czech black-and-white films Czechoslovak black-and-white films Films directed by Karel Steklý 1940s Czech films
```c /*************************************************************************** * * * ########### ########### ########## ########## * * ############ ############ ############ ############ * * ## ## ## ## ## ## ## * * ## ## ## ## ## ## ## * * ########### #### ###### ## ## ## ## ###### * * ########### #### # ## ## ## ## # # * * ## ## ###### ## ## ## ## # # * * ## ## # ## ## ## ## # # * * ############ ##### ###### ## ## ## ##### ###### * * ########### ########### ## ## ## ########## * * * * S E C U R E M O B I L E N E T W O R K I N G * * * * This file is part of NexMon. * * * * * * NexMon is free software: you can redistribute it and/or modify * * (at your option) any later version. * * * * NexMon 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 NexMon. If not, see <path_to_url * * * **************************************************************************/ #pragma NEXMON targetregion "patch" #include <firmware_version.h> // definition of firmware version macros #include <patcher.h> // macros used to craete patches such as BLPatch, BPatch, ... char version[] = "nexmon_ver: " GIT_VERSION "-" BUILD_NUMBER "\nwl%d: Broadcom BCM%s 802.11 Wireless Controller %s\n"; __attribute__((at(0x426ac, "", CHIP_VER_BCM43430a1, FW_VER_7_45_41_46))) GenericPatch4(version_patch, version); ```
```c++ // // // path_to_url // // Unless required by applicable law or agreed to in writing, software // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #include <iostream> #include <unordered_map> #include "gtest/gtest.h" #include "paddle/fluid/distributed/fleet_executor/carrier.h" #include "paddle/fluid/distributed/fleet_executor/global.h" #include "paddle/fluid/distributed/fleet_executor/interceptor.h" #include "paddle/fluid/distributed/fleet_executor/message_bus.h" #include "paddle/fluid/distributed/fleet_executor/task_node.h" namespace paddle { namespace distributed { class FakeInterceptor : public Interceptor { public: FakeInterceptor(int64_t interceptor_id, TaskNode* node) : Interceptor(interceptor_id, node) { step_ = 0; RegisterMsgHandle([this](const InterceptorMessage& msg) { NOP(msg); }); } void NOP(const InterceptorMessage& msg) { if (msg.message_type() == DATA_IS_READY) { std::cout << "FakeInterceptor run in scope " << msg.scope_idx() << std::endl; InterceptorMessage reply; reply.set_message_type(DATA_IS_USELESS); Send(SOURCE_ID, reply); step_++; if (step_ == node_->max_run_times()) { carrier_->WakeUp(); } } } private: int64_t step_; }; TEST(SourceInterceptor, Source) { std::string carrier_id = "0"; Carrier* carrier = GlobalMap<std::string, Carrier>::Create(carrier_id, carrier_id); carrier->Init(0, {{SOURCE_ID, 0}, {0, 0}}); MessageBus* msg_bus = GlobalVal<MessageBus>::Create(); msg_bus->Init(0, {{0, "127.0.0.0:0"}}, ""); // NOTE: don't delete, otherwise interceptor will use undefined node TaskNode* source = new TaskNode(0, SOURCE_ID, 0, 3); // role, rank, task_id TaskNode* node_a = new TaskNode(0, 0, 0, 3); // role, rank, task_id source->AddDownstreamTask(0, 1); node_a->AddUpstreamTask(SOURCE_ID, 1); carrier->SetInterceptor( SOURCE_ID, InterceptorFactory::Create("Source", SOURCE_ID, source)); carrier->SetInterceptor(0, std::make_unique<FakeInterceptor>(0, node_a)); // start InterceptorMessage msg; msg.set_message_type(START); msg.set_dst_id(SOURCE_ID); carrier->EnqueueInterceptorMessage(msg); carrier->Wait(); carrier->Release(); } } // namespace distributed } // namespace paddle ```
The Tomaga River, an open mature wave dominated barrier estuary or perennial stream, is located in the South Coast region of New South Wales, Australia. Course and features Tomaga River rises about northeast of Mogo Hill and flows generally southwest and then southeast, joined by one minor tributary, before reaching its mouth at the Tasman Sea of the South Pacific Ocean at Mossy Point. The river descends over its course. The catchment area of the river is with a volume of over a surface area of , at an average depth of . See also Rivers of New South Wales List of rivers of New South Wales (L–Z) List of rivers of Australia References Rivers of New South Wales South Coast (New South Wales) Eurobodalla Shire
Industrial automation systems consisting of several distributed controllers need a precise synchronization for commands, events and process data. For instance, motors for newspaper printing are synchronized within some 5 microseconds to ensure that the color pixels in the different cylinders come within 0.1 mm at a paper speed of some 20 m/s. Similar requirements exist in high-power semiconductors (e.g. for converting between AC and DC grids) and in drive-by-wire vehicles (e.g. cars with no mechanical steering wheel). This synchronisation is provided by the communication network, in most cases Industrial Ethernet. Many ad-hoc synchronization schemes exist, so IEEE published a standard Precision Time Protocol IEEE 1588 or "PTP", which allows sub-microsecond synchronization of clocks. PTP is formulated generally, so concrete applications need a stricter profile. In particular, PTP does not specify how the clocks should operate when the network is duplicated for better resilience to failures. The PTP Industrial Profile (PIP) is a standard of the IEC 62439-3 that specifies in its Annex C two Precision Time Protocol IEEE 1588 / IEC 61588 profiles, L3E2E and L2P2P, to synchronize network clocks with an accuracy of 1 μs and provide fault-tolerance against clock failures. The IEC 62439-3 PTP profiles are applicable to most Industrial Ethernet networks, for synchronized drives, robotics, vehicular technology and other applications that require precise time distribution, not necessarily using redundant networks. The IEC 62439-3 profile L2P2P has been adopted as IEC/IEEE 61850-9-3 by the power utility industry to support precise time stamping of voltage and current measurement for differential protection, wide area monitoring and protection, busbar protection and event recording. The IEC 62439-3 PTP profiles can be used to ensure deterministic operation of critical functions in the automation system itself, for instance precise starting of tasks, resource reservation and deadline supervision. The IEC 62439-3 Annexes belongs to the Parallel Redundancy Protocol and High-availability Seamless Redundancy standard suite for high availability automation networks. However, this specification also applies to networks that have no redundancy and do not use PRP or HSR. Topology The PIP relies on the IEEE 1588 topology, consisting of grandmaster clocks (GC), ordinary clocks (OC), boundary clocks (BC), transparent clocks (TC) and hybrid clocks (HC = TC&OC). For redundancy, a PIP network contains several clocks that are master-capable. Normally, the best master clock ensures that only one grandmaster broadcasts the time. In redundant networks, and especially in PRP, several masters can be active at the same time, the slave then chooses its master. PIP Profiles and Annexes IEC 62439-3 Annex A specifies how to attach clocks to duplicated networks paths and how to support simultaneously active redundant master clocks for all profiles. IEC 62439-3 Annex B specifies the L2PTP profile for substation automation IEC/IEEE 61850-9-3. In contrast to IEC/IEEE 61850, double attachment by PRP or HSR is mandatory. IEC 62439-3 Annex C specifies two profiles, L3E2E and L2P2P, that are subsets of IEEE Std 1588 Precision Time Protocol (PTP) when clocks are singly attached. IEC 62439-3 Annex D is a tutorial for IEEE 1588 that concentrates only on PIP. IEC 62439-3 Annex E contains the SNMP objects for managing the doubly-attached clocks. Main features IEC 62439-3 Annex C uses the following IEEE Std 1588 options: uses the PTP timescale based on TAI International Atomic Time, also delivers UTC Coordinated Universal Time transmits the clock correction indifferently with 1-step (preferred) or 2-step (can be mixed) operates with the default best master clock algorithm, performed by master and by slave clocks supports both options to measure the link delay: L3E2E: End-to-end measurement (Delay_Req/Delay_Resp) over Layer 3 (Internet Protocol) to fulfill the requirements of ODVA; L2P2P: Peer-to-peer measurement (Pdelay_Req/Pdelay_Resp) over Layer 2 Ethernet (IEEE 802.3) links. Performance IEC 62439-3 Annex C aims at an accuracy of better than 1 μs after crossing 15 bridges with transparent clocks. It assumes that all network elements (bridges, routers, media converters, links) support PTP with a given performance: Grandmaster (GC): 250 ns maximum inaccuracy Transparent Clocks (TC): 50 ns maximum inaccuracy Boundary Clocks (BC): 200 ns maximum inaccuracy Media Converters: 50 ns maximum jitter and 25 ns maximum asymmetry Link asymmetry: 25 ns maximum asymmetry By relying on these guaranteed values, the network engineer can calculate the time inaccuracy at different nodes of the network and place the clocks, especially the grandmaster clocks suitably. IEC TR 61850-90-4 (Network engineering guidelines) gives advice on the use of IEC/IEEE 61850-9-3 in substation automation networks. IEEE 1588 settings IEC 62439-3 Annex C restricts the parameters of IEEE Std 1588 to the following values: domainNumber: 0 (default range) Announce interval: (default range) 1 s (L2P2P) or 2 s (L3E2E) Sync interval: 1 s (fixed) Pdelay interval: 1 s (fixed) Announce receipt time-out (number of Announce interval that has to pass without receipt of an Announce message before Announce timeout is issued): 3 (fixed) priority1: 255 for slave-only priority2: 255 for slave-only transparent clock primary syntonization domain: 0 (default) Additions to IEEE Std 1588 IEC 62439-3 Annex C specifies requirements in addition to IEEE 1588: A clock shall accept both 1-step and 2-step corrections (improves plug-and-play) All clocks can be doubly attached using the IEC 62439-3 protocol (PRP "Parallel Redundancy Protocol" or HSR "High-availability Seamless Redundancy") Several master clocks can be active at the same time; the slave selects the best master. Time-outs ensure that the clocks can detect the loss of PTP messages also on the unused path. Identification of the peer node to check the topology of the network and ensure that all elements support the protocol. In network using store-and-forward media converters and for L2P2P only, the master appends a padding to Sync messages to ensure that Sync and Pdelay_Req/Pdelay_Resp messages have the same size (this will specified in IEEE 1588:2017) Network management by SNMP according to IEC 62439-3 Annex E Standard owners This protocol has been developed by the IEC SC65C WG15 in the framework of IEC 62439, which applies to all IEC industrial networks. To avoid parallel standards in IEC and IEEE in the field of grid automation, the L2PTP profile specific to grid automation previous IEC 62439-3 Annex B has been placed under the umbrella of the IEC&IEEE Joint Development 61850-9-3. Technical responsibility rests with IEC SC65C WG15, which is committed to keep the IEC 62439-3 profile L2P2P and IEC/IEEE 61850-9-3 aligned. References External links IEC 61588:2009 Precision clock synchronization protocol for networked measurement and control systems IEC/IEEE 61850-9-3, Communication networks and systems for power utility automation – Part 9-3: Precision time protocol profile for power utility automation IEC TR 61850-90-4:2013 Communication networks and systems for power utility automation - Part 90-4: Network engineering guidelines Tutorial on HSR Tutorial on Parallel Redundancy Protocol (PRP) Tutorial on the precision time protocol industrial profiles in IEC 62439-3 IEC 62439-3 Tissues (Technical issues) database for IEC 62439-3 / IEC/IEEE 61850-9-3 Networking standards Network protocols
Robert Blair VC (13 March 1834 – 28 March 1859) was a Scottish recipient of the Victoria Cross, the highest and most prestigious award for gallantry in the face of the enemy that can be awarded to British and Commonwealth forces. He was 23 years old, and a lieutenant in the 2nd Dragoon Guards (Queen's Bays), British Army, attached to 9th Lancers (The Queen's Royal) during the Indian Mutiny when the following deed took place on 28 September 1857 at Bulandshahr, India, for which he was awarded the VC. Blair was a graduate of University of Glasgow and a Snell exhibitioner at Balliol College, Oxford. Blair joined the army in 1855 in the service of the 9th Lancers and later transferred to the 2nd Dragoon Guards. He later achieved the rank of captain and died of smallpox in Cawnpore, India, on 28 March 1859. He was the cousin of another Indian Mutiny VC recipient James Blair. His Victoria Cross is displayed at the Queen's Dragoon Guards Regimental Museum in Cardiff Castle, Wales. References Monuments to Courage (David Harvey, 1999) The Register of the Victoria Cross (This England, 1997) Scotland's Forgotten Valour (Graham Ross, 1995) 1834 births 1859 deaths 2nd Dragoon Guards (Queen's Bays) officers British recipients of the Victoria Cross Indian Rebellion of 1857 recipients of the Victoria Cross People from Linlithgow People from West Lothian Alumni of the University of Glasgow Alumni of Balliol College, Oxford Deaths from smallpox Infectious disease deaths in India British Army recipients of the Victoria Cross
St. Luke's Church Stapleford is a parish church in the Church of England in Stapleford, Nottinghamshire. History The church is a mission church. It is on Moorbridge Lane. Current parish status St. Luke's Church, Stapleford is looked after by its mother church, St. Helen's Church, Stapleford Sources Stapleford
```css `currentColor` improves code reusability Default to a transparent `border-color` before adding a border to on `:hover` state elements At-Rules (`@`) Use `SVG` for icons Debug with `*` selector ```
```go // +build linux package aufs // import "github.com/docker/docker/daemon/graphdriver/aufs" import ( "bufio" "io/ioutil" "os" "path" ) // Return all the directories func loadIds(root string) ([]string, error) { dirs, err := ioutil.ReadDir(root) if err != nil { return nil, err } var out []string for _, d := range dirs { if !d.IsDir() { out = append(out, d.Name()) } } return out, nil } // Read the layers file for the current id and return all the // layers represented by new lines in the file // // If there are no lines in the file then the id has no parent // and an empty slice is returned. func getParentIDs(root, id string) ([]string, error) { f, err := os.Open(path.Join(root, "layers", id)) if err != nil { return nil, err } defer f.Close() var out []string s := bufio.NewScanner(f) for s.Scan() { if t := s.Text(); t != "" { out = append(out, s.Text()) } } return out, s.Err() } func (a *Driver) getMountpoint(id string) string { return path.Join(a.mntPath(), id) } func (a *Driver) mntPath() string { return path.Join(a.rootPath(), "mnt") } func (a *Driver) getDiffPath(id string) string { return path.Join(a.diffPath(), id) } func (a *Driver) diffPath() string { return path.Join(a.rootPath(), "diff") } ```
Nobody's Children is a 1994 American TV film directed by David Wheatley. The film was written by Petru Popescu and Iris Friedman for USA Pictures. The film concerns an American couple's battle through bureaucracy to adopt a Romanian child. Plot summary Cast Ann-Margret as Carol Stevens Dominique Sanda as Stephanie Vaugier Jay O. Sanders as Joe Stevens Reiner Schöne as Sorin Dornescu Clive Owen as Corneliu Bratu Allan Corduner as Ion Katrin Cartlidge as Viorica Leon Lissek as Dr. Preda References External links 1994 films American television films Films shot in Romania
The Airscoot was a car made by the Wichita, Kansas-based company Aircraft Products in 1947 to fit the need for a small car that could commute to and from airports then be folded up and put aboard private aircraft. It was able to attain this goal by weighing a mere , and measuring only in length. Passenger and stowage accommodations included seats for two passengers and a luggage rack in front for two suitcases. Its one-cylinder, air-cooled engine claimed to be capable of , though the gas tank could only hold 3/10ths of a gallon. Little further information is available on this car. References External links Photo Veteran vehicles Defunct motor vehicle manufacturers of the United States Companies based in Kansas Vehicle manufacturing companies established in 1947 Vehicle manufacturing companies disestablished in 1947 Defunct companies based in Kansas 1947 establishments in Kansas 1947 disestablishments in Kansas
Pasiphila melochlora is a moth in the family Geometridae. It is endemic to New Zealand. The larvae feed on the foliage of Clianthus maximus. References External links Moths described in 1911 melochlora Moths of New Zealand Endemic fauna of New Zealand Taxa named by Edward Meyrick Endemic moths of New Zealand
```objective-c #pragma once #include <Parsers/IAST.h> #include <Access/Common/AuthenticationType.h> #include <optional> namespace DB { /** Represents authentication data in CREATE/ALTER USER query: * ... IDENTIFIED WITH sha256_password BY 'password' * * Can store password, hash and salt, LDAP server name, Kerberos Realm, or common names. * They are stored in children vector as ASTLiteral or ASTQueryParameter. * ASTAuthenticationData without a type represents authentication data with * the default password type that will be later inferred from the server parameters. */ class ASTAuthenticationData : public IAST { public: String getID(char) const override { return "AuthenticationData"; } ASTPtr clone() const override { auto clone = std::make_shared<ASTAuthenticationData>(*this); clone->cloneChildren(); return clone; } bool hasSecretParts() const override; std::optional<String> getPassword() const; std::optional<String> getSalt() const; std::optional<String> ssl_cert_subject_type; /// CN or SubjectAltName /// If type is empty we use the default password type. /// AuthenticationType::NO_PASSWORD is specified explicitly. std::optional<AuthenticationType> type; bool contains_password = false; bool contains_hash = false; protected: void formatImpl(const FormatSettings & settings, FormatState &, FormatStateStacked) const override; }; } ```
AABC may refer to: Accrediting Association of Bible Colleges American Amateur Baseball Congress Australian Army Band Corps AABC, a pattern of musical phrases forming an incomplete repetition aabc, a type of hand based on suit in poker probability Arthur Andersen Business Consulting, a unit formed by the accounting firm Arthur Andersen Alabama Aquatic Biodiversity Center Anger-Aggression Bidirectional-Causation, a psychologic theory by Vladimir J. Konečni
The London District was a historic district in Upper Canada. It was formed in 1798 from parts of the Home and Western Districts, and lasted until its abolition in 1850. Historic evolution The District was formed by an Act of the Parliament of Upper Canada in 1798, and was described as consisting of The townships and counties were thus organized: The district town was Charlotteville (later named Turkey Point), but moved to Tisdale's Mills (later named Vittoria) in 1815. In 1826, the district town was moved to London, and the townships of Rainham and Walpole were moved to Haldimand County in Niagara District because of their distance from London. The Huron Tract, being developed at the time by the Canada Company, was divided between the London and Western Districts in 1835, with the greater part of the territory in the London District forming the new Huron County. That County was later withdrawn in October 1841 to form the new Huron District. In 1837, Oxford County was separated into the new Brock District, and Norfolk County was separated to form Talbot District. In 1840, the following lands were withdrawn from London District and attached to Waterloo County in Wellington District: reserved lands west of Woolwich and Nichol the triangular piece of land adjoining the said tract in the proposed District of Huron part of the late purchase from the Indians of Gore, and part of Indian lands In 1845, the District was restricted in area to cover Middlesex County only. thus detaching the remainder of its northern part extending to Lake Huron. This was rectified by the territory's attachment to Huron District in 1846. At the beginning of 1850, the district was abolished, being replaced by the United Counties of Middlesex and Elgin and in 1850 as standalone Middlesex County for municipal purposes. Further reading Armstrong, Frederick H. Handbook of Upper Canadian Chronology. Toronto : Dundurn Press, 1985. References Districts of Upper Canada 1798 establishments in Upper Canada 1849 disestablishments in Canada
REC or Rec is a shortening of recording, the process of capturing data onto a storage medium. REC may also refer to: Educational institutes Regional Engineering College, colleges of engineering and technology education in India Rajalakshmi Engineering College (), Thandalam, Chennai, India Organizations Railway Executive Committee, in Britain REC Limited, an infrastructure finance company in India Reformed Episcopal Church, an Anglican church in the United States and Canada Regional Economic Communities, in Africa Regional electricity companies, the fourteen companies created when the electricity market in the UK was privatised Renewable Energy Corporation, a solar power company with headquarters in Norway REC Silicon (no) Research Ethics Committee, a type of ethics committee Rock Eisteddfod Challenge, an Australian abstinence program Rural Electrification Corporation Television, film, and fiction Rec (film series), a Spanish horror film series Rec (film), the first film in the series Rec (manga), a Japanese manga series; also refers to anime based on it Places Reç, a settlement in Albania Reč, a town in Montenegro Recife/Guararapes–Gilberto Freyre International Airport, of which the IATA code is REC Rectory Road railway station, of which the National Rail station code is REC Other uses rec.*, a newsgroup hierarchy Recitation, as abbreviated on course schedules Renewable Energy Certificate (United States), tradable environmental commodities Rec., the debut extended play by South Korean singer Yuju
```java /* * * * 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.ballerinalang.langserver.toml.ballerinatoml.completion; import io.ballerina.projects.util.ProjectConstants; import org.ballerinalang.annotation.JavaSPIService; import org.ballerinalang.langserver.commons.CompletionContext; import org.ballerinalang.langserver.commons.LanguageServerContext; import org.ballerinalang.langserver.commons.toml.TomlCompletionExtension; import org.eclipse.lsp4j.CompletionItem; import org.eclipse.lsp4j.CompletionParams; import java.net.URI; import java.nio.file.Path; import java.nio.file.Paths; import java.util.List; /** * Completion extension implementation for Ballerina.toml file. * * @since 2.0.0 */ @JavaSPIService("org.ballerinalang.langserver.commons.LanguageExtension") public class BallerinaTomlCompletionExtension implements TomlCompletionExtension { @Override public boolean validate(CompletionParams inputParams) { String uri = inputParams.getTextDocument().getUri(); Path fileNamePath = Paths.get(URI.create(uri)).getFileName(); if (fileNamePath == null) { return false; } String fileName = fileNamePath.toString(); return fileName.equals(ProjectConstants.BALLERINA_TOML); } @Override public List<CompletionItem> execute(CompletionParams completionParams, CompletionContext completionContext, LanguageServerContext languageServerContext) throws Throwable { BallerinaTomlCompletionContext ballerinaTomlCompletionContext = new BallerinaTomlCompletionContext(completionContext, languageServerContext); return BallerinaTomlCompletionUtil.getCompletionItems(ballerinaTomlCompletionContext, languageServerContext); } } ```
The Oklahoma City National Memorial is a memorial site in Oklahoma City, Oklahoma, United States, that honors the victims, survivors, rescuers, and all who were affected by the Oklahoma City bombing on April 19, 1995. It is situated on the former site of the Alfred P. Murrah Federal Building, which was destroyed in the bombing. The building was located on NW 5th Street between N. Robinson Avenue and N. Harvey Avenue. The national memorial was authorized on October 9, 1997, by President Bill Clinton's signing of the Oklahoma City National Memorial Act of 1997. It was administratively listed on the National Register of Historic Places the same day. The memorial is administered by Oklahoma City National Memorial Foundation, with National Park Service staff to help interpret the memorial for visitors. The memorial was formally dedicated on April 19, 2000, the fifth anniversary of the bombing. The museum was dedicated and opened 10 months later on February 19, 2001. History On April 19, 1995, Timothy McVeigh parked a Ryder rental truck filled with explosives in front of the Alfred P. Murrah Federal Building. The resulting explosion killed 168 people and destroyed the entire north face of the building. Months after the attack, Mayor Ron Norick appointed a task force to look into a creation of a permanent memorial where the Murrah building once stood. The Task Force called for 'a symbolic outdoor memorial', a Memorial Museum, and for creation of Oklahoma City National Memorial Institute for the Prevention of Terrorism. Six hundred and twenty four designs were submitted for the memorial and in July 1997 a design by Butzer Design Partnership, which consists of husband and wife Hans and Torrey Butzer, was chosen. In October 1997, President Bill Clinton signed law creating the Oklahoma City National Memorial to be operated by the Oklahoma City National Memorial Trust. The total cost of the memorial was $29.1 million ($55,140,783.18 in 2023): $10 million for the Outdoor Symbolic Memorial, $7 million for the Memorial Museum, $5 million for the Memorial Institute for the Prevention of Terrorism and the rest for other costs. The federal government appropriated $5 million for construction with the state of Oklahoma matching that amount. More than $17 million in private donations was raised. On April 19, 2000, the fifth anniversary of the attack, the Outdoor Symbolic Memorial was dedicated. On February 19, 2001, the Memorial Museum was dedicated. In 2004 it was transferred from the trust, to the Oklahoma City National Memorial Foundation, designating it an affiliated area of National Park System. The Oklahoma City National Memorial since its opening has seen over 4.4 million visitors to the Outdoor Symbolic Memorial and 1.6 million visitors to the Memorial Museum. The Memorial has an average of 350,000 visitors per year. Memorial features The Outdoor Symbolic Memorial consists of the following segments on 3.3 acres (13,000 m2) and are accessible day or night. The Gates of Time: monumental twin bronze gates frame the moment of destruction – 9:02 – and mark the formal entrances to the Outdoor Memorial. 9:01, found on the eastern gate, represents the last moments of peace, while its opposite on the western gate, 9:03, represents the first moments of recovery. Both time stamps are inscribed on the interior of the monument, facing each other and the Reflecting Pool. The outside of each gate bears this inscription: We come here to remember Those who were killed, those who survived and those changed forever. May all who leave here know the impact of violence. May this memorial offer comfort, strength, peace, hope and serenity. Reflecting Pool: a thin layer of water flows over polished black granite to form the pool, which runs east to west down the center of the Memorial (also see reflecting pool) on what was once Fifth Street. Although the pool is flowing, visitors are able to see a mirror image of themselves in the water. Visitors seeing their reflections are said to be seeing "someone changed forever by what happened here." Field of Empty Chairs: one hundred and sixty-eight empty chairs hand-crafted from glass, bronze, and stone represent those who lost their lives, with a name etched in the glass base of each. They sit on the site where the Murrah Building once stood. The chairs are arranged in nine rows to symbolize the nine floors of the building; each person's chair is on the row (or the floor) on which the person worked or was located when the bomb went off. The chairs are also grouped according to the blast pattern, with the most chairs nearest the most heavily damaged portion of the building. The westernmost column of five chairs represents the five people who died but were not in the Murrah Building (two in the Water Resources Board building, one in the Athenian Building, one outside near the building, and one rescuer). The 19 smaller chairs represent the children killed in the bombing. Three unborn children died along with their mothers, and they are listed on their mothers' chairs beneath their mothers' names. Survivors' Wall: the only remaining original portions of the Murrah Building are the north and east walls, known as the Survivors' Wall. The wall has several panels of granite salvaged from the Murrah Building itself, inscribed with the names of more than 600 survivors from the building and the surrounding area, many of whom were injured in the blast. Survivor Tree: an American elm on the north side of the Memorial that was heavily damaged by the bomb, but survived. Hundreds of seeds from the Survivor Tree are planted annually and the resulting saplings are distributed each year on the anniversary of the bombing. Thousands of Survivor Trees are growing in public and private places all over the U.S. The Memorial Fence: a chain link fence was installed around the area that is now the Reflecting Pool and the Field of Empty Chairs to protect the site from damage and visitors from injury. The Fence stood for more than four years, becoming notable as the place where visitors left stuffed animals, poems, keychains, and other items as tributes. During the construction of the Outdoor Memorial, 210 feet (64 m) of the Fence was moved to the west side of the Memorial, along the 9:03 side or the 'healing' side. The remainder of the Fence is in storage. Visitors may still leave small items along and in the Fence; the mementos are periodically collected, cataloged, and stored. Rescuers' Orchard: a grove of Oklahoma redbuds (Oklahoma's state tree), Amur Maple, Chinese Pistache, and Bosque Elm trees are planted on the lawn around the Survivor Tree. The trees represent the rescuers who came to the aid of the survivors; hence the rescuers' orchard surrounds the survivor tree. The non-native species represent those rescuers who came from outside Oklahoma to help. Children's Area: more than 5,000 hand-painted tiles, from all over the United States and Canada, were made by children and sent to Oklahoma City after the bombing in 1995. Most are stored in the Memorial's Archives, and a sampling of tiles is on the wall in the Children's Area. Chalkboards provide a place where children can draw and share their feelings. The Children's Area is north of the 9:03 gate, on the west side of the Museum. Journal Record Building: north of the memorial is the Journal Record Building, which formerly housed the offices of The Journal Record. It now houses the Oklahoma City National Memorial Museum, which features numerous exhibits and artifacts related to the Oklahoma City bombing. Alfred P. Murrah Federal Building Plaza: located just south of the Field of Empty Chairs, above the underground parking garage, is the raised Alfred P. Murrah Federal Building Plaza. An original part of the federal building, the plaza had a garden and seating areas, as well as a playground for the daycare center. Visitors to the Memorial can walk across the plaza, where the original flagpole is used for the American flag. Adjacent memorials Two churches were located across the street from the Murrah Building. Both were heavily damaged by the blast. Each church was repaired and both constructed memorials on their property. While not part of the official memorial they are open to the public. Heartland Chapel: across the street from the 9:01 gate is an open air wooden chapel erected by First United Methodist Church of Oklahoma City. The altar is made from church stones damaged by the bombing. A substantial portion of the funding for the chapel was provided by the Jewish community. And Jesus Wept: across the street from the 9:03 gate is a sculpture of Jesus weeping erected by St. Joseph's Catholic Church, one of the first brick-and-mortar churches built in the city. Jesus faces away from the devastation, covering his face with his hand. In front of Jesus is a wall with 168 gaps in it, representing the voids left by each life lost. See also List of national memorials of the United States References Bibliography The National Parks: Index 2001–2003. Washington: U.S. Department of the Interior. External links Oklahoma City National Memorial Official website NPS website: Oklahoma City National Memorial NewsOK.com report and archive on the Oklahoma City Bombing Aerial view of the Memorial: Google Maps Delta Fountains' technical overview of the reflecting pool: Reflecting Pool Overview Oklahoma City National Memorial & Museum on AdventureRoad.com Visitor Information & Travel Planning 1997 establishments in Oklahoma Museums established in 1997 Museums in Oklahoma City National Memorials of the United States Oklahoma City bombing History museums in Oklahoma Monuments and memorials in Oklahoma Monuments and memorials on the National Register of Historic Places in Oklahoma National Park Service areas in Oklahoma Labor monuments and memorials Protected areas of Oklahoma County, Oklahoma Tourist attractions in Oklahoma City 1997 sculptures Bronze sculptures in Oklahoma National Register of Historic Places in Oklahoma City
Otto Tief ( – 5 March 1976) was an Estonian politician, military commander, and a lawyer. Tief was the acting prime minister of the last government of Estonia before Soviet troops occupied Estonia in the Second World War in September 1944. Due to his commitment to his country, Tief is regarded by many of his fellow countrymen as a symbol of national resistance. Education and career Tief studied law in St Petersburg between 1910 and 1916. During the Estonian War of Independence, Tief was a commander in the Kalevlaste Maleva battalion formed in 1918 by members of the Kalev sports society. Following the war, he graduated in law from the University of Tartu in 1921. He served as legal counsel to Eesti Maapank (the Estonian Land-Bank) and also worked in private practice as a lawyer. Tief was elected to parliament (third Riigikogu) in 1926 and served as the Minister of Social Affairs from 1926 to 1927. In 1928, he was the Minister of Justice. In 1932, he was elected to the fifth Riigikogu. ´´ Tief government of 1944 During the turbulent days in September 1944, between the retreat of the German occupation forces in Estonia and the onslaught of the Red Army, the acting President of the Republic of Estonia Jüri Uluots appointed Tief as a Prime Minister and asked him to form a government on 18 September 1944. Tief then published a proclamation, re-establishing the independence of the Republic of Estonia on the basis of legal continuity, and attempted to organise the defence of Tallinn against the invading Red Army, which pushed into the capital on 22 September 1944. Members of the Tief's government: Otto Tief – Acting Prime Minister and Minister of Interior Arnold Susi – Minister of Public Education Johannes Klesment (escaped to Sweden, assumed office 13 January 1945) – Minister of Justice Kaarel Liidak (died 16 January 1945) – Minister of Agriculture Hugo Pärtelpoeg (died 29 April 1951) – Minister of Finance Voldemar Sumberg – Minister of Social Affairs Juhan Pikkov (died 3 September 1947) – Minister of Communications August Rei (in Sweden, assumed office 31 December 1944, until 9 January 1945) – Minister of Foreign Affairs Juhan Kaarlimäe – Minister Johannes Sikkar (in Sweden, from 20 April 1952) – Minister Artur Terras (in Sweden, from 20 April 1952) – Minister Aftermath Otto Tief was arrested by the Soviet NKVD on 10 October 1944. In 1945, the Soviet occupation authorities sentenced him to ten years of imprisonment in the Siberian Gulag. While in imprisonment, in January 1953, he was removed in absentia from the Estonian government-in-exile by August Rei. After being able to return briefly to Soviet-occupied Estonia in 1955, Tief was again forced to live in exile in Soviet Ukraine until 1965, when he was permitted to relocate closer to home, and he could then reside just on the other side of the Estonian border in Latvia. When Tief died on 5 March 1976, the Soviet security services would not allow his burial in Estonia. After Estonia regained independence in 1991, Tief was reinterred and reburied in his home country, in the national cemetery in Tallinn, in 1993. Tief's symbolic significance Tief held power for only a brief period of time (18-22 September 1944), and his efforts were rapidly undone by the invading Red Army. However, Tief's actions have immense symbolic and legal significance, as his proclaiming of the restoration of the Republic of Estonia, as well as the accompanying raising of the Estonian flag atop the tower of Pikk Hermann high above Tallinn at the seat of power in the Toompea quarter negates Soviet historiography's claims, according to which the invasion of Estonia by the Soviet Red Army in September 1944 constituted "the liberation of Estonia". Although the attempt to restore Estonian independence in September 1944 did not succeed, the Tief government proved to be an integral and indispensable part of the de jure continuity of the Republic of Estonia. Commemoration In February 2007, the Estonian parliament decided to commemorate the actions of Tief's government by proclaiming 22 September the annual "Day of Resistance". 22 September 1944 was the day, several days after the departure of Nazi Germany's occupying forces, that Stalin´s invading Red Army took over the administrative centre of Tallinn, tore down the Estonian national flag, and replaced it with the Red Banner, the symbol of Soviet occupation. References Citations Bibliography Otto Tief, "Mälestusi aastaist 1944–1954" – Akadeemia 1990, nr. 2, lk. 231–250 1889 births 1976 deaths People from Rapla Parish People from the Governorate of Estonia Settlers' Party politicians Prime Ministers of Estonia Government ministers of Estonia Members of the Riigikogu, 1926–1929 Members of the Riigikogu, 1932–1934 Estonian anti-communists Estonian independence activists Russian military personnel of World War I Estonian military personnel of the Estonian War of Independence Estonian people of World War II Estonian prisoners and detainees Prisoners and detainees of the Soviet Union Burials at Metsakalmistu
Henry Leroy Willson (July 31, 1911 – November 2, 1978) was an American Hollywood talent agent who played a large role in developing the beefcake craze of the 1950s. His clients included Rock Hudson, Tab Hunter, Chad Everett, Robert Wagner, Nick Adams, Guy Madison, Kerwin Mathews, Troy Donahue, Mike Connors, Rory Calhoun, John Saxon, Yale Summers, Clint Walker, Doug McClure, Dack Rambo, Ty Hardin, and John Derek. Early life Willson was born into a prominent show business family in Lansdowne, Pennsylvania. His father, Horace, was the vice-president of the Columbia Phonograph Company and advanced to the presidency in 1922. Willson came in close contact with many Broadway theatre, opera, and vaudeville performers. Will Rogers, Fanny Brice, and Fred Stone numbered among the family's friends, after they moved to Forest Hills, an upscale neighborhood in the New York City borough of Queens. Concerned about his son's interest in tap dance, the elder Willson enrolled Henry in the Asheville School in North Carolina, where he hoped the school's many team sports and rugged weekend activities, such as rock climbing and backpacking, would have a positive influence on the boy. He later attended Wesleyan University in Middletown, Connecticut, spending weekends in Manhattan, where he wrote weekly gossip columns for Variety. Hollywood years In 1933, Willson traveled to Hollywood by steamship via the Panama Canal. On board he cultivated a friendship with Bing Crosby's wife, Dixie Lee, who introduced him to the Hollywood elite and secured him a job with Photoplay, where his first article was about the newborn Gary Crosby. He began writing for The Hollywood Reporter and the New Movie Magazine, became a junior agent at the Joyce & Polimer Agency, moved into a Beverly Hills home purchased by his father, and became a regular at Sunset Strip gay bars, where he wooed young men for both professional and personal reasons. One of his first clients was Junior Durkin, whose career was cut short when he died in an automobile accident on May 4, 1935. Willson joined the Zeppo Marx Agency, where he represented newcomers Marjorie Belcher, Jon Hall, and William T. Orr. He was introduced to Julia Turner, a Hollywood High School student, in 1937, whom he renamed "Lana Turner" and got cast in small roles, finally introducing her to Mervyn LeRoy at Warner Bros. In 1943, David O. Selznick hired Willson to head the talent division of his newly formed Vanguard Pictures. The first film he cast was the World War II drama Since You Went Away (1944) with Claudette Colbert, Jennifer Jones, and Shirley Temple. He placed Guy Madison, Craig Stevens, and John Derek (billed as Dare Harris) in small supporting roles. Willson eventually opened his own talent agency, where he nurtured the careers of his young finds, frequently coercing them into sexual relationships in exchange for publicity and film roles. In his book, Screened Out: Playing Gay in Hollywood from Edison to Stonewall, Richard Barrios writes, "talent agent Henry Willson... had a singular knack for discovering and renaming young actors whose visual appeal transcended any lack of ability. Under his tutelage, Robert Mosely became Guy Madison, Orison Whipple Hungerford Jr. was renamed Ty Hardin, Arthur Gelien was changed to Tab Hunter, and Roy Scherer turned into Rock Hudson. So successful was the beefcake aspect of this enterprise, and so widely recognized was Willson's sexuality, that it was often, and often inaccurately, assumed that all of his clients were gay. In her book Natasha: The Biography of Natalie Wood, Suzanne Finstad confirms that "some of the would-be actors Willson represented were heterosexual, but a disproportionate number were homosexual, bisexual, or 'co-operated' with Willson 'to get gigs,' in the observation of Natalie [Wood]'s costar Bobby Hyatt. ..." "if a young, handsome actor had Henry Willson for an agent, 'it was almost assumed he was gay, like it was written across his forehead,' recalls Ann Doran, one of Willson's few female clients." His most prominent client was Rock Hudson, whom he transformed from a clumsy, naive, Chicago-born truck driver named Roy Scherer into one of Hollywood's most popular leading men. The two were teamed professionally until 1966. In 1955, Confidential magazine threatened to publish an exposé about Hudson's secret gay life, and Willson disclosed information about Rory Calhoun's years in prison and Tab Hunter's arrest at a gay party in 1950 in exchange for the tabloid not printing the Hudson story. At his agent's urging, Hudson married Willson's secretary Phyllis Gates in order to put the rumors to rest and maintain a macho image, but the union dissolved after three years. Later years and death In his later years, Willson struggled with drug addiction, alcoholism, paranoia, and weight problems. As his own homosexuality had become public knowledge, many of his clients, both gay and straight, distanced themselves from him for fear of being branded the same. In 1974, the unemployed and destitute agent moved into the Motion Picture & Television Country House and Hospital until his death from cirrhosis of the liver. He was 67 years old. With no money to cover the cost of a gravestone, he was interred in an unmarked grave in Valhalla Memorial Park Cemetery in North Hollywood, California. A headstone was eventually placed at his burial site with the epitaph "Star - Star Maker". In popular culture Willson is portrayed by Jim Parsons in the 2020 Netflix miniseries Hollywood, a counterfactual re-imagining of post World War II Hollywood. Notes References Richard Barrios, Screened Out: Playing Gay in Hollywood from Edison to Stonewall (2002). Robert Hofler, The Man Who Invented Rock Hudson: The Pretty Boys and Dirty Deals of Henry Willson. Carroll & Graf, 2005, 1911 births 1978 deaths People from Lansdowne, Pennsylvania American talent agents Deaths from cirrhosis Hollywood talent agents People from Forest Hills, Queens Wesleyan University alumni LGBT people from Pennsylvania 20th-century American businesspeople 20th-century American LGBT people
Passaron () was an ancient Greek city of ancient Epirus. It was founded by the Molossian king Tharrhypas sometime between 420 and 400 BCE as the capital of the Molossian kingdom. As capital, the Molossian kings and the assembled people were accustomed to take mutual oaths, the one to govern according to the laws, the other to defend the kingdom. Later, in 330 BCE, it became the capital of the newfound united kingdom of Epirus until 295 BCE, when Pyrrhus of Epirus moved the capital to Amvrakia. The town was taken by the Roman praetor Lucius Anicius Gallus in 167 BCE. Its site is located near the modern Rodotopi. References See also List of cities in ancient Epirus Cities in ancient Epirus Former populated places in Greece Populated places in ancient Epirus
```c++ //===--- CommentParser.cpp - Doxygen comment parser -----------------------===// // // See path_to_url for license information. // //===your_sha256_hash------===// #include "clang/AST/CommentParser.h" #include "clang/AST/CommentCommandTraits.h" #include "clang/AST/CommentDiagnostic.h" #include "clang/AST/CommentSema.h" #include "clang/Basic/CharInfo.h" #include "clang/Basic/SourceManager.h" #include "llvm/Support/ErrorHandling.h" namespace clang { static inline bool isWhitespace(llvm::StringRef S) { for (StringRef::const_iterator I = S.begin(), E = S.end(); I != E; ++I) { if (!isWhitespace(*I)) return false; } return true; } namespace comments { /// Re-lexes a sequence of tok::text tokens. class TextTokenRetokenizer { llvm::BumpPtrAllocator &Allocator; Parser &P; /// This flag is set when there are no more tokens we can fetch from lexer. bool NoMoreInterestingTokens; /// Token buffer: tokens we have processed and lookahead. SmallVector<Token, 16> Toks; /// A position in \c Toks. struct Position { const char *BufferStart; const char *BufferEnd; const char *BufferPtr; SourceLocation BufferStartLoc; unsigned CurToken; }; /// Current position in Toks. Position Pos; bool isEnd() const { return Pos.CurToken >= Toks.size(); } /// Sets up the buffer pointers to point to current token. void setupBuffer() { assert(!isEnd()); const Token &Tok = Toks[Pos.CurToken]; Pos.BufferStart = Tok.getText().begin(); Pos.BufferEnd = Tok.getText().end(); Pos.BufferPtr = Pos.BufferStart; Pos.BufferStartLoc = Tok.getLocation(); } SourceLocation getSourceLocation() const { const unsigned CharNo = Pos.BufferPtr - Pos.BufferStart; return Pos.BufferStartLoc.getLocWithOffset(CharNo); } char peek() const { assert(!isEnd()); assert(Pos.BufferPtr != Pos.BufferEnd); return *Pos.BufferPtr; } void consumeChar() { assert(!isEnd()); assert(Pos.BufferPtr != Pos.BufferEnd); Pos.BufferPtr++; if (Pos.BufferPtr == Pos.BufferEnd) { Pos.CurToken++; if (isEnd() && !addToken()) return; assert(!isEnd()); setupBuffer(); } } /// Add a token. /// Returns true on success, false if there are no interesting tokens to /// fetch from lexer. bool addToken() { if (NoMoreInterestingTokens) return false; if (P.Tok.is(tok::newline)) { // If we see a single newline token between text tokens, skip it. Token Newline = P.Tok; P.consumeToken(); if (P.Tok.isNot(tok::text)) { P.putBack(Newline); NoMoreInterestingTokens = true; return false; } } if (P.Tok.isNot(tok::text)) { NoMoreInterestingTokens = true; return false; } Toks.push_back(P.Tok); P.consumeToken(); if (Toks.size() == 1) setupBuffer(); return true; } void consumeWhitespace() { while (!isEnd()) { if (isWhitespace(peek())) consumeChar(); else break; } } void formTokenWithChars(Token &Result, SourceLocation Loc, const char *TokBegin, unsigned TokLength, StringRef Text) { Result.setLocation(Loc); Result.setKind(tok::text); Result.setLength(TokLength); #ifndef NDEBUG Result.TextPtr = "<UNSET>"; Result.IntVal = 7; #endif Result.setText(Text); } public: TextTokenRetokenizer(llvm::BumpPtrAllocator &Allocator, Parser &P): Allocator(Allocator), P(P), NoMoreInterestingTokens(false) { Pos.CurToken = 0; addToken(); } /// Extract a word -- sequence of non-whitespace characters. bool lexWord(Token &Tok) { if (isEnd()) return false; Position SavedPos = Pos; consumeWhitespace(); SmallString<32> WordText; const char *WordBegin = Pos.BufferPtr; SourceLocation Loc = getSourceLocation(); while (!isEnd()) { const char C = peek(); if (!isWhitespace(C)) { WordText.push_back(C); consumeChar(); } else break; } const unsigned Length = WordText.size(); if (Length == 0) { Pos = SavedPos; return false; } char *TextPtr = Allocator.Allocate<char>(Length + 1); memcpy(TextPtr, WordText.c_str(), Length + 1); StringRef Text = StringRef(TextPtr, Length); formTokenWithChars(Tok, Loc, WordBegin, Length, Text); return true; } bool lexDelimitedSeq(Token &Tok, char OpenDelim, char CloseDelim) { if (isEnd()) return false; Position SavedPos = Pos; consumeWhitespace(); SmallString<32> WordText; const char *WordBegin = Pos.BufferPtr; SourceLocation Loc = getSourceLocation(); bool Error = false; if (!isEnd()) { const char C = peek(); if (C == OpenDelim) { WordText.push_back(C); consumeChar(); } else Error = true; } char C = '\0'; while (!Error && !isEnd()) { C = peek(); WordText.push_back(C); consumeChar(); if (C == CloseDelim) break; } if (!Error && C != CloseDelim) Error = true; if (Error) { Pos = SavedPos; return false; } const unsigned Length = WordText.size(); char *TextPtr = Allocator.Allocate<char>(Length + 1); memcpy(TextPtr, WordText.c_str(), Length + 1); StringRef Text = StringRef(TextPtr, Length); formTokenWithChars(Tok, Loc, WordBegin, Pos.BufferPtr - WordBegin, Text); return true; } /// Put back tokens that we didn't consume. void putBackLeftoverTokens() { if (isEnd()) return; bool HavePartialTok = false; Token PartialTok; if (Pos.BufferPtr != Pos.BufferStart) { formTokenWithChars(PartialTok, getSourceLocation(), Pos.BufferPtr, Pos.BufferEnd - Pos.BufferPtr, StringRef(Pos.BufferPtr, Pos.BufferEnd - Pos.BufferPtr)); HavePartialTok = true; Pos.CurToken++; } P.putBack(llvm::ArrayRef(Toks.begin() + Pos.CurToken, Toks.end())); Pos.CurToken = Toks.size(); if (HavePartialTok) P.putBack(PartialTok); } }; Parser::Parser(Lexer &L, Sema &S, llvm::BumpPtrAllocator &Allocator, const SourceManager &SourceMgr, DiagnosticsEngine &Diags, const CommandTraits &Traits): L(L), S(S), Allocator(Allocator), SourceMgr(SourceMgr), Diags(Diags), Traits(Traits) { consumeToken(); } void Parser::parseParamCommandArgs(ParamCommandComment *PC, TextTokenRetokenizer &Retokenizer) { Token Arg; // Check if argument looks like direction specification: [dir] // e.g., [in], [out], [in,out] if (Retokenizer.lexDelimitedSeq(Arg, '[', ']')) S.actOnParamCommandDirectionArg(PC, Arg.getLocation(), Arg.getEndLocation(), Arg.getText()); if (Retokenizer.lexWord(Arg)) S.actOnParamCommandParamNameArg(PC, Arg.getLocation(), Arg.getEndLocation(), Arg.getText()); } void Parser::parseTParamCommandArgs(TParamCommandComment *TPC, TextTokenRetokenizer &Retokenizer) { Token Arg; if (Retokenizer.lexWord(Arg)) S.actOnTParamCommandParamNameArg(TPC, Arg.getLocation(), Arg.getEndLocation(), Arg.getText()); } ArrayRef<Comment::Argument> Parser::parseCommandArgs(TextTokenRetokenizer &Retokenizer, unsigned NumArgs) { auto *Args = new (Allocator.Allocate<Comment::Argument>(NumArgs)) Comment::Argument[NumArgs]; unsigned ParsedArgs = 0; Token Arg; while (ParsedArgs < NumArgs && Retokenizer.lexWord(Arg)) { Args[ParsedArgs] = Comment::Argument{ SourceRange(Arg.getLocation(), Arg.getEndLocation()), Arg.getText()}; ParsedArgs++; } return llvm::ArrayRef(Args, ParsedArgs); } BlockCommandComment *Parser::parseBlockCommand() { assert(Tok.is(tok::backslash_command) || Tok.is(tok::at_command)); ParamCommandComment *PC = nullptr; TParamCommandComment *TPC = nullptr; BlockCommandComment *BC = nullptr; const CommandInfo *Info = Traits.getCommandInfo(Tok.getCommandID()); CommandMarkerKind CommandMarker = Tok.is(tok::backslash_command) ? CMK_Backslash : CMK_At; if (Info->IsParamCommand) { PC = S.actOnParamCommandStart(Tok.getLocation(), Tok.getEndLocation(), Tok.getCommandID(), CommandMarker); } else if (Info->IsTParamCommand) { TPC = S.actOnTParamCommandStart(Tok.getLocation(), Tok.getEndLocation(), Tok.getCommandID(), CommandMarker); } else { BC = S.actOnBlockCommandStart(Tok.getLocation(), Tok.getEndLocation(), Tok.getCommandID(), CommandMarker); } consumeToken(); if (isTokBlockCommand()) { // Block command ahead. We can't nest block commands, so pretend that this // command has an empty argument. ParagraphComment *Paragraph = S.actOnParagraphComment(std::nullopt); if (PC) { S.actOnParamCommandFinish(PC, Paragraph); return PC; } else if (TPC) { S.actOnTParamCommandFinish(TPC, Paragraph); return TPC; } else { S.actOnBlockCommandFinish(BC, Paragraph); return BC; } } if (PC || TPC || Info->NumArgs > 0) { // In order to parse command arguments we need to retokenize a few // following text tokens. TextTokenRetokenizer Retokenizer(Allocator, *this); if (PC) parseParamCommandArgs(PC, Retokenizer); else if (TPC) parseTParamCommandArgs(TPC, Retokenizer); else S.actOnBlockCommandArgs(BC, parseCommandArgs(Retokenizer, Info->NumArgs)); Retokenizer.putBackLeftoverTokens(); } // If there's a block command ahead, we will attach an empty paragraph to // this command. bool EmptyParagraph = false; if (isTokBlockCommand()) EmptyParagraph = true; else if (Tok.is(tok::newline)) { Token PrevTok = Tok; consumeToken(); EmptyParagraph = isTokBlockCommand(); putBack(PrevTok); } ParagraphComment *Paragraph; if (EmptyParagraph) Paragraph = S.actOnParagraphComment(std::nullopt); else { BlockContentComment *Block = parseParagraphOrBlockCommand(); // Since we have checked for a block command, we should have parsed a // paragraph. Paragraph = cast<ParagraphComment>(Block); } if (PC) { S.actOnParamCommandFinish(PC, Paragraph); return PC; } else if (TPC) { S.actOnTParamCommandFinish(TPC, Paragraph); return TPC; } else { S.actOnBlockCommandFinish(BC, Paragraph); return BC; } } InlineCommandComment *Parser::parseInlineCommand() { assert(Tok.is(tok::backslash_command) || Tok.is(tok::at_command)); const CommandInfo *Info = Traits.getCommandInfo(Tok.getCommandID()); const Token CommandTok = Tok; consumeToken(); TextTokenRetokenizer Retokenizer(Allocator, *this); ArrayRef<Comment::Argument> Args = parseCommandArgs(Retokenizer, Info->NumArgs); InlineCommandComment *IC = S.actOnInlineCommand( CommandTok.getLocation(), CommandTok.getEndLocation(), CommandTok.getCommandID(), Args); if (Args.size() < Info->NumArgs) { Diag(CommandTok.getEndLocation().getLocWithOffset(1), diag::warn_doc_inline_command_not_enough_arguments) << CommandTok.is(tok::at_command) << Info->Name << Args.size() << Info->NumArgs << SourceRange(CommandTok.getLocation(), CommandTok.getEndLocation()); } Retokenizer.putBackLeftoverTokens(); return IC; } HTMLStartTagComment *Parser::parseHTMLStartTag() { assert(Tok.is(tok::html_start_tag)); HTMLStartTagComment *HST = S.actOnHTMLStartTagStart(Tok.getLocation(), Tok.getHTMLTagStartName()); consumeToken(); SmallVector<HTMLStartTagComment::Attribute, 2> Attrs; while (true) { switch (Tok.getKind()) { case tok::html_ident: { Token Ident = Tok; consumeToken(); if (Tok.isNot(tok::html_equals)) { Attrs.push_back(HTMLStartTagComment::Attribute(Ident.getLocation(), Ident.getHTMLIdent())); continue; } Token Equals = Tok; consumeToken(); if (Tok.isNot(tok::html_quoted_string)) { Diag(Tok.getLocation(), diag::warn_doc_html_start_tag_expected_quoted_string) << SourceRange(Equals.getLocation()); Attrs.push_back(HTMLStartTagComment::Attribute(Ident.getLocation(), Ident.getHTMLIdent())); while (Tok.is(tok::html_equals) || Tok.is(tok::html_quoted_string)) consumeToken(); continue; } Attrs.push_back(HTMLStartTagComment::Attribute( Ident.getLocation(), Ident.getHTMLIdent(), Equals.getLocation(), SourceRange(Tok.getLocation(), Tok.getEndLocation()), Tok.getHTMLQuotedString())); consumeToken(); continue; } case tok::html_greater: S.actOnHTMLStartTagFinish(HST, S.copyArray(llvm::ArrayRef(Attrs)), Tok.getLocation(), /* IsSelfClosing = */ false); consumeToken(); return HST; case tok::html_slash_greater: S.actOnHTMLStartTagFinish(HST, S.copyArray(llvm::ArrayRef(Attrs)), Tok.getLocation(), /* IsSelfClosing = */ true); consumeToken(); return HST; case tok::html_equals: case tok::html_quoted_string: Diag(Tok.getLocation(), diag::warn_doc_html_start_tag_expected_ident_or_greater); while (Tok.is(tok::html_equals) || Tok.is(tok::html_quoted_string)) consumeToken(); if (Tok.is(tok::html_ident) || Tok.is(tok::html_greater) || Tok.is(tok::html_slash_greater)) continue; S.actOnHTMLStartTagFinish(HST, S.copyArray(llvm::ArrayRef(Attrs)), SourceLocation(), /* IsSelfClosing = */ false); return HST; default: // Not a token from an HTML start tag. Thus HTML tag prematurely ended. S.actOnHTMLStartTagFinish(HST, S.copyArray(llvm::ArrayRef(Attrs)), SourceLocation(), /* IsSelfClosing = */ false); bool StartLineInvalid; const unsigned StartLine = SourceMgr.getPresumedLineNumber( HST->getLocation(), &StartLineInvalid); bool EndLineInvalid; const unsigned EndLine = SourceMgr.getPresumedLineNumber( Tok.getLocation(), &EndLineInvalid); if (StartLineInvalid || EndLineInvalid || StartLine == EndLine) Diag(Tok.getLocation(), diag::warn_doc_html_start_tag_expected_ident_or_greater) << HST->getSourceRange(); else { Diag(Tok.getLocation(), diag::warn_doc_html_start_tag_expected_ident_or_greater); Diag(HST->getLocation(), diag::note_doc_html_tag_started_here) << HST->getSourceRange(); } return HST; } } } HTMLEndTagComment *Parser::parseHTMLEndTag() { assert(Tok.is(tok::html_end_tag)); Token TokEndTag = Tok; consumeToken(); SourceLocation Loc; if (Tok.is(tok::html_greater)) { Loc = Tok.getLocation(); consumeToken(); } return S.actOnHTMLEndTag(TokEndTag.getLocation(), Loc, TokEndTag.getHTMLTagEndName()); } BlockContentComment *Parser::parseParagraphOrBlockCommand() { SmallVector<InlineContentComment *, 8> Content; while (true) { switch (Tok.getKind()) { case tok::verbatim_block_begin: case tok::verbatim_line_name: case tok::eof: break; // Block content or EOF ahead, finish this parapgaph. case tok::unknown_command: Content.push_back(S.actOnUnknownCommand(Tok.getLocation(), Tok.getEndLocation(), Tok.getUnknownCommandName())); consumeToken(); continue; case tok::backslash_command: case tok::at_command: { const CommandInfo *Info = Traits.getCommandInfo(Tok.getCommandID()); if (Info->IsBlockCommand) { if (Content.size() == 0) return parseBlockCommand(); break; // Block command ahead, finish this parapgaph. } if (Info->IsVerbatimBlockEndCommand) { Diag(Tok.getLocation(), diag::warn_verbatim_block_end_without_start) << Tok.is(tok::at_command) << Info->Name << SourceRange(Tok.getLocation(), Tok.getEndLocation()); consumeToken(); continue; } if (Info->IsUnknownCommand) { Content.push_back(S.actOnUnknownCommand(Tok.getLocation(), Tok.getEndLocation(), Info->getID())); consumeToken(); continue; } assert(Info->IsInlineCommand); Content.push_back(parseInlineCommand()); continue; } case tok::newline: { consumeToken(); if (Tok.is(tok::newline) || Tok.is(tok::eof)) { consumeToken(); break; // Two newlines -- end of paragraph. } // Also allow [tok::newline, tok::text, tok::newline] if the middle // tok::text is just whitespace. if (Tok.is(tok::text) && isWhitespace(Tok.getText())) { Token WhitespaceTok = Tok; consumeToken(); if (Tok.is(tok::newline) || Tok.is(tok::eof)) { consumeToken(); break; } // We have [tok::newline, tok::text, non-newline]. Put back tok::text. putBack(WhitespaceTok); } if (Content.size() > 0) Content.back()->addTrailingNewline(); continue; } // Don't deal with HTML tag soup now. case tok::html_start_tag: Content.push_back(parseHTMLStartTag()); continue; case tok::html_end_tag: Content.push_back(parseHTMLEndTag()); continue; case tok::text: Content.push_back(S.actOnText(Tok.getLocation(), Tok.getEndLocation(), Tok.getText())); consumeToken(); continue; case tok::verbatim_block_line: case tok::verbatim_block_end: case tok::verbatim_line_text: case tok::html_ident: case tok::html_equals: case tok::html_quoted_string: case tok::html_greater: case tok::html_slash_greater: llvm_unreachable("should not see this token"); } break; } return S.actOnParagraphComment(S.copyArray(llvm::ArrayRef(Content))); } VerbatimBlockComment *Parser::parseVerbatimBlock() { assert(Tok.is(tok::verbatim_block_begin)); VerbatimBlockComment *VB = S.actOnVerbatimBlockStart(Tok.getLocation(), Tok.getVerbatimBlockID()); consumeToken(); // Don't create an empty line if verbatim opening command is followed // by a newline. if (Tok.is(tok::newline)) consumeToken(); SmallVector<VerbatimBlockLineComment *, 8> Lines; while (Tok.is(tok::verbatim_block_line) || Tok.is(tok::newline)) { VerbatimBlockLineComment *Line; if (Tok.is(tok::verbatim_block_line)) { Line = S.actOnVerbatimBlockLine(Tok.getLocation(), Tok.getVerbatimBlockText()); consumeToken(); if (Tok.is(tok::newline)) { consumeToken(); } } else { // Empty line, just a tok::newline. Line = S.actOnVerbatimBlockLine(Tok.getLocation(), ""); consumeToken(); } Lines.push_back(Line); } if (Tok.is(tok::verbatim_block_end)) { const CommandInfo *Info = Traits.getCommandInfo(Tok.getVerbatimBlockID()); S.actOnVerbatimBlockFinish(VB, Tok.getLocation(), Info->Name, S.copyArray(llvm::ArrayRef(Lines))); consumeToken(); } else { // Unterminated \\verbatim block S.actOnVerbatimBlockFinish(VB, SourceLocation(), "", S.copyArray(llvm::ArrayRef(Lines))); } return VB; } VerbatimLineComment *Parser::parseVerbatimLine() { assert(Tok.is(tok::verbatim_line_name)); Token NameTok = Tok; consumeToken(); SourceLocation TextBegin; StringRef Text; // Next token might not be a tok::verbatim_line_text if verbatim line // starting command comes just before a newline or comment end. if (Tok.is(tok::verbatim_line_text)) { TextBegin = Tok.getLocation(); Text = Tok.getVerbatimLineText(); } else { TextBegin = NameTok.getEndLocation(); Text = ""; } VerbatimLineComment *VL = S.actOnVerbatimLine(NameTok.getLocation(), NameTok.getVerbatimLineID(), TextBegin, Text); consumeToken(); return VL; } BlockContentComment *Parser::parseBlockContent() { switch (Tok.getKind()) { case tok::text: case tok::unknown_command: case tok::backslash_command: case tok::at_command: case tok::html_start_tag: case tok::html_end_tag: return parseParagraphOrBlockCommand(); case tok::verbatim_block_begin: return parseVerbatimBlock(); case tok::verbatim_line_name: return parseVerbatimLine(); case tok::eof: case tok::newline: case tok::verbatim_block_line: case tok::verbatim_block_end: case tok::verbatim_line_text: case tok::html_ident: case tok::html_equals: case tok::html_quoted_string: case tok::html_greater: case tok::html_slash_greater: llvm_unreachable("should not see this token"); } llvm_unreachable("bogus token kind"); } FullComment *Parser::parseFullComment() { // Skip newlines at the beginning of the comment. while (Tok.is(tok::newline)) consumeToken(); SmallVector<BlockContentComment *, 8> Blocks; while (Tok.isNot(tok::eof)) { Blocks.push_back(parseBlockContent()); // Skip extra newlines after paragraph end. while (Tok.is(tok::newline)) consumeToken(); } return S.actOnFullComment(S.copyArray(llvm::ArrayRef(Blocks))); } } // end namespace comments } // end namespace clang ```
Belvís de Monroy is a municipality located in the province of Cáceres, Extremadura, Spain. According to the 2006 census (INE), the municipality had a population of 701. References Municipalities in the Province of Cáceres
```java Sibling Classes Use a copy constructor for non-immutable objects Compare classes and not class names How and when to use `WeakHashMap` class Fields with Java **Reflection API** ```
A Conspiracy of Kings is a young adult fantasy novel by Megan Whalen Turner, published by the Greenwillow Books imprint of HarperCollins in 2010. It is the fourth novel in the Queen's Thief series that Turner inaugurated with The Thief in 1996. The first five chapters were released on the HarperCollins Children's Books site for previewing purposes. The trade paper edition of August 2011 appends to the novel an original Queen's Thief short story, "Destruction", and several nonfiction items. Setting The books are set in a Byzantine-like imaginary landscape, reminiscent of ancient Greece and other territories around the Mediterranean. The action takes place in the countries of Eddis, Attolia, and Sounis. The characters' names are Greek, and references are made to actual Greek authors, but this is fantasy, not historical fiction. The gods of Turner's pantheon, ruled by the Great Goddess Hephestia, are her own, and her world possesses such items as guns and pocket watches. Plot Sophos, the Magus's once studious young protégé, finds himself out of his element as his family is ambushed in their villa in Sounis. Sophos at first succeeds in evading capture and hiding his mother and sisters, but is betrayed by the servants. Mistakenly sold into slavery, he finds himself content with manual labor and forms a camaraderie with the other slaves. However, when faced with a choice between a life of contentment or influence, he chooses the latter. After a harrowing escape from the Baron who owned him, Sophos inherits the throne of Sounis. Not only is his country deadlocked in war with Attolia, it is also torn by a civil war. With neither the monetary resources nor manpower to secure his throne, Sophos is faced with several options, each with heavy consequences. Aided by the Magus, he turns to his old friend Eugenides, the former Thief of Eddis, with whom Sophos traveled years before and who is now the King of Attolia. Queen's Thief series 1996 The Thief 2000 The Queen of Attolia 2006 The King of Attolia 2010 A Conspiracy of Kings 2017 Thick as Thieves 2020 Return of the Thief References External links Megan Whalen Turner (official) Sounis fan discussion of the series at LiveJournal 2010 American novels Young adult fantasy novels American fantasy novels American young adult novels 2010 fantasy novels Novels about theft Greenwillow Books books
Sixto Paz Wells (Lima, Peru, December 12, 1955) is an author and lecturer focused on the UFO phenomena, particularly alien contact, from a spiritual viewpoint. Known as the visible head of the Rahma Mission in Spain and a number of Latin American countries, stands out among the ufologists for having summoned the international press to sightings scheduled in advance in more than ten occasions. As a self proclaimed contactee, he has published 20 books in Spanish and one in English about this subject so far (July 2017). In his works about UFOlogy he promotes a systematic method of physical and mental preparation for contact, as well as protocols for documenting, validating and confirming contact experiences. Life Paz Wells was born in Lima, Peru, in December 12, 1955, to Rose Marie Wells Vienrich and Carlos Paz García, an astronomer and scientific adviser of the Peruvian Air Force, as well as researcher interested in the UFO phenomena. From the age of twelve he became interested in UFOs because of his proximity to the Peruvian Institute of Interplanetary Relations (IPRI), founded and presided over by his father. He coursed primary and secondary studies with the Marist Brothers, culminating his studies in the first place in the Order of Merits. Sixto Paz, 19 at that time, invites the Spanish journalist J. J. Benitez to a programmed sighting of an unidentified flying object in the Chilca desert on September 7, 1974. He then pursued university studies at the Pontifical Catholic University of Peru, in the faculty of History. He is married to Marina Torres since 1987 and have two daughters: Yearim and Tanis. Career On January 22, 1974, he attended a conference titled "Telepathy as a transmission of distance thought", given by a physician member of the Theosophical Society. That night, after a deep relaxation exercise, Paz Wells received with his mother and sister, a message through automatic writing. The message supposedly was from a being named Oxalc from Ganymede, with the intention of establishing communication with some earthlings. Sixto repeated the group experience, and they all were summoned to a sighting scheduled on February 7, 1974, at 9 pm in the Chilca desert, where according to the attendants appeared a very bright lens-shaped aircraft with windows. Sixto Paz was interested in communicating with aliens astrally, in dreams or telepathically, and not only physically with their ships, which was the traditional approach of IPRI ufologists. Similar experiences were happening until August 1974, when the agency Efe spread the news that involved the Paz Wells family: Following the note from Efe, journalist J. J. Benítez was sent from Spain to learn about the unusual experience of Paz Wells teenagers. Benítez did not get involved with Ufology out of his curiosity, but rather found the UFO phenomenon meeting the Rama Mission. Sixto invites him to the scheduled sighting of an unidentified flying object, along with his sibling, Veronica and seven other people at the Chilca desert on September 7, 1974. Benitez saw, as had been announced in advance, two UFOs. Rahma Mission Originally called the RAMA Mission, it was named after the goal they shared: RA (Sun) MA (Earth), a contact program that seeks to transform the human being into a star, into a Sun on Earth. It was the organization of groups of sympathizers of the method promoted by Paz Wells to contact those who he called "Extraterrestrial Guides". Through IPRI Paz Wells contacted the "International Society of Divine Realization" where he learned yoga, relaxation, meditation and deep concentration techniques, which he would later encourage among the Rahma groups to facilitate contact. Since the Chilca event of September 1974, together with his sibling Veronica and close friends from IPRI, he began work with groups of enthusiasts in Peru, which were growing and ended adopting the name RAMA Mission. It was officially dissolved as an organization by its founder in 1990, although there are groups that are still working independently. It came to have a presence in several countries of Latin America and Spain, where it was reviewed as one of the eleven sects or groups that have the extraterrestrials as core of their doctrines. International Forums Sixto Paz describes himself as a messenger of peace and hope, rather than a messenger of other worlds. He has appeared in international forums such as the United Nations and in universities such as Columbia University and John F. Kennedy University. In other countries, the University of Montreal, the Universidad Complutense de Madrid and the National Autonomous University of Mexico have also had him as a lecturer. Visited countries Paz Wells travels around the world giving lectures about his take on the UFO phenomena. He has visited Europe, Africa, Oceania and America such as Colombia, Chile, Ecuador, Mexico, Argentina, Uruguay and United States, being most noted his visit to Washington DC in May 2015. In more than ten opportunities he has summoned members of the international press to witness, record and photograph the sightings of lights and objects in the sky, which the author claims are directed or manned by extraterrestrial beings who maintain telepathic contact with him and other members of his contact groups. Among these experiences are one of August 1997 on the Valparaíso beach north of Lima, March 3, 2009, in the Chilca desert, in 2014 also in Chilca, and 2014 in Teotihuacan, Mexico. Critics As a self proclaimed contactee, Paz Wells has faced skepticism, even from the so called serious ufologists. On March 31, 1994, Paz Wells was invited to the Spanish television program "La hora de la verdad", in which he underwent a polygraph test. He has been criticized for not passing the test on the question "Have you truly traveled in a spacecraft to another planet?", which is one of the main arguments the author uses to back up his claims. However, Paz Wells did pass all other questions such as "Have you ever been under the influence of a hallucinogenic drug?", "Have you received money from any spy service?", "Have you invented all these stories For exclusively lucrative purposes? ", "Without having to do with this matter, have you ever lied to get out of a hurry?" which he argues in his defense as proof of character. He also says that he failed the question "Have you really traveled in a spacecraft to another planet?" because he claims to have visited Ganymede, which is not a proper planet but a moon of Jupiter, an imprecision that made him stumble. The Rahma Mission of which Paz Wells was the visible head until its dissolution in 1990 has been described by psychologists and philosophers as a UFO religion and a neo-religious group whose beliefs are very similar to those of Theosophy and nineteenth century's Occultism, while using the techniques from Spiritism. In 1976, his brother Charlie settled in Brazil and formed contact groups there with a different orientation than Sixto was giving to the RAMA Mission, claiming that it was becoming "a movement plagued of interpretation errors, struggles for leadership and unclear economic purposes." Published books He has written more than 20 books since 1985, published in Argentina, Spain, Mexico, Colombia, Peru, Italy, Germany, and the United States. Some of them have been translated into English, German, Italian and Portuguese. In English The Invitation (2002) In Spanish Most of his work has been published in Spanish: Los Guías Extraterrestres (1985) Contacto Interdimensional (April 1993) El Umbral Secreto (June 1995) Los Guardianes y Vigilantes de Mundos (1997) Una Puerta Hacia Las Estrellas (1999) Una Insólita Invitación (April 2001) La Antiprofecía (January 2002) Tanis y La Esfera Dorada (October 2004) Tanis y El Mágico Cuzco (October 2005) Antología del Contacto Extraterrestre, 33 Años Después (2007) Extraterrestre, Abriendo Los Ojos a Otra Realidad (May 2008) El Instructor del Nuevo Tiempo (2009) El Parto Planetario (2010) 2012 Contacto con Otras Realidades (2012) La Muerte como Metamorfosis (December 2013) 2012 La Cuenta Regresiva (2013) Guía Práctica para Tener un Contacto (October 2014) Relatos de Otra Realidad (October 2015) Sixto Paz Wells y Los Visitantes Estelares (August 2015) Novels El santuario de la tierra (2017 Kolima books) See also J. Allen Hynek J. J. Benítez Notes Carlos Paz Wells is Sixto's eldest brother, whom they are usually referred to as Charlie to avoid confusion with their father Carlos Paz García, also a well known Ufologist in their country. References External links Official website Living people 1955 births Pontifical Catholic University of Peru alumni Peruvian male writers UFO writers Ufologists Contactees Spiritual writers
A mudflow, also known as mudslide or mud flow, is a form of mass wasting involving fast-moving flow of debris and dirt that has become liquified by the addition of water. Such flows can move at speeds ranging from 3 meters/minute to 5 meters/second. Mudflows contain a significant proportion of clay, which makes them more fluid than debris flows, allowing them to travel farther and across lower slope angles. Both types of flow are generally mixtures of particles with a wide range of sizes, which typically become sorted by size upon deposition. Mudflows are often called mudslips, a term applied indiscriminately by the mass media to a variety of mass wasting events. Mudflows often start as slides, becoming flows as water is entrained along the flow path; such events are often called mud failures. Other types of mudflows include lahars (involving fine-grained pyroclastic deposits on the flanks of volcanoes) and jökulhlaups (outbursts from under glaciers or icecaps). A statutory definition of "flood-related mudslide" appears in the United States' National Flood Insurance Act of 1968, as amended, codified at 42 USC Sections 4001 and following. Triggering of mudflows Heavy rainfall, snowmelt, or high levels of groundwater flowing through cracked bedrock may trigger a movement of soil or sediments in landslides that continue as mudflows. Floods and debris flows may also occur when strong rains on hill or mountain slopes cause extensive erosion and/or mobilize loose sediment that is located in steep mountain channels. The 2006 Sidoarjo mud flow may have been caused by rogue drilling. The point where a muddy material begins to flow depends on its grain size, the water content, and the slope of the topography. Fine grained material like mud or sand can be mobilized by shallower flows than a coarse sediment or a debris flow. Higher water content (higher precipitation/overland flow) also increases the potential to initiate a mudflow. After a mudflow forms, coarser sediment may be picked up by the flow. Coarser sediment picked up by the flow often forms the front of a mudflow surge and is pushed by finer sediment and water that pools up behind the coarse-grained moving mudflow-front. Mudflows may contain multiple surges of material as the flow scours channels and destabilizes adjacent hillslopes (potentially nucleating new mudflows). Mudflows have mobilized boulders 1–10 m across in mountain settings. Some broad mudflows are rather viscous and therefore slow; others begin very quickly and continue like an avalanche. They are composed of at least 50% silt and clay-sized materials and up to 30% water. Because mudflows mobilize a significant amount of sediment, mudflows have higher flow heights than a clear water flood for the same water discharge. Also, sediment within the mudflow increases granular friction within the flow structure of the flow relative to clear water floods, which raises the flow depth for the same water discharge. Difficulty predicting the amount and type of sediment that will be included in a mudflow makes it much more challenging to forecast and engineer structures to protect against mudflow hazards compared to clear water flood hazards. Mudflows are common even in the hills around Los Angeles, California, where they have destroyed many homes built on hillsides without sufficient support after fires destroy vegetation holding the land. On 14 December 1999 in Vargas, Venezuela, a mudflow known as The Vargas tragedy significantly altered more than 60 kilometers (37 mi) of the coastline. It was triggered by heavy rainfall and caused estimated damages of US$1.79 to US$3.5 billion, killed between 10,000 and 30,000 people, forced 85,000 people to evacuate, and led to the complete collapse of the state's infrastructure. Mudflows and landslides Landslide is a more general term than mudflow. It refers to the gravity-driven failure and subsequent movement downslope of any types of surface movement of soil, rock, or other debris. The term incorporates earth slides, rock falls, flows, and mudslides, amongst other categories of hillslope mass movements. They do not have to be as fluid as a mudflow. Mudflows can be caused by unusually heavy rains or a sudden thaw. They consist mainly of mud and water plus fragments of rock and other debris, so they often behave like floods. They can move houses off their foundations or bury a place within minutes because of incredibly strong currents. Mudflow geography When a mudflow occurs it is given four named areas, the 'main scarp', in bigger mudflows the 'upper and lower shelves' and the 'toe'. The main scarp will be the original area of incidence, the toe is the last affected area(s). The upper and lower shelves are located wherever there is a large dip (due to mountain or natural drop) in the mudflow's path. A mudflow can have many shelves. Largest recorded mudflow The world's largest historic subareal (on land) landslide occurred during the 1980 eruption of Mount St. Helens, a volcano in the Cascade Mountain Range in the State of Washington, US The volume of material displaced was . Directly in the path of the huge mudflow was Spirit Lake. Normally a chilly , the lahar instantly raised the temperature to near . Today the bottom of Spirit Lake is above the original surface, and it has two and a half times more surface area than it did before the eruption. The largest known of all prehistoric landslides was an enormous submarine landslide that disintegrated 60,000 years ago and produced the longest flow of sand and mud yet documented on Earth. The massive submarine flow travelled – the distance from London to Rome. By volume, the largest submarine landslide (the Agulhas slide off South Africa) occurred approximately 2.6 million years ago. The volume of the slide was . Areas at risk The area most generally recognized as being at risk of a dangerous mudflow are: Areas where wildfires or human modification of the land have destroyed vegetation Areas where landslides have occurred before Steep slopes and areas at the bottom of slopes or canyons Slopes that have been altered for construction of buildings and roads Channels along streams and rivers Areas where surface runoff is directed See also Quick clay, also known as Leda clay Osceola Mudflow, occurred on Mt. Rainier's White River drainage. Citations References . On-line publication 30 November 2013. . Draft of , with page numbers. Further reading . External links United States Department of Homeland Security: Facts about Mudflows/Landslides. Weather hazards Geology articles needing expert attention Landslide types Natural disasters
Space Technology Experiments, or STEX, also known as NRO Launch 8 or NROL-8, was an experimental National Reconnaissance Office (NRO) satellite built by Lockheed Martin. It was launched on 3 October 1998. One of the experiments was ATEx (Advanced Tether Experiment), which was deployed on 22 January 1999, and subsequently jettisoned. ATEx The Advanced Tether Experiment (ATEx), was a follow on to the TiPS experiment, designed and built by the Naval Center for Space Technology, flown as one of the experiments on STEX. ATEx had two end masses connected by a polyethylene tether that was intended to deploy to a length of 6 km, and was intended to test a new space tether deployment scheme, new tether material, active control, and survivability. ATEx was deployed on 16 January 1999 and ended 18 minutes later after deploying only 22 m of tether. The jettison was triggered by an automatic protection system designed to save STEX if the tether began to stray from its expected departure angle, which was ultimately caused by excessive slack tether. As a result of the deployment failure, none of the desired ATEx goals were achieved. ATEx is now tracked as a separate object as USA 141 or COSPAR ID 1998-055C. References External links STEX at Gunter's Space Page Spacecraft launched in 1998 Satellites of the United States
```c++ #include "source/extensions/tracers/opentelemetry/span_context_extractor.h" #include "envoy/tracing/tracer.h" #include "source/common/http/header_map_impl.h" #include "source/common/tracing/trace_context_impl.h" #include "source/extensions/tracers/opentelemetry/span_context.h" #include "absl/strings/escaping.h" namespace Envoy { namespace Extensions { namespace Tracers { namespace OpenTelemetry { namespace { // See path_to_url#traceparent-header constexpr int kTraceparentHeaderSize = 55; // 2 + 1 + 32 + 1 + 16 + 1 + 2 constexpr int kVersionHexSize = 2; constexpr int kTraceIdHexSize = 32; constexpr int kParentIdHexSize = 16; constexpr int kTraceFlagsHexSize = 2; bool isValidHex(const absl::string_view& input) { return std::all_of(input.begin(), input.end(), [](const char& c) { return absl::ascii_isxdigit(c); }); } bool isAllZeros(const absl::string_view& input) { return std::all_of(input.begin(), input.end(), [](const char& c) { return c == '0'; }); } } // namespace SpanContextExtractor::SpanContextExtractor(Tracing::TraceContext& trace_context) : trace_context_(trace_context) {} SpanContextExtractor::~SpanContextExtractor() = default; bool SpanContextExtractor::propagationHeaderPresent() { auto propagation_header = OpenTelemetryConstants::get().TRACE_PARENT.get(trace_context_); return propagation_header.has_value(); } absl::StatusOr<SpanContext> SpanContextExtractor::extractSpanContext() { auto propagation_header = OpenTelemetryConstants::get().TRACE_PARENT.get(trace_context_); if (!propagation_header.has_value()) { // We should have already caught this, but just in case. return absl::InvalidArgumentError("No propagation header found"); } auto header_value_string = propagation_header.value(); if (header_value_string.size() != kTraceparentHeaderSize) { return absl::InvalidArgumentError("Invalid traceparent header length"); } // Try to split it into its component parts: std::vector<absl::string_view> propagation_header_components = absl::StrSplit(header_value_string, '-', absl::SkipEmpty()); if (propagation_header_components.size() != 4) { return absl::InvalidArgumentError("Invalid traceparent hyphenation"); } absl::string_view version = propagation_header_components[0]; absl::string_view trace_id = propagation_header_components[1]; absl::string_view parent_id = propagation_header_components[2]; absl::string_view trace_flags = propagation_header_components[3]; if (version.size() != kVersionHexSize || trace_id.size() != kTraceIdHexSize || parent_id.size() != kParentIdHexSize || trace_flags.size() != kTraceFlagsHexSize) { return absl::InvalidArgumentError("Invalid traceparent field sizes"); } if (!isValidHex(version) || !isValidHex(trace_id) || !isValidHex(parent_id) || !isValidHex(trace_flags)) { return absl::InvalidArgumentError("Invalid header hex"); } // As per the traceparent header definition, if the trace-id or parent-id are all zeros, they are // invalid and must be ignored. if (isAllZeros(trace_id)) { return absl::InvalidArgumentError("Invalid trace id"); } if (isAllZeros(parent_id)) { return absl::InvalidArgumentError("Invalid parent id"); } // Set whether or not the span is sampled from the trace flags. // See path_to_url#trace-flags. char decoded_trace_flags = absl::HexStringToBytes(trace_flags).front(); bool sampled = (decoded_trace_flags & 1); // If a tracestate header is received without an accompanying traceparent header, // it is invalid and MUST be discarded. Because we're already checking for the // traceparent header above, we don't need to check here. // See path_to_url#processing-model-for-working-with-trace-context absl::string_view tracestate_key = OpenTelemetryConstants::get().TRACE_STATE.key(); std::vector<std::string> tracestate_values; // Multiple tracestate header fields MUST be handled as specified by RFC7230 Section 3.2.2 Field // Order. trace_context_.forEach( [&tracestate_key, &tracestate_values](absl::string_view key, absl::string_view value) { if (key == tracestate_key) { tracestate_values.push_back(std::string{value}); } return true; }); std::string tracestate = absl::StrJoin(tracestate_values, ","); SpanContext span_context(version, trace_id, parent_id, sampled, tracestate); return span_context; } } // namespace OpenTelemetry } // namespace Tracers } // namespace Extensions } // namespace Envoy ```
```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 testsuite.clusterj.tie; public class VarcharStringLengthTest extends testsuite.clusterj.VarcharStringLengthTest { } ```
The paper mulberry (Broussonetia papyrifera, syn. Morus papyrifera L.) is a species of flowering plant in the family Moraceae. It is native to Asia, where its range includes Taiwan, China, Japan, Korea, Southeast Asia, Myanmar, and India. It is widely cultivated elsewhere and it grows as an introduced species in parts of Europe, the United States, and Africa. Other common names include tapa cloth tree. Origin Paper mulberry was used among ancient Austronesians in making barkcloth. It originates from subtropical regions in mainland Asia and is one of the best examples for the mainstream "Out of Taiwan" hypothesis of the Austronesian expansion. Various genetic studies have traced the origins of paper mulberry populations in the Remote Pacific all the way to Taiwan via New Guinea and Sulawesi. In the Philippines, which was along the expansion path, paper mulberries are mostly descendants of modern introductions in 1935. Ancient introductions of paper mulberry presumably went extinct in prehistory due to their replacement with hand-woven fabrics, given that paper mulberry generally only survives under human cultivation. However, its absence in the Philippines further underlines its origins in Taiwan, and not within island Southeast Asia. Additionally, paper mulberry populations in New Guinea also show genetic inflow from another expansion out of Indochina and South China. It is believed to be the most widely transported fiber crop in prehistory, having been transported along with the full range of the Austronesian expansion, as opposed to most of the other commensal crops in Oceania. Paper mulberry is present in almost every island or island group in Polynesia, including Rapa Nui and Aotearoa. Some populations have gone recently extinct after they stopped being cultivated, such as in the Cook Islands and Mangareva, although accounts and prepared barkcloth and herbarium specimens of them exist in museum collections gathered by Europeans during the colonial era. They were spread by Polynesians primarily through vegetative propagation with cuttings and root shoots. They were rarely cultivated from seeds, as most plants were harvested prior to flowering, when the stems reach around in diameter, as described by 18th-century European accounts. If the feral plants reproduced sexually is unknown, as the plants are dioecious and require both male and female specimens to be present in one island. The tree was introduced to New Zealand by early Māori settlers (oral histories mention the Ōtūrereao, Tainui and Aotea canoes as being sources). The tree was commonly seen during the voyages of James Cook in the 1770s, however the tree likely became extinct by the 1840s, due to reduced cultivation and predation by pigs and cattle who fed on the tree. It was reintroduced to New Zealand from Japanese plants during European colonisation. Description This species is a deciduous shrub or tree usually growing tall, but known to reach at times. The leaves are variable in shape, even on one individual. The blades may be lobed or unlobed, but they usually have toothed edges, lightly hairy, pale undersides, and a rough texture. They are up to about long. The species has male and female flowers on separate plants. The staminate inflorescence is a catkin up to long with fuzzy male flowers. The pistillate inflorescence is a spherical head up to about wide with greenish female flowers trailing long styles. The infructescence is a spherical cluster wide containing many red or orange fruits. Each individual protruding fruit in the cluster is a drupe. Uses This plant has been cultivated in Asia and some Pacific Islands for many centuries for food, fiber, and medicine. Barkcloth Paper mulberry is primarily used in the Pacific Islands to make barkcloth (tapa in most Polynesian languages). Barkcloth can also be made from other members of the mulberry family (Moraceae), including Ficus (figs) and Artocarpus. Barkcloth was also occasionally made from Pipturus nettles, especially in Hawaii. However, the highest quality of barkcloth was from paper mulberry. Barkcloth was mainly used for clothing among ancient Austronesians and is traditionally made using characteristic stone or wooden beaters, which are among the most common artifacts found in Austronesian archaeological sites. Numerous archaeological remains of barkcloth beaters in southern China have been regarded as evidence that the pre-Taiwan Austronesian homelands were located in the region prior to the southward expansion of the Han Dynasty, particularly around the Pearl River Delta. The oldest such remains are from the Dingmo Site in Guangxi, dated to around 7,900 BP. Barkcloth remained an important source of clothing fabrics in pre-colonial Melanesia, Polynesia, and parts of Indonesia. However, it has been mostly replaced by woven fiber clothing in most of Island Southeast Asia and Micronesia. It is still worn ceremonially in parts of Polynesia and Melanesia. It is also used to make bags and bedding. Although numerous names are used for paper mulberry throughout Austronesia, none are cognates, thus a Proto-Oceanic term cannot be reconstructed. In most of Polynesia, the term for barkcloth can be reconstructed from Proto-Nuclear-Polynesian *taba, meaning "bark", with cognates including Wayan taba; Tongan, Samoan, Mangareva, and Rarotongan tapa; and Hawaiian kapa. Other terms widely used for barkcloth and paper mulberry are derived from the Proto-Polynesian reconstructed word *siapo, with cognates including Niue, Tongan, and Marquesan hiapo; and Samoan and East Futunan siapo. The term for barkcloth beater, however, can be reconstructed more extensively back to Proto-Malayo-Polynesian *ikay, with cognates including Uma ike; Sa'a iki; Bauan, Tongan, and East Futunan ike; and Samoan and Hawaiian iʻe. In New Zealand, traditional Polynesian methods for producing barkcloth (aute) were retained by early settlers, despite the tree not growing as large in temperate New Zealand. Presumably the tree was used by early Māori for cloth, however by the 1770s, the primary use was to create a soft, white cloth used for fillets or in ear piercings by high-status men. Barkcloth textiles disappeared from use in the early 19th century, coinciding with the tree's disappearance from New Zealand. Paper It is a significant fiber crop in the history of paper. It was used for papermaking in China starting some time between the 2nd and 8th century. Washi, a Japanese handcrafted paper, is made with the inner bark, which is pounded and mixed with water to produce a paste, which is dried into sheets. It is also used to make hanji, a Korean paper. Other uses The wood of the plant is useful for making furniture and utensils, and the roots can be used as rope. The fruit and cooked leaves are edible. The fruit, leaves, and bark have been used in systems of traditional medicine. For example, the bark and fruit of the species, known locally as jangli toot, are used as a laxative and antipyretic in rural Pakistan. The species is used as an ornamental plant. It tolerates disturbance and air pollution, so it has been useful as a landscaping plant on roadsides. It is a pioneer species that easily fills forest clearings, and it has been considered for reforestation efforts. It grows well in many climate types. Invasive weed The ability of the plant to readily colonize available habitat, particularly disturbed areas, has helped it become an invasive species in some regions. It spreads rapidly when male and female individuals grow together and seeds are produced. Seed dispersal is accomplished by animals that eat the fruits, and the plants can form wide, dense stands via their spreading root systems. This is considered to be one of the worst weeds in Pakistan, one of the most significant invasive plants on the Pampas in Argentina, and a dominant invasive in the forests of Uganda. The pollen is allergenic. It is reportedly a main culprit of inhalant allergy in Islamabad, where the species is a very common urban weed. The pollen allergy and asthma caused by this plant sends thousands of patients to hospitals in Islamabad during March. The species should not be taken to other areas without due consideration of the potential of male plants to shed their injurious pollen. Gallery See also Domesticated plants and animals of Austronesia References External links Moraceae Plants described in 1753 Fiber plants Medicinal plants of Asia Flora of tropical Asia Flora of China Flora of Eastern Asia Papermaking Dioecious plants
```xml import $ from 'jquery'; import {GET} from '../modules/fetch.ts'; import {hideElem, loadElem, queryElemChildren, queryElems} from '../utils/dom.ts'; import {parseDom} from '../utils.ts'; function getDefaultSvgBoundsIfUndefined(text, src) { const defaultSize = 300; const maxSize = 99999; const svgDoc = parseDom(text, 'image/svg+xml'); const svg = svgDoc.documentElement; const width = svg?.width?.baseVal; const height = svg?.height?.baseVal; if (width === undefined || height === undefined) { return null; // in case some svg is invalid or doesn't have the width/height } if (width.unitType === SVGLength.SVG_LENGTHTYPE_PERCENTAGE || height.unitType === SVGLength.SVG_LENGTHTYPE_PERCENTAGE) { const img = new Image(); img.src = src; if (img.width > 1 && img.width < maxSize && img.height > 1 && img.height < maxSize) { return { width: img.width, height: img.height, }; } if (svg.hasAttribute('viewBox')) { const viewBox = svg.viewBox.baseVal; return { width: defaultSize, height: defaultSize * viewBox.width / viewBox.height, }; } return { width: defaultSize, height: defaultSize, }; } return null; } function createContext(imageAfter, imageBefore) { const sizeAfter = { width: imageAfter?.width || 0, height: imageAfter?.height || 0, }; const sizeBefore = { width: imageBefore?.width || 0, height: imageBefore?.height || 0, }; const maxSize = { width: Math.max(sizeBefore.width, sizeAfter.width), height: Math.max(sizeBefore.height, sizeAfter.height), }; return { imageAfter, imageBefore, sizeAfter, sizeBefore, maxSize, ratio: [ Math.floor(maxSize.width - sizeAfter.width) / 2, Math.floor(maxSize.height - sizeAfter.height) / 2, Math.floor(maxSize.width - sizeBefore.width) / 2, Math.floor(maxSize.height - sizeBefore.height) / 2, ], }; } class ImageDiff { async init(containerEl) { this.containerEl = containerEl; containerEl.setAttribute('data-image-diff-loaded', 'true'); // the only jQuery usage in this file $(containerEl).find('.ui.menu.tabular .item').tab({autoTabActivation: false}); // the container may be hidden by "viewed" checkbox, so use the parent's width for reference this.diffContainerWidth = Math.max(containerEl.closest('.diff-file-box').clientWidth - 300, 100); const imageInfos = [{ path: containerEl.getAttribute('data-path-after'), mime: containerEl.getAttribute('data-mime-after'), images: containerEl.querySelectorAll('img.image-after'), // matches 3 <img> boundsInfo: containerEl.querySelector('.bounds-info-after'), }, { path: containerEl.getAttribute('data-path-before'), mime: containerEl.getAttribute('data-mime-before'), images: containerEl.querySelectorAll('img.image-before'), // matches 3 <img> boundsInfo: containerEl.querySelector('.bounds-info-before'), }]; await Promise.all(imageInfos.map(async (info) => { const [success] = await Promise.all(Array.from(info.images, (img) => { return loadElem(img, info.path); })); // only the first images is associated with boundsInfo if (!success && info.boundsInfo) info.boundsInfo.textContent = '(image error)'; if (info.mime === 'image/svg+xml') { const resp = await GET(info.path); const text = await resp.text(); const bounds = getDefaultSvgBoundsIfUndefined(text, info.path); if (bounds) { for (const el of info.images) { el.setAttribute('width', bounds.width); el.setAttribute('height', bounds.height); } hideElem(info.boundsInfo); } } })); const imagesAfter = imageInfos[0].images; const imagesBefore = imageInfos[1].images; this.initSideBySide(createContext(imagesAfter[0], imagesBefore[0])); if (imagesAfter.length > 0 && imagesBefore.length > 0) { this.initSwipe(createContext(imagesAfter[1], imagesBefore[1])); this.initOverlay(createContext(imagesAfter[2], imagesBefore[2])); } queryElemChildren(containerEl, '.image-diff-tabs', (el) => el.classList.remove('is-loading')); } initSideBySide(sizes) { let factor = 1; if (sizes.maxSize.width > (this.diffContainerWidth - 24) / 2) { factor = (this.diffContainerWidth - 24) / 2 / sizes.maxSize.width; } const widthChanged = sizes.imageAfter && sizes.imageBefore && sizes.imageAfter.naturalWidth !== sizes.imageBefore.naturalWidth; const heightChanged = sizes.imageAfter && sizes.imageBefore && sizes.imageAfter.naturalHeight !== sizes.imageBefore.naturalHeight; if (sizes.imageAfter) { const boundsInfoAfterWidth = this.containerEl.querySelector('.bounds-info-after .bounds-info-width'); if (boundsInfoAfterWidth) { boundsInfoAfterWidth.textContent = `${sizes.imageAfter.naturalWidth}px`; boundsInfoAfterWidth.classList.toggle('green', widthChanged); } const boundsInfoAfterHeight = this.containerEl.querySelector('.bounds-info-after .bounds-info-height'); if (boundsInfoAfterHeight) { boundsInfoAfterHeight.textContent = `${sizes.imageAfter.naturalHeight}px`; boundsInfoAfterHeight.classList.toggle('green', heightChanged); } } if (sizes.imageBefore) { const boundsInfoBeforeWidth = this.containerEl.querySelector('.bounds-info-before .bounds-info-width'); if (boundsInfoBeforeWidth) { boundsInfoBeforeWidth.textContent = `${sizes.imageBefore.naturalWidth}px`; boundsInfoBeforeWidth.classList.toggle('red', widthChanged); } const boundsInfoBeforeHeight = this.containerEl.querySelector('.bounds-info-before .bounds-info-height'); if (boundsInfoBeforeHeight) { boundsInfoBeforeHeight.textContent = `${sizes.imageBefore.naturalHeight}px`; boundsInfoBeforeHeight.classList.add('red', heightChanged); } } if (sizes.imageAfter) { const container = sizes.imageAfter.parentNode; sizes.imageAfter.style.width = `${sizes.sizeAfter.width * factor}px`; sizes.imageAfter.style.height = `${sizes.sizeAfter.height * factor}px`; container.style.margin = '10px auto'; container.style.width = `${sizes.sizeAfter.width * factor + 2}px`; container.style.height = `${sizes.sizeAfter.height * factor + 2}px`; } if (sizes.imageBefore) { const container = sizes.imageBefore.parentNode; sizes.imageBefore.style.width = `${sizes.sizeBefore.width * factor}px`; sizes.imageBefore.style.height = `${sizes.sizeBefore.height * factor}px`; container.style.margin = '10px auto'; container.style.width = `${sizes.sizeBefore.width * factor + 2}px`; container.style.height = `${sizes.sizeBefore.height * factor + 2}px`; } } initSwipe(sizes) { let factor = 1; if (sizes.maxSize.width > this.diffContainerWidth - 12) { factor = (this.diffContainerWidth - 12) / sizes.maxSize.width; } if (sizes.imageAfter) { const imgParent = sizes.imageAfter.parentNode; const swipeFrame = imgParent.parentNode; sizes.imageAfter.style.width = `${sizes.sizeAfter.width * factor}px`; sizes.imageAfter.style.height = `${sizes.sizeAfter.height * factor}px`; imgParent.style.margin = `0px ${sizes.ratio[0] * factor}px`; imgParent.style.width = `${sizes.sizeAfter.width * factor + 2}px`; imgParent.style.height = `${sizes.sizeAfter.height * factor + 2}px`; swipeFrame.style.padding = `${sizes.ratio[1] * factor}px 0 0 0`; swipeFrame.style.width = `${sizes.maxSize.width * factor + 2}px`; } if (sizes.imageBefore) { const imgParent = sizes.imageBefore.parentNode; const swipeFrame = imgParent.parentNode; sizes.imageBefore.style.width = `${sizes.sizeBefore.width * factor}px`; sizes.imageBefore.style.height = `${sizes.sizeBefore.height * factor}px`; imgParent.style.margin = `${sizes.ratio[3] * factor}px ${sizes.ratio[2] * factor}px`; imgParent.style.width = `${sizes.sizeBefore.width * factor + 2}px`; imgParent.style.height = `${sizes.sizeBefore.height * factor + 2}px`; swipeFrame.style.width = `${sizes.maxSize.width * factor + 2}px`; swipeFrame.style.height = `${sizes.maxSize.height * factor + 2}px`; } // extra height for inner "position: absolute" elements const swipe = this.containerEl.querySelector('.diff-swipe'); if (swipe) { swipe.style.width = `${sizes.maxSize.width * factor + 2}px`; swipe.style.height = `${sizes.maxSize.height * factor + 30}px`; } this.containerEl.querySelector('.swipe-bar').addEventListener('mousedown', (e) => { e.preventDefault(); this.initSwipeEventListeners(e.currentTarget); }); } initSwipeEventListeners(swipeBar) { const swipeFrame = swipeBar.parentNode; const width = swipeFrame.clientWidth; const onSwipeMouseMove = (e) => { e.preventDefault(); const rect = swipeFrame.getBoundingClientRect(); const value = Math.max(0, Math.min(e.clientX - rect.left, width)); swipeBar.style.left = `${value}px`; this.containerEl.querySelector('.swipe-container').style.width = `${swipeFrame.clientWidth - value}px`; }; const removeEventListeners = () => { document.removeEventListener('mousemove', onSwipeMouseMove); document.removeEventListener('mouseup', removeEventListeners); }; document.addEventListener('mousemove', onSwipeMouseMove); document.addEventListener('mouseup', removeEventListeners); } initOverlay(sizes) { let factor = 1; if (sizes.maxSize.width > this.diffContainerWidth - 12) { factor = (this.diffContainerWidth - 12) / sizes.maxSize.width; } if (sizes.imageAfter) { const container = sizes.imageAfter.parentNode; sizes.imageAfter.style.width = `${sizes.sizeAfter.width * factor}px`; sizes.imageAfter.style.height = `${sizes.sizeAfter.height * factor}px`; container.style.margin = `${sizes.ratio[1] * factor}px ${sizes.ratio[0] * factor}px`; container.style.width = `${sizes.sizeAfter.width * factor + 2}px`; container.style.height = `${sizes.sizeAfter.height * factor + 2}px`; } if (sizes.imageBefore) { const container = sizes.imageBefore.parentNode; const overlayFrame = container.parentNode; sizes.imageBefore.style.width = `${sizes.sizeBefore.width * factor}px`; sizes.imageBefore.style.height = `${sizes.sizeBefore.height * factor}px`; container.style.margin = `${sizes.ratio[3] * factor}px ${sizes.ratio[2] * factor}px`; container.style.width = `${sizes.sizeBefore.width * factor + 2}px`; container.style.height = `${sizes.sizeBefore.height * factor + 2}px`; // some inner elements are `position: absolute`, so the container's height must be large enough overlayFrame.style.width = `${sizes.maxSize.width * factor + 2}px`; overlayFrame.style.height = `${sizes.maxSize.height * factor + 2}px`; } const rangeInput = this.containerEl.querySelector('input[type="range"]'); function updateOpacity() { if (sizes.imageAfter) { sizes.imageAfter.parentNode.style.opacity = `${rangeInput.value / 100}`; } } rangeInput?.addEventListener('input', updateOpacity); updateOpacity(); } } export function initImageDiff() { for (const el of queryElems('.image-diff:not([data-image-diff-loaded])')) { (new ImageDiff()).init(el); // it is async, but we don't need to await for it } } ```
Western Avenue is a major four-lane street in the city of Los Angeles (west of Downtown) and through the center portion of Los Angeles County, California. It is one of the longest north–south streets in Los Angeles city and county, apart from Sepulveda Boulevard. It is about long. Description Western Avenue passes through a large diversity of residential neighborhoods in Los Angeles County. From the south, where it transitions into Paseo Del Mar near White Point and the Pacific Ocean, it begins in San Pedro, then passes through Rancho Palos Verdes, Harbor City, Gardena and South Los Angeles. It is also the easternmost border of Torrance. Around the Pico Boulevard, Olympic Boulevard, and Wilshire Boulevard intersections, Western Avenue passes through Koreatown. Further north, Western Avenue passes through the East Hollywood district. Around the Santa Monica Boulevard, Sunset Boulevard, and Hollywood Boulevard intersections, it passes through the East Hollywood neighborhoods of Little Armenia and Thai Town. The northern terminus of Western is north of Franklin Avenue in the Los Feliz district, at the base of the Hollywood Hills. The road curves east becoming Los Feliz Boulevard, a major east/west thoroughfare through Los Feliz to the Golden State Freeway and from there into the city of Glendale. Another Western Avenue begins north of Griffith Park and is located in the San Fernando Valley area of Glendale. Its southwest terminus is nearly due north of where Los Angeles' Western Avenue transitions into Los Feliz Boulevard. California State Route 213 is designated as the portion of Western Avenue from Interstate 405 to 25th Street, in San Pedro. California State Route 258 is designated as the portion of Western Avenue from Interstate 405 to the Hollywood Freeway US 101. History The street derives its name from its history as the westernmost border of Los Angeles city limits in the 19th century, before annexations in the early 20th century expanded the city westward and onwards. In 1923, Alejandro Borquez opened the Sonora Cafe on Western. The café, which in 1927 changed its name to El Cholo Spanish Cafe, is credited with the invention of the burrito. Public transit Metro subway and at-grade stations Western Avenue is served by three Los Angeles Metro Rail stations: Hollywood Boulevard on the B Line Wilshire Boulevard on the D Line Exposition Boulevard on the E Line Metro Local Metro Local lines 205 and 207, and Gardena Transit line 2 operate on Western Avenue. Metro local line 207 runs between Hollywood Boulevard and Imperial Highway. Gardena Line 2 runs between Imperial Highway and Pacific Coast Highway Metro line 205 runs between Pacific Coast Highway and 1st Street in San Pedro. References External links YouTube: Western Avenue (Melrose to Pico) Los Angeles Western Ave (Los Angeles) (Daytime, April 2020) Western Ave (Los Angeles) (Nighttime, November 2020) Streets in Los Angeles Streets in Los Angeles County, California Central Los Angeles East Hollywood, Los Angeles Lomita, California South Los Angeles Red-light districts in California
```xml <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> <TargetFramework>net$(BundledNETCoreAppTargetFrameworkVersion)</TargetFramework> <ImplicitUsings>enable</ImplicitUsings> <Nullable>enable</Nullable> <LangVersion>latest</LangVersion> <EnableDefaultItems>false</EnableDefaultItems> <AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath> </PropertyGroup> <ItemGroup> <Compile Include="testgenerator.cs" /> </ItemGroup> </Project> ```
Deroplatys desiccata, known by the common name giant dead leaf mantis, is a praying mantis from Southeast Asia. This is the type species of genus Deroplatys. Description D. desiccata takes its common name from its resemblance to dead, leafy vegetation including having a flattened, greatly extended thorax and "intricate leaf patterns" on its wings. This insect varies in color from mottled brown through "pale orangey brown" to a very dark brown that is almost black. This creature's camouflage is aided by its movements as well as its appearance. When disturbed, it rocks gently as if caught in the breeze. When threatened, it typically falls to the ground and lies motionless. It can also react with a threatening display consisting of "black underwings splayed out, with large eyespots, frightening away unsuspecting predators." The intricate lines on the mantis' body, which serve to look like the natural veins on a leaf, as well as its dark brown colors, are beneficial to the species as it has been shown to avoid the attention of aerial predators or other insects. As its common name indicates, D. desiccata is larger than other species of dead leaf mantis. Females grow to 75–80 mm long. Displaying the sexual dimorphism typical of mantises, males grow only 65–70 mm long and are substantially smaller and lighter than females. Females' prothorax shields end in a sharp pointed curve on each side while the males have a rounder shape. According to one source, males tend to be more "yellowish" than the darker females. Range D. desiccata inhabits scrubland and tropical forests of Borneo, Indonesia, Malaysia, Sumatra and the Philippines. See also Dead leaf mantis References External links Desiccata Mantodea of Southeast Asia Insects of Indonesia Insects of Malaysia Invertebrates of Borneo Fauna of Sumatra Insects described in 1935 Taxa named by John O. Westwood
Tim Fahrenholz (born 22 March 1994) is a German footballer who plays as a midfielder for FC Astoria Walldorf. References External links 1994 births Living people German men's footballers 1. FSV Mainz 05 II players Karlsruher SC players Karlsruher SC II players FC Astoria Walldorf players Men's association football midfielders 3. Liga players 2. Bundesliga players Regionalliga players Oberliga (football) players Footballers from Darmstadt
```objective-c // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_PROTOTYPE_H_ #define V8_PROTOTYPE_H_ #include "src/isolate.h" #include "src/objects.h" namespace v8 { namespace internal { /** * A class to uniformly access the prototype of any Object and walk its * prototype chain. * * The PrototypeIterator can either start at the prototype (default), or * include the receiver itself. If a PrototypeIterator is constructed for a * Map, it will always start at the prototype. * * The PrototypeIterator can either run to the null_value(), the first * non-hidden prototype, or a given object. */ class PrototypeIterator { public: enum WhereToEnd { END_AT_NULL, END_AT_NON_HIDDEN }; const int kProxyPrototypeLimit = 100 * 1000; PrototypeIterator(Isolate* isolate, Handle<JSReceiver> receiver, WhereToStart where_to_start = kStartAtPrototype, WhereToEnd where_to_end = END_AT_NULL) : isolate_(isolate), object_(NULL), handle_(receiver), where_to_end_(where_to_end), is_at_end_(false), seen_proxies_(0) { CHECK(!handle_.is_null()); if (where_to_start == kStartAtPrototype) Advance(); } PrototypeIterator(Isolate* isolate, JSReceiver* receiver, WhereToStart where_to_start = kStartAtPrototype, WhereToEnd where_to_end = END_AT_NULL) : isolate_(isolate), object_(receiver), where_to_end_(where_to_end), is_at_end_(false), seen_proxies_(0) { if (where_to_start == kStartAtPrototype) Advance(); } explicit PrototypeIterator(Map* receiver_map, WhereToEnd where_to_end = END_AT_NULL) : isolate_(receiver_map->GetIsolate()), object_(receiver_map->GetPrototypeChainRootMap(isolate_)->prototype()), where_to_end_(where_to_end), is_at_end_(object_->IsNull(isolate_)), seen_proxies_(0) { if (!is_at_end_ && where_to_end_ == END_AT_NON_HIDDEN) { DCHECK(object_->IsJSReceiver()); Map* map = JSReceiver::cast(object_)->map(); is_at_end_ = !map->has_hidden_prototype(); } } explicit PrototypeIterator(Handle<Map> receiver_map, WhereToEnd where_to_end = END_AT_NULL) : isolate_(receiver_map->GetIsolate()), object_(NULL), handle_(receiver_map->GetPrototypeChainRootMap(isolate_)->prototype(), isolate_), where_to_end_(where_to_end), is_at_end_(handle_->IsNull(isolate_)), seen_proxies_(0) { if (!is_at_end_ && where_to_end_ == END_AT_NON_HIDDEN) { DCHECK(handle_->IsJSReceiver()); Map* map = JSReceiver::cast(*handle_)->map(); is_at_end_ = !map->has_hidden_prototype(); } } ~PrototypeIterator() {} bool HasAccess() const { // We can only perform access check in the handlified version of the // PrototypeIterator. DCHECK(!handle_.is_null()); if (handle_->IsAccessCheckNeeded()) { return isolate_->MayAccess(handle(isolate_->context()), Handle<JSObject>::cast(handle_)); } return true; } template <typename T = Object> T* GetCurrent() const { DCHECK(handle_.is_null()); return T::cast(object_); } template <typename T = Object> static Handle<T> GetCurrent(const PrototypeIterator& iterator) { DCHECK(!iterator.handle_.is_null()); DCHECK(iterator.object_ == NULL); return Handle<T>::cast(iterator.handle_); } void Advance() { if (handle_.is_null() && object_->IsJSProxy()) { is_at_end_ = true; object_ = isolate_->heap()->null_value(); return; } else if (!handle_.is_null() && handle_->IsJSProxy()) { is_at_end_ = true; handle_ = isolate_->factory()->null_value(); return; } AdvanceIgnoringProxies(); } void AdvanceIgnoringProxies() { Object* object = handle_.is_null() ? object_ : *handle_; Map* map = HeapObject::cast(object)->map(); Object* prototype = map->prototype(); is_at_end_ = where_to_end_ == END_AT_NON_HIDDEN ? !map->has_hidden_prototype() : prototype->IsNull(isolate_); if (handle_.is_null()) { object_ = prototype; } else { handle_ = handle(prototype, isolate_); } } // Returns false iff a call to JSProxy::GetPrototype throws. // TODO(neis): This should probably replace Advance(). MUST_USE_RESULT bool AdvanceFollowingProxies() { DCHECK(!(handle_.is_null() && object_->IsJSProxy())); if (!HasAccess()) { // Abort the lookup if we do not have access to the current object. handle_ = isolate_->factory()->null_value(); is_at_end_ = true; return true; } return AdvanceFollowingProxiesIgnoringAccessChecks(); } MUST_USE_RESULT bool AdvanceFollowingProxiesIgnoringAccessChecks() { if (handle_.is_null() || !handle_->IsJSProxy()) { AdvanceIgnoringProxies(); return true; } // Due to possible __proto__ recursion limit the number of Proxies // we visit to an arbitrarily chosen large number. seen_proxies_++; if (seen_proxies_ > kProxyPrototypeLimit) { isolate_->StackOverflow(); return false; } MaybeHandle<Object> proto = JSProxy::GetPrototype(Handle<JSProxy>::cast(handle_)); if (!proto.ToHandle(&handle_)) return false; is_at_end_ = where_to_end_ == END_AT_NON_HIDDEN || handle_->IsNull(isolate_); return true; } bool IsAtEnd() const { return is_at_end_; } private: Isolate* isolate_; Object* object_; Handle<Object> handle_; WhereToEnd where_to_end_; bool is_at_end_; int seen_proxies_; DISALLOW_COPY_AND_ASSIGN(PrototypeIterator); }; } // namespace internal } // namespace v8 #endif // V8_PROTOTYPE_H_ ```
```shell How to unstage a staged file Adding a remote repository What is stored in a commit? Search for commits by author `master` and `origin` aren't special ```
Sangli () is a Metro city and the headquarters of Sangli District in Maharashtra, in western India. It is known as the Turmeric City of Maharashtra due to its production and trade of spice. Sangli is situated on the banks of river Krishna and houses many sugar factories. Sangli is a significant city in Western India, 376 km from Mumbai, 233 km from Pune, 47 km from Kolhapur, and 638 km from Bangalore. Sangli is known for its turmeric trade, grapes and the most significant number of sugar factories in India. The only district has more than 30 sugar factories. Sangli Miraj Kupwad, along with its Urban Agglomeration, together known as Sangli Miraj Kupwad Metropolitan Region (SMKMR). Sangli UA/Metropolitan is one of the biggest cities in Maharashtra and the 93rd biggest in India. Sangli UA/Metropolitan Region has developed itself as a modern city with broader roads, major railway junctions, Malls & Multiplexes, hotels with multi-cuisine and excellent education facilities. The city has a significant healthcare hub, including its twin City Miraj. Sangli-Miraj combined has more than 900+ Hospitals and Clinics, making it one of India's largest emerging medical hubs and an emerging international hub for patients from Oman, Sweden, Canada, Yemen, and Kuwait. It is also a significant city with telecommunication and entertainment facilities. A Software Technology Park is being set up in a prime location in the city. Nearby towns like Ichalkaranji and Jaysingpur are now emerging as Satellite cities to Sangli UA/Metropolitan Area. Sangli has the largest sugar factory in Asia and most number of sugar factories in India as well. Krishna Valley Wine Park is another leading wine park in India. Sangli is the world's leading Global hub for Turmeric Trade. Sangli is also known as the Chess City of India. Now, Sangli City is emerging as the yellow city of India. Transportation Sangli Railway Station and Miraj Junction are two important railway hubs in Sangli City. Many long-route trains are halted here. Sangli city is directly connected to important cities like Mumbai, Pune, Kolhapur, Bangalore, Mangalore, Madgaon, Cochi, Mysuru, Delhi, Ajmer, Jodhpur, Ahmedabad, Gandhidham, Udaipur, Belgavi, Hubali, Shri Ganganagar by direct trains. MSRTC have a Divisional office at Sangli and bus depots and terminals at Sangli and Miraj in city limits. Direct buses connect Pune, Mumbai, Solapur, Kolhapur, Pandharpur, Akkalkot, Parbhani, Nanded, Latur, Shegaon, Beed, Chatrapati Sambhaji Nagar, Ahmednagar, Panjim, Ratnagiri, Satara, Nashik, Hyderabad and many more cities in Maharashtra and Karnataka. MSRTC runs Shivshahi A/C seater, Non A/C sleeper coach and ordinary buses from Sangli and Miraj Depots. The State Government of Maharashtra approve to build Airport near Kavalapur for the Sangli Metropolitan area. Within metropolitan limits, the city bus of MSRTC is the best medium used by people; also, auto rickshaws, private cars and two-wheelers are used by many peoples. Other than MSRTC, many personal travels like Balaji, Shreenath, VRL, NTN, Datta Krupa, Konduskar, Ashoka, M.B.Link, Vaibhav, Shreyash, Sanjay, Sai Krupa, Deepakraj, Saini, Sharma play A/C and non A/C sleeper coach and seater buses to Ahmedabad, Surat, Mumbai, Pune, Coimbatore, Salem, Chennai, Hyderabad, Panjim, Nagpur, Latur, Solapur, Bangalore and other cities. Geography Sangli City is situated on the bank of the Krishna River, the valley and tributaries offer many irrigation and agricultural advantages that drive the economy of the district and the city. Other small rivers, such as the Warana River and the Panchganga, flow into the Krishna River. History The region, known as Kundal (now a tiny village 40 km away from Sangli city) in medieval India, was the capital of the Chalukya Empire in the 12th century AD. During the time of Chhatrapati Shivaji Maharaj, Sangli, Miraj and surrounding areas were captured from the Mughal Empire. Until 1801, Sangli was included in Miraj Jahangir. Sangli separated from Miraj in 1801, following a family quarrel between Chintamanrao Patwardhan and his paternal uncle, Gangadharrao Patwardhan, who had succeeded his childless elder brother as the sixth chief of Miraj in 1782. Sangli is notable for the Brindavana (tomb) of Satyavrata Tirtha, a saint of the Dvaita Order of Vedanta and Peetadipathi of Uttaradi Math who took Samadhi in Sangli in the year 1638. Sangli is well known as Natya Pandhari (Capital of Marathi Dramas). Miraj is well known in the world as the capital of musical instruments. Many musical instruments are exported from Miraj. Etymology The city's original name was Sahagalli—from the Marathi words Saha ("six") and Galli ("lanes") describing the early street plan—which was later shortened to Sangli. Culture Food Bhadang also known as flavoured rice puff, from sangli is world famous and are exported in US, UK, Canada, And Southeast Asia. Bharala Wangi also known as stuffed brinjal with bhakri is most famous food from sangli. Educational institutes Education institutions in the area, aside from schools, include: Government Medical College And Hospital, Miraj, City Highschool Sangli Hi.Ha.Raje. Patwardhan Highschool Sangli Walchand College of Engineering, RIT College Sakhrale, Islampur, Padmabhooshan Vasantraodada Patil Institute of Technology, Kbp College, Annasaheb Dange College of Engineering & Technology, Government Medical College, Miraj, Willingdon College of Arts & Science at Vishrambaug, Prakash Institute of Medical Science and Research, Islampur, Sangli, Bharati Vidyapeeth Deemed University Medical College and Hospital, a college constituting under Bharati Vidyapeeth, Sangli, Miraj, Appasaheb Birnale College of Architecture, South Shivaji Nagar, Nav Krishna Valley School in Miraj, Podar International School, St.Alphonsa School in Miraj, KWC College of Arts & Science. MIT VGS Karnal Sangli Sangli Highschool Sangli Architecture Ganapati Temple, Sangli, located on the banks of river Krishna. The Irwin Bridge, built by the British. A royal palace (Rajwada). Mai ghat, Sangli. Aamrai garden, Sangli. New Collector office, Vishrambaug. Centuries-old Digambar Jain Mandir at Arag (Recently partially conserved) Audumber datta temple(20km from sangli) Dandoba hills Sagreshwar national park Sangli high school Miraj market building Climate Sangli has a semi-arid climate with three seasons. Summer takes place from the middle of February to the middle of June, characterised by largely dry conditions towards the start, with rainfall increasing as the season progresses. Temperatures in summer are primarily characterised by hot days and mild nights. Monsoon takes place from the middle of June to late October. Rainfall is more common this season than at any other time of year. Temperatures in the monsoon season are characterised by warm, humid days and mild, humid nights. Winter takes place from early November to early February. This season is mainly dry, with rain primarily concentrated in November. Temperatures in winter are characterised by warm days and cool nights. The total rainfall is around 22 inches (580 mm). References Cities and towns in Sangli district Cities in Maharashtra
```xml <ResourceDictionary xmlns="path_to_url" xmlns:x="path_to_url" xmlns:core="clr-namespace:System;assembly=mscorlib"> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="/Dopamine;component/Resources/Themes/Common.xaml" /> </ResourceDictionary.MergedDictionaries> <!-- Brush_AppearanceService is used by the AppearanceService to find this dictionary --> <SolidColorBrush x:Key="Brush_AppearanceService" Color="#FFFFFF"/> <!-- Constants --> <core:Double x:Key="Opacity_CoverArtShadow">0.5</core:Double> <!-- Palette --> <Color x:Key="Color_SoftWhite">#E2E2E2</Color> <Color x:Key="Color_DarkGrey1">#111111</Color> <Color x:Key="Color_DarkGrey1Invisible">#00111111</Color> <Color x:Key="Color_DarkGrey2">#171717</Color> <Color x:Key="Color_DarkGrey3">#1A1A1A</Color> <Color x:Key="Color_DarkGrey4">#202020</Color> <Color x:Key="Color_DarkGrey5">#272727</Color> <Color x:Key="Color_DarkGrey6">#2F2F2F</Color> <Color x:Key="Color_DarkGrey6Transparent">#D92F2F2F</Color> <Color x:Key="Color_DarkGrey6Invisible">#002F2F2F</Color> <Color x:Key="Color_DarkGrey7">#333333</Color> <Color x:Key="Color_DarkGrey8">#5E5E5E</Color> <Color x:Key="Color_DarkGrey9">#666666</Color> <!-- Brushes --> <SolidColorBrush x:Key="Brush_PrimaryText" Color="{DynamicResource Color_SoftWhite}"/> <SolidColorBrush x:Key="Brush_SecondaryText" Color="{DynamicResource Color_DarkGrey8}"/> <SolidColorBrush x:Key="Brush_WindowHeaderBackground" Color="{StaticResource Color_DarkGrey1}"/> <SolidColorBrush x:Key="Brush_PaneBackground" Color="{DynamicResource Color_DarkGrey2}"/> <SolidColorBrush x:Key="Brush_MainWindowBackground" Color="{DynamicResource Color_DarkGrey3}"/> <SolidColorBrush x:Key="Brush_NowPlayingBackground" Color="{DynamicResource Color_DarkGrey3}" Opacity="0.96"/> <SolidColorBrush x:Key="Brush_RegularButtonBackground" Color="{DynamicResource Color_DarkGrey5}"/> <SolidColorBrush x:Key="Brush_HotKeyButtonBackground" Color="{DynamicResource Color_DarkGrey5}"/> <SolidColorBrush x:Key="Brush_ListBoxBackground" Color="{DynamicResource Color_DarkGrey5}"/> <SolidColorBrush x:Key="Brush_TextBoxBackground" Color="{DynamicResource Color_DarkGrey5}"/> <SolidColorBrush x:Key="Brush_AlbumTileInfoBackground" Color="{DynamicResource Color_DarkGrey5}"/> <SolidColorBrush x:Key="Brush_CoverTileBackground" Color="{DynamicResource Color_DarkGrey4}"/> <SolidColorBrush x:Key="Brush_CoverTileIcon" Color="{DynamicResource Color_DarkGrey8}"/> <SolidColorBrush x:Key="Brush_SliderBackground" Color="{StaticResource Color_DarkGrey6}"/> <SolidColorBrush x:Key="Brush_SliderBackgroundTransparent" Color="{StaticResource Color_DarkGrey6Transparent}"/> <SolidColorBrush x:Key="Brush_TextBoxBackgroundInvisible" Color="{StaticResource Color_BlackInvisible}"/> <SolidColorBrush x:Key="Brush_DimBackground" Color="{DynamicResource Color_Grey}" Opacity="0.2"/> <SolidColorBrush x:Key="Brush_ItemSeparator" Color="{DynamicResource Color_DarkGrey6}" Opacity="0.5"/> <SolidColorBrush x:Key="Brush_ControlBorder" Color="{DynamicResource Color_DarkGrey7}"/> <SolidColorBrush x:Key="Brush_ItemHovered" Color="{DynamicResource Color_DarkGrey9}" Opacity="0.05"/> <SolidColorBrush x:Key="Brush_ItemSelected" Color="{DynamicResource Color_DarkGrey9}" Opacity="0.15"/> <SolidColorBrush x:Key="Brush_HotKeyBackground" Color="{DynamicResource Color_DarkGrey5}"/> <SolidColorBrush x:Key="Brush_ListHeaderComboBoxMenuBackground" Color="{DynamicResource Color_DarkGrey5}"/> <SolidColorBrush x:Key="Brush_SearchBoxbackground" Color="{DynamicResource Color_DarkGrey9}" Opacity="0.1"/> <SolidColorBrush x:Key="Brush_RegularButtonText" Color="{DynamicResource Color_White}"/> <SolidColorBrush x:Key="Brush_ComboBoxText" Color="{DynamicResource Color_White}"/> <SolidColorBrush x:Key="Brush_MiniPlayerPlaylistBackground" Color="{DynamicResource Color_DarkGrey2}"/> <!-- Colors --> <Color x:Key="Color_ItemHovered">#666666</Color> <!-- Gradient Brushes --> <RadialGradientBrush x:Key="Brush_SpectrumEllipse" GradientOrigin="0.5,0.5" Center="0.5,0.5" RadiusX="0.8" RadiusY="0.8" Opacity="0.8"> <RadialGradientBrush.GradientStops> <GradientStop Color="{DynamicResource Color_Accent}" Offset="0" /> <GradientStop Color="{DynamicResource Color_DarkGrey1Invisible}" Offset="0.7" /> </RadialGradientBrush.GradientStops> </RadialGradientBrush> <LinearGradientBrush x:Key="Brush_NanoPlayerWindowControlsBackground" StartPoint="0,0" EndPoint="0,1"> <GradientStop Color="{DynamicResource Color_DarkGrey1}" Offset="0.0" /> <GradientStop Color="{DynamicResource Color_DarkGrey1Invisible}" Offset="1.0"/> </LinearGradientBrush> </ResourceDictionary> ```
```java package com.shuyu.gsyvideoplayer; import android.content.res.Configuration; import android.view.View; import androidx.annotation.NonNull; import com.shuyu.gsyvideoplayer.builder.GSYVideoOptionBuilder; import com.shuyu.gsyvideoplayer.listener.GSYSampleCallBack; import com.shuyu.gsyvideoplayer.utils.OrientationOption; import com.shuyu.gsyvideoplayer.utils.OrientationUtils; import com.shuyu.gsyvideoplayer.video.GSYADVideoPlayer; import com.shuyu.gsyvideoplayer.video.base.GSYBaseVideoPlayer; import com.shuyu.gsyvideoplayer.video.base.GSYVideoPlayer; import com.shuyu.gsyvideoplayer.video.base.GSYVideoView; /** * AD * Created by guoshuyu on 2017/9/14. */ public abstract class GSYBaseADActivityDetail<T extends GSYBaseVideoPlayer, R extends GSYADVideoPlayer> extends GSYBaseActivityDetail<T> { protected OrientationUtils mADOrientationUtils; @Override public void initVideo() { super.initVideo(); // mADOrientationUtils = new OrientationUtils(this, getGSYADVideoPlayer(), getOrientationOption()); // mADOrientationUtils.setEnable(false); if (getGSYADVideoPlayer().getFullscreenButton() != null) { getGSYADVideoPlayer().getFullscreenButton().setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { // showADFull(); clickForFullScreen(); } }); } } /** * builder */ @Override public void initVideoBuilderMode() { super.initVideoBuilderMode(); getGSYADVideoOptionBuilder() .setVideoAllCallBack(new GSYSampleCallBack() { @Override public void onStartPrepared(String url, Object... objects) { super.onStartPrepared(url, objects); // mADOrientationUtils.setEnable(getDetailOrientationRotateAuto()); } @Override public void onAutoComplete(String url, Object... objects) { // getGSYADVideoPlayer().getCurrentPlayer().release(); getGSYADVideoPlayer().onVideoReset(); getGSYADVideoPlayer().setVisibility(View.GONE); // getGSYVideoPlayer().getCurrentPlayer().startAfterPrepared(); if (getGSYADVideoPlayer().getCurrentPlayer().isIfCurrentIsFullscreen()) { getGSYADVideoPlayer().removeFullWindowViewOnly(); if (!getGSYVideoPlayer().getCurrentPlayer().isIfCurrentIsFullscreen()) { showFull(); getGSYVideoPlayer().setSaveBeforeFullSystemUiVisibility(getGSYADVideoPlayer().getSaveBeforeFullSystemUiVisibility()); } } } @Override public void onQuitFullscreen(String url, Object... objects) { // // ------- ------- // setNeedOrientationUtils(false) if (mADOrientationUtils != null) { mADOrientationUtils.backToProtVideo(); } if (getGSYVideoPlayer().getCurrentPlayer().isIfCurrentIsFullscreen()) { getGSYVideoPlayer().onBackFullscreen(); } } }) .build(getGSYADVideoPlayer()); } /** * */ @Override public void showFull() { if (orientationUtils.getIsLand() != 1) { // // ------- ------- // setNeedOrientationUtils(false) orientationUtils.resolveByClick(); } getGSYVideoPlayer().startWindowFullscreen(this, hideActionBarWhenFull(), hideStatusBarWhenFull()); } @Override public void onBackPressed() { if (mADOrientationUtils != null) { mADOrientationUtils.backToProtVideo(); } if (GSYVideoADManager.backFromWindowFull(this)) { return; } super.onBackPressed(); } @Override protected void onPause() { super.onPause(); GSYVideoADManager.onPause(); } @Override protected void onResume() { super.onResume(); GSYVideoADManager.onResume(); } @Override protected void onDestroy() { super.onDestroy(); GSYVideoADManager.releaseAllVideos(); if (mADOrientationUtils != null) mADOrientationUtils.releaseListener(); } /** * orientationUtils detailPlayer.onConfigurationChanged */ @Override public void onConfigurationChanged(@NonNull Configuration newConfig) { // boolean backUpIsPlay = isPlay; if (!isPause && getGSYADVideoPlayer().getVisibility() == View.VISIBLE) { if (isADStarted()) { isPlay = false; getGSYADVideoPlayer().getCurrentPlayer().onConfigurationChanged(this, newConfig, mADOrientationUtils, hideActionBarWhenFull(), hideStatusBarWhenFull()); } } super.onConfigurationChanged(newConfig); isPlay = backUpIsPlay; } @Override public void onStartPrepared(String url, Object... objects) { super.onStartPrepared(url, objects); } @Override public void onPrepared(String url, Object... objects) { super.onPrepared(url, objects); if (isNeedAdOnStart()) { startAdPlay(); } } @Override public void onEnterFullscreen(String url, Object... objects) { super.onEnterFullscreen(url, objects); // GSYVideoPlayer gsyVideoPlayer = (GSYVideoPlayer) objects[1]; gsyVideoPlayer.getBackButton().setVisibility(View.GONE); } @Override public void clickForFullScreen() { } @Override public void onComplete(String url, Object... objects) { } protected boolean isADStarted() { return getGSYADVideoPlayer().getCurrentPlayer().getCurrentState() >= 0 && getGSYADVideoPlayer().getCurrentPlayer().getCurrentState() != GSYVideoView.CURRENT_STATE_NORMAL && getGSYADVideoPlayer().getCurrentPlayer().getCurrentState() != GSYVideoView.CURRENT_STATE_AUTO_COMPLETE; } /** * */ public void startAdPlay() { getGSYADVideoPlayer().setVisibility(View.VISIBLE); getGSYADVideoPlayer().startPlayLogic(); if (getGSYVideoPlayer().getCurrentPlayer().isIfCurrentIsFullscreen()) { showADFull(); getGSYADVideoPlayer().setSaveBeforeFullSystemUiVisibility(getGSYVideoPlayer().getSaveBeforeFullSystemUiVisibility()); } } /** * */ public void showADFull() { if (mADOrientationUtils.getIsLand() != 1) { // ------- ------- // setNeedOrientationUtils(false) mADOrientationUtils.resolveByClick(); } getGSYADVideoPlayer().startWindowFullscreen(GSYBaseADActivityDetail.this, hideActionBarWhenFull(), hideStatusBarWhenFull()); } /** * OrientationUtils */ public OrientationOption getOrientationOption() { return null; } public abstract R getGSYADVideoPlayer(); /** * AD */ public abstract GSYVideoOptionBuilder getGSYADVideoOptionBuilder(); /** * * false setStartAfterPrepared ture */ public abstract boolean isNeedAdOnStart(); } ```
```ruby # frozen_string_literal: true class AddDescriptionAndProgressToStatuses < ActiveRecord::Migration[5.0] def change add_column :decidim_accountability_statuses, :description, :jsonb add_column :decidim_accountability_statuses, :progress, :integer end end ```
```yaml # # AzuraCast Docker Compose Configuration File # # When updating, you will be prompted to replace this file with a new # version; you should do this whenever possible to take advantage of # new updates. # # If you need to customize this file, you can create a new file named: # docker-compose.override.yml # with any changes you need to make. # services: web: container_name: azuracast image: "ghcr.io/azuracast/azuracast:${AZURACAST_VERSION:-latest}" labels: - "com.centurylinklabs.watchtower.scope=azuracast" # Want to customize the HTTP/S ports? Follow the instructions here: # path_to_url#using-non-standard-ports ports: - '${AZURACAST_HTTP_PORT:-80}:${AZURACAST_HTTP_PORT:-80}' - '${AZURACAST_HTTPS_PORT:-443}:${AZURACAST_HTTPS_PORT:-443}' - '${AZURACAST_SFTP_PORT:-2022}:${AZURACAST_SFTP_PORT:-2022}' - '8000:8000' - '8005:8005' - '8006:8006' - '8010:8010' - '8015:8015' - '8016:8016' - '8020:8020' - '8025:8025' - '8026:8026' - '8030:8030' - '8035:8035' - '8036:8036' - '8040:8040' - '8045:8045' - '8046:8046' - '8050:8050' - '8055:8055' - '8056:8056' - '8060:8060' - '8065:8065' - '8066:8066' - '8070:8070' - '8075:8075' - '8076:8076' - '8090:8090' - '8095:8095' - '8096:8096' - '8100:8100' - '8105:8105' - '8106:8106' - '8110:8110' - '8115:8115' - '8116:8116' - '8120:8120' - '8125:8125' - '8126:8126' - '8130:8130' - '8135:8135' - '8136:8136' - '8140:8140' - '8145:8145' - '8146:8146' - '8150:8150' - '8155:8155' - '8156:8156' - '8160:8160' - '8165:8165' - '8166:8166' - '8170:8170' - '8175:8175' - '8176:8176' - '8180:8180' - '8185:8185' - '8186:8186' - '8190:8190' - '8195:8195' - '8196:8196' - '8200:8200' - '8205:8205' - '8206:8206' - '8210:8210' - '8215:8215' - '8216:8216' - '8220:8220' - '8225:8225' - '8226:8226' - '8230:8230' - '8235:8235' - '8236:8236' - '8240:8240' - '8245:8245' - '8246:8246' - '8250:8250' - '8255:8255' - '8256:8256' - '8260:8260' - '8265:8265' - '8266:8266' - '8270:8270' - '8275:8275' - '8276:8276' - '8280:8280' - '8285:8285' - '8286:8286' - '8290:8290' - '8295:8295' - '8296:8296' - '8300:8300' - '8305:8305' - '8306:8306' - '8310:8310' - '8315:8315' - '8316:8316' - '8320:8320' - '8325:8325' - '8326:8326' - '8330:8330' - '8335:8335' - '8336:8336' - '8340:8340' - '8345:8345' - '8346:8346' - '8350:8350' - '8355:8355' - '8356:8356' - '8360:8360' - '8365:8365' - '8366:8366' - '8370:8370' - '8375:8375' - '8376:8376' - '8380:8380' - '8385:8385' - '8386:8386' - '8390:8390' - '8395:8395' - '8396:8396' - '8400:8400' - '8405:8405' - '8406:8406' - '8410:8410' - '8415:8415' - '8416:8416' - '8420:8420' - '8425:8425' - '8426:8426' - '8430:8430' - '8435:8435' - '8436:8436' - '8440:8440' - '8445:8445' - '8446:8446' - '8450:8450' - '8455:8455' - '8456:8456' - '8460:8460' - '8465:8465' - '8466:8466' - '8470:8470' - '8475:8475' - '8476:8476' - '8480:8480' - '8485:8485' - '8486:8486' - '8490:8490' - '8495:8495' - '8496:8496' env_file: - azuracast.env - .env volumes: - station_data:/var/azuracast/stations - backups:/var/azuracast/backups - db_data:/var/lib/mysql - www_uploads:/var/azuracast/storage/uploads - shoutcast2_install:/var/azuracast/storage/shoutcast2 - stereo_tool_install:/var/azuracast/storage/stereo_tool - geolite_install:/var/azuracast/storage/geoip - sftpgo_data:/var/azuracast/storage/sftpgo - acme:/var/azuracast/storage/acme restart: unless-stopped ulimits: nofile: soft: 65536 hard: 65536 logging: options: max-size: "1m" max-file: "5" updater: container_name: azuracast_updater image: ghcr.io/azuracast/updater:latest restart: unless-stopped volumes: - /var/run/docker.sock:/var/run/docker.sock logging: options: max-size: "1m" max-file: "5" volumes: db_data: { } acme: { } shoutcast2_install: { } stereo_tool_install: { } geolite_install: { } sftpgo_data: { } station_data: { } www_uploads: { } backups: { } ```
Sintaksis: publitsistika, kritika, polemika (), was a journal published in Paris in 1978–2001 with Maria Rozanova as chief editor. A total of 37 issues of the journal were published before the journal was discontinued. According to Rozanova, there are no plans to resume publication. The title of the publication references the samizdat poetry almanac Sintaksis edited by Alexander Ginzburg in 1959–1960. References External links Official online version of the journal 1978 establishments in France 2001 disestablishments in France Defunct literary magazines published in France Magazines established in 1978 Magazines disestablished in 2001 Magazines published in Paris Russian-language magazines
```html <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Utilities</title> <link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css"> <meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="Chapter&#160;1.&#160;Boost.Iterator"> <link rel="up" href="../index.html" title="Chapter&#160;1.&#160;Boost.Iterator"> <link rel="prev" href="specialized/zip.html" title="Zip Iterator"> <link rel="next" href="utilities/concept_checking.html" title="Concept Checking"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td> <td align="center"><a href="../../../../../index.html">Home</a></td> <td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td> <td align="center"><a href="path_to_url">People</a></td> <td align="center"><a href="path_to_url">FAQ</a></td> <td align="center"><a href="../../../../../more/index.htm">More</a></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="specialized/zip.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="utilities/concept_checking.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> <div class="section"> <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="iterator.utilities"></a><a class="link" href="utilities.html" title="Utilities">Utilities</a> </h2></div></div></div> <div class="toc"><dl class="toc"> <dt><span class="section"><a href="utilities.html#iterator.utilities.archetypes">Iterator Archetypes</a></span></dt> <dt><span class="section"><a href="utilities/concept_checking.html">Concept Checking</a></span></dt> <dt><span class="section"><a href="utilities/iterator_traits.html">Iterator Traits</a></span></dt> <dt><span class="section"><a href="utilities/traits.html">Type Traits</a></span></dt> </dl></div> <div class="section"> <div class="titlepage"><div><div><h3 class="title"> <a name="iterator.utilities.archetypes"></a><a class="link" href="utilities.html#iterator.utilities.archetypes" title="Iterator Archetypes">Iterator Archetypes</a> </h3></div></div></div> <p> The <code class="computeroutput"><span class="identifier">iterator_archetype</span></code> class constructs a minimal implementation of one of the iterator access concepts and one of the iterator traversal concepts. This is used for doing a compile-time check to see if a the type requirements of a template are really enough to cover the implementation of the template. For further information see the documentation for the |concepts|_ library. </p> <h3> <a name="iterator.utilities.archetypes.h0"></a> <span class="phrase"><a name="iterator.utilities.archetypes.synopsis"></a></span><a class="link" href="utilities.html#iterator.utilities.archetypes.synopsis">Synopsis</a> </h3> <pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">iterator_archetypes</span> <span class="special">{</span> <span class="comment">// Access categories</span> <span class="keyword">typedef</span> <span class="comment">/*implementation defined*/</span> <span class="identifier">readable_iterator_t</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="comment">/*implementation defined*/</span> <span class="identifier">writable_iterator_t</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="comment">/*implementation defined*/</span> <span class="identifier">readable_writable_iterator_t</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="comment">/*implementation defined*/</span> <span class="identifier">readable_lvalue_iterator_t</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="comment">/*implementation defined*/</span> <span class="identifier">writable_lvalue_iterator_t</span><span class="special">;</span> <span class="special">}</span> <span class="keyword">template</span> <span class="special">&lt;</span> <span class="keyword">class</span> <span class="identifier">Value</span> <span class="special">,</span> <span class="keyword">class</span> <span class="identifier">AccessCategory</span> <span class="special">,</span> <span class="keyword">class</span> <span class="identifier">TraversalCategory</span> <span class="special">&gt;</span> <span class="keyword">class</span> <span class="identifier">iterator_archetype</span> <span class="special">{</span> <span class="keyword">typedef</span> <span class="comment">/* see below */</span> <span class="identifier">value_type</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="comment">/* see below */</span> <span class="identifier">reference</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="comment">/* see below */</span> <span class="identifier">pointer</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="comment">/* see below */</span> <span class="identifier">difference_type</span><span class="special">;</span> <span class="keyword">typedef</span> <span class="comment">/* see below */</span> <span class="identifier">iterator_category</span><span class="special">;</span> <span class="special">};</span> </pre> <h4> <a name="iterator.utilities.archetypes.h1"></a> <span class="phrase"><a name="iterator.utilities.archetypes.access_category_tags"></a></span><a class="link" href="utilities.html#iterator.utilities.archetypes.access_category_tags">Access Category Tags</a> </h4> <p> The access category types provided correspond to the following standard iterator access concept combinations: </p> <pre class="programlisting"><span class="identifier">readable_iterator_t</span> <span class="special">:=</span> <span class="identifier">Readable</span> <span class="identifier">Iterator</span> <span class="identifier">writable_iterator_t</span> <span class="special">:=</span> <span class="identifier">Writeable</span> <span class="identifier">Iterator</span> <span class="identifier">readable_writable_iterator_t</span> <span class="special">:=</span> <span class="identifier">Readable</span> <span class="identifier">Iterator</span> <span class="special">&amp;</span> <span class="identifier">Writeable</span> <span class="identifier">Iterator</span> <span class="special">&amp;</span> <span class="identifier">Swappable</span> <span class="identifier">Iterator</span> <span class="identifier">readable_lvalue_iterator_t</span> <span class="special">:=</span> <span class="identifier">Readable</span> <span class="identifier">Iterator</span> <span class="special">&amp;</span> <span class="identifier">Lvalue</span> <span class="identifier">Iterator</span> <span class="identifier">writeable_lvalue_iterator_t</span> <span class="special">:=</span> <span class="identifier">Readable</span> <span class="identifier">Iterator</span> <span class="special">&amp;</span> <span class="identifier">Writeable</span> <span class="identifier">Iterator</span> <span class="special">&amp;</span> <span class="identifier">Swappable</span> <span class="identifier">Iterator</span> <span class="special">&amp;</span> <span class="identifier">Lvalue</span> <span class="identifier">Iterator</span> </pre> <h4> <a name="iterator.utilities.archetypes.h2"></a> <span class="phrase"><a name="iterator.utilities.archetypes.traits"></a></span><a class="link" href="utilities.html#iterator.utilities.archetypes.traits">Traits</a> </h4> <p> The nested trait types are defined as follows: </p> <pre class="programlisting"><span class="keyword">if</span> <span class="special">(</span><span class="identifier">AccessCategory</span> <span class="special">==</span> <span class="identifier">readable_iterator_t</span><span class="special">)</span> <span class="identifier">value_type</span> <span class="special">=</span> <span class="identifier">Value</span> <span class="identifier">reference</span> <span class="special">=</span> <span class="identifier">Value</span> <span class="identifier">pointer</span> <span class="special">=</span> <span class="identifier">Value</span><span class="special">*</span> <span class="keyword">else</span> <span class="keyword">if</span> <span class="special">(</span><span class="identifier">AccessCategory</span> <span class="special">==</span> <span class="identifier">writable_iterator_t</span><span class="special">)</span> <span class="identifier">value_type</span> <span class="special">=</span> <span class="keyword">void</span> <span class="identifier">reference</span> <span class="special">=</span> <span class="keyword">void</span> <span class="identifier">pointer</span> <span class="special">=</span> <span class="keyword">void</span> <span class="keyword">else</span> <span class="keyword">if</span> <span class="special">(</span><span class="identifier">AccessCategory</span> <span class="special">==</span> <span class="identifier">readable_writable_iterator_t</span><span class="special">)</span> <span class="identifier">value_type</span> <span class="special">=</span> <span class="identifier">Value</span> <span class="identifier">reference</span> <span class="special">:=</span> <span class="identifier">A</span> <span class="identifier">type</span> <span class="identifier">X</span> <span class="identifier">that</span> <span class="identifier">is</span> <span class="identifier">convertible</span> <span class="identifier">to</span> <span class="identifier">Value</span> <span class="keyword">for</span> <span class="identifier">which</span> <span class="identifier">the</span> <span class="identifier">following</span> <span class="identifier">expression</span> <span class="identifier">is</span> <span class="identifier">valid</span><span class="special">.</span> <span class="identifier">Given</span> <span class="identifier">an</span> <span class="identifier">object</span> <span class="identifier">x</span> <span class="identifier">of</span> <span class="identifier">type</span> <span class="identifier">X</span> <span class="keyword">and</span> <span class="identifier">v</span> <span class="identifier">of</span> <span class="identifier">type</span> <span class="identifier">Value</span><span class="special">.</span> <span class="identifier">x</span> <span class="special">=</span> <span class="identifier">v</span> <span class="identifier">pointer</span> <span class="special">=</span> <span class="identifier">Value</span><span class="special">*</span> <span class="keyword">else</span> <span class="keyword">if</span> <span class="special">(</span><span class="identifier">AccessCategory</span> <span class="special">==</span> <span class="identifier">readable_lvalue_iterator_t</span><span class="special">)</span> <span class="identifier">value_type</span> <span class="special">=</span> <span class="identifier">Value</span> <span class="identifier">reference</span> <span class="special">=</span> <span class="identifier">Value</span> <span class="keyword">const</span><span class="special">&amp;</span> <span class="identifier">pointer</span> <span class="special">=</span> <span class="identifier">Value</span> <span class="keyword">const</span><span class="special">*</span> <span class="keyword">else</span> <span class="keyword">if</span> <span class="special">(</span><span class="identifier">AccessCategory</span> <span class="special">==</span> <span class="identifier">writable_lvalue_iterator_t</span><span class="special">)</span> <span class="identifier">value_type</span> <span class="special">=</span> <span class="identifier">Value</span> <span class="identifier">reference</span> <span class="special">=</span> <span class="identifier">Value</span><span class="special">&amp;</span> <span class="identifier">pointer</span> <span class="special">=</span> <span class="identifier">Value</span><span class="special">*</span> <span class="keyword">if</span> <span class="special">(</span> <span class="identifier">TraversalCategory</span> <span class="identifier">is</span> <span class="identifier">convertible</span> <span class="identifier">to</span> <span class="identifier">forward_traversal_tag</span> <span class="special">)</span> <span class="identifier">difference_type</span> <span class="special">:=</span> <span class="identifier">ptrdiff_t</span> <span class="keyword">else</span> <span class="identifier">difference_type</span> <span class="special">:=</span> <span class="identifier">unspecified</span> <span class="identifier">type</span> <span class="identifier">iterator_category</span> <span class="special">:=</span> <span class="identifier">A</span> <span class="identifier">type</span> <span class="identifier">X</span> <span class="identifier">satisfying</span> <span class="identifier">the</span> <span class="identifier">following</span> <span class="identifier">two</span> <span class="identifier">constraints</span><span class="special">:</span> <span class="number">1.</span> <span class="identifier">X</span> <span class="identifier">is</span> <span class="identifier">convertible</span> <span class="identifier">to</span> <span class="identifier">X1</span><span class="special">,</span> <span class="keyword">and</span> <span class="keyword">not</span> <span class="identifier">to</span> <span class="identifier">any</span> <span class="identifier">more</span><span class="special">-</span><span class="identifier">derived</span> <span class="identifier">type</span><span class="special">,</span> <span class="identifier">where</span> <span class="identifier">X1</span> <span class="identifier">is</span> <span class="identifier">defined</span> <span class="identifier">by</span><span class="special">:</span> <span class="keyword">if</span> <span class="special">(</span><span class="identifier">reference</span> <span class="identifier">is</span> <span class="identifier">a</span> <span class="identifier">reference</span> <span class="identifier">type</span> <span class="special">&amp;&amp;</span> <span class="identifier">TraversalCategory</span> <span class="identifier">is</span> <span class="identifier">convertible</span> <span class="identifier">to</span> <span class="identifier">forward_traversal_tag</span><span class="special">)</span> <span class="special">{</span> <span class="keyword">if</span> <span class="special">(</span><span class="identifier">TraversalCategory</span> <span class="identifier">is</span> <span class="identifier">convertible</span> <span class="identifier">to</span> <span class="identifier">random_access_traversal_tag</span><span class="special">)</span> <span class="identifier">X1</span> <span class="special">=</span> <span class="identifier">random_access_iterator_tag</span> <span class="keyword">else</span> <span class="keyword">if</span> <span class="special">(</span><span class="identifier">TraversalCategory</span> <span class="identifier">is</span> <span class="identifier">convertible</span> <span class="identifier">to</span> <span class="identifier">bidirectional_traversal_tag</span><span class="special">)</span> <span class="identifier">X1</span> <span class="special">=</span> <span class="identifier">bidirectional_iterator_tag</span> <span class="keyword">else</span> <span class="identifier">X1</span> <span class="special">=</span> <span class="identifier">forward_iterator_tag</span> <span class="special">}</span> <span class="keyword">else</span> <span class="special">{</span> <span class="keyword">if</span> <span class="special">(</span><span class="identifier">TraversalCategory</span> <span class="identifier">is</span> <span class="identifier">convertible</span> <span class="identifier">to</span> <span class="identifier">single_pass_traversal_tag</span> <span class="special">&amp;&amp;</span> <span class="identifier">reference</span> <span class="special">!=</span> <span class="keyword">void</span><span class="special">)</span> <span class="identifier">X1</span> <span class="special">=</span> <span class="identifier">input_iterator_tag</span> <span class="keyword">else</span> <span class="identifier">X1</span> <span class="special">=</span> <span class="identifier">output_iterator_tag</span> <span class="special">}</span> <span class="number">2.</span> <span class="identifier">X</span> <span class="identifier">is</span> <span class="identifier">convertible</span> <span class="identifier">to</span> <span class="identifier">TraversalCategory</span> </pre> <h3> <a name="iterator.utilities.archetypes.h3"></a> <span class="phrase"><a name="iterator.utilities.archetypes.requirements"></a></span><a class="link" href="utilities.html#iterator.utilities.archetypes.requirements">Requirements</a> </h3> <p> The <code class="computeroutput"><span class="identifier">AccessCategory</span></code> argument must be one of the predefined access category tags. The <code class="computeroutput"><span class="identifier">TraversalCategory</span></code> must be one of the standard traversal tags. The <code class="computeroutput"><span class="identifier">Value</span></code> type must satisfy the requirements of the iterator concept specified by <code class="computeroutput"><span class="identifier">AccessCategory</span></code> and <code class="computeroutput"><span class="identifier">TraversalCategory</span></code> as implied by the nested traits types. </p> <h3> <a name="iterator.utilities.archetypes.h4"></a> <span class="phrase"><a name="iterator.utilities.archetypes.concepts"></a></span><a class="link" href="utilities.html#iterator.utilities.archetypes.concepts">Concepts</a> </h3> <p> <code class="computeroutput"><span class="identifier">iterator_archetype</span></code> models the iterator concepts specified by the <code class="computeroutput"><span class="identifier">AccessCategory</span></code> and <code class="computeroutput"><span class="identifier">TraversalCategory</span></code> arguments. <code class="computeroutput"><span class="identifier">iterator_archetype</span></code> does not model any other access concepts or any more derived traversal concepts. </p> </div> </div> <table xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> Witt<p> file LICENSE_1_0.txt or copy at &lt;ulink url="path_to_url"&gt; path_to_url &lt;/ulink&gt;) </p> </div></td> </tr></table> <hr> <div class="spirit-nav"> <a accesskey="p" href="specialized/zip.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="utilities/concept_checking.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a> </div> </body> </html> ```
Dalekmania is a 1995 direct-to-video documentary released in the United Kingdom. "Dalekmania" is the name given to the craze or "mania" among children in the United Kingdom in the 1960s for all things associated with writer Terry Nation's creations, the Daleks, who were then regularly appearing in the BBC's television drama series Doctor Who. Production Borrowing that name, Dalekmania is also a 1995 documentary film that examines that mid 1960s craze and focuses in particular on the two 1960s Doctor Who films, Dr. Who and the Daleks and Daleks - Invasion Earth 2150 AD which both feature Peter Cushing as Dr. Who and the Daleks. Interviews cover the making of the films and their fans. The documentary is the main Special Feature on the Dalek movie DVD release - although the introduction sequence is omitted. The documentary Dalekmania starts from the beginning, at least as far as the Dalek movies are concerned, and runs through their history, at the same time interviewing actors like Roberta Tovey, who played Dr. Who's granddaughter, Susan, in the two films, and Jill Curzon, who played his niece Louise, in the second film. There are also appearances from actors Barrie Ingham and Yvonne Antrobus, who played the leaders of the Thals in the first film. The actors give interesting personal accounts of the filming of these movies including anecdotes about the tough porters who were brought in from Covent Garden Market to play the male Thals and their shock when they learned that they would have to shave their chests and arms and wear wigs and make-up to get into character. The documentary also reveals that the men operating the Daleks were supposedly not treated particularly well, as none of the other actors can recall seeing anyone get in or out of a Dalek, or ever actually meeting a Dalek operator. They recall fond memories of working with cast members who have since died, including Peter Cushing and Roy Castle. Also interviewed in the documentary is script writer and Dalek creator Terry Nation, who shares his thoughts on the differences between Doctor Who on television and the Dalek movies. He also explains the pride he took in his mechanical creations and the lengths he went to over the years to protect their image. There are also contributions from fans of the films, in the form of Gary Gillat and Marcus Hearn, editors of magazines concerned with Doctor Who. They attempt to explain the huge impact that the Daleks have had on the public imagination over the years. The Daleks used during filming were made by London-based model maker Julian Vince, who was also interviewed in the documentary. However, his Daleks were not seen in the final edit due to rights restrictions issues with the BBC (i.e. the fact that the Julian Vince-created props were shown moving and were thus actual Dalek characters, rather than empty props). The sole-remaining Dalek prop in the final edit is a static first movie Red Dalek, seen with Michael Wisher as the cinema commissionaire, and this prop was built by Steve Allen and David Brian. References External links DVD Verdict Review - Dalekmania British documentary films Daleks Works about Doctor Who 1960s in the United Kingdom 1995 films 1995 documentary films Documentary films about television Documentary films about fandom Direct-to-video documentary films 1960s fads and trends 1990s English-language films 1990s British films
```html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "path_to_url"> <html xmlns="path_to_url"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>MEGA</title> <meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <link rel="stylesheet" type="text/css" href="../css/style.css" /> <link rel="stylesheet" type="text/css" href="../css/user-card.css" /> <link rel="stylesheet" type="text/css" href="../css/avatars.css" /> <link rel="stylesheet" type="text/css" href="../css/icons.css" /> <link rel="stylesheet" type="text/css" href="../css/buttons.css" /> <link rel="stylesheet" type="text/css" href="../css/dropdowns.css" /> <link rel="stylesheet" type="text/css" href="../css/popups.css" /> <link rel="stylesheet" type="text/css" href="../css/spinners.css" /> <link rel="stylesheet" type="text/css" href="../css/chat-messages.css" /> <link rel="stylesheet" type="text/css" href="../css/chat-textarea.css" /> <link rel="stylesheet" type="text/css" href="../css/chat-typing.css" /> <link rel="stylesheet" type="text/css" href="../css/chat-left-pane.css" /> <link rel="stylesheet" type="text/css" href="../css/chat-feedback.css" /> <link rel="stylesheet" type="text/css" href="../css/chat-common.css" /> <link rel="stylesheet" type="text/css" href="../css/retina-images.css" /> <link rel="stylesheet" type="text/css" href="../css/rtl.css" /> <link rel="stylesheet" type="text/css" href="../css/media-print.css" /> <script type="text/javascript" src="../js/vendor/jquery-2.2.0.js"></script> <script type="text/javascript" src="../js/vendor/jquery-ui-1.11.4.js"></script> <script type="text/javascript"> $(document).ready(function () { $('.loading-info li').removeClass('loading loaded'); $('.loading-spinner').removeClass('active'); $('.loader-progressbar').removeClass('active'); $('.loader-percents').removeAttr('style'); //All timeouts are just for demo setTimeout(function() { $('.loading-spinner').addClass('active'); }, 1000); // Step 1 setTimeout(function() { $('.loading-info li.loading').addClass('loaded').removeClass('loading'); $('.loading-info li.step1').addClass('loading'); }, 3000); // Step 2 setTimeout(function() { $('.loading-info li.loading').addClass('loaded').removeClass('loading'); $('.loading-info li.step2').addClass('loading'); $('.loader-progressbar').addClass('active'); var count = 0, timer = 0; // Progressbar demo timer = setInterval(function() { ++count; if (count === 100) { clearInterval(timer); } else { $('.loader-percents').width(count + '%'); } }, 50); }, 5000); // Step 3 setTimeout(function() { $('.loading-info li.loading').addClass('loaded').removeClass('loading'); $('.loading-info li.step3').addClass('loading'); $('.loader-progressbar').removeClass('active'); }, 10000); }); </script> </head> <body> <div class="loading-spinner"> <div class="main-loader"></div> <ul class="loading-info"> <li class="step3">Decrypting</li> <li class="step2">Receiving account data</li> <li class="step1">Requesting account data</li> </ul> <div class="loader-progressbar"> <div class="loader-percents"></div> </div> </div> </div> </body> </html> ```
D-Cyber / Digimon D-Cyber () is a Chinese Digimon manhua, which was released by Rightman Publishing Ltd. in Hong Kong, China on February 17, 2005. It is based on the adventures of Lóng Zhìguāng, Fāng Shēngjiàn, Luò Huī, and a young girl named Āměi. It introduces the concept of X-antibody Digimon, but their origin is different from that in the Japanese Digimon Chronicle. Synopsis Ten thousand years ago, a great and powerful Digimon was defeated and sealed away by the Royal Knights as the "Digi Core". Years later, a virus infected the digital world, leaving only those that possessed the X-Antibody remaining. The only members of the Royal Knights remaining are Omega of Power (Omnimon X), Duke of Courage (MedievalGallantmon/Gallantmon X), and Magna of Miracles (Magnamon X). At the start of the series, the "God of Death" MetalPhantomon draws Lóng, Āměi, Fāng, and Luò into the digital world. Originally, Lóng is left alone with his Digimon (which starts out as a Dorumon), and has to battle his friends Luò and Fāng, who are under MetalPhantomon's control. At one point, MetalPhantomon steals the "Dragon Spirit" of Lóng's partner, who is now a Dorumon. While MetalPhantomon uses it to revive the Digi-Core, Lóng, Luò , and Fāng learn from Omega of Power that they can get a new Dragon Spirit from Duke of Courage - with this, they can save Dorumon's life. But when they arrive in Duke's area of the Digital World, they are given a series of tests by Duke's servant, MameTyramon. After completing the tests and battling Duke himself, they manage to earn Dorumon a new Dragon Spirit. However, now they must battle MetalPhantomon, who has resurrected the Digi-Core as Dexmon. In the end, Lóng and the others manage to save their friend Āměi, who was sealed inside Dexmon, and return to the real world. Characters Humans and Digimon Partners Zhìguāng Lóng The main character and characteristic "goggle boy". Though somewhat irresponsible and foolhardy, he manages to come through for his friends, as well as save his Digimon when his Dragon Spirit is lost. Dorumon Dorumon is Zhìguāng's Digimon partner, and gets very angry when his partner does not live up to his responsibility for him. In the end, he is revealed to actually be Alphamon, the leader of the Royal Knights from long ago. Dorumon is initially only shown becoming a Dorugoramon, and later, a DexDoruGreymon and then DexDorugoramon through Death-X Evolution. After losing his Dragon Spirit, he becomes Grademon, then Alphamon and lastly Alphamon (Ouryuuken) in the final battle. Fāng Shēngjiàn Zhìguāng and Luò's friend. Temporarily controlled by MetalPhantomon. Fāng believes that wisdom is just as good as raw power, and is a good strategist. Ryudamon Fāng's partner. He is very respectful, and calls Fāng his master. Fāng's partner is originally a Gaiomon, but is defeated by Zhìguāng's DexDorugoramon. It reverts into a Digi-Egg, and temporarily becomes a DexDorugamon through Death-X Evolution. Finally, it is revived as a Ryudamon. Ryudamon eventually becomes a HisyaRumon, and after receiving power from the Royal Knights, gains the ability to become Ouryumon. Then, finally, Ouryumon becomes the blade that allows Alphamon Ouryuken to destroy Dexmon. Luò Huī Luò is the young friend of Zhìguāng and Fāng. Short and timid, but manages to rise to the occasion in several instances. He was briefly controlled by MetalPhantomon. Agumon X Agumon X is Luò's Digimon partner, and is sometimes played up for comic relief. When Luò is controlled by MetalPhantomon, Agumon X first appears as a MetalGreymon X. Later, Luò manages to help it become a Greymon X and after receiving power from the Royal Knights, Agumon gains the ability to become an Omekamon. Āměi Zhìguāng, Fāng, and Luò's friend. She was sealed within Dexmon until she was rescued by Zhìguāng and Grademon. Royal Knights After the sealing away of the Digi-Core 10,000 years ago, and the coming of the Virus, there are only three of these Digimon left. At the end of the series, Dorumon is revealed to be their leader, Alphamon. Omnimon X Omnimon X is referred to here as "Omega of Power", first appearing in Chapter 3 :"Fāng's Trap". One of only three remaining Royal Knights of thirteen originally. Fāng was under the control of a MetalPhantomon in Chapter 2 and Zhìguāng receives a message from Fāng on his Digital Monster D-Cyber Version 1.0 to head North and find him at MetalPhantomon's lair. A battle ensues and Luò tells Zhìguāng not to argue with Fāng and that he wants to remain in the Digital World, believing Fāng that MetalPhantomon will give them power. Zhìguāng strikes Luò and tells him to wake up. In doing so, Luò is rendered unconscious. Fāng believes Luò murdered and orders his Digimon to come out, a Gaiomon (Samudramon in the Digital Monster D-Cyber Special Limited Edition and GaiOumon in the Digimon Chronicle). Zhìguāng's Digimon Death-X Evolves to a DexDoruGreymon in his grief and guilt. In trying to recover Luò, Zhìguāng realizes Fāng's trap and that the Luò before him is not the real one, an illusion. Fāng switched the real one to anger Zhìguāng. Fāng says he will send him to the "God of Death" (MetalPhantomon), his Gaiomon is however defeated by Zhìguāng's DexDorugoramon, who in his anger, caused the evolution but his Digimon is on a rampage. Afterwards, Zhìguāng recovers the real Luò but is interrupted in seeing Omnimon X before them, asking "Who dares to break the peace of the Digital World?" He smelled the scent of DexDorugoramon's Digi-Core and goes on to say he defeated the same evil Digi-Core ten thousand years ago and orders the children to leave. Omnimon X engages DexDorugoramon in battle and Fāng is freed of MetalPhantomon's control. Omnimon X discovers DexDorugoramon to be stronger than he was ten thousand years ago and inflicts insufficient damage with his Garuru Cannon even at a close distance. As Omnimon X invokes his Grey Sword, Zhìguāng's body produces a huge energy sphere and Omnimon X realizes it is Zhìguāng transferring power to DexDorugoramon making him seem invincible, although unknowingly. Omnimon X attempts to then kill Zhìguāng but Fāng says they can still control DexDorugoramon and tells Zhìguāng to take the power back. Zhìguāng then strikes DexDorugoramon and calms him but MetalPhantomon arrives and steals his Dragon Spirit to revive the Digi-Core of a Dexmon. Omnimon X attempts to prevent it but MetalPhantomon escapes. Omnimon X says Zhìguāng's Dorumon's body will disappear in ten days and even he can not save him. He tells them to head through the Valley of the Morning Dragon and to the Jade Waterfall to obtain a new one from a Royal Knight called "Duke", a MedievalGallantmon. He then attempts to track MetalPhantomon. While he is able to follow him to where Dexmon is sealed away as the Digicore, he is unable to prevent Dexmon's revival nor defeat him in battle. He does however eventually assist Alphamon (King Dragon) along with the others in defeating Dexmon when they arrive to help. Duke of Courage The 2nd Royal Knight, who can give Dorumon the new Dragon Spirit necessary to save his life. After completing several tests, Zhìguāng and the others earn the right to see him. However, he only gives them a new Dragon Spirit after they prove themselves in battle against him. Afterwards, he transforms from MedievalGallantmon into a Gallantmon X to fight Dexmon. Magna of Miracles A Magnamon X. Appears briefly to help Fāng and Luò gain new powers to help fight Dexmon, and later, his "Power of Miracles" helps Zhìguāng return to the real world. MameTyramon Not actually a Royal Knight, but one of Duke's servants. A somewhat vicious and arrogant character, he subjects the kids to several tests. When his helmet is destroyed, he gains greater speed and power. Villains Kuwagamon X MegaSeadramon X & GigaSeadramon A GigaSeadramon is furious with the children when Luò's Greymon X destroys his brother MegaSeadramon X. He appeared soon after when MegaSeadramon X was defeated. GigaSeadramon attacks Luò, and Zhìguāng has Dorimon digivolve to Grademon and defeat him. SkullBaluchimon Metal Phantomon "The God of Death", who originally pulls the kids into the Digital World so he can use their powers for himself. He steals Dorumon's Dragon Spirit to revive Dexmon, but is ultimately absorbed by the ancient Digimon himself. Dexmon The final and main villain, the true form of the Digi-Core who was sealed away by the Royal Knights 10,000 years ago. He is revived by Metal Phantomon, and after absorbing the evil Digimon, gains power and the ability to think for himself. In the end, he fuses with the Digital World, forcing Alphamon to "purify him" and leave him in the center of the digital world. Other Evolution/Digivolution In the series, evolution (or Digivolution) is achieved through the generation of "energy spheres", which is formed from the human partner's will. However, if there are negative emotions involved, it can cause the partner to evolve into a savage version in a process called "Death-X (Dex) Evolution." The most notable example of this is when Lóng's Dorumon warp evolves into a DexDorugoramon. D-Cyber Digivice The Digivice for this series is the D-Cyber. The only notable feature of the portrayal of this Digivice is that a Digimon's special attack is triggered by "pendulum shaking" on the part of the human partner.https://www.ebay.ca/sch/i.html?_sacat=0&_nkw=digimon+d+cyber External links https://www.ebay.ca/sch/i.html?_sacat=0&_nkw=digimon+d+cyber Action-adventure comics Fantasy comics Hong Kong comics titles Digimon anime and manga
Sants Estació is a station in the Barcelona Metro network in the Sants-Montjuïc district of Barcelona. It serves the Barcelona Sants railway station, Barcelona's principal main line railway station, and is named Sants Estació to distinguish it from the nearby Plaça de Sants station also named after the Sants neighbourhood. It is served by line L3 and line L5. The line L3 section of the station is situated under Numància street, between Melcior Palau and Avinguda Josep Tarradellas. It has a hall at each side of the station. To access to the railway station it is necessary to go through line 5 hall. The station is equipped with numerous elevators, and has two side platforms that are in length. The line L5 section of the station was opened in 1969 with the opening of the line between Collblanc and Diagonal. The metro station is situated on the north part of the railway station, between Guitard and Enric Bargés streets. The station is complex but has an own hall on the west side which has two direct accesses to the railway station. It has two side platforms that are in length. On the other side of the station there is the corridor to connect with line 3. Sants Estació is one of three stations where lines L3 and L5 connect, the others being Diagonal and Vall d'Hebron metro stations. Like both these two stations, the platforms of the two lines at Sants Estació are connected by an underground passageway. However, unlike the other two, there is also a single track connection between the two lines at Sants Estació. The line L5 station was opened in 1969 with the opening of the line between Collblanc and Diagonal, whilst the line L3 station followed in 1975 with the opening of the line from this station to Zona Universitària. A second access hall to the L3 station was added in 2004. Gallery References External links Barcelona Metro line 3 stations Barcelona Metro line 5 stations Railway stations in Spain opened in 1969 Railway stations in Spain opened in 1975 Transport in Eixample 1975 establishments in Spain
Music Evolution is the second album of Branford Marsalis's jazz/hip-hop/rock group Buckshot LeFonque. Featuring guest appearances from David Sanborn, Guru and Laurence Fishburne, the album peaked at number 8 on the Billboard Top Contemporary Jazz Albums chart. The album is notable in Branford's discography for marking his first collaboration with pianist Joey Calderazzo and bassist Eric Revis, both of whom would go on to record in his quartet in the 2000s and 2010s. In his AllMusic review, Leo Stanley calls the album a "stronger, more confident record" than the first Buckshot LeFonque album but criticizes it as uneven, noting that it "(finds) a vibrant, exciting common ground between hard bop and hip-hop" despite the "occasional lapse into aimless fusion." Writing in JazzTimes, Josef Woodard said the album "suggests a free-form radio show with an accent on African-American culture lineage." People magazine praised the album as "a sonic explosion that, even when it falters, is infused with the joy of playing." Track listing Personnel Branford Marsalis – Saxophones DJ Apollo - Wheels O' Steel Rocky Bryant - Percussion Reginald Veal - Acoustic Bass L. Carl Burnett - Guitar Joey Calderazzo - Piano Russell Gunn - Trumpet Mino Cinelu - Percussion David Sanborn - Alto Saxophone Reggie Washington - Bass John Touchy - Trombone Will Lee - Bass Frank McComb - Keyboards, Vocals Sue Pray - Viola Julien Barber - Viola Barry Finclair - Violin John Pintavalle - Violin Donna Tecco - Violin Richard Locker - Cello Carol Webb Sotomme - Concert Master 50 Styles: The Unknown Soldier - Vocals Laurence Fishburne - Spoken Word Ben Wolfe - Acoustic Bass Delfeayo Marsalis - Trombone Eric Revis - Acoustic Bass References External links BranfordMarsalis.com 1997 albums Branford Marsalis albums
```c /** * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * */ #include <limits.h> #include <stddef.h> #include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdbool.h> #include <math.h> #include "offset.h" #include "motion_options.h" #include "mem.h" #include "common/convolution.h" #include "common/convolution_internal.h" #include "motion_tools.h" #define convolution_f32_c convolution_f32_c_s #define FILTER_5 FILTER_5_s #define offset_image offset_image_s #define MIN(x, y) (((x) < (y)) ? (x) : (y)) /** * Note: img1_stride and img2_stride are in terms of (sizeof(float) bytes) */ float vmaf_image_sad_c(const float *img1, const float *img2, int width, int height, int img1_stride, int img2_stride) { float accum = (float)0.0; for (int i = 0; i < height; ++i) { float accum_line = (float)0.0; for (int j = 0; j < width; ++j) { float img1px = img1[i * img1_stride + j]; float img2px = img2[i * img2_stride + j]; accum_line += fabs(img1px - img2px); } accum += accum_line; } return (float) (accum / (width * height)); } /** * Note: ref_stride and dis_stride are in terms of bytes */ int compute_motion(const float *ref, const float *dis, int w, int h, int ref_stride, int dis_stride, double *score) { if (ref_stride % sizeof(float) != 0) { printf("error: ref_stride %% sizeof(float) != 0, ref_stride = %d, sizeof(float) = %zu.\n", ref_stride, sizeof(float)); fflush(stdout); goto fail; } if (dis_stride % sizeof(float) != 0) { printf("error: dis_stride %% sizeof(float) != 0, dis_stride = %d, sizeof(float) = %zu.\n", dis_stride, sizeof(float)); fflush(stdout); goto fail; } // stride for vmaf_image_sad_c is in terms of (sizeof(float) bytes) *score = vmaf_image_sad_c(ref, dis, w, h, ref_stride / sizeof(float), dis_stride / sizeof(float)); return 0; fail: return 1; } ```
Elena Murgoci-Florea (20 May 1960 – 26 August 1999) was a female long-distance runner from Romania, who specialized in the marathon race. Murgoci represented her native country at the 1992 Summer Olympics, finishing in 32nd place in the women's marathon race. She is best known for winning the Amsterdam Marathon (1988) and the Rotterdam Marathon (1989). In 1996, she was disqualified for life by Romanian Athletics Federation for doping. She died aged 39 in Bucharest as a result of being stabbed outside her home by a jealous boyfriend. Achievements References External links 1960 births 1999 deaths Romanian female marathon runners Athletes (track and field) at the 1992 Summer Olympics Olympic athletes for Romania Romanian murder victims People murdered in Romania Deaths by stabbing in Romania Violence against women in Romania Romanian sportspeople in doping cases Doping cases in athletics Place of birth missing
```css /*! jQuery UI - v1.12.1 - 2016-09-14 * path_to_url * Includes: core.css, accordion.css, autocomplete.css, menu.css, button.css, controlgroup.css, checkboxradio.css, datepicker.css, dialog.css, draggable.css, resizable.css, progressbar.css, selectable.css, selectmenu.css, slider.css, sortable.css, spinner.css, tabs.css, tooltip.css, theme.css * To view and modify this theme, visit path_to_url /* Layout helpers ----------------------------------*/ .ui-helper-hidden { display: none; } .ui-helper-hidden-accessible { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } .ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; border-collapse: collapse; } .ui-helper-clearfix:after { clear: both; } .ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); /* support: IE8 */ } .ui-front { z-index: 100; } /* Interaction Cues ----------------------------------*/ .ui-state-disabled { cursor: default !important; pointer-events: none; } /* Icons ----------------------------------*/ .ui-icon { display: inline-block; vertical-align: middle; margin-top: -.25em; position: relative; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } .ui-widget-icon-block { left: 50%; margin-left: -8px; display: block; } /* Misc visuals ----------------------------------*/ /* Overlays */ .ui-widget-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; } .ui-accordion .ui-accordion-header { display: block; cursor: pointer; position: relative; margin: 2px 0 0 0; padding: .5em .5em .5em .7em; font-size: 100%; } .ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; overflow: auto; } .ui-autocomplete { position: absolute; top: 0; left: 0; cursor: default; } .ui-menu { list-style: none; padding: 0; margin: 0; display: block; outline: 0; } .ui-menu .ui-menu { position: absolute; } .ui-menu .ui-menu-item { margin: 0; cursor: pointer; /* support: IE10, see #8844 */ list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"); } .ui-menu .ui-menu-item-wrapper { position: relative; padding: 3px 1em 3px .4em; } .ui-menu .ui-menu-divider { margin: 5px 0; height: 0; font-size: 0; line-height: 0; border-width: 1px 0 0 0; } .ui-menu .ui-state-focus, .ui-menu .ui-state-active { margin: -1px; } /* icon support */ .ui-menu-icons { position: relative; } .ui-menu-icons .ui-menu-item-wrapper { padding-left: 2em; } /* left-aligned */ .ui-menu .ui-icon { position: absolute; top: 0; bottom: 0; left: .2em; margin: auto 0; } /* right-aligned */ .ui-menu .ui-menu-icon { left: auto; right: 0; } .ui-button { padding: .4em 1em; display: inline-block; position: relative; line-height: normal; margin-right: .1em; cursor: pointer; vertical-align: middle; text-align: center; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; /* Support: IE <= 11 */ overflow: visible; } .ui-button, .ui-button:link, .ui-button:visited, .ui-button:hover, .ui-button:active { text-decoration: none; } /* to make room for the icon, a width needs to be set here */ .ui-button-icon-only { width: 2em; box-sizing: border-box; text-indent: -9999px; white-space: nowrap; } /* no icon support for input elements */ input.ui-button.ui-button-icon-only { text-indent: 0; } /* button icon element(s) */ .ui-button-icon-only .ui-icon { position: absolute; top: 50%; left: 50%; margin-top: -8px; margin-left: -8px; } .ui-button.ui-icon-notext .ui-icon { padding: 0; width: 2.1em; height: 2.1em; text-indent: -9999px; white-space: nowrap; } input.ui-button.ui-icon-notext .ui-icon { width: auto; height: auto; text-indent: 0; white-space: normal; padding: .4em 1em; } /* workarounds */ /* Support: Firefox 5 - 40 */ input.ui-button::-moz-focus-inner, button.ui-button::-moz-focus-inner { border: 0; padding: 0; } .ui-controlgroup { vertical-align: middle; display: inline-block; } .ui-controlgroup > .ui-controlgroup-item { float: left; margin-left: 0; margin-right: 0; } .ui-controlgroup > .ui-controlgroup-item:focus, .ui-controlgroup > .ui-controlgroup-item.ui-visual-focus { z-index: 9999; } .ui-controlgroup-vertical > .ui-controlgroup-item { display: block; float: none; width: 100%; margin-top: 0; margin-bottom: 0; text-align: left; } .ui-controlgroup-vertical .ui-controlgroup-item { box-sizing: border-box; } .ui-controlgroup .ui-controlgroup-label { padding: .4em 1em; } .ui-controlgroup .ui-controlgroup-label span { font-size: 80%; } .ui-controlgroup-horizontal .ui-controlgroup-label + .ui-controlgroup-item { border-left: none; } .ui-controlgroup-vertical .ui-controlgroup-label + .ui-controlgroup-item { border-top: none; } .ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content { border-right: none; } .ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content { border-bottom: none; } /* Spinner specific style fixes */ .ui-controlgroup-vertical .ui-spinner-input { /* Support: IE8 only, Android < 4.4 only */ width: 75%; width: calc( 100% - 2.4em ); } .ui-controlgroup-vertical .ui-spinner .ui-spinner-up { border-top-style: solid; } .ui-checkboxradio-label .ui-icon-background { box-shadow: inset 1px 1px 1px #ccc; border-radius: .12em; border: none; } .ui-checkboxradio-radio-label .ui-icon-background { width: 16px; height: 16px; border-radius: 1em; overflow: visible; border: none; } .ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon, .ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon { background-image: none; width: 8px; height: 8px; border-width: 4px; border-style: solid; } .ui-checkboxradio-disabled { pointer-events: none; } .ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; } .ui-datepicker .ui-datepicker-header { position: relative; padding: .2em 0; } .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position: absolute; top: 2px; width: 1.8em; height: 1.8em; } .ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } .ui-datepicker .ui-datepicker-prev { left: 2px; } .ui-datepicker .ui-datepicker-next { right: 2px; } .ui-datepicker .ui-datepicker-prev-hover { left: 1px; } .ui-datepicker .ui-datepicker-next-hover { right: 1px; } .ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } .ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } .ui-datepicker .ui-datepicker-title select { font-size: 1em; margin: 1px 0; } .ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year { width: 45%; } .ui-datepicker table { width: 100%; font-size: .9em; border-collapse: collapse; margin: 0 0 .4em; } .ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } .ui-datepicker td { border: 0; padding: 1px; } .ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } .ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding: 0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } .ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width: auto; overflow: visible; } .ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float: left; } /* with multiple calendars */ .ui-datepicker.ui-datepicker-multi { width: auto; } .ui-datepicker-multi .ui-datepicker-group { float: left; } .ui-datepicker-multi .ui-datepicker-group table { width: 95%; margin: 0 auto .4em; } .ui-datepicker-multi-2 .ui-datepicker-group { width: 50%; } .ui-datepicker-multi-3 .ui-datepicker-group { width: 33.3%; } .ui-datepicker-multi-4 .ui-datepicker-group { width: 25%; } .ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header, .ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width: 0; } .ui-datepicker-multi .ui-datepicker-buttonpane { clear: left; } .ui-datepicker-row-break { clear: both; width: 100%; font-size: 0; } /* RTL support */ .ui-datepicker-rtl { direction: rtl; } .ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } .ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } .ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } .ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } .ui-datepicker-rtl .ui-datepicker-buttonpane { clear: right; } .ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } .ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current, .ui-datepicker-rtl .ui-datepicker-group { float: right; } .ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header, .ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width: 0; border-left-width: 1px; } /* Icons */ .ui-datepicker .ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; left: .5em; top: .3em; } .ui-dialog { position: absolute; top: 0; left: 0; padding: .2em; outline: 0; } .ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; } .ui-dialog .ui-dialog-title { float: left; margin: .1em 0; white-space: nowrap; width: 90%; overflow: hidden; text-overflow: ellipsis; } .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 20px; margin: -10px 0 0 0; padding: 1px; height: 20px; } .ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; } .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin-top: .5em; padding: .3em 1em .5em .4em; } .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; } .ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; } .ui-dialog .ui-resizable-n { height: 2px; top: 0; } .ui-dialog .ui-resizable-e { width: 2px; right: 0; } .ui-dialog .ui-resizable-s { height: 2px; bottom: 0; } .ui-dialog .ui-resizable-w { width: 2px; left: 0; } .ui-dialog .ui-resizable-se, .ui-dialog .ui-resizable-sw, .ui-dialog .ui-resizable-ne, .ui-dialog .ui-resizable-nw { width: 7px; height: 7px; } .ui-dialog .ui-resizable-se { right: 0; bottom: 0; } .ui-dialog .ui-resizable-sw { left: 0; bottom: 0; } .ui-dialog .ui-resizable-ne { right: 0; top: 0; } .ui-dialog .ui-resizable-nw { left: 0; top: 0; } .ui-draggable .ui-dialog-titlebar { cursor: move; } .ui-draggable-handle { -ms-touch-action: none; touch-action: none; } .ui-resizable { position: relative; } .ui-resizable-handle { position: absolute; font-size: 0.1px; display: block; -ms-touch-action: none; touch-action: none; } .ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } .ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } .ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } .ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } .ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } .ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } .ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } .ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } .ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px; } .ui-progressbar { height: 2em; text-align: left; overflow: hidden; } .ui-progressbar .ui-progressbar-value { margin: -1px; height: 100%; } .ui-progressbar .ui-progressbar-overlay { background: url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+your_sha256_hashtXpvWSzA+your_sha256_hashyour_sha256_hashqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+your_sha256_hashyour_sha256_hashuz3qLVhBVeT/your_sha512_hashyour_sha512_hash/iO7FNWtcFWe+your_sha256_hashZzWT2yHOGpWMyorblKlNp8HmHEb/your_sha256_hashyour_sha256_hashNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/your_sha256_hashefVrn6XKfnt2Q9G/+your_sha256_hash6iioKSXpUAAAh+your_sha256_hashWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+your_sha256_hashyour_sha256_hashNl8JafV38aM2/your_sha512_hash+your_sha256_hashyour_sha256_hashvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/your_sha256_hashuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+your_sha256_hashae9VvWZfeB2XfPkeLmm18lUcBj+your_sha256_hash6Bq7VAAAOw=="); height: 100%; filter: alpha(opacity=25); /* support: IE8 */ opacity: 0.25; } .ui-progressbar-indeterminate .ui-progressbar-value { background-image: none; } .ui-selectable { -ms-touch-action: none; touch-action: none; } .ui-selectable-helper { position: absolute; z-index: 100; border: 1px dotted black; } .ui-selectmenu-menu { padding: 0; margin: 0; position: absolute; top: 0; left: 0; display: none; } .ui-selectmenu-menu .ui-menu { overflow: auto; overflow-x: hidden; padding-bottom: 1px; } .ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup { font-size: 1em; font-weight: bold; line-height: 1.5; padding: 2px 0.4em; margin: 0.5em 0 0 0; height: auto; border: 0; } .ui-selectmenu-open { display: block; } .ui-selectmenu-text { display: block; margin-right: 20px; overflow: hidden; text-overflow: ellipsis; } .ui-selectmenu-button.ui-button { text-align: left; white-space: nowrap; width: 14em; } .ui-selectmenu-icon.ui-icon { float: right; margin-top: 0; } .ui-slider { position: relative; text-align: left; } .ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; -ms-touch-action: none; touch-action: none; } .ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } /* support: IE8 - See #6727 */ .ui-slider.ui-state-disabled .ui-slider-handle, .ui-slider.ui-state-disabled .ui-slider-range { filter: inherit; } .ui-slider-horizontal { height: .8em; } .ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } .ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } .ui-slider-horizontal .ui-slider-range-min { left: 0; } .ui-slider-horizontal .ui-slider-range-max { right: 0; } .ui-slider-vertical { width: .8em; height: 100px; } .ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } .ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } .ui-slider-vertical .ui-slider-range-min { bottom: 0; } .ui-slider-vertical .ui-slider-range-max { top: 0; } .ui-sortable-handle { -ms-touch-action: none; touch-action: none; } .ui-spinner { position: relative; display: inline-block; overflow: hidden; padding: 0; vertical-align: middle; } .ui-spinner-input { border: none; background: none; color: inherit; padding: .222em 0; margin: .2em 0; vertical-align: middle; margin-left: .4em; margin-right: 2em; } .ui-spinner-button { width: 1.6em; height: 50%; font-size: .5em; padding: 0; margin: 0; text-align: center; position: absolute; cursor: default; display: block; overflow: hidden; right: 0; } /* more specificity required here to override default borders */ .ui-spinner a.ui-spinner-button { border-top-style: none; border-bottom-style: none; border-right-style: none; } .ui-spinner-up { top: 0; } .ui-spinner-down { bottom: 0; } .ui-tabs { position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ padding: .2em; } .ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } .ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 0; margin: 1px .2em 0 0; border-bottom-width: 0; padding: 0; white-space: nowrap; } .ui-tabs .ui-tabs-nav .ui-tabs-anchor { float: left; padding: .5em 1em; text-decoration: none; } .ui-tabs .ui-tabs-nav li.ui-tabs-active { margin-bottom: -1px; padding-bottom: 1px; } .ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor, .ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor, .ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor { cursor: text; } .ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor { cursor: pointer; } .ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } .ui-tooltip { padding: 8px; position: absolute; z-index: 9999; max-width: 300px; } body .ui-tooltip { border-width: 2px; } /* Component containers ----------------------------------*/ .ui-widget { font-family: Segoe UI,Arial,sans-serif; font-size: 1.1em; } .ui-widget .ui-widget { font-size: 1em; } .ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Segoe UI,Arial,sans-serif; font-size: 1em; } .ui-widget.ui-widget-content { border: 1px solid #d19405; } .ui-widget-content { border: 1px solid #8e846b; background: #feeebd url("images/ui-bg_highlight-soft_100_feeebd_1x100.png") 50% top repeat-x; color: #383838; } .ui-widget-content a { color: #383838; } .ui-widget-header { border: 1px solid #494437; background: #817865 url("images/ui-bg_gloss-wave_45_817865_500x100.png") 50% 50% repeat-x; color: #ffffff; font-weight: bold; } .ui-widget-header a { color: #ffffff; } /* Interaction states ----------------------------------*/ .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, /* We use html here because we need a greater specificity to make sure disabled works properly when clicked or hovered */ html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active { border: 1px solid #d19405; background: #fece2f url("images/ui-bg_gloss-wave_60_fece2f_500x100.png") 50% 50% repeat-x; font-weight: bold; color: #4c3000; } .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited, a.ui-button, a:link.ui-button, a:visited.ui-button, .ui-button { color: #4c3000; text-decoration: none; } .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus, .ui-button:hover, .ui-button:focus { border: 1px solid #a45b13; background: #ffdd57 url("images/ui-bg_gloss-wave_70_ffdd57_500x100.png") 50% 50% repeat-x; font-weight: bold; color: #381f00; } .ui-state-hover a, .ui-state-hover a:hover, .ui-state-hover a:link, .ui-state-hover a:visited, .ui-state-focus a, .ui-state-focus a:hover, .ui-state-focus a:link, .ui-state-focus a:visited, a.ui-button:hover, a.ui-button:focus { color: #381f00; text-decoration: none; } .ui-visual-focus { box-shadow: 0 0 3px 1px rgb(94, 158, 214); } .ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover { border: 1px solid #655e4e; background: #ffffff url("images/ui-bg_inset-soft_30_ffffff_1x100.png") 50% 50% repeat-x; font-weight: bold; color: #0074c7; } .ui-icon-background, .ui-state-active .ui-icon-background { border: #655e4e; background-color: #0074c7; } .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #0074c7; text-decoration: none; } /* Interaction Cues ----------------------------------*/ .ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight { border: 1px solid #eeb420; background: #fff9e5 url("images/ui-bg_gloss-wave_90_fff9e5_500x100.png") 50% top repeat-x; color: #1f1f1f; } .ui-state-checked { border: 1px solid #eeb420; background: #fff9e5; } .ui-state-highlight a, .ui-widget-content .ui-state-highlight a, .ui-widget-header .ui-state-highlight a { color: #1f1f1f; } .ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error { border: 1px solid #ffb73d; background: #d34d17 url("images/ui-bg_diagonals-medium_20_d34d17_40x40.png") 50% 50% repeat; color: #ffffff; } .ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #ffffff; } .ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #ffffff; } .ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } .ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); /* support: IE8 */ font-weight: normal; } .ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); /* support: IE8 */ background-image: none; } .ui-state-disabled .ui-icon { filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */ } /* Icons ----------------------------------*/ /* states and images */ .ui-icon { width: 16px; height: 16px; } .ui-icon, .ui-widget-content .ui-icon { background-image: url("images/ui-icons_d19405_256x240.png"); } .ui-widget-header .ui-icon { background-image: url("images/ui-icons_fadc7a_256x240.png"); } .ui-state-hover .ui-icon, .ui-state-focus .ui-icon, .ui-button:hover .ui-icon, .ui-button:focus .ui-icon { background-image: url("images/ui-icons_bd7b00_256x240.png"); } .ui-state-active .ui-icon, .ui-button:active .ui-icon { background-image: url("images/ui-icons_eb990f_256x240.png"); } .ui-state-highlight .ui-icon, .ui-button .ui-state-highlight.ui-icon { background-image: url("images/ui-icons_ed9f26_256x240.png"); } .ui-state-error .ui-icon, .ui-state-error-text .ui-icon { background-image: url("images/ui-icons_ffe180_256x240.png"); } .ui-button .ui-icon { background-image: url("images/ui-icons_3d3d3d_256x240.png"); } /* positioning */ .ui-icon-blank { background-position: 16px 16px; } .ui-icon-caret-1-n { background-position: 0 0; } .ui-icon-caret-1-ne { background-position: -16px 0; } .ui-icon-caret-1-e { background-position: -32px 0; } .ui-icon-caret-1-se { background-position: -48px 0; } .ui-icon-caret-1-s { background-position: -65px 0; } .ui-icon-caret-1-sw { background-position: -80px 0; } .ui-icon-caret-1-w { background-position: -96px 0; } .ui-icon-caret-1-nw { background-position: -112px 0; } .ui-icon-caret-2-n-s { background-position: -128px 0; } .ui-icon-caret-2-e-w { background-position: -144px 0; } .ui-icon-triangle-1-n { background-position: 0 -16px; } .ui-icon-triangle-1-ne { background-position: -16px -16px; } .ui-icon-triangle-1-e { background-position: -32px -16px; } .ui-icon-triangle-1-se { background-position: -48px -16px; } .ui-icon-triangle-1-s { background-position: -65px -16px; } .ui-icon-triangle-1-sw { background-position: -80px -16px; } .ui-icon-triangle-1-w { background-position: -96px -16px; } .ui-icon-triangle-1-nw { background-position: -112px -16px; } .ui-icon-triangle-2-n-s { background-position: -128px -16px; } .ui-icon-triangle-2-e-w { background-position: -144px -16px; } .ui-icon-arrow-1-n { background-position: 0 -32px; } .ui-icon-arrow-1-ne { background-position: -16px -32px; } .ui-icon-arrow-1-e { background-position: -32px -32px; } .ui-icon-arrow-1-se { background-position: -48px -32px; } .ui-icon-arrow-1-s { background-position: -65px -32px; } .ui-icon-arrow-1-sw { background-position: -80px -32px; } .ui-icon-arrow-1-w { background-position: -96px -32px; } .ui-icon-arrow-1-nw { background-position: -112px -32px; } .ui-icon-arrow-2-n-s { background-position: -128px -32px; } .ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } .ui-icon-arrow-2-e-w { background-position: -160px -32px; } .ui-icon-arrow-2-se-nw { background-position: -176px -32px; } .ui-icon-arrowstop-1-n { background-position: -192px -32px; } .ui-icon-arrowstop-1-e { background-position: -208px -32px; } .ui-icon-arrowstop-1-s { background-position: -224px -32px; } .ui-icon-arrowstop-1-w { background-position: -240px -32px; } .ui-icon-arrowthick-1-n { background-position: 1px -48px; } .ui-icon-arrowthick-1-ne { background-position: -16px -48px; } .ui-icon-arrowthick-1-e { background-position: -32px -48px; } .ui-icon-arrowthick-1-se { background-position: -48px -48px; } .ui-icon-arrowthick-1-s { background-position: -64px -48px; } .ui-icon-arrowthick-1-sw { background-position: -80px -48px; } .ui-icon-arrowthick-1-w { background-position: -96px -48px; } .ui-icon-arrowthick-1-nw { background-position: -112px -48px; } .ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } .ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } .ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } .ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } .ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } .ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } .ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } .ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } .ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } .ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } .ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } .ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } .ui-icon-arrowreturn-1-w { background-position: -64px -64px; } .ui-icon-arrowreturn-1-n { background-position: -80px -64px; } .ui-icon-arrowreturn-1-e { background-position: -96px -64px; } .ui-icon-arrowreturn-1-s { background-position: -112px -64px; } .ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } .ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } .ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } .ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } .ui-icon-arrow-4 { background-position: 0 -80px; } .ui-icon-arrow-4-diag { background-position: -16px -80px; } .ui-icon-extlink { background-position: -32px -80px; } .ui-icon-newwin { background-position: -48px -80px; } .ui-icon-refresh { background-position: -64px -80px; } .ui-icon-shuffle { background-position: -80px -80px; } .ui-icon-transfer-e-w { background-position: -96px -80px; } .ui-icon-transferthick-e-w { background-position: -112px -80px; } .ui-icon-folder-collapsed { background-position: 0 -96px; } .ui-icon-folder-open { background-position: -16px -96px; } .ui-icon-document { background-position: -32px -96px; } .ui-icon-document-b { background-position: -48px -96px; } .ui-icon-note { background-position: -64px -96px; } .ui-icon-mail-closed { background-position: -80px -96px; } .ui-icon-mail-open { background-position: -96px -96px; } .ui-icon-suitcase { background-position: -112px -96px; } .ui-icon-comment { background-position: -128px -96px; } .ui-icon-person { background-position: -144px -96px; } .ui-icon-print { background-position: -160px -96px; } .ui-icon-trash { background-position: -176px -96px; } .ui-icon-locked { background-position: -192px -96px; } .ui-icon-unlocked { background-position: -208px -96px; } .ui-icon-bookmark { background-position: -224px -96px; } .ui-icon-tag { background-position: -240px -96px; } .ui-icon-home { background-position: 0 -112px; } .ui-icon-flag { background-position: -16px -112px; } .ui-icon-calendar { background-position: -32px -112px; } .ui-icon-cart { background-position: -48px -112px; } .ui-icon-pencil { background-position: -64px -112px; } .ui-icon-clock { background-position: -80px -112px; } .ui-icon-disk { background-position: -96px -112px; } .ui-icon-calculator { background-position: -112px -112px; } .ui-icon-zoomin { background-position: -128px -112px; } .ui-icon-zoomout { background-position: -144px -112px; } .ui-icon-search { background-position: -160px -112px; } .ui-icon-wrench { background-position: -176px -112px; } .ui-icon-gear { background-position: -192px -112px; } .ui-icon-heart { background-position: -208px -112px; } .ui-icon-star { background-position: -224px -112px; } .ui-icon-link { background-position: -240px -112px; } .ui-icon-cancel { background-position: 0 -128px; } .ui-icon-plus { background-position: -16px -128px; } .ui-icon-plusthick { background-position: -32px -128px; } .ui-icon-minus { background-position: -48px -128px; } .ui-icon-minusthick { background-position: -64px -128px; } .ui-icon-close { background-position: -80px -128px; } .ui-icon-closethick { background-position: -96px -128px; } .ui-icon-key { background-position: -112px -128px; } .ui-icon-lightbulb { background-position: -128px -128px; } .ui-icon-scissors { background-position: -144px -128px; } .ui-icon-clipboard { background-position: -160px -128px; } .ui-icon-copy { background-position: -176px -128px; } .ui-icon-contact { background-position: -192px -128px; } .ui-icon-image { background-position: -208px -128px; } .ui-icon-video { background-position: -224px -128px; } .ui-icon-script { background-position: -240px -128px; } .ui-icon-alert { background-position: 0 -144px; } .ui-icon-info { background-position: -16px -144px; } .ui-icon-notice { background-position: -32px -144px; } .ui-icon-help { background-position: -48px -144px; } .ui-icon-check { background-position: -64px -144px; } .ui-icon-bullet { background-position: -80px -144px; } .ui-icon-radio-on { background-position: -96px -144px; } .ui-icon-radio-off { background-position: -112px -144px; } .ui-icon-pin-w { background-position: -128px -144px; } .ui-icon-pin-s { background-position: -144px -144px; } .ui-icon-play { background-position: 0 -160px; } .ui-icon-pause { background-position: -16px -160px; } .ui-icon-seek-next { background-position: -32px -160px; } .ui-icon-seek-prev { background-position: -48px -160px; } .ui-icon-seek-end { background-position: -64px -160px; } .ui-icon-seek-start { background-position: -80px -160px; } /* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ .ui-icon-seek-first { background-position: -80px -160px; } .ui-icon-stop { background-position: -96px -160px; } .ui-icon-eject { background-position: -112px -160px; } .ui-icon-volume-off { background-position: -128px -160px; } .ui-icon-volume-on { background-position: -144px -160px; } .ui-icon-power { background-position: 0 -176px; } .ui-icon-signal-diag { background-position: -16px -176px; } .ui-icon-signal { background-position: -32px -176px; } .ui-icon-battery-0 { background-position: -48px -176px; } .ui-icon-battery-1 { background-position: -64px -176px; } .ui-icon-battery-2 { background-position: -80px -176px; } .ui-icon-battery-3 { background-position: -96px -176px; } .ui-icon-circle-plus { background-position: 0 -192px; } .ui-icon-circle-minus { background-position: -16px -192px; } .ui-icon-circle-close { background-position: -32px -192px; } .ui-icon-circle-triangle-e { background-position: -48px -192px; } .ui-icon-circle-triangle-s { background-position: -64px -192px; } .ui-icon-circle-triangle-w { background-position: -80px -192px; } .ui-icon-circle-triangle-n { background-position: -96px -192px; } .ui-icon-circle-arrow-e { background-position: -112px -192px; } .ui-icon-circle-arrow-s { background-position: -128px -192px; } .ui-icon-circle-arrow-w { background-position: -144px -192px; } .ui-icon-circle-arrow-n { background-position: -160px -192px; } .ui-icon-circle-zoomin { background-position: -176px -192px; } .ui-icon-circle-zoomout { background-position: -192px -192px; } .ui-icon-circle-check { background-position: -208px -192px; } .ui-icon-circlesmall-plus { background-position: 0 -208px; } .ui-icon-circlesmall-minus { background-position: -16px -208px; } .ui-icon-circlesmall-close { background-position: -32px -208px; } .ui-icon-squaresmall-plus { background-position: -48px -208px; } .ui-icon-squaresmall-minus { background-position: -64px -208px; } .ui-icon-squaresmall-close { background-position: -80px -208px; } .ui-icon-grip-dotted-vertical { background-position: 0 -224px; } .ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } .ui-icon-grip-solid-vertical { background-position: -32px -224px; } .ui-icon-grip-solid-horizontal { background-position: -48px -224px; } .ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } .ui-icon-grip-diagonal-se { background-position: -80px -224px; } /* Misc visuals ----------------------------------*/ /* Corner radius */ .ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { border-top-left-radius: 8px; } .ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { border-top-right-radius: 8px; } .ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { border-bottom-left-radius: 8px; } .ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { border-bottom-right-radius: 8px; } /* Overlays */ .ui-widget-overlay { background: #5c5c5c; opacity: .8; filter: Alpha(Opacity=80); /* support: IE8 */ } .ui-widget-shadow { -webkit-box-shadow: -7px -7px 7px #cccccc; box-shadow: -7px -7px 7px #cccccc; } ```
```javascript /** * @license * Visual Blocks Editor * * path_to_url * * * 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. */ /** * @fileoverview Components for creating connections between blocks. * @author fenichel@google.com (Rachel Fenichel) */ 'use strict'; goog.provide('Blockly.RenderedConnection'); goog.require('Blockly.Connection'); /** * Class for a connection between blocks that may be rendered on screen. * @param {!Blockly.Block} source The block establishing this connection. * @param {number} type The type of the connection. * @extends {Blockly.Connection} * @constructor */ Blockly.RenderedConnection = function(source, type) { Blockly.RenderedConnection.superClass_.constructor.call(this, source, type); /** * Workspace units, (0, 0) is top left of block. * @type {!goog.math.Coordinate} * @private */ this.offsetInBlock_ = new goog.math.Coordinate(0, 0); }; goog.inherits(Blockly.RenderedConnection, Blockly.Connection); /** * Returns the distance between this connection and another connection in * workspace units. * @param {!Blockly.Connection} otherConnection The other connection to measure * the distance to. * @return {number} The distance between connections, in workspace units. */ Blockly.RenderedConnection.prototype.distanceFrom = function(otherConnection) { var xDiff = this.x_ - otherConnection.x_; var yDiff = this.y_ - otherConnection.y_; return Math.sqrt(xDiff * xDiff + yDiff * yDiff); }; /** * Move the block(s) belonging to the connection to a point where they don't * visually interfere with the specified connection. * @param {!Blockly.Connection} staticConnection The connection to move away * from. * @private */ Blockly.RenderedConnection.prototype.bumpAwayFrom_ = function(staticConnection) { if (this.sourceBlock_.workspace.isDragging()) { // Don't move blocks around while the user is doing the same. return; } // Move the root block. var rootBlock = this.sourceBlock_.getRootBlock(); if (rootBlock.isInFlyout) { // Don't move blocks around in a flyout. return; } var reverse = false; if (!rootBlock.isMovable()) { // Can't bump an uneditable block away. // Check to see if the other block is movable. rootBlock = staticConnection.getSourceBlock().getRootBlock(); if (!rootBlock.isMovable()) { return; } // Swap the connections and move the 'static' connection instead. staticConnection = this; reverse = true; } // Raise it to the top for extra visibility. var selected = Blockly.selected == rootBlock; selected || rootBlock.addSelect(); var dx = (staticConnection.x_ + Blockly.SNAP_RADIUS) - this.x_; var dy = (staticConnection.y_ + Blockly.SNAP_RADIUS) - this.y_; if (reverse) { // When reversing a bump due to an uneditable block, bump up. dy = -dy; } if (rootBlock.RTL) { dx = -dx; } rootBlock.moveBy(dx, dy); selected || rootBlock.removeSelect(); }; /** * Change the connection's coordinates. * @param {number} x New absolute x coordinate, in workspace coordinates. * @param {number} y New absolute y coordinate, in workspace coordinates. */ Blockly.RenderedConnection.prototype.moveTo = function(x, y) { // Remove it from its old location in the database (if already present) if (this.inDB_) { this.db_.removeConnection_(this); } this.x_ = x; this.y_ = y; // Insert it into its new location in the database. if (!this.hidden_) { this.db_.addConnection(this); } }; /** * Change the connection's coordinates. * @param {number} dx Change to x coordinate, in workspace units. * @param {number} dy Change to y coordinate, in workspace units. */ Blockly.RenderedConnection.prototype.moveBy = function(dx, dy) { this.moveTo(this.x_ + dx, this.y_ + dy); }; /** * Move this connection to the location given by its offset within the block and * the location of the block's top left corner. * @param {!goog.math.Coordinate} blockTL The location of the top left corner * of the block, in workspace coordinates. */ Blockly.RenderedConnection.prototype.moveToOffset = function(blockTL) { this.moveTo(blockTL.x + this.offsetInBlock_.x, blockTL.y + this.offsetInBlock_.y); }; /** * Set the offset of this connection relative to the top left of its block. * @param {number} x The new relative x, in workspace units. * @param {number} y The new relative y, in workspace units. */ Blockly.RenderedConnection.prototype.setOffsetInBlock = function(x, y) { this.offsetInBlock_.x = x; this.offsetInBlock_.y = y; }; /** * Move the blocks on either side of this connection right next to each other. * @private */ Blockly.RenderedConnection.prototype.tighten_ = function() { var dx = this.targetConnection.x_ - this.x_; var dy = this.targetConnection.y_ - this.y_; if (dx != 0 || dy != 0) { var block = this.targetBlock(); var svgRoot = block.getSvgRoot(); if (!svgRoot) { throw 'block is not rendered.'; } // Workspace coordinates. var xy = Blockly.utils.getRelativeXY(svgRoot); block.getSvgRoot().setAttribute('transform', 'translate(' + (xy.x - dx) + ',' + (xy.y - dy) + ')'); block.moveConnections_(-dx, -dy); } }; /** * Find the closest compatible connection to this connection. * All parameters are in workspace units. * @param {number} maxLimit The maximum radius to another connection. * @param {!goog.math.Coordinate} dxy Offset between this connection's location * in the database and the current location (as a result of dragging). * @return {!{connection: ?Blockly.Connection, radius: number}} Contains two * properties: 'connection' which is either another connection or null, * and 'radius' which is the distance. */ Blockly.RenderedConnection.prototype.closest = function(maxLimit, dxy) { return this.dbOpposite_.searchForClosest(this, maxLimit, dxy); }; /** * Add highlighting around this connection. */ Blockly.RenderedConnection.prototype.highlight = function() { var steps; steps = 'm -20,0 h 5 ' + Blockly.BlockSvg.NOTCH_PATH_LEFT + ' h 5'; var xy = this.sourceBlock_.getRelativeToSurfaceXY(); var x = this.x_ - xy.x; var y = this.y_ - xy.y; Blockly.Connection.highlightedPath_ = Blockly.utils.createSvgElement( 'path', { 'class': 'blocklyHighlightedConnectionPath', 'd': steps, transform: 'translate(' + x + ',' + y + ')' + (this.sourceBlock_.RTL ? ' scale(-1 1)' : '') }, this.sourceBlock_.getSvgRoot()); }; /** * Unhide this connection, as well as all down-stream connections on any block * attached to this connection. This happens when a block is expanded. * Also unhides down-stream comments. * @return {!Array.<!Blockly.Block>} List of blocks to render. */ Blockly.RenderedConnection.prototype.unhideAll = function() { this.setHidden(false); // All blocks that need unhiding must be unhidden before any rendering takes // place, since rendering requires knowing the dimensions of lower blocks. // Also, since rendering a block renders all its parents, we only need to // render the leaf nodes. var renderList = []; if (this.type != Blockly.INPUT_VALUE && this.type != Blockly.NEXT_STATEMENT) { // Only spider down. return renderList; } var block = this.targetBlock(); if (block) { var connections; if (block.isCollapsed()) { // This block should only be partially revealed since it is collapsed. connections = []; block.outputConnection && connections.push(block.outputConnection); block.nextConnection && connections.push(block.nextConnection); block.previousConnection && connections.push(block.previousConnection); } else { // Show all connections of this block. connections = block.getConnections_(true); } for (var i = 0; i < connections.length; i++) { renderList.push.apply(renderList, connections[i].unhideAll()); } if (!renderList.length) { // Leaf block. renderList[0] = block; } } return renderList; }; /** * Remove the highlighting around this connection. */ Blockly.RenderedConnection.prototype.unhighlight = function() { goog.dom.removeNode(Blockly.Connection.highlightedPath_); delete Blockly.Connection.highlightedPath_; }; /** * Set whether this connections is hidden (not tracked in a database) or not. * @param {boolean} hidden True if connection is hidden. */ Blockly.RenderedConnection.prototype.setHidden = function(hidden) { this.hidden_ = hidden; if (hidden && this.inDB_) { this.db_.removeConnection_(this); } else if (!hidden && !this.inDB_) { this.db_.addConnection(this); } }; /** * Hide this connection, as well as all down-stream connections on any block * attached to this connection. This happens when a block is collapsed. * Also hides down-stream comments. */ Blockly.RenderedConnection.prototype.hideAll = function() { this.setHidden(true); if (this.targetConnection) { var blocks = this.targetBlock().getDescendants(false); for (var i = 0; i < blocks.length; i++) { var block = blocks[i]; // Hide all connections of all children. var connections = block.getConnections_(true); for (var j = 0; j < connections.length; j++) { connections[j].setHidden(true); } // Close all bubbles of all children. var icons = block.getIcons(); for (var j = 0; j < icons.length; j++) { icons[j].setVisible(false); } } } }; /** * Check if the two connections can be dragged to connect to each other. * @param {!Blockly.Connection} candidate A nearby connection to check. * @param {number} maxRadius The maximum radius allowed for connections, in * workspace units. * @return {boolean} True if the connection is allowed, false otherwise. */ Blockly.RenderedConnection.prototype.isConnectionAllowed = function(candidate, maxRadius) { if (this.distanceFrom(candidate) > maxRadius) { return false; } return Blockly.RenderedConnection.superClass_.isConnectionAllowed.call(this, candidate); }; /** * Disconnect two blocks that are connected by this connection. * @param {!Blockly.Block} parentBlock The superior block. * @param {!Blockly.Block} childBlock The inferior block. * @private */ Blockly.RenderedConnection.prototype.disconnectInternal_ = function(parentBlock, childBlock) { Blockly.RenderedConnection.superClass_.disconnectInternal_.call(this, parentBlock, childBlock); // Rerender the parent so that it may reflow. if (parentBlock.rendered) { parentBlock.render(); } if (childBlock.rendered) { childBlock.updateDisabled(); childBlock.render(); } }; /** * Respawn the shadow block if there was one connected to the this connection. * Render/rerender blocks as needed. * @private */ Blockly.RenderedConnection.prototype.respawnShadow_ = function() { var parentBlock = this.getSourceBlock(); // Respawn the shadow block if there is one. var shadow = this.getShadowDom(); if (parentBlock.workspace && shadow && Blockly.Events.recordUndo) { Blockly.RenderedConnection.superClass_.respawnShadow_.call(this); var blockShadow = this.targetBlock(); if (!blockShadow) { throw 'Couldn\'t respawn the shadow block that should exist here.'; } blockShadow.initSvg(); blockShadow.render(false); if (parentBlock.rendered) { parentBlock.render(); } } }; /** * Find all nearby compatible connections to this connection. * Type checking does not apply, since this function is used for bumping. * @param {number} maxLimit The maximum radius to another connection, in * workspace units. * @return {!Array.<!Blockly.Connection>} List of connections. * @private */ Blockly.RenderedConnection.prototype.neighbours_ = function(maxLimit) { return this.dbOpposite_.getNeighbours(this, maxLimit); }; /** * Connect two connections together. This is the connection on the superior * block. Rerender blocks as needed. * @param {!Blockly.Connection} childConnection Connection on inferior block. * @private */ Blockly.RenderedConnection.prototype.connect_ = function(childConnection) { Blockly.RenderedConnection.superClass_.connect_.call(this, childConnection); var parentConnection = this; var parentBlock = parentConnection.getSourceBlock(); var childBlock = childConnection.getSourceBlock(); if (parentBlock.rendered) { parentBlock.updateDisabled(); } if (childBlock.rendered) { childBlock.updateDisabled(); } if (parentBlock.rendered && childBlock.rendered) { if (parentConnection.type == Blockly.NEXT_STATEMENT || parentConnection.type == Blockly.PREVIOUS_STATEMENT) { // Child block may need to square off its corners if it is in a stack. // Rendering a child will render its parent. childBlock.render(); } else { // Child block does not change shape. Rendering the parent node will // move its connected children into position. parentBlock.render(); } } }; /** * Function to be called when this connection's compatible types have changed. * @private */ Blockly.RenderedConnection.prototype.onCheckChanged_ = function() { // The new value type may not be compatible with the existing connection. if (this.isConnected() && !this.checkType_(this.targetConnection)) { var child = this.isSuperior() ? this.targetBlock() : this.sourceBlock_; child.unplug(); // Bump away. this.sourceBlock_.bumpNeighbours_(); } }; ```
```xml import { Component, ChangeDetectionStrategy, OnInit, ChangeDetectorRef, } from '@angular/core'; import { getThemes } from '@covalent/echarts/base'; import { ITdWordCloudData } from '@covalent/echarts/wordcloud'; import { ChartThemeSelectorService } from '../../../../../../utilities/chart-theme'; @Component({ selector: 'wordcloud-demo-basic', templateUrl: './wordcloud-demo-basic.component.html', styleUrls: ['./wordcloud-demo-basic.component.scss'], changeDetection: ChangeDetectionStrategy.OnPush, }) export class WordcloudDemoBasicComponent implements OnInit { themes: string[] = getThemes(); selectedTheme!: string; words: string[] = [ 'Covalent', 'Teradata', 'Angular', 'TypeScript', 'JavaScript', 'Protractor', 'Karma', 'Ruby', 'Rails', 'Ruby on Rails', 'Java', 'Scala', 'RSpec', 'Cucumber', 'JUnit', 'Elixir', 'Twitter Bootstrap', 'HTML', 'CSS', 'SASS', 'PHP', ]; words2: string[] = [ 'Engineering', 'Applied Science', 'Engineering Science', 'Innovation', 'Tech', 'Technological', 'Computing', 'Informatics', 'Biotechnology', 'Science', 'Telematics', 'Industry', 'Research', 'Information', 'Development', 'Cyber', 'Energy', 'Techs', 'Technicians', 'Computerization', 'Techno', ]; componentExampleRandomWords: ITdWordCloudData[] = this.generateRandomWords( this.words2 ); // Chart config config: any = { tooltip: {}, series: [ { type: 'wordCloud', shape: 'triangle', sizeRange: [8, 50], rotationRange: [-30, 30], color: this.randomColor, data: this.generateRandomWords(this.words), }, ], }; constructor( private _cdr: ChangeDetectorRef, public themeSelector: ChartThemeSelectorService ) {} async ngOnInit(): Promise<void> { this.selectedTheme = this.themeSelector.selected; this._cdr.markForCheck(); } randomColor(): string { return ( 'rgb(' + [ Math.round(Math.random() * 160), Math.round(Math.random() * 160), Math.round(Math.random() * 160), ].join(',') + ')' ); } generateRandomWords(words: string[]): ITdWordCloudData[] { const wordList = []; for (let i = 0; i < 30; i++) { wordList.push({ name: words[Math.floor(Math.random() * words.length)], value: Math.floor(Math.random() * 100), textStyle: { normal: { fontFamily: 'sans-serif', fontWeight: 'bold', }, color: this.randomColor(), }, }); } return wordList; } selectChartTheme(theme: string): void { this.themeSelector.select(theme); } } ```
Mount Auburn Cemetery, located in Cambridge and Watertown, Massachusetts, is the first rural or garden cemetery in the United States. It is the burial site of many prominent Boston Brahmins, and is a National Historic Landmark. Dedicated in 1831 and set with classical monuments in a rolling landscaped terrain, it marked a distinct break with Colonial-era burying grounds and church-affiliated graveyards. The appearance of this type of landscape coincides with the rising popularity of the term "cemetery," derived from the Greek for "a sleeping place," instead of graveyard. This language and outlook eclipsed the previous harsh view of death and the afterlife embodied by old graveyards and church burial plots. The cemetery is important both for its historical aspects and for its role as an arboretum. It is Watertown's largest contiguous open space and extends into Cambridge to the east, adjacent to the Cambridge City Cemetery and Sand Banks Cemetery. It was designated a National Historic Landmark District in 2003 for its pioneering role in 19th-century cemetery development. History The land that became Mount Auburn Cemetery was originally named Stone's Farm, though locals referred to it as "Sweet Auburn" after the 1770 poem "The Deserted Village" by Oliver Goldsmith. Mount Auburn Cemetery was inspired by Père Lachaise Cemetery in Paris and was itself an inspiration to cemetery designers, most notably at Green-Wood Cemetery in Brooklyn (1838), Hollywood Cemetery in Richmond, Virginia, and Abney Park in London. Mount Auburn Cemetery was designed largely by Henry Alexander Scammell Dearborn with assistance from Jacob Bigelow and Alexander Wadsworth. Bigelow came up with the idea for Mount Auburn as early as 1825, though a site was not acquired until five years later. Bigelow, a medical doctor, was concerned about the unhealthiness of burials under churches as well as the possibility of running out of space. With help from the Massachusetts Horticultural Society, Mount Auburn Cemetery was founded on of land authorized by the Massachusetts Legislature for use as a garden or rural cemetery. The original land cost $6,000; it was later extended to . The main gate was built in the Egyptian Revival style and cost . The first president of the Mount Auburn Association, Supreme Court Justice Joseph Story, dedicated the cemetery in 1831. Story's dedication address, delivered on September 24, 1831, set the model for many more addresses in the following three decades. Garry Wills focuses on it as an important precursor to President Lincoln's Gettysburg Address. The cemetery is credited as the beginning of the American public parks and gardens movement. It set the style for other suburban American cemeteries such as Laurel Hill Cemetery (Philadelphia, 1836), Mount Hope Cemetery (Bangor, Maine, 1834), America's first municipal rural cemetery; Green-Wood Cemetery (Brooklyn, 1838), The Green Mount Cemetery (Baltimore, Maryland, 1839) Mount Hope Cemetery (Rochester, NY, 1838), Lowell Cemetery (Lowell, Massachusetts, 1841), Allegheny Cemetery (Pittsburgh, 1844), Albany Rural Cemetery (Menands, New York, 1844), Swan Point Cemetery (Providence, Rhode Island 1846), Spring Grove Cemetery (Cincinnati, 1844), and Forest Hills Cemetery (Jamaica Plain, 1848) as well as Oakwood Cemetery in Syracuse, New York. It can be considered the link between Capability Brown's English landscape gardens and Frederick Law Olmsted's Central Park in New York (1850s). Mount Auburn was established at a time when Americans had a sentimental interest in rural cemeteries. It is still well known for its tranquil atmosphere and accepting attitude toward death. Many of the more traditional monuments feature poppy flowers, symbols of blissful sleep. In the late 1830s, its first unofficial guide, Picturesque Pocket Companion and Visitor's Guide Through Mt. Auburn, was published and featured descriptions of some of the more interesting monuments as well as a collection of prose and poetry about death by writers including Nathaniel Hawthorne and Willis Gaylord Clark. Because of the number of visitors, the cemetery's developers carefully regulated the grounds: they had a policy to remove "offensive and improper" monuments and only "proprietors" (i.e., plot owners) could have vehicles on the grounds and were allowed within the gates on Sundays and holidays. However, Mount Auburn differed from previously established cemeteries in that it was open to the general public and was not restricted to specific religious groups, reflecting the growing religious pluralism of Boston during the time. In the 1840s, Mount Auburn was considered one of the most popular tourist destinations in the nation, along with Niagara Falls and Mount Vernon. A 16-year-old Emily Dickinson wrote about her visit to Mount Auburn in a letter in 1846. 60,000 people visited the cemetery in 1848 alone. Buildings The cemetery has three notable buildings on its grounds. Washington Tower was designed by Bigelow and built in 1852–54. Named for George Washington, the tower was built of Quincy granite and provides excellent views of the area. Bigelow Chapel was built in the 1840s and rebuilt in the 1850s, also of Quincy granite, and was renovated in 1899 under the direction of architect Willard Sears to accommodate a crematorium. Its interior was again renovated in 1924 by Allen and Collins. Through all of these alterations, stained-glass windows by the Scottish firm of Allan & Ballantyne were preserved. In 1870 the cemetery trustees, feeling the need for additional function space, purchased land across Mount Auburn Street and constructed a reception house. This building was supplanted in the 1890s by the construction of the Story Chapel and Administration Building, adjacent to the main gate. The first reception house was designed by Nathaniel J. Bradlee, and is (like the cemetery) listed on the National Register of Historic Places. The second building was designed by Willard Sears, and is built of Potsdam sandstone in what Sears characterized as "English Perpendicular Style". The chapel in this building was redecorated in 1929 by Allen and Collins to include stained-glass by New England artist Earl E. Sanborn. Cemetery today More than 93,000 people are buried in the cemetery as of 2003. A number of historically significant people have been interred there since its inception, particularly members of the Boston Brahmins and the Boston elite associated with Harvard University, as well as a number of prominent Unitarians. The cemetery is nondenominational and continues to make space available for new plots. The area is well known for its beautiful environs and is a favorite location for bird-watchers; over 220 species of birds have been observed at the cemetery since 1958. Guided tours of the cemetery's historic, artistic, and horticultural points of interest are available. Mount Auburn's collection of over 5,500 trees includes nearly 700 species and varieties. Thousands of very well-kept shrubs and herbaceous plants weave through the cemetery's hills, ponds, woodlands, and clearings. The cemetery contains more than 10 miles (17 km) of roads and many paths. Landscaping styles range from Victorian-era plantings to contemporary gardens, from natural woodlands to formal ornamental gardens, and from sweeping vistas through majestic trees to small enclosed spaces. Many trees, shrubs, and herbaceous plants are tagged with botanic labels containing their scientific and common names. The cemetery was among those profiled in the 2005 PBS documentary A Cemetery Special. Notable burials Photo gallery See also List of National Historic Landmarks in Massachusetts National Register of Historic Places listings in Cambridge, Massachusetts Mount Pleasant Cemetery, Toronto, modelled after Mount Auburn References Further reading Nathaniel Dearborn. A concise history of, and guide through Mount Auburn: with a catalogue of lots laid out in that cemetery; a map of the grounds, and terms of subscription, regulations concerning visitors, interments, &c., &c. Boston: N. Dearborn, 1843. 1857 ed. Moses King. [https://books.google.com/books?id=pjYXAAAAYAAJ Mount Auburn cemetery]: including also a brief history and description of Cambridge, Harvard University, and the Union Railway Company. Cambridge, Massachusetts: Moses King, 1883. Aaron Sachs (historian). Arcadian America: The Death and Life of an Environmental Tradition. New Haven: Yale University Press, 2013. External links Mount Auburn Cemetery official site Mount Auburn Cemetery: A New American Landscape, a National Park Service Teaching with Historic Places (TwHP) lesson plan Buildings and structures in Cambridge, Massachusetts Botanical gardens in Massachusetts National Historic Landmarks in Cambridge, Massachusetts Historic districts in Middlesex County, Massachusetts Buildings and structures in Watertown, Massachusetts Cemeteries established in the 1830s Cemeteries on the National Register of Historic Places in Massachusetts Cemeteries in Middlesex County, Massachusetts History of Cambridge, Massachusetts 1831 establishments in Massachusetts Historic districts on the National Register of Historic Places in Massachusetts National Register of Historic Places in Cambridge, Massachusetts Rural cemeteries
Christian Scharnweber (born 1972) is a German electronic music producer and DJ. He records under the name DJ Mellow D and Mellow Trax; it is under this name that he had his hits. His first song, Phuture Vibes, was a domestic hit, charting at #15 on the Austrian Singles Chart. However, his next song, "Outa Space", was an international smash, charting at #14 in Austria as well as #42 in Switzerland, #27 in France, #41 on the UK Singles Chart and #43 on the Hot Dance Music/Maxi-Singles Sales chart in the US. His final hit, coming two years later, was a remix of Shaft's "(Mucho Mambo) Sway", which charted at #43 in Austria. Discography References German DJs 1972 births Living people Electronic dance music DJs
Igreja de Nossa Senhora da Conceição is a church in Portugal. It is classified as a National Monument. Churches in Beja District National monuments in Beja District
```xml <Project Sdk="Microsoft.NET.Sdk"> <Import Project="..\..\..\..\common.props" /> <Import Project="..\..\..\..\configureawait.props" /> <PropertyGroup> <TargetFramework>net8.0</TargetFramework> <RootNamespace /> </PropertyGroup> <ItemGroup> <ProjectReference Include="..\..\..\..\framework\src\Volo.Abp.EntityFrameworkCore\Volo.Abp.EntityFrameworkCore.csproj" /> <ProjectReference Include="..\Volo.CmsKit.Domain\Volo.CmsKit.Domain.csproj" /> <ProjectReference Include="..\..\..\..\modules\users\src\Volo.Abp.Users.EntityFrameworkCore\Volo.Abp.Users.EntityFrameworkCore.csproj" /> </ItemGroup> </Project> ```
Nikolay Zubov may refer to: Nikolay Alexandrovich Zubov (1763-1805), Russian nobleman Nikolay Nikolaevich Zubov (1885-1960), Russian naval officer and oceanographer Nikolay Zubov (icebreaker), see Project 23550 patrol ship
Terry Riley: Requiem for Adam is a studio album by the Kronos Quartet. The music was composed by Terry Riley, commissioned by the quartet; the album is a requiem for Adam Harrington, the son of Kronos co-founder David Harrington. Genesis and composition Adam Harrington, age 16, died of heart failure caused by a blood clot, sustained while hiking with his family on Mount Diablo, a 3,849 feet mountain in the San Francisco Bay Area, on Easter Sunday, 1995. Riley finished the three-movement composition in 1998, and it was first performed in the Concertgebouw in Amsterdam on 28 June 1999; David Harrington recalls that this performance was "the most powerful in his memory." The requiem has been in the quartet's repertoire ever since. As Terry Riley explains in the liner notes, the first movement has a rising sequential four-note motif moving upwards, and a series of variations on this pattern, ending with the motive being played in upper-register harmonics. The title of the second movement alludes to the spot where Adam Harrington suffered his accident. An electronic soundtrack of horns and percussion (played by Riley on an Ensoniq TS 12) is the background for the strings, in what Riley calls a "New Orleans Dixieland" kind of funeral march. The third movement is an A-B-C-A-B coda, in which a two-note motif opens and closes the composition, two notes representing the two syllables of Adam's name. The fourth track, "The Philosopher's Hand," is a solo piano improvisation by Riley inspired by the late Pandit Pran Nath; Riley at the time was working on Atlantis Nath, a tribute to the Indian master. Pran Nath had been at Adam's memorial service and taken David Harrington's hand; Harrington remarked later that it was the softest hand he'd ever held. Terry Riley and the Kronos Quartet Terry Riley and the Kronos Quartet have been collaborating since 1978, when Riley taught composition, improvisation, and Hindustani classical music at Mills College in Oakland, California, and the quartet were artists in residence. Both parties benefitted from the exchange. In the words of Joan Jeanrenaud (Kronos cellist until 1998), "Terry shaped how Kronos shaped the music we played"; the Kronos Quartet, in turn, helped Riley "to move beyond the minimalism of his early period." Riley has composed many works for the quartet, including Sunrise of the Planetary Dream Collector, G-Song, and Cadenza on the Night Plain, released on Cadenza on the Night Plain (1988); and the four compositions on the 1989 double-CD Salome Dances for Peace. Critical reception Rob Cowan in The Independent called it "humbling but ultimately life-affirming," praising its "silvery harmonics, quiet yet flowing and as unsentimental as late Beethoven," and its "inconsolable glissandos." John von Rhein of the Chicago Tribune assigns it first place in his top-10 of 2001 recordings. Allen Gimbel, reviewing works by Riley in the American Record Guide, says the requiem is "undeniably quirky" but "quite effective and exhibit[ing] a substantial emotional range": "it's hard not to be moved." Peter Lavezzoli says "it has been regarded as the most compelling recording by either Riley or the Kronos Quartet." Track listing Personnel Musicians David Harrington – violin John Sherba – violin Hank Dutt – viola Jennifer Culp – cello Terry Riley – piano Production "Ascending the Heaven Ladder," "Requiem for Adam," and "The Philosopher's Hand" recorded August 2000 at Skywalker Sound, Nicasio, California Leslie Ann Jones – engineer Dann Thompson – assistant engineer Jeanne Velonis – editing assistant "Cortejo Fúnebre en el Monte Diablo" recorded April 1999 at Skywalker Sound Craig Silvey – engineer Bob Levy – assistant engineer See also List of 2001 albums References 2001 classical albums Kronos Quartet albums Nonesuch Records albums
```yaml identifier: pandora_stm32l475 name: STM32L475 Pandora type: mcu arch: arm toolchain: - zephyr - gnuarmemb - xtools ram: 128 flash: 512 supported: - gpio - counter ```
```java /** * This file is part of Skript. * * Skript is free software: you can redistribute it and/or modify * (at your option) any later version. * * Skript 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 Skript. If not, see <path_to_url * * */ package ch.njol.skript.expressions; import org.bukkit.entity.Entity; import org.eclipse.jdt.annotation.Nullable; import ch.njol.skript.doc.Description; import ch.njol.skript.doc.Examples; import ch.njol.skript.doc.Name; import ch.njol.skript.doc.Since; import ch.njol.skript.expressions.base.SimplePropertyExpression; import ch.njol.skript.lang.Expression; import ch.njol.skript.lang.SkriptParser; import ch.njol.util.Kleenean; @Name("Last Attacker") @Description("The last block or entity that attacked an entity.") @Examples({"send \"%last attacker of event-entity%\""}) @Since("2.5.1") public class ExprLastAttacker extends SimplePropertyExpression<Entity, Object> { static { register(ExprLastAttacker.class, Object.class, "last attacker", "entity"); } @Nullable private ExprAttacker attackerExpr; @Override public boolean init(Expression<?>[] exprs, int matchedPattern, Kleenean isDelayed, SkriptParser.ParseResult parseResult) { attackerExpr = new ExprAttacker(); setExpr((Expression<? extends Entity>) exprs[0]); return true; } @Nullable @Override @SuppressWarnings("null") public Object convert(Entity entity) { return attackerExpr.get(entity.getLastDamageCause())[0]; } @Override public Class<?> getReturnType() { return Object.class; } @Override protected String getPropertyName() { return "last attacker"; } } ```
```ruby module ChunkyPNG class Canvas # Methods to export a canvas to a PNG data URL. module DataUrlExporting # Exports the canvas as a data url (e.g. data:image/png;base64,<data>) that can # easily be used inline in CSS or HTML. # @return [String] The canvas formatted as a data URL string. def to_data_url ['data:image/png;base64,', to_blob].pack('A*m').gsub(/\n/, '') end end end end ```
Trigeminostola is a genus of moths of the family Noctuidae. References Natural History Museum Lepidoptera genus database Plusiinae
```javascript /*eslint-disable react/prop-types*/ import React, {Component, PropTypes} from 'react'; import {Link} from 'react-router'; class SidebarLink extends Component { render() { return ( <li className={this.context.router.isActive(this.props.to, true) ? 'active' : ''}> <Link {...this.props}> <i className={`fa ${this.props.icon || 'fa-circle-o'}`}/><span>{this.props.children}</span> </Link> </li> ); } } SidebarLink.contextTypes = { router: PropTypes.object.isRequired }; SidebarLink.propTypes = { to: PropTypes.string.isRequired, icon: PropTypes.string, children: PropTypes.string.isRequired }; export default SidebarLink; ```
```objective-c /* * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #ifndef MODULES_AUDIO_CODING_ACM2_ACM_RECEIVE_TEST_H_ #define MODULES_AUDIO_CODING_ACM2_ACM_RECEIVE_TEST_H_ #include <stddef.h> // for size_t #include <memory> #include <string> #include "api/audio_codecs/audio_decoder_factory.h" #include "api/scoped_refptr.h" #include "rtc_base/constructor_magic.h" #include "system_wrappers/include/clock.h" namespace webrtc { class AudioCodingModule; class AudioDecoder; namespace test { class AudioSink; class PacketSource; class AcmReceiveTestOldApi { public: enum NumOutputChannels : size_t { kArbitraryChannels = 0, kMonoOutput = 1, kStereoOutput = 2, kQuadOutput = 4 }; AcmReceiveTestOldApi(PacketSource* packet_source, AudioSink* audio_sink, int output_freq_hz, NumOutputChannels exptected_output_channels, rtc::scoped_refptr<AudioDecoderFactory> decoder_factory); virtual ~AcmReceiveTestOldApi(); // Registers the codecs with default parameters from ACM. void RegisterDefaultCodecs(); // Registers codecs with payload types matching the pre-encoded NetEq test // files. void RegisterNetEqTestCodecs(); // Runs the test and returns true if successful. void Run(); AudioCodingModule* get_acm() { return acm_.get(); } protected: // Method is called after each block of output audio is received from ACM. virtual void AfterGetAudio() {} SimulatedClock clock_; std::unique_ptr<AudioCodingModule> acm_; PacketSource* packet_source_; AudioSink* audio_sink_; int output_freq_hz_; NumOutputChannels exptected_output_channels_; RTC_DISALLOW_COPY_AND_ASSIGN(AcmReceiveTestOldApi); }; // This test toggles the output frequency every |toggle_period_ms|. The test // starts with |output_freq_hz_1|. Except for the toggling, it does the same // thing as AcmReceiveTestOldApi. class AcmReceiveTestToggleOutputFreqOldApi : public AcmReceiveTestOldApi { public: AcmReceiveTestToggleOutputFreqOldApi( PacketSource* packet_source, AudioSink* audio_sink, int output_freq_hz_1, int output_freq_hz_2, int toggle_period_ms, NumOutputChannels exptected_output_channels); protected: void AfterGetAudio() override; const int output_freq_hz_1_; const int output_freq_hz_2_; const int toggle_period_ms_; int64_t last_toggle_time_ms_; }; } // namespace test } // namespace webrtc #endif // MODULES_AUDIO_CODING_ACM2_ACM_RECEIVE_TEST_H_ ```
```javascript // Generic Bootstrap v4 fade (no-fade) transition component // // Assumes that `show` class is not required when // the transition has finished the enter transition // (show and fade classes are only applied during transition) import { extend, mergeData } from '../../vue' import { NAME_TRANSITION } from '../../constants/components' import { PROP_TYPE_BOOLEAN, PROP_TYPE_OBJECT, PROP_TYPE_STRING } from '../../constants/props' import { isPlainObject } from '../../utils/inspect' import { makeProp } from '../../utils/props' // --- Constants --- const NO_FADE_PROPS = { name: '', enterClass: '', enterActiveClass: '', enterToClass: 'show', leaveClass: 'show', leaveActiveClass: '', leaveToClass: '' } const FADE_PROPS = { ...NO_FADE_PROPS, enterActiveClass: 'fade', leaveActiveClass: 'fade' } // --- Props --- export const props = { // Has no effect if `trans-props` provided appear: makeProp(PROP_TYPE_BOOLEAN, false), // Can be overridden by user supplied `trans-props` mode: makeProp(PROP_TYPE_STRING), // Only applicable to the built in transition // Has no effect if `trans-props` provided noFade: makeProp(PROP_TYPE_BOOLEAN, false), // For user supplied transitions (if needed) transProps: makeProp(PROP_TYPE_OBJECT) } // --- Main component --- // @vue/component export const BVTransition = /*#__PURE__*/ extend({ name: NAME_TRANSITION, functional: true, props, render(h, { children, data, props }) { let transProps = props.transProps if (!isPlainObject(transProps)) { transProps = props.noFade ? NO_FADE_PROPS : FADE_PROPS if (props.appear) { // Default the appear classes to equal the enter classes transProps = { ...transProps, appear: true, appearClass: transProps.enterClass, appearActiveClass: transProps.enterActiveClass, appearToClass: transProps.enterToClass } } } transProps = { mode: props.mode, ...transProps, // We always need `css` true css: true } const dataCopy = { ...data } delete dataCopy.props return h( 'transition', // Any transition event listeners will get merged here mergeData(dataCopy, { props: transProps }), children ) } }) ```
Umerali Shihab AlHussainy Pookoya Thangal was an Islamic leader from Kerala, India. Life The second son of the eminent Muslim League Leader Pookoya Thangal, Umerali Shihab Thangal was a judge in Wayanad, Kerala. He was the chairman of the Kerala Waqf Board and president of the Sunni Yuvajana Sangham. Thangal died of cancer at Malappuram on 3 July 2008, aged 68. References Sharia judges Deaths from cancer in India 2008 deaths Islam in Kerala 20th-century births Indian Union Muslim League politicians People from Wayanad district Kerala Sunni-Shafi'i scholars
```c /** * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ #include "stdlib/math/base/special/croundn.h" #include "stdlib/math/base/napi/binary.h" // cppcheck-suppress shadowFunction STDLIB_MATH_BASE_NAPI_MODULE_ZI_Z( stdlib_base_croundn ) ```
```xml <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="path_to_url"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Debug|Win32"> <Configuration>Debug</Configuration> <Platform>Win32</Platform> </ProjectConfiguration> <ProjectConfiguration Include="Release|Win32"> <Configuration>Release</Configuration> <Platform>Win32</Platform> </ProjectConfiguration> </ItemGroup> <PropertyGroup Label="Globals"> <ProjectGuid>{955C9C33-5364-4F02-9D59-65657E8DFBA9}</ProjectGuid> <Keyword>Win32Proj</Keyword> <RootNamespace>cpu_timer_test</RootNamespace> <WindowsTargetPlatformVersion>10.0.16299.0</WindowsTargetPlatformVersion> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>true</UseDebugLibraries> <CharacterSet>Unicode</CharacterSet> <PlatformToolset>v141</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>Application</ConfigurationType> <UseDebugLibraries>false</UseDebugLibraries> <WholeProgramOptimization>true</WholeProgramOptimization> <CharacterSet>Unicode</CharacterSet> <PlatformToolset>v141</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> </ImportGroup> <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> <Import Project="..\common.props" /> </ImportGroup> <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> <Import Project="..\common.props" /> </ImportGroup> <PropertyGroup Label="UserMacros" /> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <LinkIncremental>true</LinkIncremental> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <LinkIncremental>false</LinkIncremental> </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> <PrecompiledHeader> </PrecompiledHeader> <Optimization>Disabled</Optimization> <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> </ClCompile> <Link> <SubSystem>Console</SubSystem> <GenerateDebugInformation>true</GenerateDebugInformation> </Link> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> <WarningLevel>Level3</WarningLevel> <PrecompiledHeader> </PrecompiledHeader> <Optimization>MaxSpeed</Optimization> <FunctionLevelLinking>true</FunctionLevelLinking> <IntrinsicFunctions>true</IntrinsicFunctions> <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> </ClCompile> <Link> <SubSystem>Console</SubSystem> <GenerateDebugInformation>true</GenerateDebugInformation> <EnableCOMDATFolding>true</EnableCOMDATFolding> <OptimizeReferences>true</OptimizeReferences> </Link> </ItemDefinitionGroup> <ItemGroup> <ClCompile Include="..\..\cpu_timer_test.cpp" /> </ItemGroup> <ItemGroup> <ProjectReference Include="..\chrono_dll\chrono_dll.vcxproj"> <Project>{c88697d9-587c-4649-aa39-8819a96a2a12}</Project> </ProjectReference> <ProjectReference Include="..\system_dll\system_dll.vcxproj"> <Project>{443dd1e8-4d52-4323-8280-a2320df7ef6d}</Project> </ProjectReference> <ProjectReference Include="..\timer_dll\timer_dll.vcxproj"> <Project>{8a6cf2a1-c5f7-4119-b510-88b98197bcb2}</Project> </ProjectReference> </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> </ImportGroup> </Project> ```
The Utah Olympic Park Jumps is a ski jumping venue at the Utah Olympic Park in Park City, Utah, United States. It is a venue in the FIS Ski jumping World Cup, and the host of 2002 Winter Olympics. Salt Lake City won its 1995 bid to host the 2002 Winter Olympics, and plans were developed to expand the park. On October 9, 1997 SLOC approved the plan to spend an additional $48 million to upgrade and expand the recently completed park. The plans called for replacing and moving the existing 90-meter ski jump, and building a brand new 120-meter jump. Venues of the 2002 Winter Olympics Ski jumping venues in the United States Sports venues in Salt Lake City
Sacred Heart Higher Secondary School is a Catholic school in Dwaraka, Wayanad, Kerala, India. This school was started in 1983 by the Norbertine religious order. Today there are about 1500 students and 75 staff. References Catholic secondary schools in India Premonstratensian Order Christian schools in Kerala High schools and secondary schools in Kerala Schools in Wayanad district Mananthavady Area Educational institutions established in 1983 1983 establishments in Kerala