'gs_death': illegal use of this type as an expression

Windows 10, Visual Studio 2015, 64-bit, latest Urho3D github code, latest USP github code.
1>------ Skipped Build: Project: RUN_TESTS, Configuration: Release x64 ------
1>Project not selected to build for this solution configuration
2>------ Build started: Project: Urho-Sample-Platformer, Configuration: Release x64 ------
2>  gs_death.cpp
2>c:\users\bvanevery\devel\urho-sample-platformer\source\misc.h(91): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>c:\users\bvanevery\devel\urho-sample-platformer\source\misc.h(102): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>c:\users\bvanevery\devel\urho-sample-platformer\source\misc.h(111): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_death.cpp(52): error C2275: 'gs_death': illegal use of this type as an expression
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_death.cpp(52): error C3867: 'gs_death::HandleRestartPressed': non-standard syntax; use '&' to create a pointer to member
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_death.cpp(52): error C3861: 'HANDLER': identifier not found
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_death.cpp(70): error C2275: 'gs_death': illegal use of this type as an expression
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_death.cpp(70): error C3867: 'gs_death::HandleMainMenuPressed': non-standard syntax; use '&' to create a pointer to member
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_death.cpp(70): error C3861: 'HANDLER': identifier not found
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_death.cpp(81): error C2259: 'gs_playing': cannot instantiate abstract class
2>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_death.cpp(81): note: due to following members:
2>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_death.cpp(81): note: 'const Urho3D::TypeInfo *Urho3D::Object::GetTypeInfo(void) const': is abstract
2>  c:\program files\urho3d\include\urho3d\core\../Core/Object.h(93): note: see declaration of 'Urho3D::Object::GetTypeInfo'
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_death.cpp(87): error C2259: 'gs_main_menu': cannot instantiate abstract class
2>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_death.cpp(87): note: due to following members:
2>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_death.cpp(87): note: 'const Urho3D::TypeInfo *Urho3D::Object::GetTypeInfo(void) const': is abstract
2>  c:\program files\urho3d\include\urho3d\core\../Core/Object.h(93): note: see declaration of 'Urho3D::Object::GetTypeInfo'
2>  gs_level_end.cpp
2>c:\users\bvanevery\devel\urho-sample-platformer\source\misc.h(91): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>c:\users\bvanevery\devel\urho-sample-platformer\source\misc.h(102): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>c:\users\bvanevery\devel\urho-sample-platformer\source\misc.h(111): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_level_end.cpp(60): error C2275: 'gs_level_end': illegal use of this type as an expression
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_level_end.cpp(60): error C3867: 'gs_level_end::HandleRestartPressed': non-standard syntax; use '&' to create a pointer to member
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_level_end.cpp(60): error C3861: 'HANDLER': identifier not found
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_level_end.cpp(81): error C2275: 'gs_level_end': illegal use of this type as an expression
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_level_end.cpp(81): error C3867: 'gs_level_end::HandleMainMenuPressed': non-standard syntax; use '&' to create a pointer to member
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_level_end.cpp(81): error C3861: 'HANDLER': identifier not found
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_level_end.cpp(92): error C2259: 'gs_playing': cannot instantiate abstract class
2>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_level_end.cpp(92): note: due to following members:
2>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_level_end.cpp(92): note: 'const Urho3D::TypeInfo *Urho3D::Object::GetTypeInfo(void) const': is abstract
2>  c:\program files\urho3d\include\urho3d\core\../Core/Object.h(93): note: see declaration of 'Urho3D::Object::GetTypeInfo'
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_level_end.cpp(98): error C2259: 'gs_main_menu': cannot instantiate abstract class
2>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_level_end.cpp(98): note: due to following members:
2>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_level_end.cpp(98): note: 'const Urho3D::TypeInfo *Urho3D::Object::GetTypeInfo(void) const': is abstract
2>  c:\program files\urho3d\include\urho3d\core\../Core/Object.h(93): note: see declaration of 'Urho3D::Object::GetTypeInfo'
2>  gs_main_menu.cpp
2>c:\users\bvanevery\devel\urho-sample-platformer\source\misc.h(91): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>c:\users\bvanevery\devel\urho-sample-platformer\source\misc.h(102): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>c:\users\bvanevery\devel\urho-sample-platformer\source\misc.h(111): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_main_menu.cpp(87): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_main_menu.cpp(146): warning C4018: '<': signed/unsigned mismatch
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_main_menu.cpp(178): error C2275: 'gs_main_menu': illegal use of this type as an expression
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_main_menu.cpp(178): error C3867: 'gs_main_menu::HandlePlayPressed': non-standard syntax; use '&' to create a pointer to member
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_main_menu.cpp(178): error C3861: 'HANDLER': identifier not found
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_main_menu.cpp(197): error C2275: 'gs_main_menu': illegal use of this type as an expression
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_main_menu.cpp(197): error C3867: 'gs_main_menu::HandleClosePressed': non-standard syntax; use '&' to create a pointer to member
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_main_menu.cpp(197): error C3861: 'HANDLER': identifier not found
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_main_menu.cpp(203): error C2275: 'gs_main_menu': illegal use of this type as an expression
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_main_menu.cpp(203): error C3867: 'gs_main_menu::update': non-standard syntax; use '&' to create a pointer to member
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_main_menu.cpp(203): error C3861: 'HANDLER': identifier not found
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_main_menu.cpp(204): error C2275: 'gs_main_menu': illegal use of this type as an expression
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_main_menu.cpp(204): error C3867: 'gs_main_menu::HandleKeyDown': non-standard syntax; use '&' to create a pointer to member
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_main_menu.cpp(204): error C3861: 'HANDLER': identifier not found
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_main_menu.cpp(251): warning C4018: '<': signed/unsigned mismatch
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_main_menu.cpp(267): error C2259: 'gs_playing': cannot instantiate abstract class
2>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_main_menu.cpp(267): note: due to following members:
2>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_main_menu.cpp(267): note: 'const Urho3D::TypeInfo *Urho3D::Object::GetTypeInfo(void) const': is abstract
2>  c:\program files\urho3d\include\urho3d\core\../Core/Object.h(93): note: see declaration of 'Urho3D::Object::GetTypeInfo'
2>  gs_pause.cpp
2>c:\users\bvanevery\devel\urho-sample-platformer\source\misc.h(91): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>c:\users\bvanevery\devel\urho-sample-platformer\source\misc.h(102): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>c:\users\bvanevery\devel\urho-sample-platformer\source\misc.h(111): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(55): error C2275: 'gs_pause': illegal use of this type as an expression
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(55): error C3867: 'gs_pause::HandleResumePressed': non-standard syntax; use '&' to create a pointer to member
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(55): error C3861: 'HANDLER': identifier not found
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(74): error C2275: 'gs_pause': illegal use of this type as an expression
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(74): error C3867: 'gs_pause::HandleRestartPressed': non-standard syntax; use '&' to create a pointer to member
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(74): error C3861: 'HANDLER': identifier not found
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(92): error C2275: 'gs_pause': illegal use of this type as an expression
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(92): error C3867: 'gs_pause::HandleMainMenuPressed': non-standard syntax; use '&' to create a pointer to member
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(92): error C3861: 'HANDLER': identifier not found
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(110): error C2275: 'gs_pause': illegal use of this type as an expression
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(110): error C3867: 'gs_pause::HandleQuitPressed': non-standard syntax; use '&' to create a pointer to member
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(110): error C3861: 'HANDLER': identifier not found
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(116): error C2275: 'gs_pause': illegal use of this type as an expression
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(116): error C3867: 'gs_pause::HandleKeyDown': non-standard syntax; use '&' to create a pointer to member
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(116): error C3861: 'HANDLER': identifier not found
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(135): error C2259: 'gs_playing': cannot instantiate abstract class
2>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(135): note: due to following members:
2>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(135): note: 'const Urho3D::TypeInfo *Urho3D::Object::GetTypeInfo(void) const': is abstract
2>  c:\program files\urho3d\include\urho3d\core\../Core/Object.h(93): note: see declaration of 'Urho3D::Object::GetTypeInfo'
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(141): error C2259: 'gs_main_menu': cannot instantiate abstract class
2>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(141): note: due to following members:
2>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_pause.cpp(141): note: 'const Urho3D::TypeInfo *Urho3D::Object::GetTypeInfo(void) const': is abstract
2>  c:\program files\urho3d\include\urho3d\core\../Core/Object.h(93): note: see declaration of 'Urho3D::Object::GetTypeInfo'
2>  gs_playing.cpp
2>c:\users\bvanevery\devel\urho-sample-platformer\source\misc.h(91): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>c:\users\bvanevery\devel\urho-sample-platformer\source\misc.h(102): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>c:\users\bvanevery\devel\urho-sample-platformer\source\misc.h(111): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\gs_playing.cpp(4): fatal error C1083: Cannot open include file: 'Urho3D/ThirdParty/PugiXml/pugixml.hpp': No such file or directory
2>  main.cpp
2>c:\users\bvanevery\devel\urho-sample-platformer\source\misc.h(91): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>c:\users\bvanevery\devel\urho-sample-platformer\source\misc.h(102): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>c:\users\bvanevery\devel\urho-sample-platformer\source\misc.h(111): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\main.cpp(103): error C2275: 'USP': illegal use of this type as an expression
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\main.cpp(103): error C3867: 'USP::HandleKeyDown': non-standard syntax; use '&' to create a pointer to member
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\main.cpp(103): error C3861: 'HANDLER': identifier not found
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\main.cpp(112): error C2259: 'gs_main_menu': cannot instantiate abstract class
2>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\main.cpp(112): note: due to following members:
2>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\main.cpp(112): note: 'const Urho3D::TypeInfo *Urho3D::Object::GetTypeInfo(void) const': is abstract
2>  c:\program files\urho3d\include\urho3d\core\../Core/Object.h(93): note: see declaration of 'Urho3D::Object::GetTypeInfo'
2>C:\Users\bvanevery\devel\Urho-Sample-Platformer\Source\main.cpp(134): fatal error C1004: unexpected end-of-file found
2>  Generating Code...
3>------ Skipped Build: Project: ALL_BUILD, Configuration: Release x64 ------
3>Project not selected to build for this solution configuration
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 2 skipped ==========

Just pushed my project structure upgrade. Urho 1.4 needs another folder structure. It took quite a while due to CMake acting up on my system and me not having much time currently.
It's working again with GCC 4.9.2 and Urho 1.4. Is Visual Studio working now?
The errors seem weird, maybe your Urho from GitHub is different from the current stable 1.4, which I'm using and I would prefer to base the sample projects on the latest stable. We could make a branch for newer Urho versions. You could try to get it to run with the newer Urho version and push (request?) that so that others can use it easier with newer version or you could use Urho 1.4 and see if that works.

I don't get that error building against 1.4.  I do get other errors, which I'll file different bugs on.

Building against Urho3D 1.5+ which has the _WIN32 fix in it.
1>------ Build started: Project: Urho-Sample-Platformer, Configuration: Release x64 ------
1>  gs_death.cpp
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(91): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(102): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(111): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\game_state.h(65): error C3668: 'game_state::GetBaseType': method with override specifier 'override' did not override any base class methods
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_death.cpp(52): error C2275: 'gs_death': illegal use of this type as an expression
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_death.cpp(52): error C3867: 'gs_death::HandleRestartPressed': non-standard syntax; use '&' to create a pointer to member
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_death.cpp(52): error C3861: 'HANDLER': identifier not found
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_death.cpp(70): error C2275: 'gs_death': illegal use of this type as an expression
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_death.cpp(70): error C3867: 'gs_death::HandleMainMenuPressed': non-standard syntax; use '&' to create a pointer to member
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_death.cpp(70): error C3861: 'HANDLER': identifier not found
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_death.cpp(81): error C2259: 'gs_playing': cannot instantiate abstract class
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_death.cpp(81): note: due to following members:
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_death.cpp(81): note: 'const Urho3D::TypeInfo *Urho3D::Object::GetTypeInfo(void) const': is abstract
1>  c:\program files\urho3d\include\urho3d\core\../Core/Object.h(93): note: see declaration of 'Urho3D::Object::GetTypeInfo'
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_death.cpp(87): error C2259: 'gs_main_menu': cannot instantiate abstract class
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_death.cpp(87): note: due to following members:
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_death.cpp(87): note: 'const Urho3D::TypeInfo *Urho3D::Object::GetTypeInfo(void) const': is abstract
1>  c:\program files\urho3d\include\urho3d\core\../Core/Object.h(93): note: see declaration of 'Urho3D::Object::GetTypeInfo'
1>  gs_level_end.cpp
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(91): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(102): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(111): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\game_state.h(65): error C3668: 'game_state::GetBaseType': method with override specifier 'override' did not override any base class methods
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_level_end.cpp(60): error C2275: 'gs_level_end': illegal use of this type as an expression
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_level_end.cpp(60): error C3867: 'gs_level_end::HandleRestartPressed': non-standard syntax; use '&' to create a pointer to member
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_level_end.cpp(60): error C3861: 'HANDLER': identifier not found
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_level_end.cpp(81): error C2275: 'gs_level_end': illegal use of this type as an expression
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_level_end.cpp(81): error C3867: 'gs_level_end::HandleMainMenuPressed': non-standard syntax; use '&' to create a pointer to member
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_level_end.cpp(81): error C3861: 'HANDLER': identifier not found
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_level_end.cpp(92): error C2259: 'gs_playing': cannot instantiate abstract class
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_level_end.cpp(92): note: due to following members:
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_level_end.cpp(92): note: 'const Urho3D::TypeInfo *Urho3D::Object::GetTypeInfo(void) const': is abstract
1>  c:\program files\urho3d\include\urho3d\core\../Core/Object.h(93): note: see declaration of 'Urho3D::Object::GetTypeInfo'
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_level_end.cpp(98): error C2259: 'gs_main_menu': cannot instantiate abstract class
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_level_end.cpp(98): note: due to following members:
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_level_end.cpp(98): note: 'const Urho3D::TypeInfo *Urho3D::Object::GetTypeInfo(void) const': is abstract
1>  c:\program files\urho3d\include\urho3d\core\../Core/Object.h(93): note: see declaration of 'Urho3D::Object::GetTypeInfo'
1>  gs_main_menu.cpp
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(91): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(102): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(111): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\game_state.h(65): error C3668: 'game_state::GetBaseType': method with override specifier 'override' did not override any base class methods
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_main_menu.cpp(87): warning C4244: 'argument': conversion from 'int' to 'float', possible loss of data
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_main_menu.cpp(146): warning C4018: '<': signed/unsigned mismatch
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_main_menu.cpp(178): error C2275: 'gs_main_menu': illegal use of this type as an expression
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_main_menu.cpp(178): error C3867: 'gs_main_menu::HandlePlayPressed': non-standard syntax; use '&' to create a pointer to member
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_main_menu.cpp(178): error C3861: 'HANDLER': identifier not found
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_main_menu.cpp(197): error C2275: 'gs_main_menu': illegal use of this type as an expression
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_main_menu.cpp(197): error C3867: 'gs_main_menu::HandleClosePressed': non-standard syntax; use '&' to create a pointer to member
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_main_menu.cpp(197): error C3861: 'HANDLER': identifier not found
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_main_menu.cpp(203): error C2275: 'gs_main_menu': illegal use of this type as an expression
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_main_menu.cpp(203): error C3867: 'gs_main_menu::update': non-standard syntax; use '&' to create a pointer to member
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_main_menu.cpp(203): error C3861: 'HANDLER': identifier not found
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_main_menu.cpp(204): error C2275: 'gs_main_menu': illegal use of this type as an expression
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_main_menu.cpp(204): error C3867: 'gs_main_menu::HandleKeyDown': non-standard syntax; use '&' to create a pointer to member
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_main_menu.cpp(204): error C3861: 'HANDLER': identifier not found
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_main_menu.cpp(251): warning C4018: '<': signed/unsigned mismatch
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_main_menu.cpp(267): error C2259: 'gs_playing': cannot instantiate abstract class
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_main_menu.cpp(267): note: due to following members:
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_main_menu.cpp(267): note: 'const Urho3D::TypeInfo *Urho3D::Object::GetTypeInfo(void) const': is abstract
1>  c:\program files\urho3d\include\urho3d\core\../Core/Object.h(93): note: see declaration of 'Urho3D::Object::GetTypeInfo'
1>  gs_pause.cpp
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(91): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(102): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(111): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\game_state.h(65): error C3668: 'game_state::GetBaseType': method with override specifier 'override' did not override any base class methods
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(55): error C2275: 'gs_pause': illegal use of this type as an expression
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(55): error C3867: 'gs_pause::HandleResumePressed': non-standard syntax; use '&' to create a pointer to member
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(55): error C3861: 'HANDLER': identifier not found
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(74): error C2275: 'gs_pause': illegal use of this type as an expression
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(74): error C3867: 'gs_pause::HandleRestartPressed': non-standard syntax; use '&' to create a pointer to member
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(74): error C3861: 'HANDLER': identifier not found
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(92): error C2275: 'gs_pause': illegal use of this type as an expression
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(92): error C3867: 'gs_pause::HandleMainMenuPressed': non-standard syntax; use '&' to create a pointer to member
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(92): error C3861: 'HANDLER': identifier not found
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(110): error C2275: 'gs_pause': illegal use of this type as an expression
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(110): error C3867: 'gs_pause::HandleQuitPressed': non-standard syntax; use '&' to create a pointer to member
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(110): error C3861: 'HANDLER': identifier not found
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(116): error C2275: 'gs_pause': illegal use of this type as an expression
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(116): error C3867: 'gs_pause::HandleKeyDown': non-standard syntax; use '&' to create a pointer to member
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(116): error C3861: 'HANDLER': identifier not found
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(135): error C2259: 'gs_playing': cannot instantiate abstract class
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(135): note: due to following members:
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(135): note: 'const Urho3D::TypeInfo *Urho3D::Object::GetTypeInfo(void) const': is abstract
1>  c:\program files\urho3d\include\urho3d\core\../Core/Object.h(93): note: see declaration of 'Urho3D::Object::GetTypeInfo'
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(141): error C2259: 'gs_main_menu': cannot instantiate abstract class
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(141): note: due to following members:
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_pause.cpp(141): note: 'const Urho3D::TypeInfo *Urho3D::Object::GetTypeInfo(void) const': is abstract
1>  c:\program files\urho3d\include\urho3d\core\../Core/Object.h(93): note: see declaration of 'Urho3D::Object::GetTypeInfo'
1>  gs_playing.cpp
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(91): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(102): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(111): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\game_state.h(65): error C3668: 'game_state::GetBaseType': method with override specifier 'override' did not override any base class methods
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(181): error C2275: 'gs_playing': illegal use of this type as an expression
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(181): error C3867: 'gs_playing::update': non-standard syntax; use '&' to create a pointer to member
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(181): error C3861: 'HANDLER': identifier not found
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(182): error C2275: 'gs_playing': illegal use of this type as an expression
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(182): error C3867: 'gs_playing::HandleKeyDown': non-standard syntax; use '&' to create a pointer to member
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(182): error C3861: 'HANDLER': identifier not found
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(286): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(299): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(335): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(354): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(401): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(428): error C2259: 'gs_level_end': cannot instantiate abstract class
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(428): note: due to following members:
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(428): note: 'const Urho3D::TypeInfo *Urho3D::Object::GetTypeInfo(void) const': is abstract
1>  c:\program files\urho3d\include\urho3d\core\../Core/Object.h(93): note: see declaration of 'Urho3D::Object::GetTypeInfo'
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(435): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(448): error C2259: 'gs_death': cannot instantiate abstract class
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(448): note: due to following members:
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(448): note: 'const Urho3D::TypeInfo *Urho3D::Object::GetTypeInfo(void) const': is abstract
1>  c:\program files\urho3d\include\urho3d\core\../Core/Object.h(93): note: see declaration of 'Urho3D::Object::GetTypeInfo'
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(458): error C2259: 'gs_pause': cannot instantiate abstract class
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(458): note: due to following members:
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\gs_playing.cpp(458): note: 'const Urho3D::TypeInfo *Urho3D::Object::GetTypeInfo(void) const': is abstract
1>  c:\program files\urho3d\include\urho3d\core\../Core/Object.h(93): note: see declaration of 'Urho3D::Object::GetTypeInfo'
1>  main.cpp
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(91): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(102): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(111): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\game_state.h(65): error C3668: 'game_state::GetBaseType': method with override specifier 'override' did not override any base class methods
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\main.cpp(103): error C2275: 'USP': illegal use of this type as an expression
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\main.cpp(103): error C3867: 'USP::HandleKeyDown': non-standard syntax; use '&' to create a pointer to member
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\main.cpp(103): error C3861: 'HANDLER': identifier not found
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\main.cpp(112): error C2259: 'gs_main_menu': cannot instantiate abstract class
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\main.cpp(112): note: due to following members:
1>  C:\Users\bvanevery\devel\Urho-Sample-Platformer\main.cpp(112): note: 'const Urho3D::TypeInfo *Urho3D::Object::GetTypeInfo(void) const': is abstract
1>  c:\program files\urho3d\include\urho3d\core\../Core/Object.h(93): note: see declaration of 'Urho3D::Object::GetTypeInfo'
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\main.cpp(141): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>  player.cpp
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(91): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(102): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\misc.h(111): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\bvanevery\devel\urho-sample-platformer\game_state.h(65): error C3668: 'game_state::GetBaseType': method with override specifier 'override' did not override any base class methods
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\player.cpp(326): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\player.cpp(379): warning C4244: '+=': conversion from 'double' to 'float', possible loss of data
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\player.cpp(384): warning C4244: '+=': conversion from 'double' to 'float', possible loss of data
1>C:\Users\bvanevery\devel\Urho-Sample-Platformer\player.cpp(401): warning C4244: 'argument': conversion from 'double' to 'float', possible loss of data
1>  Generating Code...
2>------ Skipped Build: Project: ALL_BUILD, Configuration: Release x64 ------
2>Project not selected to build for this solution configuration
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 1 skipped ==========

The first error:
1>c:\users\bvanevery\devel\urho-sample-platformer\game_state.h(65): error C3668: 'game_state::GetBaseType': method with override specifier 'override' did not override any base class methods
The base functions are pure virtual, declared with = 0.  I don't think you can "override" them.  Also I don't think you can provide an inline function definition for a virtual function.  I think you have to have a .cpp file that's going to output an object file, so that the C++ vtable has something to point at.

I'm looking at git history and changing things to get them to compile.
HANDLER definitely is supposed to be URHO3D_HANDLER now.

Everything now builds and runs with Urho3D 1.5+, so I figure your recent USP updates must have taken care of all of this.

Yay!


Integration between the Dynamic Finance and Operation ERP(AX) and other endpoint:

I have created Dynmic AX trail portal using https://trials.dynamics.com/Dynamics365/Signup/operations, My trail AX portal points "https://d365try-46.trial.operations.dynamics.com/namespaces/3a628bf5-5c84-44d1-bdf6-442861a25d40/"
Now, Need do the integration between the my trail to other end point. I have created a OAuth App at Azure portal, Using that app, am able to get the Access token. But when try to access API using that accesstoken am getting 404 error. I tried two ways to get the access token. But both the ways failed to access the API
I follwoed the AX API DOC https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/data-entities/odata?toc=/fin-and-ops/toc.json

Access token using resource as "https://api.trial.operations.dynamics.com"
{
"token_type": "Bearer",
"scope": "AX.FullAccess CustomService.FullAccess Odata.FullAccess",
"expires_in": "3600",
"ext_expires_in": "0",
"expires_on": "1524457722",
"not_before": "1524453822",
"resource": "https://d365try-46.trial.operations.dynamics.com",
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6IkZTaW11RnJG
When i access API https://d365try-46.trial.operations.dynamics.com/data/Customers i got 404 status code

Access token using resource as "https://api.trial.operations.dynamics.com"
{
"token_type": "Bearer",
"scope": "AX.FullAccess CustomService.FullAccess Odata.FullAccess",
"expires_in": "3599",
"ext_expires_in": "0",
"expires_on": "1524220794",
"not_before": "1524216894",
"resource": "https://api.operations.dynamics.com",
"access_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik
When i access API https://api.operations.dynamics.com/data/Customers I could not get any response.

According to the API Doc, endpoint like "[Your organization's root URL]/data/Customers"
Here what should i use as  url and also please share the AX API doc link

Hi, this GitHub forum is for Business Central only. You would need to contact Finance and Operations support with your question.


correlationId used instead of messageid

❗ please do not add sensitive information in issues, you can provide extra information via email using issue number as reference ❗
Describe the issue
In Receiver.java line 1258 a call to adapter.processMessageWithExceptions() is made, with businesscorrelationid as actual parameter for the messageid formal parameter.
In InputOutputPipeLineProcessor.processPipeLine() this value is used to set the messageId session variable.
Confusion of messageId and correlationId should be avoided.
I suggest to remove all messageid and correlationid parameters, and to only use them from the PipeLineSession.
Reporter
Gerrit

closed by #3763


Create cbpf.txt

Centro Brasileiro de Pesquisas Físicas
https://portal.cbpf.br/pt-br/

@tuliosciotta Could you please clarify how many sudents study at CBPF? Thank you!

@tuliosciotta You might miss my previous comment. Please react.

Sorry, i was not notified about the message! Currently, I believe there are about 500 students in the institution. Thanks!

@tuliosciotta Pull request merged.
Please notice that free educational subscription for JetBrains tools is for students and teachers only, and is valid for using the tools for educational purpose only. If employees of this Institute who are not students, nor teachers, also need a license for JetBrains tools, they are eligible for an academic discount for the tools. They can get the discount by email to<EMAIL_ADDRESS>Thank you!


TAJO-1147: Simple query doesn't work in Web UI

'resultRows' can be -1.
-1 means TajoConstants.UNKNOWN_ROW_NUMBER.

Thanks for your contribution.
I'll review the patch tomorrow. :)

+1
It looks good to me and it runs successfully as expected.


feat: Chat UI feature branch

MemGPT Chat UI

Building on the initial PR by @goetzrobin (#625)
Should merge into main once stable
When coding up features for the chat UI, base your PRs against this feature branch (chatui)

How to run

run memgpt configure
run memgpt server
go to http://<IP_ADDRESS>:8283 and see if you can create an agent (prefilled with data that works, need to add endpoints to fetch valid options) and chat with them

API documentation
API docs are available here: https://memgpt.readme.io/reference
TODOs
Highest priority marked with ⚠
🎄 Pending

[ ] [Pure UI] Display current agent name somewhere in the chat view (probably top middle?)
[ ] [Pure UI] An "agent search" box that filters the grid view based off of name
[ ] [Pure UI] Have a "update successful" indicator / model / toast when a memory update goes through properly
[x] ⚠ [Pure UI] On an exception / failed message sent: the UI should indicate that the message failed to send (similar to FB messenger etc, red text or outline indicating failed message) + propagate error message to the UI (in some capacity)

More details here: https://github.com/cpacker/MemGPT/pull/642#issuecomment-1861291855

[x] ⚠ [Pure UI] On an exception / failed message sent: "typing..." lock should be released (currently gets trapped on "typing..." state
[ ] [Pure UI] Add syntax highlighting to function call views
[ ] ⚠ [UI + backend] When a chat window is opened, populate it with the last N messages

we can start by just displaying the messages in the agent buffer agent.messages
eventually add a scroll-back fetch based on a paginated query to recall memory (messages from recall should be styled differently in the UI to indicate that they are out-of-context)

[ ] ⚠ [UI + backend] Enable viewing archival memory fragments in a modal (eg called "archival memory")
[ ] [UI + backend] Allow modifying agent configs + base config via settings page
[ ] [UI + backend] Allow attaching data (/attach) via a GUI / modal
[ ] [UI + backend] Allow viewing available data sources (post /attach) via a GUI / modal
[ ] [backend] REST requests for retrieving data in archival
[ ] [backend] REST requests for retrieving data in recall

✅ Done

[x] [Pure UI] Add thinking bubble when agent is typing / response is streaming
[x] [Pure UI] Add "memory" viewer component (can view agent's core memories in pop-up modal in text fields w/ GET, and edit them then click save which sends a PUT)
[x] [Pure UI] Dark mode
[x] [Pure UI] Display function calls (should show everything except send_message by default)
[x] [Pure UI] Make landing page agent list an N x M grid (no overflow horizontal scrolling, just vertical scrolling)
[x] [Pure UI] Make "add new" always visible (should be left / top left in grid ordering)
[x] [Pure UI] On create agent click, should kill modal to indicate success / failure
[x] [Pure UI] Make size/width of inner thoughts + message similar
[x] [backend] Chat UI server should use host and port arg coming via the server command
[x] [backend] Chat UI server needs to shut down clean on CTRL-C (hanging process?)

🎁 Pushed to later PR? (might not be worth trying to include for a shippable v1)
- [ ] **[UI + backend]** Allow viewing custom function files in the GUI (`~/.memgpt/functions`)
- [ ] **[UI + backend]** Allow viewing custom prompt settings in the GUI (`~/.memgpt/settings`)

📦 Final tasks (cleanup)
- [ ] General stability w/ expected single-user usage (users should not see locking errors etc)
- [ ] Make sure all underlying MemGPT errors (eg `LLMJsonError`) are being propagated to the UI (no silent errors)
- [ ] Test on Windows + Linux + MacOS via pypi test package
- [ ] Clean, pleasant, delightful UI (agent-centric)

For function call views, we should probably have a "code viewer" / markdown view, similar to what's used in chat-llama-index (see screenshot from https://github.com/cpacker/MemGPT/pull/474). Function calls can then just be visualized in this code viewer, similar to how it's being done in the stale #474 branch:

@cpacker I am back from break and was looking at the next priorities to tackle. What would you say the main priorities are right now?

@cpacker I am back from break and was looking at the next priorities to tackle. What would you say the main priorities are right now?

I'd say the current ⚠ marking is pretty accurate - imo highest priority is probably "When a chat window is opened, populate it with the last N messages"?
Storage refactor is still going through so there's no paginated query from recall yet but I should be able to add that in the next day or so. So for the time being the population can just come from the inner context (agent.messages).

Made redundant by #821
TODOs moved here: #826

Made redundant by #821
TODOs moved here: #826


Prep for release

Mostly documentation, minor edits to docker scripts to make things smoother.  Version bump!

@bgulla can you give me a quick sanity check on docker scripts.  Wanting to ship today and then hit an RC.


Mock paymaster

Proper packaging and versioning of mock paymaster, copied from https://github.com/pimlicolabs/mock-aa-environment/tree/main/mock-verifying-paymaster
The idea is to publish the package as @cartesi/mock-paymaster, with a npm bin, and then installing it inside the SDK in another PR.

The docker compose is a test one that runs the two services that the mock-paymaster connects to, the anvil and alto.
You can test by running the compose and then executing the pnpm run start with two env variables defined, the ANVIL_RPC and ALTO_RPC.
I tried to not make any change at all to the original source code. It's only a packaging and versioning addition to the original work.

I'm getting this:
ANVIL_RPC=http://localhost:8545 ALTO_RPC=http://<IP_ADDRESS>:4337 pnpm run start

><EMAIL_ADDRESS>start /home/endersonmaia/Development/cartesi/cli/packages/mock-verifying-paymaster
> ts-node src/index.ts

/home/endersonmaia/Development/cartesi/cli/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.0.0_typescript@5.5.4/node_modules/ts-node/src/index.ts:859
    return new TSError(diagnosticText, diagnosticCodes, diagnostics);
           ^
TSError: ⨯ Unable to compile TypeScript:
src/relay.ts:97:46 - error TS2737: BigInt literals are not available when targeting lower than ES2020.

97         userOperation.preVerificationGas === 1n ||
                                                ~~
src/relay.ts:98:48 - error TS2737: BigInt literals are not available when targeting lower than ES2020.

98         userOperation.verificationGasLimit === 1n ||
                                                  ~~
src/relay.ts:99:40 - error TS2737: BigInt literals are not available when targeting lower than ES2020.

99         userOperation.callGasLimit === 1n
                                          ~~
src/relay.ts:200:46 - error TS2737: BigInt literals are not available when targeting lower than ES2020.

200         userOperation.preVerificationGas === 1n ||
                                                 ~~
src/relay.ts:201:48 - error TS2737: BigInt literals are not available when targeting lower than ES2020.

201         userOperation.verificationGasLimit === 1n ||
                                                   ~~
src/relay.ts:202:40 - error TS2737: BigInt literals are not available when targeting lower than ES2020.

202         userOperation.callGasLimit === 1n
                                           ~~
src/relay.ts:331:54 - error TS2737: BigInt literals are not available when targeting lower than ES2020.

331                 paymasterVerificationGasLimit: toHex(50_000n),
                                                         ~~~~~~~
src/relay.ts:332:48 - error TS2737: BigInt literals are not available when targeting lower than ES2020.

332                 paymasterPostOpGasLimit: toHex(20_000n),
                                                   ~~~~~~~

    at createTSError (/home/endersonmaia/Development/cartesi/cli/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.0.0_typescript@5.5.4/node_modules/ts-node/src/index.ts:859:12)
    at reportTSError (/home/endersonmaia/Development/cartesi/cli/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.0.0_typescript@5.5.4/node_modules/ts-node/src/index.ts:863:19)
    at getOutput (/home/endersonmaia/Development/cartesi/cli/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.0.0_typescript@5.5.4/node_modules/ts-node/src/index.ts:1077:36)
    at Object.compile (/home/endersonmaia/Development/cartesi/cli/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.0.0_typescript@5.5.4/node_modules/ts-node/src/index.ts:1433:41)
    at Module.m._compile (/home/endersonmaia/Development/cartesi/cli/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.0.0_typescript@5.5.4/node_modules/ts-node/src/index.ts:1617:30)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
    at Object.require.extensions.<computed> [as .ts] (/home/endersonmaia/Development/cartesi/cli/node_modules/.pnpm/ts-node@10.9.2_@types+node@22.0.0_typescript@5.5.4/node_modules/ts-node/src/index.ts:1621:12)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Function.Module._load (node:internal/modules/cjs/loader:1023:12)
    at Module.require (node:internal/modules/cjs/loader:1235:19) {
  diagnosticCodes: [
    2737, 2737, 2737,
    2737, 2737, 2737,
    2737, 2737
  ]
}
 ELIFECYCLE  Command failed with exit code 1.


Calendar changes the first day of the week on first selection

Hi,
the strange situation happen after upgrade to 4.0.0:
when I display calendar it looks like this:

after you click on June 1st it changes to this

additional clicks do not affect it.
Note that days of the week are hardcoded outside calendar view so they do not change ....

OK, can you paste me your viewDidLoad() code?
I need to see the code you are using to setup the calendar.

Ok. If my assumption is correct, here is your problem. (let me know if i was wrong)
Important: If you do anything that changes the Layout of the calendar, then you need to do a reload()
For instance i see that you have Monday as your first day of week instead of the default Sunday. Changing this value will change the layout of the calendar, therefore it needs to be reloaded.
So at a very basic level, your view did load should at least have this:
calendarView.delegate = self
calendarView.dataSource = self
calendarView.firstDayOfWeek = .Monday
calendarView.reloadData() // This updates your layout

So what happened was probably this. You forgot to call calendarView.reloadData(), but you did change the start of week. The calendar was then flagged as layoutNeedsUpdating. So on the first reload() that you called, it correctly updated its layout causing your view to change. So this is possibly your first error.
2nd, i do not know what code you have in your click event, but, you do not need to call calendar reloads on clicks. You generally call reload() for pretty much the same instances as you would call it on a UITableView

One other thing.. thats a interesting calendar
You have the
s    m    t    w    t    f    s
Month label
CalendarView__________
|                                         |
|                                         |
|                                         |
|____________________|
Why not remove the header view. Put the s/m/t/w/t/f/s closer to the calendar view, and then have an external month label above the s/m/t/w/t/f/s ?  Was just wondering

Hi,
calendarView.reloadData() solved the problem!
Thank you

Layout of calendar is inspired a bit by Airbnb

Cool. gotcha.
Well glad every thing worked out.
I'm off to fix one last bug i am seeing. I'll be getting reader for another version 4.0.1 sometime over the weekend if all goes well.
Have a good one. Closing this.


feat(Keystore): Introduce additional KMSConfiguration options

Issue #, if available:
Description of changes:
The Hierarchical Keyring's Keystore now supports four (4) KMSConfigurations:

kmsKeyArn
kmsMRKeyArn
discovery
MRDiscovery

See our Examples and JavaDocs for details
on how these options effect the relationship between a Keystore and KMS.
Squash/merge commit message, if applicable:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Overall comment: Are we adding examples for this?

There is no example section of this repo.
I am going to add examples to the DB-ESDK and ESDK.


Webpack Dev Middleware Should Support export default

I have extended one of your templates and added the following NPM scripts so that I can write my Webpack configuration using TypeScript which has a number of advantages:
"build:webpackconfig": "tsc --lib es6 webpack.config.vendor.ts && tsc --lib es6 webpack.config.ts",
"build": "npm run build:webpackconfig && webpack --config webpack.config.vendor.js && webpack",
"build:prod": "npm run build:webpackconfig && webpack --config webpack.config.vendor.js --env.prod && webpack --env.prod"

This totally works and Webpack is happy with my JavaScript file generated from TypeScript however the WebpackDevMiddleware fails to run with the error:

One or more errors occurred. (TypeError: Cannot read property 'publicPath' of undefined

My TypeScript looks like this:
import * as path from "path";
import * as webpack from "webpack";
import { IArguments, INewConfiguration, INewConfigurationBuilder } from "./webpack.common";

const configurationBuilder: INewConfigurationBuilder =
  (env: IArguments): INewConfiguration => {
    const configuration: INewConfiguration = {
      // ...
    };
    return configuration;
  };
export default configurationBuilder;

This outputs the following JavaScript:
"use strict";
exports.__esModule = true;
var path = require("path");
var webpack = require("webpack");

var configurationBuilder = function (env) {
  var configuration = {
    // ...
  };
  return configuration;
};
exports["default"] = configurationBuilder;

The key difference is the last line of code. I've experimented with changing it and the WebpackDevMiddleware only works when it is module.exports = configurationBuilder;. To generate that line in TypeScript I have to use export = configurationBuilder; which is invalid TypeScript because the default tsconfig.json file has module set to es2015.
The key point is that Webpack supports exports["default"] = configurationBuilder;, so the WebpackDevMiddleware should too.

Thanks. Fixed.

Will this fix be released in the 2.1 update?


How to handle multiple dynamic nested routes?

What problem does this feature solve?
Having something like /properties/:id/:tab and redirecting all /properties/:id to a default :tab
Example:
  { path: '/real-properties/:id', redirect: '/real-properties/:id/gateways-table', name: 'real-property' },
  { path: '/real-properties/:id/:activeTab?', component: RealProperty, name: 'real-property-tab' },

the above doesn't work correctly : routes that match /real-properties/:id/:activeTab don't redirect to an other :id .. .
What does the proposed API look like?
Having something like /properties/:id/:tab and redirecting all /properties/:id to a default :tab

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server or StackOverflow.

The only thing I see that could be missing in your route list is that redirect should be a function to pass the param again: redirect: from => ({ name: 'real-property-tab', params: { ...from.params, activeTab: 'gateways-table' }})

Thank you for the response! It might not be the best place to post this, but with the hope core members @yyx990803  @chrisvfritz might listen as well. :
Before posting here I did seek help in both Vue Forums and the Discord server. I understand all this is done on a volunteer basis but talking from not only my personal experience but also from other frontend devs who like VueJS, it seems to us that there's growing discontent with the chance to get some support. Comparisons are maybe a bit lame but the React community seems so much more responsive. (in the help channels I mean). Usually the analogy of questions vs answers in the Discord server is 10 to 1 and when we move to more advanced topics more like 100 to 1.
Blocking the Issue trackers from support questions means we have no real possibility to get quality answers from the actual maintainers of the library - the people who actually master it. There should be some criteria on allowing support questions if they're not answered to the documentation. For example, I'm having a hard time routing from a nested dynamic route to another - this probably won't help many people in the chat rooms who are in the 99% usage scenario, but it might be a good pointer for a missing documentation part or a new feature or even a bug.


env missing from migrations

Hi, thanks for the fix - I integrated a more general solution that prevents further such errors :+1:


[Environments] ConsoleLogger does not handle all console environments

What version of OpenTelemetry are you using?
v 0.14
The current ConsoleLogger implementation does not support running in environments that

Only expose the console object when the F12 Developer console is open
Not all console implementations supply all all log methods (https://caniuse.com/?search=console api)

Please assign this to me as it will be fixed as part of the api.diag and new associated api.DiagConsoleLogger implementation

Please assign this to me as it will be fixed as part of the api.diag and new associated api.DiagConsoleLogger implementation

This is included in v0.17


Memory leak in xstatbar.c:draw()

The call to XCopyArea in draw() generates one of two X events, either a GraphicsExpose or a NoExpose event. Since xstatbar does not have one of those traditional X event loops, those events accumulate in the event queue and lead to a memory leak. The easiest fix is to call XNextEvent after XCopyArea to consume the events it generated.
The following patch addresses the issue:
--- xstatbar.c.orig	Tue Feb  9 11:18:02 2016
+++ xstatbar.c	Tue Feb  9 11:19:05 2016
@@ -297,6 +297,7 @@
 void
 draw()
 {
+   XEvent dummy;
    static int spacing = 10;
    int x, y;
    int cpu;
@@ -323,6 +324,7 @@
    /* copy the buffer to the window and flush */
    XCopyArea(XINFO.disp, XINFO.buf, XINFO.win, XINFO.gc,
       0, 0, XINFO.width, XINFO.height, 0, 0);
+   XNextEvent(XINFO.disp, &dummy);
    XFlush(XINFO.disp);
 }

Looks good. Thanks!

Pushed patch in 8aa437dc059b2161c43811344da903f4ca57d7e0


Remove FlxFlicker from FlashingState

It's pretty contradictory to flash lights kinda fast if a user doesn't want them

how about if (ClientPrefs.flashing) ?


Getting started question

This plug in is exactly what I need to trigger a build across multiple platforms.
I'm testing it out and struggling to get the build to run.
The build type I selected a build that takes in the configured parameters.

What do you see when you click RUN?
NOTE: this plugin was developer several years ago, so it can be incompatible with your version of TeamCity

Thanks for your reply. I just see the build kick off and 5 seconds later it's finished.
I actually don't know what to expect exactly.
Looks completely normal, no child builds triggered.
No matrix build tab.
I'm running TeamCity Professional 2022.04.1 (build 108575)

Could you please provide logs of this build?


createServer

I can't create a server,
It returns undefined
and all parameters are good
application.Application.createServer("latest", NodeJs, uss /* User Id */ , 5, 16,"dockerImage", "Cmd", 200,0, 1000, 500, 0, 5, 1)

Please use our discord server.


[SSR] Client data fetching in beforeMount mixin double-fetches

Version
2.5.21
Reproduction link
https://github.com/phil294/vue-hackernews-ssr-alternative-data-fetching
Steps to reproduce
In SSR docs, option 2, Fetch data after the matched view is rendered, calls asyncData in beforeMount.
The pseudo-syntax is
if (asyncData)
  asyncData()

This does not check if asyncData was already called by the server. Thus, guided by the official docs, this leads to duplicate fetches. In the case of dynamic module registration, even to duplicate modules.
In the linked repro, I cloned vue-hackernews and changed the fetch method accordingly. I also added a console.log to when fetchIdsByType is called which happens when asyncData is called.
What is expected?
Data is fetched on server, client does not fetch it again (as is the case with the usual router.beforeResolve solution (step 1).
What is actually happening?
Data is fetched twice, also on client, because there is no check on whether the data is already there, effectively making option 2 unusable.

um. @posva could you please elaborate why this was closed without a reason?

oops, accidental double post of #9252, sorry.


nf-core has dependencies on conda-forge

Dear nf-core team,
If one has not pre-configured channels on conda a conda install, the following command from the tutorial won't run because some dependencies are pulled from conda-forge
conda install -c bioconda nf-core
Use this command instead
conda install -c bioconda -c conda-forge -c default nf-core
Not sure if the default channel is useful here though
Cheers,
M

Thanks for this - good spot :+1:
I have updated the docs a little - instead of specifying all of the channels on the command line I've just linked out to the bioconda setup docs. I think that's probably more future proof and safer..
Phil


how to use other browsers?

Description
is it possible for us to use firefox?
Full steps to reproduce the issue
how can we use firefox or other browsers.
Issue Type
Support, Feature Request
Operating System
Windows 10
Do you use Docker?
None

Currently only Chrome is supported. Chrome-launcher library is used. Other browsers are not currently supported. You can try Rebrowser.

can I use chromium or brave and if so how do I change it?

can I use chromium or brave and if so how do I change it?

You can try set chromePath in customConfig
customConfig: {chromePath:"THE_PATH_HERE"}

can I use chromium or brave and if so how do I change it?

You can try set chromePath in customConfig
customConfig: {chromePath:"THE_EXECUTABLE_PATH_HERE"}
But there is no guarantee that it will worked normally on other browser

thanks this works, but how to switch to another profile?
i tried like this but not work

can I use chromium or brave and if so how do I change it?

You can try set chromePath in customConfig
customConfig: {chromePath:"THE_EXECUTABLE_PATH_HERE"}
But there is no guarantee that it will worked normally on other browser

thanks this works, but how to switch to another profile? i tried like this but not work

you dont need to spesify the Default, if you want to swtich between profiles just add --profile-directory argument in args, here is how i use it


Disable suggested edits for non-github URLs

Suggested edits feature which is GitHub only should be disabled for docs directly served from object storage.
Refer #317 for more discussion

Duplicate of #318 that i opened already.


Refine Plant Functional Type representation in the T Model submodule.

A better plant functional type (PFT) representation. The TModelTraits constants class does this at the moment, and may not need much changing. It is unusual though - all the other constants classes only have a single instance for any one analysis, but the demographic model will need something like a Flora object that provides a dictionary onto the complete set of PFT instances to be used in calculation.

This is completed in the new demography.flora module. There are some likely structural changes coming in there (see discussion at https://github.com/ImperialCollegeLondon/pyrealm/discussions/297) but the basic redefinition is complete.


An empirical study on real bug fixes

http://dl.acm.org/citation.cfm?id=2818864&CFID=550839757&CFTOKEN=78411605

All data from open-source repositories


#12: Curved edge

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: 12
What is the new behavior?
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

@evgenoid - Can you add the details about whats left?

@evgenoid - Can you add the details about whats left?

Need to find a way to calculate start/end edge points and arrow position. In general, it's the same issue - need to calculate dot of intersection for curve and node circle line (marked red on screenshot)


Fix techdocs docs

Fix formatting and broken links issues. Separate out some docs so they are easier to find.

https://app.shortcut.com/larder/story/16694/fix-techdocs-docs


request - add "account" endpoint

hi,
we'd like to show a live "remaining credits" counter in our app's admin panel. can you add e.g. RemoveBg.account or RemoveBg.me?

Hi @ryanckulp,
We've released a new version of the gem (1.3.0) which includes the account info.
Please see the README for details on RemoveBg.account_info.
Thanks,
Oli

@odlp thank you!


Matrix Multiplication

Enter calculator name -
Matrix Multiplication
Describe calculator functionality -
Take size of matrices as input from user then take two Matrices of the specified size as input and display the result of their multiplication.
Note - Max. size of matrix = 6x6
Under which category you wish to place it -
[] Computer Science
[x] Mathematics
[] Physics
[] Chemistry
[] Biology
[] Finance
[] Scientific
[] Health
[] Sports
[] Let project owner decide
[] Suggest a new category - (Answer here)

Hey @SarthakKeshari , I would love to work on this issue. Pls assign it to me

Hey @tmsagarofficial,
Assigned.
You may contribute your code under the folder path -
calc_for_everything\calculators\src\mathematical\matrix_multiplication
Issue completion deadline - 4th Oct 8:00:00 am IST
NOTE - In case the issue completion deadline is not met, the issue will be assigned to a new participant

If this issue remains unresolved, I would love to work on it.

@imnaseem, Definitely, if the deadline is not met.
Kindly comment again, once the deadline is crossed.

If this issue continues without resolution, please assign it to me.

My bad i had done the commit but forgot to make a PR 😓


Add support for SPV_KHR_ray_tracing

This PR adds initial support for ray tracing in Rust-GPU.
Currently the tests don't pass because I ran into some ICE's when testing OpTerminateRayKHR. Filed as https://github.com/EmbarkStudios/rust-gpu/issues/564

cc @hrydgard @repi

Cool!

Very cool!
To actually do real shading once we hit stuff with rays though, we need to be able to look up mesh data by mesh ID, which will likely end up requiring some of https://github.com/EmbarkStudios/rust-gpu/pull/450 .

r? @eddyb


Enhance Permission Management and Access Restrictions for Inventory Cycle Count App

What is the motivation for adding/enhancing this feature?
To improve the security and functionality of the Inventory Cycle Count app, we propose the following enhancements for different user roles:
a. Permission Management for Super Users, Admin Users, and Store Managers:

Super Users will have unrestricted access to all facilities, features and configurations.
Admin Users will have complete permissions similar to Super Users.
Store Manager's access to the facility is restricted to facility they are associated with.
Store Managers will have all permissions except the ability to change Quantity on Hand (QOH) view configurations.

Additional requirement: Display a note on the QOH configuration card, indicating that facility needs to be associated with a product store to change these configurations.
What are the acceptance criteria?

[ ] ...

Can you complete this feature request by yourself?

[ ] YES
[ ] NO

Additional information

As per the discussion we will remove the check for product store association on login and let user login into the app when associated with facility and will not check for product store association.


Support for inner classes implementing Controller or ScreenController?

Still working on my Processing game using Nifty, but ran into another issue. Processing classes are all inner classes created within the parent PApplet class, this makes instantiating Controllers and ScreenControllers via XML very difficult.
Non-static inner classes cannot be instantiated using reflection unless a copy of the parent class is passed to the instantiator, on the other hand a static class cannot get a reference to the parent PApplet, which is essential for the controller to call functions from the game.
Right now I've managed to work around that by creating a static inner class, then getting the reference to the parent PApplet by sneaking a getPApplet() function into a custom TimeProvider. But of course, that ties my game down to only ever using one type of TimeProvider, which is not ideal.
Would appreciate any help regarding this. Thanks! :)

I forget... does the XML schema for Controller and ScreenController require that the types you specify have empty constructors? Or can you pass arguments?

I've looked into the code, doesn't seem to accept arguments, just a simple newInstance() call.
From de.lessvoid.xml.tools.ClassHelper.java:
  @Nullable
  public static <T> T getInstance(@Nonnull final String className, @Nonnull final Class<T> type) {
    try {
	  Class<?> cls = Class.forName(className);
	  if (type.isAssignableFrom(cls)) {
	    return type.cast(cls.newInstance());
	  } else {
	    log.warning("given class [" + className + "] does not implement [" + type.getName() + "]");
	  }
    } catch (Exception e) {
      log.warning("class [" + className + "] could not be instantiated (" + e.toString() + ")");
    }
    return null;
  }


🚀 RELEASE: v0.1.1

Codecov Report

Merging #63 (1394c77) into master (cce689d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #63   +/-   ##
=======================================
  Coverage   96.80%   96.80%
=======================================
  Files           5        5
  Lines         313      313
=======================================
  Hits          303      303
  Misses         10       10

Flag
Coverage Δ

pytests
96.80% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cce689d...1394c77. Read the comment docs.


Retrieving Docker Exit Code After compose.up

Hi,
I've been integrating your package into our company CI pipeline and it's been a fantastic tool so far.
When using the compose.up method, I noticed it doesn't return a Docker instance. Could you advise on how I might retrieve the exit code of a Docker container after executing compose.up?
   docker = DockerClient(
        compose_files=[docker_compose_path],
        compose_compatibility=True,
    )
    docker.compose.up(["my_service"], detach=False)

Any guidance or suggestions for handling this would be greatly appreciated.
Thank you!

I don't think `docker compose up" returns an exit code (it wouldn't make sense since there can be multiple exit code for multiple containers).
What you can do is run some other commands like docker.compose.ps() that will list the running containers and then use docker.container.wait() to get the exit code. If the container is stopped and not removed, you can also get the exit code by doing my_container.state.exit_code (see https://gabrieldemarmiesse.github.io/python-on-whales/docker_objects/containers/)

yes, I can get the exit code from docker.container.wait()
and as the docker container is detached, I can get realtime logs from
logs = docker.container.logs(container=cont, stream=True, follow=True)
for line in logs:
        text = line[1].decode("utf-8").strip()
        print(f"{text})

Thanks man!

I'm glad that helped :)


Unable to find references for a struct field

I'm examining the source code of git and occasionally there are struct fields that do not reveal their references, but from one of the actual references I can use go to definition without issues.
$ git describe
v2.25.1-362-g51ebf55b93
$ clangd --version
clangd version 10.0.0 (Fedora 10.0.0-0.1.rc2.fc32)
$ code --version
1.42.1
c47d83b293181d9be64f27ff093689e8e7aed054
x64
$ bear --version
bear 2.4.3

I built it with
$ bear make prefix=~/.local/git all

At the end of the hash.h file, there is:
struct object_id {
	unsigned char hash[GIT_MAX_RAWSZ];

One of the references of the hash field is in hashmap.h:
static inline unsigned int oidhash(const struct object_id *oid)

	memcpy(&hash, oid->hash, sizeof(hash));

From the hash.h file, Find All References told me there were no results.  Output window:
I[19:37:01.731] <-- textDocument/references(543)
I[19:37:01.731] --> reply:textDocument/references(543) 0 ms
I[19:37:01.732] --> textDocument/clangd.fileStatus

From the hashmap.h file, click on "hash" (as part of "oid->hash"), both "Find All References" and "Go To Definition" work without obvious issues.

Thanks for the report, confirmed with the simple case.
struct object_id {
   unsigned char ha^sh[10]; // go-to-def, find-references, hover are not working here.
};

I guess it might be a selection tree issue.


Revert "Revert PG locks (#2132)"

This reverts commit eb23f7e3b56af3012ab540357afc338e7b5551dc.
Related Issue or Background Info

Resolves #1771

Changes Proposed

Reverte the revert of the Postgres advisory locks on TestOrder

Additional Information

This was previously working correctly but exposed related UI errors and caused lots of PagerDuty noise

Checklist for Author and Reviewer
UI

[x] Any changes to the UI/UX are approved by design
[x] Any new or updated content (e.g. error messages) are approved by design

Testing

[x] Includes a summary of what a code reviewer should verify

Changes are Backwards Compatible

[x] Database changes are submitted as a separate PR

[x] Any new tables that do not contain PII are accompanied by a GRANT SELECT to the no-PHI user
[x] Any changes to tables that have custom no-PHI views are accompanied by changes to those views
(including re-granting permission to the no-PHI user if need be)
[x] Liquibase rollback has been tested locally using ./gradlew liquibaseRollbackSQL or liquibaseRollback

[x] GraphQL schema changes are backward compatible with older version of the front-end

Security

[x] Changes with security implications have been approved by a security engineer (changes to  authentication, encryption, handling of PII, etc.)
[x] Any dependencies introduced have been vetted and discussed

Cloud

[x] DevOps team has been notified if PR requires ops support
[x] If there are changes that cannot be tested locally, this has been deployed to our Azure test environment for verification

Note that this is best reviewed with "hide whitespace" enabled


[5.4] Low-hanging optimizations in Eloquent models

Re-submit of #16500.
The changes are quite simple and bring a noteworthy performance improvement.
props @silwerclaw
also ping @fernandobandeira :)

I believe the problem here exists if the attribute value is null.  In that case, the behavior will not be the same.
$test['key'] = null;

var_dump(array_key_exists('key', $test));   //returns true
var_dump(isset($test['key']));              //returns false

According to the docs:
isset
Returns TRUE if var exists and has value other than NULL. FALSE otherwise.
array_key_exists
Returns TRUE on success or FALSE on failure.

I'm aware of this, thanks.

I'm tired of reading "isset() is different blah blah". If you don't actually read the code, please at least read the below explanation.
function foo() {
    $data = ['key' => null];
    if (array_key_exists('key', $data)) {
        // return $data['key'], which is null
    }
}

function bar() {
    $data = ['key' => null];
    if (isset('foo', $data)) {
        // not reached
    }
    // return implicit null
}

As for casts values, null is simply not an expected value.

As for casts values, null is simply not an expected value.

Changing behaviour in a patch release should be avoided regardless.

Just pick the first change if you want a 100% identical behavior, even for the weirdest, beyond imagination use cases.

👍  getAttributeFromArray is 100% compatible, and we shouldn't have any issues with the hasCast...
From the docs:

The supported cast types are: integer, real, float, double, string, boolean, object, array, collection,  date, datetime, and timestamp.

This method receives only strings, so it seems safe...

Please update this PR to be 100% backwards compatible with 5.4.

Feel free to re-submit something that is fully BC.


Add back to top button on all pages

Sir any update on this issue? Can I work on it?

Hey @riturajjain2000, can you please checkout the PR?


How to mount hp Ultrium lto5 tape dirver

Is your feature request related to a problem? Please describe.
Does this project support HP EH957/EH958.
I install hp ltt and ltfs  on archlinux using yaourt:
aur/ltfs <IP_ADDRESS>-1
aur/hpltt 4.27-1
but ltfs shows:
39f5 LTFS14000I LTFS starting, LTFS version <IP_ADDRESS>, log level 2.
39f5 LTFS14058I LTFS Format Specification version 2.4.0.
39f5 LTFS14104I Launched by "ltfs".
39f5 LTFS14105I This binary is built for Linux (x86_64).
39f5 LTFS14106I GCC version is 8.3.0.
39f5 LTFS17087I Kernel version: Linux version 5.1.5-arch1-2-ARCH (builduser@heftig-23132) (gcc version 8.3.0 (GCC)) #1 SMP PREEMPT Mon May 27 03:37:39 UTC 2019 i386.
39f5 LTFS17089I Distribution: NAME="Arch Linux".
39f5 LTFS17089I Distribution: .
39f5 LTFS14063I Sync type is "time", Sync time is 300 sec.
39f5 LTFS17085I Plugin: Loading "sg" tape backend.
39f5 LTFS17085I Plugin: Loading "unified" iosched backend.
39f5 LTFS14095I Set the tape device write-anywhere mode to avoid cartridge ejection.
39f5 LTFS30209I Opening a device through sg-ibmtape driver (/dev/sg0).
39f5 LTFS30213I Unsupported Drive 'Ultrium 5-SCSI  '.
39f5 LTFS12012E Cannot open device: failed backend open call.
39f5 LTFS10004E Cannot open device '/dev/sg0'.
Describe the solution you'd like
Should I install hp spefic driver? or ltfs not support hp lto5 tape driver.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Sorry, the current code only supports IBM drives. See README.md (https://github.com/LinearTapeFileSystem/ltfs#supported-tape-drives).
The reason is quite simple. I don't have any drives except IBM drives. I hope someone contributes it someday.

@piste-jp-ibm Would this also exclude the Quantum tape drives? When using their version of mkltfs and ltfs I noticed in the mount output that it's using the sg-ibmtape driver which appears to be the driver you use for the supported IBM tapes.
ltfs /mnt/ltfs -o devname=/dev/sg0  1668 LTFS14000I LTFS starting, LTFS version <IP_ADDRESS>, log level 2. 1668 LTFS14058I LTFS Format Specification version 2.4.0. 1668 LTFS14104I Launched by "ltfs /mnt/ltfs -o devname=/dev/sg0". 1668 LTFS14105I This binary is built for Linux (x86_64). 1668 LTFS14106I GCC version is 8.3.0. 1668 LTFS17087I Kernel version: Linux version 5.3.0-0.bpo.2-amd64<EMAIL_ADDRESS>(gcc version 8.3.0 (Debian 8.3.0-6)) #1 SMP Debian 5.3.9-2~bpo10+1 (2019-11-13) i386. 1668 LTFS17089I Distribution: PRETTY_NAME="Debian GNU/Linux 10 (buster)". 1668 LTFS14063I Sync type is "time", Sync time is 300 sec. 1668 LTFS17085I Plugin: Loading "sg" tape backend. 1668 LTFS17085I Plugin: Loading "unified" iosched backend. 1668 LTFS14095I Set the tape device write-anywhere mode to avoid cartridge ejection. 1668 LTFS30209I Opening a device through sg-ibmtape driver (/dev/sg0). 1668 LTFS30207I Vendor ID is QUANTUM . 1668 LTFS30208I Product ID is ULTRIUM 5       . 1668 LTFS30214I Firmware revision is 3210. 1668 LTFS30215I Drive serial is HU140612KJ. 1668 LTFS17160I Maximum device block size is 1048576. 1668 LTFS11330I Loading cartridge. 1668 LTFS11332I Load successful. 1668 LTFS17157I Changing the drive setting to append-anywhere mode. 1668 LTFS11005I Mounting the volume. 1668 LTFS17227I Tape attribute: Vendor = QUANTUM . 1668 LTFS17227I Tape attribute: Application Name = LTFS                            . 1668 LTFS17227I Tape attribute: Application Version = <IP_ADDRESS> . 1668 LTFS17227I Tape attribute: Medium Label = . 1668 LTFS17228I Tape attribute: Text Localization ID = 0x81. 1668 LTFS17227I Tape attribute: Barcode =                                 . 1668 LTFS17227I Tape attribute: Application Format Version = 2.4.0           . 1668 LTFS17228I Tape attribute: Volume Lock Status = 0x00. 1668 LTFS17227I Tape attribute: Media Pool name = . 1668 LTFS14111I Initial setup completed successfully. 1668 LTFS14112I Invoke 'mount' command to check the result of final setup. 1668 LTFS14113I Specified mount point is listed if succeeded.
I've not looked into the code of this project yet, but what would be the relevant areas to look at as far as adding support for a drive like Quantums if it's using a currently supported gb-ibmtape driver?

@Sector14,
I didn't realize this thing at all. And I never received any PR from the guy working in Quantum yet.
On the other hand, I never added Quantum drive support in this project at all. I guess they added their own code into their source tree based on this project, but I never received any feedback at all.

Now I'm working on supporting HP drives. @idreamerhx, please try multi-vendor branch if you are interested into running LTFS on HP drives.
https://github.com/LinearTapeFileSystem/ltfs/tree/multi-vendor

@Sector14 , @scsirob  ,
For Quantum drives, I will add something after multi-vendor branch is merged to master.
I think almost same method shall work for Quantum drives.

That is excellent news, thank you for your efforts! I can test both IBM and HP side by side. No access to Quantum unfortunately.

I have a Quantum drive I can run some tests against.

@Sector14 ,Thank you for your information.
I will touch you when the experimental code for Quantum is available. The code will be available after merging multi-vendor branch into master.
Please wait a moment.

@Sector14 ,Thank you for your information.
I will touch you when the experimental code for Quantum is available. The code will be available after merging multi-vendor branch into master.
Please wait a moment.

I noticed there's been a few commits related to the Quantum drive. Is this far enough along to be worth building and giving it a test run? Or is there still further work required?

@Sector14 ,Thank you for your information.
I will touch you when the experimental code for Quantum is available. The code will be available after merging multi-vendor branch into master.
Please wait a moment.

I noticed there's been a few commits related to the Quantum drive. Is this far enough along to be worth building and giving it a test run? Or is there still further work required?

Sorry I might forget to notify you. I think it is ready. I merged the #209 for first Quantum support.
One thing you need to take care is the code only supports Quantum's Half Height drives. As you see like the link below, there are some other 2 drives (denend on another repository's info). It would be Full Height drives but I didn't include there definitions in #209.
https://github.com/royalmoose/ltfs-quantum/blob/0a41225db984035e2927d07554b7a5f87bbc01f2/src/tape_drivers/ibm_tape.c#L257:L262


Manual assignment changes the date

When the time is writed, date is modified and put as: January 1st, 1970.

Could you provide an example how/where this exactly happens?

It happens with any example. Here is one.

This is because during the typing the model is updated and the time is probably invalid at the time. When this happens, the model is set to null. You can use base-date to work around this.

So, it would be nice if base date defaults to current date or from ngModel value.

We currently have no intention to change this behaviour ourselfs, but we're happy to accept merge requests.


doc: Document exposing pods across namespaces

This change is

test-docs-please

test-docs-please

test-me-please

test-docs-please


use a pre-trained model for image segmentation

Can you provide the code for migration on the image segmentation task？

sorry， i have known how to do it. thank you!


Webpack Prefetch not work

Bug report

repo: https://github.com/xpromise/webpack_preload
document.getElementById("btn").onclick = function () {
  import(
    /* webpackChunkName: "math", webpackPrefetch: true */ "./js/math"
  ).then(({ mul }) => {
    console.log(mul(3, 3));
  });
};

What is the current behavior?
webpackChunkName works, but webpackPrefetch doesn't
What is the expected behavior?
Want to generate <link rel="prefetch" href="js/math"> in HTML，but not

I think you need https://github.com/GoogleChromeLabs/preload-webpack-plugin for that.
Anyway, webpack nothing can do with html-plugin, please report this issue there, thanks.


text-transform: uppercase hurts copy-and-pastability

Various output elements, including host names and check names on certain screens, have the CSS property text-transform: uppercase. But that makes it harder to copy and paste these pieces. I request to simply get rid of these properties. The visual appeal isn't so great that it's worth this annoyance.

:+1:


Bosh for Aws

Tried to set up environment in AWS, got this error.  Skipped [Found in local cache] (00:00:00)
  Validating release 'bosh'... Finished (00:00:00)
  Downloading release 'bosh-aws-cpi'... Skipped [Found in local cache] (00:00:00)
  Validating release 'bosh-aws-cpi'... Finished (00:00:00)
  Validating cpi release... Finished (00:00:00)
  Validating deployment manifest... Finished (00:00:00)
  Downloading stemcell... Skipped [Found in local cache] (00:00:00)
  Validating stemcell... Finished (00:00:00)
Finished validating (00:00:01)

Started installing CPI
  Compiling package 'ruby-2.4-r3/8471dec5da9ecc321686b8990a5ad2cc84529254'... Finished (00:00:00)
  Compiling package 'bosh_aws_cpi/a67efa0a30b5df5bf8c88d7bcfe880f8cab0dc34'... Finished (00:00:00)
  Installing packages... Finished (00:00:00)
  Rendering job templates... Finished (00:00:00)
  Installing job 'aws_cpi'... Finished (00:00:00)
Finished installing CPI (00:00:00)

Starting registry... Finished (00:00:00)
Uploading stemcell 'bosh-aws-xen-hvm-ubuntu-trusty-go_agent/3541.10'... Skipped [Stemcell already uploaded] (00:00:00)

Started deploying
  Creating VM for instance 'bosh/0' from stemcell 'ami-1e8a9c7e light'... Failed (00:00:04)
Failed deploying (00:00:04)

Stopping registry... Finished (00:00:00)
Cleaning up rendered CPI jobs... Finished (00:00:00)

Deploying:
  Creating instance 'bosh/0':
    Creating VM:
      Creating vm with stemcell cid 'ami-1e8a9c7e light':
        CPI 'create_vm' method responded with error: CmdError{"type":"Unknown","message":"undefined method `map' for \"bosh\":String\nDid you mean?  tap","ok_to_retry":false}

Exit code 1

It's my Zsh problem.
Once I switch to Bash, it worked with "  -v default_security_groups=[bosh] "


Update Games List.json

I forgot a letter in the title image links for the Gears of War games, therefore the images didn't load properly. Fixed that accordingly.

Perfect, merging that


Sidebar content is rendered as a Navbar ?

using this theme in jupyter book.
For some reason the left TOC Sidebar is empty and the content is rendered as top NavBar !!
how to fix that ?

@vsraptor can you please provide a link to a page where you are experiencing this problem? It's hard to debug without images, descriptions of the error, etc

it is local on my machine still..here is it:

@vsraptor can you please provide a link to a page where you are experiencing this problem? It's hard to debug without images, descriptions of how to reproduce the error, etc

I just published it : https://vsraptor.github.io/book/intro.html
here is the repo : https://github.com/vsraptor/book/tree/gh-pages

ahh I see - the reason for this is because of the theme you're using. The PyData theme puts all top level pages in the top navbar, and all chapters within top-level pages inside the sidebar to the left. So if you want chapters to the left, they should be listed underneath a top-level chapter, so for example:

format: jb-book
root: intro

parts:
  - caption: Intro
    chapters:
    - file: markdown
    - file: notebooks

  - caption: MISC
    chapters:
    - file: docs/multi-regex/multi-regex
      sections:  # These will be in the left sidebar
      - file: docs/threensition/threensition
      - file: docs/misc/piped_wordnet
      - file: docs/misc/keyvi-index
    - url: https://gist.github.com/vsraptor
      title: Random code gists

I'll close this one since this is expected behavior in Jupyter Book, and because the pydata theme is more of an "advanced use case". But if there's a different issue that you've got feel free to open a new one!


Peer-to-peer code review

Hi @Maedea9 and @Ruthmy,
Good job so far! 🚀
You still need to work on some issues to improve your code, but you are almost there! 👌

Highlights
✅  No linter errors
✅  Good use of GitHub Flow
✅  Commits are descriptive
Required Changes ♻

JavaScipt:

[ ] Kindly consider creating a function for localStorage to avoid repetitions in your code.

Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this issue. However, I strongly recommend you take them into account as they can make your code better.
Cheers, and Happy coding!👏👏👏
Feel free to leave any questions or comments in this issue thread if something is not 100% clear.
Remember to tag me in your question so I can receive the notification.

You can create this variable globally to keep your code DRY.
https://github.com/Maedea9/to-do-list/blob/ac503afb4496a462515886947fb85c5428672cda/src/modules/functionality.js#L6

Thanks @abiola-arobieke and @CarlosIgreda sure I'll implement the changes you suggest 👍 😄


Trace back slightly different occurrences of names to the same character

The aim is to trace back entity names such as "John Doe"; "Mr. Doe"; "Dr. Doe"; to "John Doe".
Whether this is not possible (when a character name in never reported in its full form), delete all the occurrences but one, so that the count of male and female characters could be more precise.

Note
It is important to maintain both occurrences such as "Ms. Doe" and "Mr. Doe", as well as to find the best balance between deleting all the occurreces of a character name as explaines above, and maintaining the difference between "Mrs. Doe" and "Miss Doe" (even though I think it will be necessary to choose only one of the two options)

After having modified the functions in the gender recognition file, we are stuck in such a situation:
['tommy raddle', 'thomas raddle'], ['miss betsey', 'miss trotwood', 'betsey trotwood', 'betsey trotwood copperfield']
The problem is that we have only two characters that, however, have slightly different occurrences of names. It is possible to solve the problem but, in cases such as:
['miss mary', 'mary ann']
we have two different characters that abstractly recall the form:
['miss betsey', 'betsey trotwood']
Currently, we stopped at this point since, after all, it represents a good balance.

For what concerns ['betsey trotwood', 'betsey trotwood copperfield'] a solution has to be found.


[FR] Insert link to imported file at cursor

When I use "Import local files" I always then insert that file in the note I have open. It would be brilliant if there was a second import command on the command palette that imported the file and inserted a link to that file at the current cursor position. Thanks!

@laurastephsmith
Try to use an existing command Insert Attatchment. That should be sufficient.

Unfortunately Insert Attachment doesn't move the file from where it currently is (in my case /home/laura/Downloads) to where I want it (/home/laura/Vault).

Really? In my environment, when I execute the command, the attachment is copied to the vault.

 Sorry about that.
That said, it still doesn't do what I want unfortunately. Insert Attachment does:
![[someattachment.pdf]]
But I'm looking for:
[[someattachment.pdf]]
Any suggestions would be great! Thanks.


Extending precursor sense to include things like CE, CCS, instrument configuration etc

This allows for ion mobility "multiple conformers", awareness of CE values in spectral libraries, handling mass spec data with multiple fragmentation modes etc

Multiple conformers are really a special case, since most other things I can think of are about deciding whether or not to extract a point from a specific spectrum, where today we would frequently extract from too many spectra and get spikey peaks. Because we so often use 3D spectra for IMS, the multiple conformer case requires applying a filter after the decision of whether the 3D spectrum should be considered a candidate for extraction. Minor point, but in other cases I can think of it is really about deciding whether a spectrum should be considered for extraction where there is a certain place in the code for making that decision.
This doesn't mean we can go back to 2D spectra for IMS, since that would cause a major slowdown where many 2D spectra are now batched into a single 3D spectrum.


Using subdomain for localhost. Cannot read property 'destUrl' of null

Are you requesting a feature or reporting a bug?
Reporting a bug
What is the current behavior?
When I'm trying to load page with subdomain on the localhost, the URL is changed from
http://<IP_ADDRESS>:51779/JkEGRyy8R/https://admin.localhost:8443/ui/#/login to
http://<IP_ADDRESS>:51779/JkEGRyy8R/about:error#/dashboard?name=token_5...
And I've got the following errors in the console.
Uncaught TypeError: Cannot read property 'destUrl' of null
    at Object.u [as get] (hammerhead.js:9)
    at Object.init (hammerhead.js:10)
    at t.attach (hammerhead.js:5)
    at e.start (hammerhead.js:1)
    at task.js:1
hammerhead.js:3 Uncaught TypeError: Cannot read property 'body' of undefined
    at t.initDocumentBodyListening (hammerhead.js:3)
    at t._onBodyCreated (hammerhead.js:6)
    at about:error:1
    at about:error:1

What is the expected behavior?
Test is working on the deployed version of project. I can load a page with subdomain (admin) - https://admin.beta.nameofproject.net/ui/#/dashboard
How would you reproduce the current behavior (if this is a bug)?
Try to use a subdomain for a localhost like admin.localhost
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code
import { Selector } from 'testcafe';
import SignIn from '../signIn/signIn-model'
import Dashboard from './dashboard-model'
import { ClientFunction } from 'testcafe';

const signIn = new SignIn;
const dashboard = new Dashboard;

fixture`SurePatch: Dashboard`
	.page`https://localhost:8443/ui/#/login`
	.beforeEach(async t => {
		await t
			.maximizeWindow()
		// .setTestSpeed(0.2)
	})

test('All graphical elements are displayed', async t => {
	await login(t, 'admin'<EMAIL_ADDRESS>'password')
       // wait for a redirecting to dashboard
})

let login = async (t, org, email, password) => {
	await t
	      .typeText(signIn.orgInput, org)
	      .click(signIn.continueBtn)
	      .wait(1000)
	      .typeText(signIn.email, email)
	      .typeText(signIn.password, password)
	      .click(signIn.actionBtns.child(0))
	      .wait(5000)
}

Specify your

operating system: OSX 10.13.4
testcafe version: 0.20.0
node.js version: v8.11.2

Hello,
The information you provided is insufficient to determine the exact cause of the issue. I have tried to use a sub domain locally, and it works properly on my side. Please provide us with a standalone compilable sample (with a portable database or runtime-generated data, if required) so that we can replicate and debug the issue locally. This should help us narrow down the cause of the problem.

I will close the issue because no activity has been encountered for a long time.
Feel free to reopen the issue if the problem persists and you can provide an example to reproduce it.

This is still an issue.
If you want your pages with a subdomain on localhost you will get the error:
Failed to load the page at "http://subdomain.<IP_ADDRESS>:3000/".
      Increase the value of the "pageRequestTimeout" variable, enable the "retryTestPages" option, or use quarantine mode to perform additional attempts to execute this test.
      You can find troubleshooting information for this issue at "https://go.devexpress.com/TestCafe_FAQ_ARequestHasFailed.aspx".

      Error details:
      Failed to find a DNS-record for the resource at "http://subdomain.<IP_ADDRESS>:3000/".

Can this be looked at how to change this.
When not adding a subdomain eg. http://<IP_ADDRESS>:3000 it will work fine.

Hi @BartKalkman
Is the http://subdomain.<IP_ADDRESS>:3000 URL correctly opened in the browser? If so, could your please share a screenshot?


Fixed typos

The current wording seems correct.  "the common "lorem ipsum" paragraph and two random paragraphs" is three paragraphs total.