Install in Demo

I've got the error same as.
[1/5] Validating package.json...
[2/5] Resolving packages...
[3/5] Fetching packages...
[4/5] Linking dependencies...
warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning " ><EMAIL_ADDRESS>has unmet peer dependency<EMAIL_ADDRESS>warning "workspace-aggregator-95966845-8de7-4c10-9f07-3ed1525ce75e > @aries-framework/react-native > react-native ><EMAIL_ADDRESS>has unmet peer dependency "@babel/core@*".
warning "workspace-aggregator-95966845-8de7-4c10-9f07-3ed1525ce75e > @aries-framework/core > @digitalcredentials/jsonld-signatures > isomorphic-webcrypto ><EMAIL_ADDRESS>has unmet peer dependency "expo@*".
warning "workspace-aggregator-95966845-8de7-4c10-9f07-3ed1525ce75e > @aries-framework/core > @digitalcredentials/jsonld-signatures > isomorphic-webcrypto ><EMAIL_ADDRESS>has unmet peer dependency "react-native@*".
warning "workspace-aggregator-95966845-8de7-4c10-9f07-3ed1525ce75e > @aries-framework/react-native > react-native > react-native-codegen ><EMAIL_ADDRESS>has unmet peer dependency "<EMAIL_ADDRESS>[5/5] Building fresh packages...
[1/9] ⢀ indy-sdk
[-/9] ⢀ waiting...
[-/9] ⢀ waiting...
[-/9] ⢀ waiting...
error /var/www/html/aries-framework-javascript/node_modules/indy-sdk: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: /var/www/html/aries-framework-javascript/node_modules/indy-sdk
Output:
gyp info it worked if it ends with ok
gyp info using<EMAIL_ADDRESS>gyp info using<EMAIL_ADDRESS>| linux | x64
gyp info find Python using Python version 3.10.6 found at "/usr/bin/python3"
gyp info spawn /usr/bin/python3
gyp info spawn args [
gyp info spawn args   '/var/www/html/aries-framework-javascript/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args   'binding.gyp',
gyp info spawn args   '-f',
gyp info spawn args   'make',
gyp info spawn args   '-I',
gyp info spawn args   '/var/www/html/aries-framework-javascript/node_modules/indy-sdk/build/config.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/var/www/html/aries-framework-javascript/node_modules/node-gyp/addon.gypi',
gyp info spawn args   '-I',
gyp info spawn args   '/root/.cache/node-gyp/16.17.1/include/node/common.gypi',
gyp info spawn args   '-Dlibrary=shared_library',
gyp info spawn args   '-Dvisibility=default',
gyp info spawn args   '-Dnode_root_dir=/root/.cache/node-gyp/16.17.1',
gyp info spawn args   '-Dnode_gyp_dir=/var/www/html/aries-framework-javascript/node_modules/node-gyp',
gyp info spawn args   '-Dnode_lib_file=/root/.cache/node-gyp/16.17.1/<(target_arch)/node.lib',
gyp info spawn args   '-Dmodule_root_dir=/var/www/html/aries-framework-javascript/node_modules/indy-sdk',
gyp info spawn args   '-Dnode_engine=v8',
gyp info spawn args   '--depth=.',
gyp info spawn args   '--no-parallel',
gyp info spawn args   '--generator-output',
gyp info spawn args   'build',
gyp info spawn args   '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/var/www/html/aries-framework-javascript/node_modules/indy-sdk/build'
  CXX(target) Release/obj.target/indynodejs/src/indy.o
../src/indy.cc: In static member function ‘static void IndyCallback::onMainLoopReentry(uv_async_t*)’:
../src/indy.cc:236:33: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  236 |                 (void)tuple->Set(context, 0, Nan::New<v8::Number>(icb->handle0));
      |                       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/16.17.1/include/node/node.h:73,
                 from ../../nan/nan.h:60,
                 from ../src/indy.cc:4:
/root/.cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: declared here
 3964 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
../src/indy.cc:237:33: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  237 |                 (void)tuple->Set(context, 1, Nan::New<v8::Number>(icb->u32int0));
      |                       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/16.17.1/include/node/node.h:73,
                 from ../../nan/nan.h:60,
                 from ../src/indy.cc:4:
/root/.cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: declared here
 3964 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
../src/indy.cc:245:33: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  245 |                 (void)tuple->Set(context, 0, toJSString(icb->str0));
      |                       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/16.17.1/include/node/node.h:73,
                 from ../../nan/nan.h:60,
                 from ../src/indy.cc:4:
/root/.cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: declared here
 3964 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
../src/indy.cc:246:33: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  246 |                 (void)tuple->Set(context, 1, Nan::New<v8::Number>(icb->i64int0));
      |                       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/16.17.1/include/node/node.h:73,
                 from ../../nan/nan.h:60,
                 from ../src/indy.cc:4:
/root/.cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: declared here
 3964 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
../src/indy.cc:254:33: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  254 |                 (void)tuple->Set(context, 0, toJSString(icb->str0));
      |                       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/16.17.1/include/node/node.h:73,
                 from ../../nan/nan.h:60,
                 from ../src/indy.cc:4:
/root/.cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: declared here
 3964 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
../src/indy.cc:255:33: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  255 |                 (void)tuple->Set(context, 1, Nan::NewBuffer(icb->buffer0data, icb->buffer0len).ToLocalChecked());
      |                       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/16.17.1/include/node/node.h:73,
                 from ../../nan/nan.h:60,
                 from ../src/indy.cc:4:
/root/.cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: declared here
 3964 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
../src/indy.cc:260:33: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  260 |                 (void)tuple->Set(context, 0, toJSString(icb->str0));
      |                       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/16.17.1/include/node/node.h:73,
                 from ../../nan/nan.h:60,
                 from ../src/indy.cc:4:
/root/.cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: declared here
 3964 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
../src/indy.cc:261:33: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  261 |                 (void)tuple->Set(context, 1, toJSString(icb->str1));
      |                       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/16.17.1/include/node/node.h:73,
                 from ../../nan/nan.h:60,
                 from ../src/indy.cc:4:
/root/.cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: declared here
 3964 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
../src/indy.cc:266:33: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  266 |                 (void)tuple->Set(context, 0, toJSString(icb->str0));
      |                       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/16.17.1/include/node/node.h:73,
                 from ../../nan/nan.h:60,
                 from ../src/indy.cc:4:
/root/.cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: declared here
 3964 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
../src/indy.cc:267:33: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  267 |                 (void)tuple->Set(context, 1, toJSString(icb->str1));
      |                       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/16.17.1/include/node/node.h:73,
                 from ../../nan/nan.h:60,
                 from ../src/indy.cc:4:
/root/.cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: declared here
 3964 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
../src/indy.cc:268:33: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  268 |                 (void)tuple->Set(context, 2, Nan::New<v8::Number>(icb->timestamp0));
      |                       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/16.17.1/include/node/node.h:73,
                 from ../../nan/nan.h:60,
                 from ../src/indy.cc:4:
/root/.cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: declared here
 3964 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
../src/indy.cc:273:33: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  273 |                 (void)tuple->Set(context, 0, toJSString(icb->str0));
      |                       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/16.17.1/include/node/node.h:73,
                 from ../../nan/nan.h:60,
                 from ../src/indy.cc:4:
/root/.cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: declared here
 3964 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
../src/indy.cc:274:33: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  274 |                 (void)tuple->Set(context, 1, toJSString(icb->str1));
      |                       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/16.17.1/include/node/node.h:73,
                 from ../../nan/nan.h:60,
                 from ../src/indy.cc:4:
/root/.cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: declared here
 3964 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
../src/indy.cc:275:33: warning: ignoring return value of ‘v8::Maybe<bool> v8::Object::Set(v8::Local<v8::Context>, uint32_t, v8::Local<v8::Value>)’, declared with attribute ‘warn_unused_result’ [-Wunused-result]
  275 |                 (void)tuple->Set(context, 2, toJSString(icb->str2));
      |                       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /root/.cache/node-gyp/16.17.1/include/node/node.h:73,
                 from ../../nan/nan.h:60,
                 from ../src/indy.cc:4:
/root/.cache/node-gyp/16.17.1/include/node/v8.h:3964:37: note: declared here
 3964 |   V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
      |                                     ^~~
In file included from ../../nan/nan.h:60,
                 from ../src/indy.cc:4:
../src/indy.cc: At global scope:
/root/.cache/node-gyp/16.17.1/include/node/node.h:859:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
  859 |       (node::addon_register_func) (regfunc),                          \
      |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/root/.cache/node-gyp/16.17.1/include/node/node.h:893:3: note: in expansion of macro ‘NODE_MODULE_X’
  893 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
      |   ^~~~~~~~~~~~~
../src/indy.cc:3835:1: note: in expansion of macro ‘NODE_MODULE’
 3835 | NODE_MODULE(indynodejs, InitAll)
      | ^~~~~~~~~~~
In file included from /usr/include/string.h:535,
                 from /root/.cache/node-gyp/16.17.1/include/node/v8-internal.h:10,
                 from /root/.cache/node-gyp/16.17.1/include/node/v8.h:30,
                 from /root/.cache/node-gyp/16.17.1/include/node/node.h:73,
                 from ../../nan/nan.h:60,
                 from ../src/indy.cc:4:
In function ‘char* strncpy(char*, const char*, size_t)’,
    inlined from ‘char* copyCStr(const char*)’ at ../src/indy.cc:13:12:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:95:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
   95 |   return __builtin___strncpy_chk (__dest, __src, __len,
      |          ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
   96 |                                   __glibc_objsize (__dest));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
../src/indy.cc: In function ‘char* copyCStr(const char*)’:
../src/indy.cc:11:24: note: length computed here
   11 |     size_t len = strlen(original);
      |                  ~~~~~~^~~~~~~~~~
  SOLINK_MODULE(target) Release/obj.target/indynodejs.node
/usr/bin/ld: cannot find -lindy: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [indynodejs.target.mk:148: Release/obj.target/indynodejs.node] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/var/www/html/aries-framework-javascript/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Linux 5.15.0-1028-aws
gyp ERR! command "/usr/bin/node" "/var/www/html/aries-framework-javascript/node_modules/indy-sdk/node_modules/.bin/node-gyp" "rebuild"
gyp ERR! cwd /var/www/html/aries-framework-javascript/node_modules/indy-sdk
gyp ERR! node -v v16.17.1

Based on this line it does not seem like you have the Indy-sdk installed.
/usr/bin/ld: cannot find -lindy: No such file or directory
You can find a tutorial for installing the Indy-sdk at aries.js.org

Closing this as answered. Please open a new issue @mjour if you're still running into problems


Memory check failure for NVHPC compiler

I ran the memory check for MICM on Derecho with the following module env:
  1) ncarenv/23.09 (S)   3) nvhpc/23.7            5) hdf5/1.12.2    7) cray-mpich/8.1.25   9) valgrind4hpc/2.12.11
  2) craype/2.7.20       4) ncarcompilers/1.0.0   6) netcdf/4.9.2   8) cray-mrnet/5.0.4   10) cmake/3.26.3

The memory test on Derecho's CPU with nvhpc compiler suggests two failures:
96% tests passed, 2 tests failed out of 54

Total Test time (real) = 158.77 sec

The following tests FAILED:
	 11 - troe_rate_constant (Failed)
	 12 - memcheck_troe_rate_constant (Failed)

In #233 we learned that NVHPC seems to compute the troe rate constant with a different level of precision in a debug build in the class method as opposed to the calculation in the test. A difference is that the values are pulled from the class member variables vs written into the calculation by hand. There was no difference in the values, but still the level of precision  was different.
However, a release build did not have the difference of precision. No idea why. The resolution is to test an nvhpc build in our CI as a release version and ignore this failure with the debug build. At this point, this seems to be an internal compiler error and we will not investigate further


Hide file extension on every url(Work In Progress[WIP])

fixes #https://issues.fluidproject.org/browse/FLUID-6485
Routes now have hidden file extensions(.html);
BEFORE:

AFTER:

fixes https://issues.fluidproject.org/browse/FLUID-6485
Work: Hide file extension on every url.
SubTasks:

Restructured documents directory and implement logic for pretty urls(Completed)
Fix broken links(image and document links).(Incomplete).

Closed for lack of activity


Implement HashChain search

HashChain is pretty much the fastest search for longer patterns.   Implement it for byteseek.
It works well for low alphabets and high alphabets, and is tunable for different memory requirements.  It's a factor search, most similar to WFR in that it uses a rolling hash construction.  It creates chains of hashes in the hash table with a fingerprint that allows verification that the next hash is correct before doing another index lookup.
Need to figure out where its worst cases get triggered.  Search time rises dramatically (like QF, and WFR).  In practice it seems quite hard to trigger if the hash table is sufficiently full and we aren't dealing with pathological low alphabet or repetitive data.  It still does better than WFR or QF in these situations though.

NB.  HashChain is not yet finished or published.  I'm still working on fully understanding and optimising the hash table construction, and defining what tuning parameters are required (automate as far as possible, use should only select memory really, although knowledge of low/high alphabet or types of data to search (shannon entropy?) could influence selection of qgram length and bitshift parameters.


Update common repository structure

This approach using package data will allow us to include config files in the whole package. Then we can simply access the file from path given from specific package like:
from importlib.resources import files
print(files('noobaa_sa_common.config.noobaa'))

So I can easily reinstall the whole package from my local path via:
pip install /path/to/my/local/noobaa-sa-common

and will get new changes from common + config files in venv.
Also I am changing the name of the package from common to noobaa_sa_common - as the common is too common and can be in problem with maybe other same name package from other project. Now it will be more clear when doing import like:
from noobaa_sa_common.exceptions import AggregateNodeStatusCheckFailed

Which is now more obvious from which package we are importing.


Changing chart type can invalidate axis labels.

http://bouil.github.io/angular-google-chart/#/fat

Change chart type to BarChart
Date and Sales Unit labels do not get swapped

I am curious to see if anyone has a clean approach for fixing this. Currently, I am just swapping the labels when the chart type is changed to BarChart. Wondering if this logic could benefit by being added to angular-google-chart or if it should be kept independent from the library.

There was once a pull request (#118) that was proposed to resolve this issue.
My thoughts on this issue

We should definitely fix the demo page.
Building this into the directive is contrary behaviour to the Google Charts API.
Existing users have probably already written work-arounds themselves, so adding one directly to the directive would be a breaking change.

All that being said, I think it should be considered, especially since it's come up more than once... but if added the version number should change to reflect the breaking changes to as not to break people without warning for those using package managers with auto-updates.

Hey Balrog, I agree with your thoughts on this. I was able to fix the issue in the application I am working on, however, the fix is more custom to the application behavior and would not be a good fit for this directive.
I am going to close this issue as it sounds more like a feature request. Creating an option for swapping axis when the chart type is changed could be set as an optional configuration value -- which should eliminate any breaking changes. I'll take a look and see if I can come up with something clean.


Tuya state changes not properly reflected.

I have wall switch which I'm controlling with AppDaemon 4 via the turn_on and turn_off api. The switch activates as expected after using turn_on, and also deactivates correcly after using turn_off... however, the state in home assistant remains on regardless of how long I wait for this to updated. This results in home assistant not being able to activate the switch again as it thinks it is allready on and therefor does nothing.

i have almost the same isue with a lightbulb
when i turn it on in home assistant it is turning on but the switch in home assisistant is flipping back to off

Same issue here with a switch on docker HA 2021.11, works once after a server restart but any subsequent change flips back to previous status after a couple of seconds.  I have the device status notification API authorized for the cloud project.

I'm having the same issue and I think many other pepole are experiencing it as well.
This is basicly making HA and Tuya unusable at all...
https://community.home-assistant.io/t/tuya-devices-stopped-changing-state/220954
https://community.home-assistant.io/t/new-tuya-on-2021-10-not-working/344555/46

Just one additional comment (not sure if its related or not). When this issue started to happen - my switches icons changed to power socket...

same issue with tuya socket and rgb led and light switch. HA 2021.11.5

Un or late responding state changes in HA also here on simple tuya smart-plugs that worked great and sincro in formar releases of HA.

Facing the same issue with lamps and wall switches. Thermostats and sensors seems to work properly.

same issue here

This seems like the same issue as documented in issue #515 back on 1st Oct.
As stated by others in this thread, this issue appears to be widespread & making the integration 'unuseable' as it's not possible to rely on it to accurately reflect the state of a SmartPlug. And I don't actually see any progress (or even input!) on these issues from the Tuya Co. developers who maintain this integration - its reflecting badly on the Home Assistant developers as a result.

I'm seeing this same problem, would love to get this fixed, if I could find the code I would look into it myself.

Isn't the code included under the 'Assets' link (v1.6.0) within the 'Code' tab at the top of this page?  Not being a developer, I don't know how it works, but perhaps because this integration is actually maintained by the hopeless Tuya developers themselves, then it isn't available??
What we need is the original Tuya integration returned to the library - it worked, reliably! So where was the benefit to 'pulling' it and re-writing it!? (and if I read correctly, the Tuya developers did such a bad job of it, that the main HomeAssistant developers had to step in and completely rewrite parts of it overnight just to get it working).
The issue needs escalated within Tuya Co. as it's their integration!

You could switch to the LocalTuya Integration, but it has its problems too (especially if you use it on more than one HomeAssistant installation) and the issues dont seem to get fixed very fast - there's a significant list of open bug reports.

Just chipping in: same issue here with 1 of my 2 cover entities. It always shows "closed" but service call to close it work, and the status is displayed correctly in the smartlife app, just not HA

Same issue here guys. I've to reload the Tuya integration before using the sw in HA to make it work but it goes back to broken stage when I open HA next time. 😭

please check if your "Development method" is ok, for me "Custom" don't work, changed to Smart Home did it.


Create osv-scanner.yml

add  osv-scanner.yml file
Description:
add  osv-scanner.yml file
Related Issue
N/A
Screenshots (if applicable)
N/A

add osv-scanner.yml file inside the correct path


Transaction example improvement

Description
There is currently no example demonstrating how to deserialize the Bag of Cells (BoC) returned from an executed transaction. Additionally, I find the simple example unclear in certain areas, particularly regarding wallet connection. Moreover, there is a bug that causes the app to crash when running due to the getConnection method in the BridgeProviderStorage class and failing send method of the BridgeGateway class.
Possible solution
Add a new example file that sends a transaction, deserializes the result and shows how to get transaction info.

Thanks for contribute.
I fixed this bug in myself, but not pushed yet, because this version is not public to pypi.
There are a few bugs fixed, I’ll try to push them in the next few days if someone is already using this version from github.


Issue with pagination

Hello, I want to say that your component is really awesome, I modified the measureItems file, order to wait for the load of image in individual children.
But I have a problem with pagination, the first time the page only flash, it's because you use a grid when the elements are not new and size was calculated, so, Can I render in a grid the new and the old elements?
(I'm sorry for my very bad english, I'm not a native speaker).
Thank you and best regards.

Hi, thanks for the kind words, sorry for the late reply!
I have updated measureItems myself to have an option to wait for images to load, perhaps you could give this a try and see if it helps? Something like:
const Grid = measureItems(SpringGrid, { measureImages: true })


Add Crystal::Macros::NumberLiteral#to_s(base)

Discussion
It would be very useful to allow converting a number literal to an alternate base value when using macros. This would be mostly useful when generating repetitive specs with macros.
Example
{% for byte in (0x7f..0xff) %}
  context "when given the byte 0x{{ byte.to_s(16) }}" do
    ...
  end
{% end %}

Same as the other issue, you can do it like this:
{% for byte in (0x7f..0xff) %}
  context "when given the byte 0x#{ {{ byte}}.to_s(16) }" do
    ...
  end
{% end %}

That is, move the to_s(16) call to happen at runtime.

Nevermind, that probably doesn't work in spectator because it probably needs the spec name to be a string literal...

@asterite that also worked.


[Feature] Implemented Skewed-Sigmoid CPU throttling

(Reposted from #127 due to a GitConcensus bug closing the previous pull request)
Using less CPU when you have a shortage and more when you have a surplus is important- and there are many curves that can be applied to this problem with various nuances in their behaviours. I decided to use this one, because I happened to have a book on neural networks open at the time.
This solution uses a Sigmoid Curve between the range of [0.5 * cpuLimit, cpuTickLimit - 130], which produces a variety of angles against which the CPU usage can settle. This will, in effect, run enough processes to hold the bucket just above half full.

The gold line marks the current linear throttling. The upper black curve is the current implementation of this PR, while Rob's suggested change would produce the lower black cpuLimit curve. The spike is present on both the linear and the cpuLimit curve, and is less-pronounced at higher GCLs. The cpuLimit curve holds the bucket around 9500, but increases the rate of throttling the lower the bucket becomes.
Edit:
This PR now implements the lower black cpuLimit curve instead of tickLimit.

This Pull Request has been closed by GitConsensus.
Vote Totals

Yes
No
Abstain
Voters

2
0
0
2

Vote Breakdown

User
Yes
No
Abstain

tedivm
✔

dragoonreas
✔

Vote Results

Criteria
Result

Has Quorum
False

Has Votes
True

God dammit gitconsensus, what are you doing to me!


Folder At.js doesn't play well with uglify, min, copy functions

Why not just name it Atjs... something that plays nice with **/*.js

Same goes for the dependency of Caret.js


Adopt Sublime Text's handling of punctuation at the start of alt-left/right

Description
Atom alt-left/right and alt-shift-left/right (skip over or select word) should ignore certain punctuation characters in front of the cursor. This makes it easier to select parts of a JavaScript property chain, for example.
Steps to Reproduce
Tab through this text in Atom vs. Sublime Text:
this.props.horse.cart.battery.staple

Tab through this text in Atom vs. Sublime Text:
this.props.horse.cart['battery'][staple]

Screencast showing Sublime Text vs. Atom behaviour:
https://www.youtube.com/watch?v=qovtU8MIygo&feature=youtu.be
Expected behavior:
In the first example when you start a selection before a period Sublime Text includes the period and continues to the next punctuation character. In the second example Sublime Text also skips over [' at the beginning of the selection.
Actual behavior:
Atom stops at every punctuation character.
Versions
Atom 1.13.0 x64 Mac

I'll bring this to the dev team. It is unlikely that we will replace the current behavior, though we may add new commands that behave in the way this specifies.

I reviewed this with the development team and they agree that it would be a nice option to have. On the other hand, this is not something that we will get the chance to work on any time soon. Because we treat the open issues list as our backlog of what we will be working on, I'm going to close this.
We would be open to accepting a well-crafted pull request that implements new commands for these movements, so I'll mark this with help-wanted.

Hello, im new here but i would like to help with this feature


[Feature Request] Open page given an URL Environment Var

Ease of open-that-quick use
docker run -d \
    --name=firefox \
    -p 5800:5800 \
    -v /docker/appdata/firefox:/config:rw \
    --shm-size 2g \
    -e URL="https://exam.pl/e" \
    jlesage/firefox

There is no Environment Var named URL. Maybe you can set homepage by Setting Firefox Preferences Via Environment Variables to open the URL.

There is no Environment Var named URL. Maybe you can set homepage by Setting Firefox Preferences Via Environment Variables to open the URL.

That's what I wanted, I know there's no URL eVar, and -e "FF_PREF_HOME=browser.startup.homepage=\"https://duckduckgo.com\"" is somewhat ugly.
So, changed the title for clarity.

Implemented in latest image.


Extra credit

Add a help text and an echo mode. Handle lists in the message component.

:tada: This PR is included in version 1.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Renaming files for simplicity and clarity

…tting

[x] This contribution adheres to contributing.md.

TODO: Check the above box with an 'x' indicating you've read and followed contributing.md.
What does this Pull Request accomplish?
This pull request renames and organizes file names to emphasize the VI's function
Why should this Pull Request be merged?
Current file names have redundant information.  The library itself has many unused virtual folders.
What testing has been done?
None

[ ] Add VIs to pallette in Build Spec

[ ] Consider creating folders for polymorphic instances


Add command for workflow update

What was changed
Added 'workflow update' command to update workflows.
Why?

There is a new feature to update workflows synchronously: https://github.com/temporalio/temporal/pull/3822
This change adds a command to the client to call that API.
Checklist

How was this tested:
Tested locally.

Any docs updates needed?

The "workflow" section of CLI doc should be updated: https://docs.temporal.io/cli/workflow

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


Week 7 Review Ticket

Name
Review Ticket
Fastpages
Pair Grade

Nicolas Mounier
link
link
2.7+

Rohan Gaikwad
link
link
2.7+

Bailey Say
link
link
2.7+

Andrew Meng
link
link
2.7+

Project Repo

ArrayList
Bailey made class based on ArrayList.  Text based menu.  Discussed other implementation ideas from what he did.  Had nice interface.  Covered many elements, each element.
Nic and Rohan.   Talked about a Jeopardy.  More of a use case.  Science Olympiad questions.
Akhil - Made a 2d list in the arraylist.
Saatvika - did an iteration of questions.
FE and BE
Andrew - did a flag in VSCode to de-lambok.  Made an new repository.  Grades and Categories added.
Saatvika - started changing attributes did some minor adaptations.  yucky and yummy.  Shared SQL code.
Akil - shared sqliteview extension in VSCode
Bailey Team 2.7
Akil Team 2.8


organization_actions_variables permission is missing from the documentation

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/rest/apps/apps?apiVersion=2022-11-28#create-a-scoped-access-token
What part(s) of the article would you like to see updated?
create a scoped access token is missing description for organization_actions_variables permission, this permission is supported by a REST API but not listed in the documentation.
Additional information
No response

@vmasutin Thanks so much for opening an issue! I'll get this triaged for review ✨


1st Friday in Month is wrong

Describe the bug

I configured a sensor being active on "1st Friday in month". It shows the next date as "2021-04-30" which is obviously not the first Friday.
Configuration
Do you configure the integration in YAML or Config Flow (GUI)? :
Config Flow

Error log/debug information

Screenshots

Version
Integration version: 3.17
Home Assistant version: core-2021.4.6

You have configured it to use the number of week, instead of number of weekday.
So it is not first Friday of month but the Friday first week of the month. And 1st is on Sunday, so it counts as first week.
I do not understand the use of this as well, I agree it looks confusing, but this was sent as a PR and number of users asked for it, so it apparently is needed. Not sure what for.
Anyhow, just uncheck this option and you should be fine.
Did you configure it that way on purpose? Why? I do not think this is a default option. Is the documentation unclear? If it is, can you suggest a better wording?

I think, it was just a mistake setting this. After removing it, it works as expected. Thanks!


Add service description builder state

Changes proposed in this PR

expose service description builder state

Why are we making these changes?
stateful custom service description builder needs to expose state for health monitoring

@shamsimam green


[AMBARI-23245] Invalid value for zeppelin.config.fs.dir property

What changes were proposed in this pull request?
Added some code to HDP 2.6 stack advisor, to add property zeppelin.config.fs.dir only if stack >= HDP-2.6.3.
How was this patch tested?
Tested for HDP-2.6.2, HDP-2.6.3 and HDP-2.6.4. It works fine.
Please review Ambari Contributing Guide before opening a pull request.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1165/
Test PASSed.


Gear shifter moving

The problem is that: There's no gear in GTA SA, It's just a looped audio. I don't know if it would be possible to create an effective gear simulation.

Yo, I have an idea as to how it could work. You see, if you download the forza speedo mod or the manual transmission mod and use the automatic version, you can see they do work with the car's gear system, they show you the true gear you're in, it's not just a guess depending on the speed. I think you can figure something out, but as for the node I have an idea, you can use maybe 'f_shift =' for the name. As for everything else, it could be something like x5y5. Esentially 'x' would be the maximum amount of distance between the node's axis in the x direction and the final point, that's a certain gear. Y would be the maximum amount of distance between the axis and the final point

(Made in piskel cause why not)
As you can see, if I set x to equal 5 for instance, the object (in this instance, the gear lever) would be able to move 5 cm to either direction in the x plane. That would set where the space that goes first to second and fifth to reverse would be.
If I set y to 8 for instance, that would mean that once the lever is for example in the space between first and second, it will move 8 cm front or back (depending on the gear).
For third to fourth, it's just the x origin and the y coordinates
I hope I made myself clear

Yo, I have an idea as to how it could work. You see, if you download the forza speedo mod or the manual transmission mod and use the automatic version, you can see they do work with the car's gear system, they show you the true gear you're in, it's not just a guess depending on the speed. I think you can figure something out, but as for the node I have an idea, you can use maybe 'f_shift =' for the name. As for everything else, it could be something like x5y5. Esentially 'x' would be the maximum amount of distance between the node's axis in the x direction and the final point, that's a certain gear. Y would be the maximum amount of distance between the axis and the final point

(Made in piskel cause why not)
As you can see, if I set x to equal 5 for instance, the object (in this instance, the gear lever) would be able to move 5 cm to either direction in the x plane. That would set where the space that goes first to second and fifth to reverse would be.
If I set y to 8 for instance, that would mean that once the lever is for example in the space between first and second, it will move 8 cm front or back (depending on the gear).
For third to fourth, it's just the x origin and the y coordinates
I hope I made myself clear

Yes, the manual transmission mod is a "true" gear because it simulate new gears, but it is not a good mod, I'll not do this.
And Forza speedo, "it's not just a guess depending on the speed"? Are you sure? Send me the mod.

Yes, the manual transmission mod is a "true" gear because it simulate new gears, but it is not a good mod, I'll not do this.
And Forza speedo, "it's not just a guess depending on the speed"? Are you sure? Send me the mod.

https://www.gtainside.com/en/sanandreas/mods/98245-forza-horizon-3-speedometer/
Here. As you move in the car, you'll notice how the gears move accordingly. It's not just based on speed, so if you can take a look around the code, you may be able to see how they did that

https://www.gtainside.com/en/sanandreas/mods/98245-forza-horizon-3-speedometer/
Here. As you move in the car, you'll notice how the gears move accordingly. It's not just based on speed, so if you can take a look around the code, you may be able to see how they did that

No, it uses the fake in-game gear value, did you tested it? Doesn't follow the engine audio, it is just a value used for acceleration calculation.

No, it uses the fake in-game gear value, did you tested it? Doesn't follow the engine audio, it is just a value used for acceleration calculation.

Hmm, well then, it seems that this will be a bit harder then. May I suggest something? What if instead of relying on what little the game has done for gears, we make our own system. What if instead of just using the animation, we create one whole new gearing system? It's gonna be hard for sure, but it could potentially have some nice results. What I'm proposing is something like the manual transimission mod, except it's "semi-manual", that is, you move the car and it moves normally, as in the vanilla game, but if you want to go back 1 gear because you're taking a curve or need to slow down but not completely brake, you can press one button and it does that.
I think something like this could be really beneficial for people like me, who want the adrenaline of shifting gears and whatnot, but not be tied to it, because it's kinda annoying having to change gears while a fat dude is popping vagos behind you like with the manual transmission mod. If you added this feature as something that's completely apart from the .dff model, it could technically make every car already "compatible", since it doesn't need a node or dummy.
Plus, if you do make this feature, you can then make it match the animation thing I proposed
Cheers!

Hmm, well then, it seems that this will be a bit harder then. May I suggest something? What if instead of relying on what little the game has done for gears, we make our own system. What if instead of just using the animation, we create one whole new gearing system? It's gonna be hard for sure, but it could potentially have some nice results. What I'm proposing is something like the manual transimission mod, except it's "semi-manual", that is, you move the car and it moves normally, as in the vanilla game, but if you want to go back 1 gear because you're taking a curve or need to slow down but not completely brake, you can press one button and it does that.
I think something like this could be really beneficial for people like me, who want the adrenaline of shifting gears and whatnot, but not be tied to it, because it's kinda annoying having to change gears while a fat dude is popping vagos behind you like with the manual transmission mod. If you added this feature as something that's completely apart from the .dff model, it could technically make every car already "compatible", since it doesn't need a node or dummy.
Plus, if you do make this feature, you can then make it match the animation thing I proposed
Cheers!


android and ios working really well, but IOS is only running Protocol buffers test harness

On Android it shows the samples.
But on IOS, it only shows the Protobuf example..
Still trying to work out where to change the code to point to different sample.
Is this correct ?
open $(APP01_FILE_PATH)/ios-app/SampleApp/SampleApp/AppDelegate.m
open $(APP01_FILE_PATH)/android-app/SampleApp/app/src/main/java/io/gomatcha/sampleapp/MainActivity.java
Anyway here is how i kick off the samples:
DIR=$(PWD)

LIB_GO_PATH=gomatcha.io/matcha
LIB_FILE_PATH=$(GOPATH)/src/$(LIB_GO_PATH)

APP01_GO_PATH=gomatcha.io/matcha/examples
APP01_FILE_PATH=$(GOPATH)/src/$(APP01_GO_PATH)

build-change:
	open $(APP01_FILE_PATH)/ios-app/SampleApp/SampleApp/AppDelegate.m

build-ios:

	# build their examples
	matcha build $(APP01_GO_PATH)

	# open ex 01
	open $(APP01_FILE_PATH)/ios-app/SampleApp.xcworkspace

	# Set the Development Team in Xcode under General > Signing and select SampleApp in the target dropdown in the upper right. Then run the App!

build-android:

	matcha build $(APP01_GO_PATH)

	open -a /Applications/Android\ Studio.app $(APP01_FILE_PATH)/android-app/SampleApp

I've created a PR to remove the Protobuf Test Harness target. https://github.com/gomatcha/matcha/pull/41 Maybe this will fix your issue?

Thanks.
The protobuf test harness will still be useful.
Would be good if it's part of the main setup that loads up all the views.
Helps with newbies checking their protobuf work :)
Thanks again Kevin
On Sun, 15 Oct 2017, 01:26 Kevin Dang<EMAIL_ADDRESS>wrote:

I've created a PR to remove the Protobuf Test Harness target. #41
https://github.com/gomatcha/matcha/pull/41 Maybe this will fix your
issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gomatcha/matcha/issues/39#issuecomment-336674538, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ATuCwiVSP7CBQBmF20NTvPnX8k7_bm0Iks5ssUMjgaJpZM4P4i5H
.


Provide support for a "find or create" feature

I'd love support of some sort of "first or create" function. There is an equivalent in Rails called first_or_create and it either returns an existing record, if it exists, or creates a new record and then returns that. It also lets you find by any field you want, not just unique ones. https://guides.rubyonrails.org/v3.2.13/active_record_querying.html#first_or_create
User.where(:email => 'rob@me.com').first_or_create(:name => 'Rob')

It combines the fields you put in the where with the fields you gave to first_or_create when it goes to create the record.
ClientJS currently has upsert but it requires an update param, which I don’t care about, and you can only where on unique fields.
Right now as a workaround I’m doing:
const existing = await db.user.findMany({ where: { email<EMAIL_ADDRESS>}})
if (!existing.length) {
  await db.user.create({data: { name: 'Admin', email<EMAIL_ADDRESS>}})
}

And I feel all gross. :)
@schickling mentioned in a thread on Slack that this will be available soon which would be awesome:
await prisma.user
  .findFirst({ lastName: 'Doe' })
  .orCreate({
    firstName: 'Alice',
    lastName: 'Doe',
    email<EMAIL_ADDRESS>    profile: { imageUrl: 'http://...', imageSize: 100 },
  })```

Hello @cannikin,
thanks for submitting your feature request!
I think this or similar functionality is being already tracked in https://github.com/prisma/prisma-client-js/issues/85.
I'm closing this issue. Please feel free to leave a comment if you don't think this is addressed in that issue and I will have a look again.


Remove Cargo.lock

This PR is also just to test that bors is working properly

bors r+

bors retry


deleted workaround for related entities query manager

Current QueryManager for Related Entities  used two calls in recurrence chain.
Query.SubQuery<"GetInstanceWithRelations"> doesn't have logic to get referenced_by correctly, Query.SubQuery<"GetServiceInstance"> does, but it has to have service_entity name which is missing when going down to recurrence tree.
When first one will be updated, then we can simplify query to only Query.SubQuery<"GetInstanceWithRelations">

GET call lsm/v1/service_inventory still doesn't return referenced ids for given service instance


Crash

I'm getting a crash when trying to load the mod. I tried the latest version first and then back dated one and still got the crash. Here are the reports:
crash-2017-03-04_02.31.31-client.txt
crash-2017-03-04_02.50.28-client.txt
For now I've disabled the file but I'd really like to restore it as soon as possible. I'm aiming to let players build towns and cities so the area climate control via RF is very much something I want for my settlements. You shouldn't have to worry as much about basic survival when you are in "town" lol

This makes no sense...This is definitely something on their end..once again. I do not reference the offending interface (ISyncedOption) anywhere in my code which means they are for some reason making it do this. The error is on ToughAsNails end. Wish I could be of more help.

I'll look to see if they have a github and link them over to this thread that should make it easy for them to read my initial post, the error message, and also work with you if they think that is needed to help track down a conflict of some sort. :)

yeah I'm totally willing to if they are :)

just found it..it's on my end, but due to changes in recent TAN update..looking into it now

just waiting on Curse :)

Sweet! I'm glad I posted it to the Tough as Nails guys the way I did because when they come here they can instantly close the issue on their end and things will be working as soon as curse moves on things.

u can close the issue over there :)

Updated, launched, and successfully loaded. Good job.


Rejected by Apple

Hi! I recently got rejected by Apple with this weird reason:
Guideline 2.1 - Performance - App Completeness
We found that your in-app purchase products exhibited one or more bugs when reviewed on iPhone running iOS 13.3 on Wi-Fi.
Next Steps
When validating receipts on your server, your server needs to be able to handle a production-signed app getting its receipts from Apple’s test environment. The recommended approach is for your production server to always validate receipts against the production App Store first. If validation fails with the error code "Sandbox receipt used in production," you should validate against the test environment instead.
Do you have any idea how to fix it?
My current version MerchantKit 0.13.0

@denandreychuk I'm not saying this is definitely your issue, but I ran into a similar response and the only change I made was adding a check and alerting on SKPaymentQueue.canMakePayments prior to kicking off the purchase flow.

That check sounds like something I should add to MerchantKit itself.

@benjaminmayo I successfully passed the review, so I believe that Apple was just retrograde those days :)

Good news :) and thanks to @Nomad00 for flagging the SKPaymentQueue.canMakePayments thing, I should accommodate that in the framework.


Default config for MacOS

issue:- https://github.com/starfixdev/starfix/issues/109
I have used the macOS "which" command to check if an IDE is installed in the users path.
Please review the code if its appropriate or should i resort to using path_env.contains or Files.exist method
PS- build was successful after changes
Thank you ! :)

@kanha-gupta did u test this too? if yes what version of macos did  u test on?

@fahad-israr Nope, i wanted to but Don't have access to MacOS right now,
Does testing on a macOS VM or docker container works ?

should be good but just need to make sure it works atleast once on a real system. try if you can else at last I'll test on my machine .

I am highly Doubtful if i can arrange a Mac in a short time frame.
Would be alot of help if You can test it :)
Thanks alot !


[FLINK-10052][ha] Tolerate temporarily suspended ZooKeeper connections

What is the purpose of the change
This pull request is based on https://github.com/apache/flink/pull/11338
When ZooKeeper client experiences a ConnectionLossException, it doesn't mean that the latch on the ensemble is lost, which infer that the current contender is possibly still the leader.
Given a common case that we actually have one contender for leader election but the network environment between client and ensemble is unstable. In this case contender such as Dispatcher will experience a "revoke" - "regranted" loop that cleanups and recovers internal states. This causes two shortcomings.

It is unnecessary cycles cost since from ZK or said global perspective the contender never lost its leadership.
Unfortunately, Flink suffers several HA problems such as FLINK-10333 which will be in worse case when this leadership flip-flops happens frequently.

Although the general solution should be we properly fix the problems in our high-availability implementation, this PR eases quite a bit of user experience.
Following thoughts would be

As a previous common inside ZooKeeperLeaderElectionService. It says // Maybe we have to throw an exception here to terminate the JobManager. I agree on the statement and it would be better we use a JobManager(child) → Dispatcher(supervisor) and Dispatcher/RM(child) → ClusterEntrypoint(supervisor) model to properly handle failure as Actor Model does. It will totally regenerate the child instead of trying to handle states among different leader epochs, which is error-prone. And since we tolerate temporarily suspended leadership lost would be a rare event.
We internally implemented a LeaderStore based high-availability abstraction which is described in this thread. It is verified online for a while and I'm digging a way to contribute it back to our community. Basically the interface and architecture changed so it might cost some time for find a good rolling-up way.

Verifying this change
This change added tests and can be verified as follows:

ZooKeeperLeaderElectionConnectionLossTest

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (docs)

cc @wangyang0918 @zentol @tillrohrmann

VERY UPSET BY NO RESPONSE. CLOSED.

what was that...

Sorry for not getting the attention this PR deserves to get. I am currently quite under the water and have to see when I can review and test this PR. If somebody else from the community would like to help, then I would highly appreciate it.

@tisonkun Thanks for looking into this and creating the PR for this long-standing issue, and sorry again that it was sidelined for so long! It would be cool to get this in in time for the feature freeze for 1.14. I would be available to review and pester @tillrohrmann as much as required to get it done quickly - would you be willing to reopen?
Some points I noticed on a first pass:

Current behavior should be kept as default, meaning that we have a config option like tolerate-connection-loss which defaults to false (similar to an earlier version of the PR, except different default).
As mentioned on the ticket, we probably have to remove this line, so ZooKeeperLeaderRetrievalDriver does not reset leader address on SUSPENDED. I think we are currently also missing tests for that class.

@nicoweidner I'd suggest naming the config option tolerate-suspended-connections to make it clear that we do not tolerate Curator's LOST (expired Zk sessions). I think it is actually debatable whether we need another config option. I think we would want the best possible experience out of the box. Is there any situation where we would the current behavior?

This is a better and more precise naming suggestion for the config option!
I took the point about keeping current behavior as default from a conversation with @tillrohrmann. The reason might be fear of unforeseen consequences when getting this in at the last minute (so it does not have much exposure before the release) - I will get him to chime in on this topic.

I would like to separate the introduction of this feature and the corresponding config option from the decision whether to change its default value in order to keep the scope of this PR smaller. So I would suggest to open a follow-up ticket for changing the default value.

I second @tillrohrmann's suggestion that changing the default value as a follow-up ticket. As a user, I would like to configure this option explicitly step by step, not expect to have this feature enabled silently.

This all depends on whether we see this as a bug fix or a new feature. I tend to think it is a bug fix. However, it is perfectly reasonable and probably less risky to gradually test out the change by feature-flagging it.
Does anybody know whether @tisonkun has capacity to work on this? Otherwise, I might take an attempt at finishing the changes here.

This all depends on whether we see this as a bug fix or a new feature. I tend to think it is a bug fix. However, it is perfectly reasonable and probably less risky to gradually test out the change by feature-flagging it.
Does anybody know whether @tisonkun has capacity to work on this? Otherwise, I might take an attempt at finishing the changes here.

If you're not in a hurry, I will try to bring it back in this weekend. Otherwise you can create one and request my review.

@mxm I go through the comments above and consider it will be a long discussion to finish the effort again. Hopefully you can take over the job and help get it ready. I've already heard from a large number of users asking whether we can make this fix or feature to reduce instability of Flink system.

@mxm I go through the comments above and consider it will be a long discussion to finish the effort again. Hopefully you can take over the job and help get it merged.

@tisonkun Sounds good! I'm happy to continue the work and bring it over the finish line. I'll start working on it on Monday, just in case you want to give it another go on the weekend after seeing Nico's comments :)

@mxm How are things looking for you capacity-wise? We would probably have to finish this ticket this week in order to get it into 1.14. If you are busy, I can also try to move this forward tomorrow/Friday in a last-minute effort.
My impression is that there is not much missing - basically just removing one line and adding the config setting, as well as integrating the test better with the existing tests for connection handling.

It seems that @mxm didn't find time picking this PR up. I'll take over and try to finish it.

I was planning to finish it this week and wanted to start now but feel free to take it over. I didn't know that it was so urgent, considering it had been open for years :)

@tisonkun @mxm Thanks again for your efforts, and sorry for how this went down in the end! This is certainly not the way it's supposed to go... Things got a bit hectic when we realized recently that this issue would be good to finally get resolved for 1.14. We will try our best to be more responsive to contributions in the future.

No worries! I'm happy to see that the fix made it into 1.14 :)

@tisonkun  @tillrohrmann  @mxm
Was this fix introduced to any 1.13.x versions?
I'm currently using 1.13.2 and the issue fixed here is happening to me

@yoav-rosenthal AFAIK this has only been ported to Flink 1.14.0 and later. You can see that in the Fix Version of the associated Jira Ticket: https://issues.apache.org/jira/browse/FLINK-10052


Update workspace dependencies

Description and Motivation
Updates dependencies of workspace crates.
This sets us up to perform many clippy changes in a future PR (coming soon) to replace deprecated and remove redundant code.
All unit tests continue to pass.
I am not up to the play with cosmwasm versions -- but this updates to cosmwasm 1.4. If chains we deploy to do not support cosmwasm 1.4, then this PR will need some revisions. Let me know if this is the case.

Checklist:

[X] I have read Migaloo's contribution guidelines.
[X] My pull request has a sound title and description (not something vague like Update index.md)
[X] All existing and new tests are passing.
[X] I updated/added relevant documentation.
[ ] The code is formatted properly cargo fmt --all --.
[ ] Clippy doesn't report any issues cargo clippy -- -D warnings.
[x] I have regenerated the schemas if needed cargo schema.

0371f0885c54ad06391d1f14b3e7494ebdb91d40 notes the steps taken to generate protobuf files, if manual verification is needed.

I'm not entirely sure why the contract test actions are failing to run. I suspect it's actually something to do with the stableswap-sim-pool code.

Locally building I get
Jan 06 07:35:44.328 ERROR cargo_tarpaulin: Failed to compile tests!
error[E0433]: failed to resolve: could not find `shim` in the crate root
  --> packages/white-whale/src/pool_network/denom.rs:20:5
   |
20 |     CosmwasmExt,
   |     ^^^^^^^^^^^ could not find `shim` in the crate root
   |
   = note: this error originates in the derive macro `CosmwasmExt` (in Nightly builds, run with -Z macro-backtrace for more info)

Error: "Failed to compile tests!\nerror[E0433]: failed to resolve: could not find `shim` in the crate root\n  --> packages/white-whale/src/pool_network/denom.rs:20:5\n   |\n20 |     CosmwasmExt,\n   |     ^^^^^^^^^^^ could not find `shim` in the crate root\n   |\n   = note: this error originates in the derive macro `CosmwasmExt` (in Nightly builds, run with -Z macro-backtrace for more info)\n\n"

so looks like CosmwasmExt is the problem here.

Fixed in 57b31d92d732a962200c34c380de197a372b9cf6

We should be okay not hitting coverage on the stableswap-3sim. This PR changes very little in that codebase, and no genuine coverage changes.

Let's address this dependencies updates as we move towards V2


Build 32-bit binaries by default that run on all Pis.

Only apply Pi 3/4 specific optimisations if explicitly reuested to do
so on the command line. This ensures that by default (in 32-bit
Raspberry Pi OS distributions) the executables will work on all
devices.
Signed-off-by: David Plowman<EMAIL_ADDRESS>

@naushir
Hi Naush, so the purpose of this is to make it possible to distribute these apps as part of our regular 32-bit OS. By default, we'll build binaries that run on all Pis, of whatever flavour. Folks who want Neon optimisations for Pi 3/4 can request them easily if they build the code for themselves. On our 64-bit OS, we can request Neon optimisations regardless.


Please invite me to the GitHub Community Organization

Name
Lucas
Discord Username (if applicable)
No response
Additional Context
I am Lucas.

It's great having you contribute to this project
If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our Discord Server and our GitHub Organisation - we help and encourage each other to contribute to open source little and often 🤓 . Any questions let us know.

Invitation sent for the GitHub Organisation. Welcome to the community 🎉#
Don't forget after accepting to make it public so it appears on your GitHub profile for everyone else to see, you can do this by finding your name in the GitHub organisation list and change the dropdown to public https://github.com/orgs/jaidevstudio/people
Like this

Tips for practising:
Remember contributing to open source is not just about code, its about collaboration, communication and adding value
I hope that helps

Please check your email or organisation page 🙏


some ZK path for Pulsar metadata is not configurable

some ZK path for Pulsar metadata is hard coded and not configurable, It would be great to make them configurable, so user could leverage their existing zk cluster, and put all pulsar related data in user configured place.

@jiazhai you can use zookeeper chroot to configure the root path for pulsar metadata.
e.g. "zk:2181/newroot"
So I don't think we need a code change for this.


An access token is required.

Hi Jeo!
I'm getting Token required error while already Enabled route option but still it's not working.

`<?php
return [
/**
 * Client ID.
 */
'client_id' => env('GOOGLE_CLIENT_ID', null),

/**
 * Client Secret.
 */
'client_secret' => env('GOOGLE_CLIENT_SECRET', null),

/**
 * Scopes.
 */
'scopes' => [
    'https://www.googleapis.com/auth/youtube',
    'https://www.googleapis.com/auth/youtube.upload',
    'https://www.googleapis.com/auth/youtube.readonly'
],

/**
 * Route URI's
 */
'routes' => [

    /**
     * Determine if the Routes should be disabled.
     * Note: We recommend this to be set to "false" immediately after authentication.
     */
    'enabled' => true,

    /**
     * The prefix for the below URI's
     */
    'prefix' => 'youtube',

    /**
     * Redirect URI
     */
    'redirect_uri' => 'callback',

    /**
     * The autentication URI
     */
    'authentication_uri' => 'auth',

    /**
     * The redirect back URI
     */
    'redirect_back_uri' => '/',

]

];
`

Is your youtube_access_tokens table empty?

@joedawson Same problem here. The table is empty. The client_id and secret are in the env file.
Did I miss something?

@joedawson false alert, sorry.
Solution: https://stackoverflow.com/questions/13871982/unable-to-refresh-access-token-response-is-unauthorized-client


Does finish works as expected?

Here's the test script:
#!/usr/bin/env ruby
require 'byebug'

def a
  puts 'a:before'
  b
  puts 'a:middle'
  b
  puts 'a:after'
end

def b
  puts 'b'
end

byebug
puts 'before'
a
puts 'after'

finish seem to simply stop after next return:
[1, 10] in ./1.rb
    1: #!/usr/bin/env ruby
    2: require 'byebug'
    3:
    4: def a
=>  5:   puts 'a:before'
    6:   b
    7:   puts 'a:middle'
    8:   b
    9:   puts 'a:after'
   10: end
(byebug) finish
a:before
b

[2, 11] in ./1.rb
    2: require 'byebug'
    3:
    4: def a
    5:   puts 'a:before'
    6:   b
=>  7:   puts 'a:middle'
    8:   b
    9:   puts 'a:after'
   10: end
   11:
(byebug) finish
a:middle
b

[4, 13] in ./1.rb
    4: def a
    5:   puts 'a:before'
    6:   b
    7:   puts 'a:middle'
    8:   b
=>  9:   puts 'a:after'
   10: end
   11:
   12: def b
   13:   puts 'b'
(byebug)

I'd expect it to end up here:
[10, 19] in ./2.rb
   10: end
   11:
   12: def b
   13:   puts 'b'
   14: end
   15:
   16: byebug
   17: puts 'before'
   18: a
=> 19: puts 'after'

For me current frame is method a, what is it for you? Am I doing it wrong?

No, you're not. I expect exactly the same behavior as you do. If this is reproduced against last master, I'll try to fix it tomorrow. Thanks for finding this out.

Yep, I can reproduce this. Will fix it ASAP.

Could you try last master and confirm this is fixed?

Thanks, it's fixed.

:+1:


Made cksum return an error if used on a directory.

This PR fixes https://github.com/uutils/coreutils/issues/5805. Now an error is generated if cksum is used on a directory regardless of algorithm.This PR is practically a continuation of https://github.com/UPB-CS-OpenSourceUpstream/coreutils/pull/5, as the issue solved by that one was already merged in upstream and a generalization was required after that.

The first 2 commits are from https://github.com/UPB-CS-OpenSourceUpstream/coreutils/pull/5.

I also sent the PR to the origin project and it was merged.This is the link: https://github.com/uutils/coreutils/pull/5822.


Property editor: allow adding new items by mouse click

To simplify user experience we need to provide ability add new custom properties by clicking after the last property in the tree

This feature was initially added to the connection driver properties editor

verified


Allow namespaces to be specified by namespace flag.

Allow namespaces to be specified by namespace flag.
Well, this is my first time working in this repo, so I've probably have missed a lot of stuff.
The goal of this PR is to implement Namespaces in Ruby, so we can't prevent global class name collision in projects. (see #1852)
For context, by default, when you require classes in Ruby, it automatically throw everything in the Global scope, so if you are trying to export Quicktype objects for a Gem like we are doing, you will eventually find problems with name collisions.
So this PR introduces an emitModule method, which adds a simple Ruby block and accept a function scope, so all the rest can be appended.
Also, the rubyOptions.namespace option was added, to allow the Users to specify a string namespace, as in:
npm start -- "--lang ruby pokedex.json --namespace MyCustomNamespace"
Please give me a feedback if those changes makes sense for you all!
Note: I'm still trying to figure out why my editor is not letting lines 435 and 437 to be indented in the original way, it's automatically removing 2 spaces.

Hey @jamesarosen ,
I've added support for multiple submodules!
So running something like this in your local env:
npm start -- "--namespace MyNamespace::WithAChainOf::Multiple::Submodules --lang ruby pokedex.json"

Should generate a code like this:
module MyNamespace
  module WithAChainOf
    module Multiple
      module Submodules
        class Pokedex
          def self.from_json!(json)
            pokedex = JSON.parse(json, quirks_mode: true).map { |x| PokedexElement.from_dynamic!(x) }
            pokedex.define_singleton_method(:to_json) do
              JSON.generate(self.map { |x| x.to_dynamic })
            end
            pokedex
          end
        end
      end
    end
  end
end

Hey @schani  !
What do we need to get this approved and released?
Do quicktype has some kind of process for incorporating new changes into new releases?
Thank you for all the hard work!

My apologies!
@renatodex Could you please rebase/merge the latest master so that CI can run?

@renatodex I have this new option running in our test suite now.
For pokedex.json, here is the output. Is it correct for the Types and Egg modules not to be namespaced?
# This code may look unusually verbose for Ruby (and it is), but
# it performs some subtle and complex validation of JSON data.
#
# To parse this JSON, add 'dry-struct' and 'dry-types' gems, then do:
#
#   top_level = TopLevel.from_json! "{…}"
#   puts top_level.pokemon.first.weaknesses.first == Type::Bug
#
# If from_json! succeeds, the value returned matches the schema.

require 'json'
require 'dry-types'
require 'dry-struct'

module Types
  include Dry.Types(default: :nominal)

  Integer = Strict::Integer
  Nil     = Strict::Nil
  Hash    = Strict::Hash
  String  = Strict::String
  Double  = Strict::Float | Strict::Integer
  Egg     = Strict::String.enum("Not in Eggs", "Omanyte Candy", "10 km", "2 km", "5 km")
  Type    = Strict::String.enum("Bug", "Dark", "Dragon", "Electric", "Fairy", "Fighting", "Fire", "Flying", "Ghost", "Grass", "Ground", "Ice", "Normal", "Poison", "Psychic", "Rock", "Steel", "Water")
end

module Egg
  NotInEggs    = "Not in Eggs"
  OmanyteCandy = "Omanyte Candy"
  The10KM      = "10 km"
  The2KM       = "2 km"
  The5KM       = "5 km"
end

module QuickType
  class Evolution < Dry::Struct
    attribute :evolution_name, Types::String
    attribute :num,            Types::String

    def self.from_dynamic!(d)
      d = Types::Hash[d]
      new(
        evolution_name: d.fetch("name"),
        num:            d.fetch("num"),
      )
    end

    def self.from_json!(json)
      from_dynamic!(JSON.parse(json))
    end

    def to_dynamic
      {
        "name" => evolution_name,
        "num"  => num,
      }
    end

    def to_json(options = nil)
      JSON.generate(to_dynamic, options)
    end
  end
end

module Type
  Bug      = "Bug"
  Dark     = "Dark"
  Dragon   = "Dragon"
  Electric = "Electric"
  Fairy    = "Fairy"
  Fighting = "Fighting"
  Fire     = "Fire"
  Flying   = "Flying"
  Ghost    = "Ghost"
  Grass    = "Grass"
  Ground   = "Ground"
  Ice      = "Ice"
  Normal   = "Normal"
  Poison   = "Poison"
  Psychic  = "Psychic"
  Rock     = "Rock"
  Steel    = "Steel"
  Water    = "Water"
end

module QuickType
  class Pokemon < Dry::Struct
    attribute :avg_spawns,     Types::Double
    attribute :candy,          Types::String
    attribute :candy_count,    Types::Integer.optional
    attribute :egg,            Types::Egg
    attribute :height,         Types::String
    attribute :id,             Types::Integer
    attribute :img,            Types::String
    attribute :multipliers,    Types.Array(Types::Double).optional
    attribute :next_evolution, Types.Array(Evolution).optional
    attribute :num,            Types::String
    attribute :pokemon_name,   Types::String
    attribute :pokemon_type,   Types.Array(Types::Type)
    attribute :prev_evolution, Types.Array(Evolution).optional
    attribute :spawn_chance,   Types::Double
    attribute :spawn_time,     Types::String
    attribute :weaknesses,     Types.Array(Types::Type)
    attribute :weight,         Types::String

    def self.from_dynamic!(d)
      d = Types::Hash[d]
      new(
        avg_spawns:     d.fetch("avg_spawns"),
        candy:          d.fetch("candy"),
        candy_count:    d["candy_count"],
        egg:            d.fetch("egg"),
        height:         d.fetch("height"),
        id:             d.fetch("id"),
        img:            d.fetch("img"),
        multipliers:    d.fetch("multipliers"),
        next_evolution: d["next_evolution"]&.map { |x| Evolution.from_dynamic!(x) },
        num:            d.fetch("num"),
        pokemon_name:   d.fetch("name"),
        pokemon_type:   d.fetch("type"),
        prev_evolution: d["prev_evolution"]&.map { |x| Evolution.from_dynamic!(x) },
        spawn_chance:   d.fetch("spawn_chance"),
        spawn_time:     d.fetch("spawn_time"),
        weaknesses:     d.fetch("weaknesses"),
        weight:         d.fetch("weight"),
      )
    end

    def self.from_json!(json)
      from_dynamic!(JSON.parse(json))
    end

    def to_dynamic
      {
        "avg_spawns"     => avg_spawns,
        "candy"          => candy,
        "candy_count"    => candy_count,
        "egg"            => egg,
        "height"         => height,
        "id"             => id,
        "img"            => img,
        "multipliers"    => multipliers,
        "next_evolution" => next_evolution&.map { |x| x.to_dynamic },
        "num"            => num,
        "name"           => pokemon_name,
        "type"           => pokemon_type,
        "prev_evolution" => prev_evolution&.map { |x| x.to_dynamic },
        "spawn_chance"   => spawn_chance,
        "spawn_time"     => spawn_time,
        "weaknesses"     => weaknesses,
        "weight"         => weight,
      }
    end

    def to_json(options = nil)
      JSON.generate(to_dynamic, options)
    end
  end
end

module QuickType
  class TopLevel < Dry::Struct
    attribute :pokemon, Types.Array(Pokemon)

    def self.from_dynamic!(d)
      d = Types::Hash[d]
      new(
        pokemon: d.fetch("pokemon").map { |x| Pokemon.from_dynamic!(x) },
      )
    end

    def self.from_json!(json)
      from_dynamic!(JSON.parse(json))
    end

    def to_dynamic
      {
        "pokemon" => pokemon.map { |x| x.to_dynamic },
      }
    end

    def to_json(options = nil)
      JSON.generate(to_dynamic, options)
    end
  end
end


spec: Wrap public methods.

The wrapping of the private async methods was not working as expected.
In dvc-http, the wrapping is working because the implementation doesn't use sync_wrapper, but in adlfs we need to do it this way:
https://github.com/fsspec/adlfs/blob/71c068458390192a4753e7127ba9c244eec59697/adlfs/spec.py#L1619
For https://github.com/iterative/dvc/issues/9506

I manually tested this (we cant test cloud versioning on azure for now)


Investigate JCO from bytecodealliance

https://github.com/bytecodealliance/jco

Javy (also from the Bytecodealliance) is similar to JCO's componentize subcommand.


tvOS Support

Is there a way to split the target so Travis doesn't vomit trying to run the tests for this?

I prefer universal frameworks, thus why I originally submitted it this way.
I can't speak to why Travis is broken, but it seems to be a bug in xctool. Locally it works, and my PR over in Nimble (https://github.com/Quick/Nimble/pull/183) passed Travis as well. This is why I'm personally a fan of xcpretty.
I'll leave this for now. If someone else does the multiple-target path and that's the one you want to follow, cool. Otherwise this can be merged when xctool (or whatever) is fixed. :smile:

Hmph, looks like it's Xcode 7 that's screwing us here.  If you want to switch to xcpretty, it shouldn't take more than 5 minutes of modification to our CI script.

I'l try to get that working here. I can cheery-pick it into a different PR (After it works) if you want.

@CodaFi Everything seems to be good now.

Thanks!
:boat:


Feature request: VerificatonTimes.atMost(int count)

Feature request: VerificatonTimes.atMost(int count)
Same concept like org.mockito.internal.verification.AtMost

This sounds like a good idea.  I'm happy to add it.

Hi @jamesdbloom What Is the status of this issue? I see that a pull request has being there for a while but it's dormant. It would be great to have it merged :)
Thanks

Pull request #232 i mean


Error response from daemon: open \.\pipe\docker_d4w_systray: The system cannot find the file specified.

Flutter version
Flutter 1.9.1+hotfix.2 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 2d2a1ffec9 (4 weeks ago) • 2019-09-06 18:39:49 -0700
Engine • revision b863200c37
Tools • Dart 2.5.0

Golang errors (Optional)
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: Error response from daemon: open \\.\pipe\docker_d4w_systray: The system cannot find the file specified.

Steps to Reproduce
1.clone the example code onto my windows pc
2. run command "hover build linux"
3. I make sure my pc's env is ok,beacuse i can run any docker command.
4.I guest the issue is that when i run command "hover build linux"on window pc the file path use is window's path but docker can't identification the window's path,it need linux's path
the flowwing code i guset case the issue case,but I have no idea how to fix
args := []string{
"run",
"-w", "/app/go",
"-v", goPath + ":/go",
"-v", wd + ":/app",
"-v", engineCachePath + ":/engine",
"-v", filepath.Join(userCacheDir, "go-build") + ":/cache",
}

does Linux (from windows) build works on one of our example, https://github.com/go-flutter-desktop/examples/tree/master/keyboard_event?
can you share the content of your pubspec.yaml file?

1.I build the stock example,https://github.com/go-flutter-desktop/examples/tree/master/stocks
2.pubspec.yaml file :
name: stocks
environment:
The pub client defaults to an <2.0.0 sdk constraint which we need to explicitly overwrite.
sdk: ">=2.0.0-dev.68.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
intl: 0.15.8
intl_translation: 0.17.7
http: 0.12.0+2
isolate: 2.0.2
flutter:
uses-material-design: true
fonts:
- family: Roboto
fonts:
- asset: fonts/Roboto/Roboto-Thin.ttf
weight: 100
- asset: fonts/Roboto/Roboto-Light.ttf
weight: 300
- asset: fonts/Roboto/Roboto-Regular.ttf
weight: 400
- asset: fonts/Roboto/Roboto-Medium.ttf
weight: 500
- asset: fonts/Roboto/Roboto-Bold.ttf
weight: 700
- asset: fonts/Roboto/Roboto-Black.ttf
weight: 900
PUBSPEC CHECKSUM: 8e0d

When i update the hover this issue not appear


Add package nimpretty_t

might be an unwanted child. But still a child.

This is cursed, but we don't have a rule against that, so I have to accept this :smile:.

Thanks. I hope that more than just his mother can love it.


Hyundai IONIQ Electric (2018)

Hello, I'm thinking of getting the Comma Two for my car and install the OpenPilot software. But I noticed my car was not supported yet. But it does have Lane Assist and Adaptive Cruise Control.
Is it possible to get compatibility for my car. I'm a developer myself so I also know my way around a terminal so I can assist someone that could help me with this. Thanks!

It should be a straightforward port, but all new car support comes from the community. The Hyundai channel on our community discord will be able to help you out.


Updater seems to get stuck

Whenever there's an update of ULogViewer, the updater seems to get stuck
It only shows the updater icon in the dock and leaving it as-is, doesn't seem to help either. Ended up force-quitting the updater and manually updating during the previous update.
I'm unsure whether this has been broken for a long time or not since I only started using this application recently.
Relevant info (I think):
OS: MacOS Monterey 12.5
Currently installed ULogViewer version: <IP_ADDRESS>1
Target ULogViewer version: <IP_ADDRESS>5

@ErisApps I cannot find the symptom you mentioned by downloading <IP_ADDRESS>1 and update to <IP_ADDRESS>5 on my MacBook Pro M1 with macOS 12.5.1. We may need your help to check the followings:

Make sure that the name of ULogViewer root folder is ULogViewer.app. There are some strange behaviors if the name is incorrect.
Make sure that you have moved ULogViewer.app into your application folder. There are some permission issues if application is not running inside application folder.
If you encounter the symptom again, please help to provide the log file stored at ULogViewer.app/Contents/MacOS/AutoUpdater-xxxx/AutoUpdater.Avalonia.app/Contents/MacOS/Log. You can send the log file to<EMAIL_ADDRESS>if you have any privacy concern about the content of log file.

Thank you.

I'll try double-checking later today.

Make sure that the name of ULogViewer root folder is ULogViewer.app. There are some strange behaviors if the name is incorrect.
Make sure that you have moved ULogViewer.app into your application folder. There are some permission issues if application is not running inside application folder.

I removed (including everything related to it in the downloads folder) and reinstalled the app again and the issue is still reproducible for me.

If you encounter the symptom again, please help to provide the log file stored at ULogViewer.app/Contents/MacOS/AutoUpdater-xxxx/AutoUpdater.Avalonia.app/Contents/MacOS/Log. You can send the log file to<EMAIL_ADDRESS>if you have any privacy concern about the content of log file.

I'm not exactly sure whether it will be of any help, but please find the AutoUpdater log attached below.
log.txt

@ErisApps Thanks for providing log. The error was caused by launching auto updater with unsupported language en-BE. Will fix it ASAP.

Fixed by cc7528a and released with <IP_ADDRESS>8.


Request geometry from API

The aim of this PR is to allow the geometry entry to be extended by API calls.
Instead of copy and pasting most of the geometry entry script to create custom entry types for geometries which are requested from an API it should be possible to provide an entry.api method which will be called within the geometry entry show method if no value is available in the entry.show() method.
The entry.show() method must be async to allow for blocking api calls. The default is non-blocking.
It should be possible to provide edit controls to request geometries but also to use default and/or custom draw methods.
{
  "label": "GLX Catchment",
  "field": "isoline_h3",
  "fieldfx": "ST_asGeoJson(isoline_h3)",
  "type": "isoline_glx",
  "edit": {
    "draw": {
      "polygon": true
    }
  },
  "params": {
    "url": "https://glx-drivetimes-api-gateway-757j7gmu.nw.gateway.dev/isochrones",
    "api_key": "AIzaSyBybZxlVDD5fXrQGMwjRpqObkVHR6lpMek"
  },
  "zIndex": 99,
  "style": {
    "strokeColor": "#0064B2",
    "strokeWidth": 2
  }
}

It should also be possible to modify geometries received from an API.
Any styling must only be applied by the geometry entry method.
For now geometries will always be stored as 'geojson' which will be turned to the native postgis geometry format in the location_update template.
However it should be possible to request and display other Openlayers supported formats. The new mapview.geometry() method supports any OL format. The mapview.geoJSON() method will set the geojson format before calling the geometry method.
The geometry created by the mapview.geometry() method should not be stored on the params object to prevent having to delete this object if the value updates.
The location_get method would not return a response if all fields are null. This has been resolved by concatenating the _.layer.qID with the fields array.
The geojson.js query template was bugged. Where IS NOT NULL is provided with the geom if now viewport is set.
The vector_layer entry method has been extended to apply theme styles and support API methods as well. However this work is incomplete and would too far extend of this PR. I have created a ticket to eventually merge the vector_layer and mvt_clone layer to support API calls, allow for the modification of geometries, and allow to draw new geometries. https://github.com/GEOLYTIX/xyz/issues/1268
A render event was added to the location view element.
This allows for rendering the location view again without update.
location.view.addEventListener('render', ()=>renderLocationView(location))

location.view.addEventListener('updateInfo', () => {

    // Hides the upload icon.
    location.view.querySelector('.btn-save').style.display = 'none'

    // Location has toggle editing.
    if (location.editToggle) {

      location.editToggle.classList.remove('on')

      // Remove edits from infoj entries.
      location.removeEdits()
    }

    // Refresh dataviews
    if (location.layer?.dataviews) {
      Object.values(location.layer.dataviews).forEach(dv => {
        if (dv.display === true) {
          dv.update();
        }
      });
    }

    location.renderLocationView()
  })

function renderLocationView(location = this) {

  // Remove location.viewEntries.
  location.viewEntries.remove()

  // Enables the location view node and child elements.
  location.view.classList.remove('disabled')

  // Recreate location.viewEntries.
  location.viewEntries = location.view.appendChild(mapp.ui.locations.infoj(location))
}

The geometry edit method will no longer append the delete button if the field is the current layer geometry.
https://github.com/GEOLYTIX/xyz/pull/1282/commits/d2fc198c3ac3f96ccf20227835eb7ff80c684b85

Menu is shown for point geometry before the geometry is returned from the response.
Menu needs to appear only when the geometry from the request is returned!

This issue is caused by starting the draw interaction without setting drawend: null.

Nice thanks! @dbauszus-glx. Is there anything else that is outstanding on this?

Nice thanks! @dbauszus-glx. Is there anything else that is outstanding on this?

I am not aware of issues.


Nit: Consider improving text on "ddev config" - don't offer pull if not correct

What happened (or feature request):
A ddev config results in this message even when ddev pull is inappropriate:
Found a drupal7 codebase at /Users/rfay/workspace/randyfay.com
Configuration complete. You may now run `ddev start` or `ddev pull`
Initial configuration file written successfully. See the configuration file for additional configuration options.

We should consider improving the message based on context, and only showing it when a provider plugin is in use.
What you expected to happen:
Version: Please include the output of ddev version and the project's .ddev/config.yaml.
How to reproduce this:
Anything else do we need to know:
Related source links or issues:

Seems like a quick win. Actionable.

@rfay Looks like this is ready to close?


CAB-4044: UI improvements to ListFieldDisplayComponent.

Have you tried it in IE? The white-space and overflow css properties are not supported by IE
https://www.w3schools.com/cssref/pr_pos_overflow.asp
https://www.w3schools.com/cssref/pr_text_white-space.asp

Uh oh, I will give it a try in IE11 to see how it looks like.


Material Searchbar Update

This is a (multiple allowed):

[x] enhancement

[x] feature-discussion (RFC)

Framework7 Version: latest

Platform and Target: Material

Live Link or JSFiddle/Codepen: https://material.io/guidelines/patterns/search.html#search-in-app-search

Requesting to update the search bar to the new material design search.
Sample https://material.io/guidelines/patterns/search.html#search-in-app-search

Please give more information

@J05HI we have the info we need

@ZanderBrown
I think the search bar is great as it is. No need to change it to that ugly style

If we are following the material guidelines then we should update.
Existing one is more like the ios style.
On Fri, 14 Apr 2017 at 3:17 AM, Joshua Ott<EMAIL_ADDRESS>wrote:

@ZanderBrown https://github.com/ZanderBrown
I think the search bar is great as it is. No need to change it to that
ugly style
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nolimits4web/Framework7/issues/1489#issuecomment-294030250,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIfIoTz2dX7YiiJCln0sYZBVMpSKpbj0ks5rvpfSgaJpZM4M57SU
.

Yeah but I can't see it clearly on that mockup.
Can you maby provide a better screenshot :)

Yes this is the exact thing!
On Fri, 14 Apr 2017 at 3:32 AM, Joshua Ott<EMAIL_ADDRESS>wrote:

I think you mean this. That would be amazing!
When closed:
[image: screenshot_20170413-235955]
https://cloud.githubusercontent.com/assets/16399787/25026138/7ff9d228-20a5-11e7-8a04-43643226c046.png
On search click it opens with an animation to this:
[image: screenshot_20170414-000020]
https://cloud.githubusercontent.com/assets/16399787/25026144/8886467e-20a5-11e7-885d-6f5dfdf1c8c4.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nolimits4web/Framework7/issues/1489#issuecomment-294033442,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIfIoRSFovjcv2SGRG7GrByNrp1i3s7Nks5rvpuRgaJpZM4M57SU
.

Okay then we are on the same level.
Let's hope @nolimits4web has time to integrate that

@nolimits4web @snowbreze
Here two gif examples:

@J05HI the second gif isnt loading

@snowbreeze
Thx somehow its broken, I think one is enough :)

Yes this searchbar looks good.

Done in v2

Thanks @nolimits4web


Why isn't MapInputSource.valueMap Exposed?

If I want to write my own input sources, I need to either implement the full inputsource interface, or I can leverage MapInputSource. How come it's impossible to instantiate map input source from packages outside altsrc?

See a "fix" for this here: https://github.com/urfave/cli/pull/720

Given that this is from last year, I think I'm comfortable closing it 🙂 feel free to re-open / open a new issue if there's still interest here!


No Multiple Choice - can't create multiple choice options

per snip below, we can select enable mc but cannot create options on the ballot, only Yes/No possible. Assume that's by (no) design....

No longer relevant since refactoring.


Update README.md

Fix links with spaces as they look strange in Markdown

@vpetrigo Thanks for your contribution. However, GS Collections and GS Collections Kata both have been moved to the Eclipse Foundation and rebranded as Eclipse Collections.
Take a look at the resources here:
Website: https://www.eclipse.org/collections/
Project link @ Eclipse Foundation: https://projects.eclipse.org/projects/technology.collections
Source code on GitHub: https://github.com/eclipse/eclipse-collections
Contribution Guide: https://github.com/eclipse/eclipse-collections/blob/master/CONTRIBUTING.md
Reference Guide: https://github.com/eclipse/eclipse-collections/blob/master/docs/guide.md#eclipse-collections-reference-guide
Wiki: https://github.com/eclipse/eclipse-collections/wiki
Kata: https://github.com/eclipse/eclipse-collections-kata

@nikhilnanivadekar thank you for your reply. So, would you tell if I can close this redundant PR as it is not relevant here anymore?

I have closed it. Thanks!
Give Eclipse Collections a try, you can follow, star the repo at  https://github.com/eclipse/eclipse-collections
Cheers!


Zone registry tests

Input requested:

[ ] Is it necessary to read tags for input interchangeably with data
[ ] Verify that each registry will maintain a roles table to verify any assigns it receives
[ ] Verify the return types, specify best practices for responses.
[ ] Critique Handler names

Input requested:

[ ]  Verify that each registry will maintain a roles table to verify any assigns it receives

After a user wallet sends an update to a zone process, there were two techniques we considered.

[Wallet] --- updates ---> [Zone] --- assigns to ---> [Primary Registry] --- assigns to --> [Subscribed Registry]
where any Creation or Update Roles action creates a role table on each registry.

[Wallet] --- updates ---> [Zone] --- assigns update to ---> [Primary Registry] --- assigns update to --> [Subscribed Registry]
[Zone] --- sends confirmation to ---> [Primary Registry] --- assigns confirmation to --> [Subscribed Registry]
where each registry waits for a match between a wallet that updates data, and a confirmation from the zone to verify it.

Input requested:

[ ]  Is it necessary to read tags for input interchangeably with data

In previous versions we made sure to allow Profile handlers to parse their input from either data or tags.
For example, currently action Zone.Metadata-Set takes values in msg.data. Is it important to implement that metadata set data in tags as well so that people can optionally use it that way?

Currently the Zone Metadata Registry expects specific data values for the profile, where the values are sqlite columns.
I briefly considered a KV table
id | metadata_key | metadata_value
xyz | "display_name" | "Steve"
xyz | "updated_at" | "12435677"
This would support any zone profile metadata.

Input requested:

[ ]  Is it necessary to read tags for input interchangeably with data
[ ]  Verify that each registry will maintain a roles table to verify any assigns it receives
[ ]  Verify the return types, specify best practices for responses.
[ ]  Critique Handler names

RE: 1, imo tags should classify the message, data should provide the contents of the message.
RE: 2, is it required for a registry to maintain roles? Are there use case for zones where that is not important?
RE: 3, need more info
RE: 4, handler names should use https://specs.g8way.io/?tx=XV8-NMh5uhLQflkrUs_7mcgj33pOWqQno1wyVi__j6w spec as a guide


[FEATURE] Remove External Harvester Cloud Credentails Support

Is your feature request related to a problem? Please describe.
Remove the external Harvester cloud credentials support in the newer version,  it has been marked as deprecated for multiple versions. It is recommended to use the Imported Harvester approach.
Describe the solution you'd like
Remove the external Harvester cloud credentials support in the multi-cluster view.
Describe alternatives you've considered
N/A
Additional context

Verified fixed on Rancher v2.6-head and v2.7-head. Close this issue.
Result

Verified on v2.7-head (9bb8d56) and v2.6-head (3bdc022), the import from external Harvester cloud credential have been removed in the Harvester cloud credential page

Test Information

Test Environment: 1 node Harvester on local kvm machine
Harvester version: master-14bbee2c-head (01/13)
Rancher version: v2.7-head (9bb8d56) and v2.6-head (3bdc022)
ui-index: default
ui-dashboard-index: default
ui-offline-preferred: Dynamic

Verify Steps

Import Harvester to Rancher
Open Cluster Management -> Cloud Credential
Click create


Cleanup unused device policy code

29 files changed, 46 insertions(+), 2216 deletions(-)
After this change libchromeos can be dropped from CoreOS :)

LGTM


Openlayers 5: Drag&Drop dom element somewhere on map

Describe the bug
Not really sure if this is a bug: i use Openlayers 5 showing a simple map and now placed a simple icon on the bottom left of the map allowing the user to drag it somewhere on the map, drop it, in order to place a feature at that location.
Looking at the API Openlayers 5 does only offer drag functions for features, but i want to drag a simple DOM element onto the map in order to get the coordinate and place a feature.
To Reproduce
Steps to reproduce the behavior:
Added attribute draggable="true" to my DIV element making it draggable
added attribute ondrop="ondrop" eventhandler but also map.on('drop', ...) on my map object but also on my draggable element in order to see if it gets fired when i drop the DIV element onto map. Nope, not working.
Then i tried to implement my own drag&drop by using mousedown, mousemove and mouseup events. Everything works fine except my mouseup event. When i release the mouse button, no mouseup event is triggered, no matter if i put the event listener to my document ($(document).on('mouseup'...) or my map object or the DIV element itself.
How can i do that. It is very similar to Google Map's Street View where you drag the small yellow figure somewhere on the map to open the street view at that location. In my case i simply want to put a basic feature at that location.
Expected behavior
Problem is getting the drop event. Nothing happens when i drop the dom element somewhere on the map. I expected to get my drop event fired providing me the event object either with pixel coordinates or even better with EPSG coordinates so i can put a feature at that location.
Looks like drop events are prevented?
Some code of mine i tried with a :

function ondrop(e) {   console.log(e); }

It looks like more of an issue with the drag and drop HTML5 API:
https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API
Doing map.on('drop') will not work because the OL map does not support this kind of event, but the containing div should, just like any other HTML element. So, picking up from your sample code, something like (untested code):
document.getElementById('map').addEventListener('drop', ondrop);

You can then read the X and Y of the drop position using evt.clientX and evt.clientY, and from the use map.getCoordinateFromPixel to transform that to a set of world coordinates, and create your feature from this.


Improve MatchTemplate

@opticod Currently we can add only on matchTheFollowing, instead we can add support for multiple matchTheFollowing so that a new apk is not required for each and every MatchTemplate.  I will create a PR for this.

@croozeus Can we merge this?