Intent clashes with Home Assistant skill

I am testing this with the Home Assistant skill on the commonIot branch and things are working quite well. Unfortunately there are certain devices that are not picked up correctly. A good example is a Home Assistant group/switch called Lounge Lights. This skill seems to attempt to interpret the event as just 'lights'. From the logs:
{"type": "recognizer_loop:utterance", "data": {"utterances": ["turn on the lounge lights"], "lang": "en-US", "session": "ea17580a-d9d3-4843-ac6f-dc3ea03cc34a"}, "context": {"client_name": "mycroft_listener", "ident": "1566331094.035573-1507550021"}}
{"type": "skill-iot-control.mycroftai:IoTRequestWithEntityOrThing", "data": {"intent_type": "skill-iot-control.mycroftai:IoTRequestWithEntityOrThing", "skill_iot_control_mycroftaiLIGHT": "light", "skill_iot_control_mycroftaiON": "on", "target": null, "confidence": 0.2916666666666667, "__tags__": [{"skill_iot_control_mycroftaiLIGHT": [{"match": "light", "key": "light", "start_token": 4, "entities": [{"key": "light", "match": "light", "data": [["light", "skill_iot_control_mycroftaiLIGHT"]], "confidence": 1.0}], "end_token": 4, "from_context": false}], "skill_iot_control_mycroftaiON": [{"match": "on", "key": "on", "start_token": 1, "entities": [{"key": "on", "match": "on", "data": [["on", "skill_iot_control_mycroftaiON"], ["on", "skill_iot_control_mycroftaiPOWERED"]], "confidence": 1.0}], "end_token": 1, "from_context": false}]}], "utterance": "turn on the lounge lights"}, "context": {"client_name": "mycroft_listener", "ident": "1566331094.035573-1507550021", "target": null}}
{"type": "mycroft.skill.handler.start", "data": {"name": "SkillIoTControl._handle_iot_request"}, "context": {"client_name": "mycroft_listener", "ident": "1566331094.035573-1507550021", "target": null}}
{"type": "iot:trigger", "data": {"intent_type": "skill-iot-control.mycroftai:IoTRequestWithEntityOrThing", "target": null, "confidence": 0.2916666666666667, "__tags__": [{"skill_iot_control_mycroftaiLIGHT": [{"match": "light", "key": "light", "start_token": 4, "entities": [{"key": "light", "match": "light", "data": [["light", "skill_iot_control_mycroftaiLIGHT"]], "confidence": 1.0}], "end_token": 4, "from_context": false}], "skill_iot_control_mycroftaiON": [{"match": "on", "key": "on", "start_token": 1, "entities": [{"key": "on", "match": "on", "data": [["on", "skill_iot_control_mycroftaiON"], ["on", "skill_iot_control_mycroftaiPOWERED"]], "confidence": 1.0}], "end_token": 1, "from_context": false}]}], "utterance": "turn on the lounge lights", "LIGHT": "light", "ON": "on", "iot_request_id": "abbaaf15-4e5d-4990-be4d-6c2269d9cc1b", "IoTRequest": {"action": "ON", "thing": "LIGHT", "attribute": null, "entity": null, "scene": null, "value": null, "state": null}}, "context": {}}
{"type": "mycroft.scheduler.schedule_event", "data": {"time":<PHONE_NUMBER>.0, "event": "skill-iot-control.mycroftai:DeleteRequest", "repeat": null, "data": {"iot_request_id": "abbaaf15-4e5d-4990-be4d-6c2269d9cc1b"}}, "context": {}}
{"type": "mycroft.scheduler.schedule_event", "data": {"time":<PHONE_NUMBER>.0, "event": "skill-iot-control.mycroftai:RunIotRequest", "repeat": null, "data": {"iot_request_id": "abbaaf15-4e5d-4990-be4d-6c2269d9cc1b"}}, "context": {}}
{"type": "mycroft.skill.handler.complete", "data": {"name": "SkillIoTControl._handle_iot_request"}, "context": {"client_name": "mycroft_listener", "ident": "1566331094.035573-1507550021", "target": null}}
{"type": "iot:trigger.response", "data": {"intent_type": "skill-iot-control.mycroftai:IoTRequestWithEntityOrThing", "target": null, "confidence": 0.2916666666666667, "__tags__": [{"skill_iot_control_mycroftaiLIGHT": [{"match": "light", "key": "light", "start_token": 4, "entities": [{"key": "light", "match": "light", "data": [["light", "skill_iot_control_mycroftaiLIGHT"]], "confidence": 1.0}], "end_token": 4, "from_context": false}], "skill_iot_control_mycroftaiON": [{"match": "on", "key": "on", "start_token": 1, "entities": [{"key": "on", "match": "on", "data": [["on", "skill_iot_control_mycroftaiON"], ["on", "skill_iot_control_mycroftaiPOWERED"]], "confidence": 1.0}], "end_token": 1, "from_context": false}]}], "utterance": "turn on the lounge lights", "LIGHT": "light", "ON": "on", "iot_request_id": "abbaaf15-4e5d-4990-be4d-6c2269d9cc1b", "IoTRequest": {"action": "ON", "thing": "LIGHT", "attribute": null, "entity": null, "scene": null, "value": null, "state": null}, "skill_id": "homeassistant.mycroftai", "callback_data": {"domain": "light", "service": "turn_on", "states": [{}]}}, "context": {"target": null}}
{"type": "skill-iot-control.mycroftai:RunIotRequest", "data": {"iot_request_id": "abbaaf15-4e5d-4990-be4d-6c2269d9cc1b"}, "context": {}}
{"type": "iot:run.homeassistant.mycroftai", "data": {"intent_type": "skill-iot-control.mycroftai:IoTRequestWithEntityOrThing", "target": null, "confidence": 0.2916666666666667, "__tags__": [{"skill_iot_control_mycroftaiLIGHT": [{"match": "light", "key": "light", "start_token": 4, "entities": [{"key": "light", "match": "light", "data": [["light", "skill_iot_control_mycroftaiLIGHT"]], "confidence": 1.0}], "end_token": 4, "from_context": false}], "skill_iot_control_mycroftaiON": [{"match": "on", "key": "on", "start_token": 1, "entities": [{"key": "on", "match": "on", "data": [["on", "skill_iot_control_mycroftaiON"], ["on", "skill_iot_control_mycroftaiPOWERED"]], "confidence": 1.0}], "end_token": 1, "from_context": false}]}], "utterance": "turn on the lounge lights", "LIGHT": "light", "ON": "on", "iot_request_id": "abbaaf15-4e5d-4990-be4d-6c2269d9cc1b", "IoTRequest": {"action": "ON", "thing": "LIGHT", "attribute": null, "entity": null, "scene": null, "value": null, "state": null}, "skill_id": "homeassistant.mycroftai", "callback_data": {"domain": "light", "service": "turn_on", "states": [{}]}}, "context": {}}
{"type": "mycroft.scheduler.schedule_event", "data": {"time":<PHONE_NUMBER>.0, "event": "skill-iot-control.mycroftai:SpeakOrAcknowledge", "repeat": null, "data": {"iot_request_id": "abbaaf15-4e5d-4990-be4d-6c2269d9cc1b"}}, "context": {}}
{"type": "skill-iot-control.mycroftai:SpeakOrAcknowledge", "data": {"iot_request_id": "abbaaf15-4e5d-4990-be4d-6c2269d9cc1b"}, "context": {}}

Home Assistant itself is not overly happy with the request:
Not passing an entity ID to a service to target all entities is deprecated. Update your call to light.turn_on to be instead: entity_id: all

It seems to work if I ask turn on lounge (without the lights on the end), but it seems to use older code in the Home Assistant skill - the command is confirmed with a reply, turned lounge lights on rather than the new confirmation beep.
{"type": "recognizer_loop:wakeword", "data": {"utterance": "hey mycroft", "session": "2ab76e24-afc3-4fb2-97a4-b48a6e385a02"}, "context": {}}
{"type": "recognizer_loop:utterance", "data": {"utterances": ["turn off lounge"], "lang": "en-US", "session": "2ab76e24-afc3-4fb2-97a4-b48a6e385a02"}, "context": {"client_name": "mycroft_listener", "ident": "1566333784.4796295221831097"}}
{"type": "skill.converse.request", "data": {"skill_id": "homeassistant.mycroftai", "utterances": ["turn off lounge"], "lang": "en-US"}, "context": {}}
{"type": "skill.converse.response", "data": {"skill_id": "homeassistant.mycroftai", "result": false}, "context": {}}
{"type": "skill.converse.request", "data": {"skill_id": "fallback-unknown.mycroftai", "utterances": ["turn off lounge"], "lang": "en-US"}, "context": {}}
{"type": "skill.converse.response", "data": {"skill_id": "fallback-unknown.mycroftai", "result": false}, "context": {}}
{"type": "intent_failure", "data": {"utterance": "turn off lounge", "norm_utt": "turn off lounge", "lang": "en-US"}, "context": {"client_name": "mycroft_listener", "ident": "1566333784.4796295221831097"}}
{"type": "mycroft.skill.handler.start", "data": {"handler": "fallback"}, "context": {"client_name": "mycroft_listener", "ident": "1566333784.4796295221831097"}}
{"type": "speak", "data": {"utterance": "Turned Lounge Lights off", "expect_response": false}, "context": {"client_name": "mycroft_listener", "ident": "1566333784.4796295221831097"}}

Although this worked on this occasion, generally when mycroft falls back to fallback-unknown.mycroftai for Home Assistant, the wrong device gets switched. For example turn on hot water, gets picked up as turned on hot water cancel.
This didn't used to be an issue on the old 18 branch of Mycroft with the older Home Assistant skill.

Hey Scott, thanks for the clear and detailed outline.
We don't currently have a team member actively working on this Skill as we've got the whole team focused on the Mark II, but this will be useful for whoever picks it up. Whether that's a team member or someone from the broader Community.
One small question, when you said:

For example turn on hot water, gets picked up as turned on hot water cancel.

Do you mean the STT transcribes the utterance incorrectly?

Thanks for the reply @krisgesling. From the logs it looks like the STT transcribes correctly, it is just the skills interpretation that is wrong - or at least a little unexpected. I have noticed in that second example I can say turn on hot water 30 mins and it will find the correct switch. Looking at my config there are two names configured for that particular switch:
https://github.com/scottsweb/ham/blob/master/homeassistant/customize.yaml#L150-L151
It used to be the case that the emulated hue name was used (old home assistant skill), now it seems to be the friendly name.

It looks like the issue here is that 'lounge' is not recognized as an entity. We can see that from the intent type: IoTRequestWithEntityOrThing. If lounge was an entity, the intent would be an IoTRequestWithEntityAndThing - note the And instead of the Or (the 'Thing' is the light, which it picks up correctly). See https://github.com/MycroftAI/skill-iot-control/blob/master/init.py#L107-L122.
The is further evidenced by the behavior when you say "Turn off lounge" - it only works because of the fallback. Adapt doesn't even send it to the IoT control skill, because "turn off" doesn't match without an entity or thing included in the utterance, and 'lounge' isn't recognized.
This issue should be closed here, and opened on the Home Assistant skill - if Home Assistant registers "lounge" as an entity, this would work (you could test this by hard coding ["lounge"] as the result of the get_entities method in the Home Assistant skill). My guess would be the Home Assistant API changed and/or was augmented, and the skill just needs to be updated to account for that and pick up all the entities.
It would also need to be updated to account for:
Not passing an entity ID to a service to target all entities is deprecated. Update your call to light.turn_on to be instead: entity_id: all


Add a 'verbose' log level that logs just what happened

The new restic 0.9.0 has improved logging with four levels of detail:

--quiet -> nothing (except errors)
just completion stats
--verbose or -v -> major steps and completion stats
--verbose --verbose or or -v 2 -> major steps, all files, completion stats

However, none of these level logs just what files got backed up. Just -v doesn't log files, and -v -v logs every file even those that are not being backed up (unmodified).
My suggestion was to add a level that logs just what happens during the run, ie. files that are added, modified, or deleted in this snapshot, e.g.

--quiet -> nothing (except errors)
just completion stats
--verbose or -v -> major steps and completion stats
--verbose --verbose or or -v 2 -> major steps, added/modified/deleted files completion stats
--verbose --verbose --verbose or or -v 3 -> major steps, all files, completion stats

Alternatively log feature labels could be used, to turn options on/off, e.g.
--log=scan,added,modified,deleted,unmodified,totals,stats
And so just to log files backed up with no totals at the end you could use
--log=added,modified,deleted
If you just want totals, you could use
--log=totals
And the --verbose options would map to some preset combinations of log features.
The stats option would enable details per-file stats, with total file size and size actually backed up, and upload times.

Thanks for the suggestion, I'd like to think about it for a bit.

I'd really appreciate this feature too.  It would make what I'm trying to do here:
https://forum.restic.net/t/script-restic-diff-between-the-last-two-snapshots/1378/6
soooo much easier.  Thanks!

This would be great! Here's an emulation of the new version of --verbose=2 (i.e. ignore unchanged) using grep:
restic --repo /path/to/repo backup --verbose=2 /home/joe | grep -Ev '^unchanged /'

restic --repo /path/to/repo backup --verbose=2 ~/ | grep -Ev '^unchanged /'

While this workaround is good for 99.99% of all files, it breaks for filenames with a \n character in it. While that is arguably a broken filename, it is a valid one and it is what I have on my system. Fixing the filename would incur other issues down the road. A restic option to exclude unchanged files from the log would make my life easier.

Just use the JSON output format, then you don't have to worry about such filenames. Parsing the normal text output format will bound to break in certain situations.

I see, thx. Thing is, I am not parsing the output, except if using the command line and looking at megabytes of text scrolling by counts as parsing. Thinking about it, my use case is actually "getting the reassuring feeling that a few files that have just changed did indeed get backed up". Impossible by looking at unfiltered log noise. However, my use case is not even a valid one. If I need reassurance, I should do things differently, completely. So, yeah, my habits on the command line need fixing, not restic. The points made in the original post in this issue remain valid, imo.

In my opinion this is definitely a valid use case. It's the same use case that causes us to pass -v to rsync instead of waiting for the summary at the end. Having a log level that shows "what I copied" — just shy of the level that shows "what I considered" — seems like it would satisfy that use case. But perhaps clever filtering and reformatting of the JSON output with jq would satisfy it as well?

But perhaps clever filtering and reformatting of the JSON output with jq would satisfy it as well?

For me it boils down to the question if an application should duplicate functionality that can be achieved by using the myriad of tools available in the UNIX world. For my part, I did not even know that jq existed, thank you for the hint. So I have learned something that I would not have learned if restic had a --verbose=1.5 option or similar. Still I would vastly prefer the latter, for ease of use and simplicity, even if it means more code that has to be maintained. I don't have any better suggestions than the original poster.
For my "reassurance" use case, the restic check command does what I need. I could also do a selective restore and compare.

I really do like the feature labels!
Some additional thoughts:

Maybe some features will be enabled by default (e.g. total), so it might be useful if they can be turned off, like -total.

Currently, there is non-json-output on stdout sometimes. E.g. for transient failures.

Save(<lock/7b30d31677>) returned error, retrying after 552.330144ms: client.PutObject: Cannot...
Save(<lock/7b30d31677>) operation successful after 1 retries

I really believe that this should not be printed by default. It just makes people nervous. But if you decide to keep it on by default, please make it possible to turn those messages off.

Currently, there is non-json-output on stdout sometimes even if json-output is enabled. E.g. for transient failures.

These error messages are only printed on stderr, not stdout.

But if you decide to keep it on by default, please make it possible to turn those messages off.

We'll have to add log file support first. Otherwise it will be nearly impossible to debug problems that arise e.g. due to retries.

Here is a more aggressive grep to strip out unnecessary output:
Linux:
grep -Pv --line-buffered "^unchanged \"/.*$|.*\(0 B added\)\s*$|.*\(0 B added, 0 B stored, 0 B metadata\)\s*$"
Windows:
grep -Pv --line-buffered "^unchanged \"/.*$^|.*\^(0 B added\^)\s*$^|.*\^(0 B added, 0 B stored, 0 B metadata\^)\s*$"


argo-ui workflow list api need support pagination

I integrate workflow api(api/workflows) in my own system.
but this api cannot support pagination, should this api support pagination?

+1 for this.
It gets slow when #workflow is growing too large. Pagination could fix it.

See #976 and #2782


Reformat CustomTask within Test

Changes
Prior to this commit, the previous iteration
of this test had task-b as a "custom task" but
was of type Task.
In this commit, we changed task-b to be of type
Run, with its kind being Example. This allows
task-b to be a true Custom Task as intended.
/cc @jerop
/kind cleanup

Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Has Docs included if any changes are user facing
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[x] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/ok-to-test

/approve


Correct mentions of windows defender smart screen

As per conversation with Juli Hooper, we are updating in-text mentions and descriptions of SmartScreen to always include the full product name ("Windows Defender SmartScreen"), and removing "Filter" where appropriate. In some cases, ADMX files or other products' UI may use the old "SmartScreen Filter" name -- particularly problematic for paths. We are currently waiting to hear back on whether it is safe to change the name when describing UI in certain products.

new-in-windows-mdm-enrollment-management.md :

public branch: last updated in commit 1b10d30 5 days ago
master branch: last updated in commit d35e66c 14 days ago

policy-configuration-service-provider.md :

public branch: last updated in commit 081564e yesterday
master branch: last updated in commit c716d98 15 days ago

policy-csp-update.md :

public branch: last updated in commit 83eae2a yesterday
master branch: last updated in commit d35e66c 14 days ago

To me, it does not look like this has to do with the "latest version", but which version of the document takes precedence over the other.
I can only presume that there is some confusion regarding precedence between the master branch and the public branch.

Oh, OK. Fair enough, it seems my comment did make a wrong assumption there. Thank you for clarifying. I have probably been more confused than anyone else here, then.

Apologies for leaving you hanging -- I just made two commits addressing the requested changes. I didn't realize when I created this PR that the most recent updates were in /public, not /master -- thank you @ManikaDhiman for alerting me!

Apologies for leaving you hanging -- I just made two commits addressing the requested changes. I didn't realize when I created this PR that the most recent updates were in /public, not /master -- thank you @ManikaDhiman for alerting me!

Thanks for the updates, @martyav! I approved changes in the MDM topics.

@Dansimp Would you have a suggestion to proceed with this PR as the time permits? Is it perhaps feasible to move forward with merge with the approval of two authors? Thank you for your time.

There are 2 occurrences of this sentence in the PR content:

Verify the setting Help protect me from malicious sites and download with Windows Defender SmartScreen is disabled.

Technically speaking, the phrasing is correct, but I would like to suggest to make it slightly more fluent by adding the word "that":

Verify that the setting Help protect me from malicious sites and download with Windows Defender SmartScreen is disabled.


The mathematical model of tanker

Hello, Prof Fossen,
I want to study the path following control base the tanker model in your MSS toolbox, whrer in tanker.m. But, I do not know the process to caculate the result of "xdot". In other word, I do not understand the equations, as shown in the figure, based on what mathematical model, such as the MMG and Abkowitz model, to get these equations ?
Thank you!

The famous paper:
Van Berlekom, W. B. and T. A. and Goddard (1972). Maneuvering of Large Tankers, Transaction of SNAME, 80:264-298
describes how all the hydrodynamic coefficients are computed. The reference is found in 'tanker.m'.  However, the coefficients are made non-dimensional using the Bis-scaling system in hydrodynamics. I have derived a systematic approach for this in Appendix D, Nondimensional Equations of Motion, in my textbook
Fossen, T. I. (2021). Handbook of Marine Craft Hydrodynamics and Motion Control, 2nd edition, John Wiley & Sons. Ltd., Chichester, UK. ISBN<PHONE_NUMBER>054.
By reading these two references, you should be able to understand the model, including the Bis-scaling system.

I have understood the model, but why the flow velocity past rudder was chaged shown in Fig. 1. The paper 'THEORY AND OBSERVATIONS ON THE USE OF AMATHEMATICAL MODEL FOR SHIP MANOEUVRING IN DEEP AND CONFINED WATERS' mentioned in "Maneuvering of Large Tankers" use the formula as shown in Fig. 2.

The parameters for the 190 000 dwt Esso Osaka tanker in the Berlekom and Goodhard (1972) paper are listed in Appendix A. There are several models of different tankers in the paper, but for the 190 000 dwt tanker there are only two c-terms, namely cun and cnn.  Based on common practice and how these coefficients are used, the typical formula to compute  c  is:
c = sqrt( cunun + cnn*n^2)
Eq. (7.3)  has four terms and this is a different formula used by other authors. It depends on u and n, but the curve fitting must be different.


Angular 4 Support

Hi guys,
Realy amazing template have seen before.
is there any plan to create Angular 4 based template?

Hi,
I'm thinking but not in short time. Because i'm working a company all days, it being hard

I actually have a project with angular 4 using this theme. I can create a new project for angular 4 starter kit using this theme for other to use if the author is ok with that?

Angular 4 version available now at https://github.com/sunnyg1210/adminbsbmaterial-ANGULAR

Is there angular 6 version?


extract L from CholeskySolverF

I am trying to get the actual lower triangular matrix L out from CholeskySolverF but I have not succeeded so far. Is it possible?

Hi,
At the moment it is not possible, because the sparse representation of L lives on the GPU.
It should be easy to do it by adding a function to copy the arrays to the CPU and returning a copy of them.
That said, if you care only about L and not solving triangular systems, then you might be better off using some other tools doing Cholesky decomposition on the CPU, e.g. SciPy


我这个报错是什么意思

2023-03-04 07:34:15.449976: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-03-04 07:34:16.459385: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/lib/python3.8/dist-packages/cv2/../../lib64:/usr/local/lib/python3.8/dist-packages/cv2/../../lib64:/usr/lib64-nvidia
2023-03-04 07:34:16.459499: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/lib/python3.8/dist-packages/cv2/../../lib64:/usr/local/lib/python3.8/dist-packages/cv2/../../lib64:/usr/lib64-nvidia
2023-03-04 07:34:16.459521: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
Warning: no long audios & videos found, this IS expected if you have only uploaded short audios
this IS NOT expected if you have uploaded any long audios, videos or video links. Please check your file structure or make sure your audio/video language is supported.
2023-03-04 07:34:42.931751: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-03-04 07:34:43.897797: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/lib/python3.8/dist-packages/cv2/../../lib64:/usr/lib64-nvidia
2023-03-04 07:34:43.897912: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/lib/python3.8/dist-packages/cv2/../../lib64:/usr/lib64-nvidia
2023-03-04 07:34:43.897938: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
Warning: no short audios found, this IS expected if you have only uploaded long audios, videos or video links.
this IS NOT expected if you have uploaded a zip file of short audios. Please check your file structure or make sure your audio language is supported.
前面的代码都运行了

gpu是子啊这里开启吗
使用的音频是这个https://drive.google.com/file/d/1OR2F8HbcvLF2iza529bCy18xRNWwpUpR/view?usp=sharing
显示不支持的雨燕这个是中文啊

刚刚用你的数据走了一遍流程，发现问题是由于你的长音频文件命名不规范导致的。把文件名从jiale.WAV改成了jiale_111.wav后解决了这个问题。

文件后缀的.wav要小写
文件名应该"{角色名}_{任意数字}.wav"的格式命名


Reintroduce Slider component with tailwind

Will be part of the order form:

Checked the Storybook, the component works nicely.
question: how difficult was it for you personally to switch it to Tailwind?

I'm a newb to tailwind, I learned that it doesn't support template strings for classnames so I bumped into this as an issue. Otherwise it's quite easy and straightforward.


2885 p2p collect metrics

Motivation

Closes #

Changes

Test Plan

TODO

[ ] Explain motivation or link existing issue(s)
[ ] Test changes and document test plan
[ ] Update documentation as needed

DevOps Notes

[x] This PR does not require configuration changes (e.g., environment variables, GitHub secrets, VM resources)
[x] This PR does not affect public APIs
[x] This PR does not rely on a new version of external services (PoET, elasticsearch, etc.)
[x] This PR does not make changes to log messages (which monitoring infrastructure may rely on)

we should use prometheus to track metrics, please check examples in other modules

bors merge


Proposal for a more featureful Job class

Currently we register our Callable with a name for Faktory to invoke. We use the optional custom field to pass additional data between our services. Currently this additional job context is inaccessible from the Callable since only the args are passed along.
My proposal is to introduce a pyfaktory.Job base class as an alternative job handler type. When pyfaktory.Consumer detects that the handler is a subclass of this Job class then we will instantiate the class with the raw job dict and then invoke a perform instance method with the provided args. The Job base class would just need to unmarshal the provided dict in to appropriate instance variables on __init__ and define a perform(self, *args) raising a NotImplementedError for type checking.
A longer term benefit of this change is that it provides an location to hang before/after hooks from if we decided to add support for lifecycle methods.
I'll pull together a PR for this in a little bit.

Thanks for the suggestion, but I'm still having trouble grasping the real benefit. I'm waiting for the PR to understand better. Please, include an example of a use case.

@ghilesmeddour I'm going to pick this back up in a week or two. I have a concept of how this could work. This is based on some hacking we did in our use of faktory.

@rgarver Perfect! Can't wait to see it!


Support for xenium analyzer 2.0.0

Tested on this public dataset: https://www.10xgenomics.com/datasets/preview-data-ffpe-human-lung-cancer-with-xenium-multimodal-cell-segmentation-1-standard

I tested this for the Xenium Analyzer versions 1.0.2, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 2.0.0, using the public datasets that I have added in spatialdata-sandbox https://github.com/giovp/spatialdata-sandbox/pull/33.
Also, in this PR I do the following:

parsing the Xenium analyzer version and using this information when the code acts differently depending on the version
added the argument cell_boundaries to xenium()
for version 2.0.0, parsing the cell_id for polygons from the parquet file instead than copying it from the table. In fact, before version 2.0.0 the index of the polygons was always identical to the cell_id column of the table, but this is not true for version 2.0.0
fixed a problem with the post-xenium IF image that sometimes had 4 channels instead of 3.

We should parse also the labels from cells.zarr.zip, but we can do this in a follow-up PR. Tracked here: https://github.com/scverse/spatialdata-io/issues/110

Codecov Report
Attention: Patch coverage is 19.27711% with 67 lines in your changes are missing coverage. Please review.

Project coverage is 36.33%. Comparing base (f8cf0b4) to head (901f764).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #111      +/-   ##
==========================================
- Coverage   37.13%   36.33%   -0.81%
==========================================
  Files          18       18
  Lines        1360     1434      +74
==========================================
+ Hits          505      521      +16
- Misses        855      913      +58

Files
Coverage Δ

src/spatialdata_io/_constants/_constants.py
100.00% <100.00%> (ø)

src/spatialdata_io/readers/xenium.py
21.69% <11.84%> (-3.82%)
:arrow_down:


Failed to pull operator image when using Helm

A clear and concise description of what the bug is.
ImagePullBackOff issue after installing kedacore/keda-add-ons-http char
Expected Behavior
K8s able to pull
Actual Behavior
Warning  Failed     35m (x4 over 37m)      kubelet            Failed to pull image "ghcr.io/kedacore/http-add-on-operator:vv0.1.0-v1alpha1": rpc error: code = Unknown desc = Error response from daemon: name unknown
Steps to Reproduce the Problem
helm install http-add-on kedacore/keda-add-ons-http or  helm install http-add-on kedacore/keda-add-ons-http --set images.tag=latest both produces the same result. It seems chart version 0.0.1 is stale (released by a previous pipeline where it adds an extra v in the tag) and needs to be updated
Specifications

KEDA Version: 2.3.2
Platform & Version: 0.0.1
Kubernetes Version: 1.18.10
Scaler(s): http-add-on

Thanks for reporting! What Helm registry did you use?

Workaround is to edit the deployment and provide the latest version from here  using:
kubectl edit deployment keda-add-ons-http-controller-manager

Hi @tomkerkhove, it was from the kedacore charts repo.
helm repo add kedacore **https://kedacore.github.io/charts**
helm install http-add-on kedacore/keda-add-ons-http

I Will take a look at it, thanks!

In addition, when I tried to install the chart from the cloned charts repo.  It also faced the same error as the published tag is v0.0.1, whereas the default .Chart.AppVersion is 0.0.1.
Thanks for the prompt response @tomkerkhove

@arschles What's the roadmap for v0.1.0? Are we shipping this week? Because this will be fixed in v0.1.0.

@tomkerkhove we can do 0.1.0 any time. I had to miss the developer meeting this morning, but I was going to get final sign-off on the release then.

@tomkerkhove looks like this is not fixed in 0.1.0 yet. We'll need https://github.com/kedacore/charts/pull/163 to be merged

It is not because of the missing chart or because it's still not fixed?

@tomkerkhove it is now fixed :) here is the 0.1.0 operator image. I am closing this issue. @hieumoscow can you please open a new issue if you encounter the problem again?


Not working for Biped Update 2.0?

I cannot get this fix to work on the current version of Biped. The BipedFix.cfg is generated after starting Biped with the plugin, but none of the settings therein appear to have any consequence. Also tried inserting a new BepInEx release without success. I'm primarily trying to get Vsync to work, since I have a lot of tearing in fast changing scenes using the vanilla game.
The Biped update released on September 13, 2024 also updated the Unity engine. Maybe this made the fix incompatible?

Same issue here, I don't understand how the base game does not have vsync


Get-AzureADServiceAppRoleAssignment returns nothing for a Service Principal I know has App Roles

Connect-AzureAD -TenantId [id of my tenant]

I am the owner of the tenant, it's my MSDN free credits subscription

Get-AzureADServicePrincipal -SearchString "name of my app registration"

returns 1 record, from which I take the ObjectId

GetAzureADServiceAppRoleAssignment -ObjectId [objectid of my service principal]

returns nothing, even though I know this service principal has app roles assigned. I've also tried passing the Id of the role, which returns Error occurred while executing GetServicePrincipalAppRoleAssignments
Code: Request_ResourceNotFound
What am I doing wrong?

My mistake - I was trying to list app roles when the permissions I had assigned were actually OAuth2Permission objects and not in the appRoles section of the manifest. Adding appRoles to the manifest and assigning those works the way I expected.

Sounds like this was resolved.  Thanks!


no-unstable-nested-components gives false-positive error if nested component is "calculated" inside a function.

Is there an existing issue for this?

[X] I have searched the existing issues and my issue is unique
[X] My issue appears in the command-line and not only in the text editor

Description Overview

Click to show code example

const Test = ({ componentProp }) => {
  return
{componentProp}

}

const call = fn => fn()

export const App = () => {
  const someCondition: number = 1

  const componentInVariable = (() => {
      switch (someCondition) {
          case 1:
              return
one

          case 2:
              return
two

          default:
              return
many

      }
  })() // <-- note that this is a self-invoked function, so it immediately returns ready-to-use jsx element

  return (
      <>
          {/* Test case 1: */}
          <Test
              componentProp={
                  (() => {
                      switch (someCondition) {
                          case 1:
                              return
one

                          case 2:
                              return
two

                          default:
                              return
many

                      }
                  })()  // <-- note that this is a self-invoked function, so it immediately returns ready-to-use jsx element
              }
          />

          {/* Test case 2: */}
          <Test
              // Note that `call` immediately runs given function, so ready-to-use jsx element is passed into `componentProp`:
              componentProp={call(() => {
                  switch (someCondition) {
                      case 1:
                          return
one

                      case 2:
                          return
two

                      default:
                          return
many

                  }
              })}
          />

          {/* Test case 3: */}
          <Test componentProp={componentInVariable} />
      </>
  )
}

Expected Behavior
For the example above:
Actual result:

❌ Test case 1 shows an error (wrong)
❌ Test case 2 shows and error (wrong)
✅ Test case 3 doesn't shows an error (fine)

Expected result:
All these test cases should not show any error as all this approaches are valid
eslint-plugin-react version
v7.32.2
eslint version
v8.50.0
node version
v18.12.1

That seems like a very strange pattern. The function should be defined at the module level, or better, don’t use a function at all and just assign to a variable - IIFEs are obsolete in a world with modules.

It's a metter of taste :)
I prefer to have all my JSX code grouped together at the very bottom of the file. When I use a variable to store parts of the JSX markup, I find it less convenient because I have to constantly jump between the variable and the "main" JSX (within the return statement), which I don't like. To me, the drawback of using an IIFE (which can be less readable than normal JavaScript code) is outweighed by the convenience of not having to navigate up and down in the code.

Either way, this is a bizarre coding pattern that I've never seen before and never expect to see again, so it's not worth supporting in this plugin at this time.


Give php the absolute path to Traversable

Without that use statement, the check would always be false. See https://3v4l.org/#preview
This was detected by etsy/phan, and the bug may or may not occur in real code.

Thanks, @TysonAndre


[DT-1848] - Windows update script

Windows batch script to download/update tgf

Pull Request Test Coverage Report for Build 1052

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

Totals

Change from base Build 1046:
0.0%

Covered Lines:
489

Relevant Lines:
1035

💛  - Coveralls


Fix flaky test_should_recover_imm_from_wal_after_flush_error test

I started noticing that test_should_recover_imm_from_wal_after_flush_error was failing sporadically when I was testing #418. Upon some investigation, it appears that this test has a race condition.
The test simulates a writer that fails after a write goes to the WAL but before it is written to L0. The test then creates a new DB client, which loads the WAL SSTs into a memtable table and freezes it using replay_wal. The problem appears to be that maybe_freeze_memtable in replay_wal:
https://github.com/slatedb/slatedb/blob/e87bc82cab78da2ac1759e53d3382fc104b6f64b/src/db.rs#L517
Freezes the memtable, which we want, but then it tells mem_table_flush.rs to flush the immutable memtable:
https://github.com/slatedb/slatedb/blob/e87bc82cab78da2ac1759e53d3382fc104b6f64b/src/db_common.rs#L18-L21
Since the second DB client does not use an fp_registry, the mem_table_flush.rs loop might pick up the MemtableFlushThreadMsg::FlushImmutableMemtables message, flush the memtable, and pop the imm_memtable off the back in db_state.rs's move_imm_memtable_to_l0.
To fix this, I paused the imm_memtable flushes to prevent the mem_table_flush.rs loop from popping the immutable memtable until we can take a snapshot of the DB state to do our checks.

cc @calavera Running a git blame shows these lines were touched by you last, so I wanted to loop you in incase I'm misunderstanding something.

To reproduce this error, by the way, check out e87bc82cab78da2ac1759e53d3382fc104b6f64b and run:
while cargo test test_should_recover_imm_from_wal_after_flush_error --all-features; do :; done

On my laptop, this eventually fails after a minute or two. With the patch, it appears to pass.


Add array collection type

This PR adds a type collection::array which is a std::vector like class that stores multiple arrays. These arrays are all subviews of a shared buffer.
I think technically this could be considered as a batch::array, but I'm not sure if we want to go that way. As a batch::array this would interleave the dependencies between the batched and non-batched stuff, and I'm not sure if that is a good idea.
Used in: #1543

Do you actually need these individual sub-ranges to be materialized as array views? Because otherwise this is just the typical row_ptr - col_idxs structure, and we might be better served with a fully functional std::span replacement and a range-of-ranges interface

At least for CPU kernels the arrays are quite handy. But you're right, something like std::span would be better suited.

I've had it in my mind to provide a nice abstraction over these segmented arrays (including range-for support) for a while already, if you want I can resurrect my prototype code

Sure, if it's not too much work, we could use that. I can also take that over if you want.

@upsj maybe this could be formulated using ranges and accessors. Accessing the segmented array could be thought of as [i][j], where i is the array index, and j the index within the array. But I don't know enough of ranges and accessor to judge if that would be appropriate.

@upsj I don't think this will change with the segmented ranges at all. The ranges are only relevant on the backend side. The index_map has this type as constructor parameter, and accessors to it, so I would not put it into the detail namespace.

Maybe also update the PR name ?


requested global git configuration

(cherry picked from commit acb0cd0d14e86afb7b6be676c80fd998e351cc0b)
when trying to push from an arbitrary node something to gerrit a
git config --global is required

do not yet merge - still doing some tests

Jenkins retest this please


List device names on start and exit on error

If user does not have permission to read wireguard status,
the exporter should fail instead of silently returning no
results.
List the device names on start to make it easier to understand
why no results are returned.

Before change missing access to devices was silently ignored. I think it makes sense to exit and expose the configuration error. After initial startup error is still ignored like before.
After change:
2020/02/21 09:26:53 starting WireGuard exporter on ":9586"
2020/02/21 09:26:53 current WireGuard devices: []

Or if user does not have permission:
2020/02/21 09:27:22 failed to retrieve wireguard devices: operation not permitted

I thought you might say that. It was mostly surprising to me that on Mac no interfaces are found and there is no error so seeing that starting the server would have been useful. Perhaps that is better addressed another way and is not related to this. I did not analyze why it doesn’t find a running WireGuard on Darwin.
I think you can edit my PR to drop the list and print lines or commit the check only yourself. Or I can update the PR when I’m next on a computer…

If the Mac version of wireguard-go exposes its control sockets under a different path that isn't detected, a bug should be filed against wgctrl-go. I don't have any Mac machines and can't troubleshoot myself though.

If the Mac version of wireguard-go exposes its control sockets under a different path that isn't detected, a bug should be filed against wgctrl-go. I don't have any Mac machines and can't troubleshoot myself though.

I created https://github.com/WireGuard/wgctrl-go/issues/83

Apologies, I forgot about this and ended up creating a similar commit. Thanks anyway.


Problems wrong .so

Hello
I've been testing this code but I can't do much. Seems that this was not designed for the latest version of libmbus.
Can you give me some help on this?

Actually, it should be possible for python-mbus to autodetect this.  Whilst digging around for fixes to a segfault bug on AMD64 I saw this:
https://docs.python.org/2/library/ctypes.html#ctypes.util.find_library


ore soup (grind ore for reagents)

About the PR

Allows all ore except for uranium and plasma (process them first) to be grinded for some of that ore's reagent as well as other trace reagents that may be found in unrefined ore.
Partially resolves #11320
Why / Balance

Another step towards chemistry rework
Technical details

I just gave grindable components to ore and hoped I was doing it right.
Media

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

Breaking changes

Changelog

add: Many ores now have reagents that can be extracted out of them with a grinder.

I've never worked with grinder code before if there's a whitelist or something for it please lmk

Do not create webedit PRs. You can follow our instructions on the development wiki (https://docs.spacestation14.io/getting-started/dev-setup) to setup a development environment. As per the contribution guidelines, all the github website should be avoided for making contributions.
Furthermore, this code is nonfunctional and won't even do what you want it to.
Closing.


Which build mode are you using? RELEASE_ENGINE? RELEASE_IMGUI? If you are using RELEASE_IMGUI, try downloading the DirectX SDK.

I test all modes i got 33 39 40 errors and i alr download the sdk

i test all building modes idk allways i got erroes and i just want to play using it i dont have discord server i cant skkid it

Have you removed the static_assertss from the source?

no i didint mb

All good, if you have any more issues you can open another issue.


Fix invalid fied access in README examples

I've got type errors with code in current README using v1.1.4.
This PR fixes invalid field access, such as Mariadb.connect and  and function applications such missing () to functions with optional parameters.

Thanks.


Map Update: Giant Beanstalk v3

v3 shrinks the board by 9 more squares, opens up the ability to turn at every intersection, and contains other various adjustments.

I'm going to swap the frb in this pull request with a different one that's slightly smaller and has less paths...testing it currently...

Copy that


Add an empty state for custom category

As a vocable app user, I would like to see an empty state message when I have just added a category
Acceptance Criteria

user navigates to the categories section of the app
Add a new category by tapping on the + option
After successfully adding a category, navigating to the category on the home screen show display a empty state screen.

Closing this out.  It is a duplicate of 253.


Added @custom-media support to postcss.tmLanguage

Hi, I don't know for sure if this is okay. I had an issue with the @custom-media so I tried to add support to this to your extension. You have done a great job by the way.

This seems very useful, @MhMadHamster, is there something we can do to help get it merged? Your library appears to be the most complete.

This could be really nice to get working. PostCSS preset env is also using it https://preset-env.cssdb.org/playground


Introduce abstract base classes for types

The main goal of this (backwards-compatible) change is to provide better language-level support for type definitions in addition to ConfigBuilder #70 and use less Closures in code.
Example AbstractObjectType:
abstract class AbstractObjectType
{
    abstract public function getFields();

    abstract public function getInterfaces();

    abstract public function resolveField(
        $fieldName,
        $sourceValue,
        $args,
        $context,
        ResolveInfo $info
    );
}

AbstractInterfaceType:
abstract class AbstractInterfaceType
{
    abstract public function getFields();

    abstract public function resolveType($objectValue, $context, ResolveInfo $info);
}

Then we could use ConfigBuilder to actually define fields (or stick with arrays for those who prefers it).
It also enables serializable types as field resolution is separated from field definition.
This issue is pretty much created for discussion, so if anyone has any thoughts on the subject - you are very welcome.

I love this idea but why not using interfaces instead of abstracts ?

@mcg-web We can use interfaces of course, but I suspect that type definitions will require some boilerplate code anyway. For example:
class AbstractObjectType
{
    private $fields;

    public function getFields()
    {
        return if (null === $this->fields) {
            $this->fields = [
                // ...
            ];
        }
        return $this->fields;
    }
}

We could automate it in abstract types.
Other thing is that naming is important :) ObjectType or InterfaceType names are already taken by existing implementation. And adding Interface suffix is something I'd like to avoid (just read InterfaceTypeInterface) %)
Other option is to put them in separate namespace, but then you will be annoyed by IDE autocomplete with identical names (Exception class names - I am looking at you!)
But this is all about brainstorming for now, so maybe we'll stick with interfaces in the end if we can address those issues somehow.

Ok ok, anyway this will help to add flexibility to types definition(abstract or interface that not a big deal :-) )...

Abstract would mean there could be no user defined root class :( Why not choose interfaces with boilerplate provided by traits?
Would be the most adaptable solution.

@tpetry Sounds like an argument %)
This is exactly the purpose of this issue - to discuss possible use-cases and ideas. Interfaces would work at the cost of more user-land code. So this is really about finding the right balance between ease of use and flexibility.
Can you share what traits would you use to reduce boilerplate? Maybe we can include some of them (or at least something similar) in the library so that users do not need to re-invent the same stuff all the time.

I sm not in need of anyone. That was simply an argument to your position to favor an abstract class indtead of an interface because the abstract class could implement the (possible) boilerplate code someone had to do with an interface.

Closing stale issues. Open new follow-up issues if required.


make nebula a service that can install itself

** Work in progress **
Allows the nebula binary to install itself under the standard service manager on many platforms via the github.com/kardianos/service library.

 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.

This would help to resolve #9 if we included a tap driver

also #50


Routing (feature branch)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

52 of 52 (100.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 99.497%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
10113

Relevant Lines:
10115

💛  - Coveralls


Refactor choose feature flow.

Previously we decide to delay choose feature flow to have it after wallet creation (generation of address before deployment).
However factory address for the feature actually affects wallet creation, where wallet address depends on the factory contract itself.

Source: https://www.alchemy.com/blog/account-abstraction-wallet-creation

lgtm!


esp_wifi_80211_tx() not allowing action frames but documentation says they are supported. (IDFGH-2208)

Environment

Development Kit:      Any
Kit version (for WroverKit/PicoKit/DevKitC): N/A
Module or chip used:  ESP32-PICO-D4
IDF version (run git describe --tags to find it):  3.30300.190916 (3.3.0)
Build System:  Make
Compiler version (run xtensa-esp32-elf-gcc --version to find it):  2.50200.80 (5.2.0)
Operating System:     Windows
Power Supply:         USB

Problem Description
The esp_wifi_80211_tx() is documented to allow transmission of several packet types including the Action (type=0 management and subtype = 0xd action) frame.
By attempting to send an action frame the esp_wifi_80211_tx() function returns an error:
 wifi: unsupport frame type: c0
Expected Behavior
The esp_wifi_80211_tx() should transmit the action frame
Actual Behavior
The frame is not transmitted and the error  wifi: unsupport frame type: c0 is returned
Steps to repropduce

Compile the main.c source code at https://gist.github.com/georgcampana/0d4098e87f26ff478480727dc2737c20
Run and check the debug output. The error is returned
Now decomment the //#define PKT2SEND beacon_packet and comment  #define PKT2SEND action_packet
Compile and run again
The beacon packet is correctly transmitted

Code to reproduce this issue
// see here on GIST a main.c to reproduce the issue

https://gist.github.com/georgcampana/0d4098e87f26ff478480727dc2737c20
Debug Logs
I (168) wifi: wifi driver task: 3ffb77d4, prio:23, stack:3584, core=0
␛[0;32mI (168) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE␛[0m
␛[0;32mI (168) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE␛[0m
I (198) wifi: wifi firmware version: aeed694
I (198) wifi: config NVS flash: enabled
I (198) wifi: config nano formating: disabled
I (198) wifi: Init dynamic tx buffer num: 32
I (208) wifi: Init data frame dynamic rx buffer num: 32
I (208) wifi: Init management frame dynamic rx buffer num: 32
I (218) wifi: Init management short buffer num: 32
I (218) wifi: Init static rx buffer size: 1600
I (228) wifi: Init static rx buffer num: 10
I (228) wifi: Init dynamic rx buffer num: 32
␛[0;32mI (1178) phy: phy_version: 4102, 2fa7a43, Jul 15 2019, 13:06:06, 0, 0␛[0m
I (1178) wifi: mode : softAP (d8:a0:1d:49:33:c1)
I (1178) wifi: Total power save buffer number: 16
I (1178) wifi: Init max length of beacon: 752/752
I (1188) wifi: Init max length of beacon: 752/752
I (1188) wifi: Set ps type: 0

E (1398) wifi: unsupport frame type: c0
E (1598) wifi: unsupport frame type: c0
E (1798) wifi: unsupport frame type: c0
. . . .

Hi @georgcampana, FC[0] frame should be 0xd0 and not 0x0d. Please correct the same and you should see action frames over the air. Also, looks like you are trying to WiFiAware (NAN) functionality. FYI we are working on implementing the same and official NAN support will be present in a quarter or so.

Feel free to reopen if case of doubts or issues.

Thx Sagar. You're right about the wrong Frame Control encoding. Don't know how I missed that one.


BC Case issue:  Will not show

Case Y1 and Y4 will not show up on the screen.  I have to go to list view and click find me on the map to see where it is, but there is no icon showing up.

I'm pretty sure this has been addressed in recent updates.


Fixing formatting

Codecov Report

Merging #472 (452ad0c) into master (c6d2476) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #472      +/-   ##
==========================================
- Coverage   81.09%   81.06%   -0.03%
==========================================
  Files         150      150
  Lines       13041    13041
  Branches     1795     1795
==========================================
- Hits        10575    10572       -3
- Misses       1931     1932       +1
- Partials      535      537       +2

Impacted Files
Coverage Δ

...Solvers/EquationSolver/AnalyticalEquationSolver.cs
81.25% <0.00%> (-2.09%)
:arrow_down:

...inuous/Solvers/EquationSolver/ExponentialSolver.cs
92.64% <0.00%> (-1.48%)
:arrow_down:

Continue to review full report at Codecov.

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


Initializing JS/TS language features constantly dying and restarting

I have a WSL2 ts/js dev container with plugins disabled, but about 50 repos. I've spent so so many hours of looking at logs etc.  There is Info logs which look like errors saying: Failed to load module 'ms-intellicode-typescript'` which I've pasted below.
If I blow away everything and start again, intellisense works again for about 10 minutes and then it goes back to dying constantly.  This is so frustrating and I have literally spent about 30 hours on this over the course of the last 2 years and never found anything that helps.
Is it just that I have too much code or something?
Any suggestions on how to diagnose or what I might look for in the logs would be appreciated.
My VS-code Help/About info:
Version: 1.83.0 (user setup)
Commit: e7e037083ff4455cf320e344325dacb480062c3c
Date: 2023-10-03T16:12:16.321Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22635

"Error" log that is actually Info level.
Info 812  [04:50:43.747] Failed to load module 'ms-vsintellicode-typescript' from /vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/node_modules: Error: Could not resolve JS module 'ms-vsintellicode-typescript' starting at '/vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/node_modules'. Looked in: /vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/ms-vsintellicode-typescript/package.json, /vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/ms-vsintellicode-typescript.js, /vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/ms-vsintellicode-typescript.jsx, /vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/ms-vsintellicode-typescript/index.js, /vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/ms-vsintellicode-typescript/index.jsx, /vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/node_modules/ms-vsintellicode-typescript/package.json, /vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/node_modules/ms-vsintellicode-typescript.js, /vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/node_modules/ms-vsintellicode-typescript.jsx, /vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/node_modules/ms-vsintellicode-typescript/index.js, /vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/node_modules/ms-vsintellicode-typescript/index.jsx, /vscode/vscode-server/bin/linux-x64/node_modules/ms-vsintellicode-typescript/package.json, /vscode/vscode-server/bin/linux-x64/node_modules/ms-vsintellicode-typescript.js, /vscode/vscode-server/bin/linux-x64/node_modules/ms-vsintellicode-typescript.jsx, /vscode/vscode-server/bin/linux-x64/node_modules/ms-vsintellicode-typescript/index.js, /vscode/vscode-server/bin/linux-x64/node_modules/ms-vsintellicode-typescript/index.jsx, /vscode/vscode-server/bin/node_modules/ms-vsintellicode-typescript/package.json, /vscode/vscode-server/bin/node_modules/ms-vsintellicode-typescript.js, /vscode/vscode-server/bin/node_modules/ms-vsintellicode-typescript.jsx, /vscode/vscode-server/bin/node_modules/ms-vsintellicode-typescript/index.js, /vscode/vscode-server/bin/node_modules/ms-vsintellicode-typescript/index.jsx, /vscode/vscode-server/node_modules/ms-vsintellicode-typescript/package.json, /vscode/vscode-server/node_modules/ms-vsintellicode-typescript.js, /vscode/vscode-server/node_modules/ms-vsintellicode-typescript.jsx, /vscode/vscode-server/node_modules/ms-vsintellicode-typescript/index.js, /vscode/vscode-server/node_modules/ms-vsintellicode-typescript/index.jsx, /vscode/node_modules/ms-vsintellicode-typescript/package.json, /vscode/node_modules/ms-vsintellicode-typescript.js, /vscode/node_modules/ms-vsintellicode-typescript.jsx, /vscode/node_modules/ms-vsintellicode-typescript/index.js, /vscode/node_modules/ms-vsintellicode-typescript/index.jsx, /node_modules/ms-vsintellicode-typescript/package.json, /node_modules/ms-vsintellicode-typescript.js, /node_modules/ms-vsintellicode-typescript.jsx, /node_modules/ms-vsintellicode-typescript/index.js, /node_modules/ms-vsintellicode-typescript/index.jsx
    at resolveJSModule (/vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:42251:11)
    at Object.require (/vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:8500:30)
    at _Project.importServicePluginSync (/vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:176143:27)
    at _ProjectService.requestEnablePlugin (/vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:181331:44)
    at InferredProject2.enablePlugin (/vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:177401:25)
    at InferredProject2.enableGlobalPlugins (/vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:177397:12)
    at new InferredProject2 (/vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:177644:10)
    at _ProjectService.createInferredProject (/vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:180076:21)
    at _ProjectService.getOrCreateInferredProjectForProjectRootPathIfEnabled (/vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:180019:19)
    at _ProjectService.assignOrphanScriptInfoToInferredProject (/vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:179200:26)
    at _ProjectService.assignProjectToOpenedScriptInfo (/vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:180832:12)
    at /vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:181062:64
    at flatMap (/vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:2600:17)
    at _ProjectService.applyChangesInOpenFiles (/vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:181062:24)
    at updateOpen (/vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:182242:29)
    at /vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:184838:69
    at IpcIOSession.executeWithRequestId (/vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:184830:14)
    at IpcIOSession.executeCommand (/vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:184838:29)
    at IpcIOSession.onMessage (/vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:184880:51)
    at process.<anonymous> (/vscode/vscode-server/bin/linux-x64/e7e037083ff4455cf320e344325dacb480062c3c/extensions/node_modules/typescript/lib/tsserver.js:186461:14)
    at process.emit (node:events:513:28)
    at emit (node:internal/child_process:937:14)
    at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
Info 813  [04:50:43.747] Couldn't find ms-vsintellicode-typescript

@mjbvz I'm now getting the same behaviour (constantly restarting TS/JS language features) but I don't seen any "Failed to load module" in the logs whatsoever.

Hello, sir. I fixed the same issue by removing improper types from my code.
..
first of all sorry for my english,
first , trying below 3 actions..
0. select typescript version as workspace version

Reinstalled VS Code.
Created a .vscode folder and configured the "typescript.tsdk" setting.
Deleted all extensions and reinstalled them.

Unfortunately, none of these actions had any effect for me.
However, I noticed that when i opened other project, intelliSense is working well.

only one project showed infinite loading
-in my project having error, sometimes IntelliSense worked, and changed to infinite loading state

so i tried to find out what condition kills intelliSens

now i fixed issue by below steps

close all the file in vscode
open file one by one , check intelliSense works (not infinite loading)
i found that opening a specific file triggers kill intellisens and change tooltip to "loading"...
fix unproper type on my interface

Upon closer inspection of my code in that "specific "file,
I discovered that I extends an undefined type .
After removing it, my IntelliSense functionality was resurrected.
//"extends Text" code killed intellisense on project!

interface EditForm extends Text {
  email: string;
  phone: string;
  introduction: string;
  imagePath: string;
  password: string;
}

@LikeRudin I don't have the same issue.  I don't have any occurrence of <syntax> Forking in my log output.  @mjbvz any ideas?

Sorry this fell off my radar
Based on the call stack, this looks like it's caused by the IntelliCode plugin/extension. If you're still seeing the issue, please start by filing an issue against them


Improve container disk performance

This PR improves container disk performance for the npx create-react-app command and fixes #2 by using in-container storage instead of mounted storage.
As excerpted from the updated README.md as follows, this PR includes a bash script to preserve files from remote container to user's host directory.

NOTE: You will find the boyaki directory in your remote container during the workshop (so as in the VSCode's explorer) but NOT in your host machine. This is a side-effect of the fix PR #3 (for the issue #2) to speed up the npx create-react-app command, thus you may lose your boyaki files once you stop the remote container. If you need to preserve and/or edit the files inside the boyaki folder outside of your remote container, you can use the bash script copy-boyaki-to-host.sh to copy those in-container files as a zip file boyaki.zip to your host machine's boyaki directory. Simply execute /workspaces/hostdir/copy-boyaki-to-host.sh inside your remote container and follow the guidance to run it.

LTGM
However it seems a bit confusing which to use workspaces or workspaces/hostdir.
I'd like to suggest to add below sentence at Usage section in READEME.md

Your working directory is workspaces not workspaces/hostdir by default.

@jaga810 Thanks! That's a good point!
The only reason to mount the host directory was to make it available to copy the workshop output by a script execution within the working container, and there is no reason to keep the mount directory visible for users.
I'm thinking to change the directory structure as follows but can I have your thoughts on this? Is this still confusing for users?
/ <- container's root
...
├── hostdir <- The mounted host directory (moved out of 'workspaces')
...
└── workspaces <- Visible for users as their workspace as default, and will includes 'boyaki' folder during the workshop

@toricls It seems less confusing! I love the suggested change of directory structure.


Bug: 使用只读权限用户连接clickhouse，查询数据时报错

Chat2DB Version
Chat2DB3.1.19
Describe the bug

Thank you for your support, but I noticed that your screenshot error message says "cannot modify XXX in readonly mode"

Sorry, I wasn't clear. This error occurred when I clicked on the table, I didn't write any SQL .


unable to reschedule containers in swarm

This problem, at least the error messages associated with it have been referenced in various other issues filed against docker. I have a 4 node UCP. Scheduling a "busybox top" and failing the node. The reschedule on new node fails with:
May 13 15:27:06 ddc-node3 docker[645]: time="2016-05-13T15:27:06.936257668Z" level=info msg="2016/05/13 15:27:06 [INFO] serf: attempting reconnect to ddc-node2 <IP_ADDRESS>:7946\n"
May 13 15:27:34 ddc-node3 docker[645]: time="2016-05-13T15:27:34.274528430Z" level=warning msg="failed to cleanup ipc mounts:\nfailed to umount /var/lib/docker/containers/e8636f95a6a8f776a6ced3feaa6bcc70d54bca1c9c69d508e313d8ddd730550c/shm: no such file or directory"
May 13 15:27:34 ddc-node3 docker[645]: time="2016-05-13T15:27:34.364994320Z" level=error msg="Handler for POST /v1.15/containers/e8636f95a6a8f776a6ced3feaa6bcc70d54bca1c9c69d508e313d8ddd730550c/start returned error: service endpoint with name busybox1 already exists"

the resulting state of rescheduled container is:
CONTAINER ID        IMAGE                    COMMAND                  CREATED             STATUS              PORTS                     NAMES
e8636f95a6a8        busybox                  "top"                    16 minutes ago      Created

The same thing happens with posrtgres and others. But some do work, perhaps more light weight ones which dont use proc/etc.
 more docker-compose.yml
version: '2'

services:
  busybox:
    container_name: busybox1
    image: busybox
    command: top
    networks:
      - busybox
    labels:
      com.docker.swarm.reschedule-policies: '["on-node-failure"]'

networks:
  busybox:
    driver: overlay

docker info
Containers: 18
 Running: 16
 Paused: 0
 Stopped: 2
Images: 77
Server Version: swarm/1.1.3
Role: primary
Strategy: spread
Filters: health, port, dependency, affinity, constraint
Nodes: 4
 ddc-node1: <IP_ADDRESS>:12376
  â”” Status: Healthy
  â”” Containers: 10
  â”” Reserved CPUs: 0 / 2
  â”” Reserved Memory: 0 B / 2.052 GiB
  â”” Labels: executiondriver=, kernelversion=4.2.0-35-generic, operatingsystem=Ubuntu 15.10, storagedriver=devicemapper
  â”” Error: (none)
  â”” UpdatedAt: 2016-05-13T15:45:00Z
 ddc-node2: <IP_ADDRESS>:12376
  â”” Status: Healthy
  â”” Containers: 3
  â”” Reserved CPUs: 0 / 2
  â”” Reserved Memory: 0 B / 2.052 GiB
  â”” Labels: executiondriver=, kernelversion=4.2.0-35-generic, operatingsystem=Ubuntu 15.10, storagedriver=devicemapper
  â”” Error: (none)
  â”” UpdatedAt: 2016-05-13T15:45:00Z
 ddc-node3: <IP_ADDRESS>:12376
  â”” Status: Healthy
  â”” Containers: 3
  â”” Reserved CPUs: 0 / 2
  â”” Reserved Memory: 0 B / 2.052 GiB
  â”” Labels: executiondriver=, kernelversion=4.2.0-35-generic, operatingsystem=Ubuntu 15.10, storagedriver=devicemapper
  â”” Error: (none)
  â”” UpdatedAt: 2016-05-13T15:44:57Z
 ddc-node4: <IP_ADDRESS>:12376
  â”” Status: Healthy
  â”” Containers: 2
  â”” Reserved CPUs: 0 / 2
  â”” Reserved Memory: 0 B / 2.052 GiB
  â”” Labels: executiondriver=, kernelversion=4.2.0-35-generic, operatingsystem=Ubuntu 15.10, storagedriver=devicemapper
  â”” Error: (none)
  â”” UpdatedAt: 2016-05-13T15:45:13Z
Cluster Managers: 1
 <IP_ADDRESS>: Healthy
  â”” Orca Controller: https://<IP_ADDRESS>:443
  â”” Swarm Manager: tcp://<IP_ADDRESS>:2376
  â”” KV: etcd://<IP_ADDRESS>:12379
Plugins:
 Volume:
 Network:
Kernel Version: 4.2.0-35-generic
Operating System: linux
Architecture: amd64
CPUs: 8
Total Memory: 8.206 GiB
Name: ucp-controller-ddc-node1
ID: ZLW6:VFQS:3L77:UQTA:NTDG:ORQ3:7ZGR:CV4F:UHAH:KAPE:UNFQ:ZMA6
Docker Root Dir:
Debug mode (client): false
Debug mode (server): false
WARNING: No kernel memory limit support

here is an interesting experiment, brought up a swarm-demo (except the db because it always fails). Gradually started failing nodes - below is a "ps" per node failure (2,3,4). Rescheduling worked until the 3rd time:
docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                       NAMES
b177bd9b5884        vieux/demo-vote     "python app.py"          10 seconds ago      Up 2 seconds        <IP_ADDRESS>:5000->80/tcp   ddc-node2/swarmdemovotingapp_voting-app_1
5741ef12bc25        vieux/demo-result   "node server.js"         10 seconds ago      Up 7 seconds        <IP_ADDRESS>:5001->80/tcp   ddc-node4/swarmdemovotingapp_result-app_1
3d36917299c8        redis:alpine        "docker-entrypoint.sh"   10 seconds ago      Up 7 seconds        6379/tcp                    ddc-node3/swarmdemovotingapp_redis_1
e61ac521fb4b        vieux/demo-worker   "/usr/lib/jvm/java-7-"   10 seconds ago      Up 3 seconds                                    ddc-node2/swarmdemovotingapp_worker_1

docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                       NAMES
668b417ef578        vieux/demo-worker   "/usr/lib/jvm/java-7-"   4 minutes ago       Up 4 minutes                                    ddc-node4/swarmdemovotingapp_worker_1
a9b6c031cbfa        vieux/demo-vote     "python app.py"          4 minutes ago       Up 4 minutes        <IP_ADDRESS>:5000->80/tcp   ddc-node3/swarmdemovotingapp_voting-app_1
5741ef12bc25        vieux/demo-result   "node server.js"         8 minutes ago       Up 8 minutes        <IP_ADDRESS>:5001->80/tcp   ddc-node4/swarmdemovotingapp_result-app_1
3d36917299c8        redis:alpine        "docker-entrypoint.sh"   8 minutes ago       Up 8 minutes        6379/tcp                    ddc-node3/swarmdemovotingapp_redis_1

docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS                  PORTS                       NAMES
9c571a19fbfd        redis:alpine        "docker-entrypoint.sh"   2 seconds ago       Up Less than a second   6379/tcp                    ddc-node4/swarmdemovotingapp_redis_1
25c3f2d3acb8        vieux/demo-vote     "python app.py"          3 seconds ago       Up 2 seconds            <IP_ADDRESS>:5000->80/tcp   ddc-node4/swarmdemovotingapp_voting-app_1
668b417ef578        vieux/demo-worker   "/usr/lib/jvm/java-7-"   7 minutes ago       Up 7 minutes                                        ddc-node4/swarmdemovotingapp_worker_1
5741ef12bc25        vieux/demo-result   "node server.js"         11 minutes ago      Up 11 minutes           <IP_ADDRESS>:5001->80/tcp   ddc-node4/swarmdemovotingapp_result-app_1

docker ps
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS              PORTS                       NAMES
ec71ec045ebb        vieux/demo-result   "node server.js"         18 seconds ago      Up 15 seconds       <IP_ADDRESS>:5001->80/tcp   ddc-node1/swarmdemovotingapp_result-app_1
f45cf67c9d8f        vieux/demo-worker   "/usr/lib/jvm/java-7-"   19 seconds ago      Up 17 seconds                                   ddc-node1/swarmdemovotingapp_worker_1
b20f33bfa4d3        redis:alpine        "docker-entrypoint.sh"   23 seconds ago      Up 20 seconds       6379/tcp                    ddc-node1/swarmdemovotingapp_redis_1

May 13 16:58:42 ddc-node1 docker[646]: time="2016-05-13T16:58:42.934205776Z" level=warning msg="failed to cleanup ipc mounts:\nfailed to umount /var/lib/docker/containers/ba136e9b209f5b726a92d7999f744877e793ef7e035d6745df479558c94bb002/shm: no such file or directory"
May 13 16:58:43 ddc-node1 docker[646]: time="2016-05-13T16:58:43.044475610Z" level=error msg="Handler for POST /v1.15/containers/ba136e9b209f5b726a92d7999f744877e793ef7e035d6745df479558c94bb002/start returned error: service endpoint with name swarmdemovotingapp_voting-app_1 already exists"

one more data point: I installed swarm 1.2.2 - no UCP, same issue:
docker info
Containers: 9
 Running: 7
 Paused: 0
 Stopped: 2
Images: 9
Server Version: swarm/1.2.2
Role: primary
Strategy: spread
Filters: health, port, containerslots, dependency, affinity, constraint
Nodes: 3
 swarm-swarm-master: <IP_ADDRESS>:2376
  â”” ID: 4KDT:CDTU:LG3F:CCH7:ETCT:CU4Y:2VVW:SU26:3OTI:EWOR:JSFW:EXIU
  â”” Status: Healthy
  â”” Containers: 3
  â”” Reserved CPUs: 0 / 1
  â”” Reserved Memory: 0 B / 1.887 GiB
  â”” Labels: executiondriver=, kernelversion=3.10.0-229.14.1.el7.x86_64, operatingsystem=CentOS Linux 7 (Core), provider=openstack, storagedriver=devicemapper
  â”” Error: (none)
  â”” UpdatedAt: 2016-05-13T18:14:33Z
  â”” ServerVersion: 1.11.1
 swarm-swarm-node-01: <IP_ADDRESS>:2376
  â”” ID: OLEG:BENG:MAHA:DFHM:SIPZ:IZVI:DM7M:Y2GU:OFF6:HZU4:5HWW:VZRF
  â”” Status: Healthy
  â”” Containers: 3
  â”” Reserved CPUs: 0 / 1
  â”” Reserved Memory: 0 B / 1.887 GiB
  â”” Labels: executiondriver=, kernelversion=3.10.0-229.14.1.el7.x86_64, operatingsystem=CentOS Linux 7 (Core), provider=openstack, storagedriver=devicemapper
  â”” Error: (none)
  â”” UpdatedAt: 2016-05-13T18:13:40Z
  â”” ServerVersion: 1.11.1
 swarm-swarm-node-03: <IP_ADDRESS>:2376
  â”” ID: D3AC:QFKP:YQRX:5O7V:J7ZG:756O:CXC7:C6MP:PAKM:F2LP:QPQ5:FPLC
  â”” Status: Healthy
  â”” Containers: 3
  â”” Reserved CPUs: 0 / 1
  â”” Reserved Memory: 0 B / 1.887 GiB
  â”” Labels: executiondriver=, kernelversion=3.10.0-229.14.1.el7.x86_64, operatingsystem=CentOS Linux 7 (Core), provider=openstack, storagedriver=devicemapper
  â”” Error: (none)
  â”” UpdatedAt: 2016-05-13T18:13:49Z
  â”” ServerVersion: 1.11.1
Plugins:
 Volume:
 Network:
Kernel Version: 3.10.0-229.14.1.el7.x86_64
Operating System: linux
Architecture: amd64
CPUs: 3
Total Memory: 5.661 GiB
Name: swarm-swarm-master
Docker Root Dir:
Debug mode (client): false
Debug mode (server): false
WARNING: No kernel memory limit support

version: '2'

services:
  busybox:
    container_name: busybox1
    image: busybox
    command: top
    networks:
      - busybox
    labels:
      com.docker.swarm.reschedule-policies: '["on-node-failure"]'

networks:
  busybox:
    driver: overlay

busybox landed on node2, I shut it down. Node3 logged:
May 13 18:09:55 swarm-swarm-node-03 docker[8181]: time="2016-05-13T18:09:55.349751348Z" level=warning msg="failed to cleanup ipc mounts:\nfailed to umount /var/lib/docker/containers/7aadd36a208c961efd02be0645fd8254e10353dfd2b41922a02381cbb30fa81b/shm: no such file or directory"
May 13 18:09:55 swarm-swarm-node-03 docker[8181]: time="2016-05-13T18:09:55.589032374Z" level=error msg="Handler for POST /v1.23/containers/7aadd36a208c961efd02be0645fd8254e10353dfd2b41922a02381cbb30fa81b/start returned error: service endpoint with name busybox1 already exists"

Could it be related #2149 where network endpoint is not removed? If the container doesn't have overlay network endpoint, does it get rescheduled properly?

I wonder if #2565 fixes this issue.
cc @ikrel


Disable the mouseup listener on the inline gallery items?

When using a gallery with inline content any click within the content or scroll-bar causes vbox to navigateGall( next )... I found the code within the onUpEvent which controls this (line 478), but if it's disabled it also affects the swipe feature on touchscreens. I am unsure what else to try. Anyone have any ideas? Thanks.

Sorry this got posted in the wrong Issue tracker. Was supposed to be venobox.


What is the next thing?

I heard that this project has been deactivated in favor of a different approach. What is the next thing?

VDC modules and governance best practices got merged into Enterprise Control Plane (ECP).


updated README.md

added additional ways of command-line help.

Coverage remained the same at 99.584% when pulling 948aa2c0f3691954e4133fb356ee2955f49edd77 on SanyuktaSaha:master into 9e216d86c87c6b67f640e7982f0e639a792e6207 on accordproject:master.

Those commands you listed do not exist. I'm closing this PR.


update product name

cc: @VSC-Service-Account

#sign-off

#sign-off

@xirzec  @diberry  @mcleanbyron - Can you help get this published?


Software Update 2<IP_ADDRESS>_GA

Bump to 2<IP_ADDRESS>_GA miner
Can be merged once everything looks good on testnet

Do not merge version 2<IP_ADDRESS> - the Helium team will release a fix to this version shortly - https://discord.com/channels/404106811252408320/730418759298318346/875137805121126412

Thanks @KevinWassermann94 👍

Have fixed the issues in hm-config and hm-diag temporarily (they are being rewritten so have not done any major changes).
See notes here https://github.com/NebraLtd/hm-diag/issues/74 and here https://github.com/NebraLtd/hm-config/issues/59
However it looks like helium are reverting this change, at least for now anyway https://github.com/helium/miner/commit/5eb837b5e479cadd091460ac63e70a99a24c126d
Will keep an eye out for the new GA and then update this PR

Running on testnet now


Small fix-ups

#sign-off

@gewarren: I'm sorry - only the author of this article, @mikben, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

Thanks for your contribution! I've merged your changes and they should be live soon.


How to export DNG images from MLV using MLV.APP in batch?

Thanks for providing the original raw video and detailed code base!
I am wondering how do you extract DNG image sequences from MLP.APP automatically? What I could found is only exporting the current frame, which is hard to process all videos manually.
Thanks for your help in advance!

Hi,
I remember that MLP.App supports exporting all video frames in DNG format with one click. You can try File -> Export Selected Clips. Let me know if you have any further problems.
Thanks,
Xiaohong

Hi,
I remember that MLP.App supports exporting all video frames in DNG format with one click. You can try File -> Export Selected Clips. Let me know if you have any further problems.
Thanks,
Xiaohong

Thanks @proteus1991 , I've tried to export selected clips but the only option for me is to convert the MLV to 'mov' video. Is there anything I am doing wrongly?

Thanks @proteus1991 , I've tried to export selected clips but the only option for me is to convert the MLV to 'mov' video. Is there anything I am doing wrongly?

Check Files -> Export settings -> Codec. You should find the CinemaDNG uncompressed option. Choose it to export video frames in DNG format.

Check Files -> Export settings -> Codec. You should find the CinemaDNG uncompressed option. Choose it to export video frames in DNG format.

That works, thanks a lot!

That works, thanks a lot!


Using clerk as a standalone command line tool only displays default home.clj only

I tried to create a command line tool to render notebooks in the browser. The whole app can fit here:
(ns clerk-viewer
  (:require [nextjournal.clerk :as clerk])
  (:gen-class))

(defn -main [& args]
  (let [filename (first args)]
    (clerk/serve! {:browse? true :watch-paths []})
    (clerk/show! filename)))

but when I create a jar file for this and call
java -jar clerk-viewer.jar notebook.clj the log says the notebook.clj is evaluated, but then /nextjournal/clerk/home.clj is also evaluated and only that one is displayed. So I can only see the default page.
What am I doing wrong?
Here is the whole project in case something with the build is wrong: https://codeberg.org/egri-nagy/clerk-viewer

Also worth mentioning: Clerk should is useable standalone using clj -X:
I'm working on some smaller fixes and improvements for this in https://github.com/nextjournal/clerk/compare/standalone-fixes
$ clj -Sdeps '{:deps {io.github.nextjournal/clerk {:git/sha "e5484675ad21a4d79ff1cbc699324b742a25e986"}}}}' -X nextjournal.clerk/serve! :paths '["Hello.md"]' :browse true

Clerk also ships with metadata to be https://github.com/babashka/cli compatible:
clj -Sdeps '{:deps {org.babashka/cli {:mvn/version "0.7.53"} io.github.nextjournal/clerk {:git/sha "e5484675ad21a4d79ff1cbc699324b742a25e986"}}}}' -M -m babashka.cli.exec nextjournal.clerk/serve! --browse

Need to add the missing :paths in the serve for it, though.

I've documented the missing options and exposed them to babashka.cli in 333727ad3aa6b5c7d8244bb0b7703b757e9904c4. I'm considering to add a dependency on babashka.cli and expose a main function directly (please let me know if you'd find that helpful!). For now it works by declaring an extra dep like so:
$ clojure -Sdeps '{:deps {io.github.nextjournal/clerk {:git/sha "333727ad3aa6b5c7d8244bb0b7703b757e9904c4"} org.babashka/cli {:mvn/version "0.7.53"}}}' -M -m babashka.cli.exec nextjournal.clerk/serve! --help
Start the Clerk webserver with an optional a file watcher.

Options:
  --host           Host or ip for the webserver to listen on, defaults to "locahost".
  --port           Port number for the webserver to listen on, defaults to 7777.
  --browse         Opens the browser on boot when set.
  --watch-paths    Paths on which to watch for changes and show a changed document.
  --show-filter-fn Symbol resolving to a fn to restrict when to show a notebook as a result of file system event.
  --paths          Restricts serving to the given paths, supports glob patterns. Will disable Clerk's homepage when set.
  --paths-fn       Symbol resolving to a 0-arity function returning computed paths.
  --index          Override the name of the index file (default "index.clj|md", will be added to paths.


IJ-78 Design Updates

Pretty major but still subtle design overhaul. I've updated and tweaked almost all the styling throughout the app and I'm a lot happier with it now.
I have a couple of different versions of the colours saved in the variables file to allow easy switching should include want.
User Dashboard Desktop
Original

New

User Dashboard Mobile
Original

New

User WBA Selves Desktop
Original

New

User WBA Selves Mobile
Original

New

User New Journal Desktop
Original

New

User New Journal Mobile
Original

New

User Journal Permission Desktop
Original

New

User Journal Permission Mobile
Original

New

User Journal Archive Desktop
Original

New

User Journal Archive Mobile
Original

New

User SOS Modal Desktop
Original

New

User SOS Modal Mobile
Original

New

Team Member Dashboard Desktop
Original

New

Team Member Dashboard Mobile
Original

New

Team Member Crisis Desktop
Original

New

Team Member Crisis Mobile
Original

New

You get the idea.
I'm still expecting tweaks as we go along but is everyone happy with this?

Conflicts will need resolving but this is looking much better, there's some little UI bugs like the icon wrapping on the mobile permissions screen but we're better off fixing that in future work and just getting this PR in a mergable state given the state of the conflicts.

merge conflicts resolved :+1:

@phil-6 why closed?

@IeuanSkinner open again! :smile:


Migrate and remove old ::ExternalDataImport sequel model

Story details: https://app.clubhouse.io/cartoteam/story/104737

Tested in staging: I can import from the data library and run subsequent syncs without any issue.


Exomes hail table not in public release?

Hello,
I was following the code to import the latest exomes release as written here
# Load the v4.0 exomes public release HT
from gnomad.resources.grch38.gnomad import public_release
ht = public_release(“exomes”).ht()

But was unable to.
---------------------------------------------------------------------------
DataException                             Traceback (most recent call last)
Cell In[63], line 2
      1 from gnomad.resources.grch38.gnomad import public_release
----> 2 ht = public_release("exomes").ht()
      3 ht.describe()

File /opt/conda/lib/python3.10/site-packages/gnomad/resources/grch38/gnomad.py:272, in public_release(data_type)
    265 """
    266 Retrieve publicly released versioned table resource.
    267
    268 :param data_type: One of "exomes" or "genomes"
    269 :return: Release Table
    270 """
    271 if data_type not in DATA_TYPES:
--> 272     raise DataException(
    273         f"{data_type} not in {DATA_TYPES}, please select a data type from"
    274         f" {DATA_TYPES}"
    275     )
    277 if data_type == "exomes":
    278     current_release = CURRENT_EXOME_RELEASE

DataException: exomes not in ['genomes'], please select a data type from ['genomes']

I'm a bit confused by that error message, is the exome hail table not available? The genomes table did seem to work.
I am using the hail environment on Terra: hail 0.2.126, python 3.10.12

Thank you!
I didn't realize I was using an older version of gnomad. Updating allowed me to use get the v4 exomes table.  But I realized that
from gnomad.resources.grch38.gnomad import public_release
genomes = public_release("genomes").ht()

gives me v3 genomes, not v4. (At least, it has annotations that match v3 like "primate_ai") Is there a way to select v4?

@allisoncheney, can you pull the most recent version of the repo again? We just put in a fix yesterday and public_release("genomes") now defaults to load the v4 genomes.

Hi @allisoncheney -- thanks for flagging that the default genomes release version was not v4. As Kristen said above, we have fixed this in the most recent version of the code, so I am going to close this ticket; please open another ticket if you still encounter an issue.


Nodes is forbidden falco service account to list resource "nodes" in API group "" at the cluster scope

Describe the bug
I followed the installation instruction here but got below error when deployed Falco. I already confirmed that clusterole and clusterolebinding` are created.

Runtime error: K8s API error; Status: Failure, Message: nodes is forbidden: User "system:serviceaccount:monitoring:falco-account" cannot list resource "nodes" in API group "" at the cluster scope, Reason: Forbidden, Details: , Code: nodes is forbidden: User "system:serviceaccount:monitoring:falco-account" cannot list resource "nodes" in API group "" at the cluster scope. Exiting.

How to reproduce it

Running GKE version 1.14.10-gke.27
Installing Falco version 0.22.1 by following the installation steps in this guide

Expected behaviour
Falco should run successfully.
Screenshots

Environment

GKE version 1.14.10-gke.27

Falco version: 0.22.1

System info:

Cloud provider or hardware configuration: GKE
OS: COS

Kernel: 4.14.138+

Installation method: Kubernetes

Additional context
Container runtime version: docker://18.9.7

Found out the cause. clusterrolebinding is subject to a service account in default namespace
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: falco-cluster-role-binding
  namespace: default
  labels:
    app: falco-example
    role: security
subjects:
  - kind: ServiceAccount
    name: falco-account
    namespace: default
roleRef:
  kind: ClusterRole
  name: falco-cluster-role
  apiGroup: rbac.authorization.k8s.io


No such host is known

Product and Version [VS/VSCode]:
OS Version [macOS/Windows]: Windows 7
Live Share Extension Version:  0.3.890 (10/26/2018)
Steps to Reproduce / Scenario:

Create new Live share session by "Start collaboration session..."
Error

This looks like a proxy authentication issue. I am behind a corporate firewall - NTLM auth. Can I set proxy information? HTTP_PROXY and HTTPS_PROXY are set

@aateeque Hey! thanks for reporting the issue. This is generally indicates a DNS lookup failure to the relay. https://aka.ms/vsls-connectivity will give you information on what is expected to be accessible in each mode. Updating your Live Share to the  latest version might solve the problem. if you still cannot connect check out https://aka.ms/vsls-docs/proxy and let us know

This is fixed in latest version (how do you tell what version you're on of the extension??:S) by itself


Postfix rejects valid sender with SPOOF_PROTECTION env variable set to 1

Context
I have a small installation which had only one address configured. After adding a second address I received the following error message when trying to send a message from the second address while also being authenticated as that second user:
May 15 11:16:53 mail postfix/smtpd[1053]: NOQUEUE: reject: RCPT from unknown[<IP_ADDRESS>]: 553 5.7.1<EMAIL_ADDRESS>Sender address rejected: not owned by user<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>proto=ESMTP helo=<[<IP_ADDRESS>]>
Expected Behavior
The message should pass if the authenticated sender matches the from address
Actual Behavior
The message is rejected, see log message above.

Can you elaborate on how you are sending the message, please? Ideally with a reproducible test case? And have you had an alias for the second user before?
I had a similar issue and it turned out to be a problem with aliases. One user owned the address for another (newly added) user through an alias. It took some time to figure that out.

@daiwai please get back with some details so that we can try to reproduce this, not least the image you are running (latest, stable or a specific release). If we don't hear from you I'll close this.

Closed due to inactivity. Please reopen or file a new issue if the problem persists.


Add option to collapse identical columns in HTML report

Some target platforms are very similar and analysis can produce identical results for them. Viewing HTML report will be easier if such platforms are collapsed together. Also, when porting, it's helpful to see what platform-dependent code should be moved/replaced/whatever. Overall, the report will be considerably less scary if it contains less redundant information.

This makes sense. We would love a contribution if you want to add that to the HTML report generator!

Nice to have, please re-open if you have a PR to submit. :)

There are checkboxes so you can hide columns (under "Hide columns:") if they are cumbersome to look at. I hope this fixes your issue.


A simple question about the paper

As is mentioned in the paper, the teacher network is choosen as the original Hourglass Network (ECCV 2016), then a student network is trained on a customized network, but the result shows a better perfomance than the result of Newell et al., ECCV’16(the teacher network). I can't understand,  could anyone explain?

In fact, this is possible, if you train it for enough time.


HBASE-25081 Up the container nproc uplimit to 30000

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2439/1/console in case of problems.

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2439/1/console in case of problems.

(!) A patch to the testing environment has been detected.
Re-executing against the patched versions to perform further tests.
The console is at https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2439/1/console in case of problems.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 42s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 29s
Maven dependency ordering for branch

_ Patch Compile Tests _

+0 :ok:
mvndep
0m  8s
Maven dependency ordering for patch

_ Other Tests _

2m 19s

Subsystem
Report/Notes

Docker
Client=19.03.13 Server=19.03.13 base: https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2439/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/2439

Optional Tests

uname
Linux c91fe2777406 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 8a6299bb38

Max. process+thread count
48 (vs. ulimit of 30000)

modules
C:  U:

Console output
https://ci-hadoop.apache.org/job/HBase/job/HBase-PreCommit-GitHub-PR/job/PR-2439/1/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 16s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+0 :ok:
shelldocs
0m  0s
Shelldocs was not available.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+0 :ok:
mvndep
0m 26s
Maven dependency ordering for branch

_ Patch Compile Tests _

+0 :ok:
mvndep
0m  8s
Maven dependency ordering for patch

+1 :green_heart:
shellcheck
0m  2s
There were no new shellcheck issues.

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.


Renewal of HystrixCommandProperties information reported by HystrixCommandMetrics

I have a simple custom HystrixPropertiesStrategy that maintains properties cache with time-based eviction, but when some property changes, it is not propagated to HystrixCommandMetric. I haven't found any plugin (tried HystrixMetricsPublisher) setup that allows to invalidate HystrixCommandMetric too.
Hystrix version is 1.3.19

I'm not 100% sure I understand your use case here.  Are you saying that you want a properties strategy which has a TTL on properties?
When a HystrixCommand gets constructed (in both 1.3 and 1.4), the properties are retrieved through the HystrixPropertiesStrategy layer of indirection.  So you should be able to model any sort of property algorithm you'd like with a custom HystrixPropertiesStrategy.
I'm not sure what the metrics publishing has to do with properties.

My problem is that after I've implemented TTL on properties using custom HystrixPropertiesStrategy, and when properties are changed, this change is not propagated to HystrixCommandMetrics because HystrixCommandMetrics get properties once it is created, and it cannot be changed.

I'm pursuing a way to create custom HystrixCommandMetrics instances in #843.  This should be possible once that change is done and released

Ok, cool, closing it with reference to #843.


Added Discord link

Changes made: Added Discord link in the header, as well as at the bottom

Closing this since Austin's PR also adds the Discord link and a couple other updates rolled into one. Sorry for losing track of this PR for so long! I appreciate the update :)