Can't compile for php7

$ make
mkdir -p shared/common
mkdir -p shared/zend
g++ -Wall -c -std=c++11 -fvisibility=hidden -DBUILDING_PHPCPP -Wno-write-strings -g php-config --includes -fpic -o shared/zend/inivalue.o zend/inivalue.cpp
In file included from zend/includes.h:130:0,
from zend/inivalue.cpp:8:
zend/constantimpl.h:85:53: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
ZVAL_STRINGL(&constant.value, value, len, 0);
^
zend/constantimpl.h:96:65: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
ZVAL_STRINGL(&constant.value, value, ::strlen(value), 0);
^
zend/constantimpl.h:107:70: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3
ZVAL_STRINGL(&constant.value, value.c_str(), value.size(), 0);
^
In file included from zend/includes.h:104:0,
from zend/inivalue.cpp:8:
zend/callable.h: In member function ‘void Php::Callable::fill(zend_arg_info, const Php::Argument&) const’:
zend/callable.h:146:20: error: cannot convert ‘const char’ to ‘zend_string* {aka zend_string}’ in assignment
info->name = arg.name();
^
zend/callable.h:147:15: error: ‘zend_arg_info {aka struct zend_arg_info}’ has no member named ‘name_len’
info->name_len = ::strlen(arg.name());
^
zend/callable.h:179:26: error: cannot convert ‘const char’ to ‘zend_string* {aka zend_string}’ in assignment
info->class_name = arg.type() == Type::Object ? arg.classname() : nullptr;
^
zend/callable.h:180:15: error: ‘zend_arg_info {aka struct zend_arg_info}’ has no member named ‘class_name_len’
info->class_name_len = arg.type() == Type::Object && arg.classname() ? ::strlen(arg.classname()) : 0;
^
In file included from zend/includes.h:118:0,
from zend/inivalue.cpp:8:
zend/hashiterator.h: In constructor ‘Php::HashIterator::HashIterator(HashTable, bool, bool)’:
zend/hashiterator.h:38:67: error: cannot convert ‘Bucket** {aka Bucket**}’ to ‘HashPosition* {aka unsigned int}’ for argument ‘2’ to ‘void zend_hash_internal_pointer_reset_ex(HashTable, HashPosition*)’
zend_hash_internal_pointer_reset_ex(_table, &position);
^
zend/hashiterator.h: In member function ‘virtual bool Php::HashIterator::increment()’:
zend/hashiterator.h:91:57: error: cannot convert ‘Bucket** {aka Bucket**}’ to ‘HashPosition* {aka unsigned int}’ for argument ‘2’ to ‘int zend_hash_move_forward_ex(HashTable, HashPosition*)’
if (zend_hash_move_forward_ex(table, &position) == SUCCESS)
^
zend/hashiterator.h: In member function ‘virtual bool Php::HashIterator::decrement()’:
zend/hashiterator.h:119:65: error: cannot convert ‘Bucket** {aka Bucket**}’ to ‘HashPosition* {aka unsigned int}’ for argument ‘2’ to ‘void zend_hash_internal_pointer_end_ex(HashTable, HashPosition*)’
zend_hash_internal_pointer_end_ex(table, &position);
^
zend/hashiterator.h:121:64: error: cannot convert ‘Bucket** {aka Bucket**}’ to ‘HashPosition* {aka unsigned int}’ for argument ‘2’ to ‘int zend_hash_move_backwards_ex(HashTable, HashPosition*)’
else if (zend_hash_move_backwards_ex(table, &position) == FAILURE)
^
zend/hashiterator.h: In member function ‘bool Php::HashIterator::read()’:
zend/hashiterator.h:194:71: error: cannot convert ‘Bucket** {aka Bucket**}’ to ‘HashPosition* {aka unsigned int}’ for argument ‘3’ to ‘void zend_hash_get_current_key_zval_ex(const HashTable, zval, HashPosition)’
zend_hash_get_current_key_zval_ex(table, key.val, &position);
^
zend/hashiterator.h:225:75: error: cannot convert ‘void**’ to ‘HashPosition* {aka unsigned int}’ for argument ‘2’ to ‘zval zend_hash_get_current_data_ex(HashTable, HashPosition)’
zend_hash_get_current_data_ex(_table, (void **) &value, &position);
^
In file included from zend/includes.h:120:0,
from zend/inivalue.cpp:8:
zend/traverseiterator.h: In constructor ‘Php::TraverseIterator::TraverseIterator(zval, bool)’:
zend/traverseiterator.h:35:60: error: ‘zend_get_class_entry’ was not declared in this scope
auto *entry = zend_get_class_entry(object TSRMLS_CC);
^
zend/traverseiterator.h: In member function ‘bool Php::TraverseIterator::read()’:
zend/traverseiterator.h:231:62: error: too many arguments to function
_iter->funcs->get_current_data(iter, &zval TSRMLS_CC);
^
In file included from zend/includes.h:121:0,
from zend/inivalue.cpp:8:
zend/iteratorimpl.h: In constructor ‘Php::IteratorImpl::IteratorImpl(Php::Iterator)’:
zend/iteratorimpl.h:167:20: error: no match for ‘operator=’ (operand types are ‘zval {aka zval_struct}’ and ‘Php::IteratorImpl’)
_impl.data = this;
^
In file included from /usr/include/php/20151012/Zend/zend.h:31:0,
from /usr/include/php/20151012/main/php.h:36,
from zend/includes.h:36,
from zend/inivalue.cpp:8:
/usr/include/php/20151012/Zend/zend_types.h:121:8: note: candidate: _zval_struct& _zval_struct::operator=(const zval_struct&)
struct zval_struct {
^
/usr/include/php/20151012/Zend/zend_types.h:121:8: note:   no known conversion for argument 1 from ‘Php::IteratorImpl’ to ‘const zval_struct&’
/usr/include/php/20151012/Zend/zend_types.h:121:8: note: candidate: zval_struct& zval_struct::operator=(zval_struct&&)
/usr/include/php/20151012/Zend/zend_types.h:121:8: note:   no known conversion for argument 1 from ‘Php::IteratorImpl’ to ‘zval_struct&&’
In file included from zend/includes.h:122:0,
from zend/inivalue.cpp:8:
zend/classimpl.h: At global scope:
zend/classimpl.h:179:12: error: ‘zend_object_value’ does not name a type
static zend_object_value createObject(zend_class_entry *entry TSRMLS_DC);
^
zend/classimpl.h:180:12: error: ‘zend_object_value’ does not name a type
static zend_object_value cloneObject(zval *val TSRMLS_DC);
^
In file included from zend/includes.h:122:0,
from zend/inivalue.cpp:8:
zend/classimpl.h:254:73: error: ‘zend_literal’ does not name a type
static zval *readProperty(zval *object, zval *name, int type, const zend_literal *key TSRMLS_DC);
^
zend/classimpl.h:269:76: error: ‘zend_literal’ does not name a type
static void writeProperty(zval *object, zval *name, zval *value, const zend_literal *key TSRMLS_DC);
^
zend/classimpl.h:283:80: error: ‘zend_literal’ does not name a type
static int hasProperty(zval *object, zval *name, int has_set_exists, const zend_literal *key TSRMLS_DC);
^
zend/classimpl.h:295:65: error: ‘zend_literal’ does not name a type
static void unsetProperty(zval *object, zval *member, const zend_literal key TSRMLS_DC);
^
zend/classimpl.h:310:92: error: ‘zend_literal’ does not name a type
static zend_function getMethod(zval object_ptr, char method, int method_len, const zend_literal *key TSRMLS_DC);
^
In file included from zend/includes.h:123:0,
from zend/inivalue.cpp:8:
zend/objectimpl.h: In constructor ‘Php::ObjectImpl::ObjectImpl(zend_class_entry, Php::Base, int)’:
zend/objectimpl.h:119:50: error: ‘zend_objects_store_dtor_t’ was not declared in this scope
handle = zend_objects_store_put(php(), (zend_objects_store_dtor_t)destructMethod, (zend_objects_free_object_storage_t)freeMethod, NULL
^
zend/objectimpl.h:119:93: error: ‘zend_objects_free_object_storage_t’ was not declared in this scope
handle = zend_objects_store_put(php(), (zend_objects_store_dtor_t)destructMethod, (zend_objects_free_object_storage_t)freeMethod, NULL
^
zend/objectimpl.h:122:70: error: request for member ‘bucket’ in ‘(executor_globals.zend_executor_globals::objects_store.zend_objects_store::object_buckets + ((sizetype)(((long unsigned int)((Php::ObjectImpl)this)->Php::ObjectImpl::handle) * 8ul)))’, which is of pointer type ‘zend_object {aka zend_object}’ (maybe you meant to use ‘->’ ?)
if (refcount != 1) EG(objects_store).object_buckets[handle].bucket.obj.refcount = refcount;
^
zend/objectimpl.h: In member function ‘void Php::ObjectImpl::destruct()’:
zend/objectimpl.h:144:57: error: ‘zend_objects_free_object_storage’ was not declared in this scope
zend_objects_free_object_storage(php() TSRMLS_CC);
^
zend/objectimpl.h: In static member function ‘static Php::ObjectImpl Php::ObjectImpl::find(zval)’:
zend/objectimpl.h:159:88: error: ‘zend_object_store_get_object’ was not declared in this scope
MixedObject *object = (MixedObject *)zend_object_store_get_object(val TSRMLS_CC);
^
In file included from zend/includes.h:124:0,
from zend/inivalue.cpp:8:
zend/parametersimpl.h: In constructor ‘Php::ParametersImpl::ParametersImpl(zval, int)’:
zend/parametersimpl.h:36:63: error: ‘zend_vm_stack_top’ was not declared in this scope
zval arg = (zval *) (zend_vm_stack_top(TSRMLS_C) - 1 - (argc-i));
^
In file included from zend/includes.h:126:0,
from zend/inivalue.cpp:8:
zend/compileroptions.h: At global scope:
zend/compileroptions.h:27:5: error: ‘zend_uint’ does not name a type
zend_uint _original;
^
zend/compileroptions.h:42:31: error: expected ‘)’ before ‘options’
CompilerOptions(zend_uint options TSRMLS_DC)
^
zend/compileroptions.h: In destructor ‘virtual Php::CompilerOptions::~CompilerOptions()’:
zend/compileroptions.h:62:32: error: ‘_original’ was not declared in this scope
CG(compiler_options) = _original;
^
In file included from /usr/include/php/20151012/Zend/zend_globals.h:28:0,
from /usr/include/php/20151012/Zend/zend_compile.h:657,
from /usr/include/php/20151012/Zend/zend_modules.h:26,
from /usr/include/php/20151012/Zend/zend_API.h:27,
from /usr/include/php/20151012/main/php.h:40,
from zend/includes.h:36,
from zend/inivalue.cpp:8:
zend/executestate.h: In constructor ‘Php::ExecuteState::ExecuteState(int)’:
zend/executestate.h:63:28: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘active_op_array’
_active_op_array = EG(active_op_array);
^
zend/executestate.h:64:33: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘return_value_ptr_ptr’
_return_value_ptr_ptr = EG(return_value_ptr_ptr);
^
zend/executestate.h:65:23: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘opline_ptr’
_opline_ptr = EG(opline_ptr);
^
zend/executestate.h:66:24: error: ‘struct _zend_compiler_globals’ has no member named ‘interactive’
_interactive = CG(interactive);
^
zend/executestate.h: In destructor ‘virtual Php::ExecuteState::~ExecuteState()’:
zend/executestate.h:81:9: error: ‘struct _zend_compiler_globals’ has no member named ‘interactive’
CG(interactive) = _interactive;
^
zend/executestate.h:83:9: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘opline_ptr’
EG(opline_ptr) = _opline_ptr;
^
zend/executestate.h:84:9: error: ‘zend_executor_globals {aka struct _zend_executor_globals}’ has no member named ‘active_op_array’
EG(active_op_array) = active_op_array;
^
zend/executestate.h:85:9: error: ‘zend_executor_globals {aka struct zend_executor_globals}’ has no member named ‘return_value_ptr_ptr’
EG(return_value_ptr_ptr) = return_value_ptr_ptr;
^
zend/opcodes.h: In member function ‘Php::Value Php::Opcodes::execute() const’:
zend/opcodes.h:81:9: error: ‘zend_executor_globals {aka struct zend_executor_globals}’ has no member named ‘return_value_ptr_ptr’
EG(return_value_ptr_ptr) = &retval_ptr;
^
zend/opcodes.h:82:9: error: ‘zend_executor_globals {aka struct zend_executor_globals}’ has no member named ‘active_op_array’
EG(active_op_array) = opcodes;
^
zend/opcodes.h:84:14: error: ‘zend_executor_globals {aka struct zend_executor_globals}’ has no member named ‘active_symbol_table’
if (!EG(active_symbol_table)) zend_rebuild_symbol_table(TSRMLS_C);
^
zend/opcodes.h:85:9: error: ‘struct zend_compiler_globals’ has no member named ‘interactive’
CG(interactive) = 0;
^
zend/opcodes.h:88:30: error: cannot convert ‘zend_object* {aka zend_object}’ to ‘zval {aka zval_struct}’ in initialization
zval oldException = EG(exception);
^
In file included from zend/includes.h:128:0,
from zend/inivalue.cpp:8:
zend/opcodes.h:91:40: error: too few arguments to function ‘void zend_execute(zend_op_array, zval)’
zend_execute(opcodes TSRMLS_CC);
^
In file included from /usr/include/php/20151012/Zend/zend_API.h:31:0,
from /usr/include/php/20151012/main/php.h:40,
from zend/includes.h:36,
from zend/inivalue.cpp:8:
/usr/include/php/20151012/Zend/zend_execute.h:41:15: note: declared here
ZEND_API void zend_execute(zend_op_array op_array, zval *return_value);
^
In file included from /usr/include/php/20151012/Zend/zend_globals.h:28:0,
from /usr/include/php/20151012/Zend/zend_compile.h:657,
from /usr/include/php/20151012/Zend/zend_modules.h:26,
from /usr/include/php/20151012/Zend/zend_API.h:27,
from /usr/include/php/20151012/main/php.h:40,
from zend/includes.h:36,
from zend/inivalue.cpp:8:
zend/opcodes.h:95:29: error: comparison between distinct pointer types ‘zval {aka zval_struct}’ and ‘zend_object {aka zend_object}’ lacks a cast
if (oldException != EG(exception) && EG(exception)) throw OrigException(EG(exception) TSRMLS_CC);
^
In file included from zend/includes.h:128:0,
from zend/inivalue.cpp:8:
zend/opcodes.h:95:104: error: no matching function for call to ‘Php::OrigException::OrigException(zend_object&)’
if (oldException != EG(exception) && EG(exception)) throw OrigException(EG(exception) TSRMLS_CC);
^
In file included from zend/includes.h:114:0,
from zend/inivalue.cpp:8:
zend/origexception.h:73:5: note: candidate: Php::OrigException::OrigException(Php::OrigException&&)
OrigException(OrigException &&exception) :
^
zend/origexception.h:73:5: note:   no known conversion for argument 1 from ‘zend_object* {aka zend_object}’ to ‘Php::OrigException&&’
zend/origexception.h:60:5: note: candidate: Php::OrigException::OrigException(const Php::OrigException&)
OrigException(const OrigException &exception) :
^
zend/origexception.h:60:5: note:   no known conversion for argument 1 from ‘zend_object {aka zend_object}’ to ‘const Php::OrigException&’
zend/origexception.h:47:5: note: candidate: Php::OrigException::OrigException(zval)
OrigException(zval val TSRMLS_DC) :
^
zend/origexception.h:47:5: note:   no known conversion for argument 1 from ‘zend_object {aka zend_object}’ to ‘zval {aka _zval_struct}’
In file included from /usr/include/php/20151012/Zend/zend.h:39:0,
from /usr/include/php/20151012/main/php.h:36,
from zend/includes.h:36,
from zend/inivalue.cpp:8:
zend/opcodes.h:105:9: error: cannot convert ‘zval {aka _zval_struct}’ to ‘zval {aka zval_struct}’ for argument ‘1’ to ‘void zval_ptr_dtor(zval)’
zval_ptr_dtor(&retval_ptr);
^
In file included from zend/includes.h:130:0,
from zend/inivalue.cpp:8:
zend/constantimpl.h: In constructor ‘Php::ConstantImpl::ConstantImpl(const char, const char, size_t)’:
zend/constantimpl.h:85:9: error: ‘ZVAL_STRINGL’ was not declared in this scope
ZVAL_STRINGL(&constant.value, value, len, 0);
^
zend/constantimpl.h: In constructor ‘Php::ConstantImpl::ConstantImpl(const char, const char)’:
zend/constantimpl.h:96:9: error: ‘ZVAL_STRINGL’ was not declared in this scope
ZVAL_STRINGL(&constant.value, value, ::strlen(value), 0);
^
zend/constantimpl.h: In constructor ‘Php::ConstantImpl::ConstantImpl(const char, const string&)’:
zend/constantimpl.h:107:9: error: ‘ZVAL_STRINGL’ was not declared in this scope
ZVAL_STRINGL(&_constant.value, value.c_str(), value.size(), 0);
^
zend/constantimpl.h: In member function ‘void Php::ConstantImpl::addTo(Php::ClassBase&) const’:
zend/constantimpl.h:140:14: error: ‘IS_BOOL’ was not declared in this scope
case IS_BOOL:
^
zend/constantimpl.h:142:56: error: ‘Z_BVAL’ was not declared in this scope
clss.property(_name, Z_BVAL(_constant.value), Php::Const);
^
zend/constantimpl.h: In member function ‘void Php::ConstantImpl::initialize(const string&, int)’:
zend/constantimpl.h:184:23: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name_len = prefix.size() + 1 + namelen + 1;
^
In file included from /usr/include/php/20151012/Zend/zend.h:33:0,
from /usr/include/php/20151012/main/php.h:36,
from zend/includes.h:36,
from zend/inivalue.cpp:8:
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = (char *)emalloc(_constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
constant.name = (char *)emalloc(constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct zend_constant}’ has no member named ‘name_len’
constant.name = (char *)emalloc(constant.name_len);
^
zend/constantimpl.h:185:38: error: ‘zend_constant {aka struct zend_constant}’ has no member named ‘name_len’
constant.name = (char *)emalloc(constant.name_len);
^
In file included from zend/includes.h:130:0,
from zend/inivalue.cpp:8:
zend/constantimpl.h:188:68: error: cannot convert ‘zend_string {aka zend_string}’ to ‘char’ for argument ‘1’ to ‘char* strncpy(char, const char, size_t)’
::strncpy(constant.name, prefix.c_str(), prefix.size());
^
zend/constantimpl.h:189:62: error: cannot convert ‘zend_string* {aka zend_string}’ to ‘char’ for argument ‘1’ to ‘char* strncpy(char, const char, size_t)’
::strncpy(constant.name + prefix.size(), "", 1);
^
zend/constantimpl.h:190:77: error: cannot convert ‘zend_string* {aka zend_string}’ to ‘char’ for argument ‘1’ to ‘char* strncpy(char, const char, size_t)’
::strncpy(_constant.name + prefix.size() + 1, _name, namelen + 1);
^
zend/constantimpl.h:195:23: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name_len = ::strlen(_name) + 1;
^
zend/constantimpl.h:196:60: error: ‘zend_constant {aka struct _zend_constant}’ has no member named ‘name_len’
_constant.name = zend_strndup(_name, _constant.name_len - 1);
^
Makefile:197: recipe for target 'shared/zend/inivalue.o' failed
make: *** [shared/zend/inivalue.o] Error 1

Hi there,
I'm also interested in php7 support.
Is there any kind of rough timeline of when php7 support would be added?
I'm trying to see if I should wait for support in php-cpp or rewrite the extension without it.
Thanks!

+1

+1

+1

+1

+1

+1

+1

+1

+1

:+1

Please try the current master branch. It has been updated to work with PHP 7.0 and upwards. Should you encounter any issues (not unlikely!), please do not feel shy to open an issue.

this error is for 2 php version
you most only have php 7

For people from google:
If you have installed multiple versions of php on your system, then remove others, just to leave only one installed (I did removed php-8.0 in favor of php-7.4), then clone repository again and run make


chat message validation failure

What is your Quests version / build number (do not say "latest")?
4.6.1 running on Paper version: Paper version git-Paper-131 (MC: 1.19.2) (Implementing API version 1.19.2-R0.1-SNAPSHOT) (Git: 2da891f)
Describe the problem and how to replicate it.
Upon addition of the "latest" version of 4.6.1 to my 1.19.2 paper server, I began messaging in chat after a previous attempt gave the error of "chat message validation failure" and booted everyone from the server. With this attempt I used a brand new clean installation of Quests and a freshly generated folder for the config. At this time, no "quests" were written. Upon using the in-game chat Quest creation, I made and completed a quest to break 10 "Oak_Log" blocks and gained reward of "64 Red Sand." The quest worked as expected, without error. Seconds after completion of the quest I typed "Test" into chat and the server disconnected everyone again with message of "chat message validation failure."
Any console errors to share?
[Sat 19:17:30 INFO  Quests] Player 69ccecd9-1a0d-44f3-b59f-5ef735645e42 saved quest Lumbermill
  [Sat 19:17:34 INFO  Server/PlayerConnection] JeremyMilam1 issued server command: /questsadmin reload
  [Sat 19:17:34 INFO  Quests] Loaded language en-US. Translations via Crowdin
 (edited)
[2:17 PM]
  [Sat 19:17:38 INFO  Quests] 69ccecd9-1a0d-44f3-b59f-5ef735645e42 started quest Lumbermill
  [Sat 19:17:49 INFO  Server/PlayerConnection] JeremyMilam1 issued server command: /gms
  [Sat 19:17:54 INFO  Server/PlayerConnection] __LampShade__ lost connection: Disconnected
  [Sat 19:17:54 INFO  Server] __LampShade__ left the game
  [Sat 19:18:29 INFO  Server] [OOC][Borin] Sky God Castiel_Deorum: Test
  [Sat 19:18:29 INFO  Server/PlayerConnection] JeremyMilam1 lost connection: Disconnected
  [Sat 19:18:29 INFO  Server] JeremyMilam1 left the game
  [Sat 19:18:29 INFO  Server/PlayerConnection] WaxFlower110098 lost connection: Disconnected
  [Sat 19:18:29 INFO  Server] WaxFlower110098 left the game

Console shows us as having "lost connection: Disconnected" however what we as users see on client screen is "chat message validation failure."

If applicable, can you provide an example quest from quests.yml?
I do not believe it is applicable, as it has happened regardless of the quest or components of a quest that I used. I can write a new quest to test and upload here if need be.

Similar to #2038 but still not convinced this has anything to do with Quests.


Switch to alpaca.js

Alpaca.js does exactly what we want! I'm gonna use it.

I'm not sure this is relevant anymore


Update stable version in repo from 1.0.7 to 1.0.8

Think about update stable version to 1.0.8
Version: stable=1.0.7 (53 days old) => latest=1.0.8 (30 days old)
Installs: stable=93 (60.39%), latest=31 (20.13%), total=154
Click to edit

1.0.8 not stable


Test process won't finish - spoon is waiting to grab screenshots

I have faced this problem many times - one year ago too. It only occurred when I used more than one device and didn't use screenshot option. It happened either on real devices or emulators. To fix it I had to be sure that folder from which spoon wants to grab screenshots exists, otherwise it was waiting until screenshot grab will succeed. So my workaround for this was creating empty folder for screenshots and this solved my problem.
Now I am facing it again and I am not sure about the cause. I can start my test session on 4 AVDs launched like that:

Before each test session I delete and create new AVD devices:

android create avd --name "Test-Emulator-API23-Nexus-5" --target "Google Inc.:Google APIs:23" --abi google_apis/x86_64 --device "Nexus 5" --skin "1080x1920" --sdcard 128M
android create avd --name "Test-Emulator-API23-Nexus-5-1" --target "Google Inc.:Google APIs:23" --abi google_apis/x86_64 --device "Nexus 5" --skin "1080x1920" --sdcard 128M
android create avd --name "Test-Emulator-API23-Nexus-5-2" --target "Google Inc.:Google APIs:23" --abi google_apis/x86_64 --device "Nexus 5" --skin "1080x1920" --sdcard 128M
android create avd --name "Test-Emulator-API23-Nexus-5-3" --target "Google Inc.:Google APIs:23" --abi google_apis/x86_64 --device "Nexus 5" --skin "1080x1920" --sdcard 128M

And launch them:

emulator -port 5556 -avd Test-Emulator-API23-Nexus-5 -gpu on &>/dev/null &
emulator -port 5560 -avd Test-Emulator-API23-Nexus-5-1 -gpu on &>/dev/null &
emulator -port 5562 -avd Test-Emulator-API23-Nexus-5-2 -gpu on &>/dev/null &
emulator -port 5564 -avd Test-Emulator-API23-Nexus-5-3 -gpu on &>/dev/null &

When all test finish, spoon wants to grab screenshots from logs (but I am not doing any screenshots). And SOMETIMES (like once per 6 test sessions) it freezes and there is a full log:
https://gist.github.com/FisherKK/edf9048a73aba84450a4ee9ca73e1944
Nothing happens on AVDs at that time. They are fully functional, you can interract them yet as you can see it is still waiting:

[09:50:49]: ▸ 2016-11-17 09:50:49 [SR$1.run] [emulator-5558] Execution done. (1 remaining [emulator-5556])

And that one remains forever.
I would ask for:

help in localising the problem
is this wait performed on spoon side?
if this wait is done on spoon side - would there be need for some kind of timeout, or possibility to set it?

I've got update in that issue.
As I said I re-create all 4 AVDs before each test session. When test runs on AVD it assures that folder for screenshot exists. But I am using also sharding and I have 3 tests in package but 4 AVDs. Because of that one AVD is not launching anything and doesn't have it's screenshot folder check. It doesn't exist so spoon always freeze on it. I can fix it on my side though.

Pull request is welcome. Unfortunately, I cannot help you with code atm.

We've faced same issue, will work on PR on next week then.

Hello @artem-zinnatullin !
Did you manage to solve this issue maybe? :)

"In progress" in our Jira for 2 days now…
Current findings:

This Gradle plugin seems completely unrelated to the problem.
Your log (attached above) seems to be not complete, I spent few hours with it and Spoon sources, seems strange that execution stops once SpoonDeviceRunner process starts for one of the emulators.
Switched to running spoon without Gradle plugin, that pointed me closer to the issue and actually your comments regarding "Moving screenshots" are more accurate than log :)
Will continue to work on it tomorrow, will publish results here and hopefully as a PR to Spoon itself.

Hello all,
Just in case it helps anyone, I'll share a warstory.
I was causing all the tests on a particular device to be filtered out and spoon kept hanging.
I don't remember exactly if I was filtering the tests using arguments or by causing AssumptionViolatedException but maybe one of these scenarios gives you ideas for debugging.

Hello,
Any does anyone has any progress in that issue?

So, what I've found so far is that enabling test sharding (which is what we want) fixes this problem, problem was reproducible only if Spoon run same tests across all connected emulators.

I have it opposite:
If I run same test set on each device then there is no problem.
If I use shards it sometimes freezes - like in the Log I have sent. One AVD didn't receive any test as shards were divided that way and it froze.

Damn it, just saw two CI with multiple emulators each (on different machines, in Docker, 100% isolated) jobs stuck:
 2017-02-06 13:39:09 [SDR.printStream] [emulator-5554] STDOUT 2017-02-06 13:39:09 [SDR.handleImages] Moving screenshots to the image folder on [emulator-5554]
This is driving me nuts…

But lately I am thinking more and more about my own test launcher from scratch.

I know that feel bro… Also there are some design problems in Spoon which I would like to fix but they'll require almost complete rewrite:

Reactively grab screenshots on each test finish https://github.com/square/spoon/issues/395.

Better structured html report, current one loads all the screenshots on single page and my browser lags and freezes.


ENYO-3473: Add new feature for auto position adjustment

A fraction (non-integer) coordinate caused several rendering issues related to
antialiasing such as blurred text and rough edges.
To resolve this, we need to set div's position to Integer numbers,
and I added new feature to enable above feature by handy option.
Enyo-DCO-1.1-Signed-off-by: Yeram Choi<EMAIL_ADDRESS>

resize solution(#2916) is more reliable than this.


Preserve the custom namespace prefixes of the passed document (via a non_stix_dict)

One can override STIX namespace aliases on export with the ns_dict parameter on to_xml():

# tested on v<IP_ADDRESS>

print package.to_xml(ns_dict={'http://stix.mitre.org/stix-1': 'TEST'})

Non-default namespace aliases are not preserved on a round-trip, so if "http://stix.mitre.org/stix-1" was mapped to a "foo" alias on an input document, that document would be exported with a "stix" namespace alias unless the ns_dict parameter remaps that namespace to a non-"stix" alias.  This behavior of the ns_dict parameter is only applicable to STIX constructs.
Using the ns_dict parameter of the .to_xml() method requires the developer to know what prefixes to include. This is easier if you're only creating your own documents but if you're ingesting documents from various creators the developer won't know all of the prefixes beforehand.
Could the stix/utils/parser/EntityParser create a dictionary of all the non-"stix" prefixes, urls, schemalocations? This non_stix_dict could then be passed(configurable) to the .to_xml() method and the developer wouldn't have to know all possible incoming prefixes.
Alternatively the developer would have parse the file outside of the API to get this information then create a dictionary and pass it as the ns_dict parameter to the .to_xml() method. Having it in the API would reduce an extra parse and work and the incoming STIX document.

@marlontaylor,
The bindings and other API code rely on statically defined `xsi:type

@marlontaylor
I refactored the namespace parsing code in 70a91bc7950eb8ed4702a984d71fc619b007d285 to allow multiple namespace prefixes for a given namespace.
So doing something like:
from stix.core import STIXPackage
package = STIXPackage()
print package.to_xml(ns_dict={'http://stix.mitre.org/stix-1': 'foo'})

Will yield a STIX document with both a stix and foo namespace prefix mapped to http://stix.mitre.org/stix-1:
<stix:STIX_Package
        <!-- SNIP -->
        xmlns:foo="http://stix.mitre.org/stix-1"
        xmlns:stix="http://stix.mitre.org/stix-1"
        <!-- SNIP -->
        id="example:Package-8ecea94f-b4e9-4cfc-9e63-151cf08b43ed" version="1.1.1" timestamp="2015-04-09T15:36:13.410831+00:00"/>

Non-default namespace mappings are preserved on round trip as well:
import StringIO
from stix.core import STIXPackage

XML = \
"""
<stix:STIX_Package
        xmlns:example="http://example.com"
        xmlns:foo="http://stix.mitre.org/stix-1"
        xmlns:stix="http://stix.mitre.org/stix-1"
        id="example:Package-8ecea94f-b4e9-4cfc-9e63-151cf08b43ed"
        version="1.1.1"
        timestamp="2015-04-09T15:36:13.410831+00:00"/>
"""

readable = StringIO.StringIO(XML)
package = STIXPackage.from_xml(readable)
print package.to_xml()

This prints:
<stix:STIX_Package
        <!-- SNIP --->
        xmlns:foo="http://stix.mitre.org/stix-1"
        xmlns:stix="http://stix.mitre.org/stix-1"
        <!-- SNIP -->
        id="example:Package-8ecea94f-b4e9-4cfc-9e63-151cf08b43ed"
        version="1.1.1"
        timestamp="2015-04-09T15:36:13.410831+00:00"/>

We still don't allow the remapping of default prefixes to non-default namespaces (that is, you can't remap indicator to http://foobar.org) as this would result in xsi:type lookup errors.
I think this addresses your issue, so I am going to close this. If not, we can reopen it and discuss!


v2.07 roadmap

NEW Stuff in v2.07
UI:

UI ACKN and DELETE ajax calls moved to functions instead of event listeners.
UI jQuery new ajax method listeners: PUT and DELETE.
UI Removed all global variables. Now all settings and variables are defined in one Global array AlarmDbSettings
UI Event listener to be independent from DOM.
UI New priority color Grey. Boostrap style default
UI Table template html rendering made from function. Simplified integration can be rendered to any DIV in your page. Check wiki documentation for new integration examples.
UI LOGO with link to github alarmdb to used release.
UI Integration of HTTP response codes for AJAX errors.
UI AlarmDbSettings global javaScript variable
UI Global variable AlarmDbSettings has all texts of UI. Now possible to translate all texts to your language just translate all TITLE variables in the array. Error translation will be in future releases.
UI login window will be called if HTTP 401 error is returned from API. Link, methods, headers defined in Global variable AlarmDbSettings.
UI Rename AlarmDB.js and user.css files to alarmdb.js and alarmdb.css
UI Control bar icon face-lift.
UI New User menu
UI login modal rendered into DOM from alarmdb.js function.
UI better logo quality 300px
UI User menu login/logout buttons
UI Login status cookie alarmdb_user_login
UI API Login.php setts cookie with user settings. After AJAX load settings are loaded and UI refresh performed.
UI Global variable AlarmDbSettings validate function default/new settings merge and render UI with new settings
UI Confirmation dialog integration. Confirmation for deleting alarms

API:

API controller.php, model.php, settings.php direct access not allowed function.
API Commands split into separate methods GET, POST, PUT, DELETE.
API Methods have separate command white-lists.
API Response format can be set to JSON, XML, CSV. If not defined JSON will be generated as default.
API defined file in API query this will automatically trigger download in the browser response as a file.
API Header in response output X-Content-Type-Options: nosniff
API Content-Type header includes a charset. UTF-8 as default.
API X-Frame-Options: DENY will prevent page completely from being displayed in an iframe.
API X-XSS-Protection: 1; mode=block header.
API HTTP Status Codes integrated in to API responses.
API new settings.php file for better API setup. php class:configAlarmDBApi
API Authenticated user session implemented
API Password hashing integration phpass V0.5
API Authorization handling implemented
API .htacess file in folder to prevent direct access to alarmdb.db
API auth_key pass through API user authentication if key pass authorization.
DB  new table auth_keys
DB  new table users
DB users table has new column settings. login.php Stores settings into cookies after login
API auth_key expire date and time
API Logged user session handling TTL integration.
API SQL result limits are set in settings.php. Default 10000 alarms and **100 notes
API if login.php accessed not via AJAX redirect to home page.
API if direct access to logout.php that unsets user session and redirects home page.
API Authorization check for user or auth_key: user and keys DB has field: get,post,put,delete t or f. Other words separate permissions to Read alarms, write alarms and notes, acknowledge alarms, delete alarms
API  new folder system, rename assest/ to api/. api.php rename to index.php.
DB  new columns for alarms attr and attachment
API new flields in responces attr and attachment can be used to store other information Arrays

BUGs & FIXes

FIX UI Ids where split into array before sending to AJAX. Variable was wrongly parsed to API.
FIX UI if acnk or delete is performed, buttons not reset to normal state if returned fail from ajax.
FIX API model.php SQLite prepare() and bind() for more secure way to manage DB
FIX API Removed "Notes" from CSV export response as 2 dimensional arrays in CSV does not make sense. Notes can be exported in CSV with separate command via API.
FIX BUG if login cookie expire, session stays active.
FIX BUG if delete alarms pagination is not updated wrong global set.
FIX BUG if delete fails, warning id array had wrong name and not rendered.

UI BUG When selecting all alarms and perform ack command pagination page number are not re rendered correctly.


"rename" commands in the CLI

To make things a bit easier on users and to expose API functionality that's so far been missing in the client tool, we should implement the following functions:

"lxc rename" (same as move, but local-only, RenameContainer or RenameContainerSnapshot call)
"lxc profile rename" (RenameProfile call)
"lxc network rename" (RenameNetwork call)
"lxc image alias rename" (RenameImageAlias call)

The lxc image alias rename seems a bit unnecessary (and weird) to me.
An alias is not an entity with a name,  it's just a name, so chaging it is basically like creating a new one.
I don't see much value over lxc image alias delete + lxc image alias create

An alias does have a description.

I agree that renaming an alias is going to be the least used of all of those, but we have the API for it and the client function for it, but it's very cheap to do so we should be exposing it for consistency.

Fair enough, I also forgot that aliases also have description.

It seems lxc rename is already there


FederatedAccess getSchema for user

getSchema and getTraits should be based on the what the user can see and calculated when asked, instead of storing a general cache. The was attempted in commit 4f74328 but caused a memory leak.
Find the cause of the leak.

Merged into develop.


Hybrid - Two-way sync group & users

This document to simple and not provides any Videos demo, I have do many testing and followed the document but still unable to see any primitive Azure AD group sync back to on-premises AD. A primitive Azure AD Groups/Users meant it is created from Azure AD originally and when you look at the Source from Azure AD it is indicated "Cloud".

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: cba137cc-67ca-2766-b436-54e3634f0c2f
Version Independent ID: 2f185fba-dcf2-04f5-17a1-b641dc104edd
Content: Azure AD Connect: Group writeback V1 - Microsoft Entra
Content Source: articles/active-directory/hybrid/how-to-connect-group-writeback.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

Thanks for the feedback! We are currently investigating and will update you shortly.


chore: upgrade page-with to 0.6.0

The currently present issue of failing CI caused an error within webpack which is a dependency of page-with.  Upgrading it to the latest version solves it (didn't dig too deep into it but seems to be related to the webpack version).

Released: v0.12.0 🎉
This has been released in v0.12.0!

📄 Release notes
📦 npm package

Make sure to always update to the latest version (npm i @mswjs/data@latest) to get the newest features and bug fixes.

Predictable release automation by @ossjs/release.


Update for new supported plattforms?

Hi,
first of all thanks for your work so far. Even when I think about, that this was done 5 years ago. In IOT time it is nearly 2-3 decades. ;)
Do you think it will be possbile to extend your service with the "new" plattforms? A somehow "full" list looks like this:
Alarm Control Panel
    Arming
    Disarming
 Camera
Climate
    Set Thermostat Temperature
    Thermostat Mode
Cover
    Open/Close/Raise/Lower
    Set Cover Position
    Set Cover Tilt
    Garage Doors
Fan
    Fan Speed
    Fan Preset Mode
    Fan Direction
    Fan Oscillation
Light
    Brightness
    Color Temperature
    Color
Lock
    Unlocking
Media Player
    Change Channel
    Speaker Volume
    Equalizer Mode
    Inputs
    Playback State
    Seek
Switch
Timer
Vacuum

This is not possible without a full rewrite of the service to change the version of the Alexa Smart Home API. This skill is in maintenance mode, there will be no new device types added.


create Github actions

yeah, I agree @EvgeniiZaitsevCW. Do you know how long the tests are taking on avg?

@arthur-cw

Do you know how long the tests are taking on avg?
On my machine running all the tests (276 pcs.) from the token-bridge branch is taken about 45 seconds.


Modifications with values as Vec<u8>

Hello. Great to see a pure rust LDAP library.
I have an issue. I want to set a password in Active Directory, and for that I need to send the password encoded using utf-16 [1]. As far as I can tell, that is not possible using this library, since modify() takes a AsRef<str>, and a str only can have utf-8. So I need some way of inputing a Vec<u8>. Is it maybe possible to encode the Vec<u8> as a String?
If indeed this needs a code change, do you want me to create a PR?

Right, Modify (and Add) don't allow binary values. Try 7545f79385f415e1847088cf6a2588b8ffda78b6; it just uses AsRef<[u8]> instead of AsRef<str>, which shouldn't break anything else. If that works, I'll change the Add operation in the same way.

Thanks, I think that will work. I am in the process now of changing my code from using libldap to this library, and when I get it to work, I will try that branch.

I said modify, but actually it was add() I used binary values for. I tested my code with your changes to support [u8] and it works great!


Fix override of existing values in prepend & append

Summary
Currently, when using NewFormattedMapFromEnvironment(environment), entries like "$KEY:value" are overwritten by the last loop execution when using both append and prepend on the same $KEY. This fix appends and prepends values to entries which are already existing.
Use Cases
We stumbled upon this in the following PR: https://github.com/paketo-buildpacks/npm-install/pull/688#discussion_r1651028653. Integration tests in this project are not working because they check for specific log entries written with NewFormattedMapFromEnvironment(environment), which yield the wrong result, because they overwrite "$KEY:value" when append and prepend are used on the same $KEY.
Checklist

[ ] I have viewed, signed, and submitted the Contributor License Agreement.
[ ] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[x] I have added an integration test, if necessary.
[x] I have reviewed the styleguide for guidance on my code quality.
[x] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

Hello and welcome, @nicolasbender !
This broadly looks good - thanks for adding test coverage - and I'd like to see this PR incorporate the changes suggested by @c0d1ngm0nk3y . I don't want to just merge them in myself in case you have opinions on them.

@nicolasbender To be clear. This will only affect the way these environment variables are ultimately logged no functionality will change as the setting of environment variables from the files generated is done by the lifecycle. I think that this is still a great fix I just wanted to lay that out cause it is unclear to me in the write up that is the intended outcome.

@ForestEckhardt

This will only affect the way these environment variables are ultimately logged
Yes, we are aware of that. The issue we had with this was only in some integration tests from the npm-install buildpack which tested the outcome of the logged result and not the result itself (https://github.com/paketo-buildpacks/npm-install/pull/688#discussion_r1651028653). And since the logging did not work properly, the integration tests failed.

Perfect!

Hi @ForestEckhardt @robdimsdale, is it possible to release this change in a patch version? Although this is a very small change, this PR is blocked until the next release of packit including this change.

@paketo-buildpacks/tooling-maintainers Are there any plans on releasing packit?

@sophiewigmore not sure if you are involved in this repo, but getting a release would be great to unlock the Node.js pr.


Add new codepen link for error boundaries

The new link contains also nested error boundaries.
@gaearon could also update his code pen - I dont' have access to save an updated version on his codepen.

Why is it necessary to show nested error boundaries in this example?

@threepointone why don't you think it's relevant to know this type of relation?
To me it shows that you can change your error bounding down the "road"/nesting and that it does not cascade all the way up.


React App : Setup

In this project we :

Set up a new React project
Add README.md file

Hi @Zohra-Neda
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project, that has some missing sections from the microverse readme template
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification @prolajumokeoni.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


Changing firing order of snowplow and Tealium

Changing firing order of snowplow and Tealium, moving Tealium below Snowplow

+1

+1

+1


remove the alert role from the wizard page title

This PR fixes #9171

Why was this merged in broken?


limit ray to 1.3.0 in CI

ray 1.4.0 has breaking change, but 1.4.0 jar is not deployed yet. So for now we limit ray to 1.3.0 in CI to pass tests

Should we limit the ray version requirements as well?

yeah, I wanted to first test whether it can pass


Fix linter

Fix linter
Description
Cargo fmt was not changed properly when migration to dtolnay was done
Type of change
Please delete options that are not relevant.

[ x ] Bug fix

Checklist

[ x ] Linked to Github Issue

Closes #261

Codecov Report

Merging #262 (6b9ab78) into main (be6b800) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #262      +/-   ##
==========================================
- Coverage   96.22%   96.21%   -0.02%
==========================================
  Files          83       87       +4
  Lines        9511     9526      +15
==========================================
+ Hits         9152     9165      +13
- Misses        359      361       +2

see 22 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[xds] Remove total_weights in weighted cluster

Description:
The release notes for Envoy v1.24 highlight that  total_weights field in the weighted cluster is deprecated
https://www.envoyproxy.io/docs/envoy/latest/version_history/v1.24/v1.24.0
router: deprecated [total weight](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#envoy-v3-api-field-config-route-v3-weightedcluster-total-weight) for weighted clusters. The sum of the [clusters’ weights](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/route/v3/route_components.proto#envoy-v3-api-field-config-route-v3-weightedcluster-clusterweight-weight) will be used as the total weight.

So we should be able to safely delete this field from our code
https://github.com/envoyproxy/gateway/blob/592863ad53b097eeca602180d1394d7c4ef41522/internal/xds/translator/route.go#L165

blocked on https://github.com/envoyproxy/gateway/pull/654 & deprecation strategy adopted by the project

this is not blocked in anyway since Envoy didn't need it for a long time, I'll fix


Interactive charts not working on ios - Unsupported top level event type "onGestureHandlerStateChange" dispatched

my data looks like this:
const data = [ { timestamp:<PHONE_NUMBER>, value: 1.3551291378689263, }, { timestamp:<PHONE_NUMBER>, value: 1.362582270029769, }];
I'm trying to add this linechart:
<LineChart.Provider data={data}>                 <LineChart>                     <LineChart.Path />                     <LineChart.CursorCrosshair>                         <LineChart.Tooltip />                     </LineChart.CursorCrosshair>                 </LineChart>             </LineChart.Provider>
the chart looks fine, but when i'm trying to tap to the chart i got this error screen:

and the problem is the same with "onGestureHandlerStateChange".
i use these versions:
"react-native": "0.67.4",
"react-native-gesture-handler": "2.1.1",       // i tried with the latest, same problem.
"react-native-haptic-feedback": "^1.13.1",
"react-native-reanimated": "^2.5.0",
if i add "import "react-native-gesture-handler";" to the top of my App.tsx, i don't get the error, but then the interactive chart is not interactive.
I also tried this, and it doesn't working: https://github.com/coinjar/react-native-wagmi-charts/issues/73#issuecomment-1055333633
pls help :D

run on a real device, not on simulator


Missing Vuetify option on UI framework when creating new app (v3.6.0)

close because of my own terminal error


support for generate --tickers=SPY

It looks like data for a specific symbol can be generated from  QuantConnect.ToolBox.dll using --tickers=SPY
But I can't find a way to pass tickers from lean data generage.
Has --tickers not yet to make it to lean-cli?

I have a minimally working change https://github.com/WillForan/lean-cli/commit/275929b526c0fd1d40014cdef6549c1ac96b1abb
I'm not sure what to do about --symbol-count. Is it still required. should len(split(',',tickers)) be used instead?


Daily Reminder

A daily reminder feature to fill an entry would be very useful.

Hey Gandalf-the-Blue, thank you for your suggestion. I will add it to the roadmap.
Regards, Michael


Refine safir statistics cronjob

safir-update-statistics
These were causing issues, when they are stalled somehow and too many start running in parallel.

Set restartPolicy to never since they are not that important, but resource-hungry
Added activeDeadlineSeconds. If they're not done after 10 minutes, something is wrong.

Would it be possible to release this change as a chart version 0.1.11 (without the 0.2.0 changes) and 0.2.1 (with the 0.2.0 changes) ?
I was not able to test the changes of the 0.2.0 chart properly yet.

@pfirpfel
With the current release pipeline, we are not able to make changes between already released versions.
We will take a look at it tomorrow, what is the easiest way to implement this change.

These statistics cronjobs are currently all disabled. We're discussing if they're even necessary or what changes have to be made on (and related to) them. So this PR is currently neither important nor urgent.
But being able to maintain different major versions in parallel would be at least interesting.


Upgrade default model_type

Upgrade default model_type from gpt-3.5-turbo to gpt-3.5-turbo-0613. Also, triple the default max_tokens values for wherever it is called.

You would also update utils.py in your PR.


Add whistle and new sound for emotion

About the PR
Added whistle sound and sound for salute and crying (crying sound support only human and slime).
Media
https://user-images.githubusercontent.com/68664576/235305463-67503f55-1c8e-4ee1-b9f8-3744e53b7284.mov
https://user-images.githubusercontent.com/68664576/235305706-d3f615ac-d0c6-444e-a856-fa8eac39227d.mov

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl:

add: Added whistling emotion
add: Added sounds for the emotion of salute and crying

emotional damage  🥲

For some unknown reason there is still a conflict with the master and my branch. Probably it's because of the version dissolution, because there were no such problems on the updated branch I wanted to re-download

Damn, I'm sorry, I made the merge in the wrong place


⚠ Bofrost.at has degraded performance

In b5a123e, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1699 ms

Resolved: Bofrost.at performance has improved in fcb112d after 11 minutes.


Repomd generates same SHA1 prefixes for all metadata files

When using NamingPolicy.Sha1Prefixed with Rpm, Repomd generate same SHA1 prefixes for all metadata files. The prefix should be different and depend on files content.

The job #29 assigned to @sammers21/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; @sammers21/z is not a member of this project yet, but they can request to join, as §1 explains; we should be aware that @sammers21/z is on vacation; this ticket may be delayed; there will be no monetary reward for this job

In all the cases SHA1 prefix is equals to da39a3ee5e6b4b0d3255bfef95601890afd80709

@g4s8/z I see that you unassigned this issue; the order is still assigned to @sammers21/z though; to cancel the order use refuse, as in §6

The job #29 assigned to @g4s8/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be no monetary reward for this job

There is an unrecoverable failure on my side. Please, submit it here:
PID: 11@bf238f2eb839, thread: PQ-CT2E6TK9B
com.jcabi.xml.StrictXML[124] java.lang.IllegalArgumentException: 2 error(s) in XML document: -1:-1: cvc-pattern-valid: Value 'gh:Adapter back end integration' is not facet-valid with respect to pattern '[a-z]{2}:[A-Z0-9a-z.\-#/]+' for type 'milestoneID'.;-1:-1: cvc-complex-type.2.2: Element 'successor' must have no element [children], and the value must be valid.

0.51.11: CID: d6b3513c-0acb-44be-a365-882b43cb9bb1, Type: "Job milestoned"

@rultor release, tag=0.3.1

@rultor release, tag=0.3.1

@g4s8 OK, I will release it now. Please check the progress here

@rultor release, tag=0.3.1

@g4s8 Done! FYI, the full log is here (took me 20min)

@rultor release, tag=0.3.2

@g4s8 the puzzle #41 is still not solved.

@rultor release, tag=0.3.2

@g4s8 OK, I will release it now. Please check the progress here

@rultor release, tag=0.3.2

@g4s8 Done! FYI, the full log is here (took me 13min)

Job was finished in 46 hours, bonus for fast delivery is possible (see §36)

@g4s8 2 puzzles #60, #61 are still not solved; solved: #41.

@g4s8 all 3 puzzles are solved here: #41, #60, #61.


Allow file save from ctrl-tab menu

Often when editing multiple files, the user may not remember to save each file as they are edited. They must subsequently return to each window in turn before being able to save it. Sublime Text had the feature that allowed you, while navigating the editor list (via ctrl-tab) , to identify dirty files (via the tailing bullet) and then save the currently focussed item in the list using the standard ctrl-s shortcut, without having to first focus the window.
It would be great to port this piece of UX, which I always thought elegant.

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


-h overridable in subcommand but --help is not

Rust Version
rustc 1.23.0-nightly (a35a3abcd 2017-11-10)
Affected Version of clap
2.27.1
Expected Behavior Summary
> target/debug/foo bar -h
> target/debug/foo bar --help
>

Actual Behavior Summary
> target/debug/foo bar -h
> target/debug/foo bar --help
foo-bar

USAGE:
    foo bar [FLAGS]

FLAGS:
    -h
        --help
    -V, --version    Prints version information
>

Sample Code or Link to Sample Code
extern crate clap;

fn main() {
    let _ = clap::App::new("foo")
        .subcommand(
            clap::SubCommand::with_name("bar")
                .arg(clap::Arg::with_name("help1").short("h"))
                .arg(clap::Arg::with_name("help2").long("help"))
        )
        .get_matches();
}

Debug output
gist

Thanks for filing this, it should be an easy fix!


Typescript definitions are not included in the distributed package

Describe the bug
Typescript definitions are not included in the built package.
Version
0.12.1
To Reproduce
Steps to reproduce the behavior:

yarn run build
Inspect the build directory

Or, check the distributed package contents.
Expected behavior
index.d.ts should be included in the built/distributed package.
Additional context
See #77

A fix is out in v0.12.2. Please let me know if anything doesn't work as expected.


  Currently, NewsBlur has uses the default Amazon S3 hostname.  Many of these services use the S3 API and can be used as drop-in replacement's for Amazon's service.
I would like to request that a couple new configuration options be added:
S3_HOSTNAME
S3_PORT
This could be set to Amazon's by default, but can be customized if needed.
The boto library does allow for setting a custom host and port, as well as proxy if necessary when creating the S3Connection instance.

Would be happy to accept a pull request on this.


listRepos endpoint

GET /portal/admin/repos/:kind/:delivId/:date
:date is optional
:kind can be [ latest, maxScore ] // add more here as they are identified

What would maxscore or latest look like? Is there multiple repositories for one assignment?


Improvement: Font color of docs is very light, causing difficulties in reading

good point. I bumped the default font size up in this commit https://github.com/driftyco/ionic-site/commit/c90d3f8bac85732b7b4735cb2311ed25fe4f8db4#diff-43412193969093ad0eeeaeea320a4d86R86


Update Safari version for (typed) array of()

The correct version for typed arrays was carefully researched here:
https://github.com/mdn/browser-compat-data/pull/23319
This changes the Baseline low date by 1 year.

Oh wait, there are more features. I'll do them all in one PR.


querying.getvav() --> end_time not working?

expt = '1deg_jra55v13_iaf_spinup1_B1'  # 1-deg experiment
variable = 'sea_level'

end_date = '1994-01-17'
ssh1 = cc.querying.getvar(expt, variable, session, end_time=end_date)
print(ssh1)

<xarray.DataArray 'sea_level' (time: 480, yt_ocean: 300, xt_ocean: 360)>
dask.array<concatenate, shape=(480, 300, 360), dtype=float32, chunksize=(1, 300, 360), chunktype=numpy.ndarray>
Coordinates:
  * yt_ocean  (yt_ocean) float64 -77.88 -77.63 -77.38 ... 88.87 89.32 89.77
  * xt_ocean  (xt_ocean) float64 -279.5 -278.5 -277.5 -276.5 ... 77.5 78.5 79.5
  * time      (time) object 1958-01-16 12:00:00 ... 1997-12-16 12:00:00
Attributes:
    long_name:      effective sea level (eta_t + patm/(rho0*g)) on T cells
    units:          meter
    valid_range:    [-1000.  1000.]
    cell_methods:   time: mean
    time_avg_info:  average_T1,average_T2,average_DT
    coordinates:    geolon_t geolat_t
    standard_name:  sea_surface_height_above_geoid

From the cc.querying.getvar() docstring:

Note that if start_time and/or end_time are used, the time range
of the resulting dataset may not be bounded exactly on those
values, depending on where the underlying files start/end. Use
dataset.sel() to exactly select times from the dataset.


Question: Current time line show on incorrect position!!

First thanks very much for so useful Library.
I’m working on customizing CalendarKit. And when i’m changed default timezone of application to GMT using
NSTimeZone* GMT = [NSTimeZone timeZoneWithAbbreviation:@"GMT"];
[NSTimeZone setDefaultTimeZone:GMT];
The today current time line shown on incorrect position as bellow.

I’m focus on TimelineView.swift’s
var currentTime: Date {
return Date()
}
but i don’t know how to fix. Could you help me that please?

@fatenumber25 this feature is not supported.
I'm planning to fix the bug this week. Thank you for the report.

@richardtop Thanks for your reply :)
Happy to wait your update!!

@fatenumber25 could you please check whether the bug has been fixed in the master branch of this repository?
For integration assistance refer to "How to install a pod from a specific branch?
"


IRGen: Use clang::DeclContext::noload_decls() in place of ...::decls()

We end up spending a significant amount of time inside decls(), which
calls LoadLexicalDeclsFromExternalStorage(). In particular, in batch-mode
builds, we repeat this work for every translation unit. When building
swift-syntax with 5.3 vs 5.4, I see an increase in IRGen time from
2.9 seconds to 8.4 seconds.
Let's try to bypass that by using noload_decls() instead.
Fixes rdar://problem/73951264.

@martinboehme Does this look like a reasonable fix to you?

Ok, this breaks the lto_autolink test unfortunately. @kateinoigakukun any ideas how we can get this information without deserializing everything?

Ok, this breaks the lto_autolink test unfortunately. @kateinoigakukun any ideas how we can get this information without deserializing everything?

Sorry I have no idea how to get pragmas without loading all decls.

@kateinoigakukun @martinboehme I changed the fix to narrow it down to Windows and LTO. This makes the existing tests pass while recovering the performance regression in the common case.

@swift-ci Please smoke test


Calling AZURE AD from internal webapp

Hi,
I'm currently using the method outlined in this article.
However I my app can only access the Azure authentication endpoint through a proxy.
How do I go about implementing this?
The webapp is allowed to call AWS lamda functions and I've tried using it to proxy but get an invalid cookie error.
Are there samples of how I should set up this lamda function?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f81a334a-eccc-b862-1a45-e58d151b8621
Version Independent ID: cee85377-c930-2e20-715d-004e5431a92f
Content: Configure a web app that calls web APIs - Microsoft identity platform
Content Source: articles/active-directory/develop/scenario-web-app-call-api-app-configuration.md
Service: active-directory
Sub-service: develop
GitHub Login: @jmprieur
Microsoft Alias: jmprieur

@weirdyang Thanks for reaching out. We will check and get back to you.

@weirdyang Your query is not related to the reference document. I am helping you to open support ticket for this to help you further.
Please send us an email on azcommunity [at] microsoft [dot] com referencing this issue along with your Azure subscription Id with a subject line "ATTN:shweta" and we will help you with alternative support options on this.


Make TaskContainer Extensible

Currently, we cannot register interfaces and default implementations for Tasks.
We want to be able to do this for the Test task

@bot-gradle test qfl

OK, I've already triggered the following builds for you:

QuickFeedbackLinux build

@bot-gradle test qfl

OK, I've already triggered the following builds for you:

QuickFeedbackLinux build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test qfl

OK, I've already triggered the following builds for you:

QuickFeedbackLinux build

@bot-gradle test qfl

OK, I've already triggered the following builds for you:

QuickFeedbackLinux build

@bot-gradle test qfl

We probably don't want to make the task container extensible in this way. We should have some special, perhaps internal, API on TaskContainer which does this.
The main reason we don't want to follow through with this path is since we probably don't want the groovy syntactic sugar on the task container -- or at least this would be a big DSL change and I don't think we should necessarily have the taskName(ClassName) syntax without thinking bigger picture.


application.getAppByName: Add 'directly_accessible' convenience filter

Resolves: #1163
See: https://www.flowdock.com/app/rulemotion/i-cli/threads/VnT1qqVb13PkQO_GnPsKZB1l_fZ
Change-type: minor
Signed-off-by: Thodoris Greasidis<EMAIL_ADDRESS>
Resolves: #
HQ:
See:
Depends-on:
Change-type: major|minor|patch

Contributor checklist

[ ] Includes tests
[ ] Includes typings
[ ] Includes updated documentation
[ ] Includes updated build output

@balena-ci I self-certify!


Add docs for reading Dockerfile from stdin

Docs for #31236
Also fixes an import.
Any suggestion for other docs to update?
cc @thaJeztah @tonistiigi @vdemeester

Looks like the man-page needs a change as well https://github.com/docker/docker/blob/master/man/docker-build.1.md

Updated the docs


Fix: translation_code_id is used instead of locale_id for Locale (issue #4623)

1. Why is this change necessary?
It fixes https://github.com/shopware/shopware/issues/4623
2. What does this change do, exactly?
Use locale_id for Locale
3. Describe each step to reproduce the issue or behaviour.
See issue
4. Please link to the relevant issues (if any).
https://github.com/shopware/shopware/issues/4623
5. Checklist

[x] I have rebased my changes to remove merge conflicts
[ ] I have written tests and verified that they fail without my change
[ ] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

hey @audaki
thanks for your (first :tada:) contribution :+1:
would you mind adding a test for your change? Also a changelog is missing (see https://github.com/shopware/shopware/blob/trunk/CONTRIBUTING.md)

Hey @audaki ,
thanks again for your PR. However i will close this due to inactivity for now, when you get around adding a test and changelog feel free to open it up again.

hey @audaki
any news here? :slightly_smiling_face:


Work in GovCloud(s)

Issue
Users need to perform manual changes to get template and samples code working in Azure US Gov (a National Cloud). These changes are minimal but obtrusive as we don't describe when a user would normally perform these changes (which is reliant on whether the user is using Public Azure or a National Cloud).
This also adds friction in that the samples in botbuilder-samples aren't as easily deployable as deploying to Public Azure (no code changes required).
Proposed change
Clean up BotFrameworkAdapter by having it check/default for BotOpenIdMetadata and ChannelService environment variables in the constructor/initializer in JS and Python.
These variables are configured in our deployment settings on Azure.
Component Impact

[ ] BotFrameworkAdapter (JS, Python)
[ ] AuthenticationConstants (JS, Python)

These are namespaced as Constants in botframework-connector and not exposed to the developer. In C# these constants are public.

Tracking Status
Dotnet SDK
PR: .netcore, needs update/fix
Javascript SDK
PR: microsoft/botbuilder-js#975

Cross linking TODO-type comment in PR #262.


Add http + https support

Currently can pull via https, should also support http (automatically determine by prefix/protocol)

IN PROGRESS: https://github.com/f11snipe/f11/pull/9


Add Linux support?

I see you have a MacOS version, any chance you may be adding Linux support as well?

Is it not working on Linux ? It should work if you have mono and/or dotnet installed.

Doesn’t seem to do much for me. I get this warning when enabling it.

The edge native module is not available at /home/sean/.vscode/extensions/prateekmahendrakar.prettyxml-0.8.1/node_modules/electron-edge-js/build/Release/edge_coreclr.node. You can use EDGE_NATIVE environment variable to provide alternate location of edge.node. If you need to build edge.node, follow build instructions for your platform at https://github.com/tjanczuk/edge

Aah. I kind of understand the issue,  I will have to compile it against Linux as well. I will try to do this ASAP.

@Moilleadoir I tried fixing this on Ubuntu 20, their is weird error I am not able to fix right now.
OSError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by )

2.29 is not present anymore , I will try bring this up on electron-edge-js and see if we get a solution.

I have added a backup option for linux , please check and let me know if it doesnt work.
Please note you need to install dotnet and have it in the path to make it work.

I am gonna create a linux VM and check. What OS are you on? @Moilleadoir

I’m using Manjaro with Cinnamon desktop.  The package I installed is visual-studio-code-bin from the Arch User Repository, which is the official MS binary.  The main (Community Repo) version is built from source and may not have all the same features as the MS distribution.
Honestly though, if you’re doing this for me, I’d say don’t bother as my use of it will be pretty minimal.  If you’re just doing it to improve your extension then I’m happy to help out.

@Moilleadoir I installed Ubuntu 20 LTS , it worked fine for me after following the steps

Install dotnet
Verify that you can run dotnet command on terminal
Install C# extension [https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.csharp]


⚠ Bofrost.at has degraded performance

In f2b711d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1828 ms

Resolved: Bofrost.at performance has improved in 6124a96.


Pytorch-lightning Ray plugin does not connect Ray cluster

I have set-up the Ray GPU cluster (g4dn.12xlarge workers) with ray up config.yaml and have installed all package dependencies within ray config.
However when I attempt distributed training I
MisconfigurationException: GPUs requested but none are available.
This is the code - any suggestions would be most appreciated!
import nemo
# NeMo's ASR collection - this collections contains complete ASR models and
# building blocks (modules) for ASR
import nemo.collections.asr as nemo_asr
try:
    from ruamel.yaml import YAML
except ModuleNotFoundError:
    from ruamel_yaml import YAML
config_path = 'config.yaml'

yaml = YAML(typ='safe')
with open(config_path) as f:
    params = yaml.load(f)
import pytorch_lightning as pl

from ray_lightning import RayPlugin

plugin = RayPlugin(num_workers=12, cpus_per_worker=20, use_gpu=True)
trainer = pl.Trainer(gpus = -1, max_epochs=4, plugins=[plugin])

from omegaconf import DictConfig
params['model']['train_ds']['manifest_filepath'] = '/home/ubuntu/train/dev_clean.json'
params['model']['validation_ds']['manifest_filepath'] = '/home/ubuntu/train/dev_clean.json'
first_asr_model = nemo_asr.models.EncDecCTCModel(cfg=DictConfig(params['model']), trainer=trainer)

trainer.fit(first_asr_model)

And Ray config
# An unique identifier for the head node and workers of this cluster.
cluster_name: default

# The maximum number of workers nodes to launch in addition to the head
# node.
max_workers: 4

# The autoscaler will scale up the cluster faster with higher upscaling speed.
# E.g., if the task requires adding more nodes then autoscaler will gradually
# scale up the cluster in chunks of upscaling_speed*currently_running_nodes.
# This number should be > 0.
upscaling_speed: 1.0

# This executes all commands on all nodes in the docker container,
# and opens all the necessary ports to support the Ray cluster.
# Empty string means disabled.
docker:
    image: "150111280874.dkr.ecr.ap-northeast-2.amazonaws.com/nvidia-nemo" # You can change this to latest-cpu if you don't need GPU support and want a faster startup
    # image: rayproject/ray:latest-gpu   # use this one if you don't need ML dependencies, it's faster to pull
    container_name: "ray_container"
    # If true, pulls latest version of image. Otherwise, `docker run` will only pull the image
    # if no cached version is present.
    pull_before_run: True
    run_options:   # Extra options to pass into "docker run"
        - --ulimit nofile=65536:65536

    # Example of running a GPU head with CPU workers
    # head_image: "rayproject/ray-ml:latest-gpu"
    # Allow Ray to automatically detect GPUs

    # worker_image: "rayproject/ray-ml:latest-cpu"
    # worker_run_options: []

# If a node is idle for this many minutes, it will be removed.
idle_timeout_minutes: 5

# Cloud-provider specific configuration.
provider:
    type: aws
    region: ap-northeast-2
    # Availability zone(s), comma-separated, that nodes may be launched in.
    # Nodes are currently spread between zones by a round-robin approach,
    # however this implementation detail should not be relied upon.
    availability_zone: ap-northeast-2a,ap-northeast-2b
    # Whether to allow node reuse. If set to False, nodes will be terminated
    # instead of stopped.
    cache_stopped_nodes: True # If not present, the default is True.
    security_group:
        GroupName: ray_client_security_group
        IpPermissions:
              - FromPort: 10001
                ToPort: 10001
                IpProtocol: TCP
                IpRanges:
                    # This will enable inbound access from ALL IPv4 addresses.
                    - CidrIp: <IP_ADDRESS>/0

# How Ray will authenticate with newly launched nodes.
auth:
    ssh_user: ubuntu
# By default Ray creates a new private keypair, but you can also use your own.
# If you do so, make sure to also set "KeyName" in the head and worker node
# configurations below.
#    ssh_private_key: /path/to/your/key.pem

# Tell the autoscaler the allowed node types and the resources they provide.
# The key is the name of the node type, which is just for debugging purposes.
# The node config specifies the launch config and physical instance type.
available_node_types:
    ray.head.default:
        # The node type's CPU and GPU resources are auto-detected based on AWS instance type.
        # If desired, you can override the autodetected CPU and GPU resources advertised to the autoscaler.
        # You can also set custom resources.
        # For example, to mark a node type as having 1 CPU, 1 GPU, and 5 units of a resource called "custom", set
        # resources: {"CPU": 1, "GPU": 1, "custom": 5}
        resources: {}
        # Provider-specific config for this node type, e.g. instance type. By default
        # Ray will auto-configure unspecified fields such as SubnetId and KeyName.
        # For more documentation on available fields, see:
        # http://boto3.readthedocs.io/en/latest/reference/services/ec2.html#EC2.ServiceResource.create_instances
        node_config:
            InstanceType: m5.large
            ImageId: ami-0047595ba1dead337 # Deep Learning AMI (Ubuntu) Version 30
            # You can provision additional disk space with a conf as follows
            BlockDeviceMappings:
                - DeviceName: /dev/sda1
                  Ebs:
                      VolumeSize: 200
            # Additional options in the boto docs.
    ray.worker.default:
        # The minimum number of worker nodes of this type to launch.
        # This number should be >= 0.
        min_workers: 0
        # The maximum number of worker nodes of this type to launch.
        # This takes precedence over min_workers.
        max_workers: 4
        # The node type's CPU and GPU resources are auto-detected based on AWS instance type.
        # If desired, you can override the autodetected CPU and GPU resources advertised to the autoscaler.
        # You can also set custom resources.
        # For example, to mark a node type as having 1 CPU, 1 GPU, and 5 units of a resource called "custom", set
        # resources: {"CPU": 1, "GPU": 1, "custom": 5}
        resources: {}
        # Provider-specific config for this node type, e.g. instance type. By default
        # Ray will auto-configure unspecified fields such as SubnetId and KeyName.
        # For more documentation on available fields, see:
        # http://boto3.readthedocs.io/en/latest/reference/services/ec2.html#EC2.ServiceResource.create_instances
        node_config:
            InstanceType: g4dn.12xlarge
            IamInstanceProfile:
                Arn: arn:aws:iam::150111280874:instance-profile/ray-worker-v1
            ImageId: ami-0047595ba1dead337 # Deep Learning AMI (Ubuntu) Version 30
            # Run workers on spot by default. Comment this out to use on-demand.
            # NOTE: If relying on spot instances, it is best to specify multiple different instance
            # types to avoid interruption when one instance type is experiencing heightened demand.
            # Demand information can be found at https://aws.amazon.com/ec2/spot/instance-advisor/
            InstanceMarketOptions:
                MarketType: spot
                # Additional options can be found in the boto docs, e.g.
                #   SpotOptions:
                #       MaxPrice: MAX_HOURLY_PRICE
            # Additional options in the boto docs.

# Specify the node type of the head node (as configured above).
head_node_type: ray.head.default

# Files or directories to copy to the head and worker nodes. The format is a
# dictionary from REMOTE_PATH: LOCAL_PATH, e.g.
file_mounts: {
#    "/path2/on/remote/machine": "/path2/on/local/machine",
}

# Files or directories to copy from the head node to the worker nodes. The format is a
# list of paths. The same path on the head node will be copied to the worker node.
# This behavior is a subset of the file_mounts behavior. In the vast majority of cases
# you should just use file_mounts. Only use this if you know what you're doing!
cluster_synced_files: []

# Whether changes to directories in file_mounts or cluster_synced_files in the head node
# should sync to the worker node continuously
file_mounts_sync_continuously: False

# Patterns for files to exclude when running rsync up or rsync down
rsync_exclude:
    - "**/.git"
    - "**/.git/**"

# Pattern files to use for filtering out files when running rsync up or rsync down. The file is searched for
# in the source directory and recursively through all subdirectories. For example, if .gitignore is provided
# as a value, the behavior will match git's behavior for finding and using .gitignore files.
rsync_filter:
    - ".gitignore"

# List of commands that will be run before `setup_commands`. If docker is
# enabled, these commands will run outside the container and before docker
# is setup.
initialization_commands:
  - |
    # Setup amazon-ecr-credential-helper to automatically renew docker login credentials for AWS ECR
    wget https://amazon-ecr-credential-helper-releases.s3.us-east-2.amazonaws.com/0.5.0/linux-amd64/docker-credential-ecr-login
    sudo install -o root -g root -m 0755 docker-credential-ecr-login /usr/local/bin/docker-credential-ecr-login
    mkdir -p $HOME/.docker
    echo '{"credsStore": "ecr-login"}' > $HOME/.docker/config.json

# List of shell commands to run to set up nodes.
setup_commands: []
    # Note: if you're developing Ray, you probably want to create a Docker image that
    # has your Ray repo pre-cloned. Then, you can replace the pip installs
    # below with a git checkout <your_sha> (and possibly a recompile).
    # To run the nightly version of ray (as opposed to the latest), either use a rayproject docker image
    # that has the "nightly" (e.g. "rayproject/ray-ml:nightly-gpu") or uncomment the following line:
    # - pip install -U "ray[default] @ https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-2.0.0.dev0-cp37-cp37m-manylinux2014_x86_64.whl"

# Custom commands that will be run on the head node after common setup.
head_setup_commands: []

# Custom commands that will be run on worker nodes after common setup.
worker_setup_commands: []

# Command to start ray on the head node. You don't need to change this.
head_start_ray_commands:
    - ray stop
    - ray start --head --port=6379 --object-manager-port=8076 --autoscaling-config=~/ray_bootstrap_config.yaml

# Command to start ray on worker nodes. You don't need to change this.
worker_start_ray_commands:
    - ray stop
    - ray start --address=$RAY_HEAD_IP:6379 --object-manager-port=8076

@sergii-ivakhno-kidsloop could you share the full stack trace? I think you would just need to remove the gpus=-1 arg from the Trainer since you already have use_gpu=True set in the RayPlugin. The Pytorch Lightning Trainer is not aware of Ray's autoscaling so since your head node has no GPUs, I think it's immediately failing.

And also can you try with adding ray.init("auto") at the beginning of your script.


New Filter Criteria

Can we filter the test by string-like (Region Name = MW, etc) instead of min and max values?

@Ariel044 see the https://github.com/microsoft/PowerBI-Tools-For-Capacities/tree/master/RealisticLoadTestTool folder which has this feature.


The pedestal

The pedestal in tut2 blends into the surrounding blocks to well

Added it to the art to do :)


Nanosecond timestamp fix

Pull Request Test Coverage Report for Build 525189019

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 27.132%

Totals

Change from base Build 525170201:
0.0%

Covered Lines:
1193

Relevant Lines:
4397

💛  - Coveralls

Pull Request Test Coverage Report for Build 525189019

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 27.132%

Totals

Change from base Build 525170201:
0.0%

Covered Lines:
1193

Relevant Lines:
4397

💛  - Coveralls


Pkomoro patch 1

Extended usage guide with comments within examples.

To check Readme conveniently:
https://github.com/bbrozyna/light-propagation/blob/pkomoro-patch-1/README.md

Opened #19 to fix later


Get HTTPS set up using letsencrypt.org

Google sent a warning telling us that Chrome will soon start displaying insecure website warnings for our site soon. We just need to get an SSL certificate set up on the server.
https://letsencrypt.org/

Done! Upgraded Ubuntu, migrated to new hardware at Digital Ocean, and used Certbot to set up SSL for lakeafton.com and www.lakeafton.com


[W4.4h][T13-4]Novin Tong Yong Kang

Ready for Review

@novin997
Some comments added. Please close the PR after reading them.


Run Time error

Using this example to decide about using Core3 instead of Framework +MEF.  Wanting to step through the code  to get a  better idea of what goes on but get run time error
"An assembly specified in the application dependencies manifest (AppWithPlugin.deps.json) was not found:
package: 'PluginBase', version: '1.0.0'
path: 'PluginBase.dll'"
Compiled with VS2019 16.3 core3.0.100? Net 2.1
Literally only had 2 days exposure to NetCore so if this is an obvious problem then my apologies

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 06023407-704f-0ace-e89a-eedd9f95a007
Version Independent ID: f25a6e1a-cb10-867b-0522-a377bf9d016b
Content: Create a .NET Core application with plugins - .NET Core
Content Source: docs/core/tutorials/creating-app-with-plugin-support.md
Product: dotnet-core
GitHub Login: @jkoritzinsky
Microsoft Alias: jekoritz

Found it.  Message was telling me there was an unwanted dependency not a missing one.  Surprised this was not flagged in build but left to call a runtime error  Lot of new stuff to learn!!


Upgrade Shader Editor

upgrade to latest codemiror
upgrade code mirror addons
seperate folder upong different submodules (so that we can migrate to
submodules for codemirror, shadereditor, glsl-optimzer)
make shader editor independant of chrome extensions so that it's
reusable otw. (as a vorlonjs plugin for isntance, for mobile shader
remote debug)
fixed a race condition (udpate a shader while it's being used.)
added "theme" option
added glsl preprocessor to clean uber shader to just what is used
enabled new codemirror addons (mathhilight on word select, fold block
or define block)
added search documentation on main page (seems noboby knows how it
works)

It's more of a preliminary RFC, gathering thoughts. Might be interested in Ideas if not in implementations.
Notes:

maybe need a "shader switcher" update block: only allow for editor shader switch once the shader is updated ? (still have bug if switching fast there)

VorlonJS usage of this branch will be in another repo I guess. perhaps it could be a subfolder though.
(debugging mobile shader is already an endless source of joy though, need to finish asap 👍 )

Usage of "inlet" rather than glslEditor https://github.com/patriciogonzalezvivo/glslEditor widgets is more lazyness than real UX thinking.  ( inlet give slider over those strange "2D" widget not sure, ideally perhaps show them all, and user choose what to use to edit his value)

debug breakpoint shader need some more work, CSS notably, but also UX (strange thing those + icons to be clicked)

Wow, these are a lot of changes! Thanks for all the hard work 👍
I'm going to check them all one by one and reply to the ticket.

Thanks for taking the time, and I'm Sorry for the "big all at once PR"
if you're interested in the vorlonjs plugin for remote debugging (think mobile)
https://dl.dropboxusercontent.com/u/2024901/shaderEditor.7z
Once you installed vorlon, that would go into VorlonJS folder into Server\public\vorlon\plugins\shaderEditor and ShaderEditorExtension should be a subfolder of it
( also need an entry into the config.json at vorlonjs root I think )
At least seeing the code from vorlonjs plugin would explain the folder/files changes, allowing one codebase to be shared efficiently on multipl plugin types (chrome/vorlon)

Might be interested in further check now rather than later, as according to twitter you're making new debug & remote debug tools.
perfmeter/webvr could benefits from the "comm channels work" and thus work as remote debug tool on mobile using vorlonjs too, so that we can run them on gearVR for instance. (very painful to debug that one, as the "chrome android remote debug" flags is disabled, only vorlonjs works.
As said above,  could also lead to add your own websocket layers to handle message between client and remote, thus allowing you to do your own electron app as "server".
(your own as opposed to vorlonjs one)

I'm going to open different issues to discuss the different points :)

repushed & updated with webgl2 support
(just overriding the webgl2renderingcontext too and sending a webglVersion parameter with the messages )

@spite would it be ok if I publish it on chromewebstore
(needed for coworkers too lazy to install manually...) ?
I let nearly all same description but for a "FORK" postfix and link as much as possible to the "official extension" (yours)
ps: tried the refactor commit by commit, but honelsty hard to get motivation on the chore. I'll finish the debug thingy and then will get back to it with hopefully more motivation...

@spite published here https://chrome.google.com/webstore/detail/a-shader-editor-fork/mnigdhbfgdodhbceojeikcpahlfccaof if you want to test debugger etc (it's unlisted in the store, just link shareable and you need to deactivate the previous shader editor)

@spite  fyi three easy fixes that solved a lot of cases in my fork:

"run_at": "document_start" in manfest.json https://github.com/Kuranes/ShaderEditorExtension-Fork/blob/feature/upgrade/src/manifest.json#L15 (Fixes webgl context not hooked early enough, which makes for instance shaderEditor code not having extension enabled on client side)
handle shader webgl code that does shaderAttach then shaderSource  ( ecmsrcipten did that, see sketchup link above) see https://github.com/Kuranes/ShaderEditorExtension-Fork/blob/feature/upgrade/src/WebGLHooks/client_webgl.js#L781-L849
don't updateProgram on shaderEditor event, just tag program, and update on next client Code useProgram (as it's easier to change program if already in webgl current "state"): https://github.com/Kuranes/ShaderEditorExtension-Fork/blob/feature/upgrade/src/WebGLHooks/client_webgl.js#L858-L860


Documentation issues

The documentation of spring cloud has a number of issues

http://cloud.spring.io/spring-cloud-security/ : code snipplet does not compile
http://cloud.spring.io/spring-cloud-security/spring-cloud-security.html

Github link in intro section points to invalid location : https://github.com/spring-cloud/spring-cloud-security/tree/master/src/main/asciidoc
Groovy examples only run if the spring_home environment variable is properly set. If not set then the full group name and version has to be added to the @Grab annotation. This is common mistake and might be noted
Even after the groovy examples are running they don't behave as expected.

The first example with spring-boot-security does not ask for username, password, instead displays "authentication required"
The second example with spring-cloud-security redirects to localhost:8080/login and throws an exception "A redirect is required to get the users approval"

The sso and authserver examples are working, but they are much more complex then described in the manual.

@dsyer

Thanks for the heads up. That home page was just out of date (most of the features moved to Spring Boot in 1.3). Fixed in 26e9cbc.


Error with Phoenix 1.4?

I tried to use mongodb with Phoenix 1.4, but I got the following error:
Les-MacBook-Air:test_mongo lengocbichdiep$ iex -S mix
Erlang/OTP 21 [erts-10.2] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe] [dtrace]

Compiling 9 files (.ex)
Generated test_mongo app
[info] Application test_mongo exited: TestMongo.Application.start(:normal, []) returned an error: shutdown: failed to start child: :mongo
    ** (EXIT) an exception was raised:
        ** (UndefinedFunctionError) function Mongo.start_link/1 is undefined or private
            (mongodb) Mongo.start_link([name: :mongo, database: nil])
            (stdlib) supervisor.erl:379: :supervisor.do_start_child_i/3
            (stdlib) supervisor.erl:365: :supervisor.do_start_child/2
            (stdlib) supervisor.erl:349: anonymous fn/3 in :supervisor.start_children/2
            (stdlib) supervisor.erl:1157: :supervisor.children_map/4
            (stdlib) supervisor.erl:315: :supervisor.init_children/2
            (stdlib) gen_server.erl:374: :gen_server.init_it/2
            (stdlib) gen_server.erl:342: :gen_server.init_it/6
            (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
** (Mix) Could not start application test_mongo: TestMongo.Application.start(:normal, []) returned an error: shutdown: failed to start child: :mongo
    ** (EXIT) an exception was raised:
        ** (UndefinedFunctionError) function Mongo.start_link/1 is undefined or private
            (mongodb) Mongo.start_link([name: :mongo, database: nil])
            (stdlib) supervisor.erl:379: :supervisor.do_start_child_i/3
            (stdlib) supervisor.erl:365: :supervisor.do_start_child/2
            (stdlib) supervisor.erl:349: anonymous fn/3 in :supervisor.start_children/2
            (stdlib) supervisor.erl:1157: :supervisor.children_map/4
            (stdlib) supervisor.erl:315: :supervisor.init_children/2
            (stdlib) gen_server.erl:374: :gen_server.init_it/2
            (stdlib) gen_server.erl:342: :gen_server.init_it/6
            (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3

I pushed my code here https://github.com/tranngocsam/test-phoenix-1.4-with-mongodb
What am I doing wrong? I tested mongodb with a mix app, and it can connect with MongoDB (Mongo.start_link/1 works)

It's my fault. I didn't specify the latest version of mongodb


[Metadata] Add support for high-level metadata to promote data re-use

DataShuttle could/should implement the idea in https://github.com/neuroinformatics-unit/SWC-Blueprint/issues/30
This is linked to #16, but broader in scope.

Some labs also use a database syste, not fully integrated by have a database running on the cluster that takes session metadata and stores it. In general it is nice to have a database to get a full overveiw of projects. I don't think we want to go as far as providing databases ourselves but is an important consideration for metadata standards i.e. making easily compatable with database calls (I have no idea about any of that, I'm sure what Allen use has it considered).