API break between TF2.0.0 and TF2.1.0 on simple Keras code

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS 10.13.6
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): v2.1.0-rc2-17-ge5bf8de410 2.1.0
Python version: v3.6.7:6ec5cf24b7, Oct 20 2018, 03:02:14

Describe the current behavior
I have written a piece of code to answer this stackoverflow question (the code of make_model), and it worked well with tf2.0.0. But today I tested it coincidentally on tf2.1.0 and it raised an error. From the error message, the root cause seems to be that I didn't provide a name argument on my tf.keras.Input calls.
Note that the second piece of code that I wrote in my stackoverflow answer, make_model_2, works with both tf2.0.0 and tf2.1.0.
Describe the expected behavior
There shouldn't be any backward incompatibility between tf2.1.0 and tf2.0.0.
Standalone code to reproduce the issue
import tensorflow as tf

print(tf.version.VERSION)

toy_data = {'movie': [[0], [1], [0], [1]], 'user': [[10], [12], [12], [10]]}
dataset = tf.data.Dataset.from_tensor_slices(toy_data).batch(2)

for x in dataset:
    print(x)

def make_model():
    inp_movie = tf.keras.Input(shape=(1,))
    inp_user = tf.keras.Input(shape=(1,))
    movie_embedding = tf.keras.layers.Dense(
            units=40, activation=tf.keras.layers.Activation("relu"))(inp_movie)
    user_embedding = tf.keras.layers.Dense(
            units=40, activation=tf.keras.layers.Activation("relu"))(inp_user)
    combined = tf.concat([movie_embedding, user_embedding], 1)
    output = tf.keras.layers.Dense(
            units=1, activation=tf.keras.layers.Activation("sigmoid"))(combined)
    model = tf.keras.Model(inputs=[inp_movie, inp_user], outputs=output)
    return model

model = make_model()

for x in dataset:
    print(model(x))

Other info / logs
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-1-cf28ddc4e239> in <module>
     25
     26 for x in dataset:
---> 27     print(model(x))

~/path/to/python3.6/site-packages/tensorflow_core/python/keras/engine/base_layer.py in __call__(self, inputs, *args, **kwargs)
    820           with base_layer_utils.autocast_context_manager(
    821               self._compute_dtype):
--> 822             outputs = self.call(cast_inputs, *args, **kwargs)
    823           self._handle_activity_regularization(inputs, outputs)
    824           self._set_mask_metadata(inputs, outputs, input_masks)

~/path/to/python3.6/site-packages/tensorflow_core/python/keras/engine/network.py in call(self, inputs, training, mask)
    715     return self._run_internal_graph(
    716         inputs, training=training, mask=mask,
--> 717         convert_kwargs_to_constants=base_layer_utils.call_context().saving)
    718
    719   def compute_output_shape(self, input_shape):

~/path/to/python3.6/site-packages/tensorflow_core/python/keras/engine/network.py in _run_internal_graph(self, inputs, training, mask, convert_kwargs_to_constants)
    820       # list. Matches dict keys to input names.
    821       inputs = [
--> 822           inputs[inp._keras_history.layer.name] for inp in self._nested_inputs
    823       ]
    824     else:

~/path/to/python3.6/site-packages/tensorflow_core/python/keras/engine/network.py in <listcomp>(.0)
    820       # list. Matches dict keys to input names.
    821       inputs = [
--> 822           inputs[inp._keras_history.layer.name] for inp in self._nested_inputs
    823       ]
    824     else:

KeyError: 'input_1'

@durandg12
Please share all dependencies for us to replicate the issue in our local environment and help you resolve.
please find gist of the code shared by you on our local

please find code run on TF2.0 [where is runs fine] and nightly, the error persist in nightly.

@durandg12 This is was resolved in recent tf-nightly. I ran your code with tf-nightly and I don't see any issues. Please check the gist here. Thanks!
Please close the issue if this was resolved for you. Thanks!

Hello, I have tried your notebook and the issue  seems indeed closed. Thanks.


Bump go version to 1.20.11 in v0.57.x line

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Does this PR introduce a user-facing change?

Additional Notes for your reviewer:
Review Checklist:

[ ] Follows the developer guidelines
[ ] Relevant tests are added or updated
[ ] Relevant docs in this repo added or updated
[ ] Relevant carvel.dev docs added or updated in a separate PR and there's
a link to that PR
[ ] Code is at least as readable and maintainable as it was before this
change

Additional documentation e.g., Proposal, usage docs, etc.:

/cherry-pick v0.55.x

/cherry-pick v0.54.x

LGTM


[Clang Importer] Import ns_error_domain attribute with _BridgedNSError

Two changes. First is a refactoring of some of the common enum reasoning which also lays down a base for ns_error_domain handling. Second introduces support for ns_error_domain.

@swift-ci please test

@swift-ci please test


Batch deploy assigned IPs increment used IPS for another node's subnet

I tried to batch deploy 2 VMs using the same network on different nodes and got
IP1: <IP_ADDRESS>
IP2: <IP_ADDRESS>

problem:

The IP should be <IP_ADDRESS> not <IP_ADDRESS>

suggestion:

I think we should track subnets for deployments in batch to avoid using a used host for another subnet

Verification:

deployed two VMs on two separate nodes using tfrobot (using BatchDeploy internally) and the subnet of one is not affected by the other


Fixes and Rev4 updates for aide controls

These are all the changes we have made in our repo at https://github.com/djhaynes/inspec-profile-disa_stig-el7 relating to aide controls. This includes updates of these controls to RHEL7 STIG Rev4, as well as various fixes.

@trevor-vaughan I addressed all of your comments, should be good to go


Task status change after restnoded process restarted

Environment

Declarative Onboarding Version: 1.15
BIG-IP Version: <IP_ADDRESS>

Summary
Before restart restnoded endpoint
https://IP/mgmt/shared/declarative-onboarding
return
    "id": "d0e5189c-47ce-4b11-9ef0-d68aec4979f7",
    "selfLink": "https://localhost/mgmt/shared/declarative-onboarding/task/d0e5189c-47ce-4b11-9ef0-d68aec4979f7",
    "result": {
        "class": "Result",
        "code": 200,
        "status": "OK",
        "message": "success"

After restnoded restart
    "id": "d0e5189c-47ce-4b11-9ef0-d68aec4979f7",
    "selfLink": "https://localhost/mgmt/shared/declarative-onboarding/task/d0e5189c-47ce-4b11-9ef0-d68aec4979f7",
    "result": {
        "class": "Result",
        "code": 202,
        "status": "RUNNING",
        "message": "processing"

This generate problem ex. in terraform when information about resource are referred.
ex.
Error: Error while Sending/fetching http request :{"id":"295a7297-3f65-41c4-95dd-36053a1656ab","selfLink":"https://localhost/mgmt/shared/declarative-onboarding/task/295a7297-3f65-41c4-95dd-36053a1656ab","result":{"class":"Result","code":202,"status":"RUNNING","message":"processing"},"declaration":{"schemaVersion":"1.0.0","class":"Device","async":true,

Expected Behavior
Task status doesn’t change.
Actual Behavior
Task status change after restart process restnoded.

Confirmed. Added to our internal product backlog as AUTOTOOL-2080. Thank you for reporting the issue.

Confirmed. Added to our internal product backlog as AUTOTOOL-2080. Thank you for reporting the issue.


What is the licence?

I was curious whether I could use this or not but without a license I cannot say. Can you confirm how it is licensed?

solved in https://github.com/lablabs/prometheus-alert-overrider/pull/3


TypeError: Cannot read property 'querySelectorAll' of undefined

Hi,
Forgive me if my question has an obvious answer.
I've tried to figure it out, but cannot.
I'm getting this error which I'm not sure what to do about.
Can you point me in the right direction?
Much appreciated.
vue.esm.js?efeb:1741 TypeError: Cannot read property 'querySelectorAll' of undefined
    at rn (index.js?3bf0:1)
    at eval (index.js?3bf0:1)
    at Z (index.js?3bf0:1)
    at VueComponent.init (index.js?3bf0:1)
    at VueComponent.mounted (index.js?3bf0:1)
    at callHook (vue.esm.js?efeb:2921)
    at Object.insert (vue.esm.js?efeb:4158)
    at invokeInsertHook (vue.esm.js?efeb:5960)
    at VueComponent.patch [as __patch__] (vue.esm.js?efeb:6179)
    at VueComponent.Vue._update (vue.esm.js?efeb:2670)

I do not have such problem with this component but I had such problem when 2 another components were used together (in my case vue-awesome-swiper + vue-smooth-dnd), so possibly in your case you have also conflict of two packages.

Closing this due to inactivity.


mock_dynamodb2 fails to update field that is used in a Global Secondary Index

In the newest version of moto 2.0.1, when calling update_item on a field that is used as a key in a GSI, the operation triggers a ValidationException saying that an AttributeValue may not contain an empty string.
how to reproduce the issue
Save the following code to .py file and run.
from moto import mock_dynamodb2
import boto3

with mock_dynamodb2():
    name = "TestTable"
    conn = boto3.client("dynamodb", region_name="eu-west-2", aws_access_key_id="ak", aws_secret_access_key="sk")
    conn.create_table(
        TableName=name,
        KeySchema=[{"AttributeName": "main_key", "KeyType": "HASH"}],
        AttributeDefinitions=[{"AttributeName": "main_key", "AttributeType": "S"},
            {"AttributeName": "index_key", "AttributeType": "S"}],
        ProvisionedThroughput={"ReadCapacityUnits": 5, "WriteCapacityUnits": 5},
        GlobalSecondaryIndexes=[
            {
                "IndexName": "test_index",
                "KeySchema": [
                    {
                        "AttributeName": "index_key",
                        "KeyType": "HASH"
                    }
                ],
                "Projection": {
                    "ProjectionType": "ALL",
                },
                "ProvisionedThroughput": {"ReadCapacityUnits": 1, "WriteCapacityUnits": 1}
            }
        ]
    )

    conn.put_item(
        TableName=name,
        Item={
            "main_key": {"S": "testkey1"},
            "extra_data": {"S": "testdata"},
            "index_key": {"S": "indexkey1"}
        },
    )

    resp = conn.update_item(
        TableName=name,
        Key={"main_key": {"S": "testkey1"}},
        UpdateExpression="set index_key=:new_index_key",
        ExpressionAttributeValues={":new_index_key": {"S": "new_value"}}
    )

    print(resp)

what you expected to happen
That the attribute index_key updates successfully.
I have validated that this code runs correctly against dynamodb proper without issues. It also works under the 1.3.6 version of moto.
what actually happens
Traceback (most recent call last):
  File "test.py", line 41, in <module>
    resp = conn.update_item(
  File "/home/h0wser/.local/lib/python3.8/site-packages/botocore/client.py", line 357, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/home/h0wser/.local/lib/python3.8/site-packages/botocore/client.py", line 676, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (ValidationException) when calling the UpdateItem operation: One or more parameter values were invalid: An AttributeValue may not contain an empty string

what version of Moto you're using
boto==2.49.0
boto3==1.17.22
botocore==1.20.22
moto==2.0.1

Installed via pip.

I am seeing the same bug,  any workaround?

Urgh! Spent an hour on this today :upside_down_face: awesome to see a fix already written - @bblommers is there any chance it'll make it into the next release?

That will depend on when another maintainer approves the fix @JamesBelchamber - I have no control over that timeline I'm afraid

I was hoping the response would be something I could muck in and help with :sweat_smile: okay, understood, thanks for getting it in so quickly :)

This bug appears to be still happening in v2.0.5. @spulec is there anything I can do to help @bblommers 's PR move along? Thanks.

This is now part of moto >= 2.0.10 @JamesBelchamber


Image-Upload: There is no "type"-Filter for the file that can be selected.

If file-format is not supported, there is no message shown at all. There is just nothing happening after upload of an unsupported file.
Some userfeedback in advance or after the file is processed would be nice

I've got a message on the products upload, as well as the images for the trader. Am I missing some point? Do you have an example for the error?

my bad - last time I checked there was no toast message when the file format was not supported.
Closing the issue


Use BBN NLP resources?

In GitLab by @jakebeal on Feb 4, 2019, 16:54
BBN's speech and language folks have very good NLP resources.  Are they practical to connect to this task within the scope of available time and resources?

In GitLab by @nwalczak on May 23, 2019, 09:35
I have a friend in AMI, Joshua Fasching.  I asked him about using AMI NLP software.  He mentioned that the main thing is called SERIF, and it runs as a C++ binary, plus there is a Python library for parsing/handling the output.  If we want to pursue this at some point, I can get more details from Josh.


Add Rollback Functionality

Question
we've identified the need for a rollback mechanism. This is crucial for addressing emergency situations or issues that may arise post-hardening. Can I safely perform a rollback after hardening? If not, I would like to request the addition of a rollback feature.
Expected Steps

Identify the specific changes made during the hardening process that need to be reverted during a rollback.
Implement a playbook or playbook steps that will undo the hardening changes safely.
Test the rollback functionality in various scenarios to ensure reliability.

Environment (please complete the following information):

Operating System: Ubuntu 20.04
Ansible 2.9+
Python 3.6+

Just my opinion:
Due to ansible being imperative, this is not realistic, how would you know the original settings for everything as OS updates change?
You probably have to CIS secure test systems and verify everything is 100%.
I think it might be better to create role that address the main risk areas you identify.

User access - Sudoers and SSH allow - maybe have a serial console option to recover?
firewall ufw - sudo ufw disable

hi @rjhaikal
Thank you for raising this question, As @diepes as pointed out this is something that is not really a practical offer to enable rollback, as the amount of captured data for all systems would be unmanageable especially for patching etc takes place and removal of installed packages.
As pointed out in this case, you are better to set those requirements as you expect to find them (maybe using config mgmt like ansible) and then either skip them in here or adjust the settings for your systems, so this playbook is aligned to your requirements and idempotancy plays it part and makes no changes as part of this playbook.
I hope that helps.
Many thanks
uk-bolly

Alright, thank you, guys. I agree with your opinions, and it makes more sense. Thanks for all your suggestions.


Addressing several issues relating to the ocean diagnostics toolkit at once

Hi all,
I've made several additions to the ocean diagnostics in the recent months, addressing a wide range of issues, bugs, and also adding new features.
The marine evaluation code required irregular regriding which was not part of the main version2_development branch. I've been merging the version2_development and the version2_irregular_2d_regridding into my branch (version2_development_OMZ_irregular_2d_regridding). This means that I've been unable to create Pull Requests to bring the new features into the main development branch for some time. This means that there is quite a backlog of new features waiting to be merged.
As it looks like PR #550 may be accepted into the main dev branch in the near future, I'm trying to get a head start on adding these new features too.
The new features in my branch are:

More complete documentation for the ocean diagnostics. (#642) Note that most of the changes to the documentation are the automodule documentation for the API. The documentation for each recipe will be added in a future patch.
Several new diagnostic plots (#615), and new features added to the old ones (#640). More details on this below.
Fixes for many models to set the Oxygen field to the correct CMIP5 compliant value (#585).
Fix to the CMIP5_Omin table to add the correct file description for oline (mfo) (#673, #711)
Added a new derived variable, gtfgco2 which is the Global Total flux of CO2 from the atmosphere into the ocean.
Added my name and project into config-references.yml.
A few new recipes (OMZ and scalar plots.)

The new features in the ocean diagnostics modules are:

diagnostics_maps.py:

New contours plots, and multi model contours.
Function to call the regridding preprocessor.

diagnostic_maps_quad.py:

Nothing major, just moved some functionality into diagnostics_tools.

diagnostic_model_vs_obs.py:

Entirely new diagnostic. Produced model vs observations plots, similar to  diagnostic_maps_quad.py, but with only one model and one observational datasets. This diagnostic also produces a scatter plot with model on the x axis and obs on the y axis, including an optional linear regression and fit infomation.

diagnostic_profiles.py:

Added support to include an observational dataset to the profile.

diagnostic_seaice.py:

No changes beyond new documentation.

diagnostic_timeseries.py:

Added moving average

diagnostic_tools.py

Added get_obs_projects function.
get_input_files now calls esmvaltool.diag_scripts.shared._base._get_input_data_files instead of doing it locally.
match_model_to_key moved here from diagnostic_model_vs_obs.py and diagnostic_maps_quad.py as the same function previously appeared in both modules.
added guess_calendar_datetime, which returns the relevant datetime time creator.
added load_thresholds, which finds the threshold from the recipe.
make_cube_layer_dict can now use regions, as well as layers. (Needed for scalar fields, like MFO)
Added several functions (get_array_range, get_cube_range_diff, get_cube_range) to calculate the maximum and minimum values of a list of cubes.

diagnostic_transects.py

Added function to make the depth coordinate sensible.
Added function to add the sea floor into plots.
Added contour transect plots and multi-model transect contour plots, including observations.

There has also been some minor edits to the following recipes:

recipe_OxygenMinimumZones.yml:

Entirely new recipe which produces several figures showing Oxygen minimum zones.

recipe_ocean_bgc.yml:

Renamed and added a significantly more complete BGC evaluation suite.

recipe_ocean_scalar_fields.yml:

New recipe to look at scalar fields (like the Drake Passage current and so on.)

Note that all ocean recipes have changed, as the author username reference was changed from ledm (my github username) to lee_dm (my ESMValTool author reference).
The issue I'd like to raise here is just to ask @bouweandela, @valeriupredoi & @mattiarighi whether it would be okay to add one big PR for all these features (once #550 has been merged, of course), instead of adding them one at a time. It may agglomerate several changes at once, but I think making them separate PR would be much more work for everyone.
Either way, I'm looking forward to closing lots of issues!

this looks both great and scary: for me smaller PR's that are not too small will do better than a monster PR :grin:

Note that issue #673 and PR#711 addressed the new scalar plots.
Issue #739 and PR #740 add some new features, a new recipe, and start to bring in the new documentation in diagnostic_timeseries, diagnostic_tools and diagnostic_transect.

I think that most of these issues were addressed over several PRs, notably #740 & #763.


wxWidgets build failure - missing libraries for wxStyledTextCtrl

Host Environment

OS: Windows 11
Compiler: Visual Studio 2022 17.01, CMake 3.8

To Reproduce
Steps to reproduce the behavior:
First I installed wxWidgets to my project:
> .\vcpkg\vcpkg install wxWidgets:x64-windows
Next, wrote the following into my CMake file:
# CMakeList.txt : CMake project for vcpkg-styled-text-issue, include source and define
# project specific logic here.
#
cmake_minimum_required (VERSION 3.8)

project ("vcpkg-styled-text-issue")

find_package(wxWidgets REQUIRED)

# Add source to this project's executable.
add_executable (vcpkg-styled-text-issue WIN32 "vcpkg-styled-text-issue.cpp" )

target_include_directories(vcpkg-styled-text-issue PRIVATE ${wxWidgets_INCLUDE_DIRS})
target_link_libraries(vcpkg-styled-text-issue ${wxWidgets_LIBRARIES})
target_compile_definitions(vcpkg-styled-text-issue PRIVATE ${wxWidgets_DEFINITIONS} "$<$<CONFIG:DEBUG>:${wxWidgets_DEFINITIONS_DEBUG}>")

option(USE_WXRC "Use the wxrc resource compiler" ON)
if(USE_WXRC)
    execute_process(
        COMMAND "${wxWidgets_wxrc_EXECUTABLE}" --help
        RESULTS_VARIABLE error_result
    )
    if(error_result)
        message(FATAL_ERROR "Failed to run wxWidgets_wxrc_EXECUTABLE (${wxWidgets_wxrc_EXECUTABLE})")
    endif()
endif()

And finally the following cpp file:
// wxWidgets "Hello world" Program
// For compilers that support precompilation, includes "wx/wx.h".

#include <wx/stc/stc.h>
#include <wx/wxprec.h>
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
class MyApp : public wxApp
{
public:
	virtual bool OnInit();
};
class MyFrame : public wxFrame
{
public:
	MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size);
private:
	void OnHello(wxCommandEvent& event);
	void OnExit(wxCommandEvent& event);
	void OnAbout(wxCommandEvent& event);
	wxDECLARE_EVENT_TABLE();
};
enum
{
	ID_Hello = 1
};
wxBEGIN_EVENT_TABLE(MyFrame, wxFrame)
EVT_MENU(ID_Hello, MyFrame::OnHello)
EVT_MENU(wxID_EXIT, MyFrame::OnExit)
EVT_MENU(wxID_ABOUT, MyFrame::OnAbout)
wxEND_EVENT_TABLE()
wxIMPLEMENT_APP(MyApp);
bool MyApp::OnInit()
{
	MyFrame* frame = new MyFrame("Hello World", wxPoint(50, 50), wxSize(450, 340));
	frame->Show(true);
	return true;
}
MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
	: wxFrame(NULL, wxID_ANY, title, pos, size)
{
	wxMenu* menuFile = new wxMenu;
	menuFile->Append(ID_Hello, "&Hello...\tCtrl-H",
		"Help string shown in status bar for this menu item");
	menuFile->AppendSeparator();
	menuFile->Append(wxID_EXIT);
	wxMenu* menuHelp = new wxMenu;
	menuHelp->Append(wxID_ABOUT);
	wxMenuBar* menuBar = new wxMenuBar;
	menuBar->Append(menuFile, "&File");
	menuBar->Append(menuHelp, "&Help");
	SetMenuBar(menuBar);
	CreateStatusBar();
	SetStatusText("Welcome to wxWidgets!");
	auto* fail_test = new wxStyledTextCtrl(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxBORDER_NONE);
}
void MyFrame::OnExit(wxCommandEvent& event)
{
	Close(true);
}
void MyFrame::OnAbout(wxCommandEvent& event)
{
	wxMessageBox("This is a wxWidgets' Hello world sample",
		"About Hello World", wxOK | wxICON_INFORMATION);
}
void MyFrame::OnHello(wxCommandEvent& event)
{
	wxLogMessage("Hello world from wxWidgets!");
}

This does not compile because of the following line:
	auto* fail_test = new wxStyledTextCtrl(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxBORDER_NONE);
The wxStyledTextCtrl appears to require library files which aren't being imported in the
target_link_libraries(vcpkg-styled-text-issue ${wxWidgets_LIBRARIES})
call of the CMakeLists.txt file.
Failure logs
LNK2019	unresolved external symbol "__declspec(dllimport) public: __cdecl wxStyledTextCtrl::wxStyledTextCtrl(class wxWindow *,int,class wxPoint const &,class wxSize const &,long,class wxString const &)" (__imp_??0wxStyledTextCtrl@@QEAA@PEAVwxWindow@@HAEBVwxPoint@@AEBVwxSize@@JAEBVwxString@@@Z) referenced in function "public: __cdecl MyFrame::MyFrame(class wxString const &,class wxPoint const &,class wxSize const &)" (??0MyFrame@@QEAA@AEBVwxString@@AEBVwxPoint@@AEBVwxSize@@@Z)

LNK2019	unresolved external symbol "__declspec(dllimport) public: virtual __cdecl wxStyledTextCtrl::~wxStyledTextCtrl(void)" (__imp_??1wxStyledTextCtrl@@UEAA@XZ) referenced in function "public: virtual void * __cdecl wxStyledTextCtrl::`scalar deleting destructor'(unsigned int)" (??_GwxStyledTextCtrl@@UEAAPEAXI@Z)

Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.

Hi @LilyWangLL! I saw the requ tag added to the issue. Are there any instructions I may have missed when I opened the issue? I have only tried this on a single computer, so it's possible the problem is related to my environment. If you're not seeing the problem let me know and I can look more into why it may be happening.

Sorry, I reproduced this issue locally, I will confirm the reason soon.

@7Redacted Thanks for posting this issue. wxWidgets has many components, you need choose components which is needed by the project, the library wxmsw31u_stc.lib corresponds to component stc, so this should use find_package(wxWidgets REQUIRED COMPONENTS core base stc OPTIONAL_COMPONENTS net). This command is provided by CMake in file FindwxWidgets.cmake.

@LilyWangLL Thanks for the information! I missed that WxWidgets has these extra options.
For anyone who finds this issue and would like to read up on the documentation I missed, here are some links:
WxWiki: CMake
https://wiki.wxwidgets.org/CMake
WxWidgets.org CMake Overview:
https://docs.wxwidgets.org/trunk/overview_cmake.html
Cmake.org Find wxWidgets:
https://cmake.org/cmake/help/latest/module/FindwxWidgets.html


Update default-sharepoint-groups.md

Updated to reflect that there is no blocking of users adding Everyone but external users on group-connected team sites.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

Good morning @scanum , can you help @melitoSP and I get this PR merged? Looks like the edits were approved a few weeks ago.

Closing this ticker. I opened a new PR in the private repo. #3717


Bot Control

We've gotten a bunch of bots making accounts through the users/sign_up page. They generally aren't confirmed and they are easily spotted by their random first and last names, but it is annoying to have to go back and clean them all up.
It would be good to have an invisible captcha working on the sign up page that would reject bot input.

#471 seems to have fixed this problem.


Make educational example of different normalisation, color bar, etc...

Use a MC to show different options of portrait plots:

relative diff, RMSE, ratio
shading vs. numbers
etc...

RMSE Portrait plot
Color for normalized metrics value

Color for NON-normalized metrics value

Non-RMSE Portrait plot
Color for normalized metrics value

Color for NON-normalized metrics value

@eguil @yyplanton @gleckler1 what do you think? Any feedback/suggestion welcome

@eguil @yyplanton @gleckler1  Great examples Jiwoo.  For the non-normalized RMSE you could make an effort to encapsulate more rows by change the color min/max to 0-5... with that more of the rows will probably not be blue but it will still clearly demonstrate the issue of comparing results from different metrics.

@gleckler1 great idea, which look like below.
non-normalized RMSE (example 2)

Use these in presentation for CLIVAR group
try using max of metrics or average of 5 max
try defining expert-chosen thresholds

Another example: Normalized by maximum of each row.

why don't we get any reds ?

It is normalized as: [E(model) - E(max)] / E(max), which makes all numbers as negative. Please let me know if you were indicating in different way. I am not sure you meat [E(model) - E(median)] / E(max)?

I think they meant E(model)/E(max) … no E(median).   So some should be close to one.
From: Jiwoo Lee<EMAIL_ADDRESS>Reply-To: eguil/ENSO_metrics<EMAIL_ADDRESS>Date: Monday, May 13, 2019 at 12:40 PM
To: eguil/ENSO_metrics<EMAIL_ADDRESS>Cc: gleckler1<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [eguil/ENSO_metrics] Make educational example of different normalisation, color bar, etc... (#34)
It is normalized as: [E(model) - E(max)] / E(max), which makes all numbers as negative. Please let me know if you were indicating in different way. I am not sure you meat [E(model) - E(median)] / E(max)?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/eguil/ENSO_metrics/issues/34?email_source=notifications&email_token=ABCXVLJUERO3GJKJUA2BDFLPVG72FA5CNFSM4HJOJRW2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVJK6JA#issuecomment-491958052, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABCXVLJKWZQHQR7FPDVREU3PVG72FANCNFSM4HJOJRWQ.

Another example 2: Normalized by maximum of each row.
E(model) / E(max)


Missing Details about GDI+ and other sandbox limitations

Currently in standard Azure functions there are serious limitations because of the sandbox for GDI+ meaning that System.Drawing.Common fails in most cases like using EPPlus to work on excel files.
We're looking at hosting our Azure functions in k8s this way specifically to get around this limitation.  But we need to know if there is a way of disabling these checks in the azure functions runtime when published to a k8s hosted environment which of course shouldn't have these issues because it's running on separate hardware (or VMs) on linux.
(in fact these limitations should be disabled if the functions are deployed in docker too because there is no surface attack in the docker image.)
Please update the documentation to clearly outline what the limitations are with regard to GDI access/System.Drawing.Common and how to disable the limitations in the azure function runtime at debug and while deployed in k8s if possible.
Thanks!

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

ID: 2cbf4053-0a3d-a803-3e0d-8cf28db358e8
Version Independent ID: 782efd9c-beea-249c-f8e8-4ee4389bfb07
Content: Azure Functions on Kubernetes with KEDA
Content Source: articles/azure-functions/functions-kubernetes-keda.md
Service: azure-functions
GitHub Login: @jeffhollan
Microsoft Alias: jehollan

@JohnGalt1717 Thank you for your feedback! We have assigned this issue to the author to review further and take the right course of action.

I don't believe there are any checks in the runtime itself against these libraries.  But will confirm.  All the checks happen on the platform the runtime is running on.  I cannot think of any reason you wouldn't be able to use a .NET Core Linux compatible library within Azure Functions in Kubernetes (or running in a custom container on any hosted platform - Azure Functions Premium included)

Also note that there are likely system dependencies you'll need to include in the docker environment for this to work.  But the runtime isn't blocking them.
https://github.com/dotnet/dotnet-docker/issues/618#issuecomment-537253642

@jeffhollan the Azure Functions runtime throws if you use EPPlus or any other Excel library that I've found in it.  And it explicitly blocks the calls telling you that they're forbidden. (this is without docker)
On Azure Application Services, code that worked 4 months ago, now throws at run time with a method not found error.  And yes I have all of the dependencies loaded into our docker image.

@JohnGalt1717 can you create or link a GitHub issue? I can’t repro the runtime blocking these - very possible the Azure platform is (specifically windows consumption). But if runtime causing issue would be a bug that should likely be tracked on azure/azure-functions-host with details of how to repro

@JohnGalt1717 it sounds like this may actually be a bug per Jeff. If so, please open an issue in the host repo. In the meantime, we'll close this documentation issue. #please-close

@jeffhollan @ggailey777   This ticket is ancient.  Largely because of this we moved to Kubernetes to avoid having to deal with all of the bugs and issues with Azure Functions.


Pods SDweb lib usage conflicts

I have a project in which we used this SDK and also have SDweb externally used as well.
if we try to update SDWeb library, it breaks
[!] CocoaPods could not find compatible versions for pod "SDWebImage/GIF":
  In Podfile:
    CleverTap-iOS-SDK was resolved to 3.5.0, which depends on
      SDWebImage/GIF (~> 4.0)

None of your spec sources contain a spec satisfying the dependency: `SDWebImage/GIF (~> 4.0)`.

You have either:
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.

Hi @Abhishek9634
Looking at the error description what I am understanding is that your Application is pointed to a different version of SDWebImage whereas CleverTap iOS SDK v3.5.0 is using SDWebImage v4.x. Hence, CocoaPods could not find compatible versions.
If you're using v5.x of SDWebImage, I would recommend installing the latest version of our SDK. We've added support for SDWebImage v5.x in our release version 3.6.0 and above.
Check our Change Log here.
Hope this helps!

@Abhishek9634 @Aditi3 to add to this i do face the same problem with applozic ios sdk and clevertap ios sdk.
Problem here is both use SDWebImage but not the same version so i can not install the applozic using pods as it keeps giving problem. Can you guys find a better solution? May be try not specifying the version for SDWebImage or allow to support range of versions instead of one.

@Abhishek9634 @Aditi3 did anyone managed to take a look at this?

hi @hb2708
Based on my experience I have had with SDWebImage that made us specify the version in our podspec file.
SDWebImage had done some changes in version 5.x which required modification at their user base as well. We too had to update the code while updating SDWebImage to 5.x.
Well, this is one of the examples and in my understanding, it's a standard practice to specify the version of the dependencies to ensure your project build is successful.
Currently, we support the 5.x series of SDWebImage.
Still, if the user runs into an issue and then, I would recommend to have a look at our changelog and verify which version of SDWebImage is compatible with their project structure and install that release of ours.
Thank you!

@Aditi3 did you consider to get rid of SDWebImage and implement the required functionality manually, only using APIs provided by Apple? I still find it bloat that we have to ship and all of our customers have to download. It's not ideal either way; developers who are using SDWebImage might depending on another version, and developers who don't use it, don't want to have it as a transitive dependency.


Combine langchain retrievers

Issue you'd like to raise.
I am using ConversationalRetrievalChain. I have created two vector stores and I want the query from ConversationalRetrievalChain to be compared against both vector stores and results from both vector stores to be used to create the final answer.
So I have decided to create two retrievers
retriever1 = vectorstore1.as_retriever()
retriever2 = vectorstore2.as_retriever()
How can I now override the Retriever class so that when the query is compared against my custom_retriever, it is compared against documents from both retrievers, and documents from both retrievers are used to create the prompt.
Note: i don't want to merge the vectorstores because that messes up the similarity search.
Suggestion:
No response

@dosu-bot
I tried running your code and get this issue:
"CustomRetriever" object has no field "retrievers".
Can you modify your code?

@RishiMalhotra920 you can user a merge retriever, already does this job for you.
https://python.langchain.com/docs/integrations/retrievers/merger_retriever

@GMartin-dev when I try to merge two retrievers I get answers from ConversationalRetrivalChain based on only the first retriever present in the list of retrievers defined
Like if I do this-
merger = MergerRetriever(retrievers= [vectordb_ret,db1_ret])
Then LLM is only able to get perfect answers when query is about vectordb_ret
Once I ask question related to db1_ret it doesn't give back correct answer please help

@GMartin-dev when I try to merge two retrievers I get answers from ConversationalRetrivalChain based on only the first retriever present in the list of retrievers defined
Like if I do this- merger = MergerRetriever(retrievers= [vectordb_ret,db1_ret])
Then LLM is only able to get perfect answers when query is about vectordb_ret Once I ask question related to db1_ret it doesn't give back correct answer please help

Could be a lot of stuff happening:

The second retriever is not getting relevant documents correctly.
The model could not be good enough to figure out the answer or the prompt is too complex.
The context could be too long and you have a "lost in the middle" issue.

do you have a link to a run on langsmith to debug/ take a look to the prompt?

@GMartin-dev No,  I don't have access to langsmith

@GMartin-dev I am using ChromaDB vector-store is that what causing the problem??


[server] Implement handle messages

The RPC server now has a transport that receives the messages when we run it, but there is no logic on how should respond or act on each of them.
We need to handle:

Create Port
Request Module
Destroy Port
Request

WIP. Linked the PR


Missing the ability to handle nested m3u8 for subtitle files?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.01.02 (update instructions) or later (specify commit)
[X] I've searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
I am not sure if it's a bug or by design, so here is a question...
When I tried to download an m3u8 with subtitle file, I figured that the downloaded subtitle file (with extension of  .unknown_video) is another m3u8 which points to the real subtitle file link...
So the question is: Can yt-dlp handle nested m3u8 links for subtitle files?
If you want the original m3u8 link, I can give you privately.
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

yt-dlp cannot handle subtitle manifests, only video/master ones. It's not clear from OP whether you passed a subtitle m3u8 or master. If you want me to check, you can send the link
Contact: discord (pukkandan#4207) / reddit (/u/pukkandan) / email<EMAIL_ADDRESS>

The issue is that the subtitle URL looks like https://m.anyplex.com:443/api_v2/getm3u8.jsp;jsessionid=UNKNOWN?.... So yt-dlp is unable to identify it as an m3u8 file. https://github.com/yt-dlp/yt-dlp/blob/506e6205a45b78c91f3d83813dcb8e0ed4bf0932/yt_dlp/extractor/common.py#L2033
Only solution I can think of is to send a HEADRequest and check the Content-Type similar to GenericIE https://github.com/yt-dlp/yt-dlp/blob/506e6205a45b78c91f3d83813dcb8e0ed4bf0932/yt_dlp/extractor/generic.py#L2404-L2412


Timeline: Show full commits history for a renamed file

Hey,
Thank you for this awesome Timeline feature.
I face that now it doesn't show full commits history for a renamed file. With git I could get it with --follow arg like git log --follow ./PATH/TO/FILE.
Could something like --follow arg be implemented for vscode too?

btw I'll be glad to work on this feature if it's possible. Do I correctly understand that it could be fixed in https://github.com/microsoft/vscode/blob/master/extensions/git/src/git.ts#L857 by adding --follow arg? Or this feature requires more complex change?

 It affects how merge commits are shown (they won't be), and even if you try other git incantations to restore the merge commits it also has a series of unwanted changes. Basically I haven't yet figured out any way to get an equivalent history with and without --follow. There are also other consequences as well, as determining how to diff with the previous revisions, because of the filename changing.
I've gone through a lot of this pain in the GitLens File History feature, a more powerful version of the Timeline view (though only for Git file history), which provides a toggle for following renames or not. And currently, I'm not convinced it is worth the effort and complexity to bring this over (unless there is overwhelming demand).
In the meantime, you can try the GitLens File History feature. And once the Timeline API is finalized, I will probably bring GitLens' richer features directly into the Timeline view.

GitLens currently provides this feature and as mentioned above it is tricky and has many issues/limitations.

Visual Studio have this by default....

Was there any progress on the timeline API integration of gitlens since then?

GitLens has its own File History view, which is a richer version of the Timeline view. But right now, since the Timeline APIs are still in the proposed state, GitLens can't use them.

GitLens can now show "Renamed Files" in the Git History, see:
https://github.com/gitkraken/vscode-gitlens/issues/2828
Sadly, VSCode still can't show it in their own History.
Did someone forwarded this to VSCode developer?


README contains a broken link

<EMAIL_ADDRESS>

Thanks!


Adding PHP binding

I want to add PHP Binding for the nice OPENDAL community. Do we currently have plans to do this? If so, can someone please tell me where to start?

I'm guessing we can use https://crates.io/crates/ext-php-rs for this job.

This is pretty good to start. Although the updates to this repository are a bit inactive, but I think it's enough for us. I will try to make a demo now.
Do we have any documentation on how to create a binding here?

Do we have any documentation on how to create a binding here?

Sadly, there is no documentation on how to create a binding. You can take python bindings first PR as an example: https://github.com/apache/incubator-opendal/pull/1205.
We can add bindings/php with Cargo.toml first. Maybe add a hello_world function to make sure we can call rust code from php.


Give a banner to the homepage , maintaining industry standards in writing the code.

I have added a design which users can follow to do the banner image of the homepage.

Before coding the banner, remember to make a folder named 'components' inside 'src' folder
Inside that components folder add a folder named 'Banner, now inside that folder add 'HomeBanner.jsx' and 'homebanner.css'
Inside the 'HomeBanner.jsx' follow the below design pattern and code it
Call that 'HomeBanner.jsx' inside 'Home.jsx' file
Give a proper commit and declare issue number before pull request

I have added a design which users can follow to do the banner image of the homepage.

Before coding the banner, remember to make a folder named 'components' inside 'src' folder
Inside that components folder add a folder named 'Banner, now inside that folder add 'HomeBanner.jsx' and 'homebanner.css'
Inside the 'HomeBanner.jsx' follow the below design pattern and code it
Call that 'HomeBanner.jsx' inside 'Home.jsx' file
Give a proper commit and declare issue number before pull request

Ok, fine. in the middle profile card of "john doe" inside of it there is an image of another profile card , where can I get this ?

For now you can add a dummy image

@YashNuhash are you working on this issue ?

@YashNuhash are you working on this issue ?

Yes

Assign me @ItsRoy69

Assign me @ItsRoy69

I would like to encourage you to consider contributing to other issues as I am already working for this .

@praptisharma28 since @YashNuhash was having conversation and assured that he's gonna work there, so he


Fixup various nix and CHaP issues

Still building this, but it looks promising.

@kderme feel free to take what you like from this, e.g. you can revert the one removing the node s-r-p if you want to do it that way.

Many thanks. Though I get this very strange error

What command are you running?

Any nix-build and nix-shell command like
nix-build -A cardano-db-sync -o db-sync-node

Yikes. You appear to have two parallel setups in flake.nix and default.nix, that's very surprising. I'll fix up default.nix also.

Done, I think.

I cherry-picked most of this here https://github.com/input-output-hk/cardano-db-sync/pull/1332. Thanks!


can not list endpoint

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
1 create ingress & service & endpoint
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: vscode
spec:
  ingressClassName: traefik
  rules:
  - host: code.local
    http:
      paths:
      - backend:
          service:
            name: vscode
            port:
              number: 80
        path: /
        pathType: Prefix
---
apiVersion: v1
kind: Service
metadata:
  name: vscode
spec:
  ports:
  - name: https
    port: 80
    protocol: TCP
    targetPort: 8080
  type: ClusterIP
---
apiVersion: v1
kind: Endpoints
metadata:
  name: vscode
subsets:
- addresses:
  - ip: <IP_ADDRESS>
  ports:
  - port: 8080
    protocol: TCP

2 log traefik-779b68465d-gcskbv
$ kubectl logs -n ingress traefik-779b68465d-gcskb
time="2022-03-01T09:40:58Z" level=info msg="Configuration loaded from flags."
time="2022-03-01T09:48:49Z" level=error msg="Skipping service: no endpoints found" providerName=kubernetes ingress=vscode serviceName=vscode servicePort="&ServiceBackendPort{Name:,Number:80,}" namespace=default

What did you see instead?
1 can not open https://code.local/
expect open https://code.local/ success
What version of Traefik are you using?
2.6.1
image: docker.io/library/traefik:2.6.1
What is your environment & configuration?
traefik traefik --global.checknewversion --global.sendanonymoususage --entrypoints.metrics.address=:9100/tcp --entrypoints.traefik.address=:9000/tcp --entrypoints.web.address=:8000/tcp --entrypoints.websecure.address=:8443/tcp --api.dashboard=true --ping=true --metrics.prometheus=true --providers.kubernetescrd.allowCrossNamespace=true --providers.kubernetescrd.allowexternalnameservices=true --metrics.prometheus.entrypoint=metrics --providers.kubernetescrd --providers.kubernetesingress

none
If applicable, please paste the log output in DEBUG level
none

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.


Bug: Background overlay issue on nested modals

Issue: The following issue occurs when using the nested modal functionality. When you open the second modal, an additional background overlay is rendered appropriately, but it is placed under the first modal, which is incorrect. It should be placed between the first and second modal in order to "fade out" the first modal and bring the second modal to the front.
https://storybook-preview-dev--upbeat-sinoussi-f675aa.netlify.app/?path=/story/modal--modal-in-a-modal
https://storybook-preview-dev--upbeat-sinoussi-f675aa.netlify.app/?path=/story/modal--close-modal-with-confirmation

MAST is using a lot of modals over modals and would love to get this fixed.

Confirmed that when using 2 or 3 modals, the background overlay behaves as expected:

This caused an issue with drawers in small screens:


File uploads enhancements

Fixes #23645
Thanks @kanadaj! :rocket: ... This will clarify that line.
... ALSO, malicious hacksters 😠 have gotten right out of control. I feel compelled to offer an alternative that hardens apps and app servers by removing the app and server from the upload and file storage process entirely. My default notion was straight Azure Storage with JS client lib, but Azure Storage doesn't provide a built-in container quota, only by storage account ... Azure Files does! Let's consider including the added section on this PR to call out this approach and cross-link to the Azure Files docs for it. Devs will need to work out the implementation on their own using Azure Files/JS client/REST API resources, but at least they'll be aware of it.

@TanayParikh can you please review this? Let's sync up after you've done so.

... and @TanayParikh ... reminder that you already approved the stream remarks on the issue. This is held up because of the Azure Files remarks. I don't like pitching cross-tech/replacement tech without management approval, even if it is Azure, which we generally ❤, of course! 😄

@mkArtakMSFT ... I fixed up that external service concept section. I continue to favor Azure Files because of the way it provides a quota feature by share. That's 🔥 HOT 🔥 imo. When we're done with this section (if it requires more work), I'll wait for Pranav to respond :point_up: and react to his feedback before merging this PR.
Do you want an issue to create a new doc for this 'external service' approach for Azure Files? If so, what priority should the issue be given?


[theepochtimes] Extractor failed to obtain "id"

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.11.11 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
USA
Provide a description that is worded well enough to be understood
test link:
https://www.theepochtimes.com/silence-patton-documentary_4849547.html?utm_source=Goodevening&src_src=Goodevening&utm_campaign=gv-2022-11-12&src_cmp=gv-2022-11-12&utm_medium=email&est=uyZCqTNmojfwLYHnMi5DS06s5f%2F6IM2LnN4Gt%2FUIpUKXLZEAH9cRusiMFw%3D%3D
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
./yt-dlp -vU -F "https://www.theepochtimes.com/silence-patton-documentary_4849547.html?utm_source=Goodevening&src_src=Goodevening&utm_campaign=gv-2022-11-12&src_cmp=gv-2022-11-12&utm_medium=email&est=uyZCqTNmojfwLYHnMi5DS06s5f%2F6IM2LnN4Gt%2FUIpUKXLZEAH9cRusiMFw%3D%3D"
[debug] Command-line config: ['-vU', '-F', 'https://www.theepochtimes.com/silence-patton-documentary_4849547.html?utm_source=Goodevening&src_src=Goodevening&utm_campaign=gv-2022-11-12&src_cmp=gv-2022-11-12&utm_medium=email&est=uyZCqTNmojfwLYHnMi5DS06s5f%2F6IM2LnN4Gt%2FUIpUKXLZEAH9cRusiMFw%3D%3D']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.11.11 [8b644025b] (zip)
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Python 3.10.8 (CPython arm64 64bit) - macOS-12.6.1-arm64-arm-64bit (OpenSSL 1.1.1s  1 Nov 2022)
[debug] exe versions: phantomjs 2.1.1
[debug] Optional libraries: sqlite3-2.6.0
[debug] Proxy map: {}
[debug] Loaded 1765 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.11.11, Current version: 2022.11.11
yt-dlp is up to date (2022.11.11)
[debug] [Epoch] Extracting URL: https://www.theepochtimes.com/silence-patton-documentary_4849547.html?utm_source=Goodevening&src_src=Goodevening&utm_campaign=gv-2022-11-12&src_cmp=gv-2022-11-12&utm_medium=email&est=uyZCqTNmojfwLYHnMi5DS06s5f%2F6IM2LnN4Gt%2FUIpUKXLZEAH9cRusiMFw%3D%3D
[Epoch] 4849547: Downloading webpage
[Epoch] 4849547: Downloading m3u8 information
ERROR: [Epoch] Extractor failed to obtain "id"; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
Traceback (most recent call last):
  File "./yt-dlp/yt_dlp/YoutubeDL.py", line 1493, in wrapper
    return func(self, *args, **kwargs)
  File "./yt-dlp/yt_dlp/YoutubeDL.py", line 1590, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "./yt-dlp/yt_dlp/YoutubeDL.py", line 1649, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "./yt-dlp/yt_dlp/YoutubeDL.py", line 2469, in process_video_result
    raise ExtractorError('Extractor failed to obtain "id"', ie=info_dict['extractor'])
yt_dlp.utils.ExtractorError: [Epoch] Extractor failed to obtain "id"; please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U

Because content is geo-restricted the video (https://allritesdeliver.s3.us-east-2.amazonaws.com/90265/main/play-90265.m3u8) is DRM protected. This is not supported, but of course the error message can be improved...


Schedule PruneFailedJobsCommand

Laravel 8.48 introduced a PruneFailedJobsCommand to prune stale jobs from the failed jobs database table. This way the table doesn't grow indefinitely. We do the same for telescope as is recommend here, so there's no reason not to add this change as long as we are regularly reviewing our logs and this table.
Video explanation from Mohamed here.
IMO we might want to consider scheduling this weekly instead of daily.

Command scheduled. Closing.


Bug: Decorator nodes block hotkey movements

Lexical version: 0.13.1
Related: https://github.com/sodenn/lexical-beautiful-mentions/issues/382
Steps To Reproduce

Setup text between two decorator nodes
Position cursor in-between the two decorator nodes.
Hit Control-A and Control-E
Observe cursor is blocked by the decorator nodes instead of moving to front/end of the line

The current behavior

The expected behavior
Decorator nodes have no impact on normal keyboard shortcuts for text editing.

Control-A: Move to the beginning of the line or paragraph.
Control-E: Move to the end of a line or paragraph.
Source: https://support.apple.com/en-us/HT201236

Closing this as it seems to be a bug with Chromium. Here is an existing relevant bug report: https://issues.chromium.org/issues/41484126
For reference, the reason this shortcut doesn't work as intended is that we set contenteditable="false" on the inline decorator nodes.
I've checked in the playground and this works correctly on Firefox as in the bug mentioned above.


Add types to sets pages

Problem Description:
Sets currently do not render their types.
Expected Behavior/Solution:
Render the types.
Requirements:

[x] Add getTypes function to collections about page for rendering types list (kam ticket)

Needed for promotion:
If an item on the list is not needed, it should be crossed off but not removed.

[ ] ~Wireframe/Mockup - Mike~
[ ] ~Committee discussions - Sarah~
[ ] ~Feasibility/Team discussion - Sarah~
[ ] ~Backend requirements - TBD~
[x] Frontend requirements - Kam
[ ] ~Are new regression tests required for QA - Amy~
[ ] ~Questions~

UAT/LUX Examples:

TST: https://lux-front-tst.collections.yale.edu/view/set/664c4aeb-532f-46a2-9db8-4d0b51c73a64
PRD: https://lux.collections.yale.edu/view/set/664c4aeb-532f-46a2-9db8-4d0b51c73a64

Dependencies/Blocks:
N/A
Related Github Issues:

#88

Related links:
N/A
Wireframe/Mockup:
Current:

Update:

@kamerynB - Noticed the Exhibition Event doesn't show in TST/DEV. Can this be a hot fix? Else I can add a new tix for this.

@kamerynB apologies, I realized they were separate tickets after making the comment.
This ticket is approved by UAT

Closing as this ticket was marked as Done the week of 6/3.


"Family" of objects and opt-in

Hi! We are very excited about this project.
Is it possible to create a "family" of objects , where the user choice to tap one object once lets automatically opt-in for all the objects of the same "family" (such as those of the same domain)?
Thanks!

Interesting idea. Could you clarify a bit for me? Once the user 'opts in' to beacons from one domain, how would the user experience change?

Hi Scott! Thanks for your answer.
I'll explain my idea through a very simple example: I am a student and I always catch the bus at stop A. So I did my first opt-in at stop A (bus ETA, traffic info, etc.). If I am around stop B (same "beacon family/domain" of stop A) it would be useful to have those informations on my screen without "opting in" at stop 2.
In other words: you allow, opting-in once, all the same-domain-beacons to exit the proxy system.

This is interesting because I am exploring using the beacons in the same way, for providing transit information on public transport
Sent from my iPhone
On 17 Feb 2016, at 3:17 PM, petronius12 <notifications<EMAIL_ADDRESS>wrote:
Hi Scott! Thanks for your answer.
I'll explain my idea through a very simple example: I am a student and I always catch the bus at stop A. So I did my first opt-in at stop A (bus ETA, traffic info, etc.). If I am around stop B (same "beacon family/domain" of stop A) it would be useful to have those informations on my screen without "opting in" at stop 2.
In other words: you allow, opting-in once, all the same-domain-beacons to exit the proxy system.

Reply to this email directly or view it on GitHubhttps://github.com/google/physical-web/issues/593#issuecomment-185358217.

Sorry, but what does 'exit the proxy system' really mean? It is very likely  the bus stop B web page has a different description (e.g. "Bus line B, heads toward city center") If we opted out of the proxy system, it's not clear what we would show the user.

Ok, I'll try to explain better my idea.
Question A: An owner of a small business has a beacon transmitting an URL of offers / promo codes installed in his shop. A customer X chooses to "opt-in" in that webpage. Two days later, the same customer X come back in the shop A without opting-in in the webpage, but keeping active the Chrome functionality to find beacons around him. So he can see the webpage, but he doesn't need to opt-in again.
Can the owner of the shop know that the people who opted-in in the webpage come back in the shop (without another opt-in by the customer/user), thanks to the "call" by the customer X device to the owner server?
Question B: Same as above, but the owner has 2 shops: A and B. Same domain webpages (eg. grocery.com/shopA and grocery.com/shopB). Can the owner of the shops A&B know that the people who opted-in in the webpage at shop A come back, even if they come back in shop B (without another opt-in by the customer/user)?
Everything is anonymous, of course: no log-in needed, just a very useful data analysis.

At this point, skipping a user opt-in isn't possible. As the Physical Web is a universal scanner it could be used by any company to track users in any store so that is why we are requiring users to a) choose to see the list of nearby beacons and b) click on one each time they are nearby. This ensures the user really wants to interact with your web page.
Your proposal is that anytime the user visits a store web page, that is adequate opt in to allow tracking in future stores. Unfortunately, this is simply impractical to do as this type of background scanning would require large amounts of battery. More importantly, it just doesn't feel like adequate opt-in by the user. We realize this limits your ability to track users and appreciate that this is a use case many companies would like to do. However, as this is a new technology, we feel it is exceptionally important to protect the user (possibly over protect at this early stage) so they can trust in how the product works.
However, a variation of this task should eventually be possible using service worker as that would require a clear and obvious user opt-in. So this idea could happen, with adequate user protections, in the future. It's just not possible right now.
Scott

Thank you for your answer. We have 2 more questions:

is it possible for a developer to change the beacon URL description "dynamically"? I mean, is it possible to write command-lines in order to change that description according to different parameters?
is this change "real-time" or does it need some time to refresh?

Sorry for the delay. We've been approached by others on this question. This really depends on the caching that is done by the scanner. Our scanner holds information for at least 5 minutes before rescanning the page on the next request. Other scanners (like Opera's) may be different.
This means that if you update the description in the page:
   <meta name="description" content="something">

"something" will show up in the list view in approximately 5 minutes. There is a proposal to let the web page suggest how long caching should take place by just looking at the cache headers. This is under consideration but not finalized yet.
Does this answer your question?

@petronius12 Both the meta description and the title tag can dynamically change based on the complete URL received. There is a early example on the youtube of the weather wear beacon changing the Title and Description based on the complete URL. It is easy to accomplish on the serverside with the likes of PHP, etal. The original example changed often by cycling through temperature, pressure, and humidity. In that case a cacheing of 5 minutes is more than reasonable for that app. The real time comes from the fact that the complete URL is changing.

Yes, it answered my question. Thank you so much for your time, you have been very helpful to us.
Any idea about the Chrome 49/mobile versions release date?

It should be rolling out over the next few weeks

Expanding on Scott's suggestion to use Service Worker:

Physical Web opt-in is universal (you only need to do it once, for all urls), but all it does it let you see nearby results.  It will never automatically open pages or give the page any signal that you are nearby.

Once you open a URL, there are ways to have that page persist on your phone and continue to run in the background.  E.g. add-to-homescreen / service-worker.  This can be "per-domain", and is not tied to physical web / beacons in any way.  It's just a thing the web can do these days.

Unfortunately, while the web does have access to geolocation, there are not yet web api's for geofencing or beacon scanning (which you would need to accomplish the task you wanted).  These would be useful apis, but they simply aren't available today.

So, I think for today, you would have to write a native app to solve your problem -- but then you lose the benefits of discovery with Physical Web.
(Also, it's not necessarily a good idea to track users like this, you should be clear what you intend and tread carefully!)


Error/lint on non-use of return values once purity is completely tracked

I just spent some time debugging a simple case where I meant to write ^func args and instead had func args

Yeah this would be very easy if the function is known to be pure. Unfortunately if the function is impure the same mistake can be made :( If there were more type information (static analysis) available, there could be a lint that warns when e.g. a function returns a map but isn't being merged.

Good point, checking the type would probably be better.  This seems like a relatively lightweight check, some lints like this could probably be turned on by default (without specifically enabling linting)


[Feature Request]: Make it configurable whether auto-update is executed in battery mode

The request
It would be nice to have a checkbox (or another form of configuration) where you can select the following:

Also execute auto-update in battery mode
Suppress auto-update in battery mode

A manually started update should always be performed, even in battery mode.
Is your feature request related to a problem?
The problem is that many updates take a long time and drain battery power.

Additional information
No response

As a starting point, we need some scripted logic to verify that we can get that info out of the system.
We need some digging on win32-computersystem class and some custom flags to cover all cases related to batterymode.

I need some volunteers to test it (I do not have a laptop so I cannot guarantee the accuracy of script part related to BatteryStatus class). That is why explain the whole idea behind this script here and not as a Pull Request.

    Enum PCsystemType {
        Unspecified = 0
        Desktop = 1
        Mobile = 2
        Workstation = 3
        EnterpriseServer = 4
        SOHOServer = 5
        AppliancePC = 6
        PerformanceServer = 7
        Maximum = 8
    }

    Enum BatteryMode {
        NA = -1
        NO = 0
        YES = 1
    }

If everything lands in one ps1 file, just above the function block, then those enums will be available during execution of the whole WAU.
Then we need an actual function which would would look like this:
Function Get-PCSystemTypeandBatteryInfo()
{
    $ret = [PSCustomObject]@{
        PCSystemType = [PCsystemType]::Unspecified
        BatteryMode = [BatteryMode]::NA
    };
    [UInt16]$PCSystemType = (Get-CimInstance -Class Win32_ComputerSystem -Property PCSystemType).PCSystemType;
    $ret.PCSystemType = [enum]::GetName([PCsystemType],$PCSystemType);
    if($ret.PCSystemType -eq [PCsystemType]::Mobile)
    {
        $ret.BatteryMode = (Get-CimInstance -Class BatteryStatus -Property PowerOnLine).PowerOnLine;
    }
    else
    {
        # this is not a mobile device with a battery, so
        # A $ret.PCSystemType is still accurate
        # B $ret.BatteryMode remains as N/A
    }
    return $ret;
}

Once that function is called, we should receive a custom object with two pieces of information.
$retVal = Get-PCSystemTypeandBatteryInfo;
$retVal;

On my desktop I got this:

PCSystemType
BatteryMode

Desktop
NA

On a mobile device (with a battery) we should see that:

PCSystemType
BatteryMode

Mobile
YES

or that:

PCSystemType
BatteryMode

Mobile
NO

Later (if script works as expected and there are no unforeseen edge states) those properties can be used in main WAU logic and matched with ADMX settings.
GL
AD

Ah so.. it needs more investigation.
Danke

From: l-uuz @.>
Sent: 27 November 2024 11:42
To: Romanitho/Winget-AutoUpdate @.>
Cc: Andrzej Demski @.>; Comment @.>
Subject: Re: [Romanitho/Winget-AutoUpdate] [Feature Request]: Make it configurable whether auto-update is executed in battery mode (Issue #773)
On my desktop I got this:
Can confirm (Win10).
On a mobile device (with a battery) we should see that:
On my Windows 11 notebook the Get-CimInstance command does not work:
Get-CimInstance : Ungültige Klasse
In Zeile:1 Zeichen:2

(Get-CimInstance -Class BatteryStatus -Property PowerOnLine).PowerOnL ...

 + CategoryInfo          : MetadataError: (:) [Get-CimInstance], CimException
 + FullyQualifiedErrorId : HRESULT 0x80041010,Microsoft.Management.Infrastructure.CimCmdlets.GetCimInstanceCommand

—
Reply to this email directly, view it on GitHubhttps://github.com/Romanitho/Winget-AutoUpdate/issues/773#issuecomment-2503534190, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ASAJCPQ2BWUQQN4JGML4N5T2CWOZZAVCNFSM6AAAAABSLAXYFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBTGUZTIMJZGA.
You are receiving this because you commented.Message ID: @.***>

I often use my PC on battery, and never noticed anything wrong, but what about that:


Rating api is not supporting 10 star rating

We need to update the rating API to support 10 star rating. No it supports only 5 star rating.
Also addRating response object have to be same as the getRating response, otherwise we have do a separate call to get the new rating.

APIM 3.0.0 supports 5 start rating. Hence this is invalid.


Integration page screenshot is now export page in the nav bar

Hi,
The screenshot for configuring the Export storage account in the Azure API for FHIR menu, specifically shows an 'Integration' menu, which has now been moved out of 'Settings' and into 'Transfer and transform data', and the nav page itself is renamed to 'Export'.
Cheers,
Mike

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

ID: aa03c745-ce47-150c-134a-402fa86bb158
Version Independent ID: 7c08c007-a4c3-1c02-c94c-09b539fb4164
Content: Configure export settings in FHIR service
Content Source: articles/healthcare-apis/data-transformation/configure-export-data.md
Service: healthcare-apis
Sub-service: fhir
GitHub Login: @CaitlinV39
Microsoft Alias: cavoeg

Hi @bearmannl Thanks for your findings, I'm assigning this to the author for the feedback review.

This is resolved now. Thanks so much! #please-close


[BUG] wash app commands do not respect wash context

Describe the bug
wash app commands do not use the lattice prefix from the current wash context
To Reproduce
Steps to reproduce the behavior:

wash up -d -x foobar
wash ctx new foobar
2a. wash ctx edit --editor code foobar (update lattice_prefix to foobar)
wash app deploy ~/Downloads/hello.yaml
wait a few seconds for wadm to reconcile
wash get inventory
notice the host is empty
wash app deploy -x foobar ~/Downloads/hello.yaml
wait a few seconds for wadm to reconcile
wash get inventory
notice the host is now running things

Expected behavior
When a context is set, wash app commands should respect that context
Steps to Fix
This one should be pretty easy to fix. Note for most commands, we get a WashConnectionOptions, which takes the context into account. For app commands, however, we're explicitly using the lattice prefix on the command itself, which is ignoring the context. We should use the prefix from the WashConnectionOptions for all the app commands

hey @connorsmith256 ,
so, do we want to ignore/remove the lattice_prefix cmd option altogether? or do we want to do the following:

if lattice_prefix cmd option is provided, use it and ignore WashConnectionOptions.lattice_prefix
else, use WashConnectionOptions.lattice_prefix as the default

@ahmedtadde I think the priority order you described is right 👍

Resolved by #954


GEOMESA-742 add a visibility filter as a security extension to GeoServer

Visibility filtering can be applied using combination of the DataStoreSecurityService by the data store, the geomesa-web-security plugin, and GeoServer configuration.  See README.md for more details.

Merged


Access to owncloud

I am looking for access to ownCloud (https://owncloud.org/).
While owncloud and keepadd do support webdav I am having significant difficulty getting them to communicate properly.

Hi @mattekure,
what are the concrete Problems with OwnCloud and WebDav? As this is generlly supported by both, you have in theory one of the best solutions - out of the box.
I'm unsure whether it makes sense to implement this request: OwnCloud is far beyond a simple system and as user you have to know at least your servers URL - and this must then be supported from KeeAnywhere. Currently this is out of scope because KeeAnywhere focuses on simplicity and the "it just runs" paradigma. Additionally I don't want to invest in, run and maintain my own development OwnCloud-Server.
Regards,
Daniel

In theory,  you are right, and that is exactly the scenario I hoped for when initially setting up keepass and owncloud to work together.
However, there is something incompatible between the webdav implementations of keepass and owncloud.  Using just keepass, I am able to open the webdav hosted file successfully.  However, any attempt to save changes fails.  I dont think this is unique to me as there are numerous posts on both keepass and owncloud forums of people expressing difficulty with getting it to work.
I do understand if you consider this out of scope for your project.  Thank you for your consideration.


Add support for AC (TCL/Kältebringer)

Device info
`"active_time":<PHONE_NUMBER>,
"biz_type": 0,
"category": "kt",
"create_time":<PHONE_NUMBER>,
"¡con": "smart/product_icon2/kt_1.png",
"id': "78004855c45bbed956f5",
"ip": "xxx",
"lat": "xxx",
"local_key": "xxx"
"lon": "xxx",
"model": ""
9
"name": "Klimaanlage Wohnzimmer",
"online": true,
"owner_id": "72997826",
"product_id": "hw50w7qvxluhslkk"
"product_name": "Air conditioner"
"status": [
"code"': "humidity_current",
"value": 0
{
"code"; "mode",
"value": "hot"
{
"code": "switch"
"value": true
{
'Code"': "temp_current",
"value": 23
"code": "temp_set",
"value": 230
{
"code": "temp_set_f",
"value": 61
], "isub": false,
"time zone": "+01:00"
"uid": "xxx",
"schema": [
"'code"': "humidity_current",
"mode": "ro",
"'type"; "Integer",
"property": {
"unit": "%",
"min": 0,
"max": 100,
"scale": 0,
"step": 1
}
П
"'code"': "mode",
"mode": "rw"
"type": "Enum",
"property": {
"range": [
"cold",
"hot",
"wet"
9
"wind"
"'auto"
]
}
},
{
"code"': "switch",
"'mode"': "rw",
"'type": "Boolean",
"property": {}
},
"'code"': "temp_current",
"mode"': "ro",
"type"'; "Integer",
"property": {
"unit": "°C,
"min": -20,
"'max": 100,
"scale": 0,
"step": 1
}
3 9
{
"code"; "temp_set",
"mode": "rw",
"type": "Integer",
"property": {
"unit": "°C,
"min": 160,
"max": 880,
"scale": 1,
"step": 5
}
},
{
"code": "temp_set_f",
"mode": "rw",
"type": "Integer",
"property": {
"unit": "oF',
"min": 61,
"max": 88,
"scale": 0,
"step": 1
`

MQTT log:
Request:
method = get
endpoint = https://openapi.tuyaeu.com
path = /v1.0/homes/72997826/devices
query = undefined
headers = {
"t": "1671091101827",
"client_id": "v7eq4cxmweag54hcgy5f",
"nonce": "1f4cf116-a1e6-425e-b2a0-207e15d3f51d",
"Signature-Headers": "client_id",
"sign": "168AE84A9567BBE0EB6F7A020B5D3C612DC9FF30011C885DFCFD57F12BC52147",
"sign_method": "HMAC-SHA256",
"access_token": "0d74ddc5dded0875c4221f8bff086bdc",
"lang": "en",
"dev_lang": "javascript",
"dev_channel": "homebridge",
"devVersion": "1.0.7"
}
body = null
[15.12.2022, 08:58:22] [TuyaPlatform] [TuyaOpenMQ] Connected
[15.12.2022, 08:58:22] [TuyaPlatform] [TuyaOpenAPI] Response:
path = /v1.0/homes/72997826/devices
data = {
"result": [
{
"active_time":<PHONE_NUMBER>,
"biz_type": 0,
"category": "kt",
"create_time":<PHONE_NUMBER>,
"icon": "smart/product_icon2/kt_1.png",
"id": "78004855c45bbed956f5",
"ip": "<IP_ADDRESS>",
"lat": "49.5645",
"local_key": "f07dfd00d3719a6c",
"lon": "8.0562",
"model": "",
"name": "Klimaanlage Wohnzimmer",
"online": true,
"owner_id": "72997826",
"product_id": "hw50w7qvxluhslkk",
"product_name": "Air conditioner",
"status": [
{
"code": "switch",
"value": true
},
{
"code": "temp_set",
"value": 230
},
{
"code": "temp_current",
"value": 22
},
{
"code": "mode",
"value": "hot"
},
{
"code": "humidity_current",
"value": 0
},
{
"code": "temp_set_f",
"value": 61
}
],
"sub": false,
"time_zone": "+01:00",
"uid": "eu1669901605949pwssf",
"update_time":<PHONE_NUMBER>,
"uuid": "78004855c45bbed956f5"
}
],
"success": true,
"t":<PHONE_NUMBER>171,
"tid": "3ec8ab517c4e11edbff6521277a1eee7"
}
[15.12.2022, 08:58:22] [TuyaPlatform] [TuyaOpenAPI] Request:
method = get
endpoint = https://openapi.tuyaeu.com
path = /v1.0/devices/78004855c45bbed956f5/specifications
query = undefined
headers = {
"t": "1671091102183",
"client_id": "v7eq4cxmweag54hcgy5f",
"nonce": "07a40ba1-8ffe-4f3e-8f42-65872b258ee6",
"Signature-Headers": "client_id",
"sign": "AAD93D1C3AC7523506465FA155DEBCAC7156A240543A05A07B031FE9117B8909",
"sign_method": "HMAC-SHA256",
"access_token": "0d74ddc5dded0875c4221f8bff086bdc",
"lang": "en",
"dev_lang": "javascript",
"dev_channel": "homebridge",
"devVersion": "1.0.7"
}
body = null
[15.12.2022, 08:58:22] [TuyaPlatform] [TuyaOpenAPI] Response:
path = /v1.0/devices/78004855c45bbed956f5/specifications
data = {
"result": {
"category": "kt",
"functions": [
{
"code": "switch",
"type": "Boolean",
"values": "{}"
},
{
"code": "temp_set",
"type": "Integer",
"values": "{"unit":"℃","min":160,"max":880,"scale":1,"step":5}"
},
{
"code": "mode",
"type": "Enum",
"values": "{"range":["cold","hot","wet","wind","auto"]}"
},
{
"code": "temp_set_f",
"type": "Integer",
"values": "{"unit":"℉","min":61,"max":88,"scale":0,"step":1}"
}
],
"status": [
{
"code": "switch",
"type": "Boolean",
"values": "{}"
},
{
"code": "temp_set",
"type": "Integer",
"values": "{"unit":"℃","min":160,"max":880,"scale":1,"step":5}"
},
{
"code": "temp_current",
"type": "Integer",
"values": "{"unit":"℃","min":-20,"max":100,"scale":0,"step":1}"
},
{
"code": "mode",
"type": "Enum",
"values": "{"range":["cold","hot","wet","wind","auto"]}"
},
{
"code": "humidity_current",
"type": "Integer",
"values": "{"unit":"%","min":0,"max":100,"scale":0,"step":1}"
},
{
"code": "temp_set_f",
"type": "Integer",
"values": "{"unit":"℉","min":61,"max":88,"scale":0,"step":1}"
}
]
},
"success": true,
"t":<PHONE_NUMBER>316,
"tid": "3edfaf887c4e11edbff6521277a1eee7"
}

Please try the latest beta. Since homekit AirConditioner only have two mode hot and cold, I have to add dehumidifier and fan accessory to implement the dehumidification and wind mode.

And also @LazLong

Thank you! I have it a short try, and it seem to work! Thank you. Will test more in the next days.
I get an additional Temperature reading that I don’t see in the app, is that the room temperature?

Yes that's the room temperature, is that value correct?

It shows 25 degrees, and should be too high, as the room only is around 21,7 - 22, as I checked with my thermometer.

Merry Christmas! That’s a nice present!Sent from my iPhoneOn 25 Dec 2022, at 07:01, gaosen @.***> wrote:
And also @LazLong
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

It shows 25 degrees, and should be too high, as the room only is around 21,7 - 22, as I checked with my thermometer.

I just get it from temp_current, the document says "Current Temperature", does it changes with time, or with your target temperature?

Unfortunately, my AC not at all happy - will experiment more tomorrow - no rush :)
[25/12/2022, 12:57:45] [TuyaPlatform] Restoring existing accessory from cache: PB-AC05
[25/12/2022, 12:57:45] [@0x5e/homebridge-tuya-platform] Characteristic 'Target Heater-Cooler State': characteristic value 0 is not contained in valid values array. See https://homebridge.io/w/JtMGR for more info.
[25/12/2022, 12:57:45] [@0x5e/homebridge-tuya-platform] Error:
at TargetHeaterCoolerState.Characteristic.characteristicWarning (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:3011:105)
at TargetHeaterCoolerState.Characteristic.validateUserInput (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2932:14)
at TargetHeaterCoolerState.Characteristic.setProps (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2054:35)
at AirConditionerAccessory.configureTargetState (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/accessory/AirConditionerAccessory.ts:263:8)
at AirConditionerAccessory.configureAirConditioner (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/accessory/AirConditionerAccessory.ts:79:10)
at AirConditionerAccessory.configureServices (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/accessory/AirConditionerAccessory.ts:39:10)
at Function.createAccessory (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/accessory/AccessoryFactory.ts:158:15)
at TuyaPlatform.addAccessory (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/platform.ts:340:40)
at TuyaPlatform.initDevices (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/platform.ts:116:12)
at HomebridgeAPI. (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/platform.ts:71:7)
[25/12/2022, 12:57:45] [TuyaPlatform] [PB-AC05] Set props for CurrentTemperature: { minValue: -20, maxValue: 100, minStep: 1 }
[25/12/2022, 12:57:45] [TuyaPlatform] [PB-AC05] Set props for RotationSpeed: { minValue: 0, maxValue: 99, minStep: 33 }
[25/12/2022, 12:57:45] [TuyaPlatform] [PB-AC05] Set props for CoolingThresholdTemperature: { minValue: 16, maxValue: 86, minStep: 1 }
[25/12/2022, 12:57:45] [@0x5e/homebridge-tuya-platform] Characteristic 'Cooling Threshold Temperature': characteristic was supplied illegal value: number 10 exceeded minimum of 16. See https://homebridge.io/w/JtMGR for more info.
[25/12/2022, 12:57:45] [@0x5e/homebridge-tuya-platform] Error:
at CoolingThresholdTemperature.Characteristic.characteristicWarning (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:3011:105)
at CoolingThresholdTemperature.Characteristic.validateUserInput (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2923:14)
at CoolingThresholdTemperature.Characteristic.setProps (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2054:35)
at AirConditionerAccessory.configureCoolingThreshouldTemp (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/accessory/AirConditionerAccessory.ts:302:8)
at AirConditionerAccessory.configureAirConditioner (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/accessory/AirConditionerAccessory.ts:86:10)
at AirConditionerAccessory.configureServices (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/accessory/AirConditionerAccessory.ts:39:10)
at Function.createAccessory (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/accessory/AccessoryFactory.ts:158:15)
at TuyaPlatform.addAccessory (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/platform.ts:340:40)
at TuyaPlatform.initDevices (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/platform.ts:116:12)
at HomebridgeAPI. (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/platform.ts:71:7)
[25/12/2022, 12:57:45] [TuyaPlatform] [PB-AC05] Set props for HeatingThresholdTemperature: { minValue: 16, maxValue: 86, minStep: 1 }
[25/12/2022, 12:57:45] [@0x5e/homebridge-tuya-platform] Characteristic 'Heating Threshold Temperature': characteristic was supplied illegal value: number 0 exceeded minimum of 16. See https://homebridge.io/w/JtMGR for more info.
[25/12/2022, 12:57:45] [@0x5e/homebridge-tuya-platform] Error:
at HeatingThresholdTemperature.Characteristic.characteristicWarning (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:3011:105)
at HeatingThresholdTemperature.Characteristic.validateUserInput (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2923:14)
at HeatingThresholdTemperature.Characteristic.setProps (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2054:35)
at AirConditionerAccessory.configureHeatingThreshouldTemp (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/accessory/AirConditionerAccessory.ts:341:8)
at AirConditionerAccessory.configureAirConditioner (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/accessory/AirConditionerAccessory.ts:87:10)
at AirConditionerAccessory.configureServices (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/accessory/AirConditionerAccessory.ts:39:10)
at Function.createAccessory (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/accessory/AccessoryFactory.ts:158:15)
at TuyaPlatform.addAccessory (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/platform.ts:340:40)
at TuyaPlatform.initDevices (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/platform.ts:116:12)
at HomebridgeAPI. (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/platform.ts:71:7)
[25/12/2022, 12:57:45] [@0x5e/homebridge-tuya-platform] Characteristic 'Target Humidifier-Dehumidifier State': characteristic value 0 is not contained in valid values array. See https://homebridge.io/w/JtMGR for more info.
[25/12/2022, 12:57:45] [@0x5e/homebridge-tuya-platform] Error:
at TargetHumidifierDehumidifierState.Characteristic.characteristicWarning (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:3011:105)
at TargetHumidifierDehumidifierState.Characteristic.validateUserInput (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2932:14)
at TargetHumidifierDehumidifierState.Characteristic.setProps (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2054:35)
at AirConditionerAccessory.configureDehumidifier (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/accessory/AirConditionerAccessory.ts:130:8)
at AirConditionerAccessory.configureServices (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/accessory/AirConditionerAccessory.ts:40:10)
at Function.createAccessory (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/accessory/AccessoryFactory.ts:158:15)
at TuyaPlatform.addAccessory (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/platform.ts:340:40)
at TuyaPlatform.initDevices (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/platform.ts:116:12)
at HomebridgeAPI. (/var/lib/homebridge/node_modules/@0x5e/homebridge-tuya-platform/src/platform.ts:71:7)
[25/12/2022, 12:57:45] [TuyaPlatform] [PB-AC05] Set props for RotationSpeed: { minValue: 0, maxValue: 99, minStep: 33 }
[25/12/2022, 12:57:45] [TuyaPlatform] [PB-AC05] Set props for RotationSpeed: { minValue: 0, maxValue: 99, minStep: 33 }
[25/12/2022, 12:57:45] [TuyaPlatform] [PB-AC05] Update value 0 => 22 for service = '000000BC-0000-1000-8000-0026BB765291', subtype = undefined, characteristic = '00000011-0000-1000-8000-0026BB765291'
[25/12/2022, 12:57:45] [TuyaPlatform] [PB-AC05] Update value 0 => 33 for service = '000000BC-0000-1000-8000-0026BB765291', subtype = undefined, characteristic = '00000029-0000-1000-8000-0026BB765291'
[25/12/2022, 12:57:45] [TuyaPlatform] [PB-AC05] Update value 16 => 20 for service = '000000BC-0000-1000-8000-0026BB765291', subtype = undefined, characteristic = '0000000D-0000-1000-8000-0026BB765291'
[25/12/2022, 12:57:45] [TuyaPlatform] [PB-AC05] Update value 16 => 20 for service = '000000BC-0000-1000-8000-0026BB765291', subtype = undefined, characteristic = '00000012-0000-1000-8000-0026BB765291'
[25/12/2022, 12:57:45] [TuyaPlatform] [PB-AC05] Update value 0 => 3 for service = '000000BD-0000-1000-8000-0026BB765291', subtype = undefined, characteristic = '000000B3-0000-1000-8000-0026BB765291'
[25/12/2022, 12:57:45] [TuyaPlatform] [PB-AC05] Update value 0 => 33 for service = '000000BD-0000-1000-8000-0026BB765291', subtype = undefined, characteristic = '00000029-0000-1000-8000-0026BB765291'
[25/12/2022, 12:57:45] [TuyaPlatform] [PB-AC05] Update value 0 => 33 for service = '000000B7-0000-1000-8000-0026BB765291', subtype = undefined, characteristic = '00000029-0000-1000-8000-0026BB765291'

@LazLong Thanks for the information, there's 4 errors:

'Target Heater-Cooler State': characteristic value 0 is not contained in valid values array.
'Cooling Threshold Temperature': characteristic was supplied illegal value: number 10 exceeded minimum of 16.
'Heating Threshold Temperature': characteristic was supplied illegal value: number 0 exceeded minimum of 16.
'Target Humidifier-Dehumidifier State': characteristic value 0 is not contained in valid values array.

1 and 4 can be ignored if the device can be functional, I will try to silence these logs.
2 and 3 I checked your device's schema, seems the value is stored with realTemperature*2:
{
  "code": "temp_set",
  "mode": "rw",
  "type": "Integer",
  "property": {
    "min": 16,
    "unit": "℃",
    "scale": 0,
    "max": 86,
    "step": 1
  }
}

I think no AC are able to set target temperature of 86 degree, the range 16-86 I guess is 8-43. Can you confirm the device's actual setting range in each modes? If it's real what I have said, you can manually set device config: https://github.com/0x5e/homebridge-tuya-platform/blob/develop_1.7.0/ADVANCED_OPTIONS.md#adjust-integer-dp-ranges

Did not change at all since the last 2 hrs, maybe this is not supported for all ACs, because like I said:
it’s not available in the Tuya or Smartlife app

Did not change at all since the last 2 hrs, maybe this is not supported for all ACs, because like I said: it’s not available in the Tuya or Smartlife app

Fine, maybe it's a constant fake value, but the plugin are not able to know wether it's real or fake..


tflint: 0.50.0 -> 0.50.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/tflint/versions.
meta.description for tflint is: Terraform linter focused on possible errors, best practices, and so on
meta.homepage for tflint is: https://github.com/terraform-linters/tflint
meta.changelog for tflint is: https://github.com/terraform-linters/tflint/blob/v0.50.1/CHANGELOG.md
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.50.1 with grep in /nix/store/j3aqfidqgc200gxn64blxh278xcnzpy8-tflint-0.50.1
found 0.50.1 in filename of file in /nix/store/j3aqfidqgc200gxn64blxh278xcnzpy8-tflint-0.50.1

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
tflint

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/j3aqfidqgc200gxn64blxh278xcnzpy8-tflint-0.50.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A tflint https://github.com/r-ryantm/nixpkgs/archive/c73505f25e793067b6f0c601520e195b5a7ba481.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/c73505f25e793067b6f0c601520e195b5a7ba481#tflint

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/j3aqfidqgc200gxn64blxh278xcnzpy8-tflint-0.50.1
ls -la /nix/store/j3aqfidqgc200gxn64blxh278xcnzpy8-tflint-0.50.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

tflint

Maintainer pings
cc @marsam for testing.

@ofborg eval


Revert "Update Game Instructions"

Reverts JLidocket/reviewing-a-pull-request#2
skipped step by accident

asdf


Update VagrantFile

Changed to an existing image.

The machine image used previously by Vagrant is not available anymore, this PR changes the VagrantFile to use a new image.


Automatically try the next available port

Automatically try the next available port by default, if the port is already being used, like Vite. Vite has a second option to disable this behavior, if necessary.
Useful when there are other moving parts in the system, and you just want to trunk serve --open.

Sounds like a good idea. Can you come up with a PR?


FTX support

Hi,
are you/can you provide a support for FTX exchange?
Thanks

Hi, It seems to be a popular exchange so it may be added in the future, but i can't guarantee it.


Error annotations do not display a rule's note

The ast-grep rule schema includes a note field, but it seems the vs code extension only displays the rule id and message. I have some rules whose note is useful, is it possible to make this visible from the vs code extension? Alternatively, if the error code in the diagnostic could hyper-link to the rule source similar to how ruff's vs code diagnostics' error code hyper-links to the rule's web page, that would solve the note discoverability issue. If not, I'll likely just update our rules to move notes contents to message

Maybe I'm overloading note! curious to hear thoughts

Hi, ast-grep uses lsp.
The diagnostic does not have note field in it https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#diagnostic
It may be reasonable to concatenate note to message, though.

Hi, ast-grep uses lsp.
The diagnostic does not have note field in it microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification
It may be reasonable to concatenate note to message, though.

Hi! Thanks for the quick response. Looking a the diagnostic spec, I wonder if note could fit into codeDescription. Otherwise, I think the lsp message being something like {rule.message}\n\n{rule.note} could make sense if codeDescription doesn't fit.


Comparison with @jax.jit?

Wondering if you have any benchmarks - am considering between both for an upcoming project.

I have no benchmark, but I am about 99% sure that jax does not actually generate fused kernels for workloads involving e.g., matrix multiplications. For things like row-wise reductions (e.g., softmax), I can't speak for JAX but Triton is 4x faster than the PyTorch JIT. For sequences of element-wise operations, I would expect all existing JIT to do about just as well as Triton

I just adapted the fused softmax example locally to benchmark the JAX jit.
Here's the function I used
       @jax.jit
        def jax_softmax(x):
            """Compute row-wise softmax of X using native pytorch

            We subtract the maximum element in order to avoid overflows. Softmax is invariant to
            this shift.
            """
            x_max = x.max(axis=1)
            z = x - x_max[:, None]
            numerator = jnp.exp(z)
            denominator = numerator.sum(axis=1)
            ret = numerator / denominator[:, None]
            return ret

        key = random.PRNGKey(0)
        x_jax = random.normal(key, (M, N))
        ms, min_ms, max_ms = triton.testing.do_bench(lambda: jax_softmax(x_jax)

And the performance on a V100
softmax-performance:
          N      Triton  Torch (native)  Torch (jit)   Jax (jit)
0     256.0  487.256486      532.812985   195.775959   29.441151
1     384.0  571.534884      591.302256   198.493695   44.171646
2     512.0  637.044973      597.819851   203.686088   63.434726
3     640.0  663.991929      630.760349   210.523614   78.523846
4     768.0  692.891613      659.205363   215.697199   87.908789
..      ...         ...             ...          ...         ...
93  12160.0  791.095313      389.899787   201.323201  246.371072
94  12288.0  791.427854      398.609689   201.481331  253.605926
95  12416.0  789.639361      396.407712   201.017958  251.478219
96  12544.0  789.687469      396.917877   201.027533  254.483520
97  12672.0  789.302171      396.896302   201.145972  252.753811

so I think you should use Triton if performance matters more than stability to you. It's harder to use for sure but you'll be able to get good speed-ups if you do anything beyond simple element-wise operations.

Thanks for writing the benchmark. Out of curiosity - why is Torch (jit) throughput so much lower than Torch (native)?

I've given some explanations in the softmax tutorial. It seems like the torch.jit doesn't fuse anything at all, so it ends up being 4x slower than peak bandwidth (i.e. Triton) because it does 4x more memory transfers. Torch.native isn't very good either on V100 for these shapes, but I don't know why.


loss of performance since version 0.7.5 ?

Hi !
Has someone noticed a great loss of performance since version 0.7.5 ?
Fatal error: Maximum execution time of 30 seconds exceeded in /leafo/scssphp/src/Compiler.php on line 3660
on my system about 10 seconds with 0.7.4 ==> 35 seconds with 0.7.5

Can you use git-bisect to find the commit that caused this regression?

Hello,
git-bisect gave me the following commit :
https://github.com/leafo/scssphp/commit/593b92929c3f0e9d82c84ace7d29e8550e386413


Update Webpack config

Pull Request Test Coverage Report for Build 239

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

Totals

Change from base Build 238:
0.0%

Covered Lines:
415

Relevant Lines:
421

💛  - Coveralls


quantize down to 1e3

Picks up topojson conversion speed by ~50% and incidentally simplifies some geometries without adversely affecting rendering. Note this quantization difference will have no effect on - say - hexagons; it's meant to help with complex geometries:

Can you explain why you chose 1e3? If it's going to be unconfigurable it should be a number that works in all (or almost all) cases.
Does this truncate the decimal precision? If so, to what extent? 3?

@devTristan See this explanation for more details than I could ever provide, but bottom line is that I dropped quantization by a factor of ten from the default (1e4). There is the possibility that this will be visible as a slight jaggedness in borders on high-dpi screens, but there is no impact on mine. I reiterate this will have no effect on hexagons - it will only eliminate nodes when they are extremely close together.
I think this is a god move for tilesplash because - absent any server-side simplification - this can help fulfill the promise of speed implicit in vector tiles.

1e3 = more detail than 1e4 or less? The guy you linked suggests 1e6.

He suggests 1e6 to increase detail. I'm trying to speed things up without sacrificing too much detail.

Prob. going to drop this in favor of simplification