Async API Definition goes missing when creating a new version if the original API has been updated

Description
Async API Definition goes missing when creating a new version of an Async API if the original API has been updated. This is the same for any Async type API (Websocket, Websub etc.). The asyncapi.json file is missing when checked through the Management console.
The Async API Definition window of the newly created version is seen as follows.

And the Topics page is seen loading like below.

Both the above issues are the result of the missing asyncapi.json file.
Steps to Reproduce

Create a websocket API (Can be any async api type) - Do not publish it.
Save the API by navigating to the Basic Info page.
Then create a new version from this API.
Access the Async API Definition and Topics pages of the newly created API version.

Affected Component
APIM
Version
4.4.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response

Could be related to https://github.com/wso2/api-manager/issues/2899


Rewrite

This is the 1.0.0 rewrite on top of dry-schema and other dry-* friends. This PR implements core functionality, further improvements, and additional features will be done separately in other PRs. The main goal of this PR is to figure out the API and make basic features work.
New API (WIP)
class NewUserContract < Dry::Validation::Contract
  params do
    required(:email).filled(:string)
    required(:age).filled(:integer)
    optional(:login).maybe(:string, :filled?)
    optional(:password).maybe(:string, min_size?: 10)
    optional(:password_confirmation).maybe(:string)
  end

  rule(:password) do
    if params[:login] && !params[:password]
      failure("is required")
    end
  end

  rule(:age) do
    if params[:age] < 18
      failure("must be greater or equal 18")
    end
  end
end

TODO

[ ] Figure out the final API (feel free to chime in and discuss here)
[x] Make travis pass
[x] Introduce new API for high-level rules:

[x] Make setting failure messages work
[x] Add support for DI
[x] Expose contract's methods within "rule" blocks
[x] Expose params in rule blocks
[x] Add support for anonymous rules
[x] Figure out how to handle failure identifiers, ie failure(:name, "message") or set :name in the rule method and just use failure("message")? so, I ended up doing rule(identifier) because I'll move reading values from params to the result object itself on dry-schema side.

[x] Make Contract#call return an actual result object compatible with dry-schema's results
[x] Make inheritance work with contract classes

Follow-up TODO (after this is merged)

[ ] (dry-schema) Extend Result#error? to support nested keys ie error?([:foo, :bar]) or even error?("foo.bar") etc. (needs to support arrays too)
[ ] Add support for messages system (YAML, I18n)
[ ] Add support for dependant rules ie rule B depends on the success of rule A

@flash-gordon thank you <3 I addressed your feedback!

This was merged BUT the final API is still a WIP. There are lots of things to address and doing it in separate PRs makes much more sense, that's why it was important to get this gigantic PR into master already.


Remove watermark

How to remove signature watermark and how to use signature lite license instead of using evaluation license?

Hi Aditya,
The Lite license is supplied only for the Signature SDK for Windows. To remove the signature watermark, you will need to acquire a production license for the Signature SDK for JavaScript. Please contact your regional Wacom Sales representative to obtain a production license at https://developer.wacom.com/.
Thanks for your inquiry! For future inquiries, we recommend contacting Developer Support here: https://developer-support.wacom.com/hc/en-us/requests/new
Best regards,
Sam


import statement not resolve in annotation

Reported by eth on 23 Mar 2010 13:26 UTC
import statement seems to be not resolve in annotation when extended.
Example:

new top level function:
function pressureLoss_m_flow ""
extends Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_DP;
end pressureLoss_m_flow;

with extended part of fucntion is defined as:
import FD=Modelica.Fluid.Dissipation.PressureLoss.StraightPipe;
...
annotation (...,
inverse(m_flow=FD.dp_overall_MFLOW(
IN_con,
IN_var,
DP)), ...);
Checking function reveals that FD.dp_overall_MFLOW() is not resolved, but it is working with the literal path Modelica.Fluid.Dissipation.PressureLoss.StraightPipe (e.g. Modelica.Fluid.Dissipation.PressureLoss.StraightPipe.dp_overall_MFLOW)

Migrated-From: https://trac.modelica.org/Modelica/ticket/330

Modified by eth on 23 Mar 2010 13:26 UTC

Modified by dietmarw on 23 Mar 2010 14:13 UTC

Modified by dietmarw on 11 Apr 2012 14:16 UTC

Comment by wischhusen on 11 Apr 2012 14:48 UTC
Resolved by putting the full path in inverse annotation.
See revision 16d4f1d6855d4f1e504b03a4058556bc5d3e2fa6.


Ensure dialog_options not nil for building stack options

dialog_options is already based on options[:dialog] but guaranteed not nil
This bug was found when adding spec tests for ansible tower service provisioning, which are to be included in a following PR.

@gmcculloug please review


Ballons are still working with font-awesome?

It's a limited number of icons?  I think the Cheatsheet changed in the 5 version.

I got it! Its -> font-family: "Font Awesome 5 Free";


feat: Display Warning When Pool APR is Too High

Description
Add a warning for users in the pools table to make them aware if a pool could be experiencing high inflation. The warning is displayed if the staking APR is 5 times larger than the Osmosis chain staking APR and the user is not in frontier.

Ready for a re-review. Added new design changes


0.9.0 -> 0.9.1

The upstream moved to gitlab.com
Remove patches, the remaining patches in
https://github.com/sagemath/sage/tree/master/build/pkgs/zn_poly/patches
are only required for python3, so we pin to python 2.7.

Checklist

[x] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


[BUG]: Once an agent is called, the session never answers another chat.

How are you running AnythingLLM?
AnythingLLM desktop v1.6.7 Mac M1
What happened?
If I type @agent and then a prompt, AnythingLLM never answers me again. I must quit the app.

Mac M1
AnythingLLM provider
Llama 3.1 8B
Workspace Agent model: llama3.1:latest
Agent skill: only default

Are there known steps to reproduce?

Start new thread. Say "hello" just to ensure the LLM responds.
type @agent list-documents

system responds with Agent @agent invoked. Swapping over to agent chat. Type /exit to exit agent execution loop early.

Type anything at all. No response, ever.
Type /exit

system responds with Agent session complete.

Type anything at all. No response, ever.
Quit app
Start new thread. Say "hello" just to ensure the LLM responds.
etc.

Cannot replicate this on an M1
Can you pull logs? https://docs.anythingllm.com/installation-desktop/debug
Closing until we can replicate as this almost always is client side and not a code related bug

Here are the logs. While I certainly agree it could be a client side problem, any help would be appreciated. What am I doing wrong?

[backend] info: [TELEMETRY SENT] {"event":"sent_chat","distinctId":"e099eb43-d0ed-4913-9dbd-04d4ddae3d03","properties":{"multiUserMode":false,"LLMSelection":"anythingllm_ollama","Embedder":"native","VectorDbSelection":"lancedb","multiModal":false,"TTSSelection":"native","runtime":"desktop"}}
[backend] info: [Event Logged] - sent_chat
[backend] info: [AgentHandler] Start 2256fb7a-e852-45dc-b250-ab4229eb38a0::anythingllm_ollama:mistral:latest
[backend] info: [TELEMETRY SENT] {"event":"agent_chat_started","distinctId":"e099eb43-d0ed-4913-9dbd-04d4ddae3d03","properties":{"runtime":"desktop"}}
[backend] info: [AgentHandler] Attached websocket plugin to Agent cluster
[backend] info: [AgentHandler] Attached chat-history plugin to Agent cluster
[backend] info: [AgentHandler] Attaching user and default agent to Agent cluster.
[backend] info: [AgentHandler] Attached rag-memory plugin to Agent cluster
[backend] info: [AgentHandler] Attached document-summarizer plugin to Agent cluster
[backend] info: [AgentHandler] Attached web-scraping plugin to Agent cluster
[backend] info: [AgentLLM - mistral:latest] Invalid function tool call: Missing name or arguments in function call..
[backend] info: [AgentLLM - mistral:latest] Will assume chat completion without tool call inputs.

Then after a long period:
[backend] error: fetch failed TypeError: fetch failed
    at Object.fetch (node:internal/deps/undici/undici:11457:11)
    at async post (/Applications/AnythingLLM.app/Contents/Resources/backend/node_modules/ollama/dist/shared/ollama.9c897541.cjs:114:20)
    at async Ollama.processStreamableRequest (/Applications/AnythingLLM.app/Contents/Resources/backend/node_modules/ollama/dist/shared/ollama.9c897541.cjs:253:22)
    at async Ma.complete (/Applications/AnythingLLM.app/Contents/Resources/backend/server.js:222:3861)
    at async Va.handleExecution (/Applications/AnythingLLM.app/Contents/Resources/backend/server.js:241:406)
    at async Va.reply (/Applications/AnythingLLM.app/Contents/Resources/backend/server.js:241:274)
    at async Va.chat (/Applications/AnythingLLM.app/Contents/Resources/backend/server.js:222:22147)
    at async Va.start (/Applications/AnythingLLM.app/Contents/Resources/backend/server.js:222:21581)
    at async /Applications/AnythingLLM.app/Contents/Resources/backend/server.js:264:17940
[backend] info: [AgentHandler] End 2256fb7a-e852-45dc-b250-ab4229eb38a0::anythingllm_ollama:mistral:latest

There were no concerning logs during the application launch, only INFO level output.
Thanks!

Then after a long period:

How long? It sounds like the ollama client is timing out or running OOM. What is your RAM on the M1 machine? The Mistral 7B model is not massive but you could have insufficient ram for the models you have tried thus far.
I know there are 8GB RAM M1 Macbooks floating around in the market and they are no match for these LLMS that are 5-7B in size.

My Mac has 16GB of RAM. The timeout occurs after about 2 minutes. I'll keep poking around to see if I discover anything and report back. Thanks for following up.

When you send an agent chat you should be seeing some /POST requests in the ollama server - do you see anything at all? Might be help to see what is going on in Ollama causing such a delay. Generating the requests and such is usually very fast and we spend the most time waiting on LLM responses

I have the exact same issue reported by @gcleaves. I'm running the latest 1.2.3 version of anythingllm using docker. I also have ollama running as docker on the same VM. I'm using the following model llama3.1:8b-instruct-q8_0 and mistral:7b-instruct-q8_0. My machine is Ubuntu 22x with 4CPU, 16GB RAM config.
@timothycarambat  - It seems this agent issue is ad-hoc and I'm not sure why it has stopped working suddenly. Is there a better lightweight local LLM model you recommend that can work seamlessly to test agents?
The following are the subset of my docker logs for reference
[backend] info: [AgentHandler] Attached save-file-to-browser plugin to Agent cluster
[backend] info: [AgentHandler] Attached create-chart plugin to Agent cluster
[backend] info: [AgentLLM - mistral:7b-instruct-q8_0] Invalid function tool call: Missing name or arguments in function call..
[backend] info: [AgentLLM - mistral:7b-instruct-q8_0] Will assume chat completion without tool call inputs.
[backend] info: [TELEMETRY SENT] {"event":"agent_chat_sent","distinctId":"e8da662b-8ee7-42b2-b469-85077ee8c2c0","properties":{"runtime":"docker"}}


Bugfix/email send idi

Pull Request
Are you a current Fivetran customer?

Internal
What change(s) does this PR introduce?

Updates surrogate key email_send_id to include primary_attribute_value_id.
Did you update the CHANGELOG?

[x] Yes

Does this PR introduce a breaking change?

[] Yes (please provide breaking change details below.)
[x] No  (please provide an explanation as to how the change is non-breaking below.)
Updating a field

Did you update the dbt_project.yml files with the version upgrade (please leverage standard semantic versioning)? (In both your main project and integration_tests)

[x] Yes

Is this PR in response to a previously created Bug or Feature Request

[x] Yes, Issue https://github.com/fivetran/dbt_marketo_source/issues/25
[ ] No

How did you test the PR changes?

[x] CircleCi
[ ] Local (please provide additional testing details below)

Select which warehouse(s) were used to test the PR

[x] BigQuery
[x] Redshift
[x] Snowflake
[ ] Postgres
[ ] Databricks
[ ] Other (provide details below)

Provide an emoji that best describes your current mood

:dancer:
Feedback
We are so excited you decided to contribute to the Fivetran community dbt package! We continue to work to improve the packages and would greatly appreciate your feedback on our existing dbt packages or what you'd like to see next.

Hey @fivetran-joemarkiewicz this is ready for review. As for testing it looks like our data only has one primary_attribute_value_id per campaign id so we're a little limited in testing to ensure, but I think it's straightforward enough where we'd be comfortable moving forward, what do you think?
SELECT campaign_id, primary_attribute_value_id,campaign_run_id, lead_id, rank() over(partition by campaign_id, primary_attribute_value_id order by primary_attribute_value_id) FROM `dbt-package-testing.dbt_renee_stg_marketo.stg_marketo__activity_send_email`
order by 1,2

Hey @fivetran-reneeli thanks for opening this PR. I am comfortable with the limited data we have. However, there are a few changes I think we need to make. It looks like the email_send_id is used in a downstream join but we only updated the field in the stg_marketo__activity_send_email model. Can we update this field in all other models where it is created (for example it also occurs in stg_marketo__activity_email_bounced? Additionally, we will need to update the yml definitions similarly where we update it.
Once those updates are applied, can you test that this branch works with the downstream dbt_marketo package. Since this is a patch release, we won't want to accidentally cut a release that can have downstream failures. Let me know if you have any questions.

Thanks for catching that @fivetran-joemarkiewicz! I've updated email_send_id in the remaining stg models/ checked for the ones being used in the downstream joins. Ymls updated. Following that, downstream package works


ci: Fix cc-proxy upstart service

According to latest proxy changes, we cannot use glog flags anymore. Instead we have to call "./cc-proxy --log debug" if we want all debug traces to be provided by the proxy.

Coverage remained the same at 34.322% when pulling d4819413c611111478f69fab62962d11dc43ed92 on sboeuf/fix_semaphore into b824216ef8181e7dd95e320ea45a8accd4d15c5e on master.

@jodh-intel @devimc please review and merge it so that we can fix the build asap. Thanks!

lgtm

lgtm


When will all the code be released?

Thanks for your great work!
BTW, there is nothing except Readme.md on this repository.
Is there a specific date when all codes will be released?

Will release by May. Reorganizing the code now.

Thank you for checking out

@haleqiu
I got it. Thanks for your reply. 👍

sorry for being late on the reorganizing. Will release the data first. If you want to access the beta version, feel free to contact me through email.

@haleqiu
Thanks for your reply.
The code is not urgently needed, so I will check it when it is committed to GitHub.  :)


Implement attribute to disallow deserialization of struct with named fields from sequence

Fixes #1587

[ ] Review code

[ ] Support in_place deserialization?

[ ] Decide on attribute name
[ ] Document new attribute

Documentation probably needs to be added to https://github.com/serde-rs/serde-rs.github.io, anywhere else?

I would think, that we should deny deserialization of maps from sequences (at least by default, but I prefer at all). It is responsibility of a deserializer to call the correct Visitor method to deserialize the type. If deserialize_struct / deserialize_map was requested, and the data type stores only field values in form of sequence, it does not mean that deserializer should call visit_seq. visit_seq is intended to provide sequence and deserializer should not expect that map types could be constructed from it. Instead, the deserializer should provide a compatible MapAccess implementation, that could return correct keys from existing data.
The important point that should be explicitly stressed is that this MapAccess implementation should not try to use fields data to decide what key you should return. You can think that it would be a great idea to return fields[0], fields[1] and so on for keys, that that's not. It is worst idea, because of two problems:

serde conversion mechanisms can change calls of deserialize_struct to calls of deserialize_map (in case of flatten structs);
the fields argument of a deserialize_struct has no guaranties that it contains fields of a struct in order of declaration, and moreover, (in the last serde versions?) it also contains field aliases (i.e. its length even does not reflect the number of fields in a struct).

Fortunately, map keys deserialized using internally created special enums each variant of which represents a field and they can be deserialized from numbers 0, 1, 2 in the order of declaration. Aliases exists only for symbolic names, so each number uniquely represent a field. Moreover, this enum is deserialized by requesting deserialize_identifier, so the deserializer implementation could (and probably must) use different rules from usual to provide data to Visitor::visit_u64 method.
So we need several fixes in various serde crates:

serde_derive should stop to generate visit_seq for structs
various crates for binary formats should stop to call Visitor::visit_seq when deserialize_struct / deserialize_map was requested. Instead they should call Visitor::visit_map and deserialize keys using special internal deserializer for keys
serde_json and serde_yaml probably shouldn't do anything

In the summary:

it is responsibility of a Visitor to return errors. Deserializers should avoid to return they own errors, they should instead call most appropriate Visitor method, which would return an error
it is responsibility of a Deserializer to perform type conversions. For example, in XML is no difference in syntax between numbers or strings, so the XML deserializer will perform conversion when number was requested. That means, that result of deserialize_any can be different from result of deserialize_u32 and that is normal. JSON, for example, has a different syntax for strings and numbers and it MUST NOT parse strings into numbers
it is responsibility of a type to implement only those of Visitor methods that describes it much closely. They should implement the minimal subset to be as much specific as possible. It shouldn't to do conversions from one type to another (such as sequences to maps or strings to numbers). A special types could do such conversions, but that should be done purposely, and not by an automatic derive from serde_derive

Some observations for crates from main serde page:

Status
Format
Links

:warning:
JSON
Incorrectly uses visit_seq when deserialize_struct was requested

:warning:
postcard
Incorrectly uses visit_seq when deserialize_struct was requested

:white_check_mark:
CBOR
uses visit_map

:white_check_mark:
YAML
uses visit_map

:white_check_mark:
Msgpack
uses visit_map (deserialize_map / deserialize_struct forwarded into deserialize_any)

:white_check_mark:
TOML
uses visit_map (deserialize_map / deserialize_struct forwarded into deserialize_any)

:warning:
Pickle
can use visit_seq (deserialize_map / deserialize_struct forwarded into deserialize_any)

:white_check_mark:
RON
uses visit_map

:warning:
BSON
can use visit_seq (deserialize_map / deserialize_struct forwarded into deserialize_any)

:white_check_mark:
Avro
uses visit_map

:warning:
JSON5
can use visit_seq (deserialize_map / deserialize_struct forwarded into deserialize_any)

:white_check_mark:
URL
uses visit_map

:white_check_mark:
Envy
uses visit_map (via serde's MapDeserializer)

:white_check_mark:
Envy Store
delegates deserialization to Envy

:white_check_mark:
S-expressions
uses visit_map

:warning:
DBUS
can use visit_seq

:warning:
FlexBuffers
can use visit_seq

:white_check_mark:
Bencode
uses visit_map

:white_check_mark:
Token streams
uses visit_map

:white_check_mark:
DynamoDB Items
uses visit_map (deserialize_struct forwarded into deserialize_map)

:white_check_mark:
Hjson
uses visit_map

:warning:
CSV
can use visit_seq

serde_derive should stop to generate visit_seq for structs

I created a new branch and PR which should implement this: #2640
But since this would be a breaking change, an attribute as solution for version 1 still makes sense in my opinion. One could maybe display a deprecation warning when Deserialize is derived without that attribute?


Minor: Safari: banner videos not displaying

With the exception of the top banner, videos do not seem to play within banner elements further down the homepage when browsing the site on Safari.
Listed as a 'bug', it's more 'unexpected behaviour', as the fallback is working and there doesn't seem to be any effect on functionality.
Browser: Safari Version 11.0.1 (13604.3.5)
Device: MacBook Pro (Retina 13-inch)
OS: 10.13.1
URL: https://stories.mplus.org.hk/en/
Banner video reverts to still-image backup (with the exception of the top element):

This is apparently a 'feature' of Safari on High Sierra. The intention is to prevent video spam/adverts but obviously this negatively affects websites using videos as animated images, etc. Unfortunately not much we can do on this one.

Oh well. No worries—closing.


Add closeOnSubmit property to modals

Description

Creates a new property control for Modal widgets. closeOnSubmit.

This property (default true) configures if the modal must close on the submit button click.

Fixes #33240
Automation
/ok-to-test<EMAIL_ADDRESS>:mag: Cypress test results

[!TIP]
🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/9268730121
Commit: dc2781857ddf64bdb16e75d609a1d7f352f2e3fd
Cypress dashboard url: Click here!

Communication
Should the DevRel and Marketing teams inform users about this change?

[ ] Yes
[x] No

Thanks @marks0351.
@KelvinOm I'd like for you to take a look at the changes in the Modal components and stories. I'm not sure how we write tests for these components today. I've forced the value of closeOnSubmit to be true in all cases, so nothing should break. But, I'd like to know if I need to create any additional tests or stories to showcase this feature.


Global $wp_query object

Is there a 'Timber' way for accessing the global $wp_query object?
I have a taxonomy archive taxonomy-resourcetype}.php  and want to be able to see what term resourcetype is.
I can do this with:
global $wp_query;
$archive_term_name = $wp_query->query_vars['resourcetype'];

but is there a better way?

If you want to find out what the title of an archive page should be, you could use the WP function get_the_archive_title(). Add that to the $context in your taxonomy-resourcetype.php and you'll be all set.

Timber::get_context() injects the entire $wp_query object into $context['posts']->_query, but this is private. Typically $context['posts'] will get overwritten by $context['posts']  = Timber::get_posts(), but in any case as _query is private, it can't be accessed.
Should I just add the query_var portion of the $wp_query object to $context myself? Really, at this point, it's more about style and using Timber idiomatically - I know I can get this data in a number of different ways, just trying to work out the most elegant.

It seems wordpress does have built in functions to grab this data, as @djmadeira - I'm not sure it would be beneficial to add wrappers around those, can't see much benefit myself.
I think @djmadeira is the best solution here, I wouldn't access $wp_query directly


Enable / Disable Motion detecion always update channel 0 on xvr

Version of the custom_component
0.9.39
Configuration

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
ffmpeg:
logger:
  default: info
  logs:
    custom_components.dahua: debug

Describe the bug
I'm using the integration with an xvr adding multiple channels (one for each camara)

let say I add channel 0 (camara 1) and channel 1 (Camara 2)
I disable smart motion detection (or motion detecion) for channel 1 (Camara 2) on HA
Checking on the NVR, the disabled camara is "Camara 1"
No matter for wich camara I disable / enable motion detecion, the one that is disabled is channel 0 (Camara 1)

Debug log
No log changes when changing this option, still I copy the log

2022-03-06 22:09:41 DEBUG (MainThread) [custom_components.dahua] Events received from <IP_ADDRESS> on channel 1: [{'Code': 'VideoMotion', 'action': 'Start', 'index': '1', 'data': {'SmartMotionEnable': False}}]
2022-03-06 22:09:41 DEBUG (MainThread) [custom_components.dahua] Events received from <IP_ADDRESS> on channel 0: [{'Code': 'VideoMotion', 'action': 'Start', 'index': '1', 'data': {'SmartMotionEnable': False}}]
2022-03-06 22:09:51 WARNING (Thread-8) [pychromecast.socket_client] [Galería(<IP_ADDRESS>):8009] Heartbeat timeout, resetting connection
2022-03-06 22:09:51 INFO (Thread-8) [pychromecast.controllers] Receiver:channel_disconnected
2022-03-06 22:09:52 DEBUG (MainThread) [custom_components.dahua] ClientError fetching information from https://<IP_ADDRESS>:443/cgi-bin/configManager.cgi?action=getConfig&name=Lighting[0][0]
2022-03-06 22:09:52 DEBUG (MainThread) [custom_components.dahua] Finished fetching dahua data in 1.562 seconds (success: True)
2022-03-06 22:09:55 DEBUG (MainThread) [custom_components.dahua] Events received from <IP_ADDRESS> on channel 1: [{'Code': 'VideoMotion', 'action': 'Stop', 'index': '2', 'data': {'SmartMotionEnable': True}}]
2022-03-06 22:09:55 DEBUG (MainThread) [custom_components.dahua] Events received from <IP_ADDRESS> on channel 0: [{'Code': 'VideoMotion', 'action': 'Stop', 'index': '2', 'data': {'SmartMotionEnable': True}}]
2022-03-06 22:09:56 ERROR (Thread-8) [pychromecast.socket_client] [Galería([::ffff:c0a8:ea]):8009] Failed to connect to service ServiceInfo(type='host', data=('[::ffff:c0a8:ea]', 8009)), retrying in 5.0s
2022-03-06 22:09:57 INFO (Thread-8) [pychromecast.socket_client] [Galería(<IP_ADDRESS>):8009] Connection reestablished!
2022-03-06 22:10:02 DEBUG (MainThread) [custom_components.dahua] Events received from <IP_ADDRESS> on channel 1: [{'Code': 'VideoMotion', 'action': 'Start', 'index': '4', 'data': {'SmartMotionEnable': False}}]
2022-03-06 22:10:02 DEBUG (MainThread) [custom_components.dahua] Events received from <IP_ADDRESS> on channel 0: [{'Code': 'VideoMotion', 'action': 'Start', 'index': '4', 'data': {'SmartMotionEnable': False}}]
2022-03-06 22:10:06 DEBUG (MainThread) [custom_components.dahua] Events received from <IP_ADDRESS> on channel 1: [{'Code': 'VideoMotion', 'action': 'Stop', 'index': '2', 'data': {'SmartMotionEnable': True}}]
2022-03-06 22:10:06 DEBUG (MainThread) [custom_components.dahua] Events received from <IP_ADDRESS> on channel 0: [{'Code': 'VideoMotion', 'action': 'Stop', 'index': '2', 'data': {'SmartMotionEnable': True}}]
2022-03-06 22:10:09 DEBUG (MainThread) [custom_components.dahua] Events received from <IP_ADDRESS> on channel 1: [{'Code': 'VideoMotion', 'action': 'Stop', 'index': '4', 'data': {'SmartMotionEnable': False}}]
2022-03-06 22:10:09 DEBUG (MainThread) [custom_components.dahua] Events received from <IP_ADDRESS> on channel 0: [{'Code': 'VideoMotion', 'action': 'Stop', 'index': '4', 'data': {'SmartMotionEnable': False}}]
2022-03-06 22:10:09 DEBUG (MainThread) [custom_components.dahua] ClientError fetching information from https://<IP_ADDRESS>:443/cgi-bin/configManager.cgi?action=getConfig&name=Lighting[1][0]
2022-03-06 22:10:09 DEBUG (MainThread) [custom_components.dahua] Finished fetching dahua data in 0.706 seconds (success: True)
2022-03-06 22:10:10 DEBUG (MainThread) [custom_components.dahua] Events received from <IP_ADDRESS> on channel 1: [{'Code': 'VideoMotion', 'action': 'Stop', 'index': '1', 'data': {'SmartMotionEnable': False}}]
2022-03-06 22:10:10 DEBUG (MainThread) [custom_components.dahua] Events received from <IP_ADDRESS> on channel 0: [{'Code': 'VideoMotion', 'action': 'Stop', 'index': '1', 'data': {'SmartMotionEnable': False}}]
2022-03-06 22:10:10 DEBUG (MainThread) [custom_components.dahua] Events received from <IP_ADDRESS> on channel 1: [{'Code': 'VideoMotion', 'action': 'Start', 'index': '1', 'data': {'SmartMotionEnable': False}}]
2022-03-06 22:10:10 DEBUG (MainThread) [custom_components.dahua] Events received from <IP_ADDRESS> on channel 0: [{'Code': 'VideoMotion', 'action': 'Start', 'index': '1', 'data': {'SmartMotionEnable': False}}]

I too have this issue.
The code was never made to support camera indexes more than 0. I'm trying to work through the code to make this work, but I'm not a good coder, so not having lots of luck.
@rroller I know you don't have much time, but would you be able to have a look at the smart motion detection part. What do you make of it never being designed to support camera indexes.


firebase database plugin keepSynced function doesn't work, throws error

Steps to Reproduce

Use an android device
Use firebase_database: "^0.0.7"
Call keepSynced, see error

Logs
E/flutter (30887): [ERROR:../../lib/tonic/logging/dart_error.cc(16)] Unhandled exception:
E/flutter (30887): MissingPluginException(No implementation found for method Query#keepSynced on channel plugins.flutter.io/firebase_database)
E/flutter (30887): #0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:153:7)
E/flutter (30887): <asynchronous suspension>
E/flutter (30887): #1      Query.keepSynced (package:firebase_database/src/query.dart:170:31)
E/flutter (30887): #2      new NewsFeedManager._internal (package:kingkong/managers/news_feed_manager.dart:52:25)
E/flutter (30887): #3      NewsFeedManager._newsFeedManager (package:kingkong/managers/news_feed_manager.dart:45:11)
E/flutter (30887): #4      NewsFeedManager._newsFeedManager (package:kingkong/managers/news_feed_manager.dart:44:32)
E/flutter (30887): #5      new NewsFeedManager (package:kingkong/managers/news_feed_manager.dart:48:12)
E/flutter (30887): #6      new _NewsFeedComponentState (package:kingkong/components/newsfeed/news_feed_component.dart:29:41)
E/flutter (30887): #7      new NewsFeedComponent (package:kingkong/components/newsfeed/news_feed_component.dart:19:46)
E/flutter (30887): #8      new _MainComponentState (package:kingkong/components/main/main_component.dart:38:31)
E/flutter (30887): #9      new MainComponent (package:kingkonf/components/main/main_component.dart:20:42)
E/flutter (30887): #10     new AppState (package:kingkong/components/app/app_state.dart:22:44)
E/flutter (30887): #11     App.createState (package:kingkong/components/app/app.dart:15:16)
E/flutter (30887): #12     new StatefulElement (package:flutter/src/widgets/framework.dart:3461:23)
E/flutter (30887): #13     StatefulWidget.createElement (package:flutter/src/widgets/framework.dart:734:42)
E/flutter (30887): #14     Element.inflateWidget (package:flutter/src/widgets/framework.dart:2748:40)
E/flutter (30887): #15     Element.updateChild (package:flutter/src/widgets/framework.dart:2553:12)
E/flutter (30887): #16     RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:732:16)
E/flutter (30887): #17     RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:703:5)
E/flutter (30887): #18     RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:649:17)
E/flutter (30887): #19     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2122:19)
E/flutter (30887): #20     RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:648:13)
E/flutter (30887): #21     BindingBase&SchedulerBinding&GestureBinding&ServicesBinding&RendererBinding&WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:543:7)
E/flutter (30887): #22     runApp (package:flutter/src/widgets/binding.dart:581:7)
E/flutter (30887): #23     main (/data/user/0/com.kingkong.app/cache/kingkong-flutterV2MhKb/kingkong-flutter/lib/main.dart:11:3)
E/flutter (30887): #24     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:265)
E/flutter (30887): #25     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:151)

Flutter Doctor
[✓] Flutter (on Mac OS X 10.12.4 16E195, locale en-US, channel master)
• Flutter at /Users/KG/Developer/Flutter/flutter
• Framework revision<PHONE_NUMBER> (2 days ago), 2017-06-16 10:05:18 -0700
• Engine revision 784e975672
• Tools Dart version 1.24.0-dev.6.7
[✓] Android toolchain - develop for Android devices (Android SDK 26.0.0)
• Android SDK at /Users/KG/Library/Android/sdk
• Platform android-26, build-tools 26.0.0
• ANDROID_HOME = /Users/KG/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] iOS toolchain - develop for iOS devices (Xcode 8.3.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 8.3.3, Build version 8E3004b
• ios-deploy 1.9.1
• CocoaPods version 1.2.1
[✓] Android Studio (version 2.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Gradle version 3.2
• Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
[✓] IntelliJ IDEA Community Edition (version 2017.1.4)
• Flutter plugin version 14.0
• Dart plugin version 171.4694.29
[✓] Connected devices
• Android SDK built for x86 • emulator-5554                            • android-x86 • Android 7.0 (API 24) (emulator)
• Nexus 5X                  • 0106bcc49c8ca3eb                         • android-arm • Android 7.1.2 (API 25)
• Kevin's iPhone            • c95c86bdc3aac565adb373de3dc2dbedcdecc900 • ios         • iOS 10.3.1 (14E304)
• iPhone 5s                 • AB2FA880-541C-49D7-BDB2-9720261982A3     • ios         • iOS 10.3 (simulator)

Looks like the Android implementation of this feature is missing?  @collinjackson

Fixed in flutter/plugins#144 (version 0.0.8)

What's the proper way to implement the keepSync property on a Flutter Firebase query or reference?

@CharlesCleveJr documentation for keepSynced is here:
https://www.dartdocs.org/documentation/firebase_database/0.1.0/firebase_database/Query/keepSynced.html
Please open a new issue if it isn't working for you.

@KevinTheGray
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/994. Any further collaboration will be done there.


Improve feature info window

This PR introduces several improvements to the feature info window including:

Display txt, code along with id from feature attributes in feature info window
Use id from attributes to construct the link to open feature admin editing view
Query all visible layers for feature info

Refs: LIIK-202

Codecov Report

Merging #162 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #162   +/-   ##
=======================================
  Coverage   98.02%   98.02%
=======================================
  Files         127      127
  Lines        7703     7703
  Branches      312      312
=======================================
  Hits         7551     7551
  Misses        126      126
  Partials       26       26

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 97df69a...d4e48a6. Read the comment docs.


Vibration support

I need a better feedback in my game for mobile version, but I didn't found a way to make the phone vibrate using vanilla Godot.
There is currently a module for Android: https://github.com/literaldumb/GodotVibrate
I think something that simple should be included in the engine.

it could be insteresting to support it on PC too since some gamepad have a rumble motor too.

@SuperUserNameMan thanks for reminding me.
I have experimental gamepad rumble code sitting on my harddisk for several months now... need(ed) some motivation to finish it ^^

I found a post about a vibration API, apparently it doesn't work on PS4 controllers https://godotengine.org/qa/15898/ps4-controller-vibration-not-working (does it mean vibration was implemented at some point?)

Yeah, vibration for gamepads was added but not for phones

Hi, I've seen that in version 3.0 has not included part of the vibration in both desktop, platform and mobile games. I do not know why since other engines do have them and apart it does not allow to generate the kinesthetic in the games and that can ruin a correct immersion of the player

Vibration is an important part of modern games. All game engines and frameworks have the ability to control vibration. So why can not this Godot?

Vibration is an important part of modern games. All game engines and frameworks have the ability to control vibration. So why can not this Godot?

Because no contributor implemented it so far :)

Sounds like @VitaZheltyakov volunteered to implement it.  ^.^
/me would like this functionality as well

+1 for making it work! It'd be great for mobile games!

@OvermindDL1 , I can not implement this functionality, because I do not know Java.

@VitaZheltyakov Good thing Java is one of the most well documented languages of any language out (it needed it...).  ^.^
Honestly though, I'd do this (I'd do a lot) if I had the time, but I do not...  :-(

I think I can do that for mobile (Android at least). My question is, is it supposed to be called using the function start_joy_vibration as stated in #21870 or we need to expose a new function just for mobile?

Unity support phone vibration.
UE support phone vibration.
Construct support phone vibration.
Phaser support phone vibration.
Cocos2d support phone vibration.
Game Maker support phone vibration.
Corona support phone vibration.
Behold support phone vibration.
Godot not support phone vibration.
Maybe it's time to add this feature to the engine?

@VitaZheltyakov we are waiting for your PR then ;)

@VitaZheltyakov is right. The only Godot that does not have phone vibration support

Godot is an open-source project. So I think if any of us really need it, we can implement it and then make a PR

I create a vibration module for android for godot 3.1. Want to know if its a still needed feature

@Michael-Jalloh So far, it seems to be a desired feature. It'd make sense to have this in core, without requiring a third-party module. Feel free to link to your module here still :slightly_smiling_face:

Will clean it up and try and create a readme for it. The upload it to github

Android vibrate module for godot 3.1, any bugs lemme know
https://github.com/Michael-Jalloh/Vibrate

You must add this module to the main assembly as a module Google IAP

Will try and make a PR this week or next

it's about time to close this pretty long waited issue. :smile:
hang on till merged.


Table 85 "Acc. Schedule Line", Filed 16 "Show": Change to Enum

We like to request the following change:
Object: Table "Acc. Schedule Line"
Field: field(16; "Show")
Reason: Please change the type to an enum, to make it extensible so we can add our custom types.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Article.parse() not parsing entire article body correctly from HTML!

Overview
When I download and parse an article, I'll include one here from CNN, it stops at the "Read More" in the HTML and doesn't parse the entire body.  Similarly, it includes the highlights as part of the text, which I don't think it should do.
I'm fairly certain I'm not doing anything wrong, and this happens in both the Python 2 and Python 3 versions.
I've also tested it on two different systems (macOS on my laptop) from different locations and IP addresses, and an Ubuntu server, on yet a different IP.  So I'm fairly certain it's got nothing to do with that.
How to reproduce:
>> from newspaper import Article

>> a = Article("http://www.cnn.com/2017/12/06/politics/al-franken-replacement/index.html")
>> a.download()
>> a.parse()

At this point, it prints out the following:

>> print(a.text)

Story highlights Democratic Gov. Mark Dayton would appoint a replacement if Franken resigns

That would set up a special election in November 2018

(CNN) Should Sen. Al Franken decide to step down, his resignation would set up a gubernatorial appointment and open up a new Senate battleground in 2018.

Minnesota Gov. Mark Dayton does not plan to get ahead of Franken's scheduled announcement Thursday, a senior Minnesota Democrat close to Dayton told CNN, but the governor's "expectation and hope is for Franken to resign."

Should Franken step down, top names to replace him are Democratic Reps. Keith Ellison and Tim Walz, this official said. Another leading contender will be Lt. Gov. Tina Smith, a former chief of staff to Dayton.

"Don't overlook Lt. Governor Smith," the official said. "She could be the perfect choice."

Dayton, a former US senator, might also tap his former colleagues for advice in his pick, including Senate Minority Leader Chuck Schumer. "There will be an open line of communication," said the senior Democratic strategist.

Read More

However, using the demo here:
http://newspaper-demo.herokuapp.com/
If you paste in the article:
http://www.cnn.com/2017/12/06/politics/al-franken-replacement/index.html
(here's the activated link: http://newspaper-demo.herokuapp.com/articles/show?url_to_clean=http%3A%2F%2Fwww.cnn.com%2F2017%2F12%2F06%2Fpolitics%2Fal-franken-replacement%2Findex.html )
It parses the article correctly and displays the text I would expect.  (I won't paste it here but you can try it yourself.)
Resolution
What am I doing wrong?  The fact that this is consistent on two systems across multiple OS and python versions from different IP's indicates to me I must either have a broken requirement or that  I'm doing something incorrectly.
In [9]: try:
   ...:     html_string = ElementTree.tostring(article.clean_top_node)
   ...: except:
   ...:     html_string = "Error converting html to string."
   ...:

In [10]: html_string
Out[10]: 'Error converting html to string.'

EDIT
I downloaded and ran the demo on my laptop locally to test what's happening differently, and I'm still getting the same result as when I do it inside ipython.  What's interesting is that the Article HTML at the bottom of the demo page on the official Heroku page as well as what is running on my local demo are quite different.  Here's what's on mine:
b'

Story highlights

Democratic Gov. Mark Dayton

and on the official demo:

Minnesota Gov. Mark Dayton

So it almost looks like an incongruency with how the HTML is being parsed.  Could that be a tooling issue or a library issue of some kind?  I just uninstalled and rerified on OS X that I have all the proper libraries installed/updated and I uninstalled/reinstalled newspaper3k, still the same result.
I really need to get this fixed as I'm trying to build a dataset for machine learning that I just realized might not be working properly.  Help would be amazing.
Thanks!
/h

UPDATE
So, I re-cloned the demo locally, and created a brand new virtual environment for it and installed all the requirements exactly as they appear in requirements.txt (minus the virtualenv stuff) and low and behold, it works exactly like I expect-- in line with the live demo.
So-- there seems to be some library funkiness that breaks when you don't use the EXACT requirements in that demo (that is almost 3 years old and using the old python2 implementation)
Just FYI.  The latest version doesn't parse properly on either OS X or Ubuntu with latest libraries as installed when doing a pip install newspaper or pip3 install newspaper3k.
Please let me know if you have any idea what the solution might be.  For now, I'll just isolate this in a virtual environment and call it remotely (not ideal.)
I can get you whatever info you might like in terms of what the env is for when it doesn't work versus when it does.  I also see a few other comments in the issues about people seeing the same behavior as me where things don't parse correctly.
I'm here to help.

UPDATE #2
Installing newspaper=0.0.8 if using python2 seems to be the BEST option that I've found.  If you use --upgrade it'll upgrade you to all the latest libraries (the requirements don't list exact versions) and it all works.  Just FYI.
(Still aren't thrilled about using an old, old version-- not sure if it's got all the best multithreading for massive downloads, etc, but I need the text to extract properly.)

Do we know if there is a fix for this in Python3? I'm having the same issue when using newspaper3k.

This issue is still present in python3 version of this library.
I have reproduced it on CNN website

Bump

Bump! Any word on this? Still seems to be an issue and I can't figure out a workaround. Seems to happen at random for cnn sites.


ARROW-2626: [Python] Add column name to exception message when writing pandas df fails

Goal is to make debugging easier - it's now possible to see which column failed.
One quick question, I'm not sure if we need to be catching both ArrowInvalid and ArrowTypeError - I think this used to throw ArrowInvalid  but now only throws ArrowTypeError. Thoughts?

Codecov Report

Merging #2075 into master will decrease coverage by 0.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2075      +/-   ##
==========================================
- Coverage   86.33%   86.31%   -0.02%
==========================================
  Files         242      230      -12
  Lines       41101    40217     -884
==========================================
- Hits        35485    34714     -771
+ Misses       5616     5503     -113

Impacted Files
Coverage Δ

python/pyarrow/tests/test_convert_pandas.py
94.8% <100%> (+0.01%)
:arrow_up:

python/pyarrow/pandas_compat.py
97.85% <100%> (+0.02%)
:arrow_up:

rust/src/list.rs

rust/src/record_batch.rs

rust/src/builder.rs

rust/src/error.rs

rust/src/datatypes.rs

rust/src/memory.rs

rust/src/bitmap.rs

rust/src/array.rs

... and 4 more

Continue to review full report at Codecov.

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

See https://issues.apache.org/jira/browse/ARROW-2702


Need an example on how to do this with method syntax

There is no example unfortunately on how to do left outer join LINQ with method syntax.
This documantation page says that every LINQ expression can be converted to method syntax, so it should be possible:
https://docs.microsoft.com/en-us/dotnet/csharp/linq/#:~:text=Any query that can be expressed by using query syntax can also be expressed by using method syntax

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

ID: d433265d-15f4-bd2e-a3d1-8148a3968783
Version Independent ID: 75d2c893-1d07-f836-62f1-e767edfcebac
Content: Perform left outer joins (LINQ in C#)
Content Source: docs/csharp/linq/perform-left-outer-joins.md
Product: dotnet-csharp
Technology: csharp-linq
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thanks @alex47
That is a great suggestion. We'll add this when we next update this article.

Adding this to the current sprint, as I'll be updating this article.


move flow pic up to the smart-contract section

It looks better, provides more information at first look
Signed-off-by: revol.cai<EMAIL_ADDRESS>

Do not merge!

@hainesc


datetime recognizer should return simple JavaScript objects and arrays

Current the result of parse appears to contain the new JavaScript data structures, things like Set and Map.
It would be better to restrict this small result to simple JavaScript object and array structures. This would make them easier to work with: the developer could for example trivially use JSON.stringify and then use simple language operators . and []

Sounds good!
We'll submit a new PR shortly so the DateTime Recognizer return simple objects instead of Sets and Maps.
Regards

Thanks - much easier to deal with for the caller. One key point is that the data structure coming back from the recognizer should be exactly the same as the data structure we get from back from a call to LUIS.
Specifically when we call JSON.stringify(parseResult) it should be the same string that I would have otherwise got on the wire.
So that might be useful for some ad-hoc testing - to ensure we are consistent. (Note I'm not suggesting test cases need to call out to LUIS.)
While you are looking into this I also noticed a similar bug this time with Date. The start and end values in a resolution are Date objects when the type is daterange. This is inconsistent with the value you might get as the resolution for, say, a date.
However datetimerange does comes back with start and end as strings. So the bug here is on daterange - it should use strings not Date.

@johnataylor, in general I agree with you. The representation in .NET and Javascript should be the same when turned into json and it's highly preferable to return simple objects.
But there may be small differences to the actual representation in LUIS as LUIS is only one consumer of the recognizers and we can't change format here without taking into account backwards compat to others.
Regarding the start/end comment, that's in javascript, right?


Support append and prepend commands

The append command should be supported in both the text and binary protocols. This is part of the subset of commands used at Netflix which will be supported out of the gate. This implies that the external protocols support "append" in their form (text or binary) and that the local handlers are able to perform an append operation.

Looks like we finally have an internal use case that would require append. I'm moving this to medium priority for now. That use case is a bit off in the future, so not a rush for right now.

Will be implementing the prepend command as well, since I'll be touching all the code for adding a command anyway.

The branch is in pretty good shape, but it's not being merged yet. Leaving for now.


replace ShouldBindWith with ShouldBindJSON

Signed-off-by: Bo-Yi Wu<EMAIL_ADDRESS>

Codecov Report

Merging #21 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #21   +/-   ##
=======================================
  Coverage   13.26%   13.26%
=======================================
  Files           6        6
  Lines         196      196
=======================================
  Hits           26       26
  Misses        170      170

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 fc79d65...9435494. Read the comment docs.


Brightness level goes to 0% when Home App is opened.

is the issue still being worked on?
https://github.com/iRayanKhan/homebridge-tuya-platform/issues/8

Hi, sorry for the delayed responses.
So the schema is details about the device like brightness, codes, commands, etc. I can provide instructions later tonight.

Yes a guide would be great.  I don't know where I would get the information from.

hello with the homebride update 1.0.0 the function of the lamp has changed.  the% display was completely gone.  I then tested the setting again.  in the end the adjustment of "dpBrightness": 3 solved the problem.


Bindings for Math.pow, round, sign, sin, sinh, sqrt, tan, tanh and trunc

Only comment I have is that it would be good if all test cases included taking decimal numbers as well so that it's covered in the tests. Otherwise 👍

Done, at least for the tests added in this PR.


generateNormals overrides kmcOptions

I have a model that has 'CONSTANT' for  kmcOptions.technique, but it looks like the generateNormals stage always switches it over to BLINN.

No new normals are generated


Autocomplete textbox content is not cleared when the clear button is clicked

Overview of the problem
Oruga version: 0.9.2
Vuejs version: 3.5.13
OS/Browser: Firefox 133
Description
The contents of an autocomplete box should be cleared when clearable is enabled and the clear button is clicked.
https://github.com/user-attachments/assets/0c634093-f0c6-4e42-97c6-2c448324b665
Sandbox
Steps to reproduce

Create autocomplete box that is clearable

<o-autocomplete
      v-model="selected"
      clearable
      open-on-focus
      :options="options"
    >
    </o-autocomplete>

Select an item

Click on the clear button.

Expected behaviour
The selected variable should be cleared and the textbox should also be cleared.
Actual behaviour
Only the  selected variable is cleared.

Thanks for the quick fix!

Will be released soon :)


Want to switch to fuse

Describe the feature
WFSim is getting abandoned. Need to switch to fuse for better maintenance.
Expected behavior
Make an imaginary example of how the feature would work.
YOUR (PSEUDO) CODE GOES HERE

Proposed implementation
Any rough idea how would you implement this feature?
Potential risk
Will there be any risk after adding this feature?
All italic comments can be removed from this template.

Modify contexts.py
Redo ChunkCsvInput
Redo PMTResponseAndDAQ
Redo RecordsTruth


Inverse scroll triggers next function on scroll down

https://codesandbox.io/s/trusting-frost-q6wjc?file=/src/index.js
next function is triggered due to target.scrollTop === 0 condition in line 257 https://github.com/ankeetmaini/react-infinite-scroll-component/blob/9e5ac46ca55e94543b3ca4a1276a2d7ab96a8af5/src/index.tsx#L257 when you scroll to bottom.
When you use inverse scroll and scroll up to the page, target.scrollTop is negative value. I think target.scrollTop === 0 is not the right condition for the check, I should be something like target.scrollHeight + target.scrollTop === 0

Same problem here

Same problem here

You found any fix for this?

I have some problem, OMG the package has weekly Downloads 114 055, and fix the problem is so ease just add corrections for method isElementAtTop
  isElementAtTop(target: HTMLElement, scrollThreshold: string | number = 0.8) {
    const isInverseMode = this.props.inverse;
    const clientHeight =
      target === document.body || target === document.documentElement
        ? window.screen.availHeight
        : target.clientHeight;

    const threshold = parseThreshold(scrollThreshold);

    if (threshold.unit === ThresholdUnits.Pixel) {
      return (
        target.scrollTop <= threshold.value + clientHeight - target.scrollHeight + 1 ||
        (!isInverseMode && target.scrollTop === 0)
      );
    }

    return (
      target.scrollTop <=
        threshold.value / 100 + clientHeight - target.scrollHeight + 1 ||
      (!isInverseMode && target.scrollTop === 0)
    );
  }

any update?

Same problem.

Facing the same problem on version ^5.1.0 :disappointed:

@ankeetmaini I just opened a PR to fix this issue, please review it and merge it if everything is OK :pray:

Still have issues with the inverse scrolling, I copied the example from the main page of this repo and it doesn't work:
https://codesandbox.io/s/zealous-hellman-e6ug0
No trigger for fetching more items

@hanrok you are using an old version of react-infinite-scroll-component (4.1.0) in CodeSandbox example, try to upgrade to latest version (it should work after that) :wink:

@hanrok you are using an old version of react-infinite-scroll-component (4.1.0) in CodeSandbox example, try to upgrade to latest version (it should work after that) 😉

you are right.. shame on me.
Thanks!


Calling from controller

Is it possible to call this filter from the controller?
I have been trying this:
$filter('inArray')(data, { StatusInt: item.filter })
But not sure how to pass the parameters: filterBy:"StatusInt"

Not very sure what you're trying to achieve...
You use it like this:
$filter('inArray')(data,"StatusInt") where "data" (the first argument of this filter) is your array to match against, and "StatusInt" (second argument) is the property you want to match against the array.
It would be nice if you could provide more info about your problem.
 On Sunday, February 1, 2015 2:09 AM, bluee<EMAIL_ADDRESS>wrote:

Is it possible to call this filter from the controller?I have been trying this:
$filter('inArray')(data, { StatusInt: item.filter })But not sure how to pass the parameters: filterBy:"StatusInt"—
Reply to this email directly or view it on GitHub.

I'm just basically trying to run the $filter inArray from a controller than from a view. So I'm trying to achieve the same as in your example here on Github.


Update Composer to Allow PHP 8.0

Can you update your composer.json file to allow PHP 8?  Currently it won't install when using composer require but it runs perfectly fine with PHP 8 when manually added to a project.
Thanks,
Ben

Hey. Good idea, fixed as of v3 :+1:.


Testing: fixture to temporarily add certain utilities to binary path

How would this feature be useful?

Currently, with a package that requires compilation, tests that install it fail on macOS (such as regex dependency inside of black).
Additionally, it would be helpful to add git and other VCS tools so that we could test installing package specifications with VCS urls.
Describe the solution you'd like
The solution that @chrahunt mentioned (https://github.com/pipxproject/pipx/pull/298#issuecomment-568642820), quoted below:

Have a session-scoped fixture which creates a temporary directory
Populate the directory with symlinks to whitelisted build tools identified by shutil.which like gcc/clang
Depend on that fixture here, adding the temporary directory to PATH

Describe alternatives you've considered
Previously, we just added some paths to the bin path (see PR #269 to fix Issue #266) but this resulted in undesired side-effects and was removed (#298, #299 )

The trick would be how best to make this work on Windows, with no symlinks, and without requiring pywin32 as a new dependency (e.g. to make windows shortcuts).  A cheap way might be *.bat files?

Adding a note here that the reason we don't have access to the normal system path, is that currently tests/conftest.py removes all paths from the system PATH except the pipx app bin path, with the following line:
    monkeypatch.setenv("PATH", str(bin_dir))


Android TV can't play LAN video, android phone can play

No problem with local playback , but If you open a video on the LAN through the file manager, the following error will occur.

What file manager & device & OS version is that?

ES File Explorer & CHANGHONG Android TV & Android 8.0.0 API level 26 (kernel: Linux 4.9.44)
This is the version I use: ES File Explorer v<IP_ADDRESS>.0 Derrin.zip
Google Cloud Drive: ES File Explorer v<IP_ADDRESS>.0 Derrin.apk

Trying the latest version of ES File Explorer version <IP_ADDRESS>.1 from apkmirror on my phone and it works just fine with SMB. Just like with any other file explorer, as long it runs in the background.

I suggest using https://github.com/nova-video-player/aos-AVP if LAN play is important to you you can also configure Nova to use Just as an external player. Or you may want to try other file managers with better SMB support in conjunction with Just.

Thanks a lot, after I set ES File Explorer to run in the background, the above error does not appear again.
Compared with SMB, I prefer to use ftp, the speed of ftp is obviously faster than that of SMB.


[Format] Add VariableShapeTensor canonical extension type definition

Describe the enhancement requested
We want to add a canonical extension type definition for arrays containing tensors with variable shapes.
This is to track the documentation change. For actual discussion see #24868 and #37166.
Component(s)
Format

Closing in favor of #37992


Publish values to MQTT in parallel

Hi @tillsteinbach
as mentioned in the Going Electric Forum already, it would be great to have the opportunity to publish the fetched values to a central MQTT service in parallel, just as WeConnect-mqtt is doing it already. This would give users the possibility to use the data in other solutions, in my example i'd like to integrate the data into Home Assistant (my Smarthome solution), without having to gather the data twice from the Volkswagen API, which would result in 2x service calls on VW's end.
It would be great to see this implemented in the future.
Apart from that, this looks like a super-cool solution, i just installed it and i'm eager to drive my ID.4 for the next time for seeing the results in the dashboard ;)
Thanks Torben

Wohoo, that's great news! Thanks for implementing, looking forward to the next release!

Now supported with 0.20.0

Hi @tillsteinbach, thanks a lot! I updated to the latest version, but i can't figure out how to configure this feature in VWsFriend. The documentation leads to the weconnect-mqtt documentation, which states that the commandline needs to be adjusted. But how can this be achieved in the containerized approach VWsFriend is using?
As far as i understand the setup, probably additional ENV variables need to be defined? If so, is there any documentation on them?
Thanks Torben

Just use the same command line options as in WeConnect-mqtt and add those to ADDITIONAL_PARAMETERS

Just use the same command line options as in WeConnect-mqtt and add those to ADDITIONAL_PARAMETERS

Can you add this information to your README.md? I was also searching where to put this parameters.
And thanks for the MQTT support.

Done


Demo app not working in fire tv

Hi,
Demo app is not working in fire tv.
Also, In SearchFragment, the default android speech recognizer is not working in amazon fire os.
So, is there any way to disable speech/microphone icon in SearchFragment?

Hi @aravinds03 thanks for reporting this issue and your interest in this sample. The Leanback sample showcases a number of Android TV specific features that are unfortunately not supported by Amazon Fire TV at this time, such as Voice Search. This sample is designed to be run on Android platforms of API 21+ due to the use of new APIs like MediaSession meaning that until Fire TV supports API 21+ this sample will not work.

FYI: Fire TV now uses API 22 (Lollipop) features and the Android v17 Leanback Library.  Discussed here: https://developer.amazon.com/public/solutions/devices/fire-tv/docs/using-the-fire-tv-sdk-samples


Update Custom Installation Guide (Office LTSC 2024)

Hi!
The guide for custom configuration (https://gravesoft.dev/office_c2r_custom) currently mentions Office LTSC Professional Plus 2021 - Volume License, although Microsoft released Office LTSC 2024 in September.
Could you confirm if it’s safe to select Office LTSC Professional Plus 2024 - Volume License in the configuration (and later activate it with MAS tools), or if there are any caveats? If it's ok, could you update the guide to reflect this version update?

https://github.com/gravesoft/gravesoft.dev/commit/2a047746466c79e3f5ecdb165951d7b9e35b2beb
Done.


Ghostmeme API Key for Atlanta

The Atlanta HSCC team requests an API key for the Ghostmeme problem.

Hi! Have you been invited to the BDPA Slack? For security purposes, please DM me over Slack.

I have not been invited. I am the instructor/advisor to the Atlanta HSCC team

Use this link to join: https://join.slack.com/t/bdpa-org/shared_invite/zt-spe49qyp-9QStkywfhMeJchQST4YqIA. You can invite others as well, though this link will expire in about 15 minutes.


Rendering Duplicated on source modification when in debugging Angular Template with Material (2+)

I am working on template based angular project replacing bootstrap angular material 2: https://github.com/angular/material2.
For some reasons it seems that whenever I am modifying the content of the AppClient folder the the re-generation duplicate content with the previous render stacked below the new one.

I pushed a sample solution on a public repository, here: https://github.com/ehouarn-perret/EhouarnPerret.CSharp.AngularMaterial2
Screenshot of the issue: https://github.com/ehouarn-perret/EhouarnPerret.CSharp.AngularMaterial2/blob/master/Duplicated-rendering-issue-screenshot.png
Here are also below a short summary of the changes (Note 1) I brought to my solution in order to make it "work"(see Note 2) with material 2

Note 1: as expected more changes than what is actually given by: https://material.angular.io/guide/getting-started).
Note 2: """kind of""" ahem

In packages.json

dependencies section:

Add "@angular/material": "^2.0.0-beta.8",
Add "@angular/animations": "^4.2.5",
Add "@angular/cdk": "^2.0.0-beta.8",
Add "classlist.js": "^1.1.20150312",
Add "core-js": "^2.5.0",
Add "hammerjs": "^2.0.8",
Add "intl": "^1.2.5",
Add "web-animations-js": "^2.3.1",
Remove  "bootstrap": "3.3.7",

devDependencies section:

Add "@types/angular-material": "^1.1.54",
Add "@types/hammerjs": "^2.0.35",

In tsconfig.json:

Replace "types": [ "webpack-env" ] with "types": [ "webpack-env", "hammerjs" ]

In webpack.config.js, rules:

Replace { test: /\.ts$/, include: /ClientApp/, use: isDevBuild ? ['awesome-typescript-loader?silent=true', 'angular2-template-loader'] : '@ngtools/webpack' }, with { test: /\.ts$/, use: isDevBuild ? ['awesome-typescript-loader?silent=true', 'angular2-template-loader'] : '@ngtools/webpack' },

In webpack.config.vendor.js, nonTreeShakableModules section:

Add '@angular/material',
Add<EMAIL_ADDRESS>Add '@angular/cdk',
Add 'web-animations-js',
Remove 'bootstrap',

In ClientApp\app\app.module.shared.ts:

Add import { MaterialModule } from "@angular/material";
Add import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
Add import "hammerjs";
In @NgModule , imports:

MaterialModule,
BrowserAnimationsModule,

Add polyfills.ts in the ClientApp folder based on https://github.com/addyosmani/todomvc-angular-4/blob/master/src/polyfills.ts (modified though to support IE...)
In ClientApp\boot.browser.ts:

Add import './polyfills';
Remove import 'bootstrap';

In Views\Home\Index.cshtml:

Replace asp-prerender-module with asp-ng2-prerender-module

In Views\Shared\_Layout.cshtml:

Add <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">

Any idea about why this is happening?

I've seen the same thing happen in different circumstances, and I narrowed it down to including the BrowserAnimationsModule. As soon as you include this, without making any other changes, you get the duplicate app rendering.

When looking at boot.browser.ts, I'm not seeing where the app root element is being disposed. Explicitly adding oldRootElem!.remove(); right after the insertBefore fixed this issue for me and HMR is now working again as expected.

I can confirm that 'BrowserAnimationsModule' is causing the issue.

I am experiencing the same issue with my Asp.Net Core Angular app. After setting up Material2 and importing BrowserAnimationsModule in my app.module.ts (app.modyle.shared.ts), all components get duplicated as I navigate through the app. In addition to this, the menu triggered within mat-select works fine until one item is selected then it gets frozen.
Has anyone solved the problem?

same problem here:
@s3gfaultx  I tried your suggestion but getting

A fix that has worked for me is, in ClientApp/boot.browser.ts
After line 14:
oldRootElem!.parentNode!.insertBefore(newRootElem, oldRootElem);
add a new line:
oldRootElem!.remove();
exactly as @s3gfaultx recommended. I'm not sure it's a fully correct fix, as I don't understand why the issue only arises when you start to include the BrowserAnimation libraries, but it has fixed the immediate problem in my app.

It worked for me now as well, not sure what I was doing yesterday. :)
Thanks @s3gfaultx

Im having the same issue with my angular4 app. Not sure where is  ClientApp/boot.browser.ts file. Please help!!!

Any news on fixing that other than commenting out the callback in
if (module.hot) {
    module.hot.accept();
    module.hot.dispose(() => {
        // Before restarting the app, we create a new root element and dispose the old one
        //const oldRootElem = document.querySelector('kundenportal-app');
        //const newRootElem = document.createElement('kundenportal-app');
        //oldRootElem!.parentNode!.insertBefore(newRootElem, oldRootElem);
        //modulePromise.then(appModule => { appModule.destroy(); });
    });
} else {
    enableProdMode();
}

it doesn't seem to have any negative impact on the first view but... there must have been a reason to add it in the first place.
@JimLynn comment seems to fail in case when the AppComponent has an error (while editing) and after reverting it both get cleared. But commenting it out breaks it too (nothing disappears but hmr doesn't work until refresh)

Since we changed the template to be based on Angular CLI, it no longer has this issue, so closing.

@SteveSandersonMS When will the Angular CLI based template be available?


"Updated" notification popping up semi-frequently

https://github.com/auchenberg/vscode-browser-preview/blob/f3c9ceef3162be248cf50a926eb11695f12c0323/ext-src/telemetry.ts#L67
I'm not sure what this is supposed to mean to me as a user; for a long time I didn't know what extension was causing it. I think I see this pop up a few times a day for some reason.
Is this just leftover debugging that can be removed? Or maybe the message can be clarified, and/or only be displayed if some relevant configuration key actually changed?

@vith Good catch, yes this should be removed.

Hi!
First: Thanks for that extension!
Second: May you publish a new release where that message disappears?
Thank you,
Jamil

@jamilraichouni Done


How to introduce ReactiveCocoa/ReactiveObjC pod way

How to introduce ReactiveCocoa/ReactiveObjC pod way

Please see https://guides.cocoapods.org/using/using-cocoapods.html.


wasmtime-wasi-http shouldn't add the default port to outbound `host header

The outbound HTTP implementation will add a default port to the URI authority if not present:
https://github.com/bytecodealliance/wasmtime/blob/1fa8de140fce161ed5d77cf939558de79d3956c1/crates/wasi-http/src/http_impl.rs#L68-L69
As reported on Zulip and as a Spin issue, this causes breakage with AWS signed requests, which include the exact host header value in the signature payload.
I believe the current behavior is incorrect. Per the HTTP/1.1 spec:

If the target URI includes an authority component, then a client MUST send a field value for Host that is identical to that authority component

cc @elliottt


Priorityclass for Istio operator?

Is your feature request related to a problem? Please describe.
We would like to add a priorityclass  of system-cluster-critical to the istio components
Describe the solution you'd like to see
Add priorityclass to istio-operator config

Sure, we will implement this in the upcoming weeks.

@bmacauley-reward, the feature is available in 0.4.11 Docker image for Istio 1.4.x versions and in 0.5.1 for Istio 1.5.x.
For the system-cluster-critical PriorityClass you will need K8s 1.17+, check out the description of the field for more details. Let us know if it works as you expected!

Thanks guys!


fix memory request and capacity conversion from a quantity to an int64

This fixes the conversion of pod memory request and node memory capacity from a quantity to an int64 for use with metrics. This will allow the handling of millivalues (which are backwards supported in Kubernetes) in the prometheus metrics.
Note: we already handle the percentage usage calculation using millivalues (which is good) so Escalator would have already handled millivalues when calculating utilisation.
I've updated the metric descriptions for escalator_node_group_mem_request and escalator_node_group_cpu_capacity as well, as they are the number of bytes, not a milli value.
This PR also includes a unit test for k8s. PodIsStatic.
cc @wendorf
Fixes #118

Thanks for addressing this so soon! 👍


Modify: Amazon.Corretto.21 version <IP_ADDRESS>

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[x] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @SpecterShell,

This PR's version number <IP_ADDRESS> has 4 parameters (sets of numbers between dots - major, minor, etc), which is less than the current manifest's version <IP_ADDRESS>.1, which has 5 parameters.

Does this PR's version number exactly match the version reported in the Apps & features Settings page? (Feel free to attach a screenshot.)
(Automated response - build 880)


Split program by Cycle

Current splitter is generating the segment by instruction, which makes the sub-module size different for different programs, leading to different proving time for different segement.

Done by #168


Firefox 30 applet is not executing in Bootstrap v3.2 Modal

I am facing very strange issue.
I am using FireFox 24.6.0.
I have created simple Modal Panel.
In this modal panel one applet is included ..but applet is not working...
I have tried same thing in chrome and ie....and it works .
Instead of modal  panel if i include applet in html it works fine... means there is no security issue with firefox or add-ons or any other.
The problem come only in case when applet is included in modal panel.....
My bootstrap version is v3.1.1.

Mozilla has deemed this WONTFIX:

We aren't going to fix this issue. Windowed-mode plugins such as Java don't participate in the CSS rendering order very well, and since they are a dying legacy technology we've chosen not to spend time fixing this.


Enable  Microsoft.IdentityModel.Tokens.Tests.PerformanceTests.Jwt_Performance

This test was disabled while xml tokens were being developed. We need this with a baseline against 4.x and System.IdentityModel for xml tokens.

@brentschmaltz Is this issue still relevant considering that we added new perf and stress tests?

nope, closed.


Hotspot registration fails and will no longer continue if wireless SSID contains non-ASCII characters

Describe the bug
If your wireless SSID contains non-ASCII characters, you will be able to connect to your hotspot during initial setup, but registering a hotspot will fail eventually with a characteristic read error for UUID 7731de63-bc6a-4100-8ab1-89b2356b038b.
Subsequently, you will no longer be able to connect and complete your device setup at all, as you will no longer be able to see the list of scanned wireless networks / network selection view.
To Reproduce
Steps to reproduce the behavior:

Create a wireless SSID with non-ASCII characters in it.
Add a new hotspot, and connect to the SSID you created.
You can skip location asserting and go straight to adding the hotspot.
Error for read of characteristic will appear.

Expected behavior
If there is no change that will be made to the BLE interface, then the Helium app should warn users about this limitation in the app before they proceed and not allow them to continue. For those stuck "in-between" (set up with an invalid SSID and unable to understand the characteristic error), they should receive a more human-readable error if it's possible to read the saved state / saved SSID.
SSIDs as per the IEEE 802.11-2012 standard can contain any-non Latin characters, and should be UTF-8 encoded. No assumption should be made about their encoding. The above suggestion is a first-step, ideally any valid SSID should be permitted rather than being restricted to ASCII values.
Screenshots

Smartphone:
Affects all devices and all app versions.

Nice bug @crouchingtiger we'll definitely take a look at this. Ideally the right solution is to accept non-ASCII characters. We'll have to double check if the logic lives on the app, or the hotspot itself.

Hi, i have also tryed to connect to a SSID with non-ASCII characters but I have observed a different behavior.
My SSID has a part with "@:M" but inside the App it is displayed als "@:M"
It seems that an escape character() is inserted into the SSID.
I can't get past step 2 of crouchingtiger.
I already get an error there that the connection could not be established.
(If the modified SSID is used as it is displayed it can't work either).

app is passing a string to the protobuf directly, so it's likely the encoding is being garbled downstream (in response to the original bug report)


chore: use "bash strict mode" in some shell scripts

If a script produces an error, it should rather do so loudly than silently. See http://redsymbol.net/articles/unofficial-bash-strict-mode/ for an explanation of this incantation.
This PR has the "easy" cases, where no change to the remaining script was necessary.

Subset of/split from #15996.

This is a good idea. Thanks!
bors r+


Login form does not safe encode next query parameter

In the Login form when the user needs to be authenticated, the next query parameter does is not URI encoded with encodeURIComponent.
Example
request /resource?pretty&test=1
Authentication Failed
redirect login?next=/resource?pretty&test=1
However the redirect should be
redirect login?next=%2Fresource%3Fpretty%26test%3D1
Proposed change: Add encodeURIComponent when setting next, and decodeURIComponent when redirecting after successful login
  var nextUri = url.parse(req.query.next || '').path;
  var formActionUri = (config.web.login.uri + (nextUri ? ('?next=' + encodeURIComponent(nextUri)) : ''));

   if (req.user && config.web.login.enabled) {
      var nextUrl = decodeURIComponent(nextUri || config.web.login.nextUri);
      return res.redirect(302, nextUrl);
   }

Currently, the original query parameters after the first one does not get included when redirected

Thanks @KamalAman !  We'll get this fixed.


Hound's test samples not working.

I tried test samples from hound and none of it was read successfully using examples/tag_reader.
Here is log from terminal:
------------Processing /home/user/Prejemi/hound-master/testsamples/nonstandard-01.wav file..
thread 'main' panicked at 'attempt to divide by zero', src/iff/wav/properties.rs:165:31
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------Processing /home/user/Prejemi/hound-master/testsamples/nonstandard-02.wav file..
thread 'main' panicked at 'Error: Failed to read file!: Wav("Extensible format identified, invalid \"fmt \" chunk size found (< 40)")', examples/tag_reader.rs:9:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------Processing /home/user/Prejemi/hound-master/testsamples/pcmwaveformat-16bit-44100Hz-mono-extra.wav file..
thread 'main' panicked at 'attempt to divide by zero', src/iff/wav/properties.rs:165:31
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------Processing /home/user/Prejemi/hound-master/testsamples/pcmwaveformat-16bit-44100Hz-mono.wav file..
thread 'main' panicked at 'attempt to divide by zero', src/iff/wav/properties.rs:165:31
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------Processing /home/user/Prejemi/hound-master/testsamples/pcmwaveformat-24bit-4byte-48kHz-stereo.wav file..
thread 'main' panicked at 'attempt to divide by zero', src/iff/wav/properties.rs:165:31
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------Processing /home/user/Prejemi/hound-master/testsamples/pcmwaveformat-8bit-44100Hz-mono.wav file..
thread 'main' panicked at 'attempt to divide by zero', src/iff/wav/properties.rs:165:31
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------Processing /home/user/Prejemi/hound-master/testsamples/pop.wav file..
thread 'main' panicked at 'Error: Failed to read file!: Wav("Extensible format identified, invalid \"fmt \" chunk size found (< 40)")', examples/tag_reader.rs:9:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------Processing /home/user/Prejemi/hound-master/testsamples/waveformatex-16bit-44100Hz-mono-extra.wav file..
thread 'main' panicked at 'attempt to divide by zero', src/iff/wav/properties.rs:165:31
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------Processing /home/user/Prejemi/hound-master/testsamples/waveformatex-16bit-44100Hz-mono.wav file..
thread 'main' panicked at 'attempt to divide by zero', src/iff/wav/properties.rs:165:31
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------Processing /home/user/Prejemi/hound-master/testsamples/waveformatex-16bit-44100Hz-stereo.wav file..
thread 'main' panicked at 'attempt to divide by zero', src/iff/wav/properties.rs:165:31
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------Processing /home/user/Prejemi/hound-master/testsamples/waveformatex-8bit-11025Hz-mono.wav file..
thread 'main' panicked at 'attempt to divide by zero', src/iff/wav/properties.rs:165:31
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------Processing /home/user/Prejemi/hound-master/testsamples/waveformatex-ieeefloat-44100Hz-mono.wav file..
thread 'main' panicked at 'attempt to divide by zero', src/iff/wav/properties.rs:165:31
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------Processing /home/user/Prejemi/hound-master/testsamples/waveformatextensible-24bit-192kHz-mono.wav file..
thread 'main' panicked at 'Error: Failed to read file!: Wav("Extensible format identified, invalid \"fmt \" chunk size found (< 40)")', examples/tag_reader.rs:9:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------Processing /home/user/Prejemi/hound-master/testsamples/waveformatextensible-24bit-4byte-48kHz-stereo.wav file..
thread 'main' panicked at 'Error: Failed to read file!: Wav("Extensible format identified, invalid \"fmt \" chunk size found (< 40)")', examples/tag_reader.rs:9:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------Processing /home/user/Prejemi/hound-master/testsamples/waveformatextensible-32bit-48kHz-stereo.wav file..
thread 'main' panicked at 'Error: Failed to read file!: Wav("Extensible format identified, invalid \"fmt \" chunk size found (< 40)")', examples/tag_reader.rs:9:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
------------Processing /home/user/Prejemi/hound-master/testsamples/waveformatextensible-ieeefloat-44100Hz-mono.wav file..
thread 'main' panicked at 'Error: Failed to read file!: Wav("Extensible format identified, invalid \"fmt \" chunk size found (< 40)")', examples/tag_reader.rs:9:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

In my fork I already have fixes awaiting built on top of #31.

Ah, thanks for testing this out. The properties side of lofty isn't all that robust :)
Were you able to resolve all of the errors?

Yes, but with sacrifice for some readability.

That's alright. Just be sure to throw in some comments if it gets too bad.


Custom Sorting Function

I am trying to implement my own sorting function, as this will be done Server Side based so I will just dispatch an action to talk to the API but I am having problems getting the name of the column and sort order in this func.
I'm using react table V7, and i've added the prop of manualSorting: true to disable the default behaviour, but when adding the custom orderByFn to the useTable hook it calls it but returns an undefined param, I was expecting something with the column name and the sort order in this? Any ideas would be great.
I've created a code sandbox here based on one of the React Table examples showing my issue.
https://codesandbox.io/embed/tannerlinsleyreact-table-sorting-f1bmd

@NickCain This is my server side sorting solution:
import React, { useEffect } from "react";
import { useSortBy, useTable } from "react-table";

const ReactTableTest = (props) => {
  const { columns, data, initialSortBy, onChangeSort } = props;

  const {
    headerGroups,
    getTableProps,
    getTableBodyProps,
    prepareRow,
    rows,
    state: { sortBy }
  } = useTable(
    {
      columns,
      data,
      initialState: { sortBy: initialSortBy },
      manualSorting: true
    },
    useSortBy
  );

  // Store new sort state in reducer and call API to fetch new data from server
  useEffect(() => {
    onChangeSort(sortBy);
  }, [onChangeSort, sortBy]);

  return (
    render table here
  );
};

export default ReactTableTest;

@MatyCZ  - Thanks for your example it helped lead me to the issue, and I've now resolved this problem.

Thanks @MatyCZ Doc still doesn't contains any mentions about manual sorting feature usage

Need an example for custom server side sorting?

Need an example for custom server side sorting?

yes

@MatyCZ and @NickCain can you show an example in the codesandbox?

I noticed there is no manualSorting flag anymore in the useSortBy hook. The one I have in my build is manualSortBy. Here is my example of remote sorting:
https://codesandbox.io/s/stupefied-nobel-tx4gq
import React, { useState, useEffect, useCallback } from "react";
import { useTable, useSortBy } from "react-table";

function Table({ columns, data, onSort }) {
  const {
    getTableProps,
    getTableBodyProps,
    headerGroups,
    rows,
    prepareRow,
    state: {sortBy}
  } = useTable(
    {
      columns,
      data,
      manualSortBy: true
    },
    useSortBy
  );

  useEffect(() => {
    onSort(sortBy);
  }, [onSort, sortBy]);

  return
;
}

function App() {
  const columns = React.useMemo(
    // ... columns ...
    []
  );

  const [data, setData] = useState([]);

  const handleSort = useCallback(sortBy => {
    //remote sort
    //... fetch("your-api", sortBy) ...
  }, [])

  return
;
}

export default App;

@NickCain This is my server side sorting solution:
import React, { useEffect } from "react";
import { useSortBy, useTable } from "react-table";

const ReactTableTest = (props) => {
  const { columns, data, initialSortBy, onChangeSort } = props;

  const {
    headerGroups,
    getTableProps,
    getTableBodyProps,
    prepareRow,
    rows,
    state: { sortBy }
  } = useTable(
    {
      columns,
      data,
      initialState: { sortBy: initialSortBy },
      manualSorting: true
    },
    useSortBy
  );

  // Store new sort state in reducer and call API to fetch new data from server
  useEffect(() => {
    onChangeSort(sortBy);
  }, [onChangeSort, sortBy]);

  return (
    render table here
  );
};

export default ReactTableTest;

Im getting Property 'sortBy' does not exist on type 'TableState'
when following this example :(
What have i done wrong?

@gotpist1 maybe add your code here? Not sure what's wrong since the example is working:
https://codesandbox.io/s/stupefied-nobel-tx4gq

Is it possible to use sorting function for definite columns and leave default sorting for other ones?

I'm kinda asking the same question as @tar-aldev. I need to use the default sorting but to save what the user has sorted (preference) on the UI, and then reapply it when it comes back which means i somehow need to access each column and tell it how to sort on page load.
if anyone has any suggestions i could really use one

using the react-table npm package how to perform the sorting operation for the table. Also without using the useSortBy Hook.

using the react-table npm package how to perform the sorting operation for the table. Also without using the useSortBy Hook.

@tar-aldev have you found solution for sorting only specific columns?


Update README.md

I recently joined the GH actions team and followed the tutorial, found some super minor nitpicky inconsistencies in the instructions and hence proposing these changes
Why:
Closes [issue link]
What's being changed:
Proposing changes in Step 1 (Sub steps 4 and 7), Step 2( Sub step 3)
Check off the following:

[ ] For workflow changes, I have verified the Actions workflows function as expected.
[x] For content changes, I have reviewed the style guide.

UTC


Adjust how human input works

Probably will address #219
Instead of having human input only via agent making a tool call and the user input in the response, instruct the agents that user input may come at any time in the thread, but they must use a tool to specifically request a response from the user.
The pattern the agent would see is:
...
<agent used human input tool: 'hello, whats your name?'>
<tool response successful>
<human message>

The key is we have to show the tool call so that agents don't conclude from history that they can converse with users by posting "regular" messages.
This will also facilitate adding user messages at any point, perhaps with a mechanism like
agent.send_message()
or
task.send_message()

sending a global message doesn't seem necessary at the moment.

yes please!


HDDS-1615. ManagedChannel references are being leaked in ReplicationS…

This patch fixes the leaks by closing the stream observers cleanly.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
45
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

-1
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

-1
mvninstall
29
hadoop-hdds in trunk failed.

-1
mvninstall
45
hadoop-ozone in trunk failed.

-1
compile
22
hadoop-hdds in trunk failed.

-1
compile
16
hadoop-ozone in trunk failed.

+1
checkstyle
60
trunk passed

+1
mvnsite
0
trunk passed

+1
shadedclient
856
branch has no errors when building and testing our client artifacts.

-1
javadoc
22
hadoop-hdds in trunk failed.

-1
javadoc
17
hadoop-ozone in trunk failed.

0
spotbugs
966
Used deprecated FindBugs config; considering switching to SpotBugs.

-1
findbugs
46
hadoop-hdds in trunk failed.

-1
findbugs
20
hadoop-ozone in trunk failed.

_ Patch Compile Tests _

-1
mvninstall
36
hadoop-hdds in the patch failed.

-1
mvninstall
39
hadoop-ozone in the patch failed.

-1
compile
24
hadoop-hdds in the patch failed.

-1
compile
19
hadoop-ozone in the patch failed.

-1
javac
24
hadoop-hdds in the patch failed.

-1
javac
19
hadoop-ozone in the patch failed.

+1
checkstyle
63
the patch passed

+1
mvnsite
0
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
748
patch has no errors when building and testing our client artifacts.

-1
javadoc
22
hadoop-hdds in the patch failed.

-1
javadoc
20
hadoop-ozone in the patch failed.

-1
findbugs
32
hadoop-hdds in the patch failed.

-1
findbugs
20
hadoop-ozone in the patch failed.

_ Other Tests _

-1
unit
28
hadoop-hdds in the patch failed.

-1
unit
28
hadoop-ozone in the patch failed.

+1
asflicense
34
The patch does not generate ASF License warnings.

2417

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1547

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux a3081061e631 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 760b523

Default Java
1.8.0_222

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/branch-mvninstall-hadoop-hdds.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/branch-mvninstall-hadoop-ozone.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/branch-compile-hadoop-hdds.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/branch-compile-hadoop-ozone.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/branch-javadoc-hadoop-hdds.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/branch-javadoc-hadoop-ozone.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/branch-findbugs-hadoop-hdds.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/branch-findbugs-hadoop-ozone.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/patch-mvninstall-hadoop-hdds.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/patch-mvninstall-hadoop-ozone.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/patch-compile-hadoop-hdds.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/patch-compile-hadoop-ozone.txt

javac
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/patch-compile-hadoop-hdds.txt

javac
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/patch-compile-hadoop-ozone.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/patch-javadoc-hadoop-hdds.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/patch-javadoc-hadoop-ozone.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/patch-findbugs-hadoop-hdds.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/patch-findbugs-hadoop-ozone.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/patch-unit-hadoop-hdds.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/artifact/out/patch-unit-hadoop-ozone.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/testReport/

Max. process+thread count
447 (vs. ulimit of 5500)

modules
C: hadoop-hdds/container-service U: hadoop-hdds/container-service

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1547/1/console

versions
git=2.7.4 maven=3.3.9

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

+1. LGTM.


Test cleanup

Checklist:

[x] Code contains relevant tests for the problem you are solving
[x] Ensure all new and existing tests pass
[x] Update any relevant READMEs and docs
[x] Submit to the develop branch instead of master

Description:
Cleans up the the tests a bit.

I see this issue has been addressed now. Closing.

@DanielVF Gotcha. Removed that commit.


[BUG]

Deployment details:

App version [e.g. v1.7.4]: 2.1.0
Platform [e.g. amd64, arm64, arm/v7]: amd64
Docker image tag [e.g. latest, multiarch]: pawelmalak/flame latest

Bug description:
After updating to the latest version, I am unable to edit bookmarks. I expected to see a list of bookmarks and edit buttons, but I see a single string "Switch to grid view and click on the name of category you want to edit". No idea what this grid is.
Steps to reproduce:

Go to homepage
Click on Bookmarks
Click on "Edit bookmarks"

Just before submitting this, I found a way to edit, but it doesn't seem right.... I go into "edit categories", I click the pencil icon, I close the popup that shows up. I can then go into "edit bookmarks" and see the bookmarks that belong to the category I clicked on before. This doesn't seem very intuitive or efficient. I will submit this ticket just the same, but feel free to close it...

Just click on "edit bookmarks" again and it will change view to grid mode. Then just click on category name you want to edit.

Clicking "edit Bookmarks" twice and then clicking on the name of the category to which the bookmark is assigned works. I would do this differently. I would not require a second click in "edit Bookmarks" and I would skip the clicking on the category. So when clicking "edit Bookmarks", just show all of them. Isn't this what it was like before?

It was, but to implement option to set custom order for bookmarks it had to be changed.

It was, but it had to be changed to implement option to set custom order for bookmarks.

Deployment details:
* App version [e.g. v1.7.4]: 2.1.0

* Platform [e.g. amd64, arm64, arm/v7]: amd64

* Docker image tag [e.g. latest, multiarch]: pawelmalak/flame latest

Bug description:
After updating to the latest version, I am unable to edit bookmarks. I expected to see a list of bookmarks and edit buttons, but I see a single string "Switch to grid view and click on the name of category you want to edit". No idea what this grid is.
Steps to reproduce:
1. Go to homepage

2. Click on Bookmarks

3. Click on "Edit bookmarks"
   ![flame](https://user-images.githubusercontent.com/31237907/144328770-76a3c2b8-0613-4505-a56f-8a8e5fc1ce94.png)

Just before submitting this, I found a way to edit, but it doesn't seem right.... I go into "edit categories", I click the pencil icon, I close the popup that shows up. I can then go into "edit bookmarks" and see the bookmarks that belong to the category I clicked on before. This doesn't seem very intuitive or efficient. I will submit this ticket just the same, but feel free to close it...

I had the same issue and this work-around did allow me to edit the bookmarks