BUG: TypeError: ufunc 'isfinite' not supported for the input types

Issue Description
I parsed my dataset converting all column-values to float as defined by the library through a sklearn pipeline, but when I passed the entire dataframe to the explainer() this returned the error reported, here there is the schema of my single row passed:
Idx   Column           Non-Null Count  Dtype
0   CreditScore      1 non-null      float64
1   Geography        1 non-null      float64
2   Gender           1 non-null      float64
3   Age              1 non-null      float64
4   Tenure           1 non-null      float64
5   Balance          1 non-null      float64
6   NumOfProducts    1 non-null      float64
7   HasCrCard        1 non-null      float64
8   IsActiveMember   1 non-null      float64
9   EstimatedSalary  1 non-null      float64
dtypes: float64(10)
memory usage: 208.0 bytes
here what I passed (a dataframe with one row):
CreditScore 0.0
Geography 2.0
Gender 0.348659
Age 1.5
Tenure 1.0
Balance 1.3
NumOfProducts 0.518667
HasCrCard 0.404255
IsActiveMember 0.0
EstimatedSalary 0.505253
Minimal Reproducible Example
import shap

preprocessor = ColumnTransformer(
    transformers=[
       ('cat', OrdinalEncoder(), categ_lst),
       ('num', MinMaxScaler(), numerical_cols)
    ]
)

df = ...from a csv parsed etc.
X, y = df.drop(columns=["Exited"]), df["Exited"]
explainer = shap.Explainer(model_trained.predict_proba, X)
single_employer_processed = model_trained["preprocessor"].transform(single_employer_processed)
single_employer_processed = pd.DataFrame(single_employer_processed, columns=df.drop(columns=["Exited"]).columns)
shap_values = explainer(single_employer_processed)

Traceback
Traceback (most recent call last):
  File "/mnt/c/Users/j.sapienza/OneDrive/Desktop/demo-streamlit-xai/.venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script
    exec(code, module.__dict__)
  File "/mnt/c/Users/j.sapienza/OneDrive/Desktop/demo-streamlit-xai/streamlit_app/app.py", line 81, in <module>
    shap_values = explainer(single_employer_processed)
  File "/mnt/c/Users/j.sapienza/OneDrive/Desktop/demo-streamlit-xai/.venv/lib/python3.8/site-packages/shap/explainers/_exact.py", line 76, in __call__
    return super().__call__(
  File "/mnt/c/Users/j.sapienza/OneDrive/Desktop/demo-streamlit-xai/.venv/lib/python3.8/site-packages/shap/explainers/_explainer.py", line 264, in __call__
    row_result = self.explain_row(
  File "/mnt/c/Users/j.sapienza/OneDrive/Desktop/demo-streamlit-xai/.venv/lib/python3.8/site-packages/shap/explainers/_exact.py", line 91, in explain_row
    fm = MaskedModel(self.model, self.masker, self.link, self.linearize_link, *row_args)
  File "/mnt/c/Users/j.sapienza/OneDrive/Desktop/demo-streamlit-xai/.venv/lib/python3.8/site-packages/shap/utils/_masked_model.py", line 30, in __init__
    self._variants = ~self.masker.invariants(*args)
  File "/mnt/c/Users/j.sapienza/OneDrive/Desktop/demo-streamlit-xai/.venv/lib/python3.8/site-packages/shap/maskers/_tabular.py", line 152, in invariants
    return np.isclose(x, self.data)
  File "<__array_function__ internals>", line 200, in isclose
  File "/mnt/c/Users/j.sapienza/OneDrive/Desktop/demo-streamlit-xai/.venv/lib/python3.8/site-packages/numpy/core/numeric.py", line 2378, in isclose
    yfin = isfinite(y)
TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types
according to the casting rule ''safe''

Expected Behavior
No response
Bug report checklist

[X] I have checked that this issue has not already been reported.
[X] I have confirmed this bug exists on the latest release of shap.
[ ] I have confirmed this bug exists on the master branch of shap.
[x] I'd be interested in making a PR to fix this bug

Installed Versions
0.42.0

I looked that X is not preprocessed, so I preprocessed it before calling the shap.Explainer().. but now I have this problem:
Traceback (most recent call last):
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script
exec(code, module.dict)
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/streamlit_app/app.py", line 95, in
shap_values = explainer(single_employer_processed)
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/shap/explainers/_exact.py", line 76, in call
return super().call(
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/shap/explainers/_explainer.py", line 264, in call
row_result = self.explain_row(
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/shap/explainers/_exact.py", line 120, in explain_row
outputs = fm(extended_delta_indexes, zero_index=0, batch_size=batch_size)
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/shap/utils/_masked_model.py", line 59, in call
return self._delta_masking_call(masks, zero_index=zero_index, batch_size=batch_size)
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/shap/utils/_masked_model.py", line 205, in _delta_masking_call
outputs = self.model(*subset_masked_inputs)
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/shap/models/_model.py", line 28, in call
out = self.inner_model(*args)
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/sklearn/pipeline.py", line 584, in predict_proba
Xt = transform.transform(Xt)
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/sklearn/utils/_set_output.py", line 157, in wrapped
data_to_wrap = f(self, X, *args, **kwargs)
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/sklearn/compose/_column_transformer.py", line 827, in transform
Xs = self._fit_transform(
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/sklearn/compose/_column_transformer.py", line 681, in _fit_transform
return Parallel(n_jobs=self.n_jobs)(
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/sklearn/utils/parallel.py", line 65, in call
return super().call(iterable_with_config)
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/joblib/parallel.py", line 1918, in call
return output if self.return_generator else list(output)
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/joblib/parallel.py", line 1847, in _get_sequential_output
res = func(*args, **kwargs)
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/sklearn/utils/parallel.py", line 127, in call
return self.function(*args, **kwargs)
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/sklearn/pipeline.py", line 940, in _transform_one
res = transformer.transform(X)
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/sklearn/utils/_set_output.py", line 157, in wrapped
data_to_wrap = f(self, X, *args, **kwargs)
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/sklearn/preprocessing/_encoders.py", line 1586, in transform
X_int, X_mask = self._transform(
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/sklearn/preprocessing/_encoders.py", line 192, in _transform
diff, valid_mask = check_unknown(Xi, self.categories[i], return_mask=True)
File "/mnt/c/Users/j.sapienza/OneDrive - Reply/Desktop/Demo IP 20240509/demo-streamlit-xai/.venv/lib/python3.8/site-packages/sklearn/utils/_encode.py", line 304, in _check_unknown
if np.isnan(known_values).any():
TypeError: ufunc 'isnan' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''

Hey, would help a lot if you could provide a complete example that we can copy and paste in order to reproduce the issue. Would be amazing if you could at least provide a couple of sample rows that reproduce the issue.

Thanks @CloseChoice, I will try to add the sample code:
`import shap
import sys
sys.path.append(".")
import pandas as pd
from utils.model import ChurnModel
import matplotlib.pyplot as plt
import numpy as np
create the churn model object
churn_model = ChurnModel()
model_trained = churn_model.load_latest_model(artifacts_dir="./utils/model_artifact/")
df = churn_model.get_dataset(size=200)
X, y = df.drop(columns=["Exited"]), df["Exited"]
print(X.info())
print(X.head())
print(X.isna().sum())
sample data
data = {'CreditScore': ["43743"],
'Geography': ["Spain"],
'Gender': ["Male"],
'Age': ["34"],
'Tenure': ["13"],
'Balance': ["342"],
'NumOfProducts': ["4"],
'HasCrCard': ["1"],
'IsActiveMember': ["1"],
'EstimatedSalary': ["384972.0"]
}
features = pd.DataFrame(data)
categ_lst, numerical_cols = churn_model.get_categ_features(), churn_model.get_numerical_features()
features[categ_lst] = features[categ_lst].astype("string")
features[numerical_cols] = features[numerical_cols].astype("float")
TEST PREDICTION
print(features.head())
print(f"The prediction of this sample is: {model_trained.predict(features)}")
TEST EXPLAINER
explainer = shap.Explainer(model_trained.predict_proba, X)
transformed = model_trained["preprocessor"].transform(features)
transformed = pd.DataFrame(transformed, columns=df.drop(columns=["Exited"]).columns, dtype=float)
print(transformed)
shap_values = explainer(transformed)
shap.plots.waterfall(shap_values[0,:, 1], max_display = 10)
plt.show()`
Now, the link for the dataset is: https://www.kaggle.com/datasets/shubhammeshram579/bank-customer-churn-prediction?resource=download
To read the dataframe:
       df_ = pd.read_csv(self.dataset_path, sep=',', on_bad_lines='skip', index_col=False, dtype='unicode')         df = df_.drop(columns=["RowNumber", "CustomerId", "Surname"])
The sklearn pipeline apply is:
`        preprocessor = ColumnTransformer(
transformers=[
('cat', OrdinalEncoder(), categ_lst),
('num', StandardScaler(), numerical_cols)
]
)
    # Define the pipeline
    self.model = Pipeline([
        ('preprocessor', preprocessor),
        ('classifier', LogisticRegression(random_state=42))
    ])`

The list of string and numeric values:
    categ_lst = ["Gender", "Geography"]      numerical_cols = list(set(df.columns) - set(["Exited", "Gender", "Geography"]))

Sorry, but your example is still not reproducible. I tried the following but this throws a different error:
import shap
import pandas as pd
# from utils.model import ChurnModel
import matplotlib.pyplot as plt
import numpy as np
from sklearn.compose import ColumnTransformer
from sklearn.preprocessing import OrdinalEncoder, StandardScaler
from sklearn.pipeline import Pipeline
from sklearn.linear_model import LogisticRegression

categ_lst = ["Geography", "Gender", "Age", "HasCrCard", "IsActiveMember"]

numerical_cols = ["CreditScore", "Age", "Tenure", "Balance", "NumOfProducts", "EstimatedSalary"]

preprocessor = ColumnTransformer(
            transformers=[
                ('cat', OrdinalEncoder(), categ_lst),
                ('num', StandardScaler(), numerical_cols)
            ]
        )

model = Pipeline([
            ('preprocessor', preprocessor),
            ('classifier', LogisticRegression(random_state=42))
        ])

df = pd.read_csv('bugs/data/Churn_Modelling.csv')

df = df.loc[df.notnull().all(1), :]
X, y = df.drop(columns=["Exited"]), df["Exited"]

model_trained = model.fit(X, y)

print(X.info())
print(X.head())
print(X.isna().sum())

# I ignore this for now since it does not work as expected. Always throws an error that some unexpected category values was found
data = {'CreditScore': [43743],
        'Geography': ["Spain"],
        'Gender': ["Male"],
        'Age': [34.],
        'Tenure': [13.],
        'Balance': [342.],
        'NumOfProducts': [4.],
        'HasCrCard': [1.],
        'IsActiveMember': [1.],
        'EstimatedSalary': [384972.0]
}

features = X.iloc[0, :] # pd.DataFrame(data)
features[categ_lst] = features[categ_lst].astype("string")
features[numerical_cols] = features[numerical_cols].astype("float")

print(features.head())
# print(f"The prediction of this sample is: {model_trained.predict(features)}")

explainer = shap.Explainer(model_trained.predict_proba, X)
transformed = model_trained["preprocessor"].transform(features)
transformed = pd.DataFrame(transformed, columns=df.drop(columns=["Exited"]).columns, dtype=float)

print(transformed)
shap_values = explainer(transformed)
shap.plots.waterfall(shap_values[0,:, 1], max_display = 10)
plt.show()

Would be great if you could help make this reproducible so that we can start working on a solution for the problem. As I see you are interested in fixing this, so we would need a reproducible example for the tests either way ;)

I'm facing a similar issue when passing a dataframe with categorical variables to an Explainer.
@CloseChoice I suspect the error you're getting is because HasCrCard and IsActiveMember should be strings instead of floats:
data = {'CreditScore': [43743],
        'Geography': ["Spain"],
        'Gender': ["Male"],
        'Age': [34.],
        'Tenure': [13.],
        'Balance': [342.],
        'NumOfProducts': [4.],
        'HasCrCard': ["1"], # 1. in the code you posted above
        'IsActiveMember': ["1"], # 1. in the code you posted above
        'EstimatedSalary': [384972.0]
}

Faced the same issue; just wondering if we can encapsulate these into shap lib


[Suggestion] Make it easier to view curations

When you try to view something you don't have access to, you are brought to the homepage. When you sign in and you now do have access, it should redirect you back to the page you were looking for.

done in https://github.com/Dri0m/flashpoint-submission-system/commit/d4b510cf4c05677d8521b671b121b4e6b2c5fc01


fix(aws-ecs): set permissions for 'awslogs' log driver

Make sure that tasks using the 'awslogs' Log Driver have the correct IAM
permissions to actually write logs. Add grant() methods to IAM LogGroups
to make this nicer to write.
Fixes #1279.

Pull Request Checklist
Please check all boxes, including N/A items:
Testing

[x] Unit test and/or integration test added
[x] Toolkit change?: integration tests manually executed (paste output to the PR description)
[x] Init template change?: coordinated update of integration tests (currently maintained in a private repo).

Documentation

[x] README: README and/or documentation topic updated
[x] jsdocs: All public APIs documented

Title and description

[x] Change type: Title is prefixed with change type:

fix(module): <title> bug fix (patch)
feat(module): <title> feature/capability (minor)
chore(module): <title>  won't appear in changelog
build(module): <title> won't appear in changelog

[x] Title format: Title uses lower case and doesn't end with a period
[x] Breaking change?: Last paragraph of description is: BREAKING CHANGE: <describe exactly what changed and how to achieve similar behavior + link to documentation/gist/issue if more details are required>
[x] References: Indicate issues fixed via: Fixes #xxx or Closes #xxx

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.

Travis build failure is transient

🎉 thanks @rix0rrr. I've checked this out and successfully deployed a service with it 👍


bug/feature request: Check data after edit

I would like the event editor in ikhal to do more checks on times (and other data?) for errors and either refuse to save or auto correct some mistakes. Currently it refuses to save if I enter an unparseable time (like 11) but not if I enter an end time that is before the start time. The new command currently auto corrects in this case.
To reproduce use this mini config file:
[default]
  default_calendar = test
[calendars]
  [[test]]
    path = /tmp/khal_bug_report

Create two events:
khal -c test.conf new tomorrow 12:00 foo
khal -c test.conf new tomorrow 12:00 tomorrow 11:00 bar

Now I want to change the end of foo. I run ikhal -c test.conf and open the editor on foo. There I change the end time from 13:00 to 11:00 (or anything before 12:00) but I do not change the date. When I save this ikhal crashes with this exception:
Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/khal/ui/__init__.py", line 683, in start_pane
    loop.run()
  File "/usr/lib/python3.5/site-packages/urwid/main_loop.py", line 278, in run
    self._run()
  File "/usr/lib/python3.5/site-packages/urwid/main_loop.py", line 376, in _run
    self.event_loop.run()
  File "/usr/lib/python3.5/site-packages/urwid/main_loop.py", line 682, in run
    self._loop()
  File "/usr/lib/python3.5/site-packages/urwid/main_loop.py", line 719, in _loop
    self._watch_files[fd]()
  File "/usr/lib/python3.5/site-packages/urwid/raw_display.py", line 393, in <lambda>
    event_loop, callback, self.get_available_raw_input())
  File "/usr/lib/python3.5/site-packages/urwid/raw_display.py", line 493, in parse_input
    callback(processed, processed_codes)
  File "/usr/lib/python3.5/site-packages/urwid/main_loop.py", line 403, in _update
    self.process_input(keys)
  File "/usr/lib/python3.5/site-packages/urwid/main_loop.py", line 503, in process_input
    k = self._topmost_widget.keypress(self.screen_size, k)
  File "/usr/lib/python3.5/site-packages/urwid/wimp.py", line 643, in keypress
    return self._current_widget.keypress(size, key)
  File "/usr/lib/python3.5/site-packages/urwid/container.py", line 1128, in keypress
    return self.body.keypress( (maxcol, remaining), key )
  File "/usr/lib/python3.5/site-packages/urwid/container.py", line 2269, in keypress
    key = w.keypress((mc,) + size[1:], key)
  File "/usr/lib/python3.5/site-packages/khal/ui/__init__.py", line 583, in keypress
    return super(EventEditor, self).keypress(size, key)
  File "/usr/lib/python3.5/site-packages/urwid/listbox.py", line 985, in keypress
    key = focus_widget.keypress((maxcol,),key)
  File "/usr/lib/python3.5/site-packages/urwid/wimp.py", line 535, in keypress
    self._emit('click')
  File "/usr/lib/python3.5/site-packages/urwid/widget.py", line 463, in _emit
    signals.emit_signal(self, name, self, *args)
  File "/usr/lib/python3.5/site-packages/urwid/signals.py", line 264, in emit
    result |= self._call_callback(callback, user_arg, user_args, args)
  File "/usr/lib/python3.5/site-packages/urwid/signals.py", line 294, in _call_callback
    return bool(callback(*args_to_pass))
  File "/usr/lib/python3.5/site-packages/khal/ui/__init__.py", line 568, in save
    self.collection.update(self.event)
  File "/usr/lib/python3.5/site-packages/khal/khalendar/khalendar.py", line 330, in update
    self._calnames[event.calendar].update(event)
  File "/usr/lib/python3.5/site-packages/khal/khalendar/khalendar.py", line 142, in update
    self._dbtool.update(event.raw, event.href, event.etag)
  File "/usr/lib/python3.5/site-packages/khal/khalendar/backend.py", line 249, in update
    for vevent in sorted(vevents, key=sort_key):
  File "/usr/lib/python3.5/site-packages/khal/khalendar/backend.py", line 242, in <genexpr>
    c in ical.walk() if c.name == u'VEVENT')
  File "/usr/lib/python3.5/site-packages/khal/khalendar/aux.py", line 151, in sanitize
    dtstart, dtend, duration=vevent.get('DURATION', None))
  File "/usr/lib/python3.5/site-packages/khal/khalendar/aux.py", line 168, in sanitize_timerange
    raise ValueError('The event\'s end time (DTEND) is older than '
ValueError: The event's end time (DTEND) is older than the event's start time (DTSTART).

But the invalid ical file is still written to disk and the next time I run ikhal -c test.conf or khal -c test.conf agenda or so I get this exception:
Unknown exception happened.
Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/khal/khalendar/khalendar.py", line 233, in _update_vevent
    self._dbtool.update(event.raw, href=href, etag=etag)
  File "/usr/lib/python3.5/site-packages/khal/khalendar/backend.py", line 249, in update
    for vevent in sorted(vevents, key=sort_key):
  File "/usr/lib/python3.5/site-packages/khal/khalendar/backend.py", line 242, in <genexpr>
    c in ical.walk() if c.name == u'VEVENT')
  File "/usr/lib/python3.5/site-packages/khal/khalendar/aux.py", line 151, in sanitize
    dtstart, dtend, duration=vevent.get('DURATION', None))
  File "/usr/lib/python3.5/site-packages/khal/khalendar/aux.py", line 168, in sanitize_timerange
    raise ValueError('The event\'s end time (DTEND) is older than '
ValueError: The event's end time (DTEND) is older than the event's start time (DTSTART).
warning: Skipping test/1VNPGHZ0BBTWEWQEGK66KR09IPW71PODBVD5.ics: The event's end time (DTEND) is older than the event's start time (DTSTART).
warning: This event will not be available in khal.

For comparison: the bar event was already automatically corrected by khal new because the end would be before start.
I think that the editor should either refuse to save or adopt the auto correction behaviour from khal new.  At the very least khal should never write invalide ical files to disk.

:crying_cat_face: I thought I had fixed this recently.

I am running 0.7.0 ... so I will check with the latest git and come back.

also present in 0.7.1.dev109+ng3fb3973.d20160213.

Just to clarify: are you saving the event with ctrl+Return? After I have changed the end time, I cannot leave the end time field otherwise.

But other invalid combinations still allow me to leave the edit fields :crying_cat_face:

I've just pushed a change in branch fix_335 ( de41f8826d19c7346f76222f39cc14a01ed8633f ), could you perhaps test if it behaves in a better way?
You can still trick it with pressing ctrl+Enter and there is a lot of duplicate code in there...

I was originally (still in 6044157) opening the editor, using the arrow keys to move to the end time field, edit it and leave it with the arrow keys. Then I move to the  button and press enter.
But now the times are adjusted to prevent me from leaving the time field with a value start>end.

Does it work as you would expect?

Sadly it only works in some cases. If I try different things (use the arrow keys to move to the next field, move through one edit field with the left right keys, leave the edit field and come back) sometimes I can not leave an edit field and it is highlighted in red if I enter invalid data, and sometimes it is not highlighted and I can leave it. In such cases I can also hit the save button and get the two errors mentioned above.
Maybe the best point to check the data is when the user hits the  button (or the corresponding key combination). Because I also might want to edit the dates in such a way that for a short time (when switching from one edit field to the next) the dates would be not allowed. But I would not like to be blocked from leaving one field because I want to edit another field to make the date "legal" again.

hopefully fixed with c4c0745ad735bd7211c8d29c1010f77893357d08

It works in some cases. I tried the following scenarios (always start with khal -c test.conf new tomorrow 12:00 foo and the move to the editor on foo)

change the From date to one day later, move down to To date (works), then I can not move our of the To date
change only the From time to something after the To time and move to  (works, the move is not blocked) If I save I get the above exception.

After some tests I assume that the current behavior is this: I am allowed to change all four date and time fields. If and only if I try to leave the To date field a check is made and I'm blocked from leafing this field if the combination of dates and times would be invalid. But the problem is that I can change one of the other three fields and move to the  button without going through the To date field and thus avoiding the check.

Thank you for reporting this (again). On enter nothing really should happen...

I believe I fixed this, please comment/reopen if I didn't (btw: enter should let a small pop-up calendar appear, I had forgotten about that...).

It seems to be fixed as far as I can tell. Thank you very much!!


Clarify kubelet serving and client cert CN values

This change clarifies that kubelet serving and client certificates include the node name in the CN.
cc @enj @liggitt

Here is the related code for this change.
CommonName:   fmt.Sprintf("system:node:%s", nodeName),

Preview page
/lgtm
Thank you @micahhausler

Currently, the signer checks a helper function that actually does just check the prefix, not that there is a subsequent string - https://github.com/kubernetes/kubernetes/blob/0c8b3e5f305bf2bf56d47019199b81330d90c2c3/pkg/controller/certificates/signer/signer.go#L257
should that be updated as well?

I can PR the signer change

/lgtm

/approve


Add circleci integration

Test build can be seen here,
https://app.circleci.com/pipelines/circleci/2SMMEubhARGH7e4Pv35iWc/2aPxCxk5EV8eiodPcTXnLN/31/workflows/ef7f5c84-a155-4693-a7a2-9fed03a02830/jobs/36
This will need an SSH deploy key just so that the integration can pull the repository from GitHub.
https://circleci.com/docs/deploy-over-ssh/#1-add-ssh-key-for-target

Closing this issue as an internal discussion led to us using GitHub actions instead.


Fix translation bugs and mark new ones missing from modals

What does this PR do and why?

Fixes bug pointed out by Twodam (un-marking text that wasn't supposed to be for translation)
Fixes ballot strategies (3-day-delay, etc.) not translating by separating out the files and making BallotStrategies a function rather than const
Marks a bunch of texts for translations we were missing, mostly in modals
Brings down latest translations from Crowdin

Acceptance checklist

[x] I have evaluated the Approval Guidelines for this PR.
[x] I have tested this PR in all supported browsers.

@peripheralist, I pulled the Crowdin branch into this one so I could more easily find the texts that hadn't been marked for translation, that's why there are diffs in translation files. This branch is now up-to-date with Crowdin, so merging this PR will also bring in the latest translations. No need to worry about the latest Crowdin Action PR (I closed it).

thanks @johnnyd-eth! just realized that that filename was actually already snake-case, and we just have inconsistent filenames in the /constants directory 🤦
gonna merge this in for now, and we can address those filenames separately


/usr/local/lib/libopencv_core.so.3.2: undefined reference to `cudaGetDevice'

/usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaMallocPitch' /usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaRuntimeGetVersion'
/usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaEventDestroy' /usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaMemcpy2D'
/usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaHostAlloc' /usr/local/lib/libopencv_core.so.3.2: undefined reference to __cudaUnregisterFatBinary'
/usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaEventCreateWithFlags' /usr/local/lib/libopencv_core.so.3.2: undefined reference to __cudaRegisterFatBinary'
/usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaMemset2D' /usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaGetLastError'
/usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaMemset2DAsync' /usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaMalloc'
/usr/local/lib/libopencv_core.so.3.2: undefined reference to __cudaRegisterVar' /usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaStreamWaitEvent'
/usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaStreamCreate' /usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaGetDeviceProperties'
/usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaStreamQuery' /usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaDriverGetVersion'
/usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaEventQuery' /usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaConfigureCall'
/usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaStreamSynchronize' /usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaStreamAddCallback'
/usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaSetDevice' /usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaMemGetInfo'
/usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaHostUnregister' /usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaLaunch'
/usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaEventElapsedTime' /usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaGetErrorString'
/usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaStreamDestroy' /usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaEventSynchronize'
/usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaGetDeviceCount' /usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaDeviceReset'
/usr/local/lib/libopencv_core.so.3.2: undefined reference to __cudaRegisterFunction' /usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaHostGetDevicePointer'
/usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaHostRegister' /usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaFree'
/usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaEventRecord' /usr/local/lib/libopencv_core.so.3.2: undefined reference to cudaSetupArgument'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/run_plan] Error 1
make[1]: *** [binaries/CMakeFiles/run_plan.dir/all] Error 2
make: *** [all] Error 2

@absurdliyang what operating system is this? Are you building with CUDA?
It looks like your opencv version is 3.2 . Where was this installed from (apt-get? conda?)? What is your CUDA version?

Thanks. I have found the solution. It is because of lacking .so files of opencv in the /usr/local/lib  @pjh5 .


[20150427] Null pointer exceptions when downloading images

Sample:
Processing Image Id: 8682952
Title: ????
Tags : ????? ??? ????? puyopix
Date : 2010-02-10 00:02:00
Mode : bigNew
Image URL : http://i4.pixiv.net/img16/img/a_ka_ji/8682952.gif
Filename  : E:\conf\pixiv\251370\8682952 - ????????
Start downloading... Using Referer: http://www.pixiv.net/member_illust.php?mode=medium&illust_id=8682952
      3322 of      3322 BytesTraceback (most recent call last):
  File "PixivUtil2.py", line 115, in download_image
  File "PixivHelper.pyc", line 512, in downloadImage
  File "PixivHelper.pyc", line 323, in speedInStr
ZeroDivisionError: float division by zero
 Error at download_image(): (<type 'exceptions.ZeroDivisionError'>, ZeroDivisionError('float division by zero',), <traceback object at 0x0324CC60>) a http://i4.pixiv.net/img16/img/a_ka_ji/8682952.gif (9000)
Retrying [1]...
1 2 3 4
Start downloading... Using Referer: http://www.pixiv.net/member_illust.php?mode=medium&illust_id=8682952
        File exist! (Identical Size)

So things get downloaded, but there is retry and delay.

I think it may be downloading too fast, so total_time is 0 and thing kindly crashes a little?

updated: https://nandaka.wordpress.com/2015/06/05/pixiv-downloader-20150605/


Install git dependency using poetry

When a project that uses poetry depends on a package that is only available through git and that also uses poetry, it would be a great feature to use poetry to install the dependent package. Currently, it seems like installing packages from git is only possible using pip + setup.py, so we cannot install a poetry based package that is only available through git. Doing that is rather easy, once you know that a project.toml file exists, see a not polished and half pseudo example code below.
from subprocess import call
import os
import glob
tmp_dir = Path(mkdtemp(prefix="pypoetry-git-{}".format("package_name")))
git = Git()
git.clone(source_url, tmp_dir)
git.checkout(branch/tag/.., tmp_dir)
crnt = os.getcwd()
os.chdir(tmp_dir)
call(['poetry','build','-f','wheel'])
wheel_file = glob.glob(f'{tmp_dir}/dist/*.whl')[0]
venv.run("pip", "install", wheel_file)
os.chdir(crnt)
...

This is now supported.


Fixed logQuery to display ObjectID in parameters

Also Collection class tests was created

+1, debugbar giving me a hard time


[💡 FEATURE REQUEST]: Important configuration options for AMQP Driver

Plugin
JOBS
I have an idea!
Please add important configuration options for AMQP Driver:

durable exchange for ExchangeDeclare() in amqp091-go;
auto-deleted exchange for ExchangeDeclare() in amqp091-go;
auto-deleted queue for QueueDeclare() in amqp091-go.

jobs:
  pipelines:
    example:
      driver: amqp
      config:

        # Durable exchange
        #
        # Default: true
        exchange_durable: true

        # Auto-deleted exchange
        #
        # Default: false
        exchange_auto_deleted: false

        # Auto-deleted queue
        #
        # Default: false
        queue_auto_deleted: false

From amqp091-go documentation:
Durable and Non-Auto-Deleted exchanges will survive server restarts and remain
declared when there are no remaining bindings.  This is the best lifetime for
long-lived exchange configurations like stable routes and default exchanges.

Non-Durable and Auto-Deleted exchanges will be deleted when there are no
remaining bindings and not restored on server restart.  This lifetime is
useful for temporary topologies that should not pollute the virtual host on
failure or after the consumers have completed.

Non-Durable and Non-Auto-deleted exchanges will remain as long as the server is
running including when there are no remaining bindings.  This is useful for
temporary topologies that may have long delays between bindings.

Durable and Auto-Deleted exchanges will survive server restarts and will be
removed before and after server restarts when there are no remaining bindings.
These exchanges are useful for robust temporary topologies or when you require
binding durable queues to auto-deleted exchanges.

Hey @andrey-tech 👋🏻
Yeah, I will add them in the next beta release.


Installed packages for tooling via npm.
Installed browser packages via Bower.
~/C/Ember ❯❯❯ cd try-ember-cli-mocha-with-master
~/C/E/try-ember-cli-mocha-with-master git:master ❯❯❯ ember install ember-cli-mocha
version: 2.2.0-beta.1
Installed packages for tooling via npm.
installing ember-cli-mocha
[?] Overwrite tests/test-helper.js? Yes, overwrite
  overwrite tests/test-helper.js
  install bower packages ember-mocha, ember-cli-test-loader, ember-cli-shims
Installing browser packages via Bower...
  cached git://github.com/ember-cli/ember-cli-test-loader.git#0.2.2
  cached git://github.com/ember-cli/ember-cli-shims.git#0.0.6
  cached git://github.com/switchfly/ember-mocha-builds.git#0.8.8
  cached git://github.com/mochajs/mocha.git#2.2.5
  cached git://github.com/teddyzeenny/ember-mocha-adapter.git#0.3.1
  cached git://github.com/chaijs/chai.git#2.3.0
  conflict Unable to find suitable version for ember-cli-test-loader
    1) ember-cli-test-loader 0.2.1
    2) ember-cli-test-loader 0.2.2
[?] Answer: 2!
  resolution Saved ember-cli-test-loader#0.2.2 as resolution
Installed browser packages via Bower.
  uninstall package ember-cli-qunit
Uninstalled packages for tooling via npm.
Installed addon package.
~/C/E/try-ember-cli-mocha-with-master git:master ❯❯❯ ember t
version: 2.2.0-beta.1
Built project successfully. Stored in "/Users/cowboyd/Code/Ember/try-ember-cli-mocha-with-master/tmp/class-tests_dist-JBVbBaTC.tmp".
^Cnot ok 1 Error
    ---
        message: >
            Received SIGINT signal
    ...

1..1
# tests 1
# pass  0
# fail  1

The test suite actually hangs until it's manually killed. If you run the test server, then testem prints this to the console:
Error: Assertion Failed: The tests file was not loaded. Make sure your tests index.html includes "assets/tests.js". at http://localhost:7357/assets/vendor.js, line 16498
ReferenceError: Can't find variable: describe at http://localhost:7357/assets/test-support.js, line 8561
TypeError: undefined is not an object (evaluating 'Runner.prototype') at http://localhost:7357/testem.js, line 419

The developer console shows the following error:

Thanks for reporting. I believe it is related to https://github.com/switchfly/ember-cli-mocha/issues/92, but will dig in tonight.

Ok, thanks! I added a bit more diagnostic output, but sounds like you're already familiar with it. Let me know if there's anything I can do to help.

@cowboyd - If you could throw that sample repo up, it will make things a bit quicker when I dig in tonight.

https://github.com/cowboyd/try-ember-cli-mocha-with-master cheers!

Having the same issue, seems like ember-mocha and ember-mocha-adapter are included in the compiled test-support.js file before mocha is initialized.

Same issue after upgrading to ember-cli 2.0.0-beta.1.

Fix (works with  2.2.0-beta.2), see #95

I also experienced this problem earlier.
This issue is resolved for me when using ember-cli#2.3.0-beta.1 as well as master (#bfd6e63)

I think we can close this issue, because it was fixed with https://github.com/ember-cli/ember-cli/pull/5274 aka Ember CLI 2.2.0-beta.3 (https://github.com/ember-cli/ember-cli/releases/tag/v2.2.0-beta.3).
@cowboyd Can you please close this issue? Thanks


Recommending a new paper relevant to the "1.1 LLM as Feature Engineering"

Hi Jianghao, 👋
Thanks for this awesome repo and also the comprehensive survey! It helps me a lot when I am conducting research about LLMs for Recommender Systems! And also, it means a lot to the research community! 😄
I kindly hope that you would consider adding our new paper titled "Representation Learning with Large Language Models for Recommendation"(https://arxiv.org/abs/2310.15950) into your awesome repo. 😊
In this paper, we purpose a model-agnostic framework (RLMRec) which utilizes the LLMs to improve the performance of SOTA recommenders through representation learning. 🚀
paper link: https://arxiv.org/abs/2310.15950
code link: https://github.com/HKUDS/RLMRec
I would appreciate it if you consider attaching this paper the code link to your awesome reposity :)
Best regards,
Xubin

Based on your toxonomy, RLMRec is ChatGPT + frozen. 😄

Hi Xubin,
I have already read RLMRec as soon as I observe the announcement on Arxiv, which I believe is an insightful and awesome research work in LLM4Rec area.
The paper is already included in Section 1.6 "Pending List", and will be merged in our next version of survey, which is coming about next month.
Best,
Jianghao

Thanks Jianghao! 😊


bulk message is not working

I tried to send a message with 2 numbers but only the first number was sent and an error appeared in the postman / thunder bird client response (vs code)
postman

vscode

same issue.
TypeError: req.body.entries is not a function or its return value is not iterable
at sendBulk (file:///D:/DATA/learn/whatsapp-nodejs/controllers/chatsController.js:32:40)
....

#101

#101

after I tried changing the code it worked, but only for one time. I tried again and it turned out that the error was still the same as before, it was only sent to the first array. Is there a rule for sending bulk messages?

what the error message?

what is the error message?

i have tried it and no problem

what is the error message? because on me its work.

same as the picture in my post

i have tried it and no problem

and I also tried to download your repository, and it still doesn't work

Should be fixed in the latest version


Use new propagation context API

The build is failing locally with:

  Message: No bean of type [io.grpc.ManagedChannel] exists for the given qualifier: @Named('grpc-server'). Make sure the bean is not disabled by bean requirements (enable trace logging for 'io.micronaut.context.condition' to check) and if the bean is enabled then ensure the class is declared a bean and annotation processing is enabled (for Java and Kotlin the 'micronaut-inject-java' dependency should be configured as an annotation processor).
  Path Taken: OpenTelemetryGrpcClientSpec.setTestBean([TestBean testBean]) --> TestBean.setBlockingStub([GreeterBlockingStub blockingStub]) --> Clients.blockingStub([Channel channel])
      at app//io.micronaut.context.DefaultBeanContext.resolveByBeanFactory(DefaultBeanContext.java:2322)
      at app//io.micronaut.context.DefaultBeanContext.doCreateBean(DefaultBeanContext.java:2277)


maestro: Test a pod without a k8s svc accessing a service via TrafficTarget

This PR adds a new pod (flaneur) to the bookbuyer + bookstore + bookwarehouse CI system. This pod does not have a related Kubernetes service.  The goal is to prove that even without a service, OSM will allow the pod to buy books from the bookstore. (Relies on an SMI policy with a flaneur service account)
This is a continuation of the work done with https://github.com/openservicemesh/osm/pull/1932
Proves that https://github.com/openservicemesh/osm/issues/1180 is fixed

Codecov Report

Merging #1570 into main will decrease coverage by 0.10%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1570      +/-   ##
==========================================
- Coverage   58.38%   58.28%   -0.11%
==========================================
  Files         135      135
  Lines        5407     5415       +8
==========================================
- Hits         3157     3156       -1
- Misses       2247     2256       +9
  Partials        3        3

Impacted Files
Coverage Δ

ci/cmd/maestro.go
7.52% <0.00%> (-0.71%)
:arrow_down:

pkg/envoy/route/config.go
95.23% <0.00%> (-0.80%)
:arrow_down:

Continue to review full report at Codecov.

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

ref https://github.com/openservicemesh/osm/issues/2064

Are we still going with this approach? I believe @michelleN changes will be doing away with our ServiceAccount->Service conversions

Are we still going with this approach? I believe @michelleN changes will be doing away with our ServiceAccount->Service conversions

@shashankram

Are we still going with this approach? I believe @michelleN changes will be doing away with our ServiceAccount->Service conversions

@ksubrmnn This PR adds a new test scenario; @shashankram meanwhile is swapping the mechanism my which we achieve this functionality.  It'd be good to have this demo/test - so we can easily validate the Service-less pod can access a mesh service.

We already test this scenario: https://github.com/openservicemesh/osm/blob/main/tests/e2e/e2e_pod_client_server_test.go#L28, why do we need to test this via maestro again?


Peer Review - Hazard Analysis System Boundaries

Artifact Under Review: Hazard Analysis System Boundaries
Team Number for Team Doing the Review: 27
Description of Issue: The current approach to defining system boundaries is too rigid, hindering adaptability as the project evolves.
Proposed Potential Improvements:

Develop a dynamic framework for system boundaries.
Implement regular review sessions to reassess boundaries.
Document changes in a version-controlled manner.

By doing this you will increases agility and responsiveness to project changes, enhancing the accuracy of the hazard analysis.

@Tan630


Upgrade the config of the issue management

To reduce the feature feedback in the meilisearch repo

No need, I just wanted to have the approval of the first one! :) We already made the decision the product repo is indeed for feature requests AND for feature feedback :) our config wasn't just clear.
bors merge

bors merge


Begin implementation of a library for processing caveat expressions

This library implements parsing, compilation, type checking, evaluation and custom types via CEL
Fixes #759

@vroldanbet that doesn't seem correct... the eval_test.go definitely runs the code in eval.go

@vroldanbet Yeah, that makes a lot more sense, especially since most of types.go is scaffolding anyway


Team Meeting 10/26/23

Agenda:

VnV Plan

TODO:
VnV Plan Due Nov 3rd

VnV Team Roles
-Tests for Each Requirement (Use Fit Criterion)
Functional Requirements
Task Management System @FardeenAfsar
Bill Management System @Lazarus-XD
Scheduling System @HamidHarris
Account System @fadymorcos21
Non-functional Requirements: @DangJustin
Traceability Matrix
Reflection

TA meeting Oct 30 2:50 - 3:10 PM ITB 111
Next Team Meeting: Saturday @ 3:00 PM


Leverage github actions or circleci to auto release to dockerhub

Currently, the release for Flagr is not automated. We'd better leverage tools like Github Actions or circleci to do the auto release of Flagr to DockerHub.

This is done. https://github.com/checkr/flagr/actions


Add Jet to Next showcase

Request to be added to the showcase on nextjs.org.

Name of company: Jet.com
Url: https://jet.com/

The launch of our redesign was in a lot of media.
Techcrunch
Forbes
Thank you!

Already added it locally, you can expect to see it very soon 🙏

Thank you Tim!

It's here 😄 https://nextjs.org/showcase/

Awesome! The design of the new guy was amazing, thank you Tim, see you soon!


ExpirationError in Python unary test on Travis

This is the log:
ERROR: testUnaryUnary (__main__.EarlyAdopterImplementationsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/travis/build/grpc/grpc/python2.7_virtual_environment/lib/python2.7/site-packages/grpc/early_adopter/implementations_test.py", line 131, in testUnaryUnary
    math_pb2.DivArgs(divisor=divisor, dividend=dividend), _TIMEOUT)
  File "/home/travis/build/grpc/grpc/python2.7_virtual_environment/local/lib/python2.7/site-packages/grpc/framework/alpha/_reexport.py", line 158, in __call__
    self._underlying, request, timeout)
  File "/home/travis/build/grpc/grpc/python2.7_virtual_environment/local/lib/python2.7/site-packages/grpc/framework/alpha/_reexport.py", line 113, in _call_reexporting_errors
    raise _reexport_error(e)
ExpirationError

How reproducible is this?

Duplicate of #1670


[FEATURE] Complete the footer section

Detailed description
https://www.figma.com/file/rmCKKIsjSWCH0q6lObDQC8/Dev-Protocol-design?node-id=0%3A1
Context
Can someone work with this? You can look at the figma

Possible implementation
No response
Additional information
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

@vinzvinci The could you also share the links of the social media platforms here

@vinzvinci I want to work please assign

Does someone delete the comment?

@vinzvinci The could you also share the links of the social media platforms here

http://devprotocol.xyz/ you can see it here (footer section)

afaik Looks like the assignee has unassigned them and decided to not work on this issue (they deleted the comment too). but np, I can be always assigned if the issue is on hold from a while

can i get link for social medias ?


"Call to undefined method MangoPay\ScopeBlocked::GetSubObjects()"

I'm currently trying to make use of the new "block status" functions and my sdk is at release 3.1.5.
public function getUserRegulatoryStatus($mp_user_id)     {       if($mp_user_id)       {         return $this->mangoPayApi->Users->GetRegulatory($mp_user_id);       } else        {         \Log::warning('Error MangoPayService at getUserRegulatoryStatus: mp_user_id missing');       }     }
It currently stops here:
[...]/vendor/mangopay/php-sdk-v2/MangoPay/Libraries/ApiBase.php
"line": 426,
"function": "CastResponseToEntity",

Hi @Ephillius
We're looking into ti

Hi @Ephillius
We're looking into ti

Hi,
I have got the same error.
In debug mode :
`++++++++++++++++++++++ New request ++++++++++++++++++++++:
FullUrl: https://api.mangopay.com/v2.01/xxxxxxxxxxxxxx/users/00000000000000/Regulatory
RequestType: GET
HTTP Headers: Array
(
[0] => Content-Type: application/json
[1] => User-Agent: MangoPay V2 SDK PHP 3.1.6
[2] => Authorization: bearer xxxxxxxxxxxxxxxxxxxx
)

Response JSON: {"ActionCode":"","ScopeBlocked":{"Inflows":false,"Outflows":false},"Id":"00000000000000"}
Response object: stdClass Object
(
[ActionCode] =>
[ScopeBlocked] => stdClass Object
(
[Inflows] =>
[Outflows] =>
)
[Id] =><PHONE_NUMBER>0000

)
-------------------------------`
The url and response are working fine but It's after :(

You know what ?!
I found out where that's come from !
You need to open /MangoPay/ScopeBlocked.php
I replace :
class ScopeBlocked
By :
class ScopeBlocked extends Libraries\Dto
And enjoy ! 👍

Hello @tsoko17
Thanks for the suggestion 👍

Hello @Ephillius
Could we close this issue a the last release of the SDK fixed the problem?

Yes, absolutely. Thanks for the help. :)


Karabiner ctl-K, ctl-space don't work with VSCode

Thanks for your work.
ctl-space and ctl-k don't work in VSCode

I think I'm just going to install a VSCode emacs plugin and give that a go for a while.


test: Add coverage for template tags in message

Coverage to test the scenario in #97 to verify it works and will continue to work internally just in case.

Codecov Report

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

@@          Coverage Diff          @@
##           master    #99   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           3      3
  Lines         126    126
=====================================
  Hits          126    126

Continue to review full report at Codecov.

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


Feature: Add ability to force remux to custom container even when not necessary

Checklist

[x] I'm reporting a feature request
[x] I've verified that I'm running youtube-dl version 2019.06.08
[x] I've searched the bugtracker for similar feature requests including closed ones

Description

It may be handy to support remuxing the finished downloads with ffmpeg to a custom container format (eg. MKV) even when not necessary, for the purposes of having a backup archive filenames and formats consistent across the board (in case of a mix of MKVs, MP4, etc) as well as opening up possibilities for combinating with other features such as described here: #21344

Only now I noticed the --recode-video option, however it also has the context of "if necessary". That option is again heavily confused. When it comes to container formats the term "remux" is more appropriate, and secondly, the term "video" at the end is also confusing because video alone, if it is about remuxing anyway, usually is re-encoded to a codec, not a container format.

Only now I noticed the --recode-video option, sorry about that. However it also has the context of "if necessary", so I guess that was close heh. That option is again heavily mislabeled IMO. When it comes to container formats the term "remux" is more appropriate, and secondly, the term "video" at the end is also confusing because when talking about "re->coding" video is usualy meant to be re-encoing it to a different codec, not just remuxing/repacking it into a different container, if it is about remuxing anyway, then the valid values would be mislabeled.

The --recode-video option does in fact reencode the end file(audio+video), even if a remux would suffice (E.g. mp4 to mkv). Therefore i think that the name of the option "recode-video" is correctly labeled, but this also means youtube-dl is missing a proper remux option.
I agree that a real remux option is needed, to give the user the possibility to force a certain container if he wants to.

What about --merge-output-format?

What about --merge-output-format?

Does only work when audio and video files are downloaded separately and merged in the end. But if you use 22 as quality setting for example(to get a higher audio-bitrate), you endup with a mp4 instead of an mkv.

Yeah I spoke a bit too soon, recode does indeed re-encode, it's nice to have capability in there but unless I can precisely control the encoding configuration then I rather to it separately, but it's getting complicated just maintaining an archive already a chore quite a bit more than I thought.
What I meant to say is that the values are misleading then, it should be recode to X264 or HEVC or stuff like that, encoding is a bit more involved to fit into one simple command so that could be a bit though out and redesigned but I don't have strong opinions there as I want to preserve the video quality first and foremost (even tho I know youtube uses the worst chroma subsampling, but it's about archive integrity)

This issue seems to be similar to #6996, for which I proposed a --remux-video option in the PR #25296, is this the feature this issue requests?

Thank you for doing this PR.


[Feature Request] support multiple files when build

We could specify multiple files when run test:
go test -c 695.max-area-of-island_test.go 695.max-area-of-island.go

However, when try to run this way with dlv test, there will be error:
dlv test 695.max-area-of-island_test.go 695.max-area-of-island.go

Seems the second file won't be considered. Could this be improved?
Thanks!

I don't think this is very useful.

Hi @aarzilli ,
In case there are many go files in same directory, this will be very useful. It's also a good thing that the behavior of go test and dlv test keep consistent.
Thanks!

#1339


Analytics Custom Properties Casing

The logs.v1.data files seem to have inconsistencies for letter-casing for custom properties I've setup like PageName and LoadTime.
Most of the .data files have those recorded as pageName and loadTime, then for some files, they're recorded as PageName and LoadTime. The majority is the former, so I'd rather stick with that.

We used to have a bug in our Export service which was transforming properties' name. See https://github.com/microsoft/appcenter/issues/94.
We fixed the issue a while ago and kept both behaviors in place for 90 days. Last week we removed the old erroneous behavior.
From now on, your custom properties should be exported just the way they were emitted from our SDK.

I'm looking at an exported log from a ~15 minutes ago and it's still PageName -> pageName.
My app is emitting "PageName" using the SDK.

@myokeeh My mistake, the deployment from last week was actually rolled back (for unrelated reasons).
We just sent back to production that removed the casing erroneous behavior.
Starting now (August 21th at 1:12am UTC), you should see a consistent "PageName" in your exported logs.

If using ApplicationInsights for export.
A workaround is required.
in Kusto
customEvents
| extend Properties = todynamic(tostring(customDimensions.Properties))
| where Properties.YourProperty != "" or Properties.yourproperty != ""
| project YourProperty = tostring(iif(Properties.YourProperty != "", Properties.YourProperty, Properties.yourproperty)), timestamp, name

I misunderstood that it was a bug in ApplicationInsights, but it was different.
I hope it helps.


Triggering mentions suggestion [Question]

Hi,
I was trying to add mentions support in my editor and my approach to trigger the suggestions list was using a decorator which strategy to match regex like @[\w]+ but for the strategy to work I also need to check if the current cursor position it is currently on should not be an entity and for the same I need selection state in my strategy and for that I need to pass my editor context which I guess is hacky.
So I was wondering how did you implement it on FB because I might be taking a wrong approach of going through decorator to render Suggestions. Any help would be appreciated.
Thanks

At FB, we do not use a decorator for text that triggers mentions. Our process is:

Observe the text before the cursor, check it against a regex (like yours).
If there is a match, perform an asynchronous search to find matching results.
Using the DOM selection API, identify the target bounding Rect for the target text.
Use absolute positioning to render the results accordingly.

You may be able to use getVisibleSelectionRect for step 3 -- it will be released in 0.2.
It does seem like it could be useful to have the active SelectionState available to the decorator strategy, though. Or potentially even the entire EditorState, in case one wanted to look at surrounding blocks.

@hingermayank We went the same route as you did with mentions in our plugin system. Works fine as well. see https://github.com/nikgraf/draft-js-plugin-editor/blob/master/src/mentionPlugin/index.js

@nikgraf My concern is with passing the editor context instead of having selection state or as @hellendag suggested having entire editorState in strategy.

@hingermayank Yeah, we probably change it. I wonder what you concerns are with passing down the whole context?

@nikgraf Nothing wrong with that but it is just that I did not want to pass the whole context to a utility function.

@hellendag  I have upgraded draft-js to 0.2.0 but is getVisibleSelectionRect not exported in this version?

Ah, it's not exported. I'll include it in the next release.

@hingermayank If you'd like to submit a PR to expose it, we can go ahead and get it into master.

@hellendag I have submitted the PR #199.

Was thinking I shouldn't close this since there was a broader question around mentions, but I'll go ahead and close it after all since the relevant PR is now merged.

Was thinking I shouldn't close this since there was a broader question around mentions

@hellendag what is that you are talking about?

I started writing a higher-order component that tracks typeahead state based on the way FB mentions work using the method outlined by @hellendag above. It's not completely finished (straight up missing a README), but I'm not sure when I'll have more time to continue hacking on it..
Example linked here if anyone is interested in dissecting another approach!


Logging: InstanceService

[x] createRole
[x] setRoleActive
[x] grantRole
[x] revokeRole
[x] createTarget
[x] authorizeFunctions
[x] unauthorizeFunctions
[x] setTargetLocked
[x] setInstanceLocked
[x] createInstance
[ ] upgradeInstanceReader
[ ] upgradeMasterInstanceReader
[x] setStakingLockingPeriod
[x] setStakingRewardRate
[x] setStakingMaxAmount
[x] refillStakingRewardReserves
[x] withdrawStakingRewardReserves

staking events will be done in #683


Test with Java 21 and modernization

Java 21 was released Sep 19, 2023. We want to announce full support for Java 21 and would like the most used plugins to be compiled and tested with Java 21.
The acceptance test harness and plugin bill of materials tests are already passing with Java 21. This is a further step to improve plugin readiness for use with Java 21 and for development with Java 21.
The change intentionally tests only two Java configurations, Java 17 and Java 21 because we believe that the risk of a regression that only affects Java 11 is shallow. We generate Java 11 byte code with the Java 17 and the Java 21 builds, so we're already testing Java 11 byte code.
Supersedes #6.
Supersedes #7.
Supersedes #11.
Supersedes #13.
Testing done
Confirmed tests pass with Java 21 on Linux.
Submitter checklist

[X] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[X] Ensure that the pull request title represents the desired changelog entry
[X] Please describe what you did
Link to relevant issues in GitHub or Jira
[X] Link to relevant pull requests, esp. upstream and downstream changes
[X] Ensure you have provided tests - that demonstrates feature works or fixes the issue

This PR build is failing because it makes the plugin no longer compatible with Java 8, and the default build still uses Java 8.
Could anyone please replay this build with the content of the Jenkinsfile provided in this PR?
Thanks a zillion! 🤗

It now works, thanks you so much! 🤗


Agent list layout issues

[x] Increase the space between elements in mosaic view

[x] In Sort by element, rename Calendar by Created

Working as expected

Working as expected


PHP collection

Collect some usefull framework, tool for PHP

Composer
https://getcomposer.org/
Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.

Framework
Laravel
https://laravel.com/
The PHP Framework For Web Artisans

Framework
CodeIgniter
https://www.codeigniter.com/
CodeIgniter is a powerful PHP framework with a very small footprint, built for developers who need a simple and elegant toolkit to create full-featured web applications.

Tool
Monolog
https://github.com/Seldaek/monolog
Monolog sends your logs to files, sockets, inboxes, databases and various web services. See the complete list of handlers below. Special handlers allow you to build advanced logging strategies.
This library implements the PSR-3 interface that you can type-hint against in your own libraries to keep a maximum of interoperability. You can also use it in your applications to make sure you can always use another compatible logger at a later time. As of 1.11.0 Monolog public APIs will also accept PSR-3 log levels. Internally Monolog still uses its own level scheme since it predates PSR-3.

Tool
monolog-viewer
https://github.com/Syonix/monolog-viewer
A viewer to nicely display log files generated by Monolog.

phinx
https://github.com/robmorgan/phinx
PHP Database Migrations

CodeIgniter
Laravel
Symfony
Slim
Lumen
CakePHP


Using WoodburyMatrices

These have been removed from base and (right now) live here

Coverage decreased (-20.61%) to 76.51% when pulling 88a4012531d4ff0dd43af8be8c2192ad2fcccfaa on spencerlyon2:patch-1 into 2c7a96ce2563065748f2c5178cdb77e2182bf311 on timholy:master.

Coverage decreased (-20.61%) to 76.51% when pulling 88a4012531d4ff0dd43af8be8c2192ad2fcccfaa on spencerlyon2:patch-1 into 2c7a96ce2563065748f2c5178cdb77e2182bf311 on timholy:master.

Thanks!
I'm a little puzzled it passes tests on both 0.3 and 0.4. Would it make more sense, though, to load the package only on 0.4? It looks like 0.4.0-dev+3066 is the version number in which the removal happened.

@timholy Do you want to load the package only on 0.4 before this merges? I don't think there's a problem with loading it on 0.3 as well - there's no require file or anything in WoodburyMatrices that specifies that it's 0.4 only (even though I know the same functionality exists in base).
I'm curious to see if merging this fixes the 0.4 builds on the other PR's, so if you don't want to merge this without that change and @spencerlyon2 doesn't have time for this right now, I might build another PR from this one which only loads the Woodbury package on builds after the specified commit.

Can we do a check of the Julia version from within REQUIRE?

@spencerlyon2 I don't think that is possible, but I don't see a reason to given that it seems to work fine on 0.3 as well (and the need to is only temporary until 0.4 is released).
@timholy Do you have any objections to me merging this in its current state? I want this in before I merge #57.

@spencerlyon2 I took the liberty of cherry-picking your commits onto a branch of my own, which I merged in #58 - didn't feel like waiting :) Hope you're OK with that.

Of course, thanks for taking care of it.
On April 13, 2015 at 6:56:12 AM EDT, Tomas Lycken<EMAIL_ADDRESS>wrote:@spencerlyon2 I took the liberty of cherry-picking your commits onto a branch of my own, which I merged in #58 - didn't feel like waiting :) Hope you're OK with that.  —Reply to this email directly or view it on GitHub.


Server crash MissingPaletteEntryException: Missing Palette entry for index 1.

Spark link
https://pastebin.com/1u6aaHcT
Expected behavior
?
Observed/Actual behavior
serve generation
Steps/models to reproduce
I generated server for use chunky plugin
I'm use
Terralith Data pack
Arboria - Biome Enhancement
Cavernous [1.19.x]
Purpur version
[06:41:49 INFO]: Current: git-Purpur-1838 (MC: 1.19.2)*
Previous: git-petal-"d448170" (MC: 1.19.2)

You are 7 version(s) behind

Agreements

[X] I am running the latest version of Purpur available from https://purpurmc.org/downloads.
[X] I have searched for and ensured there isn't already an open issue regarding this.
[X] My version of Minecraft is supported by Purpur.

Other
Crash occurs suddenly, sometimes during world generation
Sometimes during world generation it is possible to reveal
https://mcpaste.com/7485dff9bbc208b2cf9967fc113d68a4

Is this still a problem on 1.19.3?

Is this still a problem on 1.19.3?

Idk

Ok. Closing for now then. Let us know if you can recreate it on 1.19.3


Two small bugs

Utm is a really nice software. But I may found two issues.

after airdrop the vm to my mac. The sharing windows can't be close, it repeatly pop up.
Even if I delete the iso file with in a vm, it seems it is still here. I found this after I open the .utm file which airdroped to my mac.

ipad pro 2020, ios 14.2

You mean the iOS pop up? UTM doesn’t control airdrop so this is an iOS issue.
This should be fixed in 2.0.9. Can you confirm if you’re running 2.0.9?


Add Python 3.11 markers, add 3.11 for unit tests & install test

Closes #1656

No linked issues found. Please add the corresponding issues in the pull request description.  Use GitHub automation to close the issue when a PR is merged

According to https://github.com/apache/spark/pull/38987 you will need Spark 3.4.0 to use Python 3.11, at the time of writing not yet released at https://spark.apache.org/downloads.html


More matcher tests

This is the first half of the matcher tests (#5). These tests are more substantive, so I thought it best to merge in parts to avoid a monster PR.

@emersonthis What do you think about testing .not as well?

@emersonthis What do you think about testing .not as well?


when i run the gui or non gui script all i get is a string of errors related to ampersands

it just says "the ampersand (&) character is not allowed. the & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string
this message appears over and over again dozens of times.
help?
ty!
running on an acer spin 1 n5000 cpu model number SP111-33-P1XD

It looks like you just copied and pasted the code directly from the GitHub page. You need to download the .zip file and then extract it, and then run the file (or copy the code in the file) and put it into an editor and run it.
Sent from my iPhone

On Sep 11, 2019, at 12:05 PM, phrostyphace<EMAIL_ADDRESS>wrote:
it just says "the ampersand (&) character is not allowed. the & operator is reserved for future use; wrap an ampersand in double quotation marks ("&") to pass it as part of a string
this message appears over and over again dozens of times.
help?
ty!
running on an acer spin 1 n5000 cpu model number SP111-33-P1XD
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Clippy improvements

Objective
Follow up to my previous MR #3718 to add new clippy warnings to bevy:

[x] option_if_let_else (reverted)
[x] redundant_else
[x] match_same_arms
[x] semicolon_if_nothing_returned
[x] explicit_iter_loop
[x] map_flatten

There is one commit per clippy warning, and the matching flags are added to the CI execution.
To test the CI execution you may run cargo run -p ci -- clippy at the root.
I choose the add the flags in the ci tool crate to avoid having them in every lib.rs but I guess it could become an issue with suprise warnings coming up after a commit/push

I like these lints; I think they add clarity and consistency without being tedious or frustrating.
The corresponding code changes are good: I think these are clear improvements in every case.
Added as a candidate to https://github.com/orgs/bevyengine/projects/4/views/1 to try to avoid bitrot.

map_or and map_or_else are bad for readability as they have the map closure as second

I reverted the changes from the first commit (clippy::option_if_let_else) and removed the clippy warning in the CI.
Every added map_or and map_or_else was reverted, I just left a few instances of map where I thought it was better. I can revert those changes if necessary.
@mockersf @alice-i-cecile

Rebased on staging, fixed additional warnings

I'm not a huge fan of having [redundant_else](https://rust-lang.github.io/rust-clippy/master/#redundant_else) as a rule. I agree that it can sometimes be redundant, but in some situations I think it's clearer to show that each block are separate branches. I don't like that it's enforced in all situations. I haven't seen that many situations in this PR where the end result was necessarily worse, but I don't like enforcing that rule.

I'm not a huge fan of having redundant_else as a rule. I agree that it can sometimes be redundant, but in some situations I think it's clearer to show that each block are separate branches. I don't like that it's enforced in all situations. I haven't seen that many situations in this PR where the end result was necessarily worse, but I don't like enforcing that rule.

I personally like it because it just avoids the pressure to push code to the right, particularly if the code block is large.

Rebased on staging and fixed additional warnings. Maybe I should change the MR target to staging instead of main ? I'm not sure what the role of staging is
@IceSentry I don't think having a redundant else (meaning you return in the if) adds clarity, but maybe enforcing that rule is a bit much.
@james7132 Thanks for the review

Just resolved conflicts, rebased, and removed our manual allow(type_complexity) cases, now that they are allowed by default.


AchievementPopup bugs (in IE?)

Getting a bunch of messages like this:

its fun and is helping me learn to program but theres a glitch the left side of my screen s covered with "you signed up for the most awesome coding game" and now it crashes do to long running script

It looks like that infinite achievement popup bug is back–that was just IE, right?
Why is it on the left, not the right?

I turned it off for now in IE in 5a66a91, so hope that helps, but we could maybe get them working again.

Had a player report this very recently:

The "Edited a Level" achievement notification kept popping up continuously once I triggered it, filling the screen with notifications until I reloaded

This was an experienced dev, so I don't think they were in IE, but not sure which browser.

I think this should be fixed with this change.


[meta] Automatically release API documentation

What?
Each time we publish a new tag on a core project, we should launch a Travis-CI process to release a new version of the API documentation.
Maybe relevant documentation

How they made it with TodoMVC https://github.com/tastejs/todomvc/issues/972
Some tutorial http://rmcgibbo.org/posts/deploying-with-travis-ci-and-s3/

Related issues

https://github.com/yeoman/generator/issues/673
https://github.com/yeoman/environment/issues/9

Stretch goal
Release yeoman.io each time there's a change. See https://github.com/yeoman/yeoman.io/issues/344

This is all setup and works like a charm. Is there some reason this issue is staying open?

this was opened as an idea for a hackathon, i believe its good to close now.

This is actually not done. Only yeoman.io is automatically build and released. Our API documentation still rely on manual process.
Help fixing this is warmly welcomed!


eth_getLogs availability determination is incorrect

Version of Hardhat
2.22.2
What happened?
The logic below incorrectly determines whether eth_getLogs is available.

https://github.com/NomicFoundation/hardhat/blame/main/crates/edr_provider/src/requests/eth/filter.rs#L44-L49

eth_getLogs RPC should be available after the berlin hardfork, but it is only available after the merge hardfork.
Minimal reproduction steps
I used eth_getLogs with the Berlin hard fork specified in the hardhat-network settings.
Search terms
No response

@Wodann do you remember why we did this? Was this logic also in place for HH+EJS?


Syntax error due to async function

Hey there,
serve 3.2.6 doesn't start anymore on node 6.9.4 due to what it looks like failed compilation of async functions.
I tried doing a fresh install with npm rm -g serve && npm i -g serve, but still seeing the error below.
/Users/clemens/.nvm/versions/node/v6.9.4/lib/node_modules/serve/lib/index.js:43
const handler = async (req, res) => {
                      ^
SyntaxError: Unexpected token (
    at Object.exports.runInThisContext (vm.js:76:16)
    at Module._compile (module.js:542:28)
    at Module._extensions..js (module.js:579:10)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/clemens/.nvm/versions/node/v6.9.4/lib/node_modules/serve/node_modules/async-to-gen/register.js:40:5)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/Users/clemens/.nvm/versions/node/v6.9.4/lib/node_modules/serve/bin/serve.js:39:1)

edit: sorry, accidentally submitted the issue before writing the actual problem statement :D

Fixed!


BUILD ERROR

Hi there,
Error came up when I tried to build this in my ROS1 workspace.
I did what the 'readme' says, clone this repository into mycatkin_ws/src/
then I ran 'catkin build'
the error is:
By not providing "Findyak.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "yak", but
CMake did not find one.
Could not find a package configuration file provided by "yak" with any of
the following names:
yakConfig.cmake
yak-config.cmake

Add the installation prefix of "yak" to CMAKE_PREFIX_PATH or set "yak_DIR"
to a directory containing one of the above files.  If "yak" provides a
separate development package or SDK, be sure it has been installed.
What should I do then?
Thx a lot

It looks like you're not building yak, which is the underlying TSDF library that yak_ros uses. It has a separate set of installation instructions, which can be found here.

It looks like you're not building Yak, which is the underlying TSDF library that yak_ros uses. You will need to clone Yak into your workspace and install its dependencies before you can build yak_ros. It has a separate set of installation instructions, which can be found here.

Thank you a lot,
I tried to build and install 'yak' the project
I build it on CUDA 9.0 but error shows:

[  5%] Building NVCC (Device) object CMakeFiles/yak.dir/src/cuda/yak_generated_tsdf_volume.cu.o
nvcc fatal   : Unsupported gpu architecture 'compute_20'
CMake Error at yak_generated_tsdf_volume.cu.o.cmake:220 (message):
Error generating
/home/yang/catkin_ws/src/yak/build/CMakeFiles/yak.dir/src/cuda/./yak_generated_tsdf_volume.cu

It seems I need to comment some config in some files
I was mostly told by the  blog from webs that I should comment something in Makefile.config
but I can't find this file.

Strictly speaking that's a Yak issue rather than a yak_ros issue, since it's an error while compiling the Yak CUDA libraries. I made a new issue on the Yak issues page and I'll post further comments over there.
You can close this issue if your original question has been resolved.


Incorrect code comment for revAcc function in FSharp.Core/local.fs

The following comment on line 412 of FSharp.Core/local.fs implies the following revAcc function uses mutation. However, the implementation does not use mutation so the comment appears to be incorrect.
    412     // optimized mutation-based implementation. This code is only valid in fslib, where mutation of private
    413     // tail cons cells is permitted in carefully written library code.
    414     let rec revAcc xs acc =
    415         match xs with
    416         | [] -> acc
    417         | h::t -> revAcc t (h::acc)
    418

    419     let rev xs =
    420         match xs with
    421         | [] -> xs
    422         | [_] -> xs
    423         | h1::h2::t -> revAcc t [h2;h1]

The incorrect comment should be removed or updated.

Can you please send a pull request with a fix? Thanks

Fixed by direct commit in https://github.com/Microsoft/visualfsharp/commit/e69a774973a79b3d605c7f623b3dc612d8e067b0


TextToImage Generation Failed

Discussed in https://github.com/lstein/stable-diffusion/discussions/584

Originally posted by wzgdesigntech September 14, 2022
I want to implement the function of textToImage through dream.py, but I get this result；

My GPU：NVIDIA GeForce GTX 1650 .Is it because this GPU is not supported?Can someone help with the answer?
(edit by lstein: This was originally posted in Discussion, so I moved it here)

Dupe of Green image on 1660 Ti even with full precision

Poke 👉 @lstein recommending this be closed.
Keep up the good work!


Alpine.js compatibility breaks with  value becoming object '{value: "x"}' instead of 'x'

When user selects <option value="x">, then <select> value bound with alpinejs x-model attribute becomes '{value: "x"}' instead of 'x'
To Reproduce
<script defer<EMAIL_ADDRESS><script defer<EMAIL_ADDRESS>
<select
  x-init="new Choices($el, {})"
  x-data="{curvalue: null}"
  x-model="curvalue"
  @change='console.log(JSON.stringify(curvalue))'
>
    <option value="x">First item</option>
    <option value="y">Second item</option>
</select>

Expected behavior
Expected same behavior as regular <select>:
When user selects <option value="x">, then <select> value becomes 'x'
Choices version and bundle

Version: 11.0.2

Desktop (please complete the following information):

OS: openSUSE Tumbleweed
Browser: Firefox
Version 131.0

My current workaround is to assign alpine data manually on change instead of using x-model:
<select
  x-init="$el.choices = new Choices($el, {})"
  x-data="{curvalue: null}"
  @change='curvalue = $el.choices.getValue(true)'
>

I add this on init:
this.$el.addEventListener("change", (e) => {
      if (e instanceof CustomEvent) {
        this.$el.dispatchEvent(new Event("change"));
        e.stopPropagation();
        e.stopImmediatePropagation();
      }
    });

It does not support x-model but at least the change event is correct.


File not found when running 6to5

I've got this in my package.json, which has worked just fine, until today when I came back and noticed the deprecation warning for 2.x.x:
  "dependencies": {
    "6to5": "^2.7.1"
  },
  "scripts": {
    "test": "echo 'TODO: Test script' && exit 1",
    "clean": "rm -rf dist",
    "postinstall": "npm run build-cjs",
    "build-umd": "./node_modules/.bin/6to5 src --source-maps --out-dir . --modules umd",
    "build-cjs": "./node_modules/.bin/6to5 src --source-maps --out-dir . --modules common",
    "build-amd": "./node_modules/.bin/6to5 src --source-maps --out-dir . --modules amd",
    "build-global": "echo 'TODO: Global build' && exit 1"
  },

so when installing this package, it runs 6to5. But lately, I'm getting this error (with irrelevant parts removed):
❯ npm install git+https://github.com/infamous/infamous.git#master                                                                                [22:06:54]
npm WARN deprecated<EMAIL_ADDRESS>3.0.0 has been released featuring a host of bug fixes and new features

><EMAIL_ADDRESS>postinstall /Users/josephpea/test/blahblah/node_modules/infamous
> npm run build-cjs

><EMAIL_ADDRESS>build-cjs /Users/josephpea/test/blahblah/node_modules/infamous
> 6to5 src --source-maps --out-dir . --modules common

src doesn't exist

npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/usr/local/bin/npm" "run" "build-cjs"
npm ERR! node v0.10.33
npm ERR! npm  v2.1.12
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>build-cjs: `6to5 src --source-maps --out-dir . --modules common`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build-cjs script '6to5 src --source-maps --out-dir . --modules common'.
npm ERR! This is most likely a problem with the infamous package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     6to5 src --source-maps --out-dir . --modules common
npm ERR! You can get their info via:
npm ERR!     npm owner ls infamous
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/josephpea/test/blahblah/node_modules/infamous/npm-debug.log
npm ERR! Darwin 14.0.0
npm ERR! argv "node" "/usr/local/bin/npm" "install" "git+https://github.com/infamous/infamous.git#master"
npm ERR! node v0.10.33
npm ERR! npm  v2.1.12
npm ERR! code ELIFECYCLE

Any idea why this was working before, but not now?

3.0.0 was released today so I deprecated 2.x. The deprecation doesn't do anything other than just displaying that message whenever you install a 2.x version.

For sure. THanks. I think I might've published some version of my lib while not in the root folder. e.g. npm publish in a subfolder. Doh.

@trusktr Some probably unrelated problems on your usage of npm scripts:
node_modules/.bin should never exist in any npm script. The executable you're after is not guaranteed to be in that location due to npm's deduplication algorithm. Just call 6to5 directly, when npm runs scripts it automatically configures the PATH to include ./node_modules/.bin and various other locations the executable could be located (i.e. a node_modules/.bin anywhere the parent hierarchy)
Also you should almost never use postinstall for a similar reason, it runs after things are installed into it's node_modules but it's possible npm has decided to install a dependency higher in the hierarchy for deduplication purposes. Instead of postinstall you should always use prepublish (which is, perhaps unintuitively, fired after installation).

@timoxley Interesting. It seems npm is stripping the "./node_modules/.bin" from the call anyway. Thanks for those helpful tidbits! I'm guessing (intuitively) that prepublish runs before npm publish.

@timoxley Hmmm, now that I think of it, my postinstall script is only touching files of my own package, nothing in node_modules, so some dependencies being higher up might not be a problem, right? I'll give prepublish a try.


Autocomplete

Any plans for adding autocomplete plugin? Possibly using async await with fetch?

no, as that's very dependent on what/how the values you're autocompleting to are. it will vary from implementation to implementation, and is not an ideal candidate for a generalised behavior in core bootstrap.


Fix all broken atlas scripts (based on existing issues or validator failures)

Closing this as it's totally uninformative. We should raise issues for specific atlases.


Shipping zone fix

Description

Update ShippingZone#price_based_shipping_rates's type from Hash to Array
Update ShippingZone#weight_based_shipping_rates's type from Hash to Array

Otherwise, I will get below error when access those two attributes.
Return value: Expected type T.nilable(T::Hash[T.untyped, T.untyped]), got type Array with value ...

@hoppergee, thanks for bringing this to our attention.
However, as mentioned at the top of these files, they are auto-generated.  Therefore, it will require internal schema file changes for this to propagate properly to the API.
Please create an issue for tracking purposes.


Strings overlapping in Chart

Describe the bug
Strings overlapping as per screenshot attached.
To Reproduce
Steps to reproduce the behavior:

Go to covid19india.org
Scroll down to Spread Trends
See error

Expected behavior
String Overlapping on chart
Screenshots

Duplicates #1650


[Estimator] Improve usability and fix logging inconsistencies

Description
gluon.contrib.estimator uses a Logger shared between all event handlers that is
obtained via logging.getLogger(gluon.contrib.estimator.event_handlers). This
logger used to be configured when creating a
gluon.contrib.estimator.LoggingHandler. This configuration was inconsistent,
because each time a LoggingHandler was created, the global Logger was modified.
Instead, this commit clearly separates the LoggingHandler (responsible for
logging to the Logger during estimator.fit) from the configuration of the
Logger (which users can do via the introduced getLogger API).
Further, there was previously no way for user-defined EventHandlers to log to
the correct Logger instance.
We also disable log handler propagation by default and change the default log
stream for gluon estimator to sys.stdout.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[X] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at https://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[X] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[X] Introduce gluon.contrib.estimator.getLogger API for users to configure and obtain the logger class used by gluon estimator. This supersedes configuring the logger by adding constructor arguments to gluon.contrib.estimator.LoggingHandler, as the logger is a global object and it does not make sense to configure it as part of a class constructor (of which we can expect some users to create multiple objects during a sessione.)

Comments

This change is backward incompatible, but is important to make. It only changes experimental APIs. The reason is that the previous API design is inconsistent and not user friendly. It is inconsistent, because a global object is modified whenever a LoggingHandler object is created; this leads to buggy behaviour if the user creates multiple LoggingHandlers, as all of them will share the same underlying Python Logger. Instead, we must make it explictit that the same Logger is used.
This change improves usability, by switching the default log stream from sys.stderr to sys.stdout. The following screenshot highlights the need for this. Users can change this default by modifying the logger returned by the getLogger API, if needed.

Compare this to

Superseded by https://github.com/apache/incubator-mxnet/pull/16810


Use generics with Order and associated Builders

Orders are extensible, with various platforms offering extensions to the functionality of the generic XChange implementation.
Investigate possible usage of generics with Order
Builder<T extends Order> {
  T build()
}

out-of-date


window.location when converted only shows undefined

any reasons why window.location when converted by fuckjs does not work? The output is undefined

Because it encodes as Function() { window.location } which does not return from function. So, you can encode (using jsfuck.com) retrun window.location or just return location

Thanks!


Setup Friend Controllers

/api/users/:userId/friends/:friendId

POST to add a new friend to a user's friend list
DELETE to remove a friend from a user's friend list

pushed to feature/routes


No module named 'ltr.external.PreciseRoIPooling.pytorch'

At the first time, I met the same error with
from pysot.tracker.tracker_builder_cross import build_trackerC
ModuleNotFoundError: No module named 'pysot.tracker.tracker_builder_cross'
,then I add export PYTHONPATH
and it works.
But this time it tells that
from ltr.external.PreciseRoIPooling.pytorch.prroi_pool import PrRoIPool2D
ModuleNotFoundError: No module named 'ltr.external.PreciseRoIPooling.pytorch'
and I did check the directory, it just doesn't exists.
NEEDING HELP!!!!!!!!!!!
THANKS!!!!!!!!!!!!!

update: solved by downgrade pytorch version


Handle query string encoding of list values for the param map.

The situation
I would like to be notified by Twilio as an in-flight call I created progresses through various states. Using the current ExTwilio API, I would write:
ExTwilio.Call.create(%{
  to: ...,
  from: ...,
  application_sid: ...,
  status_callback_event: ["ringing", "answered", "completed"]
})

The problem
The creation attempt above throws an error:
(ArgumentError) encode_query/1 values cannot be lists

The culprit
ExTwilio.UrlGenerator.to_query_string wraps a call to URI.encode_query which forbids lists from being elements of the enumerable that we pass in.
The reasons why URI.encode_query forbids lists is essentially due to the lack of standards around encoding nested parameters in a URL. (source)
The solution
Thankfully, Twilio tells us exactly how we should encode our parameters.

Thus, we can edit how we map over our keyword list in ExTwilio.UrlGenerator.to_query_string before we ship it to URI.encode_query, ensuring that nested list elements are transformed in the same fashion as the top level elements. This allows us to encode the map above without error.
In addition, the original test needed to be updated. The data structure the test passed in to ExTwilio.UrlGenerator.to_query_string did not match the data structure that was actually being passed in the code.

Thanks! :star: :star: :star:


Add Glia patches to v1.6.11

Tests are failing on Elixir 1.9.4 because the mime package requires at least Elixir 1.10. We don't use that Elixir version anymore, so I think we can leave these tests failing.
I checked on the source repository they don't even run tests on 1.9.4 but it's that the commits that update the Github action are not part of releases, so updating to Phoenix 1.6.11 did not update the CI versions.


SARS-CoV-2-RBD_Omicron_MAP_LY-CoV1404 is 404

Thanks for sharing your binding and expression data of Omicron variants in your new preprint, 10.1101/2<IP_ADDRESS>8745.
When reading the paper, I found the repo of Bebtelovimab is 404, https://github.com/jbloomlab/SARS-CoV-2-RBD_Omicron_MAP_LY-CoV1404.

Sorry, we had forgotten to make that repo public. It is now available at https://github.com/jbloomlab/SARS-CoV-2-RBD_Omicron_MAP_LY-CoV1404

@jbloom, many thanks!


feat(utils): add new functions to convert base64 strings

Description

This PR adds 4 functions to convert base64 strings from buffers and text.
Related Issue(s)

Closes #299
Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] I have run yarn style without getting any errors
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Interface and functionality looks good (with the caveat that I may not be sure about the Unicode stuff being right). My suggestions are about documentation and testing.

Please, take a look again and let me know if the documentation and tests I added are ok.

A few more suggestions in comments, but they're optional so you can decide whether or not to make further changes. Functionally this seems good.

Thank you 🙏🏽  I'll merge this PR. We can open a new one if necessary.


Make kiali 'auth.strategy' dynamic, currently its hardcoded to 'login'

In the istio - kiali templates, auth.strategy is hardcoded to login Here
It would be very helpful, if we can make it dynamic or allow it to get the value from charts variable.
If there is any other way to supply that value, please assist me.

We've had two PRs submitted on this :)
https://github.com/istio/istio/pull/15459
Waiting on this one: https://github.com/istio/istio/pull/15146

@jmazzitelli Okay, thanks.

The PRs seem to be merged, closing this bug.
Note that Kiali has its own operator and we should stop maintaining duplicated installer for kiali ( like we  are planning to do for CertManager, Prometheus, etc).


Nest classNames { decorative, structural }

Resolved by https://github.com/ember-theater/ember-theater/commit/9586915cb267c7c9a7ab66e39d7a03aa3536b4f6.


Volume rendering is broken

I can't get volume rendering to work with any client-side views right now
"""Validate volume rendering with VTK.js."""

import pyvista as pv
import numpy as np
from trame.app import get_server
from trame.ui.vuetify import SinglePageLayout
from trame.widgets import vuetify, html
from trame.widgets.vtk import VtkLocalView, VtkRemoteView

# Just for using this script in testing
from trame_client.utils.testing import enable_testing

server = enable_testing(get_server(), "local_rendering_ready")
state, ctrl = server.state, server.controller

state.trame__title = "Volume Validation"
state.local_rendering_ready = 0

# -----------------------------------------------------------------------------

image = pv.Wavelet()

plotter = pv.Plotter(off_screen=True)
actor = plotter.add_volume(image)
plotter.reset_camera()

# -----------------------------------------------------------------------------
# GUI
# -----------------------------------------------------------------------------

with SinglePageLayout(server) as layout:
    layout.icon.click = ctrl.view_reset_camera
    layout.title.set_text(state.trame__title)

    with layout.toolbar:
        vuetify.VSpacer()
        html.Div("{{ local_rendering_ready }}", classes="readyCount")

    with layout.content:
        with vuetify.VContainer(
            fluid=True,
            classes="pa-0 fill-height",
        ):
            with vuetify.VCol(classes="fill-height"):
                view = VtkLocalView(
                    plotter.ren_win,
                    on_ready="local_rendering_ready++",
                )
                ctrl.view_update = view.update
                ctrl.view_reset_camera = view.reset_camera
            with vuetify.VCol(classes="fill-height"):
                VtkRemoteView(plotter.ren_win)

    # hide footer
    layout.footer.hide()

# -----------------------------------------------------------------------------
# Main
# -----------------------------------------------------------------------------

if __name__ == "__main__":
    server.start()

Seeing this in JS console:
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'set')
    at Object.r [as registerInstance] (trame-vtk.js:3450:72118)
    at trame-vtk.js:3450:64758
    at Array.forEach (<anonymous>)
    at Object.ut [as update] (trame-vtk.js:3450:64568)
    at ts (trame-vtk.js:3450:63650)
    at trame-vtk.js:3450:64781
    at Array.forEach (<anonymous>)
    at ut (trame-vtk.js:3450:64568)
    at Object.oM [as update] (trame-vtk.js:3450:65403)
    at ts (trame-vtk.js:3450:63650)

This was a browser caching issue. All seems to be working now

No builder for vtkSmartVolumeMapper

Fixed the error by adding an alias but the rendering is still empty...

Any reason for 2 fields with a weird one set at setScalars?
{
					"parent": "000000013df054a0",
					"id": "000000013df054a0-dataset",
					"type": "vtkImageData",
					"properties": {
						"spacing": [1.0, 1.0, 1.0],
						"origin": [0.0, 0.0, 0.0],
						"extent": [-10, 10, -10, 10, -10, 10],
						"direction": [1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0],
						"fields": [{
							"hash": "d42f855c14d32707570a50f67ab96952_9261f",
							"vtkClass": "vtkDataArray",
							"name": "RTData",
							"dataType": "Float32Array",
							"numberOfComponents": 1,
							"size": 9261,
							"ranges": [{
								"min": 37.35310363769531,
								"max":<PHONE_NUMBER>042969,
								"component": null
							}],
							"location": "pointData",
							"registration": "addArray"
						}, {
							"hash": "8f1bb27011e27e1f5d3ea5798bd2b93a_9261f",
							"vtkClass": "vtkDataArray",
							"name": "Data",
							"dataType": "Float32Array",
							"numberOfComponents": 1,
							"size": 9261,
							"ranges": [{
								"min": 0.0,
								"max": 255.0,
								"component": null
							}],
							"location": "pointData",
							"registration": "setScalars"
						}]
					}
				}

Seems to be a blend of PyVista and trame-vtk expectation.
As I remember, the vtkSmartVolumeMapper prevent us to grab proper info from the concrete mapper. At some point you did something to override the vtkSmartVolumeMapper by a concrete one within PyVista...

The VTK volume rendering example is working.

Which example? Is it using vtkFixedPointVolumeRayCastMapper because that is the only volume mapper class I can get to work with the current serializer. vtkOpenGLGPUVolumeRayCastMapper, vtkGPUVolumeRayCastMapper, and vtkSmartVolumeMapper are all failing

Yes just tested vtkFixedPointVolumeRayCastMapper


Passing ui_locales to identityserver

Is there any way to pass my application selected culture by user ( from a menu which user can change it anytime) in UserManager.signinRedirect();
I tried to set it in the config
const userManagerConfig = {
client_id: clientId,
....
extraQueryParams: {

    'ui_locales': navigator.language.toLowerCase()
}

};
const UserManager = createUserManager(userManagerConfig);
but it is not updating when user change the culture in the application.

You can pass parameters using signinRedirect. Please refer to the oidc-client wiki to see how it is done.