text
stringlengths
1
22.8M
Charles Edward Hinton Jr. (May 3, 1934 – January 27, 2013) was an American professional baseball player. An outfielder, Hinton played in Major League Baseball for the Washington Senators (1961–64), Cleveland Indians (1965–67, 1969–71) and California Angels (1968). He batted and threw right-handed and was listed as tall and . In an eleven-season career, Hinton posted a .264 batting average with 113 home runs and 443 runs batted in in 1353 games played. Playing career Hinton attended Shaw University, where he played baseball, American football, and basketball for the Shaw Bears. He served for two years in the United States Army. In 1956, Hinton attended a baseball tryout camp, where he signed a contract with the Baltimore Orioles. He won two minor-league batting championships in the Orioles system, playing with the Aberdeen Pheasants of Class C Northern League in 1959 and the Stockton Ports of the Class C California League in 1960. The Orioles promoted Hinton to the Vancouver Mounties of the Class AAA Pacific Coast League during the 1960 season. Afraid they might lose Hinton in the 1960 Major League Baseball (MLB) expansion draft, the Orioles had Hinton fake a shoulder injury during winter league baseball. Despite this, the Washington Senators selected Hinton in the expansion draft. The Senators optioned Hinton to the Indianapolis Indians of the Class AAA American Association before the regular season began. They promoted Hinton from the minor leagues on May 14, 1961, and he made his MLB debut the next day. He finished the 1961 season with a .260 batting average. In 1962, he had a .310 batting average, good for fourth in the American League, and finished second in stolen bases to Luis Aparicio. Hit in the head with a pitch on September 5, 1963, Hinton was unconscious when he was carried off the field. He returned to the lineup eight days later, but felt limited by symptoms of the concussion. Hinton was named to represent the American League in the 1964 MLB All-Star Game. After the 1964 season, the Senators traded Hinton to the Cleveland Indians for Bob Chance and Woodie Held. He was dealt to the California Angels for José Cardenal on November 29, 1967. Hinton batted .195 in the 1968 season with the Angels. Just before the 1969 season, the Angels traded Hinton back to the Indians for Lou Johnson. The Indians released Hinton after the 1971 season. In all, Hinton played six years with the Indians. Post-playing career From 1972 to 2000, Hinton was head coach for the Howard University baseball team. Hinton led the Bison to their first Mid-Eastern Athletic Conference championship. In 1982, he founded the Major League Baseball Players Alumni Association (MLBPAA), a non-profit organization which promotes the game of baseball, raises money for charities, inspires and educates youth through positive sport images and protects the dignity of the game through former players. Personal Hinton and his wife, Irma, lived in Washington, D.C. They had four children. He died from complications of Parkinson's disease on January 27, 2013. Highlights 1964 American League All-Star Two hitting-streaks in 1962 (17 and 15 games) Fourth in the 1962 American League batting title (.310), behind Pete Runnels (.326), Mickey Mantle (.321) and Floyd Robinson (.312) Three times led the Washington Senators in batting average (1962–64), four times in triples and stolen bases (1961–64), and was the last Senator to hit .300 His uniform number 32 is honored in the Washington Wall of Stars References External links Chuck Hinton - Baseballbiography.com 1934 births 2013 deaths Aberdeen Pheasants players African-American baseball coaches African-American baseball players American League All-Stars Baseball players from North Carolina Baseball players from Washington, D.C. Burials at Quantico National Cemetery California Angels players Cleveland Indians players Howard Bison baseball coaches Indianapolis Indians players Major League Baseball outfielders Phoenix Stars players Shaw Bears baseball players Shaw Bears football players Shaw Bears men's basketball players Sportspeople from Rocky Mount, North Carolina Stockton Ports players Vancouver Mounties players Washington Senators (1961–1971) players 20th-century African-American sportspeople 21st-century African-American people
```smalltalk using System; using System.Linq; using CoreGraphics; using Foundation; using UIKit; namespace Xamarin.Forms.Platform.iOS { public class ItemsViewDelegator<TItemsView, TViewController> : UICollectionViewDelegateFlowLayout where TItemsView : ItemsView where TViewController : ItemsViewController<TItemsView> { public ItemsViewLayout ItemsViewLayout { get; } public TViewController ViewController { get; } protected float PreviousHorizontalOffset, PreviousVerticalOffset; public ItemsViewDelegator(ItemsViewLayout itemsViewLayout, TViewController itemsViewController) { ItemsViewLayout = itemsViewLayout; ViewController = itemsViewController; } public override void Scrolled(UIScrollView scrollView) { var (visibleItems, firstVisibleItemIndex, centerItemIndex, lastVisibleItemIndex) = GetVisibleItemsIndex(); if (!visibleItems) return; var contentInset = scrollView.ContentInset; var contentOffsetX = scrollView.ContentOffset.X + contentInset.Left; var contentOffsetY = scrollView.ContentOffset.Y + contentInset.Top; var itemsViewScrolledEventArgs = new ItemsViewScrolledEventArgs { HorizontalDelta = contentOffsetX - PreviousHorizontalOffset, VerticalDelta = contentOffsetY - PreviousVerticalOffset, HorizontalOffset = contentOffsetX, VerticalOffset = contentOffsetY, FirstVisibleItemIndex = firstVisibleItemIndex, CenterItemIndex = centerItemIndex, LastVisibleItemIndex = lastVisibleItemIndex }; var itemsView = ViewController.ItemsView; var source = ViewController.ItemsSource; itemsView.SendScrolled(itemsViewScrolledEventArgs); PreviousHorizontalOffset = (float)contentOffsetX; PreviousVerticalOffset = (float)contentOffsetY; switch (itemsView.RemainingItemsThreshold) { case -1: return; case 0: if (lastVisibleItemIndex == source.ItemCount - 1) itemsView.SendRemainingItemsThresholdReached(); break; default: if (source.ItemCount - 1 - lastVisibleItemIndex <= itemsView.RemainingItemsThreshold) itemsView.SendRemainingItemsThresholdReached(); break; } } public override UIEdgeInsets GetInsetForSection(UICollectionView collectionView, UICollectionViewLayout layout, nint section) { if (ItemsViewLayout == null) { return default; } return ItemsViewLayout.GetInsetForSection(collectionView, layout, section); } public override nfloat GetMinimumInteritemSpacingForSection(UICollectionView collectionView, UICollectionViewLayout layout, nint section) { if (ItemsViewLayout == null) { return default; } return ItemsViewLayout.GetMinimumInteritemSpacingForSection(collectionView, layout, section); } public override nfloat GetMinimumLineSpacingForSection(UICollectionView collectionView, UICollectionViewLayout layout, nint section) { if (ItemsViewLayout == null) { return default; } return ItemsViewLayout.GetMinimumLineSpacingForSection(collectionView, layout, section); } public override void CellDisplayingEnded(UICollectionView collectionView, UICollectionViewCell cell, NSIndexPath indexPath) { if (ItemsViewLayout.ScrollDirection == UICollectionViewScrollDirection.Horizontal) { var actualWidth = collectionView.ContentSize.Width - collectionView.Bounds.Size.Width; if (collectionView.ContentOffset.X >= actualWidth || collectionView.ContentOffset.X < 0) return; } else { var actualHeight = collectionView.ContentSize.Height - collectionView.Bounds.Size.Height; if (collectionView.ContentOffset.Y >= actualHeight || collectionView.ContentOffset.Y < 0) return; } } protected virtual (bool VisibleItems, NSIndexPath First, NSIndexPath Center, NSIndexPath Last) GetVisibleItemsIndexPath() { var indexPathsForVisibleItems = ViewController.CollectionView.IndexPathsForVisibleItems.OrderBy(x => x.Row).ToList(); var visibleItems = indexPathsForVisibleItems.Count > 0; NSIndexPath firstVisibleItemIndex = null, centerItemIndex = null, lastVisibleItemIndex = null; if (visibleItems) { NSIndexPath firstVisibleItem = indexPathsForVisibleItems.First(); UICollectionView collectionView = ViewController.CollectionView; NSIndexPath centerIndexPath = GetCenteredIndexPath(collectionView); NSIndexPath centerItem = centerIndexPath ?? firstVisibleItem; NSIndexPath lastVisibleItem = indexPathsForVisibleItems.Last(); firstVisibleItemIndex = indexPathsForVisibleItems.First(); centerItemIndex = centerItem; lastVisibleItemIndex = lastVisibleItem; } return (visibleItems, firstVisibleItemIndex, centerItemIndex, lastVisibleItemIndex); } protected virtual (bool VisibleItems, int First, int Center, int Last) GetVisibleItemsIndex() { var (VisibleItems, First, Center, Last) = GetVisibleItemsIndexPath(); int firstVisibleItemIndex = -1, centerItemIndex = -1, lastVisibleItemIndex = -1; if (VisibleItems) { IItemsViewSource source = ViewController.ItemsSource; firstVisibleItemIndex = GetItemIndex(First, source); centerItemIndex = GetItemIndex(Center, source); lastVisibleItemIndex = GetItemIndex(Last, source); } return (VisibleItems, firstVisibleItemIndex, centerItemIndex, lastVisibleItemIndex); } static NSIndexPath GetCenteredIndexPath(UICollectionView collectionView) { NSIndexPath centerItemIndex = null; var indexPathsForVisibleItems = collectionView.IndexPathsForVisibleItems.OrderBy(x => x.Row).ToList(); if (indexPathsForVisibleItems.Count == 0) return centerItemIndex; var firstVisibleItemIndex = indexPathsForVisibleItems.First(); var centerPoint = new CGPoint(collectionView.Center.X + collectionView.ContentOffset.X, collectionView.Center.Y + collectionView.ContentOffset.Y); var centerIndexPath = collectionView.IndexPathForItemAtPoint(centerPoint); centerItemIndex = centerIndexPath ?? firstVisibleItemIndex; return centerItemIndex; } static int GetItemIndex(NSIndexPath indexPath, IItemsViewSource itemSource) { int index = (int)indexPath.Item; if (indexPath.Section > 0) { for (int i = 0; i < indexPath.Section; i++) { index += itemSource.ItemCountInGroup(i); } } return index; } public override CGSize GetSizeForItem(UICollectionView collectionView, UICollectionViewLayout layout, NSIndexPath indexPath) { return ViewController.GetSizeForItem(indexPath); } } } ```
```python import gevent import pytest import rlp from eth_utils import keccak, to_canonical_address from web3 import Web3 from web3.exceptions import TransactionNotFound from raiden.network.rpc.client import discover_next_available_nonce, is_supported_client from raiden.tests.utils.smartcontracts import compile_test_smart_contract from raiden.utils.keys import privatekey_to_address from raiden.utils.typing import Nonce @pytest.mark.skip( "Failure of this test does not imply in a bug. The test exists to exercise " "an assumption and to show that a corner case is possible." ) def test_events_can_happen_in_the_deployment_block(web3: Web3, deploy_key: bytes) -> None: """It is possible to send transactions to a smart contract that has not been mined yet, resulting in events being emitted in the same block the smart contract was deployed. """ address = privatekey_to_address(deploy_key) contract_name = "RpcTest" contracts, contract_key = compile_test_smart_contract(contract_name) contract = contracts[contract_key] _, eth_node, _ = is_supported_client(web3.clientVersion) assert eth_node, "unknown eth_node." nonce = discover_next_available_nonce(web3, eth_node, address) retries = 5 for _ in range(retries): contract_address = to_canonical_address(keccak(rlp.encode([address, nonce]))[:20]) contract_object = web3.eth.contract( address=contract_address, abi=contract["abi"], bytecode=contract["bin"] ) deploy_transaction_data = contract_object.constructor().buildTransaction() call_transaction_data = contract_object.functions.createEvent(1).buildTransaction() deploy_transaction_data["nonce"] = nonce nonce = Nonce(nonce + 1) call_transaction_data["nonce"] = nonce nonce = Nonce(nonce + 1) deploy_signed_txn = web3.eth.account.sign_transaction(deploy_transaction_data, deploy_key) call_signed_txn = web3.eth.account.sign_transaction(call_transaction_data, deploy_key) deploy_tx_hash = web3.eth.send_raw_transaction(deploy_signed_txn.rawTransaction) call_tx_hash = web3.eth.send_raw_transaction(call_signed_txn.rawTransaction) while True: try: deploy_tx_receipt = web3.eth.get_transaction_receipt(deploy_tx_hash) call_tx_receipt = web3.eth.get_transaction_receipt(call_tx_hash) # This is the condition this test is trying to hit, when both # the deployment of the transaction and it's first call happen # in the same block. As a consequence, because this can happen # in at least one Ethereum implementation (e.g. Geth 1.9.15), # all filters *must* start in the same block as the smart # contract deployment block. if deploy_tx_receipt["blockHash"] == call_tx_receipt["blockHash"]: return break except TransactionNotFound: gevent.sleep(1.0) assert False, f"None of the {retries} transactions got mined in the same block." ```
```smalltalk using System.Collections.Generic; using JetBrains.Annotations; namespace Volo.Abp.Validation.StringValues; public interface IValueValidator { string Name { get; } object? this[string key] { get; set; } [NotNull] IDictionary<string, object?> Properties { get; } bool IsValid(object? value); } ```
```glsl // Animation kernels for Skinner Particle Shader "Hidden/Skinner/Particle/Kernels" { Properties { _SourcePositionBuffer0("", 2D) = ""{} _SourcePositionBuffer1("", 2D) = ""{} _PositionBuffer("", 2D) = ""{} _VelocityBuffer("", 2D) = ""{} _RotationBuffer("", 2D) = ""{} } SubShader { Pass { CGPROGRAM #pragma vertex vert_img #pragma fragment InitializePositionFragment #pragma target 3.0 #include "ParticleKernels.cginc" ENDCG } Pass { CGPROGRAM #pragma vertex vert_img #pragma fragment InitializeVelocityFragment #pragma target 3.0 #include "ParticleKernels.cginc" ENDCG } Pass { CGPROGRAM #pragma vertex vert_img #pragma fragment InitializeRotationFragment #pragma target 3.0 #include "ParticleKernels.cginc" ENDCG } Pass { CGPROGRAM #pragma vertex vert_img #pragma fragment UpdatePositionFragment #pragma target 3.0 #include "ParticleKernels.cginc" ENDCG } Pass { CGPROGRAM #pragma vertex vert_img #pragma fragment UpdateVelocityFragment #pragma target 3.0 #include "ParticleKernels.cginc" ENDCG } Pass { CGPROGRAM #pragma vertex vert_img #pragma fragment UpdateRotationFragment #pragma target 3.0 #include "ParticleKernels.cginc" ENDCG } } } ```
Louise Fitzjames was a 19th-century ballerina. She was born on 10 December 1809 in Paris, and danced at Paris Opera from 1832 to 1846. When Marie Taglioni dropped out of Meyerbeer's Robert le diable after a few appearances, Fitzjames took on Taglioni's role of the Abbess. She danced the Abbess over 230 times. She was criticized by poet Théophile Gautier for her emaciated appearance. Other roles included those in Le Dieu et la bayadere and La Jolie Fille de Gand in 1842. References Paris Opera Ballet dancers French ballerinas 1809 births Year of death missing
Monika Jančová (born 19 March 1992) is a Czech slalom canoeist who has competed at the international level since 2011. She won three medals in the C1 team event at the ICF Canoe Slalom World Championships with two silvers (2013, 2015) and a bronze (2017). She also won two silvers and a bronze in the same event at the European Championships. World Cup individual podiums References External links Czech female canoeists Living people 1992 births Medalists at the ICF Canoe Slalom World Championships
```css .root { height: 100%; position: relative; } .quick_filter_input { padding-left: var(--layout-horizontal-padding); padding-right: calc(var(--layout-horizontal-padding) - 6px); } .filters { padding-left: var(--layout-horizontal-padding); padding-right: calc(var(--layout-horizontal-padding) - 6px); } .collapsed .filters { display: none; } .dragAndDropArea { display: flex; align-items: center; justify-content: center; height: 72px; width: 184px; border: 1px solid var(--main-text-color3); margin-top: 16px; border-radius: 2px; padding: 12px; position: relative; } .dragAndDropAreaPlaceholder { width: 135px; color: var(--main-text-color3); font-size: 14px; line-height: 20px; display: flex; align-items: center; } .placeholderText { max-width: 100px; } .dragIcon { font-size: 22px; margin-right: 12px; flex-shrink: 0; } .title { font-size: 15px; color: #444444; display: flex; align-items: center; } .filtersIcon { font-size: 18px; margin-right: 18px; flex-shrink: 0; } .filtersCollapsed .filtersIcon { margin: 0; } .filtersCollapsed { padding: 0 var(--layout-horizontal-padding); padding-bottom: 16px; cursor: pointer; position: relative; display: flex; justify-content: center; align-items: center; } .filtersCollapsedCounter { position: absolute; top: 11px; right: 11px; height: 20px; width: 22px; border-radius: 10.5px; background-color: #dedede; color: #222222; font-size: 11px; display: flex; align-items: center; justify-content: center; } ```
```javascript export default function Page() { return <p>hello world</p> } export const config = { runtime: 1 + 1 > 2, } ```
Kankantchiaga is a village in the Manni Department of Gnagna Province in eastern Burkina Faso. The village has a population of 262. References Populated places in the Est Region (Burkina Faso) Gnagna Province
```javascript /** * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ 'use strict'; // MODULES // var tape = require( 'tape' ); var Float64Array = require( '@stdlib/array/float64' ); var Complex64Array = require( '@stdlib/array/complex64' ); var realf = require( '@stdlib/complex/float32/real' ); var imagf = require( '@stdlib/complex/float32/imag' ); var ndarray = require( './../lib' ); // TESTS // tape( 'main export is a function', function test( t ) { t.ok( true, __filename ); t.strictEqual( typeof ndarray, 'function', 'main export is a function' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method which throws an error if not provided an integer value (4d)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var arr; var i; values = [ '5', 3.14, NaN, true, false, null, void 0, [], {}, function noop() {} ]; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, 2, 1 ]; offset = 0; arr = ndarray( dtype, buffer, shape, strides, offset, order ); for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), TypeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget( value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var arr; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, 2, 1 ]; offset = 0; arr = ndarray( dtype, buffer, shape, strides, offset, order ); t.strictEqual( arr.iget( 0 ), 1.0, 'returns expected value' ); t.strictEqual( arr.iget( 1 ), 2.0, 'returns expected value' ); t.strictEqual( arr.iget( 2 ), 3.0, 'returns expected value' ); t.strictEqual( arr.iget( 3 ), 4.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; complex typed)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var arr; var v; dtype = 'complex64'; buffer = new Complex64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, 2, 1 ]; offset = 0; arr = ndarray( dtype, buffer, shape, strides, offset, order ); v = arr.iget( 0 ); t.strictEqual( realf( v ), 1.0, 'returns expected value' ); t.strictEqual( imagf( v ), 2.0, 'returns expected value' ); v = arr.iget( 1 ); t.strictEqual( realf( v ), 3.0, 'returns expected value' ); t.strictEqual( imagf( v ), 4.0, 'returns expected value' ); v = arr.iget( 2 ); t.strictEqual( realf( v ), 5.0, 'returns expected value' ); t.strictEqual( imagf( v ), 6.0, 'returns expected value' ); v = arr.iget( 3 ); t.strictEqual( realf( v ), 7.0, 'returns expected value' ); t.strictEqual( imagf( v ), 8.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var arr; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, 2, -1 ]; offset = 1; arr = ndarray( dtype, buffer, shape, strides, offset, order ); t.strictEqual( arr.iget( 0 ), 2.0, 'returns expected value' ); t.strictEqual( arr.iget( 1 ), 1.0, 'returns expected value' ); t.strictEqual( arr.iget( 2 ), 4.0, 'returns expected value' ); t.strictEqual( arr.iget( 3 ), 3.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; complex typed)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var arr; var v; dtype = 'complex64'; buffer = new Complex64Array( [ 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, 2, -1 ]; offset = 1; arr = ndarray( dtype, buffer, shape, strides, offset, order ); v = arr.iget( 0 ); t.strictEqual( realf( v ), 3.0, 'returns expected value' ); t.strictEqual( imagf( v ), 4.0, 'returns expected value' ); v = arr.iget( 1 ); t.strictEqual( realf( v ), 1.0, 'returns expected value' ); t.strictEqual( imagf( v ), 2.0, 'returns expected value' ); v = arr.iget( 2 ); t.strictEqual( realf( v ), 7.0, 'returns expected value' ); t.strictEqual( imagf( v ), 8.0, 'returns expected value' ); v = arr.iget( 3 ); t.strictEqual( realf( v ), 5.0, 'returns expected value' ); t.strictEqual( imagf( v ), 6.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var arr; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, -2, 1 ]; offset = 2; arr = ndarray( dtype, buffer, shape, strides, offset, order ); t.strictEqual( arr.iget( 0 ), 3.0, 'returns expected value' ); t.strictEqual( arr.iget( 1 ), 4.0, 'returns expected value' ); t.strictEqual( arr.iget( 2 ), 1.0, 'returns expected value' ); t.strictEqual( arr.iget( 3 ), 2.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var arr; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, -2, -1 ]; offset = 3; arr = ndarray( dtype, buffer, shape, strides, offset, order ); t.strictEqual( arr.iget( 0 ), 4.0, 'returns expected value' ); t.strictEqual( arr.iget( 1 ), 3.0, 'returns expected value' ); t.strictEqual( arr.iget( 2 ), 2.0, 'returns expected value' ); t.strictEqual( arr.iget( 3 ), 1.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var arr; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, 1, 2 ]; offset = 0; arr = ndarray( dtype, buffer, shape, strides, offset, order ); t.strictEqual( arr.iget( 0 ), 1.0, 'returns expected value' ); t.strictEqual( arr.iget( 1 ), 2.0, 'returns expected value' ); t.strictEqual( arr.iget( 2 ), 3.0, 'returns expected value' ); t.strictEqual( arr.iget( 3 ), 4.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var arr; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, -1, 2 ]; offset = 1; arr = ndarray( dtype, buffer, shape, strides, offset, order ); t.strictEqual( arr.iget( 0 ), 2.0, 'returns expected value' ); t.strictEqual( arr.iget( 1 ), 1.0, 'returns expected value' ); t.strictEqual( arr.iget( 2 ), 4.0, 'returns expected value' ); t.strictEqual( arr.iget( 3 ), 3.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var arr; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, 1, -2 ]; offset = 2; arr = ndarray( dtype, buffer, shape, strides, offset, order ); t.strictEqual( arr.iget( 0 ), 3.0, 'returns expected value' ); t.strictEqual( arr.iget( 1 ), 4.0, 'returns expected value' ); t.strictEqual( arr.iget( 2 ), 1.0, 'returns expected value' ); t.strictEqual( arr.iget( 3 ), 2.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var arr; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, -1, -2 ]; offset = 3; arr = ndarray( dtype, buffer, shape, strides, offset, order ); t.strictEqual( arr.iget( 0 ), 4.0, 'returns expected value' ); t.strictEqual( arr.iget( 1 ), 3.0, 'returns expected value' ); t.strictEqual( arr.iget( 2 ), 2.0, 'returns expected value' ); t.strictEqual( arr.iget( 3 ), 1.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=wrap)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var opts; var arr; opts = { 'mode': 'wrap' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, 2, 1 ]; offset = 0; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); t.strictEqual( arr.iget( 4 ), 1.0, 'returns expected value' ); t.strictEqual( arr.iget( 5 ), 2.0, 'returns expected value' ); t.strictEqual( arr.iget( -2 ), 3.0, 'returns expected value' ); t.strictEqual( arr.iget( -1 ), 4.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=wrap)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var opts; var arr; opts = { 'mode': 'wrap' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, 2, -1 ]; offset = 1; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); t.strictEqual( arr.iget( 4 ), 2.0, 'returns expected value' ); t.strictEqual( arr.iget( 5 ), 1.0, 'returns expected value' ); t.strictEqual( arr.iget( -2 ), 4.0, 'returns expected value' ); t.strictEqual( arr.iget( -1 ), 3.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=wrap)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var opts; var arr; opts = { 'mode': 'wrap' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, -2, 1 ]; offset = 2; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); t.strictEqual( arr.iget( 4 ), 3.0, 'returns expected value' ); t.strictEqual( arr.iget( 5 ), 4.0, 'returns expected value' ); t.strictEqual( arr.iget( -2 ), 1.0, 'returns expected value' ); t.strictEqual( arr.iget( -1 ), 2.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=wrap)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var opts; var arr; opts = { 'mode': 'wrap' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, -2, -1 ]; offset = 3; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); t.strictEqual( arr.iget( 4 ), 4.0, 'returns expected value' ); t.strictEqual( arr.iget( 5 ), 3.0, 'returns expected value' ); t.strictEqual( arr.iget( -2 ), 2.0, 'returns expected value' ); t.strictEqual( arr.iget( -1 ), 1.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=wrap)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var opts; var arr; opts = { 'mode': 'wrap' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, 1, 2 ]; offset = 0; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); t.strictEqual( arr.iget( 4 ), 1.0, 'returns expected value' ); t.strictEqual( arr.iget( 5 ), 2.0, 'returns expected value' ); t.strictEqual( arr.iget( -2 ), 3.0, 'returns expected value' ); t.strictEqual( arr.iget( -1 ), 4.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=wrap)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var opts; var arr; opts = { 'mode': 'wrap' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, -1, 2 ]; offset = 1; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); t.strictEqual( arr.iget( 4 ), 2.0, 'returns expected value' ); t.strictEqual( arr.iget( 5 ), 1.0, 'returns expected value' ); t.strictEqual( arr.iget( -2 ), 4.0, 'returns expected value' ); t.strictEqual( arr.iget( -1 ), 3.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=wrap)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var opts; var arr; opts = { 'mode': 'wrap' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, 1, -2 ]; offset = 2; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); t.strictEqual( arr.iget( 4 ), 3.0, 'returns expected value' ); t.strictEqual( arr.iget( 5 ), 4.0, 'returns expected value' ); t.strictEqual( arr.iget( -2 ), 1.0, 'returns expected value' ); t.strictEqual( arr.iget( -1 ), 2.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=wrap)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var opts; var arr; opts = { 'mode': 'wrap' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, -1, -2 ]; offset = 3; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); t.strictEqual( arr.iget( 4 ), 4.0, 'returns expected value' ); t.strictEqual( arr.iget( 5 ), 3.0, 'returns expected value' ); t.strictEqual( arr.iget( -2 ), 2.0, 'returns expected value' ); t.strictEqual( arr.iget( -1 ), 1.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=clamp)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var opts; var arr; opts = { 'mode': 'clamp' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, 2, 1 ]; offset = 0; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); t.strictEqual( arr.iget( 4 ), 4.0, 'returns expected value' ); t.strictEqual( arr.iget( 5 ), 4.0, 'returns expected value' ); t.strictEqual( arr.iget( -2 ), 1.0, 'returns expected value' ); t.strictEqual( arr.iget( -1 ), 1.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=clamp)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var opts; var arr; opts = { 'mode': 'clamp' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, 2, -1 ]; offset = 1; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); t.strictEqual( arr.iget( 4 ), 3.0, 'returns expected value' ); t.strictEqual( arr.iget( 5 ), 3.0, 'returns expected value' ); t.strictEqual( arr.iget( -2 ), 2.0, 'returns expected value' ); t.strictEqual( arr.iget( -1 ), 2.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=clamp)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var opts; var arr; opts = { 'mode': 'clamp' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, -2, 1 ]; offset = 2; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); t.strictEqual( arr.iget( 4 ), 2.0, 'returns expected value' ); t.strictEqual( arr.iget( 5 ), 2.0, 'returns expected value' ); t.strictEqual( arr.iget( -2 ), 3.0, 'returns expected value' ); t.strictEqual( arr.iget( -1 ), 3.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=clamp)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var opts; var arr; opts = { 'mode': 'clamp' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, -2, -1 ]; offset = 3; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); t.strictEqual( arr.iget( 4 ), 1.0, 'returns expected value' ); t.strictEqual( arr.iget( 5 ), 1.0, 'returns expected value' ); t.strictEqual( arr.iget( -2 ), 4.0, 'returns expected value' ); t.strictEqual( arr.iget( -1 ), 4.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=clamp)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var opts; var arr; opts = { 'mode': 'clamp' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, 1, 2 ]; offset = 0; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); t.strictEqual( arr.iget( 4 ), 4.0, 'returns expected value' ); t.strictEqual( arr.iget( 5 ), 4.0, 'returns expected value' ); t.strictEqual( arr.iget( -2 ), 1.0, 'returns expected value' ); t.strictEqual( arr.iget( -1 ), 1.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=clamp)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var opts; var arr; opts = { 'mode': 'clamp' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, -1, 2 ]; offset = 1; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); t.strictEqual( arr.iget( 4 ), 3.0, 'returns expected value' ); t.strictEqual( arr.iget( 5 ), 3.0, 'returns expected value' ); t.strictEqual( arr.iget( -2 ), 2.0, 'returns expected value' ); t.strictEqual( arr.iget( -1 ), 2.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=clamp)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var opts; var arr; opts = { 'mode': 'clamp' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, 1, -2 ]; offset = 2; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); t.strictEqual( arr.iget( 4 ), 2.0, 'returns expected value' ); t.strictEqual( arr.iget( 5 ), 2.0, 'returns expected value' ); t.strictEqual( arr.iget( -2 ), 3.0, 'returns expected value' ); t.strictEqual( arr.iget( -1 ), 3.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=clamp)', function test( t ) { var strides; var buffer; var offset; var dtype; var order; var shape; var opts; var arr; opts = { 'mode': 'clamp' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, -1, -2 ]; offset = 3; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); t.strictEqual( arr.iget( 4 ), 1.0, 'returns expected value' ); t.strictEqual( arr.iget( 5 ), 1.0, 'returns expected value' ); t.strictEqual( arr.iget( -2 ), 4.0, 'returns expected value' ); t.strictEqual( arr.iget( -1 ), 4.0, 'returns expected value' ); t.end(); }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=throw)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var opts; var arr; var i; opts = { 'mode': 'throw' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, 2, 1 ]; offset = 0; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); values = [ [ 4 ], [ 5 ], [ -2 ], [ -1 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=throw)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var opts; var arr; var i; opts = { 'mode': 'throw' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, 2, -1 ]; offset = 1; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); values = [ [ 4 ], [ 5 ], [ -2 ], [ -1 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=throw)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var opts; var arr; var i; opts = { 'mode': 'throw' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, -2, 1 ]; offset = 2; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); values = [ [ 4 ], [ 5 ], [ -2 ], [ -1 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=throw)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var opts; var arr; var i; opts = { 'mode': 'throw' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, -2, -1 ]; offset = 3; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); values = [ [ 4 ], [ 5 ], [ -2 ], [ -1 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=throw)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var opts; var arr; var i; opts = { 'mode': 'throw' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, 1, 2 ]; offset = 0; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); values = [ [ 4 ], [ 5 ], [ -2 ], [ -1 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=throw)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var opts; var arr; var i; opts = { 'mode': 'throw' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, -1, 2 ]; offset = 1; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); values = [ [ 4 ], [ 5 ], [ -2 ], [ -1 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=throw)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var opts; var arr; var i; opts = { 'mode': 'throw' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, 1, -2 ]; offset = 2; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); values = [ [ 4 ], [ 5 ], [ -2 ], [ -1 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=throw)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var opts; var arr; var i; opts = { 'mode': 'throw' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, -1, -2 ]; offset = 3; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); values = [ [ 4 ], [ 5 ], [ -2 ], [ -1 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=normalize)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var opts; var arr; var i; opts = { 'mode': 'normalize' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, 2, 1 ]; offset = 0; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); values = [ [ 4 ], [ 5 ], [ -20 ], [ -10 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=normalize)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var opts; var arr; var i; opts = { 'mode': 'normalize' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, 2, -1 ]; offset = 1; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); values = [ [ 4 ], [ 5 ], [ -20 ], [ -10 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=normalize)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var opts; var arr; var i; opts = { 'mode': 'normalize' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, -2, 1 ]; offset = 2; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); values = [ [ 4 ], [ 5 ], [ -20 ], [ -10 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=normalize)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var opts; var arr; var i; opts = { 'mode': 'normalize' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, -2, -1 ]; offset = 3; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); values = [ [ 4 ], [ 5 ], [ -20 ], [ -10 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=normalize)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var opts; var arr; var i; opts = { 'mode': 'normalize' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, 1, 2 ]; offset = 0; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); values = [ [ 4 ], [ 5 ], [ -20 ], [ -10 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=normalize)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var opts; var arr; var i; opts = { 'mode': 'normalize' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, -1, 2 ]; offset = 1; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); values = [ [ 4 ], [ 5 ], [ -20 ], [ -10 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=normalize)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var opts; var arr; var i; opts = { 'mode': 'normalize' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, 1, -2 ]; offset = 2; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); values = [ [ 4 ], [ 5 ], [ -20 ], [ -10 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=normalize)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var opts; var arr; var i; opts = { 'mode': 'normalize' }; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, -1, -2 ]; offset = 3; arr = ndarray( dtype, buffer, shape, strides, offset, order, opts ); values = [ [ 4 ], [ 5 ], [ -20 ], [ -10 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=default)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var arr; var i; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, 2, 1 ]; offset = 0; arr = ndarray( dtype, buffer, shape, strides, offset, order ); values = [ [ 4 ], [ 5 ], [ -2 ], [ -1 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=default)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var arr; var i; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, 2, -1 ]; offset = 1; arr = ndarray( dtype, buffer, shape, strides, offset, order ); values = [ [ 4 ], [ 5 ], [ -2 ], [ -1 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=default)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var arr; var i; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, -2, 1 ]; offset = 2; arr = ndarray( dtype, buffer, shape, strides, offset, order ); values = [ [ 4 ], [ 5 ], [ -2 ], [ -1 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; row-major; mode=default)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var arr; var i; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'row-major'; strides = [ 4, 4, -2, -1 ]; offset = 3; arr = ndarray( dtype, buffer, shape, strides, offset, order ); values = [ [ 4 ], [ 5 ], [ -2 ], [ -1 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=default)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var arr; var i; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, 1, 2 ]; offset = 0; arr = ndarray( dtype, buffer, shape, strides, offset, order ); values = [ [ 4 ], [ 5 ], [ -2 ], [ -1 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=default)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var arr; var i; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, -1, 2 ]; offset = 1; arr = ndarray( dtype, buffer, shape, strides, offset, order ); values = [ [ 4 ], [ 5 ], [ -2 ], [ -1 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=default)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var arr; var i; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, 1, -2 ]; offset = 2; arr = ndarray( dtype, buffer, shape, strides, offset, order ); values = [ [ 4 ], [ 5 ], [ -2 ], [ -1 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); tape( 'an ndarray constructor returns an instance which has an `iget` method for retrieving an array element using a linear index (4d; column-major; mode=default)', function test( t ) { var strides; var buffer; var offset; var values; var dtype; var order; var shape; var arr; var i; dtype = 'float64'; buffer = new Float64Array( [ 1.0, 2.0, 3.0, 4.0 ] ); shape = [ 1, 1, 2, 2 ]; order = 'column-major'; strides = [ 1, 1, -1, -2 ]; offset = 3; arr = ndarray( dtype, buffer, shape, strides, offset, order ); values = [ [ 4 ], [ 5 ], [ -2 ], [ -1 ] ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), RangeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { arr.iget.apply( arr, value ); }; } }); ```
There have been two ships of the Royal Navy named HMS Mons after the Battle of Mons: was an launched in 1915 and sold in 1921. HMS Mons (1945) was a laid down in 1945 and cancelled. References Royal Navy ship names
```javascript /** * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ 'use strict'; // MODULES // var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var isTypedArray = require( '@stdlib/assert/is-typed-array' ); var zeros = require( '@stdlib/array/zeros' ); var pkg = require( './../package.json' ).name; var zeroToLike = require( './../lib' ); // FUNCTIONS // /** * Creates a benchmark function. * * @private * @param {PositiveInteger} len - array length * @returns {Function} benchmark function */ function createBenchmark( len ) { var x = zeros( len, 'uint32' ); return benchmark; /** * Benchmark function. * * @private * @param {Benchmark} b - benchmark instance */ function benchmark( b ) { var arr; var i; b.tic(); for ( i = 0; i < b.iterations; i++ ) { arr = zeroToLike( x ); if ( arr.length !== len ) { b.fail( 'unexpected length' ); } } b.toc(); if ( !isTypedArray( arr ) ) { b.fail( 'should return a typed array' ); } b.pass( 'benchmark finished' ); b.end(); } } // MAIN // /** * Main execution sequence. * * @private */ function main() { var len; var min; var max; var f; var i; min = 1; // 10^min max = 6; // 10^max for ( i = min; i <= max; i++ ) { len = pow( 10, i ); f = createBenchmark( len ); bench( pkg+':dtype=uint32,len='+len, f ); } } main(); ```
The Language Acquisition Device (LAD) is a claim from language acquisition research proposed by Noam Chomsky in the 1960s. The LAD concept is a purported instinctive mental capacity which enables an infant to acquire and produce language. It is a component of the nativist theory of language. This theory asserts that humans are born with the instinct or "innate facility" for acquiring language. The main argument given in favor of the LAD was the argument from the poverty of the stimulus, which argues that unless children have significant innate knowledge of grammar, they would not be able to learn language as quickly as they do, given that they never have access to negative evidence and rarely receive direct instruction in their first language. A summary explaining LAD by Chomsky states that languages are infinite pertaining to the sequence of word forms (strings) and grammar. These word forms organize grammatically correct sequences of words that can be pooled over a limited lexicon of each independent language. So, LAD is tasked to select from an infinite number of grammars the one which is correct for the language that is presented to an individual, for example, a child. Criticism Critics say there is insufficient evidence from neuroscience and language acquisition research to support the claim that people have a language acquisition device as described above, and for the related ideas universal grammar and poverty of the stimulus. It is also argued that Chomsky's purported linguistic evidence for them was mistaken. For such reasons, the mainstream language acquisition community rejected generative grammar in the beginning of the 21st century. The search for a language acquisition device continues, but some scholars argue it is pseudoscience. See also Nicaraguan sign language References Sources Noam Chomsky Language acquisition
Frankenstein's Army is a 2013 found footage horror film directed by Richard Raaphorst, written by Chris W. Mitchell and Miguel Tejada-Flores, and starring Karel Roden, Joshua Sasse, Luke Newberry, Alexander Mercury, Robert Gwilym, Andrei Zayats, Mark Stevenson and Hon Ping Tang. An international co-production of the United States, the Czech Republic, and the Netherlands, the film is set on the Eastern Front of World War II, as seen from the point of view of a Red Army team. In the film, Soviet troops invading Germany encounter undead mechanical soldiers created by a mad scientist descended from Victor Frankenstein. Plot During the closing days of World War II, a Soviet reconnaissance team consisting of Novikov, Sergei, Vassili, Alexei, Ivan, Sacha, and propagandist videographer Dmitri are on a mission to destroy a German sniper nest. After completing the objective, the squad receives a Soviet distress call that repeats without any response to their queries; at the same time, they lose radio contact with high command. Although the soldiers are skeptical of the presence of Soviet forces in the area, the team leader Novikov orders them to investigate. Meanwhile, Dmitri interviews the soldiers and documents the mission under orders to create a Soviet propaganda film featuring the heroic exploits of the Red Army. As they draw closer to the designated coordinates, Dmitri takes an interest in, and films, several odd occurrences, such as unexplained dead Nazis, a burnt convent full of massacred nuns, and strange machinery. When the soldiers arrive at their destination, they find an abandoned church where they accidentally activate a 'zombot' - a reanimated corpse with mechanical implants fused onto its body. The zombot kills Novikov by disemboweling him before being killed by the rest of the men. Following this, Sergei takes charge as the new commander and though Vassili challenges his authority, the rest of the squad sides with Sergei. The soldiers see an elderly caretaker enter the church and ambush him. He is interrogated by Dmitri, who asks for the location of the stranded Soviet soldiers they heard on the radio. The caretaker insists that the village is abandoned, with everyone killed or scared off by the creatures created by "The Doctor", but Vassili becomes impatient and cuts off his finger. Coerced by the torture, the caretaker agrees to lead them to the source of the Soviet distress call, but instead leads them into a zombot trap where Ivan is mortally wounded. The squad manages to escape, and back at the church they encounter a group of German survivors - elderly Fritz, young boy Hans, and nurse Eva - that had been hiding from the zombots. Vassili suggests killing them, but Eva convinces the Russians to spare her and her fellow survivors by offering to help the wounded Ivan. When she is unable to save him and he dies of his injuries, Vassili attacks her and knocks her unconscious. Suddenly, Alexei is ambushed and killed by a zombot as more enter the church and close in on the group. The survivors manage to escape into the church's catacombs, where Sergei discovers that Dmitri has been deceiving the squad by using a radio jammer to both block contact with high command and transmit the fake distress call they received. Dmitri reveals that he has a secret mission from the Soviet government to capture or kill the Nazi scientist who created the zombots, and to document their mission in case they cannot capture him. Furious that they were deceived and led unprepared into this mission, Sergei and Vassili threaten to kill Dmitri, but he asserts his authority by revealing that he is a Captain in the Red Army, outranking both of them, and threatens their families with retribution if they disobey his orders. As Dmitri leads the group deeper into the catacombs, they encounter increasingly bizarre aberrations and eventually find a chute which goes deeper into the factory. Sergei and Vassili force Hans to go down the chute to investigate and the boy is quickly killed by a zombot which then climbs up the chute and attacks the group; though they manage to destroy it, Fritz is killed in the struggle. Sergei, Vassili, and Sacha then stage a mutiny against Dmitri and throw him and his film equipment down the chute. Unable to climb back up, Dmitri goes deeper into the facility, eventually being discovered and chased by a multitude of zombots. While trying to escape, he encounters, and is knocked out by Ivan, who has been converted into a zombot. When Dmitri regains consciousness, he finds himself taken prisoner by the caretaker, who reveals himself to be Dr. Viktor Frankenstein, a deranged descendant of the original Victor Frankenstein, and creator of the zombots. The doctor gives Dmitri a tour of his facility, explaining how he created the zombots based on his grandfather's work, and how he went rogue from his Nazi superiors. Along the way, Dmitri sees Hans, converted into a zombot, and Sergei and Vassili, both captured, with the latter partially dismembered. Dmitri and Frankenstein then hear distant artillery fire, which Dmitri reveals is the approaching Red Army. Dmitri attempts to recruit Frankenstein on behalf of the Soviet government, but instead, Frankenstein proposes an experiment that he believes will end the war: fusing together one half each of a Soviet and a Nazi brain. To this end, he lobotomizes a kidnapped Nazi soldier, and then Sergei, who swears revenge on Dmitri before Frankenstein begins operating on him; during the surgery, Frankenstein is assisted by Eva, who has also been turned into a zombot. Frankenstein removes half of Sergei's brain and grafts the removed half of the Nazi soldier's brain into Sergei's head and then reanimates him with his generator. Frankenstein restrains Dmitri onto a table to begin experimenting on him, but the Red Army's artillery suddenly begins bombarding the factory. Frankenstein quickly gathers his documents and prepares to flee, but Sacha, who managed to evade capture, appears from behind and shoots him dead. Dmitri orders Sacha to free him, but Sacha ignores him, instead removing Frankenstein's head and taking it with him as proof that he succeeded in his mission, along with Dmitri's camera. Sacha flees the facility just as Sergei's body comes to life and kills Dmitri. The "document" then ends with a photo of a newly promoted Sacha standing next to Stalin. Cast Karel Roden as Dr. Viktor Frankenstein Alexander Mercury as Dmitri Joshua Sasse as Sergei Andrei Zayats as Vassili Hon Ping Tang as Ivan, "Ivan Zombot" Mark Stevenson as Alexei Luke Newberry as Sacha Robert Gwilym as Novikov Cristina Catalina as Eva, "Nurse Zombot" Zdenek Barinka as Hans, "Pod Zombot" Jan de Lukowicz as Fritz Klaus Lucas as Dieter, The Dying Nazi Officer Production Stories of Frankenstein's monster disturbed director Richard Raaphorst as a child. When he was thinking of ideas for a monster film, he instantly went back to the Frankenstein mythology, which he extended to World War II. Raaphorst said he was drawn the idea of an army of Frankensteins in World War II specifically because the idea was "insane". Raaphorst had worked on a similar film titled Worst Case Scenario but Frankenstein's Army is unrelated to it. Principal photography began on March 5, 2012 at Karlovy Vary in Czechia. Although the film used CGI, most of the effects were practical; for example, stuntmen were set on fire. The practical effects, inspired by John Carpenter's The Thing, necessitated what Raaphorst described as long, complicated single takes. He said it was worth it in the end, though he experienced doubt during shooting when he became ill. Release Frankenstein's Army premiered at the International Film Festival Rotterdam on January 26, 2013. It was released in the United States on July 26, 2013. MPI Media Group and Dark Sky released it on home video on September 10, 2013. Reception On review aggregator Rotten Tomatoes, Frankenstein's Army holds an approval rating of 56% of 25 critics, and an average rating of 5.47/10. Metacritic, which assigns a normalized score, rated it 49 out of 100 based on nine reviews. Scott Foundas of Variety wrote that the film is "short on plot and long on ingeniously gruesome creature designs and practical special effects that hark back to the industrious 1980s schlockfests churned out by the likes of Frank Henenlotter and Stuart Gordon." Foundas also compared the film's "junkyard chic" to the steampunk films of Shinya Tsukamoto. John DeFore of The Hollywood Reporter wrote that the film's monsters and gory special effects will appeal to horror fans, but it should have focused more on black humor and satire to appeal to broader midnight movie audiences. Andy Webster of The New York Times described the monsters as steampunk cyborgs and wrote, "Narrative depth may be in short supply, but the energy, invention and humor are bracing." Ignatiy Vishnevetsky of The A.V. Club rated it C− and called it "a ludicrous World War II horror flick bogged down by its found-footage gimmick" that only works near the end when the film plays up the "imaginatively grotesque monsters". Jason Jenkins of Dread Central rated it 3 out of 5 stars and called it "a fun, furious, goofy and gory good time" for forgiving horror fans. Lauren Taylor of Bloody Disgusting rated it 1.5 out of 5 stars and said that the visuals and effects did not make up for the lack of a plot and unnecessary "found footage" style. Bill Gibron of PopMatters called it "an amazing steampunk splatter fest" whose visual imagery makes up for its narrative faults. See also List of films featuring Frankenstein's monster References External links 2013 films 2010s monster movies American action horror films American robot films American zombie films Czech action horror films Cyborg films Dieselpunk Dutch action films Dutch horror films Films set in 1945 Films set in Germany Films shot in the Czech Republic Found footage films Frankenstein films Nazi zombie films Steampunk films 2010s science fiction films American science fiction action films Czech science fiction action films American science fiction horror films Dutch war films Czech war films Horror war films English-language Czech films English-language Dutch films American World War II films Czech World War II films Dutch World War II films Eastern Front of World War II films Films about the Soviet Union in the Stalin era 2010s exploitation films 2010s English-language films 2010s American films
Kim Pearce (born 29 October 1985) is an English theatre director. Education Studied at Warwick University then trained on the Theatre Directing MFA at Birkbeck College, University of London. Work Selected theatre productions Forgotten by Daniel York at the Arcola Theatre Love Steals Us From Loneliness at Camden People's Theatre and Chapter Arts Centre Unearthed on UK tour Solomon Child at the Manchester Royal Exchange Studio Cheaper Than Roses at Warwick Arts Centre Studio The Skriker at Warwick Arts Centre Studio Other work The Curious Incident of the Dog in the Night-Time UK and Ireland Tour, Resident Director, 2014-15 The Suicide at the National Theatre, Staff Director Moon Tiger at the Theatre Royal, Bath and UK tour, Assistant Director Ghosts for ETT, Assistant Director Sweeney Todd at Chichester, Assistant Director The Way of the World at Chichester, Assistant Director A View from the Bridge at the Royal Exchange, Assistant Director Zack at the Royal Exchange, Assistant Director The Lady from the Sea at the Royal Exchange, Assistant Director Mogadishu'' at the Royal Exchange and Lyric Theatre (Hammersmith), Assistant Director Pearce was also associate director of the pop-up Theatre On The Fly venue created with Assemble at Chichester Festival Theatre. She is Associate Director for Papergang Theatre, and is working as a dramaturg for Yellow Earth Theatre and Gaggle Productions. Awards Pearce was recipient of a 2011/12 Regional Young Directors Scheme bursary and runner-up for the 2013 JMK Young Director award. References People educated at Dame Alice Harpur School 1985 births Living people Alumni of the University of Warwick Alumni of Birkbeck, University of London English theatre directors Date of birth missing (living people) British women theatre directors Place of birth missing (living people)
James Barry Norris (born 4 April 2003) is an English professional footballer who plays as a left-back for EFL League Two side Tranmere Rovers, on loan from Premier League club Liverpool. Club career Norris made his professional debut for Liverpool whilst still a scholar on 17 December 2019, coming on as a substitute in the away match against Aston Villa in the quarter-finals of the EFL Cup. Tranmere Rovers Norris joined Tranmere Rovers on a season-long loan on 1 September 2023. He made his debut on 5 September, in an EFL Trophy fixture against Fleetwood Town, being substituted after only 42 minutes. International career In September 2019, Norris started for the England under-17 team as they defeated hosts Poland to win the Syrenka Cup. On 29 March 2021, Norris made his debut for England U18s during a 2-0 win away to Wales at the Leckwith Stadium. On 6 September 2021, Norris made his debut for the England U19s during a 1-1 draw with Germany in Bad Dürrheim. Career statistics Honours Liverpool Academy Lancashire Senior Cup: 2021-22 References External links James Norris at the Liverpool F.C. website 2003 births Living people Footballers from Liverpool English men's footballers England men's youth international footballers Men's association football fullbacks Liverpool F.C. players Tranmere Rovers F.C. players
```smalltalk /* 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 */ using System; using iText.Forms.Form; using iText.Kernel.Colors; using iText.Kernel.Pdf; using iText.Kernel.Utils; using iText.Layout; using iText.Layout.Borders; using iText.Layout.Element; using iText.Layout.Properties; using iText.Test; using iText.Test.Attributes; namespace iText.Forms.Form.Element { [NUnit.Framework.Category("IntegrationTest")] public class TextAreaTest : ExtendedITextTest { public static readonly String SOURCE_FOLDER = iText.Test.TestUtil.GetParentProjectDirectory(NUnit.Framework.TestContext .CurrentContext.TestDirectory) + "/resources/itext/forms/form/element/TextAreaTest/"; public static readonly String DESTINATION_FOLDER = NUnit.Framework.TestContext.CurrentContext.TestDirectory + "/test/itext/forms/form/element/TextAreaTest/"; [NUnit.Framework.OneTimeSetUp] public static void BeforeClass() { CreateOrClearDestinationFolder(DESTINATION_FOLDER); } [NUnit.Framework.Test] public virtual void BasicTextAreaTest() { String outPdf = DESTINATION_FOLDER + "basicTextArea.pdf"; String cmpPdf = SOURCE_FOLDER + "cmp_basicTextArea.pdf"; using (Document document = new Document(new PdfDocument(new PdfWriter(outPdf)))) { TextArea formTextArea = new TextArea("form text area"); formTextArea.SetProperty(FormProperty.FORM_FIELD_FLATTEN, false); formTextArea.SetProperty(FormProperty.FORM_FIELD_VALUE, "form\ntext\narea"); document.Add(formTextArea); TextArea flattenTextArea = new TextArea("flatten text area"); flattenTextArea.SetProperty(FormProperty.FORM_FIELD_FLATTEN, true); flattenTextArea.SetProperty(FormProperty.FORM_FIELD_VALUE, "flatten\ntext\narea"); document.Add(flattenTextArea); } NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outPdf, cmpPdf, DESTINATION_FOLDER)); } [NUnit.Framework.Test] [LogMessage(iText.IO.Logs.IoLogMessageConstant.PROPERTY_IN_PERCENTS_NOT_SUPPORTED, Count = 16)] public virtual void PercentFontTextAreaTest() { String outPdf = DESTINATION_FOLDER + "percentFontTextArea.pdf"; String cmpPdf = SOURCE_FOLDER + "cmp_percentFontTextArea.pdf"; using (Document document = new Document(new PdfDocument(new PdfWriter(outPdf)))) { TextArea formTextArea = new TextArea("form text area"); formTextArea.SetProperty(FormProperty.FORM_FIELD_FLATTEN, false); formTextArea.SetProperty(FormProperty.FORM_FIELD_VALUE, "form\ntext\narea"); formTextArea.SetProperty(Property.FONT_SIZE, UnitValue.CreatePercentValue(10)); document.Add(formTextArea); TextArea flattenTextArea = new TextArea("flatten text area"); flattenTextArea.SetProperty(FormProperty.FORM_FIELD_FLATTEN, true); flattenTextArea.SetProperty(FormProperty.FORM_FIELD_VALUE, "flatten\ntext\narea"); formTextArea.SetProperty(Property.FONT_SIZE, UnitValue.CreatePercentValue(10)); document.Add(flattenTextArea); } NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outPdf, cmpPdf, DESTINATION_FOLDER)); } [NUnit.Framework.Test] public virtual void HeightTextAreaTest() { String outPdf = DESTINATION_FOLDER + "heightTextArea.pdf"; String cmpPdf = SOURCE_FOLDER + "cmp_heightTextArea.pdf"; using (Document document = new Document(new PdfDocument(new PdfWriter(outPdf)))) { TextArea flattenTextArea = new TextArea("flatten text area with height"); flattenTextArea.SetProperty(FormProperty.FORM_FIELD_FLATTEN, true); flattenTextArea.SetProperty(FormProperty.FORM_FIELD_VALUE, "flatten\ntext area\nwith height"); flattenTextArea.SetProperty(Property.HEIGHT, new UnitValue(UnitValue.POINT, 100)); flattenTextArea.SetProperty(Property.BORDER, new SolidBorder(2f)); document.Add(flattenTextArea); } NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outPdf, cmpPdf, DESTINATION_FOLDER)); } [NUnit.Framework.Test] public virtual void MinHeightTextAreaTest() { String outPdf = DESTINATION_FOLDER + "minHeightTextArea.pdf"; String cmpPdf = SOURCE_FOLDER + "cmp_minHeightTextArea.pdf"; using (Document document = new Document(new PdfDocument(new PdfWriter(outPdf)))) { TextArea flattenTextArea = new TextArea("flatten text area with height"); flattenTextArea.SetProperty(FormProperty.FORM_FIELD_FLATTEN, true); flattenTextArea.SetProperty(FormProperty.FORM_FIELD_VALUE, "flatten\ntext area\nwith height"); flattenTextArea.SetProperty(Property.MIN_HEIGHT, new UnitValue(UnitValue.POINT, 100)); flattenTextArea.SetProperty(Property.BORDER, new SolidBorder(2f)); document.Add(flattenTextArea); } NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outPdf, cmpPdf, DESTINATION_FOLDER)); } [NUnit.Framework.Test] public virtual void HugeMarginPaddingBorderTest() { String outPdf = DESTINATION_FOLDER + "hugeMarginPaddingBorder.pdf"; String cmpPdf = SOURCE_FOLDER + "cmp_hugeMarginPaddingBorder.pdf"; using (Document document = new Document(new PdfDocument(new PdfWriter(outPdf)))) { TextArea formTextArea = new TextArea("interactive text area with paddings"); formTextArea.SetInteractive(true); formTextArea.SetValue("interactive\ntext area\nwith paddings"); formTextArea.SetBorder(new SolidBorder(20)); formTextArea.SetProperty(Property.PADDING_BOTTOM, UnitValue.CreatePointValue(20)); formTextArea.SetProperty(Property.PADDING_TOP, UnitValue.CreatePointValue(20)); formTextArea.SetProperty(Property.PADDING_RIGHT, UnitValue.CreatePointValue(20)); formTextArea.SetProperty(Property.PADDING_LEFT, UnitValue.CreatePointValue(20)); formTextArea.SetProperty(Property.MARGIN_BOTTOM, UnitValue.CreatePointValue(20)); formTextArea.SetProperty(Property.MARGIN_TOP, UnitValue.CreatePointValue(20)); formTextArea.SetProperty(Property.MARGIN_RIGHT, UnitValue.CreatePointValue(20)); formTextArea.SetProperty(Property.MARGIN_LEFT, UnitValue.CreatePointValue(20)); document.Add(formTextArea); TextArea flattenTextArea = new TextArea("flatten text area with paddings"); flattenTextArea.SetInteractive(false); flattenTextArea.SetValue("flatten\ntext area\nwith paddings"); flattenTextArea.SetBorder(new SolidBorder(20)); flattenTextArea.SetProperty(Property.PADDING_BOTTOM, UnitValue.CreatePointValue(20)); flattenTextArea.SetProperty(Property.PADDING_TOP, UnitValue.CreatePointValue(20)); flattenTextArea.SetProperty(Property.PADDING_RIGHT, UnitValue.CreatePointValue(20)); flattenTextArea.SetProperty(Property.PADDING_LEFT, UnitValue.CreatePointValue(20)); flattenTextArea.SetProperty(Property.MARGIN_BOTTOM, UnitValue.CreatePointValue(20)); flattenTextArea.SetProperty(Property.MARGIN_TOP, UnitValue.CreatePointValue(20)); flattenTextArea.SetProperty(Property.MARGIN_RIGHT, UnitValue.CreatePointValue(20)); flattenTextArea.SetProperty(Property.MARGIN_LEFT, UnitValue.CreatePointValue(20)); document.Add(flattenTextArea); } NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outPdf, cmpPdf, DESTINATION_FOLDER)); } [NUnit.Framework.Test] public virtual void TextAreaDoesNotFitTest() { String outPdf = DESTINATION_FOLDER + "textAreaDoesNotFit.pdf"; String cmpPdf = SOURCE_FOLDER + "cmp_textAreaDoesNotFit.pdf"; using (Document document = new Document(new PdfDocument(new PdfWriter(outPdf)))) { Div div = new Div(); div.SetWidth(UnitValue.CreatePointValue(400)); div.SetHeight(UnitValue.CreatePointValue(730)); div.SetBackgroundColor(ColorConstants.PINK); document.Add(div); TextArea textArea = new TextArea("text area"); textArea.SetInteractive(true); textArea.SetProperty(FormProperty.FORM_FIELD_VALUE, "some text to not\nbe able to fit in on the page\nmore text just text\nreally big height" ); textArea.SetHeight(50); textArea.SetProperty(Property.BORDER, new SolidBorder(2f)); document.Add(textArea); } NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outPdf, cmpPdf, DESTINATION_FOLDER)); } [NUnit.Framework.Test] public virtual void TextAreaWith0FontSizeDoesNotFitTest() { String outPdf = DESTINATION_FOLDER + "textAreaWith0FontSizeDoesNotFit.pdf"; String cmpPdf = SOURCE_FOLDER + "cmp_textAreaWith0FontSizeDoesNotFit.pdf"; using (Document document = new Document(new PdfDocument(new PdfWriter(outPdf)))) { document.Add(new Div().SetBackgroundColor(ColorConstants.RED).SetHeight(695)); TextArea textArea = new TextArea("text area"); textArea.SetInteractive(true); textArea.SetProperty(FormProperty.FORM_FIELD_VALUE, "Font\n size \nof this\nText Area will \nbe approximated\nbased on the content" ); textArea.SetProperty(Property.BORDER, new SolidBorder(1f)); textArea.SetFontSize(0); textArea.SetHeight(75); document.Add(textArea); document.Add(new Div().SetBackgroundColor(ColorConstants.RED).SetHeight(695)); TextArea flattenTextArea = new TextArea("text area"); flattenTextArea.SetInteractive(false); flattenTextArea.SetProperty(FormProperty.FORM_FIELD_VALUE, "Font\n size \nof this\nText Area will \nbe approximated\nbased on the content" ); flattenTextArea.SetProperty(Property.BORDER, new SolidBorder(1f)); flattenTextArea.SetFontSize(0); flattenTextArea.SetHeight(75); document.Add(flattenTextArea); } NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outPdf, cmpPdf, DESTINATION_FOLDER)); } [NUnit.Framework.Test] public virtual void TextAreaWith0FontSizeFitsTest() { String outPdf = DESTINATION_FOLDER + "textAreaWith0FontSizeFits.pdf"; String cmpPdf = SOURCE_FOLDER + "cmp_textAreaWith0FontSizeFits.pdf"; using (Document document = new Document(new PdfDocument(new PdfWriter(outPdf)))) { TextArea textArea = new TextArea("text area"); textArea.SetInteractive(true); textArea.SetProperty(FormProperty.FORM_FIELD_VALUE, "Font\n size \nof this\nText Area will \nbe approximated\nbased on the content" ); textArea.SetProperty(Property.BORDER, new SolidBorder(1f)); textArea.SetFontSize(0); textArea.SetHeight(75); document.Add(textArea); TextArea flattenTextArea = new TextArea("text area"); flattenTextArea.SetInteractive(false); flattenTextArea.SetProperty(FormProperty.FORM_FIELD_VALUE, "Font\n size \nof this\nText Area will \nbe approximated\nbased on the content" ); flattenTextArea.SetProperty(Property.BORDER, new SolidBorder(1f)); flattenTextArea.SetFontSize(0); flattenTextArea.SetHeight(75); document.Add(flattenTextArea); } NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outPdf, cmpPdf, DESTINATION_FOLDER)); } [NUnit.Framework.Test] public virtual void TextAreaWith0FontSizeWithoutHeightTest() { String outPdf = DESTINATION_FOLDER + "textAreaWith0FontSizeWithoutHeight.pdf"; String cmpPdf = SOURCE_FOLDER + "cmp_textAreaWith0FontSizeWithoutHeight.pdf"; using (Document document = new Document(new PdfDocument(new PdfWriter(outPdf)))) { TextArea textArea = new TextArea("text area"); textArea.SetInteractive(true); textArea.SetProperty(FormProperty.FORM_FIELD_VALUE, "Font\n size \nof this\nText Area will not " + "\nbe approximated\nbased on the content\nbecause height is not set" ); textArea.SetProperty(Property.BORDER, new SolidBorder(1f)); textArea.SetFontSize(0); document.Add(textArea); TextArea flattenTextArea = new TextArea("text area"); flattenTextArea.SetInteractive(false); flattenTextArea.SetProperty(FormProperty.FORM_FIELD_VALUE, "Font\n size \nof this\nText Area will not " + "\nbe approximated\nbased on the content\nbecause height is not set"); flattenTextArea.SetProperty(Property.BORDER, new SolidBorder(1f)); flattenTextArea.SetFontSize(0); document.Add(flattenTextArea); } NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outPdf, cmpPdf, DESTINATION_FOLDER)); } [NUnit.Framework.Test] public virtual void TextAreaWithBorderLessThan1Test() { String outPdf = DESTINATION_FOLDER + "textAreaWithBorderLessThan1.pdf"; String cmpPdf = SOURCE_FOLDER + "cmp_textAreaWithBorderLessThan1.pdf"; using (Document document = new Document(new PdfDocument(new PdfWriter(outPdf)))) { TextArea textArea = new TextArea("text area"); textArea.SetInteractive(true); textArea.SetProperty(FormProperty.FORM_FIELD_VALUE, "Is border visible?\nAnd after clicking on the field?\nIt should be by the way" ); textArea.SetProperty(Property.BORDER, new SolidBorder(0.5f)); document.Add(textArea); } NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outPdf, cmpPdf, DESTINATION_FOLDER)); } [NUnit.Framework.Test] public virtual void TextAreaWithJustificationTest() { String outPdf = DESTINATION_FOLDER + "textAreaWithJustification.pdf"; String cmpPdf = SOURCE_FOLDER + "cmp_textAreaWithJustification.pdf"; using (Document document = new Document(new PdfDocument(new PdfWriter(outPdf)))) { TextArea textArea = new TextArea("text area"); textArea.SetValue("text area with justification\nWords shall be in the center\nAre they?"); textArea.SetInteractive(true); textArea.SetTextAlignment(TextAlignment.CENTER); document.Add(textArea); TextArea flattenedTextArea = new TextArea("flattened text area"); flattenedTextArea.SetValue("text area with justification\nWords shall be in the center\nAre they?"); flattenedTextArea.SetInteractive(false); flattenedTextArea.SetTextAlignment(TextAlignment.CENTER); document.Add(flattenedTextArea); } NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outPdf, cmpPdf, DESTINATION_FOLDER)); } [NUnit.Framework.Test] public virtual void TextAreaWithCustomBorderTest() { String outPdf = DESTINATION_FOLDER + "textAreaWithCustomBorder.pdf"; String cmpPdf = SOURCE_FOLDER + "cmp_textAreaWithCustomBorder.pdf"; using (Document document = new Document(new PdfDocument(new PdfWriter(outPdf)))) { TextArea textArea = new TextArea("text area"); textArea.SetValue("text area with custom border\nBorder shall be orange, 10 points wide and dashed"); textArea.SetInteractive(true); textArea.SetBorder(new DashedBorder(ColorConstants.ORANGE, 10)); document.Add(textArea); TextArea flattenedTextArea = new TextArea("flattened text area"); flattenedTextArea.SetValue("text area with custom border\nBorder shall be orange, 10 points wide and dashed" ); flattenedTextArea.SetInteractive(false); flattenedTextArea.SetBorder(new DashedBorder(ColorConstants.ORANGE, 10)); document.Add(flattenedTextArea); } NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outPdf, cmpPdf, DESTINATION_FOLDER)); } [NUnit.Framework.Test] public virtual void MaxHeightTextAreaTest() { String outPdf = DESTINATION_FOLDER + "maxHeightTextArea.pdf"; String cmpPdf = SOURCE_FOLDER + "cmp_maxHeightTextArea.pdf"; using (Document document = new Document(new PdfDocument(new PdfWriter(outPdf)))) { TextArea flattenTextArea = new TextArea("flatten text area with height"); flattenTextArea.SetProperty(FormProperty.FORM_FIELD_FLATTEN, true); flattenTextArea.SetProperty(FormProperty.FORM_FIELD_VALUE, "flatten\ntext area\nwith height"); flattenTextArea.SetProperty(Property.MAX_HEIGHT, new UnitValue(UnitValue.POINT, 28)); flattenTextArea.SetProperty(Property.BORDER, new SolidBorder(2f)); document.Add(flattenTextArea); } NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outPdf, cmpPdf, DESTINATION_FOLDER)); } [NUnit.Framework.Test] public virtual void TextAreaWithCustomLeadingTest() { String outPdf = DESTINATION_FOLDER + "textAreaWithCustomLeading.pdf"; String cmpPdf = SOURCE_FOLDER + "cmp_textAreaWithCustomLeading.pdf"; using (Document document = new Document(new PdfDocument(new PdfWriter(outPdf)))) { TextArea textArea = new TextArea("text1").SetBorder(new SolidBorder(ColorConstants.PINK, 1)); textArea.SetValue("text area with 1 used as the basis for the leading calculation"); textArea.SetInteractive(true); textArea.SetProperty(Property.LEADING, new Leading(Leading.MULTIPLIED, 1)); textArea.SetProperty(Property.MARGIN_BOTTOM, UnitValue.CreatePointValue(5)); document.Add(textArea); TextArea textArea2 = new TextArea("text2").SetBorder(new SolidBorder(ColorConstants.YELLOW, 1)); textArea2.SetValue("text area with 3 used as the basis for the leading calculation"); textArea2.SetInteractive(true); textArea2.SetProperty(Property.LEADING, new Leading(Leading.MULTIPLIED, 3)); textArea2.SetProperty(Property.MARGIN_BOTTOM, UnitValue.CreatePointValue(5)); document.Add(textArea2); TextArea flattenedTextArea = new TextArea("text3").SetBorder(new SolidBorder(ColorConstants.PINK, 1)); flattenedTextArea.SetValue("text area with 5 used as the basis for the leading calculation"); flattenedTextArea.SetInteractive(false); flattenedTextArea.SetProperty(Property.LEADING, new Leading(Leading.MULTIPLIED, 5)); flattenedTextArea.SetProperty(Property.MARGIN_BOTTOM, UnitValue.CreatePointValue(5)); document.Add(flattenedTextArea); TextArea flattenedTextArea2 = new TextArea("text4").SetBorder(new SolidBorder(ColorConstants.YELLOW, 1)); flattenedTextArea2.SetValue("text area with 0.5 used as the basis for the leading calculation"); flattenedTextArea2.SetInteractive(false); flattenedTextArea2.SetProperty(Property.LEADING, new Leading(Leading.MULTIPLIED, 0.5f)); document.Add(flattenedTextArea2); } NUnit.Framework.Assert.IsNull(new CompareTool().CompareByContent(outPdf, cmpPdf, DESTINATION_FOLDER)); } } } ```
```javascript /** * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ 'use strict'; // MODULES // var resolve = require( 'path' ).resolve; var tape = require( 'tape' ); var floor = require( '@stdlib/math/base/special/floor' ); var isnan = require( '@stdlib/math/base/assert/is-nan' ); var Float32Array = require( '@stdlib/array/float32' ); var tryRequire = require( '@stdlib/utils/try-require' ); // VARIABLES // var dsmeanwd = tryRequire( resolve( __dirname, './../lib/dsmeanwd.native.js' ) ); var opts = { 'skip': ( dsmeanwd instanceof Error ) }; // TESTS // tape( 'main export is a function', opts, function test( t ) { t.ok( true, __filename ); t.strictEqual( typeof dsmeanwd, 'function', 'main export is a function' ); t.end(); }); tape( 'the function has an arity of 3', opts, function test( t ) { t.strictEqual( dsmeanwd.length, 3, 'has expected arity' ); t.end(); }); tape( 'the functions throws an error if provided a first argument which is not a number', opts, function test( t ) { var values; var i; values = [ '5', true, false, null, void 0, [], {}, function noop() {} ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), TypeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { dsmeanwd( value, new Float32Array( 10 ), 1 ); }; } }); tape( 'the functions throws an error if provided a second argument which is not a Float32Array', opts, function test( t ) { var values; var i; values = [ '5', 5, true, false, null, void 0, [], {}, function noop() {} ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), TypeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { dsmeanwd( 10, value, 1 ); }; } }); tape( 'the functions throws an error if provided a third argument which is not a number', opts, function test( t ) { var values; var i; values = [ '5', true, false, null, void 0, [], {}, function noop() {} ]; for ( i = 0; i < values.length; i++ ) { t.throws( badValue( values[ i ] ), TypeError, 'throws an error when provided ' + values[ i ] ); } t.end(); function badValue( value ) { return function badValue() { dsmeanwd( 10, new Float32Array( 10 ), value ); }; } }); tape( 'the function calculates the arithmetic mean of a strided array', opts, function test( t ) { var x; var v; x = new Float32Array( [ 1.0, -2.0, -4.0, 5.0, 0.0, 3.0 ] ); v = dsmeanwd( x.length, x, 1 ); t.strictEqual( v, 0.5, 'returns expected value' ); x = new Float32Array( [ -4.0, -4.0 ] ); v = dsmeanwd( x.length, x, 1 ); t.strictEqual( v, -4.0, 'returns expected value' ); x = new Float32Array( [ -4.0, NaN ] ); v = dsmeanwd( x.length, x, 1 ); t.strictEqual( isnan( v ), true, 'returns expected value' ); t.end(); }); tape( 'if provided an `N` parameter less than or equal to `0`, the function returns `NaN`', opts, function test( t ) { var x; var v; x = new Float32Array( [ 1.0, -2.0, -4.0, 5.0, 3.0 ] ); v = dsmeanwd( 0, x, 1 ); t.strictEqual( isnan( v ), true, 'returns expected value' ); v = dsmeanwd( -1, x, 1 ); t.strictEqual( isnan( v ), true, 'returns expected value' ); t.end(); }); tape( 'if provided an `N` parameter equal to `1`, the function returns the first element', opts, function test( t ) { var x; var v; x = new Float32Array( [ 1.0, -2.0, -4.0, 5.0, 3.0 ] ); v = dsmeanwd( 1, x, 1 ); t.strictEqual( v, 1.0, 'returns expected value' ); t.end(); }); tape( 'the function supports a `stride` parameter', opts, function test( t ) { var N; var x; var v; x = new Float32Array([ 1.0, // 0 2.0, 2.0, // 1 -7.0, -2.0, // 2 3.0, 4.0, // 3 2.0 ]); N = floor( x.length / 2 ); v = dsmeanwd( N, x, 2 ); t.strictEqual( v, 1.25, 'returns expected value' ); t.end(); }); tape( 'the function supports a negative `stride` parameter', opts, function test( t ) { var N; var x; var v; x = new Float32Array([ 1.0, // 3 2.0, 2.0, // 2 -7.0, -2.0, // 1 3.0, 4.0, // 0 2.0 ]); N = floor( x.length / 2 ); v = dsmeanwd( N, x, -2 ); t.strictEqual( v, 1.25, 'returns expected value' ); t.end(); }); tape( 'if provided a `stride` parameter equal to `0`, the function returns the first element', opts, function test( t ) { var x; var v; x = new Float32Array( [ 1.0, -2.0, -4.0, 5.0, 3.0 ] ); v = dsmeanwd( x.length, x, 0 ); t.strictEqual( v, 1.0, 'returns expected value' ); t.end(); }); tape( 'the function supports view offsets', opts, function test( t ) { var x0; var x1; var N; var v; x0 = new Float32Array([ 2.0, 1.0, // 0 2.0, -2.0, // 1 -2.0, 2.0, // 2 3.0, 4.0, // 3 6.0 ]); x1 = new Float32Array( x0.buffer, x0.BYTES_PER_ELEMENT*1 ); // start at 2nd element N = floor(x1.length / 2); v = dsmeanwd( N, x1, 2 ); t.strictEqual( v, 1.25, 'returns expected value' ); t.end(); }); ```
Bloodsucking Bastards is a 2015 American comedy horror film directed by Brian James O'Connell, written by Ryan Mitts and Dr. God, O'Connell's comedy group. The film stars Fran Kranz, Pedro Pascal, Emma Fitzpatrick, and Joey Kern. The film was limited released on September 4, 2015, and through video on demand by Scream Factory. Plot At the office where they work together, acting sales manager Evan Sanders talks to his slacker friend and coworker Tim about an upcoming presentation for the Phallucite account. After an awkward moment between Evan and the head of HR Amanda in the break room, Tim explains to coworkers Andrew and Mike that Amanda said “I love you” to Evan and Evan's response was, “no.” Branch president Ted Plunkett passes over Evan for a promotion and instead hires Max Phillips as the new sales manager. Max went to college with Evan and Tim, but Evan had him kicked out after Max slept with his girlfriend. Max moves into Evan's office and starts hitting on Amanda. In the office alone playing video games after hours, Mike is killed in one of the bathroom stalls. Evan finds Mike's body in the morning, but it is gone by the time he alerts everyone. Max secretly turns office employee Dave into a vampire. Formerly passive Dave becomes aggressive in demanding that everyone pay what is owed to the office sports betting pool. Anxious to complete his Phallucite presentation, Evan uses Zabeth, who harbors a crush on him, to retrieve files from the basement. Zabeth is attacked and turned into a vampire. Evan convinces Andrew to work late with him. Andrew goes to the basement and is attacked by Zabeth. Meanwhile, Evan searches Max's office, finding photos of Amanda and personnel files where each employee photograph is marked with an x, circle, or check. Andrew returns upstairs and seemingly drops dead in front of Evan. Evan hides in a supply closet. Determining that Max is behind the murders, Evan calls Amanda with a warning, but Max answers her phone and taunts him. Evan eventually passes out. Ted, Tim, and Max find Evan in the morning. Andrew returns as a vampire and presents the completed Phallucite presentation to the bosses. Ted admonishes Evan for not finishing it himself. However, Max strangely defends Evan to protect Evan's job. Evan tries convincing Tim that vampires have overtaken the office. Tim reveals several odd events he witnessed that corroborate Evan's wild claim, including watching Max turn administrative assistant Elaine into a vampire. Amanda still refuses to believe that anything supernatural is going on. Evan worries that Max will turn her into a vampire like the other employees. Evan and Tim go to security guard Frank for help. Frank reveals that he was with Tim when they witnessed the ongoing vampire activity. The three men go to Frank's car for weapons and discover that Frank's vehicle was robbed. The Janitor reveals he is a vampire by attacking Frank. Frank recovers and stakes the Janitor through his heart, killing him. Evan, Tim, and Frank return to the office and discover that all of the employees are now productive vampires. The men arm themselves with office supplies before confronting Ted, Max, and Andrew in Ted's office. Amanda is also present. Ted reveals that he knew Max was turning employees into vampires and that he sanctioned it so that employee performance would improve. Evan reveals that the files he found in Max's office prove that Max planned to kill Ted. Before Ted can act, Max snaps Ted's neck. Max and Andrew allow the three men to leave Ted's office with Amanda, but they are surrounded by the vampire employees. After a long battle, all of the vampires are killed. Max calls in the legal team, also turned into vampires, as reinforcements. He then compels Amanda back into Ted's office and leaves the three men to continue fighting. Andrew kills vampire Dave because he never liked him and ends up in a confrontation with Tim during which they debate how their faceoff should end. Frank dies combating the vampires from Legal. Evan returns to Ted's office where he and Amanda ultimately kill Max. Afterwards, Tim finds Evan and Amanda covered in blood and making out amidst the carnage. The three of them calmly leave the building as day breaks. A cleaning woman arrives at the grisly scene and is attacked and bitten by Andrew. Cast Fran Kranz as Evan Joey Kern as Tim Emma Fitzpatrick as Amanda Marshall Givens as Frank Pedro Pascal as Max Joel Murray as Ted Justin Ware as Andrew Yvette Yates as Zabeth Neil Garguilo as Mike David F. Park as Dave Parvesh Cheena as Jack Sean Cowhig as Janitor Zabeth Russell as Elaine Patricia Rae as Sofia Release Bloodsucking Bastards had its World Premiere as the opening night film of the 2015 Slamdance Film Festival in Park City, Utah. Shortly after it was announced, Scream Factory, had acquired distribution rights to the film. The film went on to premiere at the Sarasota Film Festival on April 11, 2015. and the Texas Frightmare Weekend on May 1, 2015. The film was released on September 4, 2015, in a limited release and through video on demand. Reception On review aggregator Rotten Tomatoes, the film holds an approval rating of 67% based on 24 reviews, with an average rating of 5.79/10. The website's critics consensus reads: "Bloodsucking Bastards gets a few gallons of B-movie fun out of its sanguine humor and solid cast, even if it isn't quite as wild as its title might suggest." On Metacritic, the film has a weighted average score of 50 out of 100, based on seven critics, indicating "mixed or average reviews". References External links Interview with Dr. God member David F Park about Bloodsucking Bastards 2015 horror films American comedy horror films 2015 films 2015 comedy horror films American business films Films scored by Anton Sanko Films set in offices Workplace comedy films Vampire comedy films 2015 comedy films 2010s English-language films 2010s American films
```python from typing import Any, Dict, NoReturn, Optional, Sequence from typing_extensions import override import typing import inspect import json import logging from requests import Session from pyicloud_ipd.exceptions import ( PyiCloudAPIResponseException, PyiCloud2SARequiredException, PyiCloudServiceNotActivatedException, ) LOGGER = logging.getLogger(__name__) HEADER_DATA = { "X-Apple-ID-Account-Country": "account_country", "X-Apple-ID-Session-Id": "session_id", "X-Apple-Session-Token": "session_token", "X-Apple-TwoSV-Trust-Token": "trust_token", "X-Apple-TwoSV-Trust-Eligible": "trust_eligible", "X-Apple-I-Rscd": "apple_rscd", "X-Apple-I-Ercd": "apple_ercd", "scnt": "scnt", } class PyiCloudPasswordFilter(logging.Filter): def __init__(self, password: str): super().__init__(password) @override def filter(self, record: logging.LogRecord) -> bool: message = record.getMessage() if self.name in message: record.msg = message.replace(self.name, "********") record.args = [] # type: ignore[assignment] return True class PyiCloudSession(Session): """iCloud session.""" def __init__(self, service: Any): self.service = service super().__init__() @override # type: ignore def request(self, method: str, url, **kwargs): # Charge logging to the right service endpoint callee = inspect.stack()[2] module = inspect.getmodule(callee[0]) request_logger = logging.getLogger(module.__name__).getChild("http") #type: ignore[union-attr] if self.service.password_filter not in request_logger.filters: request_logger.addFilter(self.service.password_filter) request_logger.debug("%s %s %s", method, url, kwargs.get("data", "")) has_retried = kwargs.get("retried") kwargs.pop("retried", None) response = super().request(method, url, **kwargs) content_type = response.headers.get("Content-Type", "").split(";")[0] json_mimetypes = ["application/json", "text/json"] request_logger.debug(response.headers) for header, value in HEADER_DATA.items(): if response.headers.get(header): session_arg = value self.service.session_data.update( {session_arg: response.headers.get(header)} ) # Save session_data to file with open(self.service.session_path, "w", encoding="utf-8") as outfile: json.dump(self.service.session_data, outfile) LOGGER.debug("Saved session data to file") # Save cookies to file self.cookies.save(ignore_discard=True, ignore_expires=True) # type: ignore[attr-defined] LOGGER.debug("Cookies saved to %s", self.service.cookiejar_path) if not response.ok and ( content_type not in json_mimetypes or response.status_code in [421, 450, 500] ): try: # pylint: disable=protected-access fmip_url = self.service._get_webservice_url("findme") if ( has_retried is None and response.status_code in [421, 450, 500] and fmip_url in url ): # Handle re-authentication for Find My iPhone LOGGER.debug("Re-authenticating Find My iPhone service") try: # If 450, authentication requires a full sign in to the account service = None if response.status_code == 450 else "find" self.service.authenticate(True, service) except PyiCloudAPIResponseException: LOGGER.debug("Re-authentication failed") kwargs["retried"] = True return self.request(method, url, **kwargs) except Exception: pass if has_retried is None and response.status_code in [421, 450, 500]: api_error = PyiCloudAPIResponseException( response.reason, str(response.status_code), True ) request_logger.debug(api_error) kwargs["retried"] = True return self.request(method, url, **kwargs) self._raise_error(str(response.status_code), response.reason) if content_type not in json_mimetypes: if self.service.session_data.get("apple_rscd") == "401": code: Optional[str] = "401" reason: Optional[str] = "Invalid username/password combination." self._raise_error(code or "Unknown", reason or "Unknown") return response try: data = response.json() if response.status_code != 204 else {} except: request_logger.warning("Failed to parse response with JSON mimetype") return response request_logger.debug(data) if isinstance(data, dict): if data.get("hasError"): errors: Optional[Sequence[Dict[str, Any]]] = typing.cast(Optional[Sequence[Dict[str, Any]]], data.get("service_errors")) # service_errors returns a list of dict # dict includes the keys: code, title, message, supressDismissal # Assuming a single error for now # May need to revisit to capture and handle multiple errors if errors: code = errors[0].get("code") reason = errors[0].get("message") self._raise_error(code or "Unknown", reason or "Unknown") elif not data.get("success"): reason = data.get("errorMessage") reason = reason or data.get("reason") reason = reason or data.get("errorReason") if not reason and isinstance(data.get("error"), str): reason = data.get("error") if not reason and data.get("error"): reason = "Unknown reason" code = data.get("errorCode") if not code and data.get("serverErrorCode"): code = data.get("serverErrorCode") if not code and data.get("error"): code = data.get("error") if reason: self._raise_error(code or "Unknown", reason) return response def _raise_error(self, code: str, reason: str) -> NoReturn: if ( self.service.requires_2sa and reason == "Missing X-APPLE-WEBAUTH-TOKEN cookie" ): raise PyiCloud2SARequiredException(self.service.user["accountName"]) if code in ("ZONE_NOT_FOUND", "AUTHENTICATION_FAILED"): reason = ( "Please log into path_to_url to manually " "finish setting up your iCloud service" ) api_error: Exception = PyiCloudServiceNotActivatedException(reason, code) LOGGER.error(api_error) raise (api_error) if code == "ACCESS_DENIED": reason = ( reason + ". Please wait a few minutes then try again." "The remote servers might be trying to throttle requests." ) if code in ["421", "450", "500"]: reason = "Authentication required for Account." api_error = PyiCloudAPIResponseException(reason, code) LOGGER.error(api_error) raise api_error ```
San Gaetano alle Grotte is a church in Catania, region of Sicily, southern Italy. The flank of this small church faces Piazza Carlo Alberto where the minor basilica church of the Santuario della Madonna del Carmine is located. , The substructure of the church is ancient, putatively built circa 260-300 as a chapel, perhaps a burial chapel, in a lava cave in use as a cistern, and dedicated to the Virgin Mary. In the seventh century, a church was built atop, once called Santa Maria La Grotta. In the 8th century, the Muslims either demolished or abandoned that structure. The Norman rulers, restores a church and added the large columns of the upper presbytery. The church was razed by the 1693 Sicily earthquake, and reconstruction was pursued for nearly the entire 18th century, completed only in 1801. The remaining access for the crypt was a steep narrow staircase. In 1958, the church and crypt were restored by the Carmelite friars. References Roman Catholic churches in Catania
The Nanjing University of the Arts (NUA; ), also known as the Nanjing Arts Institute, is a university offering undergraduate and graduate degrees in fine arts, design, and related subjects. The institutional history begins in 1912, with the foundation of Shanghai Chinese Art College. The name was changed to the Shanghai Academy of Fine Arts of in 1930. The amalgamation of several universities in 1952 produced East China Arts College, situated in Wuxi. In 1958, East China Arts College relocated to Nanjing, and in 1959 it acquired its present name. The lyrics to the school song were written by Cai Yuanpei. The university's partnerships include programs with the University of Dayton and Hokuriku University. The university is served by the Caochangmen/NUA/JSSNU station of the Nanjing Metro. References 1912 establishments in China Art schools in China Universities and colleges established in 1912 Universities and colleges in Nanjing
is a train station located in Ōmuta, Fukuoka. Lines Nishi-Nippon Railroad Tenjin Ōmuta Line Platforms Adjacent stations |- |colspan=5 style="text-align:center;" |Nishi-Nippon Railroad Railway stations in Fukuoka Prefecture Railway stations in Japan opened in 1970
The 2019 China Tour was the third season of the China Tour in which it had separated from the PGA Tour China. Schedule The following table lists official events during the 2019 season. Order of Merit The Order of Merit was based on prize money won during the season, calculated in Renminbi. The leading player on the tour (not otherwise exempt) earned status to play on the 2020 European Tour. See also 2019 PGA Tour China Notes References External links 2019 in golf 2019 in Chinese sport
```python # # The Python Imaging Library. # $Id$ # # Windows Icon support for PIL # # History: # 96-05-27 fl Created # # # See the README file for information on usage and redistribution. # # This plugin is a refactored version of Win32IconImagePlugin by Bryan Davis # <casadebender@gmail.com>. # path_to_url # # Icon format references: # * path_to_url # * path_to_url import struct from io import BytesIO from . import Image, ImageFile, BmpImagePlugin, PngImagePlugin from ._binary import i8, i16le as i16, i32le as i32 from math import log, ceil __version__ = "0.1" # # your_sha256_hash---- _MAGIC = b"\0\0\1\0" def _save(im, fp, filename): fp.write(_MAGIC) # (2+2) sizes = im.encoderinfo.get("sizes", [(16, 16), (24, 24), (32, 32), (48, 48), (64, 64), (128, 128), (256, 256)]) width, height = im.size sizes = filter(lambda x: False if (x[0] > width or x[1] > height or x[0] > 256 or x[1] > 256) else True, sizes) sizes = list(sizes) fp.write(struct.pack("<H", len(sizes))) # idCount(2) offset = fp.tell() + len(sizes)*16 for size in sizes: width, height = size # 0 means 256 fp.write(struct.pack("B", width if width < 256 else 0)) # bWidth(1) fp.write(struct.pack("B", height if height < 256 else 0)) # bHeight(1) fp.write(b"\0") # bColorCount(1) fp.write(b"\0") # bReserved(1) fp.write(b"\0\0") # wPlanes(2) fp.write(struct.pack("<H", 32)) # wBitCount(2) image_io = BytesIO() tmp = im.copy() tmp.thumbnail(size, Image.LANCZOS) tmp.save(image_io, "png") image_io.seek(0) image_bytes = image_io.read() bytes_len = len(image_bytes) fp.write(struct.pack("<I", bytes_len)) # dwBytesInRes(4) fp.write(struct.pack("<I", offset)) # dwImageOffset(4) current = fp.tell() fp.seek(offset) fp.write(image_bytes) offset = offset + bytes_len fp.seek(current) def _accept(prefix): return prefix[:4] == _MAGIC class IcoFile(object): def __init__(self, buf): """ Parse image from file-like object containing ico file data """ # check magic s = buf.read(6) if not _accept(s): raise SyntaxError("not an ICO file") self.buf = buf self.entry = [] # Number of items in file self.nb_items = i16(s[4:]) # Get headers for each item for i in range(self.nb_items): s = buf.read(16) icon_header = { 'width': i8(s[0]), 'height': i8(s[1]), 'nb_color': i8(s[2]), # No. of colors in image (0 if >=8bpp) 'reserved': i8(s[3]), 'planes': i16(s[4:]), 'bpp': i16(s[6:]), 'size': i32(s[8:]), 'offset': i32(s[12:]) } # See Wikipedia for j in ('width', 'height'): if not icon_header[j]: icon_header[j] = 256 # See Wikipedia notes about color depth. # We need this just to differ images with equal sizes icon_header['color_depth'] = (icon_header['bpp'] or (icon_header['nb_color'] != 0 and ceil(log(icon_header['nb_color'], 2))) or 256) icon_header['dim'] = (icon_header['width'], icon_header['height']) icon_header['square'] = (icon_header['width'] * icon_header['height']) self.entry.append(icon_header) self.entry = sorted(self.entry, key=lambda x: x['color_depth']) # ICO images are usually squares # self.entry = sorted(self.entry, key=lambda x: x['width']) self.entry = sorted(self.entry, key=lambda x: x['square']) self.entry.reverse() def sizes(self): """ Get a list of all available icon sizes and color depths. """ return {(h['width'], h['height']) for h in self.entry} def getimage(self, size, bpp=False): """ Get an image from the icon """ for (i, h) in enumerate(self.entry): if size == h['dim'] and (bpp is False or bpp == h['color_depth']): return self.frame(i) return self.frame(0) def frame(self, idx): """ Get an image from frame idx """ header = self.entry[idx] self.buf.seek(header['offset']) data = self.buf.read(8) self.buf.seek(header['offset']) if data[:8] == PngImagePlugin._MAGIC: # png frame im = PngImagePlugin.PngImageFile(self.buf) else: # XOR + AND mask bmp frame im = BmpImagePlugin.DibImageFile(self.buf) # change tile dimension to only encompass XOR image im.size = (im.size[0], int(im.size[1] / 2)) d, e, o, a = im.tile[0] im.tile[0] = d, (0, 0) + im.size, o, a # figure out where AND mask image starts mode = a[0] bpp = 8 for k, v in BmpImagePlugin.BIT2MODE.items(): if mode == v[1]: bpp = k break if 32 == bpp: # 32-bit color depth icon image allows semitransparent areas # PIL's DIB format ignores transparency bits, recover them. # The DIB is packed in BGRX byte order where X is the alpha # channel. # Back up to start of bmp data self.buf.seek(o) # extract every 4th byte (eg. 3,7,11,15,...) alpha_bytes = self.buf.read(im.size[0] * im.size[1] * 4)[3::4] # convert to an 8bpp grayscale image mask = Image.frombuffer( 'L', # 8bpp im.size, # (w, h) alpha_bytes, # source chars 'raw', # raw decoder ('L', 0, -1) # 8bpp inverted, unpadded, reversed ) else: # get AND image from end of bitmap w = im.size[0] if (w % 32) > 0: # bitmap row data is aligned to word boundaries w += 32 - (im.size[0] % 32) # the total mask data is # padded row size * height / bits per char and_mask_offset = o + int(im.size[0] * im.size[1] * (bpp / 8.0)) total_bytes = int((w * im.size[1]) / 8) self.buf.seek(and_mask_offset) mask_data = self.buf.read(total_bytes) # convert raw data to image mask = Image.frombuffer( '1', # 1 bpp im.size, # (w, h) mask_data, # source chars 'raw', # raw decoder ('1;I', int(w/8), -1) # 1bpp inverted, padded, reversed ) # now we have two images, im is XOR image and mask is AND image # apply mask image as alpha channel im = im.convert('RGBA') im.putalpha(mask) return im ## # Image plugin for Windows Icon files. class IcoImageFile(ImageFile.ImageFile): """ PIL read-only image support for Microsoft Windows .ico files. By default the largest resolution image in the file will be loaded. This can be changed by altering the 'size' attribute before calling 'load'. The info dictionary has a key 'sizes' that is a list of the sizes available in the icon file. Handles classic, XP and Vista icon formats. This plugin is a refactored version of Win32IconImagePlugin by Bryan Davis <casadebender@gmail.com>. path_to_url """ format = "ICO" format_description = "Windows Icon" def _open(self): self.ico = IcoFile(self.fp) self.info['sizes'] = self.ico.sizes() self.size = self.ico.entry[0]['dim'] self.load() def load(self): im = self.ico.getimage(self.size) # if tile is PNG, it won't really be loaded yet im.load() self.im = im.im self.mode = im.mode self.size = im.size def load_seek(self): # Flag the ImageFile.Parser so that it # just does all the decode at the end. pass # # your_sha256_hash---- Image.register_open(IcoImageFile.format, IcoImageFile, _accept) Image.register_save(IcoImageFile.format, _save) Image.register_extension(IcoImageFile.format, ".ico") ```
Léon Alfred Nicolas Valentin (22 March 1919, Épinal (Vosges), France - 21 May 1956, Liverpool, England) was a French adventurer, who attempted to achieve human flight using bird-like wings. Léo Valentin is widely considered to be the most famous "birdman" of all time. He was billed as "Valentin, the Most Daring Man in the World". Biography Early involvement in parachuting Léo Valentin was born in 1919 in Épinal (Vosges), France. He always had a keen interest in airplanes, and read avidly about powered aircraft and gliders. His ultimate dream was to be able to fly like the birds. At the outbreak of the Second World War he planned to become a fighter pilot, but opted to train as a paratrooper. At age 19, he joined a group of French paratroopers in Baraki, Algeria. After the outbreak of World War II and the fall of France, he became an instructor with the rank of sergeant at a parachute school in Fez, Morocco. He then sailed to England for retraining, parachuted into Brittany as a saboteur in June 1939 and was wounded in the arm in a firefight at Loire. After the war Valentin again served as a parachute instructor and directed his attention toward his lifelong ambition. While still in the French Army he developed the jumping technique known as the "Valentin position", allowing him better control of his movements in the air. In February 1948 he set a record for the longest free fall without a respirator (). He subsequently made another free fall of and set a record for the longest night free fall (). Shortly thereafter he left the army after ten years of service to continue his experiments as a civilian. Birdman: from concept to practice At Villacoublay airfield, near Paris, Valentin attempted his first "wing jump" using wings made of canvas, but he failed to achieve any forward speed. He then tried rigid wings to prevent the wings from collapsing. On 13 May 1954, with the help of a set of rigid wooden wings, he finally managed some kind of stability with the initial spiral. Valentin later claimed that he managed to fly for three miles using his wooden wings. Death On 21 May 1956 Valentin was at a Whit Monday air show in Liverpool before 100,000 spectators (including Beatles Paul McCartney and George Harrison, as well as three-year-old Clive Barker, who would later reference Valentin in his work), using wings similar to the wooden ones that had brought him success in the past, but longer and more aerodynamic. However, the stunt immediately went wrong. When exiting the plane, one of Valentin's wings made contact and a piece broke away. He attempted to land safely using a parachute, but that also failed, and he died immediately upon hitting the ground. Valentin's body arrived by plane at the airbase Luxeuil-St-Sauveur (BA 116), where military honours were rendered to him. Placed on a command car of the French Air Force and covered with flowers, the body arrived at the church of Saint-Sauveur, Haute-Saône, on 3 June 1956. See also Wingsuit flying References Bibliography External links The Birdman Aviation pioneers French aviators 20th-century French inventors French military personnel of World War II French skydivers Parachuting deaths Sportspeople from Épinal 1919 births 1956 deaths
The Ottawa Victorias were an early Canadian ice hockey team. The club challenged for the Stanley Cup in 1908, losing to the Montreal Wanderers. History The club was founded in 1901 by Jimmie Enright, owner and manager of the Victoria ice rink in Ottawa. For two seasons, the team only played exhibition matches, without a defeat. For the 1903 season, the team joined the Ottawa City Hockey League, playing against the Beavers, Emmetts, Nationals and Rialto teams. The Victorias won the OCHL championship against the Emmetts at the Rialto Rink. In the 1904 season, the Victorias joined the Canadian Amateur Hockey League (CAHL), junior division. The Victorias defeated Buckingham, Quebec to win the title. For the following season, the Victorias joined the Federal Amateur Hockey League (FAHL), coming second against Smiths Falls for the 1905–06 title. In the 1906–07 season, the Victorias were involved in the on-ice donnybrook with the Cornwall club that resulted in Bud McCourt's death. Cornwall dropped out of the league and the Victorias were awarded the league title. After being awarded the 1907 title, the Victorias issued a challenge for the Stanley Cup. The Victorias had to play a qualifying game against Renfrew of the Upper Ottawa League. After defeating Renfrew, the Victorias played the challenge against the Montreal Wanderers, losing the two-game, total-goals series 22 to 4 in January 1908. In the team's final season of 1907–08, the league dissolved after a month's worth of play. Three teams were active, Brockville, Cornwall and Ottawa. The Brockville team was the Renfrew Creamery Kings of the Upper Ottawa league. The Victorias refused to play against Brockville's rented team and the league dissolved. Notable players Eddie Gerard – 1945 Hockey Hall of Fame inductee Tommy Smith – 1973 Hockey Hall of Fame inductee References Ice hockey teams in Ottawa Sports clubs and teams established in 1901 1901 establishments in Ontario 1908 disestablishments in Ontario Sports clubs and teams disestablished in 1908
```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. // Tests for OpExtension validator rules. #include <string> #include <vector> #include "gmock/gmock.h" #include "source/spirv_target_env.h" #include "test/unit_spirv.h" #include "test/val/val_fixtures.h" namespace spvtools { namespace val { namespace { using ::testing::HasSubstr; using ::testing::Values; using ::testing::ValuesIn; using ValidateSpvKHRBitInstructions = spvtest::ValidateBase<bool>; TEST_F(ValidateSpvKHRBitInstructions, Valid) { const std::string str = R"( OpCapability Kernel OpCapability Addresses OpCapability BitInstructions OpExtension "SPV_KHR_bit_instructions" OpMemoryModel Physical32 OpenCL OpEntryPoint Kernel %main "main" %void = OpTypeVoid %void_fn = OpTypeFunction %void %u32 = OpTypeInt 32 0 %u32_1 = OpConstant %u32 1 %main = OpFunction %void None %void_fn %entry = OpLabel %unused = OpBitReverse %u32 %u32_1 OpReturn OpFunctionEnd )"; CompileSuccessfully(str.c_str()); EXPECT_EQ(SPV_SUCCESS, ValidateInstructions()); } TEST_F(ValidateSpvKHRBitInstructions, RequiresExtension) { const std::string str = R"( OpCapability Kernel OpCapability Addresses OpCapability BitInstructions OpMemoryModel Physical32 OpenCL OpEntryPoint Kernel %main "main" %void = OpTypeVoid %void_fn = OpTypeFunction %void %u32 = OpTypeInt 32 0 %u32_1 = OpConstant %u32 1 %main = OpFunction %void None %void_fn %entry = OpLabel %unused = OpBitReverse %u32 %u32_1 OpReturn OpFunctionEnd )"; CompileSuccessfully(str.c_str()); EXPECT_NE(SPV_SUCCESS, ValidateInstructions()); EXPECT_THAT( getDiagnosticString(), HasSubstr("1st operand of Capability: operand BitInstructions(6025) " "requires one of these extensions: SPV_KHR_bit_instructions")); } TEST_F(ValidateSpvKHRBitInstructions, RequiresCapability) { const std::string str = R"( OpCapability Kernel OpCapability Addresses OpExtension "SPV_KHR_bit_instructions" OpMemoryModel Physical32 OpenCL OpEntryPoint Kernel %main "main" %void = OpTypeVoid %void_fn = OpTypeFunction %void %u32 = OpTypeInt 32 0 %u32_1 = OpConstant %u32 1 %main = OpFunction %void None %void_fn %entry = OpLabel %unused = OpBitReverse %u32 %u32_1 OpReturn OpFunctionEnd )"; CompileSuccessfully(str.c_str()); EXPECT_NE(SPV_SUCCESS, ValidateInstructions()); EXPECT_THAT(getDiagnosticString(), HasSubstr("Opcode BitReverse requires one of these capabilities: " "Shader BitInstructions")); } } // namespace } // namespace val } // namespace spvtools ```
Laugh USA is a Sirius XM Radio channel featuring family comedy and broadcasts on channel 98. The channel's slogan is "Comedy for Everyone." The comedy aired sometimes contains mild profanities and slightly risqué material, and is only very rarely considered offensive. Artists Although much variety exists in the format, comedian segments commonly include Bill Cosby, Bill Engvall, Brian Regan, Carl Hurley, Chonda Pierce, Father Guido Sarducci, Gabriel Iglesias, Jeanne Robertson, and others. Vintage routines can also be heard, including classics from Abbott and Costello, Bob Newhart, Bob and Ray, Henny Youngman, Mel Brooks, and Rodney Dangerfield, among others. Features Before the merger in 2008, this channel featured a weekly mix known as the Comedy Piñata hosted by Joel Haas, where comedy was often delivered on a single topic, often seasonal, from various of its comedians' routines. Comedy Piñata was also known to highlight a single artist, whether by simply presenting a comedy concert, or in a format where standup comedy segments are woven into a sit-down interview presentation. External links Laugh USA XM Satellite Radio channels Sirius XM Radio channels Sirius Satellite Radio channels Comedy radio stations in the United States Radio stations established in 2001
The Democratic Party (, PD) is a social-democratic political party in Italy. The party's secretary is Elly Schlein, elected in the 2023 leadership election, while the party's president is Stefano Bonaccini. The PD was established in 2007 upon the merger of various centre-left parties which had been part of The Olive Tree list in the 2006 Italian general election, mainly the social-democratic Democrats of the Left (DS), successor of the Italian Communist Party and the Democratic Party of the Left, which was folded with several social-democratic parties (Labour Federation and Social Christians, among others) in 1998, as well as the largely Catholic-inspired Democracy is Freedom – The Daisy (DL), a merger of the Italian People's Party (heir of the Christian Democracy party's left wing), The Democrats and Italian Renewal in 2002. While the party has also been influenced by Christian left, social liberalism and Third Way, especially under Matteo Renzi's leadership, the PD moved closer to social liberalism. Under latter leaders, especially Schlein, whose upbringing is influenced by the radical left, environmentalism and green politics, the party has moved to the left. Between 2013 and 2018, the Council of Ministers was led by three successive prime ministers of Italy from the PD, namely Letta (2013–2014), Renzi (2014–2016) and Paolo Gentiloni (2016–2018). The PD was the second-largest party in the 2018 Italian general election, where the centre-left coalition came third. The party was returned to government in September 2019 with the Conte II Cabinet, as junior partner of the Five Star Movement, and joined the national unity Draghi Cabinet, comprising also the League and Forza Italia, in February 2021. As of 2021, the party heads five regional governments. In the 2022 Italian general election, the PD-led coalition achieved similar results to 2018 and returned to the opposition. Prominent Democrats include former leaders Walter Veltroni, Dario Franceschini, Nicola Zingaretti and Enrico Letta. Former members have included Giorgio Napolitano (President of Italy, 2006–2015), Sergio Mattarella (President of Italy, 2015–present), four Prime Ministers (Romano Prodi, Giuliano Amato, Massimo D'Alema and Renzi), three former leaders (Pier Luigi Bersani, Guglielmo Epifani and, again, Renzi), as well as David Sassoli (President of the European Parliament, 2019–2022), Francesco Rutelli, Pietro Grasso and Carlo Calenda. History Background: The Olive Tree Following Tangentopoli scandals, the end of the so-called First Republic and the transformation of the Italian Communist Party (PCI) into the Democratic Party of the Left (PDS) in the early 1990s, a process aimed at uniting left-wing and centre-left forces into a single political entity was started. In 1995, Romano Prodi, a former minister of Industry on behalf of the left-wing faction of Christian Democracy (DC), entered politics and founded The Olive Tree (L'Ulivo), a centre-left coalition including the PDS, the Italian People's Party (PPI), the Federation of the Greens (FdV), Italian Renewal (RI), the Italian Socialists (SI) and Democratic Union (UD). The coalition in alliance with the Communist Refoundation Party (PRC) won the 1996 general election and Prodi became Prime Minister. In February 1998, the PDS merged with minor social-democratic parties (Labour Federation and Social Christians, among others) to become the Democrats of the Left (DS), while in March 2002 the PPI, RI and The Democrats (Prodi's own party, launched in 1999) became Democracy is Freedom – The Daisy (DL). In the summer of 2003, Prodi suggested that centre-left forces should participate in the 2004 European Parliament election with a common list. Whereas the Union of Democrats for Europe (UDEUR) and the far-left parties refused, four parties accepted, namely the DS, DL, the Italian Democratic Socialists (SDI) and the European Republicans Movement (MRE). These launched a joint list named United in the Olive Tree which ran in the election and garnered 31.1% of the vote. The project was later abandoned in 2005 by the SDI. In the 2006 general election, the list obtained 31.3% of the vote for the Chamber of Deputies. Road to the Democratic Party The project of a Democratic Party was often mentioned by Prodi as the natural evolution of The Olive Tree and was bluntly envisioned by Michele Salvati, a former centrist deputy of the DS, in an appeal in Il Foglio newspaper in April 2013. The term Partito Democratico was used for the first time in a formal context by the DL and DS members of the Regional Council of Veneto, who chose to form a joint group named The Olive Tree – Venetian Democratic Party (L'Ulivo – Partito Democratico Veneto) in March 2007. The 2006 election result, anticipated by the 2005 primary election in which over four million voters endorsed Prodi as candidate for Prime Minister, gave a push to the project of a unified centre-left party. Eight parties agreed to merge into the PD: Democrats of the Left (DS, social-democratic, leader: Piero Fassino) Democracy is Freedom – The Daisy (DL, centrist, leader: Francesco Rutelli). Southern Democratic Party (PDM, centrist, leader: Agazio Loiero); Sardinia Project (PS, social-democratic, leader: Renato Soru); European Republicans Movement (MRE, social-liberal, leader: Luciana Sbarbati); Democratic Republicans (RD, social-liberal, leader: Giuseppe Ossorio); Middle Italy (IdM, centrist, leader: Marco Follini); Reformist Alliance (AR, social-democratic, leader: Ottaviano Del Turco). While the DL agreed to the merger with virtually no resistance, the DS experienced a more heated final congress. On 19 April 2007, approximately 75% of party members voted in support of the merger of the DS into the PD. The left-wing opposition, led by Fabio Mussi, obtained just 15% of the support within the party. A third motion, presented by Gavino Angius and supportive of the PD only within the Party of European Socialists (PES), obtained 10% of the vote. Both Mussi and Angius refused to join the PD and, following the congress, founded a new party called Democratic Left (SD). On 22 May 2007, the organising committee of the nascent party was formed. It consisted of 45 members, mainly politicians from the two aforementioned major parties and the leaders of the other six minor parties. Also leading external figures such as Giuliano Amato, Marcello De Cecco, Gad Lerner, Carlo Petrini and Tullia Zevi were included. On 18 June, the committee decided the rules for the open election of the 2,400 members of the party's constituent assembly; each voter could choose between a number of lists, each of them associated with a candidate for secretary. Foundation and leadership election All candidates interested in running for the PD leadership had to be associated with one of the founding parties and present at least 2,000 valid signatures by 30 July 2007. A total of ten candidates officially registered their candidacy: Walter Veltroni, Rosy Bindi, Enrico Letta, Furio Colombo, Marco Pannella, Antonio Di Pietro, Mario Adinolfi, Pier Giorgio Gawronski, Jacopo Schettini, Lucio Cangini and Amerigo Rutigliano. Of these, Pannella and Di Pietro were rejected because of their involvement in external parties (the Radicals and Italy of Values respectively) whereas Cangini and Rutigliano did not manage to present the necessary 2,000 valid signatures for the 9 pm deadline and Colombo's candidacy was instead made into hiatus to give him 48 additional hours to integrate the required documentation. Colombo later decided to retire his candidacy citing his impossibility to fit with all the requirements. All rejected candidates had the chance against the decision in 48 hours' time, with Pannella and Rutigliano being the only two candidates to appeal against it. Both were rejected on 3 August. On 14 October 2007, Veltroni was elected leader with about 75% of the national votes in an open primary attended by over three million voters. Veltroni was proclaimed secretary during a party's constituent assembly held in Milan on 28 October 2007. On 21 November, the new logo was unveiled. It depicts an olive branch and the acronym PD in colours reminiscent of the Italian tricolour flag (green, white and red). In the words of Ermete Realacci, green represents the ecologist and social-liberal cultures, white the Catholic solidarity and red the socialist and social-democratic traditions. The green-white-red idea was coined by Schettini during his campaign. Leadership of Walter Veltroni After the premature fall of the Prodi II Cabinet in January 2008, the PD decided to form a less diverse coalition. The party invited the Radicals and the Socialist Party (PS) to join its lists, but only the Radicals accepted and formed an alliance with Italy of Values (IdV) which was set to join the PD after the election. The PD included many notable candidates and new faces in its lists and Walter Veltroni, who tried to present the PD as the party of the renewal in contrast both with Silvio Berlusconi and the previous centre-left government, ran an intense and modern campaign which led him to visit all provinces of Italy, but that was not enough. In the 2008 general election on 13–14 April 2008, the PD–IdV coalition won 37.5% of the vote and was defeated by the centre-right coalition, composed of The People of Freedom (PdL), the Lega Nord and the Movement for Autonomy (46.8%). The PD was able to absorb some votes from the parties of the far-left as also IdV did, but lost voters to the Union of the Centre (UdC), ending up with 33.2% of the vote, 217 deputies and 119 senators. After the election Veltroni, who was gratified by the result, formed a shadow cabinet. IdV, excited by its 4.4% which made it the fourth largest party in Parliament, refused to join both the Democratic groups and the shadow cabinet. The early months after the election were a difficult time for the PD and Veltroni, whose leadership was weakened by the growing influence of internal factions because of the popularity of Berlusconi and the dramatic rise of IdV in opinion polls. IdV became a strong competitor of the PD and the relations between the two parties became tense. In the 2008 Abruzzo regional election, the PD was forced to support IdV candidate Carlo Costantini. In October, Veltroni, who distanced from Di Pietro many times, declared that "on some issues he [Di Pietro] is distant from the democratic language of the centre-left". Leadership of Dario Franceschini After a crushing defeat in the February 2009 Sardinian regional election, Walter Veltroni resigned as party secretary. His deputy Dario Franceschini took over as interim party secretary to guide the party toward the selection of a new stable leader. Franceschini was elected by the party's national assembly with 1,047 votes out of 1,258. His only opponent Arturo Parisi won a mere 92 votes. Franceschini was the first former Christian Democrat to lead the party. The 2009 European Parliament election was an important test for the PD. Prior to the election, the PD considered offering hospitality to the Socialist Party (PS) and the Greens in its lists, and proposed a similar pact to Democratic Left (SD). However, the Socialists, the Greens and Democratic Left decided instead to contest the election together as a new alliance called Left and Freedom which failed to achieve the 4% threshold required to return any MEPs, but damaged the PD, which gained 26.1% of the vote, returning 21 MEPs. Leadership of Pier Luigi Bersani The national convention and a subsequent open primary were called for October, with Franceschini, Pier Luigi Bersani and Ignazio Marino were running for the leadership, while a fourth candidate, Rutigliano, was excluded because of lack of signatures. In local conventions, a 56.4% of party members voted and Bersani was by far the most voted candidate with 55.1% of the vote, largely ahead of Franceschini (37.0%) and Marino (7.9%). Three million people participated in the open primary on 25 October 2009; Bersani was elected new secretary of the party with about 53% of the vote, ahead of Franceschini with 34% and Marino with 13%. On 7 November, during the first meeting of the new national assembly, Bersani was declared secretary, Rosy Bindi was elected party president (with Marina Sereni and Ivan Scalfarotto vice presidents), Enrico Letta deputy secretary and Antonio Misiani treasurer. In reaction to the election of Bersani, perceived by some moderates as an old-style social democrat, Francesco Rutelli (a long-time critic of the party's course) and other centrists and liberals within the PD left to form a new centrist party, named Alliance for Italy (ApI). Following March 2009, and especially after Bersani's victory, many deputies, senators, one MEP and several regional/local councillors left the party to join the UdC, ApI and other minor parties. They included many Rutelliani and most Teodems. In March 2010, a big round of regional elections, involving eleven regions, took place. The PD lost four regions to the centre-right (Piedmont, Lazio, Campania and Calabria), and maintained its hold on six (Liguria, Emilia-Romagna, Tuscany, Marche, Umbria and Basilicata), plus Apulia, a traditionally conservative region where due to divisions within the centre-right Nichi Vendola of SEL was re-elected with the PD's support. In September 2011, Bersani was invited by Antonio Di Pietro's IdV to take part to its annual late summer convention in Vasto, Abruzzo. Bersani, who had been accused by Di Pietro of avoiding him to court the centre-right UdC, proposed the formation of a New Olive Tree coalition comprising the PD, IdV and SEL. The three party leaders agreed in what was soon dubbed the pact of Vasto. The pact was broken after the resignation of Silvio Berlusconi as Prime Minister in November 2011, as the PD gave external support to Mario Monti's technocratic government, along with the PdL and the UdC. Road to the 2013 general election A year after the pact of Vasto, the relations between the PD and IdV had become tense. IdV and its leader, Antonio Di Pietro, were thus excluded from the coalition talks led by Bersani. To these talks were instead invited SEL led by Nichi Vendola and the Italian Socialist Party (PSI) led by Riccardo Nencini. The talks resulted on 13 October 2012 in the Pact of Democrats and Progressives (later known as Italy. Common Good) and produced the rules for the upcoming centre-left primary election, during which the PD–SEL–PSI joint candidate for Prime Minister in the 2013 general election would be selected. In the primary, the strongest challenge to Bersani was posed by a fellow Democrat, the 37-year-old mayor of Florence Matteo Renzi, a liberal moderniser, who had officially launched his leadership bid on 13 September 2012 in Verona, Veneto. Bersani launched his own bid on 14 October in his hometown Bettola, north-western Emilia. Other candidates included Nichi Vendola (SEL), Bruno Tabacci (ApI) and Laura Puppato (PD). In the 2012 regional election, Rosario Crocetta (member of the PD) was elected president with 30.5% of the vote thanks to the support of the UdC, but the coalition failed to secure an outright majority in the Regional Assembly. For the first time in 50 years, a left-wing politician had the chance to govern Sicily. On 25 November, Bersani came ahead in the first round of the primary election with 44.9% of the vote, Renzi came second with 35.5%, followed by Vendola (15.6%), Puppato (2.6%) and Tabacci (1.4%). Bersani did better in the South while Renzi prevailed in Tuscany, Umbria and Marche. In the subsequent run-off, on 2 December, Bersani trounced Renzi 60.9% to 39.1% by winning in each and every single region but Tuscany, where Renzi won 54.9% of the vote. The PD secretary did particularly well in Lazio (67.8%), Campania (69.4%), Apulia (71.4%), Basilicata (71.7%), Calabria (74.4%), Sicily (66.5%) and Sardinia (73.5%). 2013 general election In the election, the PD and its coalition fared much worse than expected and according to pollsters predictions. The PD won just 25.4% of the vote for the Chamber of Deputies (−8.0% from 2008) and the centre-left coalition narrowly won the majority in the house over the centre-right coalition (29.5% to 29.3%). Even worse, in the Senate the PD and its allies failed to get an outright majority due to the rise of the Five Star Movement (M5S) and the centre-right's victory in key regions such as Lombardy, Veneto, Campania, Apulia, Calabria and Sicily (the centre-right was awarded of the majority premium in those regions, leaving the centre-left with just a handful of elects there). Consequently, the PD-led coalition was unable to govern alone because it lacked a majority in the Senate which has equal power to the Chamber. As a result, Bersani, who refused any agreement with the PdL and was rejected by the M5S, failed to form a government. After an agreement with the centre-right parties, Bersani put forward Franco Marini as his party's candidate for President to succeed to Giorgio Napolitano on 17 April. However, Renzi, several Democratic delegates and SEL did not support Marini. On 18 April, Marini received just 521 votes in the first ballot, short of the 672 needed, as more than 200 centre-left delegates rebelled. On 19 April, the PD and SEL selected Romano Prodi to be their candidate in the fourth ballot. Despite his candidacy had received unanimous support among the two parties' delegates, Prodi obtained only 395 votes in the fourth ballot as more than 100 centre-left electors did not vote for him. After the vote, Prodi pulled out of the race and Bersani resigned as party secretary. Bindi, the party's president, also resigned. The day after, Napolitano accepted to stand again for election and was re-elected President with the support of most parliamentary parties. On 28 April, Enrico Letta, the party's deputy secretary and former Christian Democrat, was sworn in as Prime Minister of Italy at the head of a government based around a grand coalition including the PdL, Civic Choice (SC) and the UdC. Letta was the first Democrat to become Prime Minister. Leadership of Guglielmo Epifani After Bersani's resignation from party secretary on 20 April 2013, the PD remained without a leader for two weeks. On 11 May 2013, Guglielmo Epifani was elected secretary at the national assembly of the party with 85.8% of vote. Epifani, secretary-general of the Italian General Confederation of Labour (CGIL), Italy's largest trade union, from 2002 to 2010, was the first former Socialist to lead the party. Epifani's mission was to lead the party toward a national convention in October. A few weeks after Epifani's election as secretary, the PD had a success in the 2013 local elections, winning in 69 comuni (including Rome and all the other 14 provincial capitals up for election) while the PdL won 22 and the M5S 1. The decision, on 9 November, that the PD would organise the next congress of the Party of European Socialists (PES) in Rome in early 2014, sparked protests among some of the party's Christian democrats, who opposed PES membership. Epifani was little more than a secretary pro tempore and in fact frequently repeated that he was not going to run for a full term as secretary in the leadership race that would take place in late 2013, saying that his candidacy would be a betrayal of his mandate. Leadership of Matteo Renzi Four individuals filed their bid for becoming secretary, namely Matteo Renzi, Pippo Civati, Gianni Cuperlo and Gianni Pittella. The leadership race started with voting by party members in local conventions (7–17 November). Renzi came first with 45.3%, followed by Cuperlo (39.4%), Civati (9.4%) and Pittella (5.8%). The first three were admitted to the open primary. On 8 December, Renzi, who won in all regions but was stronger in the Centre-North, trounced his opponents with 67.6% of the vote. Cuperlo, whose support was higher in the South, came second with 18.2% while Civati, whose message did well with northern urban and progressive voters, came third with 14.2%. On 15 December, Renzi, whose executive included many young people and a majority of women, was proclaimed secretary by the party's national assembly while Cuperlo was elected president as proposed by Renzi. On 20 January 2014, Cuperlo criticised the electoral reform proposed by Renzi in agreement with Berlusconi, but the proposal was overwhelmingly approved by the party's national board. The day after the vote, Cuperlo resigned from president. He was later replaced by Matteo Orfini, who hailed from the party's left-wing, but since then became more and more supportive of Renzi. After frequent calls by Renzi for a new phase, the national board decided to put an end to Letta's government on 13 February and form a new one led by Renzi as the latter had proposed. Subsequently, Renzi was sworn in as Prime Minister on 22 February at the head of an identical coalition. On 28 February, the PD officially joined the PES as a full member, ending a decade-long debate. Premiership of Matteo Renzi In the 2014 European Parliament election, the party obtained 40.8% of the vote and 31 seats. The party's score was virtually 15 percentage points up from five years before and the best result for an Italian party in a nationwide election since the 1958 general election, when Christian Democracy won 42.4%. The PD was also the largest national party within the Parliament in its 8th term. Following his party's success, Renzi was able to secure the post of High Representative of the Union for Foreign Affairs and Security Policy within the European Commission for Federica Mogherini, his minister of Foreign Affairs. In January 2015, Sergio Mattarella, a veteran left-wing Christian Democrat and founding member of the PD, whose candidacy had been proposed by Renzi and unanimously endorsed by the party's delegates, was elected President of Italy during a presidential election triggered by President Giorgio Napolitano's resignation. During Renzi's first year as Prime Minister, several MPs defected from other parties to join the PD. They comprised splinters from SEL (most of whom led by Gennaro Migliore, see Freedom and Rights), SC (notably including Stefania Giannini, Pietro Ichino and Andrea Romano) and the M5S. Consequently, the party increased its parliamentary numbers to 311 deputies and 114 senators by April 2015. Otherwise, Sergio Cofferati, Giuseppe Civati and Stefano Fassina left. They were the first and most notable splinters among the ranks of the party's internal left, but several others followed either Civati (who launched Possible) or Fassina (who launched Future to the Left and Italian Left) in the following months. By May 2016, the PD's parliamentary numbers had gone down to 303 deputies and 114 senators. In the 2015 regional elections, Democratic presidents were elected (or re-elected) in five regions out of seven, namely Enrico Rossi in Tuscany, Luca Ceriscioli in Marche, Catiuscia Marini in Umbria, Vincenzo De Luca in Campania and Michele Emiliano in Apulia. As a result, 16 regions out of 20, including all those of central and southern Italy, were governed by the centre-left while the opposition Lega Nord led Veneto and Lombardy and propped up a centre-right government in Liguria. Road to the 2018 general election After a huge defeat in the 2016 constitutional referendum (59.9% no, 40.1% yes), Renzi resigned as Prime Minister in December 2016 and was replaced by fellow Democrat Paolo Gentiloni, whose government's composition and coalition were very similar to those of the Renzi Cabinet. In February 2017, Renzi resigned also as PD secretary to run in the 2017 leadership election. Renzi, Andrea Orlando (one of the leaders of the Remake Italy faction; the other leader Matteo Orfini was the party's president and supported Renzi) and Michele Emiliano were the three contenders for the party's leadership. Subsequently, a substantial group of leftists (24 deputies, 14 senators and 3 MEPs), led by Enrico Rossi (Democratic Socialists) and Roberto Speranza (Reformist Area), backed by Massimo D'Alema, Pier Luigi Bersani and Guglielmo Epifani, left the PD and formed Article 1 – Democratic and Progressive Movement (MDP), along with splinters from the Italian Left (SI) led by Arturo Scotto. Most of the splinters as well as Scotto were former Democrats of the Left. In December 2017, the MDP, SI and Possible would launch Free and Equal (LeU) under the leadership of the President of the Senate Pietro Grasso (another PD splinter). In local conventions, Renzi came first (66.7%), Orlando second (25.3%) and Emiliano third (8.0%). In the open primary on 30 April, Renzi won 69.2% of the vote as opposed to Orlando's 20.0% and Emiliano's 10.9%. On 7 May, Renzi was sworn in as secretary again, with Maurizio Martina as deputy and Orfini was confirmed president. In the 2017 Sicilian regional election, Crocetta did not stand and the PD-led coalition was defeated. In the run-up of the 2018 general election, the PD tried to form a broad centre-left coalition, but only minor parties showed interest. As a result, the alliance comprised Together (a list notably including the Italian Socialist Party and the Federation of the Greens), the Popular Civic List (notably including Popular Alternative, Italy of Values, the Centrists for Europe and Solidary Democracy) and More Europe (including the Italian Radicals, Forza Europa and the Democratic Centre). 2018 general election In the election, the PD obtained its worst result ever: 18.7% of the vote, well behind the M5S (32.7%) and narrowly ahead of the Lega (17.4%). Following his party's defeat, Renzi resigned from secretary and his deputy Martina started functioning as acting secretary. After two months of negotiations and the refusal of the PD to join forces with the M5S, the latter and the Lega formed a government under Prime Minister Giuseppe Conte, a M5S-proposed independent. Thus, the party returned to opposition after virtually seven years and experienced some internal turmoil as its internal factions started to re-position themselves in the new context. Both Gentiloni and Franceschini distanced from Renzi while Carlo Calenda, a former minister in Renzi's and Gentiloni's governments who had joined the party soon after the election, proposed to merge the PD into a larger republican front. However, according to several observers Renzi's grip over the party was still strong and he was still the PD's leader behind the scenes. Leadership of Maurizio Martina In July, Maurizio Martina was elected secretary by the party's national assembly and a new leadership election was scheduled for the first semester of 2019. On 17 November 2018, Martina resigned and the national assembly was dissolved, starting the electoral proceedings. During Martina's tenure, especially after a rally in Rome in September, the party started to prepare for the leadership election. In January 2019, Calenda launched the "We Are Europeans" manifesto advocating for a pro-Europeanist joint list at the upcoming European Parliament election. Among those who signed there were several Democratic regional presidents and mayors as well as Giuseppe Sala and Giuliano Pisapia, two independents who are the current mayor of Milan and his predecessor, respectively. Calenda aimed at uniting the PD, More Europe and the Greens–Italia in Comune. Leadership of Nicola Zingaretti Three major candidates, Martina, Nicola Zingaretti and Roberto Giachetti, plus a handful of minor ones, formally filed papers to run for secretary. Prior to that, Marco Minniti, minister of the Interior in the Gentiloni Cabinet, had also launched his bid, before renouncing in December and supporting Zingaretti. Zingaretti won the first round by receiving 47.4% of the vote among party members in local conventions. He, along with Martina and Giachetti, qualified for the primary election, to be held on 3 March. In the event, Zingaretti was elected secretary, exceeding expectations and winning 66.0% of the vote while Martina and Giachetti won 22.0% and 12.0%, respectively. Zingaretti was officially appointed by the national assembly, on 17 March. On the same day, former Prime Minister Gentiloni was elected as the party's new president. A month later, Zingaretti appointed Andrea Orlando and Paola De Micheli as deputy secretaries. In the run-up to the 2019 European Parliament election Zingaretti presented a special logo including a large reference to "We Are Europeans" and the symbol of the PES. Additionally, the party forged an alliance with Article One. In the election, the PD garnered 22.7% of the vote, finishing second after the League. Calenda was the most voted candidate of the party. On 3 July 2019 David Sassoli, a member of the PD, was elected President of the European Parliament. Coalition with the Five Star Movement In August 2019 tensions grew within Conte's government coalition, leading to the issuing of a motion of no-confidence on Prime Minister Conte by the League. After Conte's resignation, the national board of the PD officially opened to the possibility of forming a new cabinet in a coalition with the M5S, based on pro-Europeanism, green economy, sustainable development, fight against economic inequality and a new immigration policy. The party also accepted that Conte may continue at the head of a new government, and on 29 August President Mattarella formally invested Conte to do so. Disappointed by the party's decision to form a government with the M5S, Calenda decided to leave and establish We Are Europeans as an independent party. The Conte II Cabinet took office on 5 September, with Franceschini as Minister of Culture and head of the PD's delegation. Gentiloni was contextually picked by the government as the Italian member of the von der Leyen Commission and would serve as European Commissioner for the Economy. On 18 September, Renzi, who had been one of the earliest supporters of a M5S–PD pact in August, left the PD and established a new centrist party named Italia Viva (IV). 24 deputies and 13 senators (including Renzi) left. However, not all supporters of Renzi followed him in the split: while the Always Forward and Back to the Future factions mostly followed him, most members of Reformist Base remained in the party. Other MPs and one MEP joined IV afterwards. From 15 to 17 November, the party held a three-days convention in Bologna, named Tutta un'altra storia ("A whole different story"), with the aim of presenting party's proposals for the 2020s decade. The convention was characterised by a strong leftward move, stressing a strong distance from liberal and centrist policies promoted under Renzi's leadership. Some newspapers, like La Stampa, compared Zingaretti's new policies to Jeremy Corbyn's. On 17 November the party's national assembly approved the new party's statute, featuring the separation between the roles of party secretary and candidate for Prime Minister. Starting from November 2019, the grassroots Sardines movement began in the region of Emilia-Romagna, aimed at contrasting the rise of right-wing populism and the League in the region. The movement endorsed the PD's candidate Stefano Bonaccini in the upcoming Emilia-Romagna regional election. In the next months the movement grew to a national level. On 26 January Bonaccini was re-elected with 51.4% of the vote. On the same day, in the Calabrian regional election, the centre-left candidate supported by the PD lost to the centre-right candidate Jole Santelli, who won with 55.3% of the vote. In February 2020 the party's national assembly unanimously elected its new president, Valentina Cuppi, mayor of Marzabotto. In the September 2020 regional elections the party lost Marche to the centre-right, but held Tuscany, Campania and Apulia. Draghi's national unity government On 13 January 2021 Renzi's IV withdrew its support for the second Conte cabinet, triggering the 2021 Italian government crisis. The government won motions of confidence in both chambers of Parliament, but still lacked an overall majority, leading to Conte's resignation. In resulting discussions, Zingaretti and the PD pushed for Conte to be reappointed Prime Minister. They participated in negotiations with the M5S, IV, and LeU, from 30 January to 2 February, but IV ultimately rejected the option of a renewed coalition. President Mattarella then appointed Mario Draghi to form a cabinet, which won support from the League and Forza Italia (FI) on 10 February. The PD's national board voted unanimously to join the new government on 11 February. Later that day, the M5S also agreed to support the cabinet in an online referendum. The PD had three ministers in the Draghi Cabinet: Lorenzo Guerini, who remained Minister of Defence; Andrea Orlando, the new Minister of Labour and Social Policies; and Dario Franceschini, who retained a modified Minister of Culture portfolio. Leadership of Enrico Letta In the midst of the formation of Draghi's government, Zingaretti was heavily criticised by the party's minority for his management of the crisis and strenuous support to Conte. On 4 March, after weeks of internal turmoil, Zingaretti announced his resignation as secretary, stating that he was "ashamed of the power struggles" within the party. In the next days, many prominent members of the PD, including Zingaretti himself, but also former Prime Minister Gentiloni, former party secretary Franceschini and President of Emilia-Romagna Bonaccini, publicly asked former Prime Minister Enrico Letta to become the new leader of the party. Following an initial reluctancy, Letta stated that he needed a few days to evaluate the option. On 12 March, he officially accepted his candidacy as new party's leader. On 14 March, the national assembly of the PD elected Letta secretary with 860 votes in favour, 2 against and 4 abstentions. On 17 March, Letta appointed Irene Tinagli and Peppe Provenzano as his deputy secretaries. On the following day, he appointed the party's new executive, composed of eight men and eight women. Later that month, Letta forced the party's eaders in Parliament, Graziano Delrio and Andrea Marcucci, to resign and proposed the election of two female leaders: consequently, Simona Malpezzi and Debora Serracchiani were elected to replace them. In October 2021, Letta won the by-election for the Siena district with 49.9% of votes, returning to the Parliament after six years. In the concurrent local elections, the PD and its allies won municipal elections in Milan, Bologna, Naples, Rome, Turin and many other major cities across the country. 2022 general election In July 2022 the M5S did not participate in a Senate's confidence vote on a government bill. Prime Minister Draghi offered his resignation, which was rejected by President Mattarella. After a few days, Draghi sought a confidence vote again to secure the government majority supporting his cabinet, while rejecting the proposal put forward by Lega and FI of a new government without the M5S. In that occasion, the M5S, Lega, FI and FdI did not participate in the vote. Consequently, Draghi tendered his final resignation to President Mattarella, who dissolved the houses of Parliament, leading to the 2022 general election. The event led the party to terminate the alliance with the M5S. In the run-up of the election, the PD formed a joint list named Democratic and Progressive Italy (IDP) along with several minor parties, notably including Article One, the Italian Socialist Party and Solidary Democracy. The PD also signed individual alliances with Action–More Europe, the Greens and Left Alliance (AVS) formed by Green Europe and Italian Left, and Luigi Di Maio's and Bruno Tabacci's Civic Commitment. Under each agreement, the PD would give a number of candidates in single-seat constituencies to each coalition partner. A few days before the closing of coalitions and lists, Calenda announced that he was walking away from the pact he has signed with Letta because of the subsequent alliances that the PD had formed, notably including that with the AVS. The IDP list offered a broad range of candidates, including some high-profile independents: left-wingers like Susanna Camusso and Elly Schlein, the liberal economist Carlo Cottarelli, Christian-democrat and long-time MP Pier Ferdinando Casini, scientist Andrea Crisanti, etc. In the election the PD obtained 19.1% of the vote and the centre-left coalition lost to the centre-right coalition, whose leader Giorgia Meloni went on to form a government. Consequently, Letta announced that he would step down from party secretary and that a leadership election would determine the party's new leader in 2023. Following the 2022 general election, the PD has consistently declined in opinion polls to a record low of 14.0% in January 2023, according to SWG. Leadership of Elly Schlein The 2023 leadership election scheduled for February 2023 was the final step of a "constituent" process for the PD, as the party amended its statute, updated its internal charters and refreshed its political platform, while welcoming individuals, minor parties and groups. Among minor parties, Article One, Solidary Democracy and the Democratic Centre indicated their intent to merge into the PD. Outgoing secretary Letta and Article One leader Roberto Speranza were chosen to lead the committee overseeing the process. Former minister Paola De Micheli was the first to announce her candidacy in late September, but the two top contenders were Stefano Bonaccini, president of Emilia Romagna, and Elly Schlein, Bonaccini's former vice president. Bonaccini was supported by most regional presidents and big-city mayors, plus the more moderate factions of the party, notably including Reformist Base, while the more radical Schlein counted on the endorsement on most of the party's left and most bigwigs, including former leaders Dario Franceschini (despite most of his faction supporting Bonaccini) and Nicola Zingaretti. A fourth candidate, Gianni Cuperlo, representing the traditional left-wing within the party, announced his bid just before Christmas. Bonaccini won the first round by receiving 52.9% of the vote among party members in local conventions, while Schlein came second with 34.9% and was the only one to qualify for the primary election, along with Bonaccini. In the event, on 26 February, Schlein was surprisingly elected secretary, by defeating Bonaccini 53.8% to 46.2%. Schlein was officially appointed by the national assembly, on 12 March. On the same day, as proposed by Schlein, Bonaccini was elected as the party's president. In June 2023, during an assembly of delegates held in Naples, Article One was merged into the PD. Ideology The PD is a big tent centre-left party, influenced by the ideas of social democracy and the Christian left. The common roots of the founding components of the party reside in the Italian resistance movement, the writing of Italian Constitution and the Historic Compromise, all three events which saw the Italian Communist Party and Christian Democracy (the two major forerunners of the Democrats of the Left and Democracy is Freedom – The Daisy, respectively) cooperate. Modern American liberalism is an important source of inspiration. In a 2008 interview to El País, Veltroni, who can be considered the main founding father of the party, clearly stated that the PD should be considered a reformist party and could not be linked to the traditional values of the political left. There is also a debate on whether the PD is actually a social-democratic party and to what extent. In 2009, Alfred Pfaller observed that the PD "has adopted a pronounced centrist-pragmatic position, trying to appeal to a broad spectrum of middle-class and working-class voters, but shying away from a determined pursuit of redistributive goals". In 2016, Gianfranco Pasquino commented that "for almost all the leaders, militants and members of the PD, social democracy has never been part of their past nor should represent their political goal", adding that "its overall identity and perception are by no means those of a European-style social-democratic party". The party's economics policies accepted economic liberal elements under Renzi's leadership, moving towards adopting more explicitly neoliberal and monetarist policies as a result of the Third Way philosophy adopted by European social-democratic parties. The party stresses national and social cohesion, progressivism, a moderate social liberalism, green issues, progressive taxation, and pro-Europeanism. In this respect, the party's precursors strongly supported the need of balancing budgets to comply to Maastricht criteria. Under Veltroni and Renzi, the party took a strong stance in favour of constitutional reform and of a new electoral law on the road toward a two-party system. While traditionally supporting the social integration of immigrants, the PD has adopted a more critical approach on the issue since 2017. Inspired by Renzi, re-elected secretary in April, and Marco Minniti, interior minister since December 2016, the party promoted stricter policies regarding immigration and public security. These policies resulted in broad criticism from the left-wing Democrats and Progressives (partners in government) as well as left-leaning intellectuals like Roberto Saviano and Gad Lerner. In August, Lerner, who was among the founding members of the PD, left the party altogether due to its new immigration policies. Ideological trends The PD is a diverse party, including several distinct ideological trends: Social democracy – the bulk of the party, including many former Democrats of the Left, is social-democratic and emphasises labour and social issues. There are traditional social democrats (Nicola Zingaretti and his Great Square faction, Andrea Orlando and his Democracy Europe Society faction, Maurizio Martina and his Side by Side faction, Gianni Cuperlo and LeftDem, as well as many other people and factions; prior to the February 2017 split, it also included Massimo D'Alema, Pier Luigi Bersani, Enrico Rossi and Roberto Speranza), and Third Way types (Walter Veltroni, Piero Fassino and Debora Serracchiani, among others). While the former are supportive of democratic socialism, the latter are strongly influenced by modern American liberalism and New Labour ideas. Christian left – the party includes many Christian-inspired members, most of whom come from the left-wing of the late Christian Democracy (having later joined Democracy is Freedom – The Daisy). Democratic Catholics have been affiliated to several factions, including Luca Lotti's Reformist Base, Dario Franceschini's AreaDem (which includes also some leading Third-Way social democrats as the aforementioned Fassino and Serracchiani), Enrico Letta's 360 Association (also Lettiani, mainly Christian democrats and centrists), Giuseppe Fioroni's Populars, Rosy Bindi's Democrats Really and the Social Christians (who adhere to Christian socialism). Social liberalism – it is endorsed by former members of the Italian Republican Party, the Italian Liberal Party and the Radical Party, and notably the Liberal PD faction. Green politics – it is endorsed mainly by former members of the Federation of the Greens and other greens, who have jointly formed the Democratic Ecologists. It is not an easy task to include the trend represented by Matteo Renzi, whose supporters have been known as Big Bangers, Now!, or more frequently Renziani, in any of the categories above. The nature of Renzi's progressivism is a matter of debate and has been linked both to liberalism and populism. According to Maria Teresa Meli of Corriere della Sera, Renzi "pursues a precise model, borrowed from the Labour Party and Bill Clinton's Democratic Party", comprising "a strange mix (for Italy) of liberal policies in the economic sphere and populism. This means that, on one side, he will attack the privileges of trade unions, especially of the CGIL, which defends only the already protected, while, on the other, he will sharply attack the vested powers, bankers, Confindustria and a certain type of capitalism ... ". After Renzi led some of his followers out of the party and launched the alternative Italia Viva party, a good chunk of Renziani (especially those affiliated to Reformist Base and Liberal PD) remained in the PD. Other leading former Renziani notably include Lorenzo Guerini, Graziano Delrio (party leader in the Chamber) and Andrea Marcucci (party leader in the Senate). International affiliation International affiliation was quite a controversial issue for the PD in its early days and it was settled only in 2014. The debate on which European political party to join saw the former Democrats of the Left generally in favour of the Party of European Socialists (PES) and most former members of Democracy is Freedom – The Daisy in favour of the European Democratic Party (EDP), a component of the Alliance of Liberals and Democrats for Europe (ALDE) Group. After the party's formation in 2007, the new party's MEPs continued to sit with the PES and ALDE groups to which their former parties had been elected during the 2004 European Parliament election. Following the 2009 European Parliament election, the party's 21 MEPs chose to unite for the new term within the European parliamentary group of the PES, which was renamed the Progressive Alliance of Socialists and Democrats (S&D). On 15 December 2012, PD leader Pier Luigi Bersani attended in Rome the founding convention of the Progressive Alliance (PA), a nascent political international for parties dissatisfied with the continued admittance and inclusion of authoritarian movements into the Socialist International (SI). On 22 May 2013, the PD was a founding member of the PA at the international's official inauguration in Leipzig, Germany on the eve of the 150th anniversary of the formation of the General German Workers' Association, the oldest of the two parties which merged in 1875 to form the Social Democratic Party of Germany. Matteo Renzi, a centrist who led the party in 2013–2018, wanted the party to join both the SI and the PES. On 20 February 2014, the PD leadership applied for full membership of the PES. In Renzi's view, the party would count more as a member of a major European party and within the PES it would join forces with alike parties such as the British Labour Party. On 28 February, the PD was welcomed as a full member into the PES. Factions The PD includes several internal factions, most of which trace the previous allegiances of party members. Factions form different alliances depending on the issues and some party members have multiple factional allegiances. 2007 leadership election After the election, which saw the victory of Walter Veltroni, the party's internal composition was as follows: Majority led by Walter Veltroni (75.8%) Three national lists supported the candidacy of Veltroni. The bulk of the former Democrats of the Left (Veltroniani, Dalemiani, Fassiniani), the Rutelliani of Francesco Rutelli (including the Teodems), The Populars of Franco Marini, Liberal PD, the Social Christians and smaller groups (Middle Italy, European Republicans Movement, Reformist Alliance and the Reformists for Europe) formed a joint-list named Democrats with Veltroni (43.7%). The Democratic Ecologists of Ermete Realacci, together with Giovanna Melandri and Cesare Damiano, formed Environment, Innovation and Labour (8.1%). The Democrats, Laicists, Socialists, Say Left and the Labourites – Liberal Socialists presented a list named To the Left (7.7%). Local lists in support of Veltroni got 16.4%. Minorities led by Rosy Bindi (12.9%) and Enrico Letta (11.0%) The Olivists, whose members were staunch supporters of Romano Prodi, divided in two camps. The largest one, including Arturo Parisi, endorsed Rosy Bindi while a smaller one, including Paolo De Castro, endorsed Enrico Letta. Bindi benefited also from the support of Agazio Loiero's Southern Democratic Party while Letta was endorsed by Lorenzo Dellai's Daisy Civic List, Renato Soru's Sardinia Project and Gianni Pittella's group of social democrats. 2009 leadership election After the election, which saw the victory of Pier Luigi Bersani, the party's internal composition was as follows: Majority led by Pier Luigi Bersani (53.2%) Bersaniani and Dalemiani: the social-democratic groups around Bersani and Massimo D'Alema (who wants the PD to be a traditional centre-left party in the European social-democratic tradition). D'Alema organised his faction as Reformists and Democrats, welcoming also some Lettiani and some Populars. Lettiani: the centrist group around Enrico Letta, known also as 360 Association. Its members were keen supporters of an alliance with the Union of the Centre. To the Left: the social-democratic and democratic-socialist internal left led by Livia Turco. Democrats Really: the group around Rosy Bindi and composed mainly of the left-wing members of the late Italian People's Party. Social Christians: a Christian social-democratic group that was a founding component of the Democrats of the Left. Democracy and Socialism: a social-democratic group of splinters from the Socialist Party led by Gavino Angius. AreaDem, minority led by Dario Franceschini (34.3%). Veltroniani: followers of Walter Veltroni and social democrats coming from the Democrats of the Left who support the so-called "majoritarian vocation" of the party, the selection of party candidates and leaders through primaries and a two-party system. Populars/Fourth Phase: heirs of the Christian left tradition of the Italian People's Party and of the left wing of the late Christian Democracy. Rutelliani: centrists and liberals gathered around Francesco Rutelli, known also as Free Democrats; most of them left after Bersani's victory to form the Alliance for Italy while a minority (Paolo Gentiloni and Ermete Realacci, among others) chose to stay. Simply Democrats: a list promoted by a diverse group of leading Democrats (Debora Serracchiani, Rita Borsellino, Sergio Cofferati, and Francesca Barracciu) who were committed to renewal in party leadership and cleanliness of party elects. Liberal PD: the liberal (mostly social-liberal) faction of the PD led by Valerio Zanone. Its members have been close to Veltroni and Rutelli. Democratic Ecologists: the green faction of the PD led by Ermete Realacci. Its members have been close to Veltroni and Rutelli. Teodem: a tiny Christian-democratic group representing the right-wing of the party on social issues, albeit being progressive on economic ones. Most Teodems, including their leader Paola Binetti, left the PD in 2009–2010 to join the UdC or the ApI while others, led by Luigi Bobba, chose to stay. Minority led by Ignazio Marino (12.5%) Un-affiliated social liberals, social democrats and supporters of a broad alliance including Italy of Values, the Radicals and the parties to the left of the PD. After the election, most of them joined Marino in an association named Change Italy. Democrats in Network: a social-democratic faction of former Veltroniani led by Goffredo Bettini. Non-aligned factions Olivists: followers of Romano Prodi who want the party to be stuck in the tradition of The Olive Tree. The group was led by Arturo Parisi and includes both Christian left exponents and social democrats. Most Olivists supported Bersani while Parisi endorsed Franceschini. 2010–2013 developments In the summer of 2010, Dario Franceschini, leader of AreaDem (the largest minority faction) and Piero Fassino re-approached with Pier Luigi Bersani and joined the party majority. As a response, Walter Veltroni formed Democratic Movement to defend the "original spirit" of the PD. In doing this he was supported by 75 deputies: 33 Veltroniani, 35 Populars close to Giuseppe Fioroni and 7 former Rutelliani led by Paolo Gentiloni. Some pundits hinted that the Bersani-Franceschini pact was envisioned in order both to marginalise Veltroni and to reduce the influence of Massimo D'Alema, the party bigwig behind Bersani, whose 2009 bid was supported primarily by Dalemiani. Veltroni and D'Alema had been long-time rivals within the centre-left. As of September the party's majority was composed of those who supported Bersani since the beginning (divided in five main factions: Bersaniani, Dalemiani, Lettiani, Bindiani and the party's left-wing) and AreaDem of Franceschini and Fassino. There were also two minority coalitions, namely Veltroni's Democratic Movement (Veltroniani, Fioroni's Populars, ex-Rutelliani, Democratic Ecologists and a majority of Liberal PD members) and Change Italy of Ignazio Marino. According to Corriere della Sera in November 2011, the party was divided mainly in three ideological camps battling for its soul: a socialist left: the Young Turks (mostly supporters of Bersani such as Stefano Fassina and Matteo Orfini); a social-democratic centre: it includes Bersani's core supporters (Bersaniani, Dalemiani and Bindiani); and a "new right": Matteo Renzi's faction, proposing an overtly liberal political line. Since November 2011, similar differences surfaced in the party over Monti Cabinet. While the party's right-wing, especially Liberal PD, was enthusiastic in its support, Fassina and other leftists, especially those linked to trade unions, were critical. In February 2012, Fassina published a book in which he described his view as "neo-labourite humanism" and explained it in connection with Catholic social teaching, saying that his "neo-labourism" was designed to attract Catholic voters. Once again, his opposition to economic liberalism was strongly criticised by the party's right-wing as well as by Stefano Ceccanti, a leading Catholic in the party and supporter of Tony Blair's New Labour, who said that a leftist platform à la Fassina would never win back the Catholic vote in places like Veneto. According to YouTrend, a website, 35% of the Democratic deputies and senators elected in the 2013 general election were Bersaniani, 23% members of AreaDem (or Democratic Movement), 13% Renziani, 6% Lettiani, 4.5% Dalemiani, 4.5% Young Turks/Remake Italy, 2% Bindiani and 1.5% Civatiani. As the party performed below expectations, more Democrats started to look at Renzi, who had been defeated by Bersani in the 2012 primary election to select the centre-left's candidate for Prime Minister. In early September, two leading centrists, namely Franceschini and Fioroni (leaders of Democratic Area and The Populars), endorsed Renzi. Two former leaders of the Democrats of the Left, Veltroni and Fassino, also decided to support Renzi while a third, D'Alema, endorsed Gianni Cuperlo. In October, four candidates filed their bid to become secretary, namey Renzi, Cuperlo, Pippo Civati and Gianni Pittella. 2013 leadership election After the election, which saw the victory of Matteo Renzi, the party's internal composition was as follows: Majority led by Matteo Renzi (67.6%) Renziani, AreaDem, Veltroniani, The Populars, Liberal PD, most Lettiani, most Olivists and Democratic Ecologists Minority led by Gianni Cuperlo (18.2%): Bersaniani, Dalemiani, Young Turks/Remake Italy and most Democrats Really Minority led by Pippo Civati (14.2%): Civatiani, Laura Puppato and Felice Casson 2014–2016 alignments After 2013 leadership election, the party's main factions were the following: Renziani: the group around Matteo Renzi, PD leader and Prime Minister as well as a liberal, Third Way-oriented and modernising faction. Renziani supported a two-party system and the so-called "majoritarian vocation" of the PD through the formation of a "party of the nation". Prominent members of the faction were Luca Lotti, Maria Elena Boschi, Graziano Delrio, Lorenzo Guerini, Paolo Gentiloni and Stefano Bonaccini. The faction had a Christian-democratic section called Democratic Space which was led by Delrio and Guerini. Another group of Christian democrats, namely The Populars of Giuseppe Fioroni, were also affiliated. According to news sources as of December 2016, full-fledged Renziani counted 50 MPs, The Populars 30 and other Renziani 25, for a total of 105. AreaDem: a mainly Christian leftist faction, with roots in Christian Democracy's left-wing and the Italian People's Party. Led by Dario Franceschini, it notably included Luigi Zanda and Ettore Rosato as well as prominent social democrats like Piero Fassino and Debora Serracchiani, for a total of 90 MPs. Left is Change: social-democratic faction led by Maurizio Martina. Most of its members were affiliated with Reformist Area (see below), but splintered to support Renzi. The faction which included Cesare Damiano, Vannino Chiti and Anna Finocchiaro, among others, counted 70 MPs. Remake Italy: a social-democratic faction loyal to Renzi. Led by Matteo Orfini (the party's president) and Andrea Orlando, it counted 60 MPs. Reformist Area/Left: inspired by traditional social democracy and democratic socialism, it was the main left-wing of the party. It was formed by the majority of Bersaniani, loyalists of former secretary Pier Luigi Bersani. The faction's leader was Roberto Speranza. The Reformists often opposed Renzi's policies. Other than Speranza and Bersani, the faction notably included Guglielmo Epifani and Rosy Bindi (whose sub-faction was named Democrats Really) and counted 60 MPs. LeftDem: led by Gianni Cuperlo, it was another minority social-democratic faction, including 15 MPs. 2017 leadership election After the election which saw the victory of Matteo Renzi, the party's internal composition was as follows: Majority led by Matteo Renzi (69.2%) Renziani; AreaDem; The Populars; a majority of Left is Change (e.g. leader Maurizio Martina, who would serve as deputy secretary if Renzi were to win); a minority of Remake Italy (e.g. Matteo Orfini); Liberal PD; and several former Lettiani (e.g. Paola De Micheli) Minority led by Andrea Orlando (20.0%) A majority of Remake Italy (e.g. Roberto Gualtieri); a minority of Left is Change (e.g. Cesare Damiano and Anna Finocchiaro); LeftDem; NetworkDem; several former leading Veltroniani (e.g. Nicola Zingaretti), Lettiani (e.g. Alessia Mosca), Bindiani (e.g. Margherita Miotto) and Olivists (e.g. Sandra Zampa) Minority led by Michele Emiliano (10.9%) Democratic Front, formed by several PD members in the South, especially Apulia (of which Emiliano is President); some former Lettiani (e.g. Francesco Boccia) 2019 leadership election After the election which saw the victory of Nicola Zingaretti, the party's internal composition was as follows: Majority led by Nicola Zingaretti (66.0%) Great Square, Paolo Gentiloni, AreaDem (Dario Franceschini's Franceschiniani and Piero Fassino, among others), Democracy Europe Society, Dem Labourites (Damiano's faction), Socialists and Democrats, LeftDem and NetworkDem Minority led by Maurizio Martina (22.0%) Future! European Democrats (Martina's faction), Harambee (Matteo Richetti), Left Wing (Matteo Orfini) and some Renziani (e.g. Graziano Delrio) Minority led by Roberto Giachetti (12.0%) Some Renziani (e.g. Maria Elena Boschi), The Populars (Giuseppe Fioroni), Liberal PD, Social Christians and Democratic Ecologists After the leadership election, supporters of Martina divided in two camps: the liberal and centrist wing close to Renzi (including Lorenzo Guerini and Luca Lotti) formed Reformist Base, while social-democrats (including Martina, Tommaso Nannicini and Debora Serracchiani), as well as some leading centrists (Delrio and Richetti) formed Side by Side. Additionally, hard-core Renziani, led by Giachetti, formed Always Forward. Others, led by Ettore Rosato, formed Back to the Future. 2023 leadership election After the election which saw the victory of Elly Schlein, the party's internal composition was as follows: Majority led by Elly Schlein Great Square, AreaDem, Democracy Europe Society, Left Wing (Chiara Gribaudo), Next (Marco Furfaro), and Dem Labourites Minority led by Stefano Bonaccini Reformist Base, Side by Side, RiforDem (Paolo Gentiloni), Ulivisti 4.0 (some former Lettiani: Mauro Berruto, Marco Meloni and Anna Ascani), Left Wing (Matteo Orfini) and Democratic Initiative (Piero Fassino) Minority led by Gianni Cuperlo Democratic Promise Popular support As previously the Italian Communist Party, the Democratic Party of the Left, the Democrats of the Left and The Olive Tree, the PD has its strongholds in Central Italy and big cities. The party governs six regions out of twenty and the cities of Rome, Milan, Naples, Turin, Bologna, Florence and Bari. It also takes part to the government of several other cities, including Padua, Bergamo, Brescia and Verona. In the 2008 and 2013 general elections, the PD obtained its best results in Tuscany (46.8% and 37.5%), Emilia-Romagna (45.7% and 37.0%), Umbria (44.4% and 32.1%), Marche (41.4% and 27.7%), Liguria (37.6% and 27.7%) and Lazio (36.8% and 25.7%). Democrats are generally stronger in the North than the South, with the sole exception of Basilicata (38.6% in 2008 and 25.7% in 2013), where the party has drawn most of its personnel from Christian Democracy (DC). The 2014 European Parliament election gave a thumping 40.8% of the vote to the party which was the first Italian party to get more than 40% of the vote in a nationwide election since DC won 42.4% of the vote in the 1958 general election. In 2014, the PD did better in Tuscany (56.6%), Emilia-Romagna (52.5%) and Umbria (49.2%), but made significant gains in Lombardy (40.3%, +19.0% from 2009), Veneto (37.5%, +17.2%) and the South. The 2018 general election was a major defeat for the party as it was reduced to 18.7% (Tuscany 29.6%). The electoral results of the PD in general (Chamber of Deputies) and European Parliament elections since 2008 are shown in the chart below. The electoral results of the PD in the 10 most populated regions of Italy are shown in the table below and in the chart electoral results in Italy are shown. Electoral results Italian Parliament European Parliament Regional Councils Leadership Secretary: Walter Veltroni (2007–2009), Dario Franceschini (2009), Pier Luigi Bersani (2009–2013), Guglielmo Epifani (2013), Matteo Renzi (2013–2018), Maurizio Martina (2018), Nicola Zingaretti (2019–2021), Enrico Letta (2021–2023), Elly Schlein (2023–present) Deputy Secretary: Dario Franceschini (2007–2009), Enrico Letta (2009–2013), Lorenzo Guerini (2014–2017), Debora Serracchiani (2014–2017), Maurizio Martina (2017–2018), Andrea Orlando (2019–2021), Paola De Micheli (2019), Irene Tinagli (2021–2023), Peppe Provenzano (2021–2023) Coordinator of the Secretariat: Goffredo Bettini (2007–2009), Maurizio Migliavacca (2009–2013), Luca Lotti (2013–2014), Lorenzo Guerini (2014–2018), Matteo Mauri (2018), Andrea Martella (2019–2021), Marco Meloni (2021–2023), Marta Bonafoni (2023–present) Organizational Secretary: Giuseppe Fioroni (2007–2009), Maurizio Migliavacca (2009), Nico Stumpo (2009–2013), Davide Zoggia (2013–2013), Luca Lotti (2013–2014), Lorenzo Guerini (2014–2017), Andrea Rossi (2017–2018), Gianni Dal Moro (2018–2019), Stefano Vaccari (2019–2023), Igor Taruffi (2023–present) Spokesperson: Andrea Orlando (2008–2013), Lorenzo Guerini (2013–2014), Alessia Rotta (2014–2017), Matteo Richetti (2017–2018), Marianna Madia (2018) Treasurer: Mauro Agostini (2007–2009), Antonio Misiani (2009–2013), Francesco Bonifazi (2013–2019), Luigi Zanda (2019–2020), Walter Verini (2020–2023), Michele Fina (2023–present) President: Romano Prodi (2007–2008), Anna Finocchiaro (acting, 2008–2009), Rosy Bindi (2009–2013), Gianni Cuperlo (2013–2014), Matteo Orfini (2014–2019), Paolo Gentiloni (2019), Valentina Cuppi (2020–2023), Stefano Bonaccini (2023–present) Vice President: Marina Sereni (2009–2013), Ivan Scalfarotto (2009–2013), Matteo Ricci (2013–2017), Sandra Zampa (2013–2017), Domenico De Santis (2017–2019), Barbara Pollastrini (2017–2019), Anna Ascani (2019–2023), Debora Serracchiani (2019–2023), Loredana Capone (2023–present), Chiara Gribaudo (2023–present) Party Leader in the Chamber of Deputies: Antonello Soro (2007–2009), Dario Franceschini (2009–2013), Roberto Speranza (2013–2015), Ettore Rosato (2015–2018), Graziano Delrio (2018–2021), Debora Serracchiani (2021–2023), Chiara Braga (2023–present) Party Leader in the Senate: Anna Finocchiaro (2007–2013), Luigi Zanda (2013–2018), Andrea Marcucci (2018–2021), Simona Malpezzi (2021–2023), Francesco Boccia (2023–present) Party Leader in the European Parliament: David Sassoli (2009–2014), Patrizia Toia (2014–2019), Roberto Gualtieri (2019), Brando Benifei (2019–present) Symbols See also List of presidents of the Democratic Party (Italy) List of political parties in Italy List of secretaries of the Democratic Party (Italy) References External links Manifesto of Values of the Democratic Party Parliamentary Group in the Chamber of Deputies Parliamentary Group in the Senate The Democratic Party between "ceto medio riflessivo" and populistic dream 2007 establishments in Italy Organisations based in Rome Centre-left parties in Europe Parties represented in the European Parliament Party of European Socialists member parties Political parties established in 2007 Pro-European political parties in Italy Progressive Alliance Social democratic parties in Italy
```java /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ package bt.tracker; import java.io.OutputStream; /** * A secret binary sequence, used for interaction with HTTP trackers. * * @since 1.0 */ public interface SecretKey { /** * Writes the secret key into the provided output stream. * * @since 1.0 */ void writeTo(OutputStream out); } ```
```c #ifdef __has_include #if __has_include("lvgl.h") #ifndef LV_LVGL_H_INCLUDE_SIMPLE #define LV_LVGL_H_INCLUDE_SIMPLE #endif #endif #endif #if defined(LV_LVGL_H_INCLUDE_SIMPLE) #include "lvgl.h" #else #include "lvgl/lvgl.h" #endif #if LV_USE_DEMO_MULTILANG #ifndef LV_ATTRIBUTE_MEM_ALIGN #define LV_ATTRIBUTE_MEM_ALIGN #endif #ifndef LV_ATTRIBUTE_IMAGE_IMG_EMOJI_SOCCER_BALL #define LV_ATTRIBUTE_IMAGE_IMG_EMOJI_SOCCER_BALL #endif const LV_ATTRIBUTE_MEM_ALIGN LV_ATTRIBUTE_LARGE_CONST LV_ATTRIBUTE_IMAGE_IMG_EMOJI_SOCCER_BALL uint8_t img_emoji_soccer_ball_map[] = { 0xfa, 0xfc, 0xfd, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xfc, 0xfe, 0xff, 0xff, 0xf5, 0xf7, 0xf8, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xee, 0xf0, 0xf1, 0xff, 0xec, 0xee, 0xef, 0xff, 0xde, 0xe0, 0xe0, 0xff, 0xc9, 0xcb, 0xcb, 0xff, 0xf4, 0xf6, 0xf6, 0xff, 0xf6, 0xf8, 0xf8, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xfb, 0xfd, 0xfd, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xf2, 0xf4, 0xf5, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xf9, 0xfb, 0xfc, 0xff, 0xf4, 0xf6, 0xf7, 0xff, 0xe9, 0xeb, 0xec, 0xff, 0xac, 0xae, 0xaf, 0xff, 0x5a, 0x5c, 0x5d, 0xff, 0x5b, 0x5d, 0x5d, 0xff, 0x3d, 0x3f, 0x3f, 0xff, 0x62, 0x64, 0x64, 0xff, 0x97, 0x99, 0x99, 0xff, 0xeb, 0xed, 0xed, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xfa, 0xfc, 0xfc, 0xff, 0xf8, 0xf8, 0xf8, 0xff, 0xfc, 0xfc, 0xfc, 0xff, 0xfb, 0xfd, 0xfe, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xf2, 0xf4, 0xf5, 0xff, 0xef, 0xf1, 0xf2, 0xff, 0xdb, 0xdd, 0xde, 0xff, 0xde, 0xe0, 0xe1, 0xff, 0xbf, 0xc1, 0xc2, 0xff, 0x6a, 0x6c, 0x6c, 0xff, 0x87, 0x89, 0x89, 0xff, 0xd2, 0xd4, 0xd4, 0xff, 0xee, 0xf0, 0xf0, 0xff, 0xf8, 0xfa, 0xfa, 0xff, 0xdd, 0xdf, 0xdf, 0xff, 0xe3, 0xe5, 0xe5, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xfe, 0xff, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xd7, 0xd9, 0xda, 0xff, 0xe1, 0xe3, 0xe4, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xf0, 0xf2, 0xf3, 0xff, 0xfa, 0xfc, 0xfd, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xce, 0xd0, 0xd1, 0xff, 0xc1, 0xc3, 0xc4, 0xff, 0xe9, 0xeb, 0xec, 0xff, 0xf4, 0xf6, 0xf7, 0xff, 0xf3, 0xf5, 0xf6, 0xff, 0xeb, 0xed, 0xee, 0xff, 0xf5, 0xf7, 0xf8, 0xff, 0xe2, 0xe4, 0xe5, 0xff, 0xfe, 0xfd, 0xff, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xca, 0xcc, 0xcd, 0xff, 0x92, 0x94, 0x95, 0xff, 0xe3, 0xe5, 0xe6, 0xff, 0xee, 0xf0, 0xf1, 0xff, 0xf5, 0xf7, 0xf8, 0xff, 0xf1, 0xf3, 0xf4, 0xff, 0xf2, 0xf4, 0xf5, 0xff, 0xd8, 0xda, 0xdb, 0xff, 0xc4, 0xc6, 0xc7, 0xff, 0xf8, 0xfa, 0xfb, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xf5, 0xf7, 0xf8, 0xff, 0xf3, 0xf5, 0xf6, 0xff, 0xee, 0xf0, 0xf1, 0xff, 0x8b, 0x8d, 0x8e, 0xff, 0xce, 0xcd, 0xcf, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xf7, 0xf9, 0xfa, 0xff, 0x79, 0x7b, 0x7c, 0xff, 0x6b, 0x6d, 0x6e, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xee, 0xf0, 0xf1, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xf2, 0xf4, 0xf5, 0xff, 0xc7, 0xc9, 0xca, 0xff, 0x4b, 0x4c, 0x50, 0xff, 0x63, 0x64, 0x68, 0xff, 0xca, 0xcb, 0xcf, 0xff, 0xfd, 0xfe, 0xff, 0xff, 0xf9, 0xfa, 0xfe, 0xff, 0xfc, 0xfd, 0xff, 0xff, 0xf0, 0xf1, 0xf5, 0xff, 0x6c, 0x6d, 0x71, 0xff, 0x8b, 0x8a, 0x8e, 0xff, 0xf2, 0xf1, 0xf5, 0xff, 0xcc, 0xce, 0xcf, 0xff, 0x4b, 0x4d, 0x4e, 0xff, 0x53, 0x55, 0x56, 0xff, 0xe9, 0xeb, 0xec, 0xff, 0xf1, 0xf3, 0xf4, 0xff, 0xeb, 0xed, 0xee, 0xff, 0x9a, 0x9c, 0x9d, 0xff, 0x5b, 0x5d, 0x5e, 0xff, 0x6c, 0x6d, 0x71, 0xff, 0x50, 0x51, 0x55, 0xff, 0x5f, 0x60, 0x64, 0xff, 0x93, 0x94, 0x98, 0xff, 0xdb, 0xdc, 0xe0, 0xff, 0xfd, 0xfe, 0xff, 0xff, 0xe6, 0xe7, 0xeb, 0xff, 0x5a, 0x5b, 0x5f, 0xff, 0x61, 0x60, 0x64, 0xff, 0xce, 0xcd, 0xd1, 0xff, 0x96, 0x98, 0x99, 0xff, 0x5b, 0x5d, 0x5e, 0xff, 0x5d, 0x5f, 0x60, 0xff, 0x9d, 0x9f, 0xa0, 0xff, 0xa6, 0xa8, 0xa9, 0xff, 0x7a, 0x7c, 0x7d, 0xff, 0x37, 0x39, 0x3a, 0xff, 0x5f, 0x61, 0x62, 0xff, 0x4f, 0x4f, 0x55, 0xff, 0x53, 0x53, 0x59, 0xff, 0x4a, 0x4a, 0x50, 0xff, 0x51, 0x51, 0x57, 0xff, 0x80, 0x80, 0x86, 0xff, 0x94, 0x94, 0x9a, 0xff, 0xa2, 0xa2, 0xa8, 0xff, 0x6c, 0x6c, 0x72, 0xff, 0x56, 0x54, 0x5a, 0xff, 0xad, 0xab, 0xb1, 0xff, 0x84, 0x86, 0x87, 0xff, 0x6f, 0x71, 0x72, 0xff, 0xd8, 0xda, 0xdb, 0xff, 0xf1, 0xf3, 0xf4, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xae, 0xb0, 0xb1, 0xff, 0x45, 0x47, 0x48, 0xff, 0x43, 0x45, 0x46, 0xff, 0x4d, 0x4f, 0x50, 0xff, 0x46, 0x48, 0x49, 0xff, 0x43, 0x45, 0x46, 0xff, 0x54, 0x56, 0x57, 0xff, 0xbf, 0xc1, 0xc2, 0xff, 0xf5, 0xf7, 0xf8, 0xff, 0xed, 0xef, 0xf0, 0xff, 0xe9, 0xeb, 0xec, 0xff, 0x77, 0x7b, 0x80, 0xff, 0x77, 0x7b, 0x80, 0xff, 0x8f, 0x91, 0x92, 0xff, 0xd9, 0xdb, 0xdc, 0xff, 0xfb, 0xfd, 0xfe, 0xff, 0xf8, 0xfa, 0xfb, 0xff, 0xe9, 0xeb, 0xec, 0xff, 0xe7, 0xe9, 0xea, 0xff, 0x41, 0x43, 0x44, 0xff, 0x47, 0x49, 0x4a, 0xff, 0x46, 0x48, 0x49, 0xff, 0x3b, 0x3d, 0x3e, 0xff, 0x44, 0x46, 0x47, 0xff, 0x45, 0x47, 0x48, 0xff, 0xd6, 0xd8, 0xd9, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xf2, 0xf4, 0xf5, 0xff, 0xcb, 0xce, 0xd2, 0xff, 0xaa, 0xad, 0xb1, 0xff, 0xec, 0xee, 0xef, 0xff, 0xd0, 0xd2, 0xd3, 0xff, 0xf2, 0xf4, 0xf5, 0xff, 0xf0, 0xf2, 0xf3, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xf2, 0xf4, 0xf5, 0xff, 0x6c, 0x6e, 0x6f, 0xff, 0x4b, 0x4d, 0x4e, 0xff, 0x46, 0x48, 0x49, 0xff, 0x36, 0x38, 0x39, 0xff, 0x49, 0x4b, 0x4c, 0xff, 0x78, 0x7a, 0x7b, 0xff, 0xf9, 0xfb, 0xfc, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xe8, 0xea, 0xeb, 0xff, 0xe8, 0xea, 0xeb, 0xff, 0xee, 0xf1, 0xf5, 0xff, 0xdb, 0xde, 0xe2, 0xff, 0xeb, 0xed, 0xee, 0xff, 0xd4, 0xd6, 0xd7, 0xff, 0xe4, 0xe6, 0xe7, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xe4, 0xe6, 0xe7, 0xff, 0xfd, 0xff, 0xff, 0xff, 0x91, 0x93, 0x94, 0xff, 0x66, 0x68, 0x69, 0xff, 0x73, 0x75, 0x76, 0xff, 0x6f, 0x71, 0x72, 0xff, 0x78, 0x7a, 0x7b, 0xff, 0x9f, 0xa1, 0xa2, 0xff, 0xf2, 0xf4, 0xf5, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xe2, 0xe4, 0xe5, 0xff, 0xf4, 0xf6, 0xf7, 0xff, 0xdd, 0xdf, 0xe0, 0xff, 0xe5, 0xe7, 0xe8, 0xff, 0xf1, 0xf3, 0xf4, 0xff, 0xef, 0xf1, 0xf2, 0xff, 0xec, 0xee, 0xef, 0xff, 0xf4, 0xf6, 0xf7, 0xff, 0xee, 0xf0, 0xf1, 0xff, 0xd8, 0xda, 0xdb, 0xff, 0xb1, 0xb3, 0xb4, 0xff, 0xf3, 0xf5, 0xf6, 0xff, 0xfa, 0xfc, 0xfd, 0xff, 0xf7, 0xf9, 0xfa, 0xff, 0xfa, 0xfc, 0xfd, 0xff, 0xa0, 0xa2, 0xa3, 0xff, 0xe3, 0xe5, 0xe6, 0xff, 0xed, 0xef, 0xf0, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xe5, 0xe7, 0xe8, 0xff, 0xe7, 0xe9, 0xea, 0xff, 0xf6, 0xf8, 0xf9, 0xff, 0xf5, 0xf7, 0xf8, 0xff, 0xac, 0xae, 0xaf, 0xff, 0xb5, 0xb7, 0xb8, 0xff, 0xc8, 0xca, 0xcb, 0xff, 0xfa, 0xfc, 0xfd, 0xff, 0xa0, 0xa2, 0xa3, 0xff, 0xd3, 0xd5, 0xd6, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xf4, 0xf6, 0xf7, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xe5, 0xe7, 0xe8, 0xff, 0xea, 0xec, 0xed, 0xff, 0xa4, 0xa6, 0xa7, 0xff, 0xf1, 0xf3, 0xf4, 0xff, 0xc3, 0xc5, 0xc6, 0xff, 0xc4, 0xc6, 0xc7, 0xff, 0xc3, 0xc3, 0xc3, 0xff, 0xeb, 0xeb, 0xeb, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xc8, 0xca, 0xcb, 0xff, 0x58, 0x5a, 0x5b, 0xff, 0x47, 0x49, 0x4a, 0xff, 0x3f, 0x41, 0x42, 0xff, 0x7f, 0x81, 0x82, 0xff, 0xf7, 0xf9, 0xfa, 0xff, 0xed, 0xef, 0xf0, 0xff, 0xf9, 0xfb, 0xfc, 0xff, 0xe0, 0xe2, 0xe3, 0xff, 0xfd, 0xff, 0xff, 0xff, 0xdb, 0xdd, 0xde, 0xff, 0x8d, 0x8f, 0x90, 0xff, 0x51, 0x53, 0x54, 0xff, 0x50, 0x52, 0x53, 0xff, 0x59, 0x5b, 0x5c, 0xff, 0xd3, 0xd3, 0xd3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf9, 0xfb, 0xfc, 0xff, 0xfd, 0xff, 0xff, 0xff, 0x96, 0x98, 0x99, 0xff, 0x4d, 0x4f, 0x50, 0xff, 0x51, 0x53, 0x54, 0xff, 0x4a, 0x4c, 0x4d, 0xff, 0xda, 0xdc, 0xdd, 0xff, 0xe9, 0xeb, 0xec, 0xff, 0xea, 0xec, 0xed, 0xff, 0xee, 0xf0, 0xf1, 0xff, 0xe8, 0xea, 0xeb, 0xff, 0xf0, 0xf2, 0xf3, 0xff, 0x3f, 0x41, 0x42, 0xff, 0x4d, 0x4f, 0x50, 0xff, 0x5a, 0x5c, 0x5d, 0xff, 0xa4, 0xa6, 0xa7, 0xff, 0xf8, 0xf8, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf3, 0xf3, 0xf3, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xa9, 0xa9, 0xa9, 0xff, 0x53, 0x53, 0x53, 0xff, 0x48, 0x48, 0x48, 0xff, 0x87, 0x87, 0x87, 0xff, 0xe7, 0xe7, 0xe7, 0xff, 0xdc, 0xe1, 0xe2, 0xff, 0xe1, 0xe5, 0xe6, 0xff, 0xdb, 0xdf, 0xe0, 0xff, 0x8c, 0x8e, 0x8f, 0xff, 0x4b, 0x4d, 0x4e, 0xff, 0x60, 0x5f, 0x61, 0xff, 0xa5, 0xa4, 0xa6, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe7, 0xe7, 0xe7, 0xff, 0xf5, 0xf5, 0xf5, 0xff, 0xff, 0xff, 0xff, 0xff, 0xdb, 0xdb, 0xdb, 0xff, 0x83, 0x83, 0x83, 0xff, 0x79, 0x79, 0x79, 0xff, 0xcf, 0xcf, 0xcf, 0xff, 0xd9, 0xde, 0xdf, 0xff, 0xe8, 0xec, 0xed, 0xff, 0xc2, 0xc6, 0xc7, 0xff, 0x66, 0x68, 0x69, 0xff, 0x77, 0x79, 0x7a, 0xff, 0xee, 0xed, 0xef, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xfb, 0xfa, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xf7, 0xf7, 0xf7, 0xff, 0xfc, 0xfc, 0xfc, 0xff, 0xff, 0xff, 0xff, 0xff, 0xed, 0xed, 0xed, 0xff, 0xf1, 0xf1, 0xf1, 0xff, 0xee, 0xf3, 0xf4, 0xff, 0xea, 0xee, 0xef, 0xff, 0xf2, 0xf6, 0xf7, 0xff, 0xf0, 0xf2, 0xf3, 0xff, 0xf1, 0xf3, 0xf4, 0xff, 0xfd, 0xfc, 0xfe, 0xff, 0xfa, 0xf9, 0xfb, 0xff, 0xff, 0xfe, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, }; const lv_image_dsc_t img_emoji_soccer_ball = { .header.cf = LV_COLOR_FORMAT_ARGB8888, .header.w = 18, .header.h = 19, .header.stride = 72, .data = img_emoji_soccer_ball_map, .data_size = sizeof(img_emoji_soccer_ball_map), }; #endif ```
Francis Charter was an American politician who served two terms in the Michigan House of Representatives. Biography Francis Charter was elected supervisor of LaSalle Township, Michigan, in 1830 and each succeeding year through 1835. He was elected to the Michigan House of Representatives as a representative from Monroe County and served in the 1st Michigan Legislature from 1835 through 1836, and was re-elected to a term in 1838. Notes References 19th-century American politicians Members of the Michigan House of Representatives
```python import lit.util import os import sys main_config = sys.argv[1] main_config = os.path.realpath(main_config) main_config = os.path.normcase(main_config) config_map = {main_config : sys.argv[2]} builtin_parameters = {'config_map' : config_map} if __name__=='__main__': from lit.main import main main_config_dir = os.path.dirname(main_config) sys.argv = [sys.argv[0]] + sys.argv[3:] + [main_config_dir] main(builtin_parameters) ```
```java /* * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ package com.haulmont.cuba.core.app; import com.haulmont.cuba.core.app.events.SetupAttributeAccessEvent; import com.haulmont.cuba.core.entity.Entity; /** * Interface to be implemented by beans that setup access to attributes of a particular entity instance. * The handler should write appropriate attribute names into the event object using * {@link com.haulmont.cuba.core.app.events.SetupAttributeAccessEvent#addHidden(String)}, * {@link com.haulmont.cuba.core.app.events.SetupAttributeAccessEvent#addReadOnly(String)} and * {@link com.haulmont.cuba.core.app.events.SetupAttributeAccessEvent#addRequired(String)} methods. */ public interface SetupAttributeAccessHandler<T extends Entity> { void setupAccess(SetupAttributeAccessEvent<T> event); /** * * @param clazz - entity class * @return true if handler supports attribute access for the current entity class */ boolean supports(Class clazz); } ```
Alan Stuart Gross (born April 13, 1962) is an American politician, orthopedic surgeon and a commercial fisherman who, running as an independent candidate, was the Democratic nominee for the 2020 United States Senate election in Alaska. He lost the race to incumbent Republican Dan Sullivan. Early life and education Gross was born in Juneau in 1962. He is the son of former Alaska Attorney General Avrum and Shari Gross, the first Executive Director of the United Fishermen of Alaska, who also founded the League of Women Voters-Alaska. As a child, he was part of the small Jewish community in Alaska, and had the first bar mitzvah in Southeast Alaska. While attending Douglas High School in Juneau, Gross developed an interest in fishing, both sport and commercial. When he was 14, he bought his first commercial fishing boat with a bank loan. He commercially gillnet fished for salmon in the summer to pay his way through college and medical school. Gross attended Douglas High School in Juneau before enrolling at Amherst College, where he graduated in 1985 with a degree in neuroscience. He studied medicine at the University of Washington’s WWAMI Regional Medical Education Program, graduating in 1989. Medical career After graduating from medical school, Gross served as the president of the Bartlett Regional Hospital medical staff. In 2006, he founded and served as the president of the Juneau Bone and Joint Center. Gross retired from full-time orthopedic surgery in 2013, but continues to work part time for the Petersburg Medical Center, and volunteers at a training hospital in Cambodia every year. Gross practiced as an orthopedic surgeon in Juneau, beginning in 1994. In 2013, Gross left his practice, along with his wife Monica Gross, to study health care economics, earning a master's of public health at University of California, Los Angeles. He has said that he grew uncomfortable with the high costs of healthcare, and pursued his MPH degree to study solutions. Political career After earning his MPH, Gross returned to Alaska and began his advocacy for healthcare reform. In 2017, he co-sponsored two ballot initiatives in Alaska. The Quality Health Insurance for Alaskans Act sought to add certain provisions from the Affordable Care Act into state law, including protection against discrimination based on preexisting conditions, mandatory coverage for prenatal and maternal care, and provisions that children could remain covered by their parents' insurance until age 26. The Healthcare for Alaskans Act would codify the Medicaid expansion, already in effect due to an executive order by Governor Bill Walker. Both initiatives were withdrawn from the ballot in December 2017. Supporters cited uncertainty in healthcare policy at the federal level as the reason for the withdrawal. 2020 U.S. Senate campaign On July 2, 2019, Gross announced he would run as an independent in the 2020 U.S. Senate election in Alaska. He won the August Democratic primary against Democrat Edgar Blatchford and Independent Chris Cumings, gaining the nomination of the Alaska Democratic Party, which had endorsed him before the filing deadline. Gross ran as an independent against Republican incumbent Senator Dan Sullivan. He had the support of the Democratic Senatorial Campaign Committee and The Lincoln Project. Gross said, "I stepped up to do this because the Alaska economy has been failing, we’ve been losing Alaskans to the Lower 48 for the past few years, and despite that labor loss, we had the highest unemployment in the country." The Daily Beast argued that Alaska "flirts with purple-state status" in part due to Gross's candidacy. There was speculation that the political fallout of the death of Ruth Bader Ginsburg and the Amy Coney Barrett Supreme Court nomination could dampen support for incumbent Sullivan and benefit Gross's campaign. More than a week after the election, Sullivan's reelection in what was expected to be a close race was affirmed. In October 2021, Gross ran for Hospital Board in Petersburg, Alaska and finished fourth. 2022 U.S. House campaign On March 28, 2022, Gross announced he would run as an independent candidate for Alaska's at-large congressional seat that was vacated upon the death of Congressman Don Young. Although he won third place and the opportunity to compete in the general election, he withdrew on June 20, 2022. Political positions Despite receiving the Alaska Democratic Party's endorsement, Gross is an independent politician and says he is closer to Republicans on "issues like guns and immigration". Gross supports an overhaul of Medicare, including the addition of a public option. He also supports raising the minimum wage, defending collective bargaining rights for workers and unions, efforts to make college more affordable and accessible, and earlier tracking into trade schools. Citing his background in science, Gross supports policies that address climate change, including the growth of renewable energy and opposition to the Pebble Mine project. He also supports ending Citizens United and fixing political corruption. Gross fully supports instant-runoff voting. He is neutral on Universal Basic Income (UBI), which resembles the Alaska Permanent Fund (APF), saying, "The UBI check here in Alaska has been a great program, but any program like that, you have to be careful you don't disincentivize going back to the workforce." Environmental and energy policy Gross opposes the proposed Pebble Mine, which threatens to harm the ecosystem of Bristol Bay. His campaign could have benefited from reports of Sullivan's inconsistency on this issue, and secretly recorded tapes in which corporate executives indicate that Sullivan could switch his position on the mine after the election. Gross accepts the scientific consensus on climate change and its impacts on Alaska. He supports diversification of Alaska's economy and its energy supply, including renewable energy. Like Sullivan, he supports oil drilling in the Arctic National Wildlife Refuge. Gross opposes the Green New Deal. Foreign policy Gross has said that Russian and Chinese interest in the Arctic must be counterbalanced by a strong U.S. military. He has said that he would be a "staunch defender" of Israel. Gun policy Gross has said that he is a "strong proponent of the Second Amendment" and "will vote against banning any guns." He has stated support for background checks on military assault weapons. Health care As a physician, Gross has supported initiatives to lower health care costs. His campaign endorsed a public health care option for individuals and small businesses. In 2017, he wrote in support of single-payer, but he did not include single-payer as part of his senatorial campaign and his radio, social media and television ads initially opposed the idea. In 2020, he said he supports federal legalization of cannabis to help small businesses and others. Social policy Gross was endorsed by Planned Parenthood and the Human Rights Campaign. Electoral history 2020 References External links Campaign website 1962 births 20th-century American physicians 21st-century American Jews 21st-century American physicians 21st-century American politicians Alaska Independents Amherst College alumni Candidates in the 2020 United States Senate elections Jewish American people in Alaska politics Jewish physicians Living people Politicians from Juneau, Alaska University of California, Los Angeles alumni University of Washington alumni Candidates in the 2022 United States House of Representatives elections
Paradis is a census-designated place (CDP) in St. Charles Parish, Louisiana, United States. The population was 1,252 at the 2000 census and 1,242 in 2020. Geography Paradis is located at (29.877743, -90.435598). According to the United States Census Bureau, the CDP has a total area of , all land. Demographics In 2020, its population was 1,242, down from 1,252 in 2000. Education St. Charles Parish Public School System operates public schools: R. J. Vial Elementary School (grades 3–5) - Opened in 1975 J.B. Martin Middle School (grades 6–8) Hahnville High School in Boutte References Census-designated places in Louisiana Census-designated places in St. Charles Parish, Louisiana Census-designated places in New Orleans metropolitan area
```smalltalk using System; using JetBrains.Annotations; using Volo.Abp; using Volo.Abp.Domain.Entities.Auditing; using Volo.Abp.MultiTenancy; namespace Volo.CmsKit.GlobalResources; public class GlobalResource : AuditedAggregateRoot<Guid>, IMultiTenant { public virtual string Name { get; private set; } public virtual string Value { get; private set; } public virtual Guid? TenantId { get; protected set; } protected GlobalResource() { } internal GlobalResource( Guid id, [NotNull] string name, [CanBeNull] string value, Guid? tenantId = null) : base(id) { Name = Check.NotNullOrEmpty(name, nameof(name), GlobalResourceConsts.MaxNameLength); Value = Check.Length(value, nameof(value), GlobalResourceConsts.MaxValueLength); TenantId = tenantId; } public virtual void SetValue(string value) { Check.Length(value, nameof(value), GlobalResourceConsts.MaxValueLength); Value = value; } } ```
The Philippine Senate Committee on Sports is a standing committee of the Senate of the Philippines. This committee, along with the Committee on Games and Amusement, was formed after the Committee on Games, Amusement and Sports was split into two on August 1, 2016, pursuant to Senate Resolution No. 3 of the 17th Congress. Jurisdiction According to the Rules of the Senate, the committee handles all matters relating to the promotion of physical fitness, and professional and amateur sports development in the Philippines. Members, 18th Congress Based on the Rules of the Senate, the Senate Committee on Sports has 9 members. The President Pro Tempore, the Majority Floor Leader, and the Minority Floor Leader are ex officio members. Here are the members of the committee in the 18th Congress as of September 24, 2020: Committee secretary: Horace R. Cruda See also List of Philippine Senate committees References Sports Sports in the Philippines
```objective-c // // // path_to_url // #ifndef PXR_USD_IMAGING_USD_IMAGING_TYPES_H #define PXR_USD_IMAGING_USD_IMAGING_TYPES_H #include "pxr/pxr.h" PXR_NAMESPACE_OPEN_SCOPE /// Given to an invalidation call to indicate whether the property was /// added or removed or whether one of its fields changed. /// enum class UsdImagingPropertyInvalidationType { Update, Resync }; PXR_NAMESPACE_CLOSE_SCOPE #endif ```
```javascript /** * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ 'use strict'; // MODULES // var bench = require( '@stdlib/bench' ); var pow = require( '@stdlib/math/base/special/pow' ); var isndarrayLike = require( '@stdlib/assert/is-ndarray-like' ); var pkg = require( './../package.json' ).name; var empty = require( './../lib' ); // FUNCTIONS // /** * Creates a benchmark function. * * @private * @param {PositiveInteger} len - array length * @returns {Function} benchmark function */ function createBenchmark( len ) { return benchmark; /** * Benchmark function. * * @private * @param {Benchmark} b - benchmark instance */ function benchmark( b ) { var opts; var arr; var i; opts = { 'dtype': 'bool' }; b.tic(); for ( i = 0; i < b.iterations; i++ ) { arr = empty( [ len ], opts ); if ( arr.length !== len ) { b.fail( 'unexpected length' ); } } b.toc(); if ( !isndarrayLike( arr ) ) { b.fail( 'should return an ndarray' ); } b.pass( 'benchmark finished' ); b.end(); } } // MAIN // /** * Main execution sequence. * * @private */ function main() { var len; var min; var max; var f; var i; min = 1; // 10^min max = 6; // 10^max for ( i = min; i <= max; i++ ) { len = pow( 10, i ); f = createBenchmark( len ); bench( pkg+':dtype=bool,size='+len, f ); } } main(); ```
Ron Hansen may refer to: Ron Hansen (novelist) (born 1947), American novelist Ron Hansen (politician) (born 1943), Canadian politician Ron Hansen (baseball) (born 1938), baseball player Ron Hansen (American football) (1932-1993) Ron Hansen (jockey) (1960-1993), American jockey
Jalen Crutcher (born July 18, 1999) is an American professional basketball player for the Birmingham Squadron of the NBA G League. He played college basketball for the Dayton Flyers. Early life and high school career Crutcher is the son of Greg and Sheila Crutcher and grew up in Memphis, Tennessee. He attended Ridgeway High School. Crutcher averaged 18 points, four assists, and two steals per game as a senior. He was a three-star recruit ranked the 65th best point guard in his class. Crutcher initially committed to Chattanooga but decommitted after coach Matt McCall left to coach UMass. Crutcher signed with Dayton after coach Anthony Grant needed a point guard at the last minute. Crutcher was also recruited by Murray State. College career As a freshman, Crutcher started 22 games and averaged 9.2 points, 3.1 rebounds, and 4.4 assists per game on a team that finished 14–17. Crutcher was named to the Atlantic 10 All-Rookie Team. As a sophomore, Crutcher was third on the team in scoring with 13.2 points per game and second in the Atlantic 10 in assists with 5.7 per game, in addition to his four rebounds per game. Crutcher helped the team finish with a 21–12 record and reach the NIT semifinals and he was named team MVP. He was also named to the Third Team All-Atlantic 10. Crutcher hit a three-pointer with seconds left against Kansas in the final of the 2019 Maui Invitational Tournament to force overtime. He scored 12 points total in the 90–84 overtime loss. Crutcher missed a game against Grambling State on December 23 with a concussion. On January 17, 2020, Crutcher scored 21 points and hit the game-winning three-pointer at the buzzer to defeat Saint Louis 78–76 in overtime. Crutcher scored a career-high 24 points and also had eight rebounds and seven assists on January 25, in a 87–79 win over Richmond. He became the first Dayton player to be named Atlantic 10 player of the week on back-to-back weeks on January 27. On January 30, he had 18 points in a 73–69 win against Duquesne and surpassed the 1,000 point threshold. At the end of the regular season Crutcher was named to the First Team All-Atlantic 10. Crutcher led Dayton in minutes per game (33.6), assists per game (4.9) three-pointers (21.4 per game), three-point percentage (.468, 147–314) and free throw percentage (.869, 86–99), and was second to roommate Obi Toppin in scoring (15.1 points per game). After the season, Crutcher declared for the 2020 NBA draft while maintaining his college eligibility. On August 2, he announced he was withdrawing from the draft and returning to Dayton for his senior season. At the end of the regular season, Crutcher repeated on the First Team All-Atlantic 10. As a senior, Crutcher averaged 17.6 points and 4.8 assists per game. He announced that he was declaring for the 2021 NBA draft and hired an agent, forgoing the extra season of eligibility the NCAA granted basketball players. Crutcher finishing 16th in career scoring with 1,593 points, fourth in made three-pointers with 242, and second in assists with 584. Professional career Greensboro Swarm (2021–2023) After going undrafted in the 2021 NBA draft, Crutcher joined the Milwaukee Bucks for the 2021 NBA Summer League. On October 8, 2021, he signed with the Charlotte Hornets, but was waived six days later. On October 24, he signed with the Greensboro Swarm as an affiliate player. New Orleans Pelicans (2023–present) On September 8, 2023, Crutcher's rights were traded to the Birmingham Squadron and on October 12, he signed with the New Orleans Pelicans. Career statistics College |- | style="text-align:left;"| 2017–18 | style="text-align:left;"| Dayton | 31 || 22 || 31.2 || .412 || .338 || .681 || 3.1 || 4.4 || 1.0 || .1 || 9.2 |- | style="text-align:left;"| 2018–19 | style="text-align:left;"| Dayton | 33 || 32 || 36.5 || .419 || .363 || .707 || 4.0 || 5.7 || .9 || .1 || 13.2 |- | style="text-align:left;"| 2019–20 | style="text-align:left;"| Dayton | 30 || 30 || 33.6 || .468 || .424 || .869 || 3.2 || 4.9 || .8 || .1 || 15.1 |- | style="text-align:left;"| 2020–21 | style="text-align:left;"| Dayton | 24 || 24 || 38.1 || .463 || .372 || .763 || 3.5 || 4.8 || .8 || .0 || 17.6 |- class="sortbottom" | style="text-align:center;" colspan="2"| Career | 118 || 108 || 34.7 || .441 || .375 || .769 || 3.5 || 4.9 || .9 || .1 || 13.5 References External links Dayton Flyers bio 1999 births Living people American men's basketball players Basketball players from Memphis, Tennessee Dayton Flyers men's basketball players Greensboro Swarm players Point guards
```c++ // This is a part of the Microsoft Foundation Classes C++ library. // All rights reserved. // // This source code is only intended as a supplement to the // Microsoft Foundation Classes Reference and related // electronic documentation provided with the library. // See these sources for detailed information regarding the // Microsoft Foundation Classes product. #include "stdafx.h" #include <errno.h> #ifdef AFX_CORE1_SEG #pragma code_seg(AFX_CORE1_SEG) #endif #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif #ifdef _DEBUG static const LPCSTR rgszCFileExceptionCause[] = { "none", "generic", "fileNotFound", "badPath", "tooManyOpenFiles", "accessDenied", "invalidFile", "removeCurrentDir", "directoryFull", "badSeek", "hardIO", "sharingViolation", "lockViolation", "diskFull", "endOfFile", }; static const char szUnknown[] = "unknown"; #endif ///////////////////////////////////////////////////////////////////////////// // CFileException void PASCAL CFileException::ThrowOsError(LONG lOsError, LPCTSTR lpszFileName /* = NULL */) { if (lOsError != 0) AfxThrowFileException(CFileException::OsErrorToException(lOsError), lOsError, lpszFileName); } void PASCAL CFileException::ThrowErrno(int nErrno, LPCTSTR lpszFileName /* = NULL */) { if (nErrno != 0) AfxThrowFileException(CFileException::ErrnoToException(nErrno), _doserrno, lpszFileName); } BOOL CFileException::GetErrorMessage(LPTSTR lpszError, UINT nMaxError, PUINT pnHelpContext) { ASSERT(lpszError != NULL && AfxIsValidString(lpszError, nMaxError)); if (pnHelpContext != NULL) *pnHelpContext = m_cause + AFX_IDP_FILE_NONE; CString strMessage; CString strFileName = m_strFileName; if (strFileName.IsEmpty()) strFileName.LoadString(AFX_IDS_UNNAMED_FILE); AfxFormatString1(strMessage, m_cause + AFX_IDP_FILE_NONE, strFileName); lstrcpyn(lpszError, strMessage, nMaxError); return TRUE; } ///////////////////////////////////////////////////////////////////////////// // CFileException diagnostics #ifdef _DEBUG void CFileException::Dump(CDumpContext& dc) const { CObject::Dump(dc); dc << "m_cause = "; if (m_cause >= 0 && m_cause < _countof(rgszCFileExceptionCause)) dc << rgszCFileExceptionCause[m_cause]; else dc << szUnknown; dc << "\nm_lOsError = " << (void*)m_lOsError; dc << "\n"; } #endif ///////////////////////////////////////////////////////////////////////////// // CFileException helpers void AFXAPI AfxThrowFileException(int cause, LONG lOsError, LPCTSTR lpszFileName /* == NULL */) { #ifdef _DEBUG LPCSTR lpsz; if (cause >= 0 && cause < _countof(rgszCFileExceptionCause)) lpsz = rgszCFileExceptionCause[cause]; else lpsz = szUnknown; TRACE3("CFile exception: %hs, File %s, OS error information = %ld.\n", lpsz, (lpszFileName == NULL) ? _T("Unknown") : lpszFileName, lOsError); #endif THROW(new CFileException(cause, lOsError, lpszFileName)); } int PASCAL CFileException::ErrnoToException(int nErrno) { switch(nErrno) { case EPERM: case EACCES: return CFileException::accessDenied; case EBADF: return CFileException::invalidFile; case EDEADLOCK: return CFileException::sharingViolation; case EMFILE: return CFileException::tooManyOpenFiles; case ENOENT: case ENFILE: return CFileException::fileNotFound; case ENOSPC: return CFileException::diskFull; case EINVAL: case EIO: return CFileException::hardIO; default: return CFileException::generic; } } int PASCAL CFileException::OsErrorToException(LONG lOsErr) { // NT Error codes switch ((UINT)lOsErr) { case NO_ERROR: return CFileException::none; case ERROR_FILE_NOT_FOUND: return CFileException::fileNotFound; case ERROR_PATH_NOT_FOUND: return CFileException::badPath; case ERROR_TOO_MANY_OPEN_FILES: return CFileException::tooManyOpenFiles; case ERROR_ACCESS_DENIED: return CFileException::accessDenied; case ERROR_INVALID_HANDLE: return CFileException::fileNotFound; case ERROR_BAD_FORMAT: return CFileException::invalidFile; case ERROR_INVALID_ACCESS: return CFileException::accessDenied; case ERROR_INVALID_DRIVE: return CFileException::badPath; case ERROR_CURRENT_DIRECTORY: return CFileException::removeCurrentDir; case ERROR_NOT_SAME_DEVICE: return CFileException::badPath; case ERROR_NO_MORE_FILES: return CFileException::fileNotFound; case ERROR_WRITE_PROTECT: return CFileException::accessDenied; case ERROR_BAD_UNIT: return CFileException::hardIO; case ERROR_NOT_READY: return CFileException::hardIO; case ERROR_BAD_COMMAND: return CFileException::hardIO; case ERROR_CRC: return CFileException::hardIO; case ERROR_BAD_LENGTH: return CFileException::badSeek; case ERROR_SEEK: return CFileException::badSeek; case ERROR_NOT_DOS_DISK: return CFileException::invalidFile; case ERROR_SECTOR_NOT_FOUND: return CFileException::badSeek; case ERROR_WRITE_FAULT: return CFileException::accessDenied; case ERROR_READ_FAULT: return CFileException::badSeek; case ERROR_SHARING_VIOLATION: return CFileException::sharingViolation; case ERROR_LOCK_VIOLATION: return CFileException::lockViolation; case ERROR_WRONG_DISK: return CFileException::badPath; case ERROR_SHARING_BUFFER_EXCEEDED: return CFileException::tooManyOpenFiles; case ERROR_HANDLE_EOF: return CFileException::endOfFile; case ERROR_HANDLE_DISK_FULL: return CFileException::diskFull; case ERROR_DUP_NAME: return CFileException::badPath; case ERROR_BAD_NETPATH: return CFileException::badPath; case ERROR_NETWORK_BUSY: return CFileException::accessDenied; case ERROR_DEV_NOT_EXIST: return CFileException::badPath; case ERROR_ADAP_HDW_ERR: return CFileException::hardIO; case ERROR_BAD_NET_RESP: return CFileException::accessDenied; case ERROR_UNEXP_NET_ERR: return CFileException::hardIO; case ERROR_BAD_REM_ADAP: return CFileException::invalidFile; case ERROR_NO_SPOOL_SPACE: return CFileException::directoryFull; case ERROR_NETNAME_DELETED: return CFileException::accessDenied; case ERROR_NETWORK_ACCESS_DENIED: return CFileException::accessDenied; case ERROR_BAD_DEV_TYPE: return CFileException::invalidFile; case ERROR_BAD_NET_NAME: return CFileException::badPath; case ERROR_TOO_MANY_NAMES: return CFileException::tooManyOpenFiles; case ERROR_SHARING_PAUSED: return CFileException::badPath; case ERROR_REQ_NOT_ACCEP: return CFileException::accessDenied; case ERROR_FILE_EXISTS: return CFileException::accessDenied; case ERROR_CANNOT_MAKE: return CFileException::accessDenied; case ERROR_ALREADY_ASSIGNED: return CFileException::badPath; case ERROR_INVALID_PASSWORD: return CFileException::accessDenied; case ERROR_NET_WRITE_FAULT: return CFileException::hardIO; case ERROR_DISK_CHANGE: return CFileException::fileNotFound; case ERROR_DRIVE_LOCKED: return CFileException::lockViolation; case ERROR_BUFFER_OVERFLOW: return CFileException::badPath; case ERROR_DISK_FULL: return CFileException::diskFull; case ERROR_NO_MORE_SEARCH_HANDLES: return CFileException::tooManyOpenFiles; case ERROR_INVALID_TARGET_HANDLE: return CFileException::invalidFile; case ERROR_INVALID_CATEGORY: return CFileException::hardIO; case ERROR_INVALID_NAME: return CFileException::badPath; case ERROR_INVALID_LEVEL: return CFileException::badPath; case ERROR_NO_VOLUME_LABEL: return CFileException::badPath; case ERROR_NEGATIVE_SEEK: return CFileException::badSeek; case ERROR_SEEK_ON_DEVICE: return CFileException::badSeek; case ERROR_DIR_NOT_ROOT: return CFileException::badPath; case ERROR_DIR_NOT_EMPTY: return CFileException::removeCurrentDir; case ERROR_LABEL_TOO_LONG: return CFileException::badPath; case ERROR_BAD_PATHNAME: return CFileException::badPath; case ERROR_LOCK_FAILED: return CFileException::lockViolation; case ERROR_BUSY: return CFileException::accessDenied; case ERROR_INVALID_ORDINAL: return CFileException::invalidFile; case ERROR_ALREADY_EXISTS: return CFileException::accessDenied; case ERROR_INVALID_EXE_SIGNATURE: return CFileException::invalidFile; case ERROR_BAD_EXE_FORMAT: return CFileException::invalidFile; case ERROR_FILENAME_EXCED_RANGE: return CFileException::badPath; case ERROR_META_EXPANSION_TOO_LONG: return CFileException::badPath; case ERROR_DIRECTORY: return CFileException::badPath; case ERROR_OPERATION_ABORTED: return CFileException::hardIO; case ERROR_IO_INCOMPLETE: return CFileException::hardIO; case ERROR_IO_PENDING: return CFileException::hardIO; case ERROR_SWAPERROR: return CFileException::accessDenied; default: return CFileException::generic; } } #ifdef AFX_INIT_SEG #pragma code_seg(AFX_INIT_SEG) #endif IMPLEMENT_DYNAMIC(CFileException, CException) ///////////////////////////////////////////////////////////////////////////// ```
```python # DO NOT EDIT! This file was generated by jschema_to_python version 0.0.1.dev29, # with extension for dataclasses and type annotation. from __future__ import annotations import dataclasses from typing import Any, Optional from torch.onnx._internal.diagnostics.infra.sarif import _message, _property_bag @dataclasses.dataclass class EdgeTraversal(object): """Represents the traversal of a single edge during a graph traversal.""" edge_id: str = dataclasses.field(metadata={"schema_property_name": "edgeId"}) final_state: Any = dataclasses.field( default=None, metadata={"schema_property_name": "finalState"} ) message: Optional[_message.Message] = dataclasses.field( default=None, metadata={"schema_property_name": "message"} ) properties: Optional[_property_bag.PropertyBag] = dataclasses.field( default=None, metadata={"schema_property_name": "properties"} ) step_over_edge_count: Optional[int] = dataclasses.field( default=None, metadata={"schema_property_name": "stepOverEdgeCount"} ) # flake8: noqa ```
Andre Rosey Brown (February 7, 1956 – July 18, 2006) was an American film and television actor, police officer and football coach. Life and career Brown was born in Rockford, Illinois. Before becoming an actor, he was a police officer for the Inglewood Police Department. He had attended Rocky Mountain College where he played football and supported himself by working as a jazz drummer. He then worked in law enforcement in Seattle and Los Angeles. Brown began his television career in 1985, appearing in the police procedural television series Hill Street Blues, playing a wrestler. He began his film career in the television film The Return of Mickey Spillane's Mike Hammer, where he got a call for the role of the tough-guy "Big Black Man", in 1986. In 1998, Brown retired from being a police officer for the Inglewood Police Department, where he served for 14 years. After retiring, he continued his film and television career. In the 1990s and 2000s, Brown appeared and guest-starred in numerous film and television programs including Designing Women, Caddyshack II, Throw Momma from the Train, Night Court, The Golden Girls, What's Happening Now!!, Canadian Bacon, Full House, The Fresh Prince of Bel-Air, Frasier, Meet Wally Sparks, Dave's World, The Drew Carey Show, Friends, Back in Business, Matlock, Off the Mark, Class Act, Daddy Dearest, Barb Wire, Car 54, Where Are You?, Step By Step, Naked Gun : The Final Insult, ER, The Wayans Bros., Catfish in Black Bean Sauce, Money Talks, The Jamie Foxx Show, Martin, Pros & Cons, Big Fat Liar, Space Jam and Forget Paris. He also played the main role of "Morgan Washington" in the crime drama television series 413 Hope St., appearing in eight episodes. Brown retired from his acting career in 2002, last appearing in the film Devious Beings. Death On July 18, 2006, Brown died of a short illness in Northridge, California, at the age of 50. Filmography Film Television References External links Rotten Tomatoes profile 1956 births 2006 deaths People from Rockford, Illinois Male actors from Illinois Actors from Rockford, Illinois American male film actors American male television actors 20th-century American male actors 21st-century American male actors American police officers 20th-century African-American people 21st-century African-American people
Eze Ènweleána II Obidiegwu Onyesoh is the 16th recorded, and currently ruling, Eze Nri of the Kingdom of Nri in modern-day southeastern Nigeria. He reigns over the remnant of one of the oldest kingdoms in contemporary Nigeria, and retains a ritual significance as the symbol of one of that country's most historically relevant peoples. His son Prince Ikenna Onyeso acts as regent for the next 7 years References Kingdom of Nri Nri monarchs Year of birth missing (living people) Living people
Kun Zhou () from the Zhejiang University, Hangzhou, China was named Fellow of the Institute of Electrical and Electronics Engineers (IEEE) in 2015 for contributions to shape modeling and GPU computing. References Fellow Members of the IEEE Academic staff of Zhejiang University Living people Chinese engineers Year of birth missing (living people) Place of birth missing (living people)
```java package org.lamport.tla.toolbox.tool.tlc.ui.wizard; import org.eclipse.jface.text.Document; import org.eclipse.jface.text.IDocumentPartitioner; import org.eclipse.jface.text.ITextOperationTarget; import org.eclipse.jface.text.source.SourceViewer; import org.eclipse.jface.wizard.WizardPage; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.StyledText; import org.eclipse.swt.events.KeyEvent; import org.eclipse.swt.events.KeyListener; import org.eclipse.swt.events.ModifyEvent; import org.eclipse.swt.events.ModifyListener; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Label; import org.lamport.tla.toolbox.editor.basic.TLAEditorActivator; import org.lamport.tla.toolbox.editor.basic.TLAFastPartitioner; import org.lamport.tla.toolbox.editor.basic.TLAPartitionScanner; import org.lamport.tla.toolbox.editor.basic.TLASourceViewerConfiguration; import org.lamport.tla.toolbox.tool.tlc.ui.util.FormHelper; import org.lamport.tla.toolbox.util.UIHelper; /** * A page with a simple field for formula editing * @author Simon Zambrovski */ public class FormulaWizardPage extends WizardPage { private SourceViewer sourceViewer; private Document document; private final String extendedDescription; private final String helpId; public FormulaWizardPage(String action, String description) { this(action, description, null, null); } public FormulaWizardPage(String action, String description, String extendedDescription, String helpId) { super("FormulaWizardPage"); setTitle(action); setDescription(description); this.extendedDescription = extendedDescription; this.helpId = helpId; } /* (non-Javadoc) * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite) */ public void createControl(Composite parent) { Composite container = new Composite(parent, SWT.NULL); GridLayout layout = new GridLayout(1, false); container.setLayout(layout); if (helpId != null) { UIHelper.setHelp(container, helpId); } sourceViewer = FormHelper.createSourceViewer(container, SWT.BORDER | SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL, new TLASourceViewerConfiguration()); sourceViewer.getTextWidget().addKeyListener(new KeyListener() { @Override public void keyPressed(KeyEvent e) { if (isUndoKeyPress(e)) { sourceViewer.doOperation(ITextOperationTarget.UNDO); } else if (isRedoKeyPress(e)) { sourceViewer.doOperation(ITextOperationTarget.REDO); } } private boolean isRedoKeyPress(KeyEvent e) { return ((e.stateMask & SWT.CONTROL) > 0) && ((e.keyCode == 'y') || (e.keyCode == 'Y')); } private boolean isUndoKeyPress(KeyEvent e) { return ((e.stateMask & SWT.CONTROL) > 0) && ((e.keyCode == 'z') || (e.keyCode =='Z')); } @Override public void keyReleased(KeyEvent e) { } }); // SWT.FILL causes the text field to expand and contract // with changes in size of the dialog window. GridData gd = new GridData(SWT.FILL, SWT.FILL, true, true); gd.heightHint = 200; gd.widthHint = 400; gd.grabExcessHorizontalSpace = true; gd.grabExcessVerticalSpace = true; StyledText control = sourceViewer.getTextWidget(); control.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent e) { getContainer().updateButtons(); } }); control.setEditable(true); control.setLayoutData(gd); if (this.document == null) { this.document = new Document(); } final IDocumentPartitioner partitioner = new TLAFastPartitioner( TLAEditorActivator.getDefault().getTLAPartitionScanner(), TLAPartitionScanner.TLA_PARTITION_TYPES); document.setDocumentPartitioner(TLAPartitionScanner.TLA_PARTITIONING, partitioner); partitioner.connect(document); sourceViewer.setDocument(this.getDocument()); // Add extended description below source viewer if given. if (extendedDescription != null) { final Label extendedLbl = new Label(container, SWT.WRAP); extendedLbl.setText(extendedDescription); gd = new GridData(GridData.FILL_HORIZONTAL); gd.widthHint = 400; // same width as source viewer extendedLbl.setLayoutData(gd); } setControl(container); } public Document getDocument() { return this.document; } public void setDocument(Document document) { this.document = document; } } ```
Hyalesthes obsoletus is a bug species in the genus Hyalesthes. H. obsoletus is the vector of the black wood disease of grapevine. References Insect vectors of plant pathogens Insects described in 1865 Cixiidae
```shell Rapidly invoke an editor to write a long, complex, or tricky command Find any Unix / Linux command Useful aliasing in bash Random password generator Adding directories to your `$PATH` ```
Mathias Duplessy (born October 28, 1972) is a French composer and multi-instrumentalist. Career Duplessy started playing the guitar at age 6 and began appearing on stage from the age of 18, playing as a guitarist with artists from the French and international scene including Sophia Charai, Bevinda, Monica Passos, Nico Morelli, Dikès, Omar Pene, Ameth Male, Sarah Alexander, and Pop Nadeah. For ten years, he has also done Mongolian overtone singing and played the morin khuur, a Mongolian fiddle. In early 2016, Duplessy released a new album, Crazy Horse, co-composed by Enkhjargal Dandarvaanchig. He has three albums to his name and has participated in thirty soundtracks. Duplessy collaborated with Sufi musician Mukhtiyar Ali to write the music for the 2014 English-language film Finding Fanny. References 1972 births Living people French multi-instrumentalists 21st-century French musicians
```yaml id: Phishing v2 - Test - Incident Starter version: -1 name: Phishing v2 - Test - Incident Starter description: The reason for having a "starter" test and an "actual incident" test is so that we can create a new incident which will have the right incident type ("Phishing" incident type) from the very beginning. This is absolutely needed in order to create the right incident fields for the test incident. If we create an incident and CHANGE its type after creating it, we will not have the phishing incident fields generated for us (fields like Email Headers, which we later set in the playbook). starttaskid: "0" tasks: "0": id: "0" taskid: 1f263214-dd17-40d5-866e-d1d4481f4413 type: start task: id: 1f263214-dd17-40d5-866e-d1d4481f4413 version: -1 name: "" iscommand: false brand: "" description: '' nexttasks: '#none#': - "17" separatecontext: false view: |- { "position": { "x": 265, "y": -140 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "3": id: "3" taskid: 115ce8e4-0c9a-413e-8e1c-26fbc3ee362d type: title task: id: 115ce8e4-0c9a-413e-8e1c-26fbc3ee362d version: -1 name: Begin Real Incident type: title iscommand: false brand: "" description: '' separatecontext: false view: |- { "position": { "x": 265, "y": 885 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "17": id: "17" taskid: c7264df9-5332-4e5c-87cf-f6c5bd25bc00 type: regular task: id: c7264df9-5332-4e5c-87cf-f6c5bd25bc00 version: -1 name: Delete Context scriptName: DeleteContext type: regular iscommand: false brand: "" nexttasks: '#none#': - "23" scriptarguments: all: simple: "yes" index: {} key: {} keysToKeep: {} subplaybook: {} separatecontext: false view: |- { "position": { "x": 265, "y": 5 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "23": id: "23" taskid: f7b256f9-7a4f-418c-82de-762c80dee610 type: regular task: id: f7b256f9-7a4f-418c-82de-762c80dee610 version: -1 name: Create new Phishing incident description: commands.local.cmd.create.inc script: Builtin|||createNewIncident type: regular iscommand: true brand: Builtin nexttasks: '#none#': - "25" scriptarguments: accountid: {} accountname: {} agentid: {} app: {} assetid: {} attachmentcount: {} attachmentextension: {} attachmenthash: {} attachmentid: {} attachmentname: {} attachmentsize: {} attachmenttype: {} blockedaction: {} bugtraq: {} city: {} commandline: {} country: {} criticalassets: {} customFields: {} cve: {} cvss: {} dbotprediction: {} dbotpredictionprobability: {} dbottextsuggestionhighlighted: {} dest: {} desthostname: {} destinationhostname: {} destinationip: {} destinationport: {} destntdomain: {} destos: {} details: {} detectionendtime: {} detectionid: {} detectionupdatetime: {} detectionurl: {} devicename: {} duration: {} emailauthenticitycheck: {} emailbcc: {} emailbody: {} emailbodyformat: {} emailbodyhtml: {} emailcc: {} emailclassification: {} emailclientname: {} emailfrom: {} emailheaders: {} emailhtml: {} emailinreplyto: {} emailkeywords: {} emailmessageid: {} emailreceived: {} emailreplyto: {} emailreturnpath: {} emailsenderip: {} emailsize: {} emailsource: {} emailsubject: {} emailto: {} emailtocount: {} emailurlclicked: {} employeedisplayname: {} employeeemail: {} employeemanageremail: {} entryIDs: {} eventid: {} eventtype: {} filehash: {} filename: {} filepath: {} filesize: {} firstseen: {} helloworldid: {} helloworldstatus: {} helloworldtype: {} hostname: {} infectedhosts: {} investigationstage: {} isolated: {} labels: {} lastmodifiedby: {} lastmodifiedon: {} lastseen: {} logsource: {} macaddress: {} maliciousbehavior: {} malwarefamily: {} name: simple: Phishing v2 Test occurred: {} os: {} owner: {} parentprocessid: {} phase: {} phishingsubtype: {} pid: {} policydeleted: {} policydescription: {} policydetails: {} policyid: {} policyrecommendation: {} policyremediable: {} policyseverity: {} policytype: {} protocol: {} quarantined: {} rating: {} region: {} regionid: {} reporteremailaddress: {} resourceid: {} resourcename: {} resourcetype: {} riskrating: {} riskscore: {} roles: {} samaccountname: {} severity: {} signature: {} skuname: {} skutier: {} sla: {} slaField: {} sourcehostname: {} sourceip: {} sourceport: {} sourceusername: {} src: {} srchostname: {} srcntdomain: {} srcos: {} srcuser: {} subtype: {} systems: {} tenantname: {} terminatedaction: {} threatactor: {} triggeredsecurityprofile: {} type: simple: Phishing urlsslverification: {} user: {} username: {} vendorid: {} vendorproduct: {} vulnerabilitycategory: {} reputationcalc: 1 separatecontext: false view: |- { "position": { "x": 265, "y": 185 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "24": id: "24" taskid: 457a430b-bbf6-4ef5-84d1-60f9628fa5bd type: regular task: id: 457a430b-bbf6-4ef5-84d1-60f9628fa5bd version: -1 name: Set playbook for new incident description: commands.local.cmd.set.playbook script: Builtin|||setPlaybook type: regular iscommand: true brand: Builtin nexttasks: '#none#': - "3" scriptarguments: incidentId: complex: root: CreatedIncidentID name: simple: Phishing v2 - Test - Actual Incident separatecontext: false view: |- { "position": { "x": 265, "y": 710 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "25": id: "25" taskid: a962b541-74ef-481c-8cc8-5313e8b4ec59 type: regular task: id: a962b541-74ef-481c-8cc8-5313e8b4ec59 version: -1 name: Begin investigating the incident description: Start investigation of the incident, so that we can later set the right playbook to run on it. This command has t be unhidden using server configuration. script: Builtin|||investigate type: regular iscommand: true brand: Builtin nexttasks: '#none#': - "26" scriptarguments: id: complex: root: CreatedIncidentID separatecontext: false view: |- { "position": { "x": 265, "y": 370 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 "26": id: "26" taskid: 2da8fe91-2f0d-4ab1-8c1b-0d32688c6780 type: regular task: id: 2da8fe91-2f0d-4ab1-8c1b-0d32688c6780 version: -1 name: Wait for investigation to begin description: Sleep for X seconds scriptName: Sleep type: regular iscommand: false brand: "" nexttasks: '#none#': - "24" scriptarguments: seconds: simple: "15" separatecontext: false view: |- { "position": { "x": 265, "y": 540 } } note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 system: true view: |- { "linkLabelsPosition": {}, "paper": { "dimensions": { "height": 1090, "width": 380, "x": 265, "y": -140 } } } inputs: [] outputs: [] fromversion: 6.0.0 ```
Blue laws, also known as Sunday laws, are laws that restrict or ban some or all activities on specified days (most often on Sundays in the western world), particularly to promote the observance of a day of rest. Such laws may restrict shopping or ban sale of certain items on specific days. Blue laws are enforced in parts of the United States and Canada as well as some European countries, particularly in Austria, Germany, Switzerland, and Norway, keeping most stores closed on Sundays. The U.S. Supreme Court has held blue laws as constitutional numerous times, citing secular bases such as securing a day of rest for mail carriers, as well as protecting workers and families, in turn contributing to societal stability and guaranteeing the free exercise of religion. The origin of the blue laws also partially stems from religion, particularly the prohibition of Sabbath desecration in Christian Churches following the first-day Sabbatarian tradition. Both labor unions and trade associations have historically supported the legislation of blue laws. Most blue laws have been repealed in the United States, although many states ban selling cars and impose tighter restrictions on the sale of alcoholic drinks on Sundays. Arizona Arizona previously limited alcohol sales hours on Sundays (2 a.m. to 10 a.m.; the other six days of the week alcohol could be purchased starting at 6 a.m.). This law was repealed in 2010. Arkansas Arkansas has 75 counties, 39 of which are "dry", meaning the sale of any alcoholic beverage is prohibited entirely. (Some exceptions are made for private facilities). Private facilities must have licenses, which can be rigorous. Sale of alcoholic beverages on Christmas Day is entirely prohibited, even in private facilities. Alcohol and liquor sales are prohibited in most counties on Sunday and statewide on Christmas Day. (Some exceptions for private facilities are made for Sundays). Connecticut Connecticut had a ban on selling alcohol on Sundays until the law was repealed by the state legislature in 2012. Connecticut also has a ban on hunting on Sundays. Hunters are still able to hunt on private land and other permitted areas. Delaware District of Columbia Washington, D.C. allows private retailers (Class A) to sell distilled spirits, but the District Council requires Class A retailers to be closed on Sundays (Class B retailers, such as grocery stores, may sell beer and wine on Sundays). However, in December 2012, the Council voted to repeal the Sunday restriction. The repeal took effect May 1, 2013. Georgia Sunday retail alcohol sales in stores were prohibited by the Georgia General Assembly up until 2011. On April 28, 2011, Georgia Governor Nathan Deal signed legislation allowing local communities to vote on whether to allow alcohol sales on Sundays. Sales are still restricted on Sundays before 12:30 p.m. On November 8, 2011, voters in more than 100 Georgia cities and counties voted on a bill that would allow stores to sell alcohol on Sundays. It passed in Valdosta, Atlanta, Savannah and many other cities. Before this, cities and counties of sufficiently large populations such as most of Metro Atlanta already had Sunday alcohol sales at bars and restaurants, with local ordinances to abide by, such as having a certain amount of food sales in order to be opened and serve alcohol. Exceptions were also made by the drink at festivals and large events. Illinois Horse racing is prohibited on Sundays unless authorized by the local municipality. Car dealerships are closed on Sundays. Indiana Carry-out alcohol sales were strictly prohibited on Sundays until 2011, when the state amended its laws to permit qualified breweries to sell local brews for carryout (generally growlers). In 2018, the law was changed to allow carry-out purchases on Sundays. Restaurants and taverns can generally still serve alcoholic beverages. Alcohol sales are no longer prohibited on New Years Day. In 2010, a change in legislation allowed Indiana residents to purchase alcohol on Election Day. Christmas sales are still prohibited. In the state of Indiana, as of March 1, 2018, Sunday carry-out alcohol sales are allowed between noon and 8pm. Iowa Iowa Code 322.3 states that a licensed car dealership cannot either directly or through an agent, salesperson, or employee, engage in Iowa, or represent or advertise that the person is engaged or intends to engage in Iowa, in the business of buying or selling at retail new or used motor vehicles, other than mobile homes more than eight feet in width or more than 32 feet in length on Sunday. Maine Maine was the last New England state to repeal laws that prohibited department stores from opening on Sundays. The laws against the department stores opening on Sundays were ended by referendum in 1990. Recent efforts to overturn the laws restricting automobile dealerships from opening on Sunday have died in committee in the Maine legislature. Rep. Don Pilon of Saco has led the effort to get rid of the laws that prohibit automobile dealerships from opening for business on Sundays. Hunting is prohibited on Sundays. Maine is also one of three states where it is illegal for almost all businesses to open on Christmas, Easter, and Thanksgiving, most notably the big department and grocery stores. State law permits alcohol sales between 5 a.m. and 1 a.m. the following day with additional time allowed for the early morning on New Year's Day. A restriction on early morning Sunday sales was repealed in 2015. Maryland In Maryland, "a new or used car dealer may not sell, barter, deliver, give away, show, or offer for sale a motor vehicle or certificate of title for a motor vehicle on Sunday", except in Howard County, Montgomery County, and Prince George's County. Motorcycles are excepted in Anne Arundel County. In the City of Baltimore, a used car dealer may choose to operate on Sunday and not Saturday if it notifies the Motor Vehicle Administration in advance of its intention. Following a public hearing, the Commissioners of Charles County are allowed to authorize sales of motor vehicles on Sunday. In Maryland, professional sports teams are prohibited from playing games before 1 p.m. on a Sunday unless a local law or a local ordinance allows it. Massachusetts Most off-premises alcohol sales were not permitted on Sundays until 2004. Exceptions were made in 1990 for municipalities that were within of the New Hampshire or Vermont border. Since 1992, alcohol sales have been allowed statewide from the Sunday prior to Thanksgiving until New Year's Day. In both exceptions, sales were not allowed before noon. Since the law changed in 2004, off-premises sales are now allowed anywhere in the state, with local approval, after noon. Retail alcohol sales remain barred on Thanksgiving Day, Christmas Day and Memorial Day (until noon). Massachusetts also has a "Day of Rest" statute that provides that all employees are entitled to one day off from work in seven calendar days. Until 2019, retail employees working on Sundays were paid time-and-a-half. This was gradually phased out over 5 years until 2019, and was paralleled by a phased-in increase in the state minimum wage. Michigan The sale of alcohol is banned from 2 a.m. to 7 a.m. every day. The only exception to this rule is New Year's Day, in which case alcohol sales are permitted until 4 a.m. Alcohol sales were likewise banned on Sunday until 12 p.m., and on Christmas from 12 a.m. until 12 p.m., until a repeal in late 2010. Specific localities may petition for exceptions for either on-site or off-site consumption. A law passed in 1953 prohibits the sale of motor vehicles on Sunday. All "blue laws" which had restricted Sunday hunting, in specific Lower Peninsula counties, were repealed in 2003. Minnesota Prior to the law being repealed in 2017, the sale of alcohol in liquor stores was prohibited statewide on Sundays. As recently as the 2015 legislative session, proposals to allow Sunday liquor sales were defeated regularly. However, in 2015, Sunday growler purchases were made legal. On March 2, 2017, the state legislature passed a law allowing for Sunday Liquor Sales to begin on July 2, 2017. Governor Mark Dayton signed the legislation as soon as it was passed. Liquor stores are not required to be open on Sundays, but those who choose to do so are restricted to the hours between 11 AM and 6 PM. Car dealerships are closed Sundays. Mississippi The sale of alcohol is prohibited in most of Mississippi on Sundays. Also, liquor sales are prohibited in nearly half of the state's counties. New Jersey In 1677, the General Assembly of East New Jersey banned the "singing of vain songs or tunes" on Sabbath. One of the last remaining Sunday closing laws in the United States that covers selling electronics, clothing and furniture is found in Bergen County, New Jersey. The blue laws that apply in Bergen County are state laws from which all 20 other counties in the state have opted out. The county, part of the New York metropolitan area, has one of the largest concentrations of enclosed retail shopping malls of any county in the nation; five major malls lie within the county. Paramus, where three of the county's five major malls are located, has even more restrictive blue laws than the county as a whole, banning all types of work on Sundays except work in grocery stores, gas stations, pharmacies, hotels, restaurants, and other entertainment venues. As recently as 2010, Governor Chris Christie had proposed the repeal of these laws in his State Budget, but many county officials vowed to maintain them, and shortly after, Christie predicted that the repeal would not succeed. Car dealerships are not allowed to be open or do business on Sundays anywhere in the state. In November 2012, Christie issued an executive order to temporarily suspend the blue law due to the effects of Hurricane Sandy, which cut electrical power to many local homes and other properties due to its overall strength. The local blue law was suspended November 11, despite legal challenges by the borough of Paramus, but was back in effect November 18. New Mexico On-premise sale of alcohol is allowed from 7 AM to 2 AM and until midnight for off-premise, including Sundays. Restaurants, but not bars, can serve alcoholic beverages on Christmas Day between noon and 10 PM. There are no package (off-premise) sales on Christmas day. New York The ban on Sunday sales had been in existence since 1656, when implemented by Dutch colony of the New Netherlands, but was voided after 320 years as unconstitutional, in a unanimous decision by the state's highest court on June 17, 1976, because of a finding that "parts of the statue that are rarely enforced by the police and routinely disregarded by thousands of businesses" were "constitutionally defective". Prior to that time, the discount stores and supermarkets had been making sales anyway without consequence. At the time, blue laws were still in effect in 30 of the 50 states of the U.S. Alcohol sales for consumption off-premises are not permitted between 3 a.m. and 8 a.m. on Sundays, while on-premises sales are not permitted between 4 a.m. and 8 a.m. on any day. Prior to 2006, off-premises alcohol sales were forbidden until noon on Sundays, and liquor/wine stores were required to be closed the entire day. Because grocery stores are not permitted to carry wine or liquor, the older law essentially meant that only beer and alcoholic malt beverages could be purchased at all on Sundays. Relatively few parts of New York actually permit alcohol sales at all times permissible under state law; most counties have more restrictive blue laws of their own. The NYS Alcoholic Beverage Control Law prohibits the issuance of a full liquor license for establishments on the same street or avenue and within two hundred feet of a building occupied exclusively as a school, church, synagogue or other place of worship. Establishments that serve alcohol onsite are exempt from restrictions prohibiting issuance of license within two hundred feet of a building occupied exclusively as a school, church, synagogue or other place of worship. North Carolina North Carolina does not allow alcohol sales between 2 a.m. and 7 a.m. Monday through Saturday and between 2 a.m. and either 10:00 a.m. or 12:00 p.m. on Sundays, varying by county. Gun hunting is prohibited on Sundays between 9:30 a.m. and 12:30 p.m. North Dakota Motor vehicle sales are prohibited on Sundays. The dispensing of alcohol is banned from 2 a.m. to 11 a.m. on Sundays. Off-sale of liquor is not allowed from 2 a.m. to noon Sundays. Prior to 1967, the law was stricter in that all businesses were closed from 12 a.m. Sunday to 12 a.m. Monday. In 1967, changes more clearly defined which businesses were exempt such as pharmacies, hospitals and restaurants. The changes were made after a 1966 blizzard, after which citizens were not able to purchase some needed goods and services due to the blue law. The law changed once more in 1991 to allow businesses to open at noon on Sunday. On March 19, 2019 the state Legislature passed a law abolishing the blue law in the state. The bill was then signed by Governor Doug Burgum on March 25, 2019. The blue law expired on August 1, 2019 and the first Sunday with legal morning sales was August 4, 2019. Ohio The city of Columbus prohibited business operations on Sunday well into the 1950s. Sunday alcohol sales are authorized by permit class and local option election. A retail business must have the proper permit and local option authorization to sell any alcohol on Sunday. Alcohol sales on Sundays are allowed after 1:00 p.m. and in sports arenas after 11:00 a.m. Oklahoma It is illegal to sell packaged liquor (off-premises sales) on Sundays. Sales also are prohibited on New Year's Day, Memorial Day, Independence Day, Labor Day, Thanksgiving Day and Christmas Day. Car dealerships are also closed on Sundays. Pennsylvania Organized sports competition on Sundays was illegal in Pennsylvania until 1931; when challenged by the Philadelphia A's, the laws were changed permitting only baseball to be played on Sundays. In 1933, Bert Bell, understanding that prerequisites to an NFL franchise being granted to him were changes in the blue laws, played the primary role of convincing then Governor Gifford Pinchot to issue a bill before the Pennsylvanian legislature to deprecate the Blue Laws. The legislature passed the bill in April 1933, paving the way for the Philadelphia Eagles to play on Sundays. The law also directed local communities to hold referendums to determine the status and extent of Blue Laws in their respective jurisdictions. On November 7, 1933, the referendum on the Blue Laws passed in Philadelphia and it became law. The Pennsylvania law was upheld in the 1961 landmark case Braunfeld v. Brown. Regarding alcohol, wines and spirits are to be sold only in the state-owned Fine Wine & Good Spirits stores, where all prices must remain the same throughout the state (county sales tax may cause the price to differ slightly). As of April 2015, 157 of the 603 Fine Wine & Good Spirits stores are open from noon to 5:00 p.m. on Sundays. Beer may only be purchased from a restaurant, bar, licensed beer store, or distributor. Six and twelve packs, along with individual bottles such as 40-ounce or 24-ounce beers, may only be purchased at bars, restaurants, and licensed retailers. For larger quantities one must go to a beverage distributor which sells beer only by the case or keg, or 12-packs, which were added to beer distributors' inventories by state law in 2015. Beverage distributors (which also sell soft drinks) may sell beer and malt liquor, but not wine or hard liquor. In 2016, a bill was passed to relax the liquor laws. Updates include allowing grocery stores, convenience stores, hotels, and restaurants to sell take out wine, allowing mail order wine shipments, and allowing 24/7 alcohol sales at casinos. Special licenses are required for businesses to take advantage of these new opportunities. Also Sunday restrictions on the hours at the state owned "Fine Wine & Good Spirits" stores were eliminated. Hunting is prohibited on Sundays, with the exception of foxes, crows and coyotes. Car dealerships are also closed on Sunday. Tennessee In addition to alcohol laws varying widely across Tennessee, bartenders are prohibited from allowing alcohol to be consumed on their premises between 3 AM and 10 AM on Sunday, unless the local government has decided not to allow extended hours for alcohol sales, in which case sale before noon is prohibited. Texas Car sales Car dealerships (both new and used) must remain closed on either Saturday or Sunday; the dealer has the option to determine on which day to close. Alcoholic beverages In Texas, alcoholic beverage sales are distinguished (and thus blue laws vary) in two different ways: The first way is by type of alcohol sold. The Texas Alcoholic Beverage Code defines "liquor" as any beverage containing more than four percent alcohol by weight, and liquor sales are more restrictive than "beer and wine" sales. The second way is by where the alcohol will be consumed. Separate permits are required, and differing laws apply, based on whether the alcohol is sold for "on-premises consumption" (i.e., at a bar or restaurant) or "off-premises consumption" (i.e., in a retail establishment such as a grocery store or "package store"). Beer and wine Beer and wine can be sold for "off-premises consumption" by any retailer that can supply and has the proper licenses. A beer and wine seller may sell other non-alcohol items, and is not required to be closed for business during periods when beer and wine cannot be sold. Beer can be sold between 7 a.m. and midnight Monday–Friday, on Saturday from 7 a.m. to 1 a.m. And Sunday between 10 a.m. (noon before August 31, 2021) and midnight. On-premises consumption permit holders may sell beer between 10 a.m. and noon but only with a food order. In certain large cities as defined within the Code, beer sales are automatically extended to 2 a.m. on any day of the week; in smaller cities and unincorporated portions of counties such sales can be allowed if authorized by the local governing body. Wine sales are subject to the same rules as beer sales, except sales are allowed until 2 a.m. on Sunday in all cases. Liquor Liquor must be sold at specialized stores only (referred to as "package stores" in the statute) and the store must be physically separate from any other business (such as an adjoining convenience store). A package store may sell other items, but the store must be closed at any time when it cannot sell liquor. Liquor may not be sold at retail stores during any of the following times: Any time on Sunday, Any time on New Year's Day, Thanksgiving or Christmas (when Christmas and New Year's Day fall on a Sunday, then sales are prohibited at any time on the following Monday) and between 9 p.m. and 10 a.m. local time on any other day of the week. Wholesalers may deliver liquor to retailers at any time except on Sunday or Christmas; however, local distributors may deliver liquor to retailers only between 5 a.m. and 9 p.m. on any day except Sunday, Christmas or any day where the retailer is prohibited from selling liquor. Utah Virginia There are forms of hunting on Sunday that were illegal, such as deer, turkey, dove and duck, and other forms that were legal. The forms of Sunday hunting that were legal were hunting on licensed hunting preserves, bear hunting, raccoon hunting and fox hunting. A grassroots effort was attempting to bring an end to the last of the blue laws in Virginia. The grass roots effort centered around a Facebook group called "Legalize Virginia Sunday Hunting for All." During the most recent effort, the Sunday hunting bill overwhelmingly passed the Senate, only to be voted down by a 4 to 3 vote in Delegate R. Lee Ware's (Committee Chairman Republican Powhatan, Virginia) Natural Resources Subcommittee. During the debate on February 1, 2012, in the Powhatan Today opinion section, Delegate Ware expressed his concern over the dangers surrounding hunting activities in these quotes. "Bullets travel without regard to property lines—and so do shotgun pellets or slugs or even arrows from powerful-enough bows. And always, for an unsuspecting equestrian, there is the peril of encountering a hunter who misconstrues a horse—or a person—for a deer or any other game." "Equestrians, hikers, bikers, picnickers, bird-watchers, fishermen, canoeists, kayakers: all of these wish, too, to enjoy Virginia's great outdoors, often on Sunday—and they wish to do so without the threat inevitably posed by the presence of rifle- or shotgun-toting hunters." In 2014, the General Assembly passed legislation allowing Sunday hunting on private lands. On January 16, 2020, James Edmunds, the Virginia Legislative Sportsmen's Caucus Co-Chair Delegate, introduced legislation that would repeal the ban on Sunday hunting in Virginia's public lands. The sale of alcohol for off-premises consumption is prohibited between the hours of 12 a.m. and 6 a.m. daily. State-run Alcoholic Beverage Control (ABC) stores have limited hours of operation on Sunday. Washington Historically, off-premises Sunday sales of spirits were banned, and all liquor stores were closed. On November 8, 1966, Washington state voters adopted Initiative 229, repealing the so-called "Blue Law," which had been enacted in 1909. Consumers still had the option of purchasing beer or wine from grocery stores or on-premises spirits from bars and restaurants. In 2005, the state began allowing off-premises spirits sales in select stores on Sundays from noon to 5 p.m. On the election of November 8, 2011, voters passed Initiative 1183, which brought several changes to the liquor distribution and retailing system. The most significant of these changes were the end to the state monopoly on liquor sales and distribution. On June 1, 2012, Washington completed its transition to private liquor sales. Under 1183, spirits may only be sold in premises of at least 10,000 sq ft, generally including grocery stores, warehouse clubs, department stores, and some larger specialty shops. The sale of alcohol for both on and off-premises consumption is prohibited between the hours of 2 a.m. and 6 a.m. daily. New rule‐making by the Washington State Liquor Control Board (WSLCB) based on alcohol sales hour restrictions is being proposed as the model for state licensed Marijuana sales per initiative I-502 as well. West Virginia Hunting on Sunday is prohibited in all but 14 of 55 counties. Alcohol sales are prohibited in West Virginia between 12:01AM and 6:00 AM, as well as on several holidays. Criticism by Saturday sabbath observers The right to observe the Bible's Sabbath as practiced by Jews and Seventh-day Adventists gained momentum in the early 1950s. Both civil leaders, such as Harold M. Jacobs, and rabbinical leaders, such as Solomon Sharfman, worked individually and via groups, such as The Joint Committee for a Fair Sabbath Law. They understood that their rights were to be granted "provided they did not disturb those persons who observe Sunday as a day of rest." This stance was supported by the New York Federation of Churches and the Protestant Council of New York. The goal was to give religious freedom to "merchants who want to close their places of business on Saturday, but are afraid of business losses from a five-day-a-week schedule." The state legislature discussed the idea of allowing a government-issued certificate to be placed in the window of a "place of business closed on Saturdays" that would be verified by "the patrolman on the beat." References Church and state law in the United States Sunday shopping Working time Economy of the United States
```css /* * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * * path_to_url * * Unless required by applicable law or agreed to in writing, * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * specific language governing permissions and limitations */ .page-tabs .page-list ul, .section-tabs ul { margin: 0; padding: 0; background: rgba(0, 0, 0, 0.0125); border-bottom: 1px solid rgba(0, 0, 0, 0.05); } .page-tabs .page-list ul + ul, .section-tabs ul + ul { font-size: 0.75em; } .page-tabs .page-list li, .section-tabs li { display: inline-block; list-style: none; } .page-tabs .page-list li a[href], .section-tabs li a { display: block; color: black; text-decoration: none; padding: 0.75em 1em; } .page-tabs .page-list li a[href]:visited { color: black; } .page-tabs .page-list li a[href]:hover, .section-tabs li a:hover { background-color: #CDA; cursor: pointer; } .page-tabs .page-list li a[href].current, .page-tabs .page-list li a[href].current:hover, .section-tabs li a.current, .section-tabs li a.current:hover { background: rgba(0,0,0,0.3); cursor: default; } ```
```java package razerdp.demo.utils.gson; import com.google.gson.JsonDeserializationContext; import com.google.gson.JsonDeserializer; import com.google.gson.JsonElement; import com.google.gson.JsonParseException; import com.google.gson.JsonPrimitive; import com.google.gson.JsonSerializationContext; import com.google.gson.JsonSerializer; import com.google.gson.JsonSyntaxException; import java.lang.reflect.Type; public class DoubleDefaultAdapter implements JsonSerializer<Double>, JsonDeserializer<Double> { @Override public Double deserialize(JsonElement json, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException { try { if (json.getAsString().equals("") || json.getAsString().equals("null")) {//double,""null,0.00 return 0.0; } } catch (Exception ignore) { } try { return json.getAsDouble(); } catch (NumberFormatException e) { throw new JsonSyntaxException(e); } } @Override public JsonElement serialize(Double aDouble, Type type, JsonSerializationContext jsonSerializationContext) { return new JsonPrimitive(aDouble); } } ```
```yaml nodes: node0: type: core region: eu-central-1 static-routes: [["node1"], ["node2"]] host: node0.local # default port node1: type: core region: eu-west-1 static-routes: [["node0"], ["node2"]] addr: 12.34.56.78 # default port node2: type: relay region: eu-west-2 static-routes: [["node0"], ["node1"]] # uses 'node2' as the hostname port: 3000 kademlia: true ```
```java /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * published by the Free Software Foundation. Oracle designates this * particular file as subject to the "Classpath" exception as provided * by Oracle in the LICENSE file that accompanied this code. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ package jdk.graal.compiler.jtt.lang; import org.junit.Test; import jdk.graal.compiler.jtt.JTTTest; /* */ public final class Class_getInterfaces01 extends JTTTest { public static Class<?>[] test(Class<?> clazz) { return clazz.getInterfaces(); } interface I1 { } interface I2 extends I1 { } static class C1 implements I1 { } static class C2 implements I2 { } static class C12 implements I1, I2 { } @Test public void run0() throws Throwable { runTest("test", I1.class); } @Test public void run1() throws Throwable { runTest("test", I2.class); } @Test public void run2() throws Throwable { runTest("test", C1.class); } @Test public void run3() throws Throwable { runTest("test", C2.class); } @Test public void run4() throws Throwable { runTest("test", C12.class); } } ```
```javascript import { describe, beforeAll, it, expect } from "vitest"; import { findIdentity, createIdentity } from "../src/libs/sesUtils"; import { run, IDENTITY_EMAIL } from "../src/ses_deleteidentity"; describe("ses_deleteidentity", () => { beforeAll(async () => { await createIdentity(IDENTITY_EMAIL); }); it("should successfully delete an email identity", async () => { let identity = await findIdentity(IDENTITY_EMAIL); expect(identity).toBeTruthy(); await run(); identity = await findIdentity(IDENTITY_EMAIL); expect(identity).toBeFalsy(); }); }); ```
```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 "paddle/phi/kernels/i0e_kernel.h" #include "paddle/phi/backends/cpu/cpu_context.h" #include "paddle/phi/core/kernel_registry.h" #include "paddle/phi/kernels/funcs/for_range.h" #include "paddle/phi/kernels/impl/bessel_kernel_impl.h" namespace phi { template <typename T, typename Context> void I0eKernel(const Context& ctx, const DenseTensor& x, DenseTensor* out) { int64_t size = x.numel(); const T* x_data = x.data<T>(); T* out_data = ctx.template Alloc<T>(out); phi::funcs::ForRange<Context> for_range(ctx, size); I0eFunctor<T> functor(x_data, out_data, size); for_range(functor); } } // namespace phi PD_REGISTER_KERNEL(i0e, CPU, ALL_LAYOUT, phi::I0eKernel, float, double) {} ```
```javascript var group__video_classvideoOutput = [ [ "~videoOutput", "group__video.html#a2186412156484860e31d827c10becf96", null ], [ "videoOutput", "group__video.html#a02b39780efc6480ab424764dafe082ba", null ], [ "AddOutput", "group__video.html#ad2da4bab42fbd19a851e205647443ea5", null ], [ "Close", "group__video.html#a552252a397249335e77755e0b911225e", null ], [ "GetFrameCount", "group__video.html#ab38d8fb1ad7855cf428d9f8cf5806bb4", null ], [ "GetFrameRate", "group__video.html#a26c37f79e965f1b9741b4d9b3923bd6b", null ], [ "GetHeight", "group__video.html#aa225fb199069cf2a4b30f467e237da73", null ], [ "GetNumOutputs", "group__video.html#adc630f31a8d55dc852ac1e01c1f7dc58", null ], [ "GetOptions", "group__video.html#a59f21f27a0efe56541fbe15f1d5f46ce", null ], [ "GetOutput", "group__video.html#aa1a64933421c48f1af63ea12a8217421", null ], [ "GetResource", "group__video.html#a47edea2ad237e50cfbd6d0a192280ee5", null ], [ "GetType", "group__video.html#aaedce68dfff9bd5c3e76c32468632512", null ], [ "GetWidth", "group__video.html#afaba8521f7ff078293ee4052a28ee71c", null ], [ "IsStreaming", "group__video.html#a2a3cf8d6230e26e27c5d22b29a150bdc", null ], [ "IsType", "group__video.html#aa5463fc78e3d259fa18ea2e6349e21c8", null ], [ "IsType", "group__video.html#a0a3ed32e27da1e996dc21c0339dc5a95", null ], [ "Open", "group__video.html#a58d163c8d3e54f336bf2dda4a759750e", null ], [ "Render", "group__video.html#ac63d627d52174400c01c28bb0de82993", null ], [ "Render", "group__video.html#a8e53017c0e49212405391f82fbac876f", null ], [ "SetStatus", "group__video.html#a7968711adc8814a9ec4e127e7b3a8bb2", null ], [ "TypeToStr", "group__video.html#a5a6c66bde88abdfa857bc9715acb8314", null ], [ "mOptions", "group__video.html#af749bcbea4200ea33a1135f4f040879d", null ], [ "mOutputs", "group__video.html#a583b2977fc4b9e1747f1b9199bc583ea", null ], [ "mStreaming", "group__video.html#a473772043b363d7c8dc00cddb70b0aa9", null ] ]; ```
```c /* * */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <inttypes.h> #include <freertos/FreeRTOS.h> #include <freertos/task.h> #include <freertos/semphr.h> #include <unity.h> #include <spi_flash_mmap.h> #include <esp_attr.h> #include <esp_partition.h> #include <esp_flash_encrypt.h> #include "esp_flash.h" #include "test_utils.h" static uint32_t buffer[1024]; /* read-only region used for mmap tests, initialised in setup_mmap_tests() */ static uint32_t start; static uint32_t end; static spi_flash_mmap_handle_t handle1, handle2, handle3; static esp_err_t spi_flash_read_maybe_encrypted(size_t src_addr, void *des_addr, size_t size) { if (!esp_flash_encryption_enabled()) { return esp_flash_read(NULL, des_addr, src_addr, size); } else { return esp_flash_read_encrypted(NULL, src_addr, des_addr, size); } } static esp_err_t spi_flash_write_maybe_encrypted(size_t des_addr, const void *src_addr, size_t size) { if (!esp_flash_encryption_enabled()) { return esp_flash_write(NULL, src_addr, des_addr, size); } else { return esp_flash_write_encrypted(NULL, des_addr, src_addr, size); } } static void setup_mmap_tests(void) { if (start == 0) { const esp_partition_t *part = get_test_data_partition(); start = part->address; end = part->address + part->size; printf("Test data partition @ 0x%"PRIx32" - 0x%"PRIx32"\n", start, end); } TEST_ASSERT(end > start); TEST_ASSERT(end - start >= 512 * 1024); /* clean up any mmap handles left over from failed tests */ if (handle1) { spi_flash_munmap(handle1); handle1 = 0; } if (handle2) { spi_flash_munmap(handle2); handle2 = 0; } if (handle3) { spi_flash_munmap(handle3); handle3 = 0; } /* prepare flash contents */ srand(0); for (int block = start / 0x10000; block < end / 0x10000; ++block) { for (int sector = 0; sector < 16; ++sector) { uint32_t abs_sector = (block * 16) + sector; uint32_t sector_offs = abs_sector * SPI_FLASH_SEC_SIZE; bool sector_needs_write = false; TEST_ESP_OK( spi_flash_read_maybe_encrypted(sector_offs, buffer, sizeof(buffer)) ); for (uint32_t word = 0; word < 1024; ++word) { uint32_t val = rand(); if (block == start / 0x10000 && sector == 0 && word == 0) { printf("setup_mmap_tests(): first prepped word: 0x%08"PRIx32" (flash holds 0x%08"PRIx32")\n", val, buffer[word]); } if (buffer[word] != val) { buffer[word] = val; sector_needs_write = true; } } /* Only rewrite the sector if it has changed */ if (sector_needs_write) { TEST_ESP_OK( esp_flash_erase_region(NULL, (uint16_t) abs_sector * SPI_FLASH_SEC_SIZE, SPI_FLASH_SEC_SIZE) ); TEST_ESP_OK( spi_flash_write_maybe_encrypted(sector_offs, (const uint8_t *) buffer, sizeof(buffer)) ); } } } } TEST_CASE("Can get correct data in existing mapped region", "[spi_flash][mmap]") { setup_mmap_tests(); printf("Mapping %"PRIx32" (+%"PRIx32")\n", start, end - start); const void *ptr1; TEST_ESP_OK( spi_flash_mmap(start, end - start, SPI_FLASH_MMAP_DATA, &ptr1, &handle1) ); printf("mmap_res: handle=%"PRIx32" ptr=%p\n", (uint32_t)handle1, ptr1); /* Remap in the previously mapped region itself */ uint32_t new_start = start + CONFIG_MMU_PAGE_SIZE; printf("Mapping %"PRIx32" (+%"PRIx32")\n", new_start, end - new_start); const void *ptr2; TEST_ESP_OK( spi_flash_mmap(new_start, end - new_start, SPI_FLASH_MMAP_DATA, &ptr2, &handle2) ); printf("mmap_res: handle=%"PRIx32" ptr=%p\n", (uint32_t)handle2, ptr2); const void *src1 = (void *) ((uint32_t) ptr1 + CONFIG_MMU_PAGE_SIZE); const void *src2 = ptr2; /* Memory contents should be identical - as the region is same */ TEST_ASSERT_EQUAL(0, memcmp(src1, src2, end - new_start)); spi_flash_munmap(handle1); handle1 = 0; spi_flash_munmap(handle2); handle2 = 0; TEST_ASSERT_EQUAL_PTR(NULL, spi_flash_phys2cache(start, SPI_FLASH_MMAP_DATA)); } TEST_CASE("Can mmap into data address space", "[spi_flash][mmap]") { esp_err_t ret = ESP_FAIL; setup_mmap_tests(); printf("Mapping %"PRIx32" (+%"PRIx32")\n", start, end - start); const void *ptr1; TEST_ESP_OK( spi_flash_mmap(start, end - start, SPI_FLASH_MMAP_DATA, &ptr1, &handle1) ); printf("mmap_res: handle=%"PRIx32" ptr=%p\n", (uint32_t)handle1, ptr1); srand(0); const uint32_t *data = (const uint32_t *) ptr1; for (int block = 0; block < (end - start) / 0x10000; ++block) { printf("block %d\n", block); for (int sector = 0; sector < 16; ++sector) { printf("sector %d\n", sector); for (uint32_t word = 0; word < 1024; ++word) { TEST_ASSERT_EQUAL_HEX32(rand(), data[(block * 16 + sector) * 1024 + word]); } } } printf("Mapping %"PRIx32" (+%x)\n", start - 0x10000, 0x20000); const void *ptr2; TEST_ESP_OK( spi_flash_mmap(start - 0x10000, 0x20000, SPI_FLASH_MMAP_DATA, &ptr2, &handle2) ); printf("mmap_res: handle=%"PRIx32" ptr=%p\n", (uint32_t)handle2, ptr2); TEST_ASSERT_EQUAL_HEX32(start - 0x10000, spi_flash_cache2phys(ptr2)); TEST_ASSERT_EQUAL_PTR(ptr2, spi_flash_phys2cache(start - 0x10000, SPI_FLASH_MMAP_DATA)); printf("Mapping %"PRIx32" (+%x)\n", start, 0x10000); const void *ptr3; ret = spi_flash_mmap(start, 0x10000, SPI_FLASH_MMAP_DATA, &ptr3, &handle3); printf("ret: 0x%x\n", ret); TEST_ASSERT(ret == ESP_OK); printf("mmap_res: handle=%"PRIx32" ptr=%p\n", (uint32_t)handle3, ptr3); TEST_ASSERT_EQUAL_HEX32(start, spi_flash_cache2phys(ptr3)); TEST_ASSERT_EQUAL_PTR(ptr3, spi_flash_phys2cache(start, SPI_FLASH_MMAP_DATA)); TEST_ASSERT_EQUAL_PTR((intptr_t)ptr3 + 0x4444, spi_flash_phys2cache(start + 0x4444, SPI_FLASH_MMAP_DATA)); printf("Unmapping handle1\n"); spi_flash_munmap(handle1); handle1 = 0; printf("Unmapping handle2\n"); spi_flash_munmap(handle2); handle2 = 0; printf("Unmapping handle3\n"); spi_flash_munmap(handle3); handle3 = 0; printf("start corresponding vaddr: 0x%x\n", (int)spi_flash_phys2cache(start, SPI_FLASH_MMAP_DATA)); TEST_ASSERT_EQUAL_PTR(NULL, spi_flash_phys2cache(start, SPI_FLASH_MMAP_DATA)); } #if !CONFIG_SPI_FLASH_ROM_IMPL //flash mmap API in ROM does not support mmap into instruction address TEST_CASE("Can mmap into instruction address space", "[spi_flash][mmap]") { setup_mmap_tests(); printf("Mapping %"PRIx32" (+%"PRIx32")\n", start, end - start); spi_flash_mmap_handle_t handle1; const void *ptr1; TEST_ESP_OK( spi_flash_mmap(start, end - start, SPI_FLASH_MMAP_INST, &ptr1, &handle1) ); printf("mmap_res: handle=%"PRIx32" ptr=%p\n", (uint32_t)handle1, ptr1); srand(0); const uint32_t *data = (const uint32_t *) ptr1; for (int block = 0; block < (end - start) / 0x10000; ++block) { for (int sector = 0; sector < 16; ++sector) { for (uint32_t word = 0; word < 1024; ++word) { TEST_ASSERT_EQUAL_UINT32(rand(), data[(block * 16 + sector) * 1024 + word]); } } } printf("Mapping %"PRIx32" (+%x)\n", start - 0x10000, 0x20000); spi_flash_mmap_handle_t handle2; const void *ptr2; TEST_ESP_OK( spi_flash_mmap(start - 0x10000, 0x20000, SPI_FLASH_MMAP_INST, &ptr2, &handle2) ); printf("mmap_res: handle=%"PRIx32" ptr=%p\n", (uint32_t)handle2, ptr2); TEST_ASSERT_EQUAL_HEX32(start - 0x10000, spi_flash_cache2phys(ptr2)); TEST_ASSERT_EQUAL_PTR(ptr2, spi_flash_phys2cache(start - 0x10000, SPI_FLASH_MMAP_INST)); printf("Mapping %"PRIx32" (+%x)\n", start, 0x10000); spi_flash_mmap_handle_t handle3; const void *ptr3; TEST_ESP_OK( spi_flash_mmap(start, 0x10000, SPI_FLASH_MMAP_INST, &ptr3, &handle3) ); printf("mmap_res: handle=%"PRIx32" ptr=%p\n", (uint32_t)handle3, ptr3); TEST_ASSERT_EQUAL_HEX32(start, spi_flash_cache2phys(ptr3)); TEST_ASSERT_EQUAL_PTR(ptr3, spi_flash_phys2cache(start, SPI_FLASH_MMAP_INST)); printf("Unmapping handle1\n"); spi_flash_munmap(handle1); printf("Unmapping handle2\n"); spi_flash_munmap(handle2); printf("Unmapping handle3\n"); spi_flash_munmap(handle3); } #endif // !CONFIG_SPI_FLASH_ROM_IMPL TEST_CASE("Can mmap unordered pages into contiguous memory", "[spi_flash][mmap]") { int nopages; int *pages; int startpage; setup_mmap_tests(); nopages = (end - start) / SPI_FLASH_MMU_PAGE_SIZE; pages = alloca(sizeof(int) * nopages); startpage = start / SPI_FLASH_MMU_PAGE_SIZE; //make inverse mapping: virt 0 -> page (nopages-1), virt 1 -> page (nopages-2), ... for (int i = 0; i < nopages; i++) { pages[i] = startpage + (nopages - 1) - i; printf("Offset %x page %d\n", i * SPI_FLASH_MMU_PAGE_SIZE, pages[i]); } printf("Attempting mapping of unordered pages to contiguous memory area\n"); spi_flash_mmap_handle_t handle1; const void *ptr1; TEST_ESP_OK( spi_flash_mmap_pages(pages, nopages, SPI_FLASH_MMAP_DATA, &ptr1, &handle1) ); printf("mmap_res: handle=%"PRIx32" ptr=%p\n", (uint32_t)handle1, ptr1); #if (CONFIG_MMU_PAGE_SIZE == 0x10000) uint32_t words_per_sector = 1024; #elif (CONFIG_MMU_PAGE_SIZE == 0x8000) uint32_t words_per_sector = 512; #elif (CONFIG_MMU_PAGE_SIZE == 0x4000) uint32_t words_per_sector = 256; #else uint32_t words_per_sector = 128; #endif srand(0); const uint32_t *data = (const uint32_t *) ptr1; for (int block = 0; block < 1; ++block) { for (int sector = 0; sector < 16; ++sector) { for (uint32_t word = 0; word < words_per_sector; ++word) { TEST_ASSERT_EQUAL_UINT32(rand(), data[(((nopages - 1) - block) * 16 + sector) * words_per_sector + word]); } } } printf("Unmapping handle1\n"); spi_flash_munmap(handle1); } TEST_CASE("flash_mmap invalidates just-written data", "[spi_flash][mmap]") { const void *ptr1; const size_t test_size = 128; setup_mmap_tests(); if (esp_flash_encryption_enabled()) { TEST_IGNORE_MESSAGE("flash encryption enabled, spi_flash_write_encrypted() test won't pass as-is"); } TEST_ESP_OK( esp_flash_erase_region(NULL, start, SPI_FLASH_SEC_SIZE) ); /* map erased test region to ptr1 */ TEST_ESP_OK( spi_flash_mmap(start, test_size, SPI_FLASH_MMAP_DATA, &ptr1, &handle1) ); printf("mmap_res ptr1: handle=%"PRIx32" ptr=%p\n", (uint32_t)handle1, ptr1); /* verify it's all 0xFF */ for (int i = 0; i < test_size; i++) { TEST_ASSERT_EQUAL_HEX(0xFF, ((uint8_t *)ptr1)[i]); } /* unmap the erased region */ spi_flash_munmap(handle1); handle1 = 0; /* write flash region to 0xEE */ uint8_t buf[test_size]; memset(buf, 0xEE, test_size); TEST_ESP_OK( esp_flash_write(NULL, buf, start, test_size) ); /* re-map the test region at ptr1. this is a fresh mmap call so should trigger a cache flush, ensuring we see the updated flash. */ TEST_ESP_OK( spi_flash_mmap(start, test_size, SPI_FLASH_MMAP_DATA, &ptr1, &handle1) ); printf("mmap_res ptr1 #2: handle=%"PRIx32" ptr=%p\n", (uint32_t)handle1, ptr1); /* assert that ptr1 now maps to the new values on flash, ie contents of buf array. */ TEST_ASSERT_EQUAL_HEX8_ARRAY(buf, ptr1, test_size); spi_flash_munmap(handle1); handle1 = 0; } TEST_CASE("flash_mmap can mmap after get enough free MMU pages", "[spi_flash][mmap]") { //this test case should make flash size >= 4MB, because max size of Dcache can mapped is 4MB setup_mmap_tests(); printf("Mapping %"PRIx32" (+%"PRIx32")\n", start, end - start); const void *ptr1; TEST_ESP_OK( spi_flash_mmap(start, end - start, SPI_FLASH_MMAP_DATA, &ptr1, &handle1) ); printf("mmap_res: handle=%"PRIx32" ptr=%p\n", (uint32_t)handle1, ptr1); srand(0); const uint32_t *data = (const uint32_t *) ptr1; for (int block = 0; block < (end - start) / 0x10000; ++block) { printf("block %d\n", block); for (int sector = 0; sector < 16; ++sector) { printf("sector %d\n", sector); for (uint32_t word = 0; word < 1024; ++word) { TEST_ASSERT_EQUAL_HEX32(rand(), data[(block * 16 + sector) * 1024 + word]); } } } uint32_t free_pages = spi_flash_mmap_get_free_pages(SPI_FLASH_MMAP_DATA); uint32_t flash_size; TEST_ESP_OK(esp_flash_get_size(NULL, &flash_size)); uint32_t flash_pages = flash_size / SPI_FLASH_MMU_PAGE_SIZE; free_pages = (free_pages > flash_pages) ? flash_pages : free_pages; printf("Mapping %x (+%"PRIx32")\n", 0, free_pages * SPI_FLASH_MMU_PAGE_SIZE); const void *ptr2; TEST_ESP_OK( spi_flash_mmap(0, free_pages * SPI_FLASH_MMU_PAGE_SIZE, SPI_FLASH_MMAP_DATA, &ptr2, &handle2) ); printf("mmap_res: handle=%"PRIx32" ptr=%p\n", (uint32_t)handle2, ptr2); printf("Unmapping handle1\n"); spi_flash_munmap(handle1); handle1 = 0; printf("Unmapping handle2\n"); spi_flash_munmap(handle2); handle2 = 0; TEST_ASSERT_EQUAL_PTR(NULL, spi_flash_phys2cache(start, SPI_FLASH_MMAP_DATA)); } TEST_CASE("phys2cache/cache2phys basic checks", "[spi_flash][mmap]") { uint8_t buf[64]; /* Avoid put constant data in the sdata/sdata2 section */ static const uint8_t constant_data[] = { 1, 2, 3, 7, 11, 16, 3, 88, 99}; /* esp_partition_find is in IROM */ uint32_t phys = spi_flash_cache2phys(esp_partition_find); TEST_ASSERT_NOT_EQUAL(SPI_FLASH_CACHE2PHYS_FAIL, phys); #if !CONFIG_SPIRAM_FLASH_LOAD_TO_PSRAM /** * On CONFIG_SPIRAM_FLASH_LOAD_TO_PSRAM=y condition * spi_flash_phys2cache will return exactly the flash paddr corresponding vaddr. * Whereas `constant_data` is now actually on PSRAM */ TEST_ASSERT_EQUAL_PTR(esp_partition_find, spi_flash_phys2cache(phys, SPI_FLASH_MMAP_INST)); #endif #if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2 TEST_ASSERT_EQUAL_PTR(NULL, spi_flash_phys2cache(phys, SPI_FLASH_MMAP_DATA)); #endif //#if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2 /* Read the flash @ 'phys' and compare it to the data we get via regular cache access */ spi_flash_read_maybe_encrypted(phys, buf, sizeof(buf)); TEST_ASSERT_EQUAL_HEX32_ARRAY((void *)esp_partition_find, buf, sizeof(buf) / sizeof(uint32_t)); /* 'constant_data' should be in DROM */ phys = spi_flash_cache2phys(&constant_data); TEST_ASSERT_NOT_EQUAL(SPI_FLASH_CACHE2PHYS_FAIL, phys); #if !CONFIG_SPIRAM_FLASH_LOAD_TO_PSRAM /** * On CONFIG_SPIRAM_FLASH_LOAD_TO_PSRAM=y condition, * spi_flash_phys2cache will return exactly the flash paddr corresponding vaddr. * Whereas `constant_data` is now actually on PSRAM */ TEST_ASSERT_EQUAL_PTR(&constant_data, spi_flash_phys2cache(phys, SPI_FLASH_MMAP_DATA)); #endif #if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2 TEST_ASSERT_EQUAL_PTR(NULL, spi_flash_phys2cache(phys, SPI_FLASH_MMAP_INST)); #endif //#if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2 /* Read the flash @ 'phys' and compare it to the data we get via normal cache access */ spi_flash_read_maybe_encrypted(phys, buf, sizeof(constant_data)); TEST_ASSERT_EQUAL_HEX8_ARRAY(constant_data, buf, sizeof(constant_data)); } TEST_CASE("mmap consistent with phys2cache/cache2phys", "[spi_flash][mmap]") { const void *ptr = NULL; const size_t test_size = 2 * SPI_FLASH_MMU_PAGE_SIZE; setup_mmap_tests(); TEST_ASSERT_EQUAL_HEX(SPI_FLASH_CACHE2PHYS_FAIL, spi_flash_cache2phys(ptr)); TEST_ESP_OK( spi_flash_mmap(start, test_size, SPI_FLASH_MMAP_DATA, &ptr, &handle1) ); TEST_ASSERT_NOT_NULL(ptr); TEST_ASSERT_NOT_EQUAL(0, handle1); TEST_ASSERT_EQUAL_HEX(start, spi_flash_cache2phys(ptr)); TEST_ASSERT_EQUAL_HEX(start + 1024, spi_flash_cache2phys((void *)((intptr_t)ptr + 1024))); TEST_ASSERT_EQUAL_HEX(start + 3000, spi_flash_cache2phys((void *)((intptr_t)ptr + 3000))); /* this pointer lands in a different MMU table entry */ TEST_ASSERT_EQUAL_HEX(start + test_size - 4, spi_flash_cache2phys((void *)((intptr_t)ptr + test_size - 4))); spi_flash_munmap(handle1); handle1 = 0; esp_rom_printf("ptr; 0x%x\n", ptr); #if !CONFIG_SPIRAM_FLASH_LOAD_TO_PSRAM /** * On CONFIG_SPIRAM_FLASH_LOAD_TO_PSRAM=y condition, this is reasonable as there are two MMUs. * Unmapping flash one, if it's XIP_PSRAM, we can still find it via `spi_flash_cache2phys` * * TODO, design a new API dedicated for `esp_ota_get_running_partition` usage, then here we can * update this `spi_flash_cache2phys` back to its normal behaviour */ TEST_ASSERT_EQUAL_HEX(SPI_FLASH_CACHE2PHYS_FAIL, spi_flash_cache2phys(ptr)); #endif } TEST_CASE("munmap followed by mmap flushes cache", "[spi_flash][mmap]") { setup_mmap_tests(); const esp_partition_t *p = get_test_data_partition(); const uint32_t *data; esp_partition_mmap_handle_t handle; TEST_ESP_OK( esp_partition_mmap(p, 0, SPI_FLASH_MMU_PAGE_SIZE, ESP_PARTITION_MMAP_DATA, (const void **) &data, &handle) ); uint32_t buf[16]; memcpy(buf, data, sizeof(buf)); esp_partition_munmap(handle); TEST_ESP_OK( esp_partition_mmap(p, SPI_FLASH_MMU_PAGE_SIZE, SPI_FLASH_MMU_PAGE_SIZE, ESP_PARTITION_MMAP_DATA, (const void **) &data, &handle) ); TEST_ASSERT_NOT_EQUAL(0, memcmp(buf, data, sizeof(buf))); } TEST_CASE("no stale data read post mmap and write partition", "[spi_flash][mmap]") { /* Buffer size is set to 32 to allow encrypted flash writes */ const char buf[32] = "Test buffer data for partition"; char read_data[sizeof(buf)]; setup_mmap_tests(); const esp_partition_t *p = get_test_data_partition(); const uint32_t *data; esp_partition_mmap_handle_t handle; TEST_ESP_OK(esp_partition_mmap(p, 0, SPI_FLASH_MMU_PAGE_SIZE, ESP_PARTITION_MMAP_DATA, (const void **) &data, &handle) ); memcpy(read_data, data, sizeof(read_data)); TEST_ESP_OK(esp_partition_erase_range(p, 0, SPI_FLASH_MMU_PAGE_SIZE)); /* not using esp_partition_write here, since the partition in not marked as "encrypted" in the partition table */ TEST_ESP_OK(spi_flash_write_maybe_encrypted(p->address + 0, buf, sizeof(buf))); /* This should retrigger actual flash content read */ memcpy(read_data, data, sizeof(read_data)); esp_partition_munmap(handle); TEST_ASSERT_EQUAL(0, memcmp(buf, read_data, sizeof(buf))); #if !CONFIG_SPI_FLASH_ROM_IMPL //flash mmap API in ROM does not support mmap into instruction address // Repeat the test for instruction mmap part setup_mmap_tests(); TEST_ESP_OK(esp_partition_mmap(p, 0, SPI_FLASH_MMU_PAGE_SIZE, ESP_PARTITION_MMAP_INST, (const void **) &data, &handle) ); memcpy(read_data, data, sizeof(read_data)); TEST_ESP_OK(esp_partition_erase_range(p, 0, SPI_FLASH_MMU_PAGE_SIZE)); /* not using esp_partition_write here, since the partition in not marked as "encrypted" in the partition table */ TEST_ESP_OK(spi_flash_write_maybe_encrypted(p->address + 0, buf, sizeof(buf))); /* This should retrigger actual flash content read */ memcpy(read_data, data, sizeof(read_data)); esp_partition_munmap(handle); TEST_ASSERT_EQUAL(0, memcmp(buf, read_data, sizeof(buf))); #endif } ```
The Coulomb Affair was a conflict between Emma and Alexis Coulomb, on one side, and Helena Blavatsky and the Theosophical Society, on the other. Blavatsky met Emma and Alexis in 1871 in Cairo. They founded the short-lived Société Spirite. In August 1879, Emma and Alexis contacted Blavatsky because they had financial problems. They were stranded in Sri Lanka, and Blavatsky helped them to get to Bombay and tried to find a job for them. As she could not find a job for them, she provided them with a position in the Theosophical Society, where they did various chores, such as cooking and gardening. In February 1884, Blavatsky and H. S. Olcott travelled to Europe. After their departure, a conflict between the Coulombs and the Theosophical Society escalated. The Coulombs tried to blackmail and threaten Blavatsky, whereupon Blavatsky dismissed them. When the theosophists inspected Blavatsky's room after the Coulombs had to leave, they found secret doors in her room . Alexis claimed that he constructed these secret doors for Blavatsky. Theosophists have said that Alexis' constructions were obviously newly built, and the secret doors could not be opened or closed silently or without strong effort. After the Coulombs were dismissed, they went to their Christian missionary friends of the Free Church of Scotland, and gave them letters that were allegedly written by Blavatsky to Emma. These letters suggested that Blavatsky was a fraud. The chaplain George Patterson published extracts from these letters in the Madras Christian College Magazine. The incident became well known all over India and also in America and Europe. Blavatsky then immediately published a reply in several newspapers. Blavatsky and Olcott then travelled back to India in the end of 1884. Soon afterwards the Hodgson Report was published, which also severely damaged Blavatsky's reputation. The report also contained the allegations of the Coulombs. In 1986 and 1997, Vernon Harrison of the Society for Psychical Research published a study on the Hodgson Report. The Blavatsky–Coulomb letters were destroyed by Elliott Coues, an enemy of Blavatsky, so that they cannot be studied. See also Hodgson Report Incidents in the Life of Madame Blavatsky Literature Besant, Annie: H. P. Blavatsky und die Meister der Weisheit. Theosophisches Verlagshaus, Leipzig 1924 Coulomb, Emma: Some account of my association with Madame Blavatsky from 1872 to 1884. Lawrence Asylum Press, Madras 1884 Harrison, Vernon: H. P. Blavatsky und die SPR, Eine Untersuchung des Hodgson Berichtes aus dem Jahre 1885. Theosophischer Verlag 1998; Hartmann, Franz: Wahrheit und Dichtung, Die Theosophische Gesellschaft und der Wunderschrank von Adyar. o.O. 1906 External links "The Theosophical Movement 1875–1950", Cunningham Press, 1951 (page 82ff.) "The Collapse of Koot Hoomi" by Rev. George Patterson, Madras Christian College Magazine (1884) "Statement of a Visitor" by Franz Hartmann, reprinted from Report of the Result of an Investigation into the Charges against Madame Blavatsky Brought by the Missionaries of the Scottish Free Church of Madras, and Examined by a Committee Appointed for That Purpose by the General Council of the Theosophical Society, 1885, pp. 139–144. "The Testimony of Emma Coulomb" by Emma Coulomb, from "The Report of the Committee Appointed to Investigate the Phenomena connected with the Theosophical Society," Proceedings of the Society for Psychical Research, 1885. "The Coulomb Conspiracy Against Theosophy", ch. 13 in H. P. Blavatsky and the Theosophical Movement, by Charles J. Ryan, 1937 Helena Blavatsky Theosophical Society
Duke Zhuang I of Qi (; died 731 BC) was from 794 to 731 BC the twelfth recorded ruler of the State of Qi during the Zhou dynasty of ancient China. His personal name was Lü Gou (呂購), ancestral name Jiang (姜), and Duke Zhuang was his posthumous title. He was the first of the two Qi rulers called Duke Zhuang. Reign Duke Zhuang succeeded his father Duke Cheng of Qi, who died in 795 BC, as ruler of Qi. He had a long reign during an era of upheaval in China. In 771 BC, the Quanrong tribes from the west attacked Haojing, capital of the Zhou dynasty, and killed King You of Zhou. Duke Xiang of the state of Qin sent his army to escort King You's son King Ping of Zhou to the new capital Luoyi, marking the beginning of the Eastern Zhou dynasty. As a reward for Qin's protection King Ping formally granted Duke Xiang of Qin a nobility rank and elevated Qin to the status of a vassal state on par with other major states such as Qi and Jin. Although Qi was little affected by the turmoil as it was located east of the Zhou territory, the state of Qin would from then on grow stronger and eventually conquer Qi in 221 BC and unite China under the Qin dynasty. Duke Zhuang reigned for 64 years and died in 731 BC. He was succeeded by his son, Duke Xi of Qi. Family Wives: The mother of Crown Prince Dechen and Zhuang Jiang Concubines: The mother of Prince Lufu and Yi Zhongnian Sons: Crown Prince Dechen () Served as a Grand Master () of Qi Prince Lufu (; d. 698 BC), ruled as Duke Xi of Qi from 730 to 698 BC A son (d. 699 BC) who was the father of Wuzhi, Duke of Qi Known as Yi Zhongnian () Prince Liao (), the progenitor of the Xi lineage and the grandfather of Xi Peng () Served as a Grand Master () of Xiyin () Daughters: Zhuang Jiang () Married Duke Zhuang I of Wey (d. 735 BC) Ancestry References Year of birth unknown Monarchs of Qi (state) 8th-century BC Chinese monarchs 731 BC deaths
```python from rx import config from rx.core import Disposable class CompositeDisposable(Disposable): """Represents a group of disposable resources that are disposed together""" def __init__(self, *args): if args and isinstance(args[0], list): self.disposables = args[0] else: self.disposables = list(args) self.is_disposed = False self.lock = config["concurrency"].RLock() super(CompositeDisposable, self).__init__() def add(self, item): """Adds a disposable to the CompositeDisposable or disposes the disposable if the CompositeDisposable is disposed Keyword arguments: item -- Disposable to add.""" should_dispose = False with self.lock: if self.is_disposed: should_dispose = True else: self.disposables.append(item) if should_dispose: item.dispose() def remove(self, item): """Removes and disposes the first occurrence of a disposable from the CompositeDisposable.""" if self.is_disposed: return should_dispose = False with self.lock: if item in self.disposables: self.disposables.remove(item) should_dispose = True if should_dispose: item.dispose() return should_dispose def dispose(self): """Disposes all disposables in the group and removes them from the group.""" if self.is_disposed: return with self.lock: self.is_disposed = True current_disposables = self.disposables[:] self.disposables = [] for disposable in current_disposables: disposable.dispose() def clear(self): """Removes and disposes all disposables from the CompositeDisposable, but does not dispose the CompositeDisposable.""" with self.lock: current_disposables = self.disposables[:] self.disposables = [] for disposable in current_disposables: disposable.dispose() def contains(self, item): """Determines whether the CompositeDisposable contains a specific disposable. Keyword arguments: item -- Disposable to search for Returns True if the disposable was found; otherwise, False""" return item in self.disposables def to_list(self): return self.disposables[:] def __len__(self): return len(self.disposables) @property def length(self): return len(self.disposables) ```
The church of Santi Faustino e Giovita, known also as the church of San Faustino Maggiore is a Roman Catholic church in Brescia, Italy. It is situated on Via San Faustino. The church was originally attached to a monastery founded in the 9th century, but it has been rebuilt across the centuries. It was initially consecrated in 1142. The saints Faustino and Giovita are the patron saints of Brescia. The interior of the church has extensive frescoes, mostly completed in the Baroque era. They include works by Tommaso Sandrino in the nave, and by Giandomenico Tiepolo in the presbytery, where he painted the Apotheosis of Saints Faustino, Giovita, Benedetto e Scolastica. Other notable works of art are the ark at the main altar (1623) by Antonio Carra, Nativity by Lattanzio Gambara, a Deposition by Sante Cattaneo, a Stendardo del Santissimo Sacramento painted by Girolamo Romanino. External links Bresciacity website Faustino Faustino Faustino
```java /* * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * published by the Free Software Foundation. Oracle designates this * particular file as subject to the "Classpath" exception as provided * by Oracle in the LICENSE file that accompanied this code. * * This code is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * version 2 for more details (a copy is included in the LICENSE file that * accompanied this code). * * 2 along with this work; if not, write to the Free Software Foundation, * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. * * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ package org.graalvm.visualvm.lib.profiler.heapwalk.memorylint; import java.util.ArrayDeque; import java.util.Collection; import java.util.Collections; import java.util.Deque; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.logging.Level; import java.util.logging.Logger; import org.graalvm.visualvm.lib.jfluid.heap.ArrayItemValue; import org.graalvm.visualvm.lib.jfluid.heap.Field; import org.graalvm.visualvm.lib.jfluid.heap.FieldValue; import org.graalvm.visualvm.lib.jfluid.heap.GCRoot; import org.graalvm.visualvm.lib.jfluid.heap.Heap; import org.graalvm.visualvm.lib.jfluid.heap.Instance; import org.graalvm.visualvm.lib.jfluid.heap.JavaClass; import org.graalvm.visualvm.lib.jfluid.heap.ObjectArrayInstance; import org.graalvm.visualvm.lib.jfluid.heap.ObjectFieldValue; import org.graalvm.visualvm.lib.jfluid.heap.Value; import org.openide.util.NbBundle; /** * * @author nenik */ public class Utils { //~ Methods your_sha256_hash-------------------------------------------------- /** Performs a check whether target object is strongly referenced from source. * @param source object to search path from * @return true is target is held by source */ public static boolean isReachableFrom(Instance source, Instance target) { if ((source == null) || (target == null)) { return false; } Logger.getLogger(Utils.class.getName()).log(Level.FINE, "Utils.isReachableFrom {0}, {1}", new Object[] { source, target }); Set<Instance> processed = new HashSet<>(); Deque<Instance> fifo = new ArrayDeque<>(); fifo.add(source); while (!fifo.isEmpty()) { if (fifo.size() > 200) { Logger.getLogger(Utils.class.getName()).log(Level.FINE, "overflow in isReachableFrom {0}, {1}", new Object[] { source, target }); break; } Instance act = fifo.removeFirst(); if (act.equals(target)) { return true; } //System.err.println(" processing iof " + act.getJavaClass().getName() ); @SuppressWarnings("unchecked") List<FieldValue> outgoing = act.getFieldValues(); for (FieldValue v : outgoing) { Instance neu = null; if (v instanceof ObjectFieldValue) { Field fld = ((ObjectFieldValue) v).getField(); if ("referent".equals(fld.getName()) && "java.lang.ref.Reference".equals(fld.getDeclaringClass().getName())) { // NOI18N continue; } neu = ((ObjectFieldValue) v).getInstance(); } if (v instanceof ArrayItemValue) { neu = ((ArrayItemValue) v).getInstance(); } if (neu == null) { continue; } if (processed.add(neu)) { fifo.add(neu); } } } return false; } /* private static void printObject(Instance in, Heap heap) { System.err.println(in.getJavaClass().getName() + "@" + Long.toHexString(in.getInstanceId())); List<FieldValue> lfv = in.getFieldValues(); for (FieldValue fv : lfv) { if ("object".equals(fv.getField().getType().getName()) && "char[]".equals(((ObjectFieldValue)fv).getInstance().getJavaClass().getName())) { // char[], special printout ObjectFieldValue ofv = (ObjectFieldValue)fv; PrimitiveArrayInstance carr = (PrimitiveArrayInstance)ofv.getInstance(); List<String> vals = carr.getValues(); StringBuilder val = new StringBuilder("'"); for (String v : vals) val.append(v); val.append("'"); System.err.println(" " + fv.getField().getName() + ":" + val.toString()); } else { System.err.println(" " + fv.getField().getName() + "(" + fv.getField().getType().getName() + "):" + fv.getValue()); } } printPath(in, heap); System.err.println(""); } private static void printPath(Instance in, Heap heap) { String prefix = " "; while (in != null) { if (in.isGCRoot()) { GCRoot root = heap.getGCRoot(in); System.err.println(prefix + "<-" + in.getJavaClass().getName() + "@" + Long.toHexString(in.getInstanceId()) + " is ROOT: " + root.getKind()); break; } System.err.println(prefix + "<-" + in.getJavaClass().getName() + "@" + Long.toHexString(in.getInstanceId())); prefix += " "; in = in.getNearestGCRootPointer(); } } */ /** Computes object set retained by some objects. */ public static Set<Instance> getRetainedSet(Collection<Instance> objSet, Heap heap) { Field ref = null; JavaClass reference = heap.getJavaClassByName("java.lang.ref.Reference"); // NOI18N for (Field f : reference.getFields()) { if ("referent".equals(f.getName())) { // NOI18N ref = f; break; } } Set<Instance> results = new HashSet<>(); @SuppressWarnings("unchecked") Collection<GCRoot> roots = heap.getGCRoots(); Set<Instance> marked = new HashSet<>(); Deque<Instance> fifo = new ArrayDeque<>(); for (GCRoot r : roots) { Instance curr = r.getInstance(); if (!objSet.contains(curr)) { fifo.add(curr); } } while (!fifo.isEmpty()) { Instance curr = fifo.removeFirst(); if (!marked.add(curr)) { continue; } for (FieldValue fv : curr.getFieldValues()) { // skip weak references if (fv.getField().equals(ref)) { continue; } // if (fv instanceof ObjectFieldValue) { Instance neu = ((ObjectFieldValue) fv).getInstance(); if ((neu != null) && !objSet.contains(neu)) { fifo.add(neu); } } } if (curr instanceof ObjectArrayInstance) { for (Instance neu : ((ObjectArrayInstance) curr).getValues()) { if ((neu != null) && !objSet.contains(neu)) { fifo.add(neu); } } } } // now find what we can reach from 'in' fifo.addAll(objSet); results.addAll(objSet); while (!fifo.isEmpty()) { Instance curr = fifo.removeFirst(); for (FieldValue fv : curr.getFieldValues()) { // skip weak references if (fv.getField().equals(ref)) { continue; } // if (fv instanceof ObjectFieldValue) { Instance neu = ((ObjectFieldValue) fv).getInstance(); if ((neu != null) && !marked.contains(neu)) { if (results.add(neu)) { fifo.add(neu); } } } } } return results; } /** Computes object set retained by some object. */ public static Set<Instance> getRetainedSet(Instance in, Heap heap) { return getRetainedSet(Collections.singleton(in), heap); } /** Perform BFS of incomming references and find shortest one not from SDK */ public static String getRootIncommingString(Instance in) { String temp = null; for (;;) { in = in.getNearestGCRootPointer(); if (in == null) { break; } String rName = in.getJavaClass().getName(); if (temp == null) { temp = "<< " + rName; // there is at least some incoming ref } if (!rName.startsWith("java.") && !rName.startsWith("javax.")) { return rName; } if (in.isGCRoot()) { break; } } return (temp == null) ? "unknown" : temp; } // Perform BFS of incomming references and find shortest one not from SDK public static String getSignificantIncommingString(Instance in) { Set<Instance> processed = new HashSet<>(); String temp = null; Deque<Instance> fifo = new ArrayDeque<>(); fifo.add(in); while (!fifo.isEmpty()) { if (fifo.size() > 10) { Logger.getLogger(Utils.class.getName()).log(Level.FINE, "overflow in getSignificantIncommingString({0})", new Object[] { in }); break; } Instance act = fifo.removeFirst(); @SuppressWarnings("unchecked") List<Value> incoming = act.getReferences(); for (Value v : incoming) { String rName = v.getDefiningInstance().getJavaClass().getName(); if (temp == null) { temp = "<< " + rName; // there is at least some incoming ref } if (rName.startsWith("java.") || rName.startsWith("javax.")) { // NOI18N Instance i = v.getDefiningInstance(); if (processed.add(i)) { fifo.add(i); } } else { // Bingo! return rName; } } } return (temp == null) ? "unknown" : temp; // NOI18N } public static String printClass(MemoryLint context, String cls) { if (cls.startsWith("<< ")) { // NOI18N cls = cls.substring("<< ".length()); // NOI18N } if ("unknown".equals(cls)) { // NOI18N return NbBundle.getMessage(Utils.class, "LBL_UnknownClass"); } String fullName = cls; String dispName = cls; String field = ""; // NOI18N // now you can wrap it with a/href to given class int dotIdx = cls.lastIndexOf('.'); int colonIdx = cls.lastIndexOf(':'); if (colonIdx == -1) { colonIdx = cls.lastIndexOf(';'); } if (colonIdx > 0) { fullName = cls.substring(0, colonIdx); field = "." + cls.substring(colonIdx + 1); } dispName = fullName.substring(dotIdx + 1); return "<a href='file://class/" + fullName + "'>" + dispName + "</a>" + field; // NOI18N } public static String printInstance(Instance in) { String className = in.getJavaClass().getName(); return "<a href='file://instance/" + className + "/" + in.getInstanceNumber() + "'>" + className + '#' + in.getInstanceNumber() + "</a>"; // NOI18N // return in.getJavaClass().getName() + '@' + Long.toHexString(in.getInstanceId()) + '#' + in.getInstanceNumber(); } } ```
```javascript import NextLink from 'next/link'; import {useRouter} from 'next/router'; import {forwardRef} from 'react'; import {useAppContext} from '../../pages/_app'; const OUT_DURATION = 75; export const Link = forwardRef(function Link(props, ref) { const {setPageTransitionStatus, setArticleTransitionStatus} = useAppContext(); const router = useRouter(); const changeRoute = () => { setTimeout(() => { router.push(props.href); }, OUT_DURATION); }; function handleClick(e) { props.onClick?.(e); const [hrefBase, hrefHash] = props.href.split('#'); const [asPathBase, asPathHash] = router.asPath.split('#'); if ( hrefBase === asPathBase || (hrefBase === asPathBase && hrefHash !== asPathHash) || // plain #hash (table of contents) hrefBase === '' ) { return; } e.preventDefault(); if (hrefBase === '/' || asPathBase === '/') { setPageTransitionStatus('out'); changeRoute(); return; } if (hrefBase !== asPathBase) { setArticleTransitionStatus('out'); changeRoute(); } } return <NextLink ref={ref} {...props} onClick={handleClick} />; }); ```
```javascript // // This software (Documize Community Edition) is licensed under // GNU AGPL v3 path_to_url // // You can operate outside the AGPL restrictions by purchasing // Documize Enterprise Edition and obtaining a commercial license // by contacting <sales@documize.com>. // // path_to_url import { A } from '@ember/array'; import ArrayProxy from '@ember/array/proxy'; import RSVP, { Promise as EmberPromise } from 'rsvp'; import Service, { inject as service } from '@ember/service'; export default Service.extend({ session: service('session'), ajax: service(), appMeta: service(), store: service(), initialized: false, init() { this._super(...arguments); this.pins = []; }, getUserPins() { let userId = this.get('session.user.id'); if (!this.get('session.authenticated')) { return new RSVP.resolve(A([])); } if (this.get('initialized')) { return new RSVP.resolve(this.get('pins')); } return this.get('ajax').request(`pin/${userId}`, { method: 'GET' }).then((response) => { if (!_.isArray(response)) response = []; let pins = ArrayProxy.create({ content: A([]) }); pins = response.map((pin) => { let data = this.get('store').normalize('pin', pin); return this.get('store').push(data); }); this.set('initialized', true); this.set('pins', pins); return pins; }); }, // Pin an item. pinItem(data) { let userId = this.get('session.user.id'); this.set('initialized', false); if(this.get('session.authenticated')) { return this.get('ajax').request(`pin/${userId}`, { method: 'POST', data: JSON.stringify(data) }).then((response) => { let data = this.get('store').normalize('pin', response); return this.get('store').push(data); }); } }, // Unpin an item. unpinItem(pinId) { let userId = this.get('session.user.id'); this.set('initialized', false); if(this.get('session.authenticated')) { return this.get('ajax').request(`pin/${userId}/${pinId}`, { method: 'DELETE' }); } }, // updateSequence persists order after use drag-drop sorting. updateSequence(data) { let userId = this.get('session.user.id'); if(this.get('session.authenticated')) { return this.get('ajax').request(`pin/${userId}/sequence`, { method: 'POST', data: JSON.stringify(data) }).then((response) => { if (!_.isArray(response)) response = []; let pins = ArrayProxy.create({ content: A([]) }); pins = response.map((pin) => { let data = this.get('store').normalize('pin', pin); return this.get('store').push(data); }); this.set('pins', pins); return pins; }); } }, isDocumentPinned(documentId) { return new EmberPromise((resolve, reject) => { // eslint-disable-line no-unused-vars let userId = this.get('session.user.id'); return this.getUserPins().then((pins) => { pins.forEach((pin) => { if (pin.get('userId') === userId && pin.get('documentId') === documentId) { resolve(pin.get('id')); } }); resolve(''); }); }); }, isSpacePinned(spaceId) { return new EmberPromise((resolve, reject) => { // eslint-disable-line no-unused-vars let userId = this.get('session.user.id'); return this.getUserPins().then((pins) => { pins.forEach((pin) => { if (pin.get('userId') === userId && pin.get('documentId') === '' && pin.get('spaceId') === spaceId) { resolve(pin.get('id')); } }); resolve(''); }); }); } }); ```
Same-sex marriage has been legally recognized in Idaho since October 15, 2014. In May 2014, the U.S. District Court for the District of Idaho in the case of Latta v. Otter found Idaho's statutory and state constitutional bans on same-sex marriage unconstitutional, but enforcement of that ruling was stayed pending appeal. The Ninth Circuit Court of Appeals affirmed that ruling on October 7, 2014, though the U.S. Supreme Court issued a stay of the ruling, which was not lifted until October 15, 2014. Opinion polls have shown that a majority or plurality of Idaho residents support same-sex marriage. Legal history Statutes After the Hawaii Supreme Court seemed poised to legalize same-sex marriage in Hawaii in Baehr v. Miike in 1993, the Idaho Legislature amended its marriage statutes in 1995 to specifically specify that a marriage was to be between a man and a woman. The changes took effect on January 1, 1996. Fearing it would have to recognize same-sex marriages conducted in Hawaii, Idaho further amended its marriage laws to prohibit recognition of out-of-state same-sex marriages in 1996. Governor Phil Batt signed the legislation, which took immediate effect on March 18, 1996. Constitutional amendment On February 11, 2004, the Idaho House of Representatives, by a 53 to 17 vote, approved a constitutional amendment banning same-sex marriage and its "legal equivalent" in the state. The Idaho State Senate failed to vote on the amendment. On February 2, 2005, the Senate, by a 21–14 vote, failed to approve a similar constitutional amendment banning same-sex marriage and any "legal status similar to that of marriage". On February 6, 2006, the House of Representatives, by a 53 to 17 vote, approved Amendment 2, a constitutional amendment banning same-sex marriage and any "domestic legal union" in the state. The Senate approved the constitutional amendment on February 15 by a 26–9 vote, and it was approved by voters on November 7, 2006. The amendment was found to be unconstitutional on May 13, 2014, by a federal district court. The ruling was affirmed by the Ninth Circuit Court of Appeals on October 7, 2014, and went into effect on October 15, 2014. Federal lawsuit Four Idaho lesbian couples filed a lawsuit in U.S. district court in November 2013, challenging the state's ban on same-sex marriage. On May 13, 2014, U.S. Chief Magistrate Candy W. Dale ruled in Latta v. Otter that Idaho's constitutional and statutory prohibitions against same-sex marriage were unconstitutional under the Fourteenth Amendment. She wrote: The state appealed the ruling, and on May 20 the Ninth Circuit Court of Appeals stayed enforcement of Dale's ruling pending the outcome of that appeal and ordered the case heard on an expedited basis. On October 7, 2014, the Ninth Circuit Court of Appeals affirmed that the state's same-sex marriage ban was unconstitutional, finding that the ban violated the Fourteenth Amendment's right to equal protection. Idaho's county clerks prepared to process marriage licenses for same-sex couples the following day, October 8, until Supreme Court Justice Anthony Kennedy, in response to a petition from state officials, granted an emergency stay of the Ninth Circuit's implementation of its decision. Don Moline and Clint Newlan were able to obtain a marriage license in Twin Falls before Justice Kennedy issued the temporary stay. On October 10, 2014, Justice Kennedy, after consulting with the other members of the U.S. Supreme Court, denied the request for a stay and vacated the temporary stay. Latah County issued six marriage licenses to same-sex couples on October 10. That same day, the Latta plaintiffs asked the Ninth Circuit to lift the stay of the district court's order that it had imposed on May 20. The Ninth Circuit gave the parties until October 13 to reply. On October 13, the Ninth Circuit lifted its stay of the district court's order enjoining Idaho officials from enforcing the state's ban on same-sex marriage. The court's lifting of the stay went into effect on October 15, 2014. Rachael and Amber Beierle, plaintiffs in Latta, were the first couple to obtain a marriage license at the Ada County Clerk's Office on October 15. Maryanne Jordan, the president of the Boise City Council, officiated at the marriage, and said "It's been such a long time coming." More than 50 marriage licenses were issued to same-sex couples that Friday, October 15 in at least 9 of Idaho's counties: Ada, Bannock, Blaine, Bonner, Canyon, Custer, Kootenai, Latah, and Twin Falls. On October 10, Governor Butch Otter announced that he would no longer contest the ruling in Latta and state agencies would comply when the Ninth Circuit requires Idaho to provide marriage rights to same-sex couples. On October 14, he announced that his office planned to continue defending the state's ban on same-sex marriage. On October 21, he filed a petition for an en banc rehearing by the Ninth Circuit. The plaintiffs filed a response to the petition opposing an en banc rehearing on November 10, 2014. The Ninth Circuit denied the request for rehearing en banc on January 9, 2015. Developments after legalization A tax conformity bill, which would allow Idaho taxpayers to use federal adjusted gross income on their federal return as a starting point in filling out their Idaho tax form, was opposed by a group of Republican lawmakers in February 2022 who argued that the bill circumvented the Idaho Constitution by approving same-sex marriage. Representative Ron Nate said, "The problem with this is that [the bill] does not protect our constitution in Idaho as it was amended in 2006", as the federal government uses its definition of marriage to allow adjustments. Representative Gregory Chaney disagreed, "Not only are you [Representative Nate] not doing a better job of upholding the Idaho Constitution, you are doing an absolutely miserable job of upholding the United States Constitution. This is another example of where we'd get our rear end kicked, summarily, and then we'd pay the attorney['s] fees for whoever sued us." The bill passed 46–22 in the House. In January 2023, Senator Scott Herndon introduced legislation to eliminate marriage licenses and instead direct officiants to issue marriage certificates following a ceremony between "two qualified people, a man and a woman". Representative Ilana Rubel said the bill appears to codify that "there would only be marriage recognized between a man and a woman" in Idaho, which would violate the U.S. Constitution. The bill was scheduled to be heard in the Senate Judiciary and Rules Committee on January 23, but was dropped from the agenda just hours before the committee's meeting for unknown reasons. Native American nations Same-sex marriage is not recognized on the reservation of the Nez Perce Tribe of Idaho. Its Tribal Code states that "'marriage' means the civil status, condition or relation of a man and woman considered united in law as husband and wife". The Law and Order Code of the Shoshone-Bannock Tribes states that "'marriage is a personal relation arising out of a civil contract, to which the consent of parties capable of making it is necessary", but generally refers to married spouses as "husband and wife". However, the code states that marriages entered into outside the tribe's jurisdiction are valid if they are valid in the jurisdiction where they were entered into. Many Native American tribes have traditions of two-spirit individuals who were born male but wore women's clothing and performed everyday household work and artistic handiwork which were regarded as belonging to the feminine sphere. This two-spirit status allowed for marriages between two biological males or two biological females to be performed among some of these tribes. In Shoshone culture, two-spirit individuals are known as (), and performed women's activities but did not always wear women's clothing. Some of them married men, others married women, while others remained unmarried. It was considered inappropriate, however, for two to form a relationship. The Nez Perce call them (). They had sexual intercourse with cisgender men, but it is unclear if they were allowed to marry men. In the Coeur d'Alene language, they are known as (). Verne F. Ray reported in 1932 that he had met a Coeur d'Alene st̓ámya who was intersex and remained unmarried. The Kutenai, living in the present-day Idaho Panhandle, refer to two-spirit people who were born female but wore men's clothing and performed men's activities as (). One famous Kutenai two-spirit person was Kaúxuma Núpika, who, after leaving his White fur trader husband, returned to his people and adopted men's clothing and weapons, and took a wife. Kaúxuma was one of the "principal leaders" of the tribe and supernatural powers were attributed to him. He "is remembered among the Kutenai as a respected shamanic healer", a masculine occupation. Demographics and marriage statistics Data from the 2000 U.S. census showed that 1,873 same-sex couples were living in Idaho. By 2005, this had increased to 2,096 couples, likely attributed to same-sex couples' growing willingness to disclose their partnerships on government surveys. Same-sex couples lived in all counties of the state, except Oneida, and constituted 0.6% of coupled households and 0.4% of all households in the state. Most couples lived in Ada, Canyon and Kootenai counties, but the counties with the highest percentage of same-sex couples were Lewis (0.90% of all county households) and Adams (0.77%). Same-sex partners in Idaho were on average younger than opposite-sex partners, and significantly more likely to be employed. However, the average and median household incomes of same-sex couples were lower than different-sex couples, and same-sex couples were also far less likely to own a home than opposite-sex partners. 16% of same-sex couples in Idaho were raising children under the age of 18, with an estimated 417 children living in households headed by same-sex couples in 2005. 98 and 115 same-sex marriages were performed in Ada County in 2020 and 2021, respectively. 110 same-sex couples were married in the first 10 months of 2022 in the same county. Public opinion A 2022 poll by the Idaho Statesman/SurveyUSA found that 49% of Idaho voters believed same-sex marriage should remain legal if the Supreme Court overturned Obergefell, while 37% opposed, and 14% were unsure. Support was highest among Democrats (78%) and independents (62%), but lowest among Republicans (34%). {| class="wikitable" |+style="font-size:100%" | Public opinion for same-sex marriage in Idaho |- ! style="width:190px;"| Poll source ! style="width:200px;"| Date(s)administered ! class=small | Samplesize ! Margin oferror ! style="width:100px;"| % support ! style="width:100px;"| % opposition ! style="width:40px;"| % no opinion |- | Public Religion Research Institute | align=center| March 11–December 14, 2022 | align=center| ? | align=center| ? | align=center| 64% | align=center| 36% | align=center| <0.5% |- | Idaho Statesman/Survey USA | align=center| October 17–20, 2022 | align=center| 550 adults | align=center| ? | align=center| 49% | align=center| 37% | align=center| 14% |- | Public Religion Research Institute | align=center| March 8–November 9, 2021 | align=center| ? | align=center| ? | align=center| 62% | align=center| 34% | align=center| 4% |- | Public Religion Research Institute | align=center| January 7–December 20, 2020 | align=center| 349 random telephoneinterviewees | align=center| ? | align=center| 48% | align=center| 40% | align=center| 12% |- | Public Religion Research Institute | align=center| April 5–December 23, 2017 | align=center| 461 random telephoneinterviewees | align=center| ? | align=center| 56% | align=center| 32% | align=center| 12% |- | Public Religion Research Institute | align=center| May 18, 2016–January 10, 2017 | align=center| 609 random telephoneinterviewees | align=center| ? | align=center| 54% | align=center| 36% | align=center| 9% |- | Public Religion Research Institute | align=center| April 29, 2015–January 7, 2016 | align=center| 471 random telephoneinterviewees | align=center| ? | align=center| 49% | align=center| 41% | align=center| 10% |- | Public Policy Polling | align=center| October 9–12, 2014 | align=center| 522 likely voters | align=center| ± 4.3% | align=center| 38% | align=center| 57% | align=center| 5% |- | New York Times/CBS News/YouGov | align=center| September 20–October 1, 2014 | align=center| 594 likely voters | align=center| ± 4.7% | align=center| 33% | align=center| 51% | align=center| 16% |- | Public Religion Research Institute | align=center| April 2, 2014–January 4, 2015 | align=center| 309 | align=center| ? | align=center| 53% | align=center| 41% | align=center| 6% |- See also LGBT rights in Idaho Same-sex marriage in the United States References External links Latta v. Otter, United States District Court for the District of Idaho, May 13, 2014 2014 in LGBT history LGBT rights in Idaho Idaho 2014 in Idaho
Sadness was a survival horror video game in development by Nibris for the Wii console, and was one of the earliest titles announced for the system. While the game initially drew positive attention for its unique gameplay concepts, such as black-and-white graphics and emphasis on psychological horror over violence, Sadness became notorious when no evidence of a playable build was ever publicly released during the four years it spent in development. It was revealed that Sadness had entered development hell due to problems with deadlines and relationships with external developers, leading to its eventual cancellation by 2010, along with the permanent closure of the company. Concept Sadness was promoted as a unique and realistic survival horror game that would "surprise players," focusing on psychological horror rather than violence, containing "associations with narcolepsy, nyctophobia and paranoid schizophrenia." More notable was the announcement that the game would sport black-and-white visuals stylized as gothic horror. Nibris promised that Sadness would provide "extremely innovative game play," fully utilizing the motion sensing capabilities of both the Wii Remote and the Nunchuk. For example, it was suggested that players would use the Wii Remote to wield a torch and wave it to scare off rats; swinging the controller like a lasso in order to throw a rope over a wall; or picking up items by reaching out with the Wii Remote and grabbing them. Sadness was also planned to have open-ended interactivity between the player and the game's objects, being able to use any available item as a weapon. Suggestions included breaking a glass bottle and using the shards as a knife, or breaking the leg off a chair and using it as a club. The game would also not utilize in-game menus (all game saves would be done in the background) nor a HUD in favor of greater immersion. Story Set in pre-World War I Russian Empire (modern Ukraine), Sadness was to follow the player character Maria Lengyel, a Victorian era aristocrat of Polish-Hungarian descent who has to protect her son Alexander after their train to Lviv derails in the countryside. Alexander, who is struck blind by the accident, begins to exhibit strange behavior that progressively worsens. The game's scenarios and enemies, such as those based on the werewolf and the likho, are inspired by Slavic mythology. In order to "make the player feel that he is participating in events [and] not merely playing a game," the game was planned to feature a branching storyline, influenced by the player's actions and concluding with one out of ten possible endings. History Sadness was announced by Nibris on March 7, 2006 as a title for Nintendo's Revolution (before its final name "Wii" was announced), later releasing a live action concept trailer which demonstrated potential Wii Remote control in gameplay. Nibris partnered with Frontline Studios, who would be in charge of the game programming, and Digital Amigos, who would develop the game visuals, and it was reported that the game would be released by the fourth quarter of 2007. From 2007 onward, Nibris drew criticism from various websites and blogs for lack of evidence of the game in action, such as playable demos, trailers, or screenshots. Speculation that Sadness was vaporware intensified following a number of events, particularly the announcement that Frontline Studios was no longer working on the project (citing "artistic differences") and the game's delay to 2009. Several Nibris announcements were never realized, such as a new trailer by late 2007 or an appearance at the 2008 Game Developer's Conference. Joystiq labeled Sadness as both a "comedy of errors" and a "public embarrassment." Fog Studios, Nibris' marketing partner, responded to the accusations on vaporware on at least two occasions, once in June 2008 and again in September 2009, insisting that Sadness development was still underway, but was in need of a publisher. In May 2009, N-Europe interviewed Adam Artur Antolski, a former Nibris employee and scriptwriter for Sadness, who revealed that constant failures to meet deadlines were caused by prolonged dispute over its design, with little consensus made among the staff and with Frontline. Antolski stated that progress made during the first year included completion of the script, concept design, and "only one 3D object – some minecart I believe." When asked regarding an announcement that Nibris would be present at that year's Electronic Entertainment Expo, Antolski responded "Nibris always was better in promoting than making anything." Nibris was later absent from E3 2009, and the game silently missed the projected 2009 release date. Nibris' official website, which had not been updated since its announcement of appearing at GDC 2008, closed in February 2010. On April 5, N-Europe reported that Arkadiusz Reikowski, one of the game's music composers, released some of his unfinished work to the public and confirmed that Sadness had been abandoned by Nibris and was no longer in the works. In October, Nibris itself transformed into a coordinator for the European Center of Games, ceasing game development permanently, and remaining staff and projects were also reported to have been handed over to Bloober Team, another game developer. References External links Sadness Website (Dutch) Cancelled Wii games Gamebryo games Monochrome video games Psychological horror games Video games developed in Poland Video games featuring female protagonists
Iron Studios is a Brazilian company based in São Paulo specializing in the manufacture of collectible statues. The company works with property licenses from Disney, Marvel Comics, DC Comics, and Star Wars. It produces models in 1/10th scale and larger models in 1/6th and 1/4th scale. The statues are made from Polystone, a high-density resin that offers resistance to heat and humidity. Real fabric or die-casting is used to produce other details. It has stores in São Paulo and in Rio de Janeiro, where it sells products from other partner manufacturers, in addition to its own products. History The history of Iron studios began with distributor PiziiToys and the Japanese company Kotobukiya. During the Brazilian toyfare ABRIN in 2009, they presented the first product of this partnership,a 1/6th scale sculpture of the Formula 1 driver Ayrton Senna at the moment of his victory in the 1993 Japanese GP. They also produced a second piece, on the same scale, the pose of Senna's victory at the 1991 Brazilian Grand Prix. The two statues show him in his red uniform, when he was on the McLaren team. In 2012 the third miniature of Ayrton Senna was launched, now in a black team Lotus Cars uniform. It was the first piece made by the newly created Iron Studios. On December 13, 2012, it announced a license agreement with Marvel Studios, for the production of statuettes in Brazil. The first announced product produced under this license was Iron Man Mark XLII, based on the movie Iron Man 3. In September 2015, the company obtained the licensing rights to some of the properties of Warner Bros, and invited the artist Ivan Reis to create conceptual art. Shops On October 6, 2014, Iron Studios opened their first shop. It sells items from several manufacturers, other than those made by the company. Between May and September 2016 Iron Studios set up a store in the Cidade Jardim shopping mall, in São Paulo, where it displayed an exhibition with some 150 of their pieces and those of other manufacturers. Some products went on sale. Shopping Eldorado, in São Paulo, housed a branch of the shop in January 2016. After two years, the establishment closed in July 2018, for strategic reasons. Its first store outside the State of São Paulo was inaugurated on August 19, 2016, at Shopping Nova América in the city of Rio de Janeiro. External links Official website Oficial website References Model manufacturers of Brazil Manufacturing companies based in São Paulo
```java /* * * * * * * * path_to_url * * * * Unless required by applicable law or agreed to in writing, software * * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * */ package com.androidnetworking.interfaces; import com.androidnetworking.error.ANError; import okhttp3.Response; /** * Created by amitshekhar on 22/08/16. */ public interface OkHttpResponseListener { void onResponse(Response response); void onError(ANError anError); } ```
The Bare-fronted Hoodwink (Dissimulatrix spuria) was a hoax and satirical wastebasket species of bird created by ornithologist M.F.M. Meiklejohn. The Hoodwink has the ability to be "almost seen" or "almost captured". Bird watchers can easily identify this bird by its "blurred appearance and extremely rapid flight away from the observer." Meiklejohn claimed that the single species could easily account for every bird not completely sighted. Birdwatchers added this species to their list of birds to watch for, and amateurs seemed to sight the Hoodwink more often. On April 1, 1975, the bird was put on display at the Royal Scottish Museum at Edinburgh. The exhibit also included photos of blurry birds flying away. The bird was created using the head of a carrion crow, the body of a plover, and the feet of an unknown waterfowl. The bare front appeared to be wax. Meiklejohn's paper was published in the scientific journal Bird Notes in 1950. The paper was rather long and humorous, and he even claimed the genus to be descendant of an ancient species Paleodissimulatrix. References Journalistic hoaxes Fictional birds Hoaxes in the United Kingdom 1950 in biology 1950s hoaxes Hoaxes in science Birdwatching
Timeline January January 2 - A three-day battle on a mountain near Gimry in Dagestan between some 3,000 Russian troops and a group of estimated eight armed rebels left three servicemen dead and more than 10 wounded, with no rebel losses. January 5 - A series of incidents over the previous two days killed 14 Russian soldiers and three policemen and wounded 15 others in chechnya Chechnya. January 8 - Four to five rebels were killed when the federal and republican forces stormed and destroyed a building in Nazran, Ingushetia. January 15 - Four Russian commandos and six rebels were killed in a siege and police raid in Dagestan; two people were wounded and one militant captured. Chechen rebel leader Aslan Maskhadov issued a special order to stop all offensive operations both inside and outside Chechnya until the end of February as a gesture of goodwill. January 25 - Seven Russian soldiers were killed and 11 wounded in attacks and explosions across Chechnya. January 27 - Seven people, including three women, died in the shoot-out between the Russian security forces and suspected Islamic militants in Nalchik, Kabardino-Balkaria. Russian military spokesman said that a "terrorist base" was destroyed and six militants, including two "Arab mercenaries," were killed in southeastern Chechnya. A local rebel leader was also killed in Grozny, while another militant was captured. January 29 - Nine Chechen presidential guards or Russian federal troops (conflicting reports) were killed by a series of remote-controlled landmine explosions on the Caucasus federal highway near the villages of Alkhan-Kala. February February 1 - Three Russian servicemen were killed and one wounded in an attack near on a mountain road near the village of Gorgachi, while two militants were killed in Grozny. February 2 - The rebels ambushed motorcade of Major-General Magomed Omarov, Dagestan's deputy interior minister, and killed him in the shoot-out in capital Makhachkala. February 19 - A spokesman for the Russian Army said Yunadi Turchayev, the alleged amir of Grozny responsible for operations in and around the Chechen capital, and an unspecified number of his men were killed in a shootout in Grozny. February 20 - Three guerrillas were killed and five suspects detained during a two-day operation by security forces in an apartment building in Nalchik, Kabardino-Balkaria. February 21 - Nine Russian reconnaissance soldiers were killed in a blast in the village of Prigorodnoye on the outskirts of Grozny. While official sources attributed the incident to a battle with Chechen guerrillas, who at the time announced a unilateral ceasefire, Russian newspaper Novaya Gazeta wrote that some of the soldiers were drunk and one of them fired a grenade launcher in an abandoned factory. March March 8 - Chechen separatist President Aslan Maskhadov was killed and several of his associates captured in Tolstoy-Yurt. March 10 - A Mi-8 helicopter belonging to the FSB was brought down by gunfire killing 15 servicemen, including spetsnaz operatives. March 13 - Reported death of Khanpasha Movsarov, alleged imam of the militant group in Grozny and coordinator of rebel operations in the capital. March 22 - A Mi-8 helicopter of the Russian Interior Ministry crashed near the village of Oktyabrskoye. Two people died in the hospital, according to Russian sources. March 23 - Chechen rebel field commander Rizvan Chitigov was killed by Chechen police forces in Shalinsky District. On the same day, police Lieutenant-Colonel Movsredin Kantayev, the head of an operational-investigative bureau of the Russian Interior Ministry, was found shot dead near the village of Petropavlovskaya. April April 5 - Two guerrillas and a small child were killed in an operation carried out by Dagestani and Chechen security forces in the Dagestani town of Khasavyurt. April 15 - A fierce skirmish took place between Chechen guerrillas and Russian elite forces in Grozny's Leninsky city district. Reportedly six Chechen fighters from Doku Umarov's group were killed, while five spetsnaz soldiers were killed and two seriously wounded. There were some civilian casualties. April 20 - Federal forces and Chechen and Dagestani police conducted a joint operation in the Dagestani village of Batash, killing three alleged guerrillas. April 29 - Four guerrillas were killed in a shoot-out in Nalchik, Kabardino-Balkaria. May May 15 - During a raid in a suburb of Grozny, Russian forces killed four militants, including Vakha Arsanov, former vice president of the Maskhadov's government. Also on same day, the Chechen guerrilla commander Danilbek Eskiyev was killed in the village of Gerzel in Gudermessky District, and six local guerrillas were killed in an overnight police operation in an apartment building in Cherkessk, capital of the Karachay–Cherkessia. May 17 - Senior insurgent leader Alash Daudov and three associates were killed by the FSB spetsnaz in Grozny. On the same day the Special Forces also announced the killing of Rasul Tambulatov, militant commander for Chechnya's Shelkovsky District, and the capture of five of his associates who they said were bomb specialists. May 23 - Two powerful roadside bombs blasted a column of the MVD troops, wounding 13 servicemen including two top commanders. During a search for the attackers a reconnaissance unit soldier was blown up by a mine in the nearby forest. June June 9 - Seven policemen from the Russian region of Tver deployed in Chechnya were killed when guerrillas ambushed their vehicle on the Kurchaloy-Avtury road. June 28 - Magomedzagid Varisov, a political scientist and journalist, was killed near his home in Makhachkala. He "had received threats, was being followed and had unsuccessfully sought help from the local police" according to Committee to Protect Journalists who largely condemned the killing. July July 1 - Eleven members of the elite Russian MVD Rus battalion were killed and twenty other wounded in the bomb attack in Makhachkala, Dagestan. July 4 - an attack by the Chechen rebel fighters armed with assault rifles, grenade launchers and rocket propelled grenades on a motorized column of the GRU Spetsnaz 16th Brigade from Tambov, composed of several trucks and one armoured personnel carrier killed at least six to seven servicemen and wounding as many as 12 to 20 others, according to the Russian sources. July 5 - Six Russian soldiers were killed and at least 10 to 25 others injured when gunmen attacked a military convoy in the Shali district of Chechnya. Pro-rebel web sites claimed more than 20 soldiers were killed. July 10 - At least one Interior Ministry serviceman was killed and nine were wounded in a grenade and gun attack on their vehicles in Grozny's Staropromyslovsky district (the rebels had claimed that 15-20 Russian servicemen were killed in the incident). A local policeman was shot dead in the Chechen village of Kargalinskaya. July 11 - Sharia Jamaat, the main Dagestani rebel group, confirmed the death of its commander, Rasul Makasharipov. 10 policemen were killed and 14 injured in attacks and a mine blast in Chechnya. July 16 - A military Mi-8 helicopter crashed in the highland Chechnya, killing eight servicemen. July 19 - Eleven policemen, a local FSB agent and three civilians were killed when a booby-trapped police vehicle was blown up in the northwestern Chechen village of Znamenskoye. Nearly thirty others were injured. The initial firefight was designed to draw more policemen to the scene and maximise casualties with an explosion. August August 7 - Nine Russian soldiers were killed and nine more wounded in weekend clashes. August 14 - Colonel Aleksandr Kayak, the commander of the Urus-Martan area, his deputy, Lt.-Col. Sergey Donets, and three other soldiers were killed in a land mine explosion, when the Russian troops came to the aid of a local official whose home was under attack. August 25 - Dagestani Prime Minister Ibragim Malsagov was wounded in a double bomb attack on his motorcade in Nazran which killed his driver and wounded his bodyguard. August 25 - Six Russian soldiers had been killed and six wounded in the attacks and mine blast. Five Chechen policemen were also wounded, and one rebel was killed and another captured. August 30 - Three servicemen, including a Russian bomb expert, were killed and seven others wounded in a series of rebel attacks and mine blasts. September September 2 - One killed and nine injured in a bomb attack on the military patrol in Makhachkala, the capital Dagestan. September 4 - Russian military said two rebels were killed and three soldiers wounded in a fight in Vedenski District. One servicemen was killed and eight wounded in three clashes in Chechnya. Three rebels were also captured. September 7 - Rebel commander Magomed Vagapov and two other guerrillas reportedly killed in Chechnya. In Dagestan three police officers were shot dead at a checkpoint on a road leading to Makhachkala. September 12 - Akhmed Avtorkhanov, former head of security for Ichkerian President Aslan Maskhadov, was killed in Chechnya. September 14 - Chechen police and guerrillas clashed in the town of Argun, with several dead on both sides including Shamil Muskiyev, deputy leader of the Chechen resistance. About ten people, mostly officers, were wounded when guerrillas attacked the building of the Interior Ministry of the Chechen Republic in the center of Grozny. September 15 - A gun battle between local and Russian police and Chechen separatists barricaded in a building in Argun led to the deaths of five police officers and five rebels. Meanwhile, three other servicemen were killed and six injured in a separate attacks. September 17 - Seven policemen were killed and five wounded in Chechnya, five of them in fighting in the villages of Dargo and Tezin-Kala. September 18 - According to conflicting reports, one to 11 servicemen were killed and up to 12 others wounded in Chechnya. September 20 - Three policemen were shot dead in the village of Karabulak, Ingushetia. September 24 - Six Russian soldiers and one Chechen policeman were killed and 11 others wounded in Chechnya in the previous 24 hours. September 26 - Nine Russian soldiers died in Chechnya, mostly fighting militants near the village of Bugovroi. September 29 - Two policemen and two children were shot dead in an attack by unknown perpetrators in Grozny. October October 9 - Chechen guerrilla commander Ruslan Nasipov and one of his men were killed in Grozny. Four guerrillas and two policemen were killed in a clash in Makhachkala, Dagestan, Russian sources reported. October 13 - Large group of mostly-local militants attack Nalchik, the capital of Kabardino-Balkaria. More than 100 people, including at least 14 civilians and 35 policemen, were reported to have been killed and many were wounded. October 20 - Unknown militants attempted to assassinate Ibragim Temirbayev, the mayor of Argun, injuring four of his bodyguards. November November 2–4 - Five policemen and a local FSB agent were shot dead in six separate gun attacks in Nazran, Ingushetia. Three servicemen were killed and three wounded in Chechnya, while a Chechen rebel was also captured and an alleged Dagestani rebel killed in Khasavyurt. December December 16 - Saudi Arabia-born "Imam of the Chechen mujahideen" Abu Omar al-Saif was announced killed having been in November in Dagestan. References 2005 in Russia Conflicts in 2005 Second Chechen War Chechen War
```makefile PKG_NAME="glib" PKG_VERSION="2.76.1" PKG_SHA256=your_sha256_hash PKG_LICENSE="LGPL" PKG_SITE="path_to_url" PKG_URL="path_to_url{PKG_NAME}-${PKG_VERSION}.tar.xz" PKG_DEPENDS_HOST="libffi:host pcre2:host Python3:host meson:host ninja:host" PKG_DEPENDS_TARGET="toolchain pcre2 zlib libffi Python3:host util-linux" PKG_LONGDESC="A library which includes support routines for C such as lists, trees, hashes, memory allocation." PKG_MESON_OPTS_HOST="-Ddefault_library=static \ -Dinstalled_tests=false \ -Dlibmount=disabled \ -Dtests=false" PKG_MESON_OPTS_TARGET="-Ddefault_library=shared \ -Dinstalled_tests=false \ -Dselinux=disabled \ -Dxattr=true \ -Dgtk_doc=false \ -Dman=false \ -Ddtrace=false \ -Dsystemtap=false \ -Dbsymbolic_functions=true \ -Dforce_posix_threads=true \ -Dtests=false" post_makeinstall_target() { rm -rf ${INSTALL}/usr/bin rm -rf ${INSTALL}/usr/lib/gdbus-2.0 rm -rf ${INSTALL}/usr/lib/glib-2.0 rm -rf ${INSTALL}/usr/lib/installed-tests rm -rf ${INSTALL}/usr/share } ```
```go // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT. // Package batchiface provides an interface to enable mocking the AWS Batch service client // for testing your code. // // It is important to note that this interface will have breaking changes // when the service model is updated and adds new API operations, paginators, // and waiters. package batchiface import ( "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/aws/request" "github.com/aws/aws-sdk-go/service/batch" ) // BatchAPI provides an interface to enable mocking the // batch.Batch service client's API operation, // paginators, and waiters. This make unit testing your code that calls out // to the SDK's service client's calls easier. // // The best way to use this interface is so the SDK's service client's calls // can be stubbed out for unit testing your code with the SDK without needing // to inject custom request handlers into the SDK's request pipeline. // // // myFunc uses an SDK service client to make a request to // // AWS Batch. // func myFunc(svc batchiface.BatchAPI) bool { // // Make svc.CancelJob request // } // // func main() { // sess := session.New() // svc := batch.New(sess) // // myFunc(svc) // } // // In your _test.go file: // // // Define a mock struct to be used in your unit tests of myFunc. // type mockBatchClient struct { // batchiface.BatchAPI // } // func (m *mockBatchClient) CancelJob(input *batch.CancelJobInput) (*batch.CancelJobOutput, error) { // // mock response/functionality // } // // func TestMyFunc(t *testing.T) { // // Setup Test // mockSvc := &mockBatchClient{} // // myfunc(mockSvc) // // // Verify myFunc's functionality // } // // It is important to note that this interface will have breaking changes // when the service model is updated and adds new API operations, paginators, // and waiters. Its suggested to use the pattern above for testing, or using // tooling to generate mocks to satisfy the interfaces. type BatchAPI interface { CancelJob(*batch.CancelJobInput) (*batch.CancelJobOutput, error) CancelJobWithContext(aws.Context, *batch.CancelJobInput, ...request.Option) (*batch.CancelJobOutput, error) CancelJobRequest(*batch.CancelJobInput) (*request.Request, *batch.CancelJobOutput) CreateComputeEnvironment(*batch.CreateComputeEnvironmentInput) (*batch.CreateComputeEnvironmentOutput, error) CreateComputeEnvironmentWithContext(aws.Context, *batch.CreateComputeEnvironmentInput, ...request.Option) (*batch.CreateComputeEnvironmentOutput, error) CreateComputeEnvironmentRequest(*batch.CreateComputeEnvironmentInput) (*request.Request, *batch.CreateComputeEnvironmentOutput) CreateJobQueue(*batch.CreateJobQueueInput) (*batch.CreateJobQueueOutput, error) CreateJobQueueWithContext(aws.Context, *batch.CreateJobQueueInput, ...request.Option) (*batch.CreateJobQueueOutput, error) CreateJobQueueRequest(*batch.CreateJobQueueInput) (*request.Request, *batch.CreateJobQueueOutput) CreateSchedulingPolicy(*batch.CreateSchedulingPolicyInput) (*batch.CreateSchedulingPolicyOutput, error) CreateSchedulingPolicyWithContext(aws.Context, *batch.CreateSchedulingPolicyInput, ...request.Option) (*batch.CreateSchedulingPolicyOutput, error) CreateSchedulingPolicyRequest(*batch.CreateSchedulingPolicyInput) (*request.Request, *batch.CreateSchedulingPolicyOutput) DeleteComputeEnvironment(*batch.DeleteComputeEnvironmentInput) (*batch.DeleteComputeEnvironmentOutput, error) DeleteComputeEnvironmentWithContext(aws.Context, *batch.DeleteComputeEnvironmentInput, ...request.Option) (*batch.DeleteComputeEnvironmentOutput, error) DeleteComputeEnvironmentRequest(*batch.DeleteComputeEnvironmentInput) (*request.Request, *batch.DeleteComputeEnvironmentOutput) DeleteJobQueue(*batch.DeleteJobQueueInput) (*batch.DeleteJobQueueOutput, error) DeleteJobQueueWithContext(aws.Context, *batch.DeleteJobQueueInput, ...request.Option) (*batch.DeleteJobQueueOutput, error) DeleteJobQueueRequest(*batch.DeleteJobQueueInput) (*request.Request, *batch.DeleteJobQueueOutput) DeleteSchedulingPolicy(*batch.DeleteSchedulingPolicyInput) (*batch.DeleteSchedulingPolicyOutput, error) DeleteSchedulingPolicyWithContext(aws.Context, *batch.DeleteSchedulingPolicyInput, ...request.Option) (*batch.DeleteSchedulingPolicyOutput, error) DeleteSchedulingPolicyRequest(*batch.DeleteSchedulingPolicyInput) (*request.Request, *batch.DeleteSchedulingPolicyOutput) DeregisterJobDefinition(*batch.DeregisterJobDefinitionInput) (*batch.DeregisterJobDefinitionOutput, error) DeregisterJobDefinitionWithContext(aws.Context, *batch.DeregisterJobDefinitionInput, ...request.Option) (*batch.DeregisterJobDefinitionOutput, error) DeregisterJobDefinitionRequest(*batch.DeregisterJobDefinitionInput) (*request.Request, *batch.DeregisterJobDefinitionOutput) DescribeComputeEnvironments(*batch.DescribeComputeEnvironmentsInput) (*batch.DescribeComputeEnvironmentsOutput, error) DescribeComputeEnvironmentsWithContext(aws.Context, *batch.DescribeComputeEnvironmentsInput, ...request.Option) (*batch.DescribeComputeEnvironmentsOutput, error) DescribeComputeEnvironmentsRequest(*batch.DescribeComputeEnvironmentsInput) (*request.Request, *batch.DescribeComputeEnvironmentsOutput) DescribeComputeEnvironmentsPages(*batch.DescribeComputeEnvironmentsInput, func(*batch.DescribeComputeEnvironmentsOutput, bool) bool) error DescribeComputeEnvironmentsPagesWithContext(aws.Context, *batch.DescribeComputeEnvironmentsInput, func(*batch.DescribeComputeEnvironmentsOutput, bool) bool, ...request.Option) error DescribeJobDefinitions(*batch.DescribeJobDefinitionsInput) (*batch.DescribeJobDefinitionsOutput, error) DescribeJobDefinitionsWithContext(aws.Context, *batch.DescribeJobDefinitionsInput, ...request.Option) (*batch.DescribeJobDefinitionsOutput, error) DescribeJobDefinitionsRequest(*batch.DescribeJobDefinitionsInput) (*request.Request, *batch.DescribeJobDefinitionsOutput) DescribeJobDefinitionsPages(*batch.DescribeJobDefinitionsInput, func(*batch.DescribeJobDefinitionsOutput, bool) bool) error DescribeJobDefinitionsPagesWithContext(aws.Context, *batch.DescribeJobDefinitionsInput, func(*batch.DescribeJobDefinitionsOutput, bool) bool, ...request.Option) error DescribeJobQueues(*batch.DescribeJobQueuesInput) (*batch.DescribeJobQueuesOutput, error) DescribeJobQueuesWithContext(aws.Context, *batch.DescribeJobQueuesInput, ...request.Option) (*batch.DescribeJobQueuesOutput, error) DescribeJobQueuesRequest(*batch.DescribeJobQueuesInput) (*request.Request, *batch.DescribeJobQueuesOutput) DescribeJobQueuesPages(*batch.DescribeJobQueuesInput, func(*batch.DescribeJobQueuesOutput, bool) bool) error DescribeJobQueuesPagesWithContext(aws.Context, *batch.DescribeJobQueuesInput, func(*batch.DescribeJobQueuesOutput, bool) bool, ...request.Option) error DescribeJobs(*batch.DescribeJobsInput) (*batch.DescribeJobsOutput, error) DescribeJobsWithContext(aws.Context, *batch.DescribeJobsInput, ...request.Option) (*batch.DescribeJobsOutput, error) DescribeJobsRequest(*batch.DescribeJobsInput) (*request.Request, *batch.DescribeJobsOutput) DescribeSchedulingPolicies(*batch.DescribeSchedulingPoliciesInput) (*batch.DescribeSchedulingPoliciesOutput, error) DescribeSchedulingPoliciesWithContext(aws.Context, *batch.DescribeSchedulingPoliciesInput, ...request.Option) (*batch.DescribeSchedulingPoliciesOutput, error) DescribeSchedulingPoliciesRequest(*batch.DescribeSchedulingPoliciesInput) (*request.Request, *batch.DescribeSchedulingPoliciesOutput) ListJobs(*batch.ListJobsInput) (*batch.ListJobsOutput, error) ListJobsWithContext(aws.Context, *batch.ListJobsInput, ...request.Option) (*batch.ListJobsOutput, error) ListJobsRequest(*batch.ListJobsInput) (*request.Request, *batch.ListJobsOutput) ListJobsPages(*batch.ListJobsInput, func(*batch.ListJobsOutput, bool) bool) error ListJobsPagesWithContext(aws.Context, *batch.ListJobsInput, func(*batch.ListJobsOutput, bool) bool, ...request.Option) error ListSchedulingPolicies(*batch.ListSchedulingPoliciesInput) (*batch.ListSchedulingPoliciesOutput, error) ListSchedulingPoliciesWithContext(aws.Context, *batch.ListSchedulingPoliciesInput, ...request.Option) (*batch.ListSchedulingPoliciesOutput, error) ListSchedulingPoliciesRequest(*batch.ListSchedulingPoliciesInput) (*request.Request, *batch.ListSchedulingPoliciesOutput) ListSchedulingPoliciesPages(*batch.ListSchedulingPoliciesInput, func(*batch.ListSchedulingPoliciesOutput, bool) bool) error ListSchedulingPoliciesPagesWithContext(aws.Context, *batch.ListSchedulingPoliciesInput, func(*batch.ListSchedulingPoliciesOutput, bool) bool, ...request.Option) error ListTagsForResource(*batch.ListTagsForResourceInput) (*batch.ListTagsForResourceOutput, error) ListTagsForResourceWithContext(aws.Context, *batch.ListTagsForResourceInput, ...request.Option) (*batch.ListTagsForResourceOutput, error) ListTagsForResourceRequest(*batch.ListTagsForResourceInput) (*request.Request, *batch.ListTagsForResourceOutput) RegisterJobDefinition(*batch.RegisterJobDefinitionInput) (*batch.RegisterJobDefinitionOutput, error) RegisterJobDefinitionWithContext(aws.Context, *batch.RegisterJobDefinitionInput, ...request.Option) (*batch.RegisterJobDefinitionOutput, error) RegisterJobDefinitionRequest(*batch.RegisterJobDefinitionInput) (*request.Request, *batch.RegisterJobDefinitionOutput) SubmitJob(*batch.SubmitJobInput) (*batch.SubmitJobOutput, error) SubmitJobWithContext(aws.Context, *batch.SubmitJobInput, ...request.Option) (*batch.SubmitJobOutput, error) SubmitJobRequest(*batch.SubmitJobInput) (*request.Request, *batch.SubmitJobOutput) TagResource(*batch.TagResourceInput) (*batch.TagResourceOutput, error) TagResourceWithContext(aws.Context, *batch.TagResourceInput, ...request.Option) (*batch.TagResourceOutput, error) TagResourceRequest(*batch.TagResourceInput) (*request.Request, *batch.TagResourceOutput) TerminateJob(*batch.TerminateJobInput) (*batch.TerminateJobOutput, error) TerminateJobWithContext(aws.Context, *batch.TerminateJobInput, ...request.Option) (*batch.TerminateJobOutput, error) TerminateJobRequest(*batch.TerminateJobInput) (*request.Request, *batch.TerminateJobOutput) UntagResource(*batch.UntagResourceInput) (*batch.UntagResourceOutput, error) UntagResourceWithContext(aws.Context, *batch.UntagResourceInput, ...request.Option) (*batch.UntagResourceOutput, error) UntagResourceRequest(*batch.UntagResourceInput) (*request.Request, *batch.UntagResourceOutput) UpdateComputeEnvironment(*batch.UpdateComputeEnvironmentInput) (*batch.UpdateComputeEnvironmentOutput, error) UpdateComputeEnvironmentWithContext(aws.Context, *batch.UpdateComputeEnvironmentInput, ...request.Option) (*batch.UpdateComputeEnvironmentOutput, error) UpdateComputeEnvironmentRequest(*batch.UpdateComputeEnvironmentInput) (*request.Request, *batch.UpdateComputeEnvironmentOutput) UpdateJobQueue(*batch.UpdateJobQueueInput) (*batch.UpdateJobQueueOutput, error) UpdateJobQueueWithContext(aws.Context, *batch.UpdateJobQueueInput, ...request.Option) (*batch.UpdateJobQueueOutput, error) UpdateJobQueueRequest(*batch.UpdateJobQueueInput) (*request.Request, *batch.UpdateJobQueueOutput) UpdateSchedulingPolicy(*batch.UpdateSchedulingPolicyInput) (*batch.UpdateSchedulingPolicyOutput, error) UpdateSchedulingPolicyWithContext(aws.Context, *batch.UpdateSchedulingPolicyInput, ...request.Option) (*batch.UpdateSchedulingPolicyOutput, error) UpdateSchedulingPolicyRequest(*batch.UpdateSchedulingPolicyInput) (*request.Request, *batch.UpdateSchedulingPolicyOutput) } var _ BatchAPI = (*batch.Batch)(nil) ```
```smalltalk using System; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using Steamworks.Data; namespace Steamworks { internal unsafe partial class ISteamGameSearch : SteamInterface { internal ISteamGameSearch( bool IsGameServer ) { SetupInterface( IsGameServer ); } [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_SteamGameSearch_v001", CallingConvention = Platform.CC)] internal static extern IntPtr SteamAPI_SteamGameSearch_v001(); public override IntPtr GetUserInterfacePointer() => SteamAPI_SteamGameSearch_v001(); #region FunctionMeta [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamGameSearch_AddGameSearchParams", CallingConvention = Platform.CC)] private static extern GameSearchErrorCode_t _AddGameSearchParams( IntPtr self, [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchKeyToFind, [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchValuesToFind ); #endregion internal GameSearchErrorCode_t AddGameSearchParams( [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchKeyToFind, [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchValuesToFind ) { var returnValue = _AddGameSearchParams( Self, pchKeyToFind, pchValuesToFind ); return returnValue; } #region FunctionMeta [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamGameSearch_SearchForGameWithLobby", CallingConvention = Platform.CC)] private static extern GameSearchErrorCode_t _SearchForGameWithLobby( IntPtr self, SteamId steamIDLobby, int nPlayerMin, int nPlayerMax ); #endregion internal GameSearchErrorCode_t SearchForGameWithLobby( SteamId steamIDLobby, int nPlayerMin, int nPlayerMax ) { var returnValue = _SearchForGameWithLobby( Self, steamIDLobby, nPlayerMin, nPlayerMax ); return returnValue; } #region FunctionMeta [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamGameSearch_SearchForGameSolo", CallingConvention = Platform.CC)] private static extern GameSearchErrorCode_t _SearchForGameSolo( IntPtr self, int nPlayerMin, int nPlayerMax ); #endregion internal GameSearchErrorCode_t SearchForGameSolo( int nPlayerMin, int nPlayerMax ) { var returnValue = _SearchForGameSolo( Self, nPlayerMin, nPlayerMax ); return returnValue; } #region FunctionMeta [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamGameSearch_AcceptGame", CallingConvention = Platform.CC)] private static extern GameSearchErrorCode_t _AcceptGame( IntPtr self ); #endregion internal GameSearchErrorCode_t AcceptGame() { var returnValue = _AcceptGame( Self ); return returnValue; } #region FunctionMeta [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamGameSearch_DeclineGame", CallingConvention = Platform.CC)] private static extern GameSearchErrorCode_t _DeclineGame( IntPtr self ); #endregion internal GameSearchErrorCode_t DeclineGame() { var returnValue = _DeclineGame( Self ); return returnValue; } #region FunctionMeta [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamGameSearch_RetrieveConnectionDetails", CallingConvention = Platform.CC)] private static extern GameSearchErrorCode_t _RetrieveConnectionDetails( IntPtr self, SteamId steamIDHost, IntPtr pchConnectionDetails, int cubConnectionDetails ); #endregion internal GameSearchErrorCode_t RetrieveConnectionDetails( SteamId steamIDHost, out string pchConnectionDetails ) { using var mempchConnectionDetails = Helpers.TakeMemory(); var returnValue = _RetrieveConnectionDetails( Self, steamIDHost, mempchConnectionDetails, (1024 * 32) ); pchConnectionDetails = Helpers.MemoryToString( mempchConnectionDetails ); return returnValue; } #region FunctionMeta [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamGameSearch_EndGameSearch", CallingConvention = Platform.CC)] private static extern GameSearchErrorCode_t _EndGameSearch( IntPtr self ); #endregion internal GameSearchErrorCode_t EndGameSearch() { var returnValue = _EndGameSearch( Self ); return returnValue; } #region FunctionMeta [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamGameSearch_SetGameHostParams", CallingConvention = Platform.CC)] private static extern GameSearchErrorCode_t _SetGameHostParams( IntPtr self, [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchKey, [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchValue ); #endregion internal GameSearchErrorCode_t SetGameHostParams( [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchKey, [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchValue ) { var returnValue = _SetGameHostParams( Self, pchKey, pchValue ); return returnValue; } #region FunctionMeta [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamGameSearch_SetConnectionDetails", CallingConvention = Platform.CC)] private static extern GameSearchErrorCode_t _SetConnectionDetails( IntPtr self, [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchConnectionDetails, int cubConnectionDetails ); #endregion internal GameSearchErrorCode_t SetConnectionDetails( [MarshalAs( UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof( Utf8StringToNative ) )] string pchConnectionDetails, int cubConnectionDetails ) { var returnValue = _SetConnectionDetails( Self, pchConnectionDetails, cubConnectionDetails ); return returnValue; } #region FunctionMeta [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamGameSearch_RequestPlayersForGame", CallingConvention = Platform.CC)] private static extern GameSearchErrorCode_t _RequestPlayersForGame( IntPtr self, int nPlayerMin, int nPlayerMax, int nMaxTeamSize ); #endregion internal GameSearchErrorCode_t RequestPlayersForGame( int nPlayerMin, int nPlayerMax, int nMaxTeamSize ) { var returnValue = _RequestPlayersForGame( Self, nPlayerMin, nPlayerMax, nMaxTeamSize ); return returnValue; } #region FunctionMeta [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamGameSearch_HostConfirmGameStart", CallingConvention = Platform.CC)] private static extern GameSearchErrorCode_t _HostConfirmGameStart( IntPtr self, ulong ullUniqueGameID ); #endregion internal GameSearchErrorCode_t HostConfirmGameStart( ulong ullUniqueGameID ) { var returnValue = _HostConfirmGameStart( Self, ullUniqueGameID ); return returnValue; } #region FunctionMeta [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamGameSearch_CancelRequestPlayersForGame", CallingConvention = Platform.CC)] private static extern GameSearchErrorCode_t _CancelRequestPlayersForGame( IntPtr self ); #endregion internal GameSearchErrorCode_t CancelRequestPlayersForGame() { var returnValue = _CancelRequestPlayersForGame( Self ); return returnValue; } #region FunctionMeta [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamGameSearch_SubmitPlayerResult", CallingConvention = Platform.CC)] private static extern GameSearchErrorCode_t _SubmitPlayerResult( IntPtr self, ulong ullUniqueGameID, SteamId steamIDPlayer, PlayerResult_t EPlayerResult ); #endregion internal GameSearchErrorCode_t SubmitPlayerResult( ulong ullUniqueGameID, SteamId steamIDPlayer, PlayerResult_t EPlayerResult ) { var returnValue = _SubmitPlayerResult( Self, ullUniqueGameID, steamIDPlayer, EPlayerResult ); return returnValue; } #region FunctionMeta [DllImport( Platform.LibraryName, EntryPoint = "SteamAPI_ISteamGameSearch_EndGame", CallingConvention = Platform.CC)] private static extern GameSearchErrorCode_t _EndGame( IntPtr self, ulong ullUniqueGameID ); #endregion internal GameSearchErrorCode_t EndGame( ulong ullUniqueGameID ) { var returnValue = _EndGame( Self, ullUniqueGameID ); return returnValue; } } } ```
```go // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // +build ignore package main import ( "bytes" "encoding/json" "fmt" "log" "strings" "golang.org/x/text/internal/gen" ) type group struct { Encodings []struct { Labels []string Name string } } func main() { gen.Init() r := gen.Open("path_to_url", "whatwg", "encodings.json") var groups []group if err := json.NewDecoder(r).Decode(&groups); err != nil { log.Fatalf("Error reading encodings.json: %v", err) } w := &bytes.Buffer{} fmt.Fprintln(w, "type htmlEncoding byte") fmt.Fprintln(w, "const (") for i, g := range groups { for _, e := range g.Encodings { key := strings.ToLower(e.Name) name := consts[key] if name == "" { log.Fatalf("No const defined for %s.", key) } if i == 0 { fmt.Fprintf(w, "%s htmlEncoding = iota\n", name) } else { fmt.Fprintf(w, "%s\n", name) } } } fmt.Fprintln(w, "numEncodings") fmt.Fprint(w, ")\n\n") fmt.Fprintln(w, "var canonical = [numEncodings]string{") for _, g := range groups { for _, e := range g.Encodings { fmt.Fprintf(w, "%q,\n", strings.ToLower(e.Name)) } } fmt.Fprint(w, "}\n\n") fmt.Fprintln(w, "var nameMap = map[string]htmlEncoding{") for _, g := range groups { for _, e := range g.Encodings { for _, l := range e.Labels { key := strings.ToLower(e.Name) name := consts[key] fmt.Fprintf(w, "%q: %s,\n", l, name) } } } fmt.Fprint(w, "}\n\n") var tags []string fmt.Fprintln(w, "var localeMap = []htmlEncoding{") for _, loc := range locales { tags = append(tags, loc.tag) fmt.Fprintf(w, "%s, // %s \n", consts[loc.name], loc.tag) } fmt.Fprint(w, "}\n\n") fmt.Fprintf(w, "const locales = %q\n", strings.Join(tags, " ")) gen.WriteGoFile("tables.go", "htmlindex", w.Bytes()) } // consts maps canonical encoding name to internal constant. var consts = map[string]string{ "utf-8": "utf8", "ibm866": "ibm866", "iso-8859-2": "iso8859_2", "iso-8859-3": "iso8859_3", "iso-8859-4": "iso8859_4", "iso-8859-5": "iso8859_5", "iso-8859-6": "iso8859_6", "iso-8859-7": "iso8859_7", "iso-8859-8": "iso8859_8", "iso-8859-8-i": "iso8859_8I", "iso-8859-10": "iso8859_10", "iso-8859-13": "iso8859_13", "iso-8859-14": "iso8859_14", "iso-8859-15": "iso8859_15", "iso-8859-16": "iso8859_16", "koi8-r": "koi8r", "koi8-u": "koi8u", "macintosh": "macintosh", "windows-874": "windows874", "windows-1250": "windows1250", "windows-1251": "windows1251", "windows-1252": "windows1252", "windows-1253": "windows1253", "windows-1254": "windows1254", "windows-1255": "windows1255", "windows-1256": "windows1256", "windows-1257": "windows1257", "windows-1258": "windows1258", "x-mac-cyrillic": "macintoshCyrillic", "gbk": "gbk", "gb18030": "gb18030", // "hz-gb-2312": "hzgb2312", // Was removed from WhatWG "big5": "big5", "euc-jp": "eucjp", "iso-2022-jp": "iso2022jp", "shift_jis": "shiftJIS", "euc-kr": "euckr", "replacement": "replacement", "utf-16be": "utf16be", "utf-16le": "utf16le", "x-user-defined": "xUserDefined", } // locales is taken from // path_to_url#encoding-sniffing-algorithm. var locales = []struct{ tag, name string }{ // The default value. Explicitly state latin to benefit from the exact // script option, while still making 1252 the default encoding for languages // written in Latin script. {"und_Latn", "windows-1252"}, {"ar", "windows-1256"}, {"ba", "windows-1251"}, {"be", "windows-1251"}, {"bg", "windows-1251"}, {"cs", "windows-1250"}, {"el", "iso-8859-7"}, {"et", "windows-1257"}, {"fa", "windows-1256"}, {"he", "windows-1255"}, {"hr", "windows-1250"}, {"hu", "iso-8859-2"}, {"ja", "shift_jis"}, {"kk", "windows-1251"}, {"ko", "euc-kr"}, {"ku", "windows-1254"}, {"ky", "windows-1251"}, {"lt", "windows-1257"}, {"lv", "windows-1257"}, {"mk", "windows-1251"}, {"pl", "iso-8859-2"}, {"ru", "windows-1251"}, {"sah", "windows-1251"}, {"sk", "windows-1250"}, {"sl", "iso-8859-2"}, {"sr", "windows-1251"}, {"tg", "windows-1251"}, {"th", "windows-874"}, {"tr", "windows-1254"}, {"tt", "windows-1251"}, {"uk", "windows-1251"}, {"vi", "windows-1258"}, {"zh-hans", "gb18030"}, {"zh-hant", "big5"}, } ```
```smalltalk using System; using Xamarin.Forms.Xaml; namespace Xamarin.Forms.Controls { [XamlCompilation(XamlCompilationOptions.Compile)] public partial class ButtonBorderBackgroundGalleryPage : ContentPage { public ButtonBorderBackgroundGalleryPage() : this(VisualMarker.MatchParent) { } public ButtonBorderBackgroundGalleryPage(IVisual visual) { InitializeComponent(); Visual = visual; // buttons are transparent on default iOS, so we have to give them something if (Device.RuntimePlatform == Device.iOS) { if (Visual != VisualMarker.Material) { SetBackground(Content); void SetBackground(View view) { if (view is Button button && !button.IsSet(Button.BackgroundColorProperty)) view.BackgroundColor = Color.LightGray; if (view is Layout layout) { foreach (var child in layout.Children) { if (child is View childView) SetBackground(childView); } } } } } } void HandleChecks_Clicked(object sender, System.EventArgs e) { var thisButton = sender as Button; var layout = thisButton.Parent as Layout; foreach (var child in layout.Children) { var button = child as Button; Console.WriteLine($"{button.Text} => {button.Bounds}"); } } } } ```
"Shopping while black" is a phrase used for the type of marketplace discrimination that is also called "consumer racial profiling", "consumer racism" or "racial profiling in a retail setting", as it applies to black people. Shopping while black is the experience of being denied service or given poor service because one is black. Overview "Shopping while black" involves a black person being followed around or closely monitored by a clerk or guard who suspects they may steal, but it can also involve being denied store access, being refused service, use of ethnic slurs, being searched, being asked for extra forms of identification, having purchases limited, being required to have a higher credit limit than other customers, being charged a higher price, or being asked more rigorous questions on applications. It could also mean a request for any item the store actually carries being denied with the store attendant claiming that the item does not exist or is not in stock. This can be the result of store policy, or individual employee prejudice. Consumer racial profiling occurs in many retail environments including grocery stores, clothing shops, department stores and office supply shops, and companies accused of consumer racial profiling have included Eddie Bauer, Office Max, Walmart, Sears, Dillard's, Macy's and Home Depot. Shopping while black is sometimes also called "shopping while black or brown", but researchers say black people are the most frequently targeted. Shopping while black has been extensively covered by American news media, including a hidden camera ABC News special in which actors posing as store staff harassed black customers to see how other shoppers would respond, and a Soledad O'Brien segment called "Shopping While Black", part of a CNN special on being black in America. It is usually assumed to occur mainly in the United States, but has also been reported in the United Kingdom, Canada, Switzerland, and the Netherlands. Derivation "Shopping while black" is related to driving while black; both phrases refer to racial profiling and mistreatment that may occur due to the subject being black. The concept stems from a history of institutional racism in the United States, United Kingdom and other countries, and relates to racial profiling. Incidents In 1995, a young black man shopping at an Eddie Bauer store in suburban Washington, D.C., was accused of having stolen the shirt he was wearing, and was told he would need to leave it behind before leaving the store. He filed a federal civil rights lawsuit alleging "consumer racism", and was awarded $1 million in damages. In 2000, a black man named Billy J. Mitchell was awarded $450,000 in compensatory and punitive damages from Dillard's, after being arrested despite having done nothing wrong. Also in 2000, a black woman unsuccessfully sued Citibank after she was detained for no good reason while making large purchases with her Citibank Visa card. In 2002, researchers who conducted in-depth interviews with 75 black people living in black neighborhoods in New York City and Philadelphia found that 35% reported receiving consistently negative treatment when shopping in white neighborhoods, compared with 9% who said they received consistently negative treatment in their own neighborhood. In his 2003 paper "Racial Profiling by Store Clerks and Security Personnel in Retail Establishments: An Exploration of 'Shopping While Black, criminologist Shaun L. Gabbidon wrote that the majority of false arrest complaints filed in a retail setting in the United States are filed by African-Americans. A 2006 analysis of federal court decisions involving marketplace discrimination in the state of Illinois found that both real and perceived racial discrimination existed in the Illinois marketplace. In 2014, Macy's agreed to pay a $650,000 settlement over claims it had racially profiled customers. In 2014, Barneys had agreed to a $250,000 settlement over a similar claim. Causes Some shopkeepers may be trying to minimize costs ("cost-based statistical discrimination"). In these cases, researchers describe the cause of racial profiling as "subconscious racism", with retailers making assumptions about their black clientele based on stereotypes that say blacks are likelier than others to commit crimes and to not be credit-worthy. Microaggressions Many black consumers experience microaggressions while shopping. Case Western Assistant Professor Cassi Pittman interviewed middle and working class black consumers in New York.  Out of the 55 interviewed for her research, 80% experienced microaggressions and stereotypes while shopping and 59% had been labeled as a shoplifter. Study participants mentioned that they were followed around the store, shown the sale section of a store without being prompted, ignored, or told the price of an expensive clothing item without being prompted. In a survey of white employees, it was determined that staff often rely on stereotypical profiles of black consumers when there is minimal anti-theft training. Continued black consumer microaggressions may affect the mental and emotional health of its victims.  Microaggressions can be subtle and unrecognizable for those not affected.  Those who have experienced consumer microaggressions may experience stress and feel inhuman, distressed and disrespected as well as questions one’s own perception of the event, having to repeatedly explain the scenario and the microaggressions and facing any legal implications. Professor Cassi Pittman has reported that Black consumers have developed strategies to mitigate consumer microaggressions including only shopping at particular stores, dressing in "professional" clothing to attract or avoid attention, only shopping online and boycotting stores in which they felt discrimination. Responses People who have experienced consumer racial profiling have described it as embarrassing, insulting, hurtful and frightening. Some black shoppers try to avoid racial discrimination either by avoiding white-owned businesses entirely or by deliberately dressing in a middle-class style. Because they are likelier to live and work in majority-white neighborhoods, middle-class black people experience more racial profiling than poorer black people. Responses to "shopping while black" treatment can be divided into the three categories of exit, voice and loyalty: shoppers can leave the store; complain, boycott or file a lawsuit; or accept the situation and continue shopping. Black people are likelier to launch a boycott against a shop-owner in a majority black neighborhood rather than a white one. Social psychologists Henri Tajfel and John Turner have described this as pragmatic and rational: a boycott is likelier to succeed in your own neighborhood, where other residents are likely to support you and where the shopkeeper's social status is similar to your own. In his 2001 book Stupid White Men, filmmaker and social critic Michael Moore advised black readers to shop via online stores and catalogues only, and said if they needed to shop in-person they should do it nude, otherwise they're "just asking to be arrested". In his TV show Father Figure, the actor and comedian Roy Wood Jr. explained about the habit among many black people when shopping of always, irrespective of the size of the purchase, asking for a bag and requesting that the receipt be stapled to the bag, so that security personnel can clearly see the purchase when leaving the store, and thus not suspect them of shoplifting. Celebrity instances In 1992, R&B singer-songwriter R. Kelly told Jet magazine that when he appeared at a Chicago shopping mall to sign autographs, "the security guards took one look at the way I was dressed and the fact that I am a young Black man and thought I was a shoplifter." In 2001, Oprah Winfrey told Good Housekeeping magazine about how she and a black companion were turned away from a store while white people were being allowed in, allegedly because she and her friend reminded the clerks of black transsexuals who had earlier tried to rob it. And in 2005, Winfrey was refused service at the Parisian luxury store Hermès as the store closed for the evening, in what her spokesperson described as "Oprah's Crash moment", a reference to the 2004 movie about racial and social tensions in Los Angeles. In 2013, a shop assistant in Zurich allegedly refused to show Winfrey a $38,000 crocodile skin Tom Ford handbag, allegedly saying it "cost too much and you will not be able to afford [it]." In the 2007 biography Condoleezza Rice: An American Life, author Elisabeth Bumiller describes two "shopping while black" type incidents: one when Rice was six and a department store clerk tried to keep her mother from using a whites-only fitting room, and another when Rice as an adult was shown cheap jewellery by a Palo Alto clerk, rather than the "better earrings" she had asked for. In Canada, speaking out in 2016 in response to a recent case of racial profiling in a retail setting, former Lieutenant Governor of Nova Scotia Mayann Francis, the first African Nova Scotian to serve as the province's chief executive and representative of the Queen, stated that she was the target of racial profiling while shopping at least once a month. See also Driving while black Running while black References Anti-black racism in the United States Consumer behaviour English phrases Snowclones Stereotypes of African Americans
Utpal Kumar Basu (উৎপল কুমার বসু) (3 August 1939 – 3 October 2015) was a Bengali poet and story teller. Life Born in Bhowanipore area of pre-independence Kolkata (1937), Utpal Kumar Basu spent his school days in Baharampur (Murshidabad, West Bengal) and Dinhata (Coochbehar, North Bengal). A geologist by education, Basu has traveled far and wide over the seas and years. An educationist by profession, Basu is recognized as a trend setter in modern Bengali Poetry. Utpal Kumar Basu was an eminent vernacular poet, educationist and translator. He began writing while studying at Scottish Church College and became a part of the Krittibash group of young Bengali poets. From the very first collection of poems entitled Chaitre Rochito Kobita -1956, he found a unique diction of language, expression and form for his poetry. He had chosen mysticism over sentimentalism, vivid objective observation over lyricism. After receiving his master's degree in geology from Presidency College he joined Ashutosh College as a lecturer where he met his future wife Santana, a lecturer in the English Department.(Santana was previously awarded the Indira Sinha Gold Medal for securing the highest aggregate of marks at the B.A, examination from Bihar University in 1955 among girl students.) Utpal left for England in the mid -sixties where he spent a decade as an educationist and associated himself with various socialist organisations. Returning to India in the late seventies he worked as a project officer for the University Grants Commission, an advisor and teacher at St Xavier's College in the field of Mass Communication. He died on 3 October 2015 in Kolkata. Critic Utpal Kumar Basu was a Bengali poet and story teller who started his literary journey in the city of Kolkata in 1950s. From the very first collection published (Chaitrye Rochito Kobita, 1956), he found a unique diction of language, expression and form for his poetry. He had chosen mysticism over sentimentalism, vivid objective observation over lyricism. Being a geologist by education he is known for his witty but meticulous approach towards the nature, objects and life, which may seem to be similar to that of a scientist. Second and third collection of poems by Utpal Kumar Basu, namely Puri Series (1964) and Abar Puri Series (1978) presented an astonishing new diction to Bengali literature, which are popularly referred to as Famous Travel Poetry Of Utpal. Be its form or content, uniqueness in those poems has created perhaps the most valuable impact on modern Bengali poetry over the years. In the decades to follow those two brief collections of poems by Basu have resulted in a turning point in contemporary Bengali poetry and it has been recognized as a benchmark by the younger generation of poets to follow. But Utpal Kumar Basu kept on experimenting with his form and language. According to him -"The evolution of form has to be rapid and continuous, whereas the concept evolves slowly, maybe once in a century.(ধূসর আতাগাছ )" Utpal Kumar Basu eventually met American poet Allen Ginsberg in Kolkata in the early sixties and both shared a great friendship. Basu connected himself with Hungry generation literary movement in 60s and was compelled to resign from his job as a lecturer in a Kolkata college. He traveled far and wide, over the seas and years in Europe doing some part-time jobs to survive. In England he associated himself with various socialist organizations. His poetry had to pause temporarily but only to find a new path to flow in the form of his famous "travel poems" and published a number of small, unassuming collections of poems with the lesser known Little Magazine publishing houses. At this time, he was also writing regularly on a variety of subjects for popular Bengali dailies including Aajkaal and AnandaBazar Patrika. Utpal spent nearly fourteen years in London 1964-77 and returned to Kolkata and joined Chitrabani-an organization closely linked to University Grants Commission and St. Xavier's College Kolkata. He was engaged in planning programmes and also conducting Mass Communication classes. He also translated works of such eminent writers as Ayappa Pannikar, Kamala Das and edited a translation of a collection of Mizo Poems and Songs for Sahitya Akademi. Translations of his poems have been published regularly in the London Magazine. Utpal Kumar Basu died on 3 October 2015 in Kolkata after a prolonged illness. He was survived by son Firoze, assistant professor (English) in the Department of Humanities, MCKV Institute of Engineering, Howrah, Kolkata. Santana, after long teaching stints in Spastic Society of Eastern India and St. Augustine Day School Kolkata, died in November 2018 after a brief illness. Utpal continues to be an inspiration for little magazine publishers and young poets of Bengal. Utpalkumar Basu has been awarded the Ananda Puraskar by the ABP group of publications in 2006 and the Rabindra Puraskar by the Paschim Banga Bangla Academy 2011 both for his collection of poems Sukh Dukhser Sathi. In 2014 he received the Sahitya Academy Award for his collection of poems entitled Piya Mana Bhabe. He was awarded the Sahitya Akademi Translation Prize 2018 for his translation into Bengali of Srimati Kamala Das's collection of poems entitled Only The Soul Knows How To Sing.(posthumous) Utpal Kumar Basu works Chaitrye Rochito Kobita (চৈত্রে রচিত কবিতা) [1956] Puri Series (পুরী সিরিজ) [1964] Narokhadok, collection of short stories (নরখাদক) [1970] Abar Puri Series (আবার পুরী সিরিজ) [1978] Lochondas Karigar(লোচনদাস কারিগর) [1982] Khandobaichitrer Din (খন্ডবৈচিত্র্যের দিন) [1986] Srestho kobita (শ্রেষ্ট কবিতা) [1991] Dhusar Atagach, collection of free prose (ধূসর আতাগাছ) [1994] Salma Jorir Kaaj (সলমা জরির কাজ) [1995] Kahabotir Nach (কহবতীর নাচ) [1996] Night School (নাইটস্কুল) [1998] Tusu Amar Chintamoni (তুসু আমার চিন্তামনি) Meenyuddha (মীনযুদ্ধ) Bokshigunje Padmapare (বক্সিগঞ্জে পদ্মাপাড়ে) Annadata Joseph (অন্নদাতা জোসেফ) Sukh Duhkher sathi (সুখদুঃখের সাথী) Translation from Safo [সাফোর কবিতা (অনুবাদ)] Collected poems (কবিতা সংগ্রহ) Collected prose (গদ্যসংগ্রহ) Bela Egarotar Rod Baba Bhoy Korche (বাবা ভয় করছে) Piya Mana Bhabe (poetry) [Won Sahitya Akademi Award, 2014] Hanscholar Path-Poetry, Long interview, Sketches (January-2015) Sadabrahmoman-collection of short stories, sketches and criticism-2015 Tokyo Laundry-collection of short stories, sketches and criticism-2016 Dear Sm-collection of personal letters written to wife Santana Basu-2016 Collected poems -2 (কবিতা সংগ্রহ)-2017 Saratsar-1-Poems and Prose -2017 Dhritiman Sen er Diary Prose Saptarshi Prakashan 2021 Lokomata Debi'r Kowotola-Humorous critical sketches of programs aired on Kolkata Doordarshan in the 1990s under a pen -name-Deys Publishing 2022 References 1939 births 2015 deaths Bengali Hindus Bengali poets Bengali male poets 20th-century Bengalis 21st-century Bengalis 20th-century Bengali poets 21st-century Bengali poets Indian poets Indian literary critics Indian male writers Indian male poets Indian translators 20th-century Indian writers 21st-century Indian male writers 20th-century Indian poets 21st-century Indian poets 21st-century Indian writers 20th-century Indian male writers 20th-century Indian translators 21st-century Indian translators Scottish Church College alumni University of Calcutta alumni Academic staff of the University of Calcutta Recipients of the Sahitya Akademi Prize for Translation Poets from West Bengal Writers from Kolkata People from Kolkata district
The Gloucestershire Northern Senior League is a football competition based in England founded in 1922. The league is affiliated to the Gloucestershire County FA. It has two divisions, Division One and Division Two, with Division One sitting at level 12 of the English football league system. This league is a feeder to the Gloucestershire County League. The Cheltenham League, Stroud and District League and North Gloucestershire League are feeders to the GNSL. In the 2018–19 season, Sharpness won the Division One title, while Woolaston were top of Division Two. History The league was formed in 1922 and the founder members included Cheltenham Town, Gloucester City and Forest Green Rovers. A number of clubs in the NSL have played in the Gloucestershire County League or higher but have dropped back into lower tier football. Notable clubs include: Harrow Hill joined the County League in 1982/83 and gained promotion to the Hellenic Football League. Stonehouse Town were original members of the County League and competed in the competition for 20 years until 1988. From 1947 until 1960 the club played in the Western Football League. Among the clubs that have left the Gloucestershire Northern Senior League and now compete at a higher level are: Bishop's Cleeve Brimscombe & Thrupp Cheltenham Town Cinderford Town Cirencester Town Forest Green Rovers Gloucester City Longlevens Lydney Town Newent Town Shortwood United Slimbridge Tuffley Rovers Champions Sources Members 2022–23 Source Division One Berkeley Town Bibury Bredon Brockworth Albion Chalford Charfield Cheltenham Athletic Dursley Town English Bicknor FC Lakeside Longlevens Reserves Lydney Town Reserves Smiths Barometrics Stonehouse Town Reserves Tewkesbury Town Tredworth Tigers Woolaston Division Two Barnwood United Charlton Rovers Cheltenham Civil Service Reserves Chesterton Falcons Frampton United Reserves Gala Wilton Reserves Harrow Hill Kings Stanley Leonard Stanley Lydbrook Athletic Mushet & Coalway United Rodborough Old Boys Staunton & Corse Viney St Swithins Whaddon United External links Official Website TheFA.com References Football leagues in England Football in Gloucestershire Sports leagues established in 1922 1922 establishments in England
```clojure (ns status-im.common.router (:require [bidi.bidi :as bidi] [clojure.string :as string] [legacy.status-im.ethereum.ens :as ens] [native-module.core :as native-module] [re-frame.core :as re-frame] [status-im.common.validation.general :as validators] [status-im.constants :as constants] [status-im.contexts.chat.events :as chat.events] [taoensso.timbre :as log] [utils.address :as address] [utils.ens.core :as utils.ens] [utils.ens.stateofus :as stateofus] [utils.ethereum.chain :as chain] [utils.ethereum.eip.eip681 :as eip681] [utils.security.core :as security] [utils.transforms :as transforms] [utils.url :as url])) (def ethereum-scheme "ethereum:") (def uri-schemes ["status-app://"]) (def web-prefixes ["https://" "http://" "path_to_url" "path_to_url"]) (def web2-domain "status.app") (def user-path "u#") (def user-with-data-path "u/") (def community-path "c#") (def community-with-data-path "c/") (def channel-path "cc/") (def web-urls (map #(str % web2-domain "/") web-prefixes)) (defn path-urls [path] (map #(str % path) web-urls)) (def handled-schemes (set (into uri-schemes web-urls))) (def group-chat-extractor {[#"(.*)" :params] {"" :group-chat "/" :group-chat}}) (def eip-extractor {#{[:prefix "-" :address] [:address]} {#{["@" :chain-id] ""} {#{["/" :function] ""} :ethereum}}}) (def routes ["" {handled-schemes {[community-with-data-path :community-data] :community [channel-path :community-data] :community-chat ["p/" :chat-id] :private-chat ["cr/" :community-id] :community-requests "g/" group-chat-extractor ["wallet/" :account] :wallet-account [user-with-data-path :user-data] :user "c" :community "u" :user} ethereum-scheme eip-extractor}]) (defn parse-query-params [url] (let [url (goog.Uri. url)] (url/query->map (.getQuery url)))) (defn parse-fragment [url] (let [url (goog.Uri. url) fragment (.getFragment url)] (when-not (string/blank? fragment) fragment))) (defn match-uri [uri] (let [;; bidi has trouble parse path with `=` in it extract `=` here and add back to parsed ;; base64url regex based on path_to_url#section-5 may ;; include invalid base64 (invalid length, length of any base64 encoded string must be a ;; multiple of 4) ;; equal-end-of-base64url can be `=`, `==`, `nil` equal-end-of-base64url (last (re-find #"^(https|status-app)://(status\.app/)?(c|cc|u)/([a-zA-Z0-9_-]+)(={0,2})#" uri)) uri-without-equal-in-path (if equal-end-of-base64url (string/replace-first uri equal-end-of-base64url "") uri) ;; fragment is the one after `#`, usually user-id, ens-name, community-id fragment (parse-fragment uri) ens? (utils.ens/is-valid-eth-name? fragment) compressed-key? (validators/valid-compressed-key? fragment) {:keys [handler route-params] :as parsed} (assoc (bidi/match-route routes uri-without-equal-in-path) :uri uri :query-params (parse-query-params uri))] (cond-> parsed ens? (assoc-in [:route-params :ens-name] fragment) (and (= handler :community) compressed-key?) (assoc-in [:route-params :community-id] fragment) (and equal-end-of-base64url (= handler :community) (:community-data route-params)) (update-in [:route-params :community-data] #(str % equal-end-of-base64url)) (and equal-end-of-base64url (= handler :community-chat) (:community-data route-params)) (update-in [:route-params :community-data] #(str % equal-end-of-base64url)) (and compressed-key? (= handler :community-chat) (:community-data route-params)) (assoc-in [:route-params :community-id] fragment) (and fragment (= handler :community-chat) (:community-data route-params) (string? (:community-data route-params)) (re-find constants/regx-starts-with-uuid (:community-data route-params))) (assoc-in [:route-params :community-channel-id] (:community-data route-params)) (and fragment (= handler :community-chat) (:community-data route-params) (string? (:community-data route-params)) (not (re-find constants/regx-starts-with-uuid (:community-data route-params)))) (assoc-in [:route-params :community-encoded-data?] true) (and equal-end-of-base64url (= handler :user) (:user-data route-params)) (update-in [:route-params :user-data] #(str % equal-end-of-base64url)) (and (= handler :user) compressed-key?) (assoc-in [:route-params :user-id] fragment)))) (defn match-contact-async [chain {:keys [user-id ens-name]} callback] (let [valid-public-key? (and (validators/valid-public-key? user-id) (not= user-id utils.ens/default-key)) valid-compressed-key? (validators/valid-compressed-key? user-id)] (cond valid-public-key? (callback {:type :contact :public-key user-id :ens-name ens-name}) valid-compressed-key? (native-module/compressed-key->public-key user-id constants/deserialization-key (fn [response] (let [{:keys [error]} (transforms/json->clj response)] (when-not error (match-contact-async chain {:user-id (str "0x" (subs response 5)) :ens-name ens-name} callback))))) (and (not valid-public-key?) (string? user-id) (not (string/blank? user-id)) (not= user-id "0x")) (let [chain-id (chain/chain-keyword->chain-id chain) ens-name (stateofus/ens-name-parse user-id) on-success #(match-contact-async chain {:user-id % :ens-name ens-name} callback)] (ens/pubkey chain-id ens-name on-success)) :else (callback {:type :contact :error :not-found})))) (defn match-group-chat [chats {:strs [a a1 a2]}] (let [[admin-pk encoded-chat-name chat-id] [a a1 a2] chat-id-parts (when (not (string/blank? chat-id)) (string/split chat-id #"-")) chat-name (when (not (string/blank? encoded-chat-name)) (js/decodeURI encoded-chat-name))] (cond (and (not (string/blank? chat-id)) (not (string/blank? admin-pk)) (not (string/blank? chat-name)) (> (count chat-id-parts) 1) (not (string/blank? (first chat-id-parts))) (validators/valid-public-key? admin-pk) (validators/valid-public-key? (last chat-id-parts))) {:type :group-chat :chat-id chat-id :invitation-admin admin-pk :chat-name chat-name} (and (not (string/blank? chat-id)) (chat.events/group-chat? (get chats chat-id))) (let [{:keys [chat-name invitation-admin]} (get chats chat-id)] {:type :group-chat :chat-id chat-id :invitation-admin invitation-admin :chat-name chat-name}) :else {:error :invalid-group-chat-data}))) (defn match-private-chat-async [chain {:keys [chat-id]} cb] (match-contact-async chain {:user-id chat-id} (fn [{:keys [public-key]}] (if public-key (cb {:type :private-chat :chat-id public-key}) (cb {:type :private-chat :error :invalid-chat-id}))))) (defn parse-shared-url [uri] (re-frame/dispatch [:shared-urls/parse-shared-url uri])) (defn match-community-channel-async [{:keys [community-channel-id community-id]} cb] (if (validators/valid-compressed-key? community-id) (native-module/deserialize-and-compress-key community-id #(cb {:type :community-chat :chat-id (str % community-channel-id)})) (cb {:type :community-chat :error :not-found}))) (defn match-browser [uri {:keys [domain]}] ;; NOTE: We rebuild domain from original URI and matched domain (let [domain (->> (string/split uri domain) second (str domain))] (if (security/safe-link? domain) {:type :browser :url domain} {:type :browser :error :unsafe-link}))) (defn match-browser-string [domain] (if (security/safe-link? domain) {:type :browser :url domain} {:type :browser :error :unsafe-link})) ;; NOTE(Ferossgp): Better to handle eip681 also with router instead of regexp. (defn match-eip681 [uri] (if-let [message (eip681/parse-uri uri)] (let [{:keys [paths ens-names]} (reduce (fn [acc path] (let [address (get-in message path)] (if (utils.ens/is-valid-eth-name? address) (-> acc (update :paths conj path) (update :ens-names conj address)) acc))) {:paths [] :ens-names []} [[:address] [:function-arguments :address]])] (if (empty? ens-names) ;; if there are no ens-names, we dispatch request-uri-parsed immediately {:type :eip681 :message message :uri uri} {:type :eip681 :uri uri :message message :paths paths :ens-names ens-names})) {:type :eip681 :uri uri :error :cannot-parse})) (defn address->eip681 [address] (match-eip681 (str ethereum-scheme address))) (defn match-wallet-account [{:keys [account]}] {:type :wallet-account :account (when account (string/lower-case account))}) (defn handle-uri [chain chats uri cb] (let [{:keys [handler route-params query-params]} (match-uri uri)] (log/info "[router] uri " uri " matched " handler " with " route-params) (cond ;; ;; NOTE: removed in `match-uri`, might need this in the future ;; (= handler :browser) ;; (cb (match-browser uri route-params)) (= handler :ethereum) (cb (match-eip681 uri)) (and (= handler :user) (:user-id route-params)) (match-contact-async chain route-params cb) ;; NOTE: removed in `match-uri`, might need this in the future (= handler :private-chat) (match-private-chat-async chain route-params cb) ;; NOTE: removed in `match-uri`, might need this in the future (= handler :group-chat) (cb (match-group-chat chats query-params)) (validators/valid-public-key? uri) (match-contact-async chain {:user-id uri} cb) ;; NOTE: removed in `match-uri`, might need this in the future (= handler :community-requests) (cb {:type handler :community-id (:community-id route-params)}) (and (= handler :community) (:community-id route-params)) (cb {:type :community :community-id (:community-id route-params)}) (and (= handler :community-chat) (:community-channel-id route-params) (:community-id route-params)) (match-community-channel-async route-params cb) (and (= handler :community-chat) (:community-encoded-data? route-params) (:community-id route-params)) (parse-shared-url uri) ;; NOTE: removed in `match-uri`, might need this in the future (= handler :wallet-account) (cb (match-wallet-account route-params)) (address/address? uri) (cb (address->eip681 uri)) (url/url? uri) (cb (match-browser-string uri)) (string/starts-with? uri constants/local-pairing-connection-string-identifier) (cb {:type :localpairing :data uri}) :else (cb {:type :undefined :data uri})))) (re-frame/reg-fx :router/handle-uri (fn [{:keys [chain chats uri cb]}] (handle-uri chain chats uri cb))) ```
```raw token data Total PORT-VLAN entries: 10 Maximum PORT-VLAN entries: 1024 Legend: [Stk=Stack-Id, S=Slot] PORT-VLAN 1, Name OPS, Priority level0, Off Untagged Ports: (U1/M1) 4 5 6 7 8 9 Tagged Ports: (U1/M2) 1 Mac-Vlan Ports: None Monitoring: Disabled PORT-VLAN 2, Name REG, Priority level0, Off Untagged Ports: (U1/M1) 10 11 12 Tagged Ports: (U1/M2) 1 Mac-Vlan Ports: None Monitoring: Disabled PORT-VLAN 3, Name DVR, Priority level0, Off Untagged Ports: (U1/M1) 13 14 15 16 17 18 19 20 21 22 23 24 Untagged Ports: (U1/M1) 25 26 27 28 29 30 31 32 33 34 35 36 Untagged Ports: (U1/M1) 37 38 39 40 41 42 43 44 45 46 Tagged Ports: (U1/M2) 1 Mac-Vlan Ports: None Monitoring: Disabled PORT-VLAN 4, Name SIPS, Priority level0, Off Untagged Ports: (U1/M1) 47 48 Tagged Ports: (U1/M2) 1 Mac-Vlan Ports: None Monitoring: Disabled PORT-VLAN 5, Name APS, Priority level0, Off Untagged Ports: (U1/M1) 1 2 3 Tagged Ports: (U1/M2) 1 Mac-Vlan Ports: None Monitoring: Disabled PORT-VLAN 7, Name P2PE, Priority level0, Off Untagged Ports: None Tagged Ports: (U1/M2) 1 Mac-Vlan Ports: None Monitoring: Disabled PORT-VLAN 10, Name 901SIPS, Priority level0, Off Untagged Ports: None Tagged Ports: (U1/M1) 1 2 3 Tagged Ports: (U1/M2) 1 Mac-Vlan Ports: None Monitoring: Disabled PORT-VLAN 11, Name CUSTOMERWIFI, Priority level0, Off Untagged Ports: None Tagged Ports: (U1/M1) 1 2 3 Tagged Ports: (U1/M2) 1 Mac-Vlan Ports: None Monitoring: Disabled PORT-VLAN 12, Name SYOD, Priority level0, Off Untagged Ports: None Tagged Ports: (U1/M1) 1 2 3 Tagged Ports: (U1/M2) 1 Mac-Vlan Ports: None Monitoring: Disabled PORT-VLAN 666, Name DEFAULT-VLAN, Priority level0, Off Untagged Ports: (U1/M2) 1 2 Untagged Ports: (U1/M3) 1 2 3 4 Tagged Ports: None Mac-Vlan Ports: None Monitoring: Disabled ```
Timothy Brendan Murphy (1921 – 8 July 2005) was an Irish Gaelic football player and administrator who played for club side Bere Island, divisional side Beara and at inter-county level with the Cork senior football team. Career Murphy first played Gaelic football with Bere Island, winning several divisional championships before claiming a County Junior Championship title in 1943. He was a regular member of the Beara divisional team from 1942 until 1959, lining out in almost every position including goalkeeper. Murphy was drafted onto the Cork senior football team in 1945 and was an unused substitute when Cork claimed the All-Ireland title after a defeat of Cavan in the final. His older brother "Weesh" Murphy was full-back on the same team. In 1946 Murphy lined out with the Cork junior team before again being an unused substitute with the Cork senior team. As an administrator, he was treasurer of the Beara GAA Board in 1947; registrar from 1955 and chairman from 1958 until 1964. Murphy served as president of the Beara Board from 1990 until 2005. Honours Bere Island Cork Junior Football Championship: 1943 Beara Junior Football Championship: 1939, 1941, 1942 Cork All-Ireland Senior Football Championship: 1945 Munster Senior Football Championship: 1945 References 1921 births 2005 deaths Bere Island Gaelic footballers Beara Gaelic footballers Cork inter-county Gaelic footballers Gaelic games administrators
Brendan Holland (1918 – 12 November 1989) was Mayor of Galway from 1965 to 1967. Born in Birr, County Offaly, Holland's father, Patrick Joseph, was from Craughwell, County Galway. The family moved to Galway in 1932. He was first elected to the Corporation in 1960. In his first term, he oversaw the opening of the Cathedral of Our Lady Assumed Into Heaven and Saint Nicholas, officially opened by Cardinal Cushing of New York. Mayor Holland's son, Richard, was the first child to be baptised in the Cathedral, the ceremony being carried out by Cushing. He bestowed the Freedom of Galway on Cushing and Cardinal Conway. During his terms, the 50th anniversary of the 1916 Rising was commemorated, the English Rose III landed at Kilronan, and the railway station was renamed in honor of Éamonn Ceannt. References Role of Honour:The Mayors of Galway City 1485-2001, William Henry, Galway 2001. External links https://web.archive.org/web/20071119083053/http://www.galwaycity.ie/AllServices/YourCouncil/HistoryofTheCityCouncil/PreviousMayors/ Politicians from County Offaly Mayors of Galway Politicians from County Galway 1918 births 1989 deaths People from Birr, County Offaly
```objective-c /*********************************************************/ /** Microsoft LAN Manager **/ /** **/ /** Rpc Error Codes from the compiler and runtime **/ /** **/ /*********************************************************/ /* If you change this file, you must also change rpcerr.h. */ #ifndef __RPCNTERR_H__ #define __RPCNTERR_H__ #if _MSC_VER > 1000 #pragma once #endif #define RPC_S_OK ERROR_SUCCESS #define RPC_S_INVALID_ARG ERROR_INVALID_PARAMETER #define RPC_S_OUT_OF_MEMORY ERROR_OUTOFMEMORY #define RPC_S_OUT_OF_THREADS ERROR_MAX_THRDS_REACHED #define RPC_S_INVALID_LEVEL ERROR_INVALID_PARAMETER #define RPC_S_BUFFER_TOO_SMALL ERROR_INSUFFICIENT_BUFFER #define RPC_S_INVALID_SECURITY_DESC ERROR_INVALID_SECURITY_DESCR #define RPC_S_ACCESS_DENIED ERROR_ACCESS_DENIED #define RPC_S_SERVER_OUT_OF_MEMORY ERROR_NOT_ENOUGH_SERVER_MEMORY #define RPC_S_ASYNC_CALL_PENDING ERROR_IO_PENDING #define RPC_S_UNKNOWN_PRINCIPAL ERROR_NONE_MAPPED #define RPC_S_TIMEOUT ERROR_TIMEOUT #define RPC_X_NO_MEMORY RPC_S_OUT_OF_MEMORY #define RPC_X_INVALID_BOUND RPC_S_INVALID_BOUND #define RPC_X_INVALID_TAG RPC_S_INVALID_TAG #define RPC_X_ENUM_VALUE_TOO_LARGE RPC_X_ENUM_VALUE_OUT_OF_RANGE #define RPC_X_SS_CONTEXT_MISMATCH ERROR_INVALID_HANDLE #define RPC_X_INVALID_BUFFER ERROR_INVALID_USER_BUFFER #define RPC_X_PIPE_APP_MEMORY ERROR_OUTOFMEMORY #define RPC_X_INVALID_PIPE_OPERATION RPC_X_WRONG_PIPE_ORDER #endif /* __RPCNTERR_H__ */ ```
```xml declare interface IModernThemeManagerWebPartStrings { PropertyPaneDescription: string; BasicGroupName: string; DescriptionFieldLabel: string; } declare module 'ModernThemeManagerWebPartStrings' { const strings: IModernThemeManagerWebPartStrings; export = strings; } ```
Bérchules is a village and municipality in the central Alpujarra, in the province of Granada in Spain. The origins of the village are Arab. There are two villages in the municipality, Bérchules (36° 58' north and 3° 11' east, elevation 1350 metres), and Alcútar (36° 58' north and 3° 11' east, elevation 1250 metres). The villages are on the road, Órgiva-Trevélez-Ugíjar, and their population is estimated at 900 and 300 respectively. The river Grande de Los Bérchules flows past the village on its course from the Sierra Nevada to the Mediterranean at Motril. En route it becomes renamed Rio "Gualdalfeo" and is the main river in the Alpujarra. Like the surrounding area, in general the present population has declined since the mid 20th century when the population was probably nearer to 5,000 inhabitants. Many emigrated to Germany, Switzerland, France, Brazil, Argentina, and to the coastal area of Almería, El Ejido etc. The traditional agricultural was based on tomatoes, almonds and cattle and continues as the main industry of the village with tourism having an increasing economic importance. Since 2000 an influx of relatively affluent immigrants from northern Europe have also had an effect on the local economy. Most tourists visit for the hill walking as the village is situated on the GR7 long distance footpath. Local attractions include the "fuente agua agria" water with a high iron content which is purported to have medicinal properties. Notable fiestas include New Year's Eve in August (First Saturday of August), the Festival of San Marcos, with processions of agricultural animals (25 April) and Festival of San Pantaleon, patron saint of Bérchules (27 July), and the Festival of Santo Cristo in Alcútar (9 August). Notable people from this village include Virginia Tovar Martín. References External links Photos of Bérchules Streetmap Berchules Casa Rural B&B El Paraje Hotel Los Bérchules Municipalities in the Province of Granada
Jonathan Manning Roberts (December 7, 1821 - February 28, 1888) was an American lawyer, spiritualist medium and writer. Roberts authored the book Antiquity Unveiled which was published in 1892. It claims to be an account of spirit messages proving Christianity "an offspring of more ancient religions". He was a proponent of the Christ myth theory. He practised law prior to becoming an editor for the weekly spiritualist journal Mind and Matter. Roberts was a member of the abolitionist party prior to the American Civil War, and a Republican afterward. His father was a member of the U.S. Senate. Publications Antiquity Unveiled: Ancient Voices from the Spirit Realms Proving Christianity to be of Heathen Origin (1892) Apollonius of Tyana, Identified as the Christian Jesus (1894) References 1821 births 1888 deaths American lawyers American spiritual mediums American religious writers Christ myth theory proponents
Liam Trevaskis (born 18 April 1999) is an English cricketer. He made his Twenty20 cricket debut for Durham in the 2017 NatWest t20 Blast on 25 July 2017. He made his first-class debut for Durham in the 2017 County Championship on 25 September 2017. He made his List A debut on 17 April 2019, for Durham in the 2019 Royal London One-Day Cup. References External links 1999 births Living people English cricketers Durham cricketers Sportspeople from Carlisle, Cumbria Cricketers from Cumbria
Contact! is an album by the American musician Ray Barretto, released in 1998. He is credited with his band, New World Spirit. The album was nominated for a Grammy Award, in the "Best Latin Jazz Performance" category. Barretto supported the album by headlining the 1998 Latin Jazz Festival, in New York City. Barretto hated the most commonly used descriptor of his music: Latin jazz. Production "Sister Sadie" is a cover of the Horace Silver song. Michael Philip Mossman played trumpet and saxophone on the album; he also wrote "Moss Code". Critical reception The Philadelphia Inquirer deemed Contact! "a straight-ahead exercise that contains Latinate workovers of standards such as 'Poinciana' and 'Caravan'." The Ottawa Citizen wrote that "Barretto's band excels at tightly arranged, polyrhythmic music, but the jazz sensibility always prevails so that mood and immediacy win out over showing off what's been rehearsed." City Pages determined that New World Spirit "strut through a series of salsa-driven numbers that neatly balances the sax and trumpet in the front line with a redoubtable rhythm section." Newsday called the album "a treasure of tasty moments ... Even when the song selection gets hokey (another version of 'Poinciana'?), the level of his commitment remains high." The Columbia Daily Tribune labeled it "a top-shelf release," writing that "this is a high-octane brass-and percussion ensemble that doesn't quit." The Star Tribune praised the "tip-top, hard-jazz form." AllMusic wrote: "Songs are masterfully syncretized and utilizing Baretto's unique musical vocabulary, including call-and-response, cubop rhythms and 4/4 swing." Track listing References 1998 albums Blue Note Records albums
Cycling Action Network (CAN) is a national cycling advocacy group founded in November 1996 in Wellington, New Zealand. They lobby government, local authorities, businesses and the community on behalf of cyclists, for a better cycling environment. It aims to achieve a better cycling environment for cycling as transport. Major initiatives are the annual Cycle Friendly Awards and support for a biennial Cycling Conference. The organisation was originally named Cycling Advocates' Network until 2015. Goals CAN's goals are: Promote integrated cycle planning Promote the benefits of cycling Improve safety Encourage the creation of a good cycling environment Develop cycle advocacy and cycle action Activities NZ Cycling Conference CAN has made a major contribution to the establishment and ongoing success of the NZ Cycling Conference series (15 October 1997, Hamilton; 14–15 July 2000, Palmerston North; 21–22 September 2001, Christchurch; 10–11 October 2003, North Shore; 14–15 October 2005 Hutt City; 1–2 November 2007, Napier; 12–13 November 2009, New Plymouth); February 2012 Hastings. Cycle Friendly Awards Since 2003, CAN has been organising the annual Cycle Friendly Awards, celebrating initiatives to promote cycling and create a cycle-friendly environment at both a national and local level in New Zealand. The event has since received public recognition, with government representatives attending the award ceremonies. Chainlinks Chainlinks is the magazine of the NZ Cycling Action Network (CAN), which is published three times a year as an electronic newsletter. About a 1000 copies are distributed to members of CAN and a number of supporting organisations such as local government authorities and cycling industry organisations. Published since 1997, until 2015 it was a full-colour paper magazine, whose back issues are available online. Association with other groups CAN is the parent organisation for some 20 local cycling advocacy groups around the country, including Cycle Action Auckland and Spokes Canterbury. CAN was a member of BikeNZ and provided one board member from BikeNZ's inception in July 2003. CAN resigned from BikeNZ in October 2007, but continues to work with BikeNZ on advocacy issues. CAN works closely with Living Streets Aotearoa, the national walking advocacy group. See also Bike Auckland Spokes Canterbury Cycling in Auckland Cycling in New Zealand Bicycle helmets in New Zealand New Zealand Cycle Trail References External links Cycling organisations in New Zealand Political advocacy groups in New Zealand Cycling activism
The William H. Rose House is located on Tomkins Avenue in Stony Point, New York, United States. It is an ornate Carpenter Gothic-style house from the mid-19th century, with similar outbuildings, built for a wealthy local businessman. In order to preserve it during the construction of a nearby senior citizens' home during the late 20th century, it was moved from its original site a short distance away and rotated. In 1999 it was listed on the National Register of Historic Places. Property The house is located on an lot a short distance east of North Liberty Drive (US 9W/202), at the corner of Tomkins and Roosevelt Place. The ground in the area slopes gently towards the Hudson River to the east. The neighborhood is residential. A senior citizens' apartment complex, called Knight's Corners, is just to the north. It is a two-and-a-half-story, five-by-three-bay balloon frame house on a concrete foundation topped by a steeply-pitched cross-gabled roof shingled in slate, pierced by two brick chimneys at the sides. The south (front) facade has a porch across the entire first story, with a projecting bay window with scroll-sawn vergeboard above it on the second story. The gable above it has a central arched window, with elaborate vergeboards and finials. A paneled frieze and bracketed cornice adorn the roofline. The two side elevations are identical, with a projecting bay window on the southernmost bay of the first story. The north (rear) elevation also matches the front facade, with the exception of an enclosure on the western third of the porch. Inside, the original layout is almost intact. Much of the original trim remains, including the marble fireplace mantel in each room. One of the fireplaces has a coal stove attached. Many of the original light fixtures remain, hanging from plaster medallions in the ceilings. In back is a carriage house with lines similar to the main building. Its cross-gables have a similar Gothic-arched window, and the roof is topped by a square cupola. Next to it is an unadorned outhouse original to the property. Both are considered contributing resources to the property's historic character. History The land on which the house stands was originally part of a large tract purchased by Resolvert Waldron in 1751. Very little of the land around Stony Point was arable, and in the early 19th century brickmaking arose as the dominant industry due to the abundant clay underground near the Hudson. Samuel Brewster, a wealthy iron mine owner and descendant of William Brewster, bought the portion inherited by John Waldron, whose farmhouse was on the Rose House's original site. Brewster bequeathed it to his grandson Richard and his wife Rachel when he died in 1821. Maps and other records from the mid-19th century show the location of the Waldron House and suggest that the Brewsters did not live there, but rather at a house now in the center of town, at what is now the northwest corner of Routes 9W/202 and Main Street. The same records suggest the Waldron House was demolished by a Paul Rose in 1862 to clear the way for a new house. It is possible that the house may have been a speculative venture by the Brewsters, since the market for housing near the river was strong at the time. The design, by an unknown architect, shows the strong posthumous influence of the philosophies of Andrew Jackson Downing and the cottage-type houses he promoted. The decorative vergeboards and steep cross-gabled are common elements in this type of early Gothic Revival house, often called Carpenter Gothic today. When built, it originally occupied a lot across the street from its present location, and faced north rather than south. Rose, a local brickmaker who left that business to make carriages in New York City, probably bought the home to commute to his business in the city, from which he moved his residence sometime before the Civil War. He bought the house for $5,300 ($ in contemporary dollars), apparently without needing to take out a mortgage. In 1875, he is listed as the owner for the first time. Two years later, he sold it to Minoff Govan, a local physician, while holding the mortgage himself, and bought it back in 1882. The Govans continued to live there, until daughter Edith sold it a Ruth Martz for $1. She held onto the home until 1985, when she was herself living in a New Jersey nursing home. The Housing Development Fund Company, which bought it from her, sold it a month later to a William Helmer. When the Roosevelt House was built, a strong community effort was mounted to preserve the Rose House. Those led to it being sold to Roy Moskoff, once again for $1, on the condition that the house and outbuildings be moved across the street and rotated. This was done and the house remains a private residence. See also National Register of Historic Places listings in Rockland County, New York References Houses on the National Register of Historic Places in New York (state) Carpenter Gothic houses in New York (state) Houses completed in 1862 Houses in Rockland County, New York 1862 establishments in New York (state) National Register of Historic Places in Rockland County, New York
Northeast Petroleum University () is a national key institution of higher learning in Daqing, Heilongjiang province, People's Republic of China. History The institute was founded in 1960, formerly called Northeast Petroleum Institute (). In 1975, it was renamed Daqing Petroleum Institute (). In October 1978, the institute was accredited by the State Council of the People's Republic of China, being one of 88 national key universities. Since February 2000, the institute has been under the jurisdiction of central and provincial governments, and has been mainly administered by Heilongjiang Province. In June 2000, the provincial government approved the relocation scheme from Anda to Daqing, which was completed in October 2002. The college was renamed Northeast Petroleum University in 2010. Academics The school has 18 secondary education colleges (departments), higher vocational and technical colleges and continue education colleges, and 61 undergraduate majors; 4 post-doctoral training stations, 1 post-doctoral research station, and 3 doctoral degrees first-level authorizations disciplines, 18 master's degrees first-level authorized disciplines, 19 doctoral degree programs, 89 master's degree programs; The university has the right to grant master's degree in 3 categories of business administration (MBA), social work, and engineering, of which the engineering category has 15 authorized sites for master's degree; 1 national-level key discipline, 3 national-level key disciplines, 8 national-level specialty construction sites, 19 provincial-level key (featured) majors, 1 provincial-level key Discipline group, 6 provincial first-level key disciplines, 26 provincial second-level key disciplines, the school currently has 2519 teaching staff. There are 330 professors, 650 associate professors, 404 doctoral degree lecturers, 841 master's degree lecturers There are 95 doctoral supervisors. The school has 1 academician of the Chinese Academy of Sciences and 3 academicians of the Chinese Academy of Engineering; 1 member of the Academic Evaluation Committee of the Academic Degrees Committee of the State Council; 6 members of the Steering Committee of the Higher Education Department of the Ministry of Education; 26 experts enjoying special allowances from the State Council; "3 winners, 1 winner from the first batch of "Young Talent Support Program" of the Central Organization Department, "1 winner from the National Excellent Youth Fund", 1 winner from the Heliang Heli Science and Technology Progress Award, "Longjiang Scholar" "17 people, 2 provincial-level outstanding experts, 25 academic leaders and reserve leaders in Heilongjiang Province; the school has national model teachers, national excellent teachers, Heilongjiang Province teaching teachers, Heilongjiang Province model teachers, and 18 outstanding teachers in Heilongjiang Province. Campus The school occupies an area of 1.503 million square meters, with an area of 600,000 square meters for teaching administration. The indoor and outdoor stadium area is 157,000 square meters. The 10 Gigabit campus network is connected to all the main buildings in the teaching area, office area, and teachers' and students' living areas. The total value of teaching and research instruments exceeds 200 million yuan. There is a modern library with a single building area of 45,000 square meters, with a collection of 2.22 million books and 19 types of data resources. The school has a national university science park, and 16 key laboratories above the provincial and ministerial level have been built, including a national key laboratory cultivation base, a national engineering research laboratory, a key laboratory of the Ministry of Education, and a ministerial level. There are 9 key laboratories, 4 provincial key laboratories, 1 provincial philosophy and social science research base, 6 provincial and ministerial engineering technology research centers, 6 provincial key laboratories, and 2 provincial humanities and social science bases. There are 42 undergraduate teaching experiment centers (rooms); 6 provincial-level double-base qualified laboratories, 1 national experimental teaching demonstration center, 1 national virtual simulation experimental teaching center, 6 provincial experimental teaching demonstration centers There are 122 internship bases inside and outside the school, including 2 national-level undergraduate experimental education bases and 3 provincial-level undergraduate experimental education bases. The school library has a collection of 2.1 million books, more than 3300 Chinese and foreign language periodicals, and is connected to the National Digital Library. The library with a construction area of 45,000 square meters has invested 180 million yuan, and the modern facilities in the library are complete. In terms of scientific research, a relatively stable research direction has been formed in the fields of tertiary oil recovery and new energy research. In the past three years, a total of 1,728 scientific research projects have been undertaken, including 113 national-level projects such as the National Natural Science Foundation of China, 973, and 863 Programs, with a research funding of 688 million yuan. 164 scientific research achievements received scientific and technological awards at all levels, and a total of 58 national scientific and technological progress awards and provincial and ministerial awards. A total of 4162 academic papers were published in domestic and foreign academic journals, and 758 papers were included in the three major retrieval systems of SCI, EI, and ISTP. In terms of international cooperation, the school has established inter-school relations with many well-known universities in more than 20 countries including Canada, the United States, Japan, Australia, Russia, the United Kingdom, and South Korea, and signed academic exchange agreements. More than 70 foreign experts and teachers are hired to teach at the school. The school signed a joint school agreement with the Missouri University of Science and Technology and the Kuban State Technical College of Russia. In 2002, the school also recruited the first batch of international students. Alumni Francis, Xu Ping - Dr and EMBA, winner of Singapore Government Scholarship, CEO of Lanmei Eco Tech Group, alumnus of University of Oxford, etc. Boyun, Guo - Professor at the University of Louisiana at Lafayette in the Petroleum Engineering Department and Director of the Center for Optimization of Petroleum Systems (COPS). Yushu, Wu - Professor, Petroleum Engineering CMG Reservoir Modeling Chair, Colorado School of Mines. Lu Shuangfang, Dean, Professor and doctoral tutor of Non-conventional Oil and Gas and New Energy Research Institute of China University of Petroleum (East China), Distinguished Professor of Heilongjiang Province Longjiang Scholar. Zhou Yunxia, Chief Engineer, PetroChina Daqing Refining and Chemical Company; National Model Worker, winner of "He Liang He Li Award". Dong Yuexia, Chief Geologist, PetroChina Jidong Oilfield Company; China Top Ten Outstanding Young Persons, Winner of the "National May 1st Labor Medal." References 《中华人民共和国教育部关于同意大庆石油学院更名为东北石油大学的通知》,教发函〔2010〕65号。 External links Universities and colleges in Heilongjiang Universities and colleges established in 1960 1960 establishments in China Daqing
```php <?php // autoload_static.php @generated by Composer namespace Composer\Autoload; class ComposerStaticInite473ae9052a5c1a5d8622024753b107a { public static $files = array ( 'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php', '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', '6e3fae29631ef280660b3cdad06f25a8' => __DIR__ . '/..' . '/symfony/deprecation-contracts/function.php', '60799491728b879e74601d83e38b2cad' => __DIR__ . '/..' . '/illuminate/collections/helpers.php', 'a1105708a18b76903365ca1c4aa61b02' => __DIR__ . '/..' . '/symfony/translation/Resources/functions.php', '72579e7bd17821bb1321b87411366eae' => __DIR__ . '/..' . '/illuminate/support/helpers.php', 'e69f7f6ee287b969198c3c9d6777bd38' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/bootstrap.php', '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php', '8825ede83f2f289127722d4e842cf7e8' => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme/bootstrap.php', '0d59ee240a4cd96ddbb4ff164fccea4d' => __DIR__ . '/..' . '/symfony/polyfill-php73/bootstrap.php', '7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php', 'b6b991a57620e2fb6b2f66f03fe9ddc2' => __DIR__ . '/..' . '/symfony/string/Resources/functions.php', '25072dd6e2470089de65ae7bf11d3109' => __DIR__ . '/..' . '/symfony/polyfill-php72/bootstrap.php', '37a3dc5111fe8f707ab4c132ef1dbc62' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/functions_include.php', '667aeda72477189d0494fecd327c3641' => __DIR__ . '/..' . '/symfony/var-dumper/Resources/functions/dump.php', 'f598d06aa772fa33d905e87be6398fb1' => __DIR__ . '/..' . '/symfony/polyfill-intl-idn/bootstrap.php', '23c18046f52bef3eea034657bafda50f' => __DIR__ . '/..' . '/symfony/polyfill-php81/bootstrap.php', 'ef65a1626449d89d0811cf9befce46f0' => __DIR__ . '/..' . '/illuminate/events/functions.php', 'def43f6c87e4f8dfd0c9e1b1bab14fe8' => __DIR__ . '/..' . '/symfony/polyfill-iconv/bootstrap.php', '1f87db08236948d07391152dccb70f04' => __DIR__ . '/..' . '/google/apiclient-services/autoload.php', '538ca81a9a966a6716601ecf48f4eaef' => __DIR__ . '/..' . '/opis/closure/functions.php', 'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php', 'e39a8b23c42d4e1452234d762b03835a' => __DIR__ . '/..' . '/ramsey/uuid/src/functions.php', 'b46ad4fe52f4d1899a2951c7e6ea56b0' => __DIR__ . '/..' . '/voku/portable-utf8/bootstrap.php', 'a8d3953fd9959404dd22d3dfcd0a79f0' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'ffaec35ff90c3d86543d09e59707f86b' => __DIR__ . '/..' . '/opensid/router/src/helpers.php', '0b47d6d4a00ca9112ba3953b49e7c9a4' => __DIR__ . '/..' . '/yajra/laravel-datatables-oracle/src/helper.php', ); public static $prefixLengthsPsr4 = array ( 'v' => array ( 'voku\\helper\\' => 12, 'voku\\' => 5, ), 'p' => array ( 'phpseclib3\\' => 11, ), 'Y' => array ( 'Yajra\\DataTables\\' => 17, ), 'S' => array ( 'Symfony\\Polyfill\\Php81\\' => 23, 'Symfony\\Polyfill\\Php80\\' => 23, 'Symfony\\Polyfill\\Php73\\' => 23, 'Symfony\\Polyfill\\Php72\\' => 23, 'Symfony\\Polyfill\\Mbstring\\' => 26, 'Symfony\\Polyfill\\Intl\\Normalizer\\' => 33, 'Symfony\\Polyfill\\Intl\\Idn\\' => 26, 'Symfony\\Polyfill\\Intl\\Grapheme\\' => 31, 'Symfony\\Polyfill\\Iconv\\' => 23, 'Symfony\\Polyfill\\Ctype\\' => 23, 'Symfony\\Contracts\\Translation\\' => 30, 'Symfony\\Contracts\\Service\\' => 26, 'Symfony\\Contracts\\EventDispatcher\\' => 34, 'Symfony\\Component\\VarDumper\\' => 28, 'Symfony\\Component\\Translation\\' => 30, 'Symfony\\Component\\String\\' => 25, 'Symfony\\Component\\Process\\' => 26, 'Symfony\\Component\\Mime\\' => 23, 'Symfony\\Component\\HttpKernel\\' => 29, 'Symfony\\Component\\HttpFoundation\\' => 33, 'Symfony\\Component\\Finder\\' => 25, 'Symfony\\Component\\EventDispatcher\\' => 34, 'Symfony\\Component\\ErrorHandler\\' => 31, 'Symfony\\Component\\Console\\' => 26, 'Spipu\\Html2Pdf\\' => 15, 'Spatie\\EloquentSortable\\' => 24, ), 'R' => array ( 'Ramsey\\Uuid\\' => 12, 'Ramsey\\Collection\\' => 18, ), 'P' => array ( 'Psr\\SimpleCache\\' => 16, 'Psr\\Log\\' => 8, 'Psr\\Http\\Message\\' => 17, 'Psr\\Http\\Client\\' => 16, 'Psr\\EventDispatcher\\' => 20, 'Psr\\Container\\' => 14, 'Psr\\Clock\\' => 10, 'Psr\\Cache\\' => 10, 'ParagonIE\\ConstantTime\\' => 23, ), 'O' => array ( 'Opis\\Closure\\' => 13, 'OpenSpout\\' => 10, 'OpenSID\\' => 8, ), 'M' => array ( 'Monolog\\' => 8, 'Mike42\\' => 7, ), 'L' => array ( 'League\\MimeTypeDetection\\' => 25, 'League\\Flysystem\\' => 17, 'Laravel\\SerializableClosure\\' => 28, ), 'K' => array ( 'Karriere\\PdfMerge\\' => 18, ), 'I' => array ( 'Illuminate\\View\\' => 16, 'Illuminate\\Support\\' => 19, 'Illuminate\\Session\\' => 19, 'Illuminate\\Queue\\' => 17, 'Illuminate\\Pipeline\\' => 20, 'Illuminate\\Pagination\\' => 22, 'Illuminate\\Http\\' => 16, 'Illuminate\\Hashing\\' => 19, 'Illuminate\\Filesystem\\' => 22, 'Illuminate\\Events\\' => 18, 'Illuminate\\Encryption\\' => 22, 'Illuminate\\Database\\' => 20, 'Illuminate\\Contracts\\' => 21, 'Illuminate\\Container\\' => 21, 'Illuminate\\Console\\' => 19, 'Illuminate\\Config\\' => 18, 'Illuminate\\Cache\\' => 17, 'Illuminate\\Bus\\' => 15, ), 'G' => array ( 'GuzzleHttp\\Psr7\\' => 16, 'GuzzleHttp\\Promise\\' => 19, 'GuzzleHttp\\' => 11, 'Google\\Service\\' => 15, 'Google\\Auth\\' => 12, 'Google\\' => 7, ), 'F' => array ( 'Firebase\\JWT\\' => 13, 'Fcm\\' => 4, ), 'D' => array ( 'Doctrine\\Inflector\\' => 19, 'Doctrine\\Deprecations\\' => 22, 'Doctrine\\DBAL\\' => 14, 'Doctrine\\Common\\Cache\\' => 22, 'Doctrine\\Common\\' => 16, ), 'C' => array ( 'Cviebrock\\EloquentSluggable\\' => 28, 'Cocur\\Slugify\\' => 14, 'Carbon\\Doctrine\\' => 16, 'Carbon\\' => 7, ), 'B' => array ( 'Brick\\Math\\' => 11, ), 'A' => array ( 'App\\' => 4, ), ); public static $prefixDirsPsr4 = array ( 'voku\\helper\\' => array ( 0 => __DIR__ . '/..' . '/voku/anti-xss/src/voku/helper', ), 'voku\\' => array ( 0 => __DIR__ . '/..' . '/voku/portable-ascii/src/voku', 1 => __DIR__ . '/..' . '/voku/portable-utf8/src/voku', ), 'phpseclib3\\' => array ( 0 => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib', ), 'Yajra\\DataTables\\' => array ( 0 => __DIR__ . '/..' . '/yajra/laravel-datatables-oracle/src', ), 'Symfony\\Polyfill\\Php81\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-php81', ), 'Symfony\\Polyfill\\Php80\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-php80', ), 'Symfony\\Polyfill\\Php73\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-php73', ), 'Symfony\\Polyfill\\Php72\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-php72', ), 'Symfony\\Polyfill\\Mbstring\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring', ), 'Symfony\\Polyfill\\Intl\\Normalizer\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer', ), 'Symfony\\Polyfill\\Intl\\Idn\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-intl-idn', ), 'Symfony\\Polyfill\\Intl\\Grapheme\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme', ), 'Symfony\\Polyfill\\Iconv\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-iconv', ), 'Symfony\\Polyfill\\Ctype\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-ctype', ), 'Symfony\\Contracts\\Translation\\' => array ( 0 => __DIR__ . '/..' . '/symfony/translation-contracts', ), 'Symfony\\Contracts\\Service\\' => array ( 0 => __DIR__ . '/..' . '/symfony/service-contracts', ), 'Symfony\\Contracts\\EventDispatcher\\' => array ( 0 => __DIR__ . '/..' . '/symfony/event-dispatcher-contracts', ), 'Symfony\\Component\\VarDumper\\' => array ( 0 => __DIR__ . '/..' . '/symfony/var-dumper', ), 'Symfony\\Component\\Translation\\' => array ( 0 => __DIR__ . '/..' . '/symfony/translation', ), 'Symfony\\Component\\String\\' => array ( 0 => __DIR__ . '/..' . '/symfony/string', ), 'Symfony\\Component\\Process\\' => array ( 0 => __DIR__ . '/..' . '/symfony/process', ), 'Symfony\\Component\\Mime\\' => array ( 0 => __DIR__ . '/..' . '/symfony/mime', ), 'Symfony\\Component\\HttpKernel\\' => array ( 0 => __DIR__ . '/..' . '/symfony/http-kernel', ), 'Symfony\\Component\\HttpFoundation\\' => array ( 0 => __DIR__ . '/..' . '/symfony/http-foundation', ), 'Symfony\\Component\\Finder\\' => array ( 0 => __DIR__ . '/..' . '/symfony/finder', ), 'Symfony\\Component\\EventDispatcher\\' => array ( 0 => __DIR__ . '/..' . '/symfony/event-dispatcher', ), 'Symfony\\Component\\ErrorHandler\\' => array ( 0 => __DIR__ . '/..' . '/symfony/error-handler', ), 'Symfony\\Component\\Console\\' => array ( 0 => __DIR__ . '/..' . '/symfony/console', ), 'Spipu\\Html2Pdf\\' => array ( 0 => __DIR__ . '/..' . '/spipu/html2pdf/src', ), 'Spatie\\EloquentSortable\\' => array ( 0 => __DIR__ . '/..' . '/spatie/eloquent-sortable/src', ), 'Ramsey\\Uuid\\' => array ( 0 => __DIR__ . '/..' . '/ramsey/uuid/src', ), 'Ramsey\\Collection\\' => array ( 0 => __DIR__ . '/..' . '/ramsey/collection/src', ), 'Psr\\SimpleCache\\' => array ( 0 => __DIR__ . '/..' . '/psr/simple-cache/src', ), 'Psr\\Log\\' => array ( 0 => __DIR__ . '/..' . '/psr/log/Psr/Log', ), 'Psr\\Http\\Message\\' => array ( 0 => __DIR__ . '/..' . '/psr/http-factory/src', 1 => __DIR__ . '/..' . '/psr/http-message/src', ), 'Psr\\Http\\Client\\' => array ( 0 => __DIR__ . '/..' . '/psr/http-client/src', ), 'Psr\\EventDispatcher\\' => array ( 0 => __DIR__ . '/..' . '/psr/event-dispatcher/src', ), 'Psr\\Container\\' => array ( 0 => __DIR__ . '/..' . '/psr/container/src', ), 'Psr\\Clock\\' => array ( 0 => __DIR__ . '/..' . '/psr/clock/src', ), 'Psr\\Cache\\' => array ( 0 => __DIR__ . '/..' . '/psr/cache/src', ), 'ParagonIE\\ConstantTime\\' => array ( 0 => __DIR__ . '/..' . '/paragonie/constant_time_encoding/src', ), 'Opis\\Closure\\' => array ( 0 => __DIR__ . '/..' . '/opis/closure/src', ), 'OpenSpout\\' => array ( 0 => __DIR__ . '/..' . '/openspout/openspout/src', ), 'OpenSID\\' => array ( 0 => __DIR__ . '/..' . '/opensid/router/src', ), 'Monolog\\' => array ( 0 => __DIR__ . '/..' . '/monolog/monolog/src/Monolog', ), 'Mike42\\' => array ( 0 => __DIR__ . '/..' . '/mike42/escpos-php/src/Mike42', 1 => __DIR__ . '/..' . '/mike42/gfx-php/src/Mike42', ), 'League\\MimeTypeDetection\\' => array ( 0 => __DIR__ . '/..' . '/league/mime-type-detection/src', ), 'League\\Flysystem\\' => array ( 0 => __DIR__ . '/..' . '/league/flysystem/src', ), 'Laravel\\SerializableClosure\\' => array ( 0 => __DIR__ . '/..' . '/laravel/serializable-closure/src', ), 'Karriere\\PdfMerge\\' => array ( 0 => __DIR__ . '/..' . '/karriere/pdf-merge/src', ), 'Illuminate\\View\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/view', ), 'Illuminate\\Support\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/collections', 1 => __DIR__ . '/..' . '/illuminate/macroable', 2 => __DIR__ . '/..' . '/illuminate/support', ), 'Illuminate\\Session\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/session', ), 'Illuminate\\Queue\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/queue', ), 'Illuminate\\Pipeline\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/pipeline', ), 'Illuminate\\Pagination\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/pagination', ), 'Illuminate\\Http\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/http', ), 'Illuminate\\Hashing\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/hashing', ), 'Illuminate\\Filesystem\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/filesystem', ), 'Illuminate\\Events\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/events', ), 'Illuminate\\Encryption\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/encryption', ), 'Illuminate\\Database\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/database', ), 'Illuminate\\Contracts\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/contracts', ), 'Illuminate\\Container\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/container', ), 'Illuminate\\Console\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/console', ), 'Illuminate\\Config\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/config', ), 'Illuminate\\Cache\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/cache', ), 'Illuminate\\Bus\\' => array ( 0 => __DIR__ . '/..' . '/illuminate/bus', ), 'GuzzleHttp\\Psr7\\' => array ( 0 => __DIR__ . '/..' . '/guzzlehttp/psr7/src', ), 'GuzzleHttp\\Promise\\' => array ( 0 => __DIR__ . '/..' . '/guzzlehttp/promises/src', ), 'GuzzleHttp\\' => array ( 0 => __DIR__ . '/..' . '/guzzlehttp/guzzle/src', ), 'Google\\Service\\' => array ( 0 => __DIR__ . '/..' . '/google/apiclient-services/src', ), 'Google\\Auth\\' => array ( 0 => __DIR__ . '/..' . '/google/auth/src', ), 'Google\\' => array ( 0 => __DIR__ . '/..' . '/google/apiclient/src', ), 'Firebase\\JWT\\' => array ( 0 => __DIR__ . '/..' . '/firebase/php-jwt/src', ), 'Fcm\\' => array ( 0 => __DIR__ . '/..' . '/edwinhoksberg/php-fcm/src', ), 'Doctrine\\Inflector\\' => array ( 0 => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector', ), 'Doctrine\\Deprecations\\' => array ( 0 => __DIR__ . '/..' . '/doctrine/deprecations/lib/Doctrine/Deprecations', ), 'Doctrine\\DBAL\\' => array ( 0 => __DIR__ . '/..' . '/doctrine/dbal/src', ), 'Doctrine\\Common\\Cache\\' => array ( 0 => __DIR__ . '/..' . '/doctrine/cache/lib/Doctrine/Common/Cache', ), 'Doctrine\\Common\\' => array ( 0 => __DIR__ . '/..' . '/doctrine/event-manager/src', ), 'Cviebrock\\EloquentSluggable\\' => array ( 0 => __DIR__ . '/..' . '/cviebrock/eloquent-sluggable/src', ), 'Cocur\\Slugify\\' => array ( 0 => __DIR__ . '/..' . '/cocur/slugify/src', ), 'Carbon\\Doctrine\\' => array ( 0 => __DIR__ . '/..' . '/carbonphp/carbon-doctrine-types/src/Carbon/Doctrine', ), 'Carbon\\' => array ( 0 => __DIR__ . '/..' . '/nesbot/carbon/src/Carbon', ), 'Brick\\Math\\' => array ( 0 => __DIR__ . '/..' . '/brick/math/src', ), 'App\\' => array ( 0 => __DIR__ . '/../..' . '/app', ), ); public static $prefixesPsr0 = array ( 'P' => array ( 'Parsedown' => array ( 0 => __DIR__ . '/..' . '/erusev/parsedown', ), ), ); public static $classMap = array ( 'Attribute' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Attribute.php', 'CURLStringFile' => __DIR__ . '/..' . '/symfony/polyfill-php81/Resources/stubs/CURLStringFile.php', 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', 'Datamatrix' => __DIR__ . '/..' . '/tecnickcom/tcpdf/include/barcodes/datamatrix.php', 'FPDF' => __DIR__ . '/..' . '/karriere/pdf-merge/tcpi/tcpdi.php', 'FPDF_TPL' => __DIR__ . '/..' . '/karriere/pdf-merge/tcpi/fpdf_tpl.php', 'Google_AccessToken_Revoke' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'Google_AccessToken_Verify' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'Google_AuthHandler_AuthHandlerFactory' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'Google_AuthHandler_Guzzle6AuthHandler' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'Google_AuthHandler_Guzzle7AuthHandler' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'Google_Client' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'Google_Collection' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'Google_Exception' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'Google_Http_Batch' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'Google_Http_MediaFileUpload' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'Google_Http_REST' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'Google_Model' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'Google_Service' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'Google_Service_Exception' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'Google_Service_Resource' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'Google_Task_Composer' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'Google_Task_Exception' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'Google_Task_Retryable' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'Google_Task_Runner' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'Google_Utils_UriTemplate' => __DIR__ . '/..' . '/google/apiclient/src/aliases.php', 'JsonException' => __DIR__ . '/..' . '/symfony/polyfill-php73/Resources/stubs/JsonException.php', 'Normalizer' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php', 'PDF417' => __DIR__ . '/..' . '/tecnickcom/tcpdf/include/barcodes/pdf417.php', 'PhpToken' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/PhpToken.php', 'QRcode' => __DIR__ . '/..' . '/tecnickcom/tcpdf/include/barcodes/qrcode.php', 'ReturnTypeWillChange' => __DIR__ . '/..' . '/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php', 'Stringable' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Stringable.php', 'TCPDF' => __DIR__ . '/..' . '/tecnickcom/tcpdf/tcpdf.php', 'TCPDF2DBarcode' => __DIR__ . '/..' . '/tecnickcom/tcpdf/tcpdf_barcodes_2d.php', 'TCPDFBarcode' => __DIR__ . '/..' . '/tecnickcom/tcpdf/tcpdf_barcodes_1d.php', 'TCPDF_COLORS' => __DIR__ . '/..' . '/tecnickcom/tcpdf/include/tcpdf_colors.php', 'TCPDF_FILTERS' => __DIR__ . '/..' . '/tecnickcom/tcpdf/include/tcpdf_filters.php', 'TCPDF_FONTS' => __DIR__ . '/..' . '/tecnickcom/tcpdf/include/tcpdf_fonts.php', 'TCPDF_FONT_DATA' => __DIR__ . '/..' . '/tecnickcom/tcpdf/include/tcpdf_font_data.php', 'TCPDF_IMAGES' => __DIR__ . '/..' . '/tecnickcom/tcpdf/include/tcpdf_images.php', 'TCPDF_IMPORT' => __DIR__ . '/..' . '/tecnickcom/tcpdf/tcpdf_import.php', 'TCPDF_PARSER' => __DIR__ . '/..' . '/tecnickcom/tcpdf/tcpdf_parser.php', 'TCPDF_STATIC' => __DIR__ . '/..' . '/tecnickcom/tcpdf/include/tcpdf_static.php', 'TCPDI' => __DIR__ . '/..' . '/karriere/pdf-merge/tcpi/tcpdi.php', 'UnhandledMatchError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php', 'ValueError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/ValueError.php', 'tcpdi_parser' => __DIR__ . '/..' . '/karriere/pdf-merge/tcpi/tcpdi_parser.php', ); public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { $loader->prefixLengthsPsr4 = ComposerStaticInite473ae9052a5c1a5d8622024753b107a::$prefixLengthsPsr4; $loader->prefixDirsPsr4 = ComposerStaticInite473ae9052a5c1a5d8622024753b107a::$prefixDirsPsr4; $loader->prefixesPsr0 = ComposerStaticInite473ae9052a5c1a5d8622024753b107a::$prefixesPsr0; $loader->classMap = ComposerStaticInite473ae9052a5c1a5d8622024753b107a::$classMap; }, null, ClassLoader::class); } } ```
Csömör () is a village in the Gödöllő District in Pest county, Hungary. It lies in the Budapest metropolitan area, north of the 16th district of Budapest and west of Kistarcsa, on the western part of the Gödöllő hills, in the turning of the Csömör stream. It has a population of 9,971 (2020). History Ceramic pieces were found from the New Stone Age (3200–3000 BC) in the area of the Urasági-tag, the Bab-földek (bean fields) and the Rét-pótlék. Ceramic pieces were found from the Bronze Age (1900–1800 BC) on the area of the Urasági-tag and the Szeder-völgyi-dűlő. On the 64 Erzsébet Street were found troves from the Vatyai Culture (1700–1400 BC). A Celtic cemetery was dug out behind the strand, which is from the Iron Age (380–300 BC). Between the troves there are bracelets, fibulas, chiffons, a scabbard with sword, and chain. During the third and the fourth century there was a Sarmatian village on the area of Csömör, both sides of the stream. During the explorations a Roman bowl (from the third century) and pottery were found. Pieces of bowl were found on the area of the Réti-dűlős and Rétpótlék from the Avar age. Ceramic pieces were found on the area of the Káposztáss and Réti-dűlős, that were made during the tenth and the eleventh century. Memorial of communism's victims In 2006 the Gloria Victis Memorial was created in honor of the casualties of universal communism: it is situated adjacent to the cemetery of the town. Twin towns – sister cities Csömör is twinned with: Mojmírovce, Slovakia Rimetea, Romania References External links in Hungarian Budapest metropolitan area Populated places in Pest County
```java /* * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ package org.apache.shardingsphere.sql.parser.oracle.parser; import org.apache.shardingsphere.sql.parser.api.parser.SQLLexer; import org.apache.shardingsphere.sql.parser.api.parser.SQLParser; import org.apache.shardingsphere.sql.parser.spi.DialectSQLParserFacade; /** * SQL parser facade for Oracle. */ public final class OracleParserFacade implements DialectSQLParserFacade { @Override public Class<? extends SQLLexer> getLexerClass() { return OracleLexer.class; } @Override public Class<? extends SQLParser> getParserClass() { return OracleParser.class; } @Override public String getDatabaseType() { return "Oracle"; } } ```