[$1000] Android - There is no focus in compose box after tapping on deep link

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue found when executing PR https://github.com/Expensify/App/pull/15994
Action Performed:

Go to NewDot app
Log in with any account
Send yourself a link to a public report you're not already a member of on NewDot (from a different account).
Click on that link, and verify you can access the report.

Expected Result:
There is focus in compose box after tapping on deep link
Actual Result:
There is no focus in compose box after tapping on deep link
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/225484849-ede42617-cda0-451a-bb7c-c8b8a2a38254.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01d0ad62d564fa664e
Upwork Job ID:<PHONE_NUMBER>240424960
Last Price Increase: 2023-03-20

Triggered auto assignment to @twisterdotcom (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

reviewing

Job added to Upwork: https://www.upwork.com/jobs/~01d0ad62d564fa664e

Current assignee @twisterdotcom is eligible for the External assigner, not assigning anyone new.

Triggered auto assignment to Contributor-plus team member for initial proposal review - @Santhosh-Sellavel (External)

Triggered auto assignment to @Julesssss (External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.

Awaiting proposals

@Julesssss @dylanexpensify I think this is a feature request. Currently on native There is focus in compose box only happens if we access a new chat (without any messages). For existing chat it will not focus on the compose box when accessing the chat.

Ah right. It would be good to confirm that this is only occurring on Andorid and not iOS then.

Hey, it's Bartek from Callstack, I would like to take care of this issue

📣 @burczu You have been assigned to this job by @mountiny!
Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖

Awaiting your proposal @burczu thanks! Anyone else also can submit their proposals before Bartek's

📣 @BeeMargarida You have been assigned to this job by @mountiny!
Please apply to this job in Upwork and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖

Just waiting on the PR.

Was the proposal above accepted?

@Julesssss
Sorry for the delay here,
I think we should put this on hold and do nothing about this for now.
Reasons
Well, this issue is not specific to deep link flow. It happens in normal cases too. Issue outline focus is inconsistent between mobile native & mweb apps for which we have issue #10731 to unify the focus across platforms and make it consistent on mobile i.e

Always focus the input, but prevent keyboard from opening on mobile & mWeb

And we have done some work there on the respective upstream repos and waiting for the release on the RNW.

I think this should be added to the Focus Tracking issue https://github.com/Expensify/App/issues/15992

@Julesssss that makes sense to me. Should we close and link this to #15992

Yeah, makes sense to me 👍


Fix infinite loop on _dot

When you pressed the dot button before a zero it created an infinite
loop, this repairs that problem.

@petros789


[SUPPORT] Introduce in-memory-cache for ExternalSpillableMap

Tips before filing an issue

Have you gone through our FAQs?

Join the mailing list to engage in conversations and get faster support at<EMAIL_ADDRESS>

If you have triaged this as a bug, then file an issue directly.

Describe the problem you faced
Should we need a new ExternalSpillableMap which can cache the key-value in memory ?
I find that current ExternalSpillableMap's in-memory-map will keep these keys which come early. So only the earliest keys can be cache-hitted when call get function, and those 'unlucky' keys will cause random read operations on the disk.
So can we introduce a in-memory-map used for caching key-value pairs with different elimination strategies, ie, LRU, LFU...
In my implementation, I would not break the existing implementation, but use a new type inherited from ExternalSpillableMap to implement the above functionality.
Looking forward to your thoughts!
To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.
Environment Description

Hudi version :

Spark version :

Hive version :

Hadoop version :

Storage (HDFS/S3/GCS..) :

Running on Docker? (yes/no) :

Additional context
Add any other context about the problem here.
Stacktrace
Add the stacktrace of the error.

So can we introduce a in-memory-map used for caching key-value pairs with different elimination strategies, ie, LRU, LFU...
In my implementation, I

+1

So can we introduce a in-memory-map used for caching key-value pairs with different elimination strategies, ie, LRU, LFU...
In my implementation, I

+1

Thanks for your response！ If this solution is really useful, I am willing to try to contribute this piece of code.

@TheR1sing3un hi, this is a great capability, but before starting, it is necessary to confirm in which scenarios it can bring benefits. Could you provide a few scenarios?

@TheR1sing3un hi, this is a great capability, but before starting, it is necessary to confirm in which scenarios it can bring benefits. Could you provide a few scenarios?

Assume the following scenario

some high-frequency keys are updated frequently
the first appearance of these keys in log files came relatively late
MaxMemoryForCompaction relatively small

When a Compaction/Log-Compaction happens and these keys were not initially loaded into the memory map,  the subsequent frequent 'get' in compaction logic results in a large number of random reads on the disk (both bitcask and rocksdb are log-structure-append-only-file data structure, high performance for reading but low performance  for writing), which will cause great performance degradation. If the map in the memory has a certain elimination and update mechanism, such as lru or lfu, the memory hit ratio will be improved in some scenarios for better compaction performance.

@TheR1sing3un oh I see, the mor log file merge will benefit from it, thank you answer.

@TheR1sing3un Were we able to work on this. I was not able to locate jira or PR,
Created one JIRA for tracking - https://issues.apache.org/jira/browse/HUDI-8114

@TheR1sing3un Were we able to work on this. I was not able to locate jira or PR, Created one JIRA for tracking - https://issues.apache.org/jira/browse/HUDI-8114

Thank u! I am working on it already, I will submit pr about it later, please assign it to me in JIRA! (I have leaved a comment on JIRA)


Handle ephemeral models better

Description & motivation
We get questions about this semi-regularly, so we should just handle the error better.
Checklist

[x] I have verified that these changes work locally
N/A: I have updated the README.md (if applicable)
N/A I have added tests & descriptions to my models (and macros if applicable)

I did not add any test for this macro, since I can't figure out how to test for a failure!
I also worry that I'm going to break someone's project somehow...

Here's how I tested it locally:
$ cat integration_tests/models/my_ephemeral.sql
{{
    config(
        materialized='ephemeral'
    )
}}

select 1 as column

$ cat integration_tests/models/test_ephemeral.sql
-- test any non-ephemeral model
{% do dbt_utils._is_ephemeral(ref('test_date_spine'), 'test') %}

{% do dbt_utils._is_ephemeral(ref('my_ephemeral'), 'test') %}

$ cd integration_tests/

$ dbt run -m test_ephemeral
Running with dbt=0.17.1-rc1

10:14:35 | Concurrency: 1 threads (target='redshift')
10:14:35 |
10:14:36 | 1 of 1 START view model dbt_claire.test_ephemeral.................... [RUN]
10:14:36 | 1 of 1 ERROR creating view model dbt_claire.test_ephemeral........... [ERROR in 0.02s]
10:14:36 |
10:14:36 | Finished running 1 view model in 2.11s.

Completed with 1 error and 0 warnings:

Compilation Error in model test_ephemeral (models/test_ephemeral.sql)

  The `test` macro cannot be used with ephemeral models, as it relies on the information schema.

  `__dbt__CTE__my_ephemeral` is an ephemeral model. Consider making is a view or table instead.

  > in macro _is_ephemeral (macros/cross_db_utils/_is_ephemeral.sql)
  > called by model test_ephemeral (models/test_ephemeral.sql)
  > called by model test_ephemeral (models/test_ephemeral.sql)

Done. PASS=0 WARN=0 ERROR=1 SKIP=0 TOTAL=1

Yah, related issue here


Inappropriate default touch-action for DIRECTION_ALL swipe

var hammertime = Hammer(el);
hammertime.get('swipe').set({ direction: Hammer.DIRECTION_ALL });

results in touch-action: pan-x pan-y being set on the element. this tells the browser that it should handle panning in all directions, meaning that the swipe never registers at all in IE11/MS Edge. It should be touch-action: none.
I suspect in other browsers it currently does work (to an extent) because the JS fallback kicks in instead.

in the meantime, I circumvented the issue with
var hammertime = Hammer(el, { touchAction: 'none' });
hammertime.get('swipe').set({ direction: Hammer.DIRECTION_ALL });

see http://patrickhlauke.github.io/touch/hammer/swipe/

It's not just DIRECTION_ALL.  Hammer does not fire any pan events in touch IE11 with DIRECTION_VERTICAL unless I use your code above to set touchAction to 'none'.

@elmonty see https://github.com/hammerjs/hammer.js/pull/855


Dev -> Master

Description

#347
#352
#353

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Dependency changes
[ ] Code refactor / cleanup
[ ] Documentation or wording changes
[ ] Other

How should this be tested (after the merge)?

[ ] Pools that have been put in recovery mode are correctly indexed as such
[ ] New metastables are indexed, and those within the deprecation window are not
[ ] Index attribute in PoolToken entity is consistent

Checklist:

[x] I have performed a self-review of my own code
[x] I have requested at least 1 review (If the PR is significant enough, use best judgement here)
[x] I have commented my code where relevant, particularly in hard-to-understand areas

dev -> master

[x] I have checked that all beta deployments have synced
[x] I have checked that the earliest block in the polygon pruned deployment is 38043316, Jan-13-2023 10:24:46 PM

[x] The earliest block is more than 24 hours old

[x] I have checked that core metrics are the same in the beta and production deployments

On hold until performance issue with the pruned deployment is sorted out, see TG chat with E&N

Performance issue with the pruned deployment has been sorted out, see TG chat with E&N


Bug: patch method broken (request method name & typing)

Describe the bug
The Surreal.patch method is currently broken due to the wrong method name being used in the request.
It is also wrongly typed, the expected input should be a list of dict, not a sole dict. And the return type should allow a single dict.
Steps to reproduce
Currently:
await db.update("table:id", {"field": "value"})

surrealdb.ws.SurrealPermissionException: Method not found

After changing the Request method in Surreal.patch from "modify" to "patch":
await db.update("table:id", {"field": "value"})

surrealdb.ws.SurrealPermissionException: There was a problem with the database: The JSON Patch contains invalid operations. Operations must be an array

Now using an array as documented here: https://surrealdb.com/docs/surrealdb/integration/websocket#patch
await db.patch("table:id", [
    {"op": "replace", "path": "/field", "value": "value"}
])

Success! But typing of both the data param, and the return type, is still wrong.
Expected behaviour

The request method name should be changed from "modify" to "patch", similar to https://github.com/surrealdb/surrealdb.py/pull/85
The data parameter should by typed to expect an Array, e.g. List[Dict[str, Any]]
The return type allows a single dict, same as https://github.com/surrealdb/surrealdb.py/issues/97

SurrealDB version
1.3.1 for linux on x86_64
surrealdb.py version
0.3.2 (latest as of 2024-04-02)
Contact Details
Ideally in the issue itself. Otherwise<EMAIL_ADDRESS>Is there an existing issue for this?

[X] I have searched the existing issues

Code of Conduct

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

Hello,
I wanted to add that I am experiencing the same error with the merge method.
My surrealDB version is also v1.3.1 but from docker, and the SDK 0.3.2 as well.
The same merge functionality directly called via Surrealist works as expected.
This is how I am calling the method:
await db.merge(my_record_id, { 'test' : 'test' })

The complete Traceback:
Traceback (most recent call last):
  File "/home/user/tests/parser.py", line 150, in <module>
    asyncio.run(main())
  File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/home/user/tests/parser.py", line 53, in main
    await db.merge(my_record_id, { 'test' : 'test' })
  File "/home/user/.local/lib/python3.10/site-packages/surrealdb/ws.py", line 536, in merge
    success: ResponseSuccess = _validate_response(
  File "/home/user/.local/lib/python3.10/site-packages/surrealdb/ws.py", line 161, in _validate_response
    raise exception(response.message)
surrealdb.ws.SurrealPermissionException: Method not found

Please let me know if it should be better to open a new issue for this and I will do it.


QUARKS-21 [WIP] SVT GPS/OBD application

QUARKS-21 Initial infrastructure checkin

Can you add headers to the new source files:
http://apache.org/legal/src-headers.html#headers

FYI - my comment was only about new source files, not existing files.
The changes can be kept, but try not to introduce unrelated changes into a pull request.

How to get this pull 'restarted'?  Do I have to wait for the Travis build issue #38 to be resolved or should I do a dummy commit?

From a quick search I found this:
http://stackoverflow.com/questions/17606874/trigger-a-travis-ci-rebuild-without-pushing-a-commit

Not sure it matters but you picked a different style of including the apache licence header to others.
Others just included the apache text as is between /* and */ whereas you added * to the beginning of each line.
I know I just used the /*  and */ because I'm too lazy to add something to each line, but maybe your IDE did that?

The conflicts were caused by the wholesale changes of the IBM copyright statements to Apache licence headers.
It's good practice to not add unrelated changes into a pull request, such a whitespace changes etc., it's best to keep commits, pull requests, issues focused on a single item.


[Question] How to support customized tokenizer?

❓ General Questions
Hi, I implemented a customized tokenizer, which optimized some segmentation logics, and use it trained my model. But it seems MLC-LLM only support one type of tokenizer in 3rdparty/tokenizers-cpp and the output of encode is really different from transformers.
My questions are:

How to support customized tokenizer? As far as I known, QWen also has its own tokenizer that shall different from MLC-LLM, since MLC-LLM already supported QWen, can I suppose the 3rdparty/tokenizer-cpp also supported its tokenizer?
Does the tokenizer in MLC-LLM supports additional_special_tokens, in my test, the tokenizer sperate the added special token to several independent works.

We encourage converstion to the HF format if possible, otherwise a patch to tokenizers-cpp is necessary


Bootstrap Node Docker Container Fails To SSH to Peers For Provisioning

The last step within terraform-null-dcos-install-remote-exec-ansible is to run the remote-exec provisioner to kick off the ansible bundle docker container to begin provisioning all other non-bootstrap nodes. Without the deployer SSH private key passed in (along with an updated command line parameter for ansible.cfg), the Ansible wait_for_connection task fails due to the inability to SSH authenticate with nodes to be provisioned.
I patched this by injecting the deployer SSH private key and ansible.cfg into the ansible bundle docker container that runs on the bootstrap node, which enabled the Ansible playbooks to complete successfully. Unsure if this issue should applies to this repo, or possibly https://github.com/dcos/dcos-ansible, depending how SSH authentication orchestration is intended between terraform runner, bootstrap node (and the ansible bundle docker container running on said bootstrap node), and nodes to be provisioned.

Bumping before forking.


support gpt4 model

Please provide us with the following information:

This issue is for a: (mark with an x)

- [X] feature request

support gpt4 to complete context
Minimal steps to reproduce

Any log messages given by the failure

Expected/desired behavior

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Mention any other details that might be useful

Thanks! We'll be in touch soon.

GPT-4 support is not available (at least not General Availability) through Azure OpenAI service. I believe it will be available down the line and the prompt-response structure implemented in this app should directly apply to it.
Currently, you can join the waitlist and use GPT-4 based Chat API directly instead of using the Azure OpenAI service. You can modify the application backend to point to the same.

hi itsamk,
thank you for your response.
GPT-4 is avaiable for some customers already.
Please see more information about the Announcements: https://azure.microsoft.com/en-us/blog/introducing-gpt4-in-azure-openai-service/.
And the gpt-4's prompt format is different with the chatgpt, like below:
messages = [{"role":"system","content":"You are an AI assistant that helps people find information."},{"role":"user","content":"hello"}],

Good to hear it's becoming available through Azure as well. Regarding the prompt-response structure, it's the same. You can check here for reference - https://platform.openai.com/docs/guides/chat

Hi itsamk, thank you for you response.
I aggree with you that the prompt-response structure, it's the same. (using OpenAI Python v0.27.0)
But in the current version, the prompt is still chagpt's old version(using openai,0.26.4) as below：
history_text = """<|im_start|>user""" +"\n" + h["user"] + "\n" + """<|im_end|>""" + "\n" + """<|im_start|>assistant""" + "\n" + (h.get("bot") + """<|im_end|>""" if h.get("bot") else "") + "\n" +

Did you get to update this ? would replacing the prompt-response from old one to new solve the issue?

is there any update?
Error: The completion operation does not work with the specified model, gpt-4

@DanoneCraig  @ThomasLambertES Here is the PR for GPT-4 #394

Using GPT-4 is now documented in the README. Thanks @vrajroutu for sharing your PR.


Problem: interpreter is not yet supported

One can imagine a language built on top of SputnikVM. It works as an interpreter (like python and irb). Every time when the user enters a command, it compiles that command into EVM byte codes and send it to SputnikVM.
This functionality can be easily added by making PC replaceable -- every time, a new PC is used for the execution, with Memory and Stack kept the same. However, this currently add some accidental complexity. So I'm only planning to do this after the tests have mature.

Yes, a narrow compilation scope is good for executing small code snippets. The accidental complexity probably involves locks to Stack and Memory access. :-)

But I'd suggest we keep the problems real world and not hypotheticals, so I'm closing this issue till it actually becomes a problem!


Explainers for two input classification problem

Thanks for the project.
My question is that if we have an input composed of two sentences for a classification problem, which should be separated with a [SEP] token, how can we set up the explainers? As I understand from the source code, it encodes single text.

Hi @isspek
Thanks for using the package! So this is certainly doable as I do it for the QA explainer but I just hadn't thought to add the functionality for the classification explainer. I think it would only be a matter of adding an additional optional param to the explainer call method but I'll have to have a think on how to do it.
I should have some time to have a look at it over the weekend and see what's involved.

Good question! I wonder how to do  :)


Assign names to OpVariables (with OpName instruction)

This feature would be especially useful for variables with UniformConstant storage class in situations where the compiled SPIR-V is going to be converted to GLSL.

fixed in #250


release-mgmt-iothub-resolve-issue-#11341

try to fix issue #11341

@ramya-rao-a  Could you please help review this PR. There seems to have other breaking changes not caused by code generator change.

@qiaozha Dont we usually have the service team request an update in these cases and verify the changes?


Cleaning up the way recipes are created. Allowing course/cuisine to be create when the recipe is

Pull Request Test Coverage Report for Build 280

0 of 12 (0.0%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.04%) to 6.333%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

modules/recipe_form/components/RecipeForm.js
0
1
0.0%

modules/common/components/Select.js
0
11
0.0%

Files with Coverage Reduction
New Missed Lines
%

modules/common/components/Select.js
1
0.0%

Totals

Change from base Build 274:
-0.04%

Covered Lines:
158

Relevant Lines:
2085

💛  - Coveralls


Update NormalizingStateShape.md

Fix grammatical errors.
Emphasize easiness of loop operations with join table.

Thanks!


Pr/377

This is Steve's pr/377 for STREAMS-527 plus additional changes to get the build to pass.
My changes import org.junit.Assert and use it in these files:
modified:   streams-contrib/streams-provider-google/google-gplus/src/test/java/org/apache/streams/gplus/providers/TestAbstractGPlusProvider.java
modified:   streams-contrib/streams-provider-google/google-gplus/src/test/java/org/apache/streams/gplus/providers/TestGPlusUserActivityCollector.java
modified:   streams-contrib/streams-provider-rss/src/test/java/org/apache/streams/rss/provider/RssStreamProviderTest.java
modified:   streams-runtimes/streams-runtime-local/src/test/java/org/apache/streams/local/counters/DatumStatusCounterTest.java
modified:   streams-runtimes/streams-runtime-local/src/test/java/org/apache/streams/local/counters/StreamsTaskCounterTest.java
modified:   streams-runtimes/streams-runtime-local/src/test/java/org/apache/streams/local/queues/ThroughputQueueMultiThreadTest.java
modified:   streams-runtimes/streams-runtime-local/src/test/java/org/apache/streams/local/queues/ThroughputQueueSingleThreadTest.java

jenkins passed on this version.
thanks for fixing up those asserts.


⚠ Jenkins Plugins Artifactory has degraded performance

In d9ab47f, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1322 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 79b8a79 after 12 minutes.


Regex groups not working for routes

I'm trying to do routing with approximately 10 possible values for each path segment. Currently, I am trying to accomplish this using a pattern like /@segment1:(val1|val2|val3|...|val10)/@segment2:(val1|val2|...|val10). All these paths are handled equivalently, the only difference is that data is fetched from different database tables.
The result are corrupted parameter values - none of them contains the correct segment. Is there a way to escape the parentheses so they do not get interpreted as optional parts of the route pattern? Can you think of a solution other than matching the regex in the callback code?

You should just do a simple match and handle it further down in your code rather than relying on regexes.
Flight::route('/@segement1/@segment2', function($segment1, $segment2){
   // Handle parameters
  if (in_array($segment1, $valid_values)) ...
});

Thank you for the quick response, I'll do it this way.


Error downloading vscode with test CLI for path with spaces

Testing #196332
After modifying the package.json and running npm run test, it seems I run into the following error:

Not sure why this happens. Is this because I have spaces in my pathname?

Yeah, I tried with a path without spaces and it seemed to work fine.

Hmm, it actually doesn't seem to be the issue. I tried running a test targeting insiders right after and ran into the issue again:

Using the test runner, it seems that there's some Invalid Package error. Let me know if this is a separate bug - I'm just unsure whether this is related.

Duplicates https://github.com/microsoft/vscode-test/issues/233


[Bug]: Error installing istiod via helm and istioctl, CRD issue

Bug Description
I'm following this guide here:
https://istio.io/latest/docs/setup/install/helm/
$ helm repo add istio https://istio-release.storage.googleapis.com/charts
$ helm repo update
$kubectl create namespace istio-system
$ helm install istio-base istio/base -n istio-system
$ helm list -n istio-system
NAME            NAMESPACE       REVISION        UPDATED                                 STATUS          CHART           APP VERSION
istio-base      istio-system    1               2023-02-14 11:30:57.379754 -0700 MST    deployed        base-1.16.2     1.16.2
$ helm install istiod istio/istiod -n istio-system --wait
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(EnvoyFilter.spec): unknown field "priority" in io.istio.networking.v1alpha3.EnvoyFilter.spec

$ kubectl get crd envoyfilters.networking.istio.io -oyaml | grep priority  # nothing found
$ echo $?
1

I'm running through the steps, but I cannot install istiod based on a CRD error
Version
# not using istioctl

$ kubectl version --short
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.24.0
Kustomize Version: v4.5.4
Server Version: v1.23.14-gke.1800

$ helm version --short
v3.8.1+g5cb9af4

Additional Information
No response

Update attempting with istioctl
$ istioctl version
client version: 1.16.2
control plane version: 1.16.2
data plane version: 1.16.2 (1 proxies)

$ istioctl install
This will install the Istio 1.16.2 default profile with ["Istio core" "Istiod" "Ingress gateways"] components into the cluster. Proceed? (y/N) y
✔ Istio core installed
  Processing resources for Istiod.                                                                                2023-02-14T18:49:58.466304Z     error   installer       failed to update resource with server-side apply for obj EnvoyFilter/istio-system/stats-filter-1.13: failed to create typed patch object (istio-system/stats-filter-1.13; networking.istio.io/v1alpha3, Kind=EnvoyFilter): .spec.priority: field not declared in schema
2023-02-14T18:49:58.515267Z     error   installer       failed to update resource with server-side apply for obj EnvoyFilter/istio-system/stats-filter-1.14: failed to create typed patch object (istio-system/stats-filter-1.14; networking.istio.io/v1alpha3, Kind=EnvoyFilter): .spec.priority: field not declared in schema
2023-02-14T18:49:58.558920Z     error   installer       failed to update resource with server-side apply for obj EnvoyFilter/istio-system/stats-filter-1.15: failed to create typed patch object (istio-system/stats-filter-1.15; networking.istio.io/v1alpha3, Kind=EnvoyFilter): .spec.priority: field not declared in schema
2023-02-14T18:49:58.599788Z     error   installer       failed to update resource with server-side apply for obj EnvoyFilter/istio-system/stats-filter-1.16: failed to create typed patch object (istio-system/stats-filter-1.16; networking.istio.io/v1alpha3, Kind=EnvoyFilter): .spec.priority: field not declared in schema
2023-02-14T18:49:58.636340Z     error   installer       failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-stats-filter-1.13: failed to create typed patch object (istio-system/tcp-stats-filter-1.13; networking.istio.io/v1alpha3, Kind=EnvoyFilter): .spec.priority: field not declared in schema
2023-02-14T18:49:58.695139Z     error   installer       failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-stats-filter-1.14: failed to create typed patch object (istio-system/tcp-stats-filter-1.14; networking.istio.io/v1alpha3, Kind=EnvoyFilter): .spec.priority: field not declared in schema
2023-02-14T18:49:58.753786Z     error   installer       failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-stats-filter-1.15: failed to create typed patch object (istio-system/tcp-stats-filter-1.15; networking.istio.io/v1alpha3, Kind=EnvoyFilter): .spec.priority: field not declared in schema
2023-02-14T18:49:58.801234Z     error   installer       failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-stats-filter-1.16: failed to create typed patch object (istio-system/tcp-stats-filter-1.16; networking.istio.io/v1alpha3, Kind=EnvoyFilter): .spec.priority: field not declared in schema
✘ Istiod encountered an error: failed to update resource with server-side apply for obj EnvoyFilter/istio-system/stats-filter-1.13: failed to create typed patch object (istio-system/stats-filter-1.13; networking.istio.io/v1alpha3, Kind=EnvoyFilter): .spec.priority: field not declared in schema
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/stats-filter-1.14: failed to create typed patch object (istio-system/stats-filter-1.14; networking.istio.io/v1alpha3, Kind=EnvoyFilter): .spec.priority: field not declared in schema
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/stats-filter-1.15: failed to create typed patch object (istio-system/stats-filter-1.15; networking.istio.io/v1alpha3, Kind=EnvoyFilter): .spec.priority: field not declared in schema
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/stats-filter-1.16: failed to create typed patch object (istio-system/stats-filter-1.16; networking.istio.io/v1alpha3, Kind=EnvoyFilter): .spec.priority: field not declared in schema
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-stats-filter-1.13: failed to create typed patch object (istio-system/tcp-stats-filter-1.13; networking.istio.io/v1alpha3, Kind=EnvoyFilter): .spec.priority: field not declared in schema
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-stats-filter-1.14: failed to create typed patch object (istio-system/tcp-stats-filter-1.14; networking.istio.io/v1alpha3, Kind=EnvoyFilter): .spec.priority: field not declared in schema
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-stats-filter-1.15: failed to create typed patch object (istio-system/tcp-stats-filter-1.15; networking.istio.io/v1alpha3, Kind=EnvoyFilter): .spec.priority: field not declared in schema
failed to update resource with server-side apply for obj EnvoyFilter/istio-system/tcp-stats-filter-1.16: failed to create typed patch object (istio-system/tcp-stats-filter-1.16; networking.istio.io/v1alpha3, Kind=EnvoyFilter): .spec.priority: field not declared in schema
✔ Ingress gateways installed
- Pruning removed resources                                                                                Error: failed to install manifests: errors occurred during operation

Is it a namespace that has an old Istio installed?
My guess is that it has some old CRDs leftovers there (kubectl get crd -n istio-system to see their dates). Specifically the envoyfilters one.

I've run:
kubectl get crd -oname | grep --color=never 'istio.io' | xargs kubectl delete

before the installation.
I'm using GKE and it looks like it is autocreating the CRDs for some reasons. Maybe there is some flag in the cluster config.
Anyone else have this problem with GKE?

I found the issue.
Cloud Run for Anthos | Enabled
This was enabled on the cluster and was causing Istio CRDs to be created and synced.
I have disabled it now and I was able to resolve the deploy issue.
Closing this now.

@jbrardport
What is the fix?

I'm deploying istio-base and istiod via Jenkins/Helm and the below steps have solved the issue:
[root@m01 ~]# kubectl get crd -n istio-system | grep -i envoyfilters
envoyfilters.networking.istio.io                                  <it_shows_an_old_istio_installed_date>

[root@m01 ~]# kubectl delete crd envoyfilters.networking.istio.io -n istio-system
[root@m01 ~]# kubectl delete crd envoyfilters.networking.istio.io -n istio-system
warning: deleting cluster-scoped resources, not scoped to the provided namespace
customresourcedefinition.apiextensions.k8s.io "envoyfilters.networking.istio.io" deleted

[root@m01 ~]# kubectl get crd -n istio-system | grep -i envoyfilters
[root@m01 ~]#

redeploy istio-base
redeploy istiod


Result sheet of the Network Perf tests is missing metrics

The result sheet of the network performance tests coming back doesn't have the metadata and is missing some of the metrics.   Examples of missing metrics:  avg(norm_ltcy), avg(norm_ops) , max(norm_byte)
Please see this report which has missing metrics --https://docs.google.com/spreadsheets/d/1yMA1DStv6GbC0t0LZ0VOYO9rTRxi6Ym5_nGWYEk23bA/edit#gid=1690151223

what are labels I should use to get this issue addressed

@SachinNinganure are you able to give access to the google sheet with everyone in Red Hat and show what it looked like before and what's output now.

@paigerube14 https://docs.google.com/spreadsheets/d/1VqHxJE7aLoXBcOaWzaSBibVz5AvI_zeROAoCo5zPWFY/edit#gid=2073637806   this is what it looked earlier.
gave you the access at both the spreadsheets

I have started working on this but in relation to issue: https://github.com/cloud-bulldozer/e2e-benchmarking/issues/395
I think if we are able to have the same code currently in kube-burner be used for all the workloads that use benchmark-comparison (ie kube-burner, network-perf and router-perf)
This will allow each user to be able to get the data in their google sheets that they want be setting their specific touchstone-config files per run
Right now I have only tested from the utils folder directly not in the workloads themselves
https://github.com/paigerube14/e2e-benchmarking/tree/compare_combine

hey @SachinNinganure-zz This seems to be a issue not related to the benchmark-operator. feel free to reopen against e2e or the repo this issue is specific to. There is no concept of spreadsheets in benchmark-operator.

@SachinNinganure-zz you should be able to use the below going forward to get all the data you need. You should also be able to add any variables in the aggregations section for anything that's missed
COMPARISON_CONFIG="uperf-touchstone.json uperf-touchstone-norm.json"

Looks good
https://mastern-jenkins-csb-openshift-qe.apps.ocp-c1.prod.psi.redhat.com/job/scale-ci/job/e2e-benchmarking-multibranch-pipeline/job/network-perf/284/
Thank you Paige


Allow setting strategy by class, regardless of module names

Currently, when setting a strategy, whatever value is passed goes through this method: https://github.com/toptal/chewy/blob/1a13f75a3122a0f427505db4d4a9f5031b011c39/lib/chewy/strategy.rb#L83-L89
This forces your strategy to be in the Chewy::Strategy module. Would you be open to adjusting the logic to take a class so it looked something like the following?
def resolve(name)
  return name if name.is_a?(Chewy::Strategy::Base)
  "Chewy::Strategy::#{name.to_s.camelize}".safe_constantize or raise "Can't find update strategy `#{name}`"
rescue NameError => ex
  # WORKAROUND: Strange behavior of `safe_constantize` with mongoid gem
  raise "Can't find update strategy `#{name}`" if ex.name.to_s.demodulize == name.to_s.camelize
  raise
end

I like this approach!
Also I believe that it would awesome if we could not only do this, but maybe pass some options when resolving and initializing the strategies instances


can we support inner value() function in follow version?

code example will be like -> v("key1", v("key2", value))
the parsing result is ugly ->
"Data":{"key1":{"name":"LS_APPEND_OBJECT","fieldName":"key2"}}}}
can we have an improvement to support it

I'd recommend just using a Map for the inner object.
v("key1", Map.of("key2", value))

I have no plans to support nested structured arguments like the example you provided.  Structured arguments are really only meant to be the top-level argument provided to the log methods.


Dropping support for 1.15

Description
1.15 support removed
Reason
Can't support this version anymore due to methods missing

I'll put this on draft for now, gonna find ways of using other implementation for my code to become compatible with 1.15


feat: Proxy support

Added optional proxy support when creating Kient Kient.create({ proxy: 'http://proxyserver:port' }) based the code on the other pull request's suggestions

Cool, just added all the edits to both PRs


Skip loading from instant execution cache on --refresh-dependencies

--refresh-dependencies can be extremely slow, so I'm not sure we should overload it even for a spike (particularly if we want to measure performance). I think we have some other options:

Give org.gradle.unsafe.instant-execution a value: e.g. enable, disable, refresh
Add some new command-line options, e.g. --unsafe-instant-execution and --unsafe-refresh-instant-execution
Add another system property

... or just document rm -rf .instant-execution-state for now

Closing as dropped

We can certainly introduce a faster, better way to invalidate the cache BUT it was still correct to do it during --refresh-dependencies. I wish you hadn't dropped this one.

@bamboo reopened and reworked the code, please take another look


error: failed to run custom build command for x11 v2.14.0

How do I add x11 to path?
error: failed to run custom build command for `x11 v2.14.0`
process didn't exit successfully: `/home/mikhail/Documents/InputBot/target/debug/build/x11-160e0d6f1c19ff1b/build-sc
ript-build` (exit code: 101)
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error(PkgConfig(Failure { command: "\"pkg-co
nfig\" \"--libs\" \"--cflags\" \"x11 >= <IP_ADDRESS>\"", output: Output { status: ExitStatus(ExitStatus(256)), stdout: "
", stderr: "Package x11 was not found in the pkg-config search path.\nPerhaps you should add the directory containin
g `x11.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'x11\' found\n" } }), State { next_error: None
 })', /checkout/src/libcore/result.rs:859
note: Run with `RUST_BACKTRACE=1` for a backtrace.

You're going to need to install the x11 SDK. On Ubuntu, the command is sudo apt install libx11-dev

Thank for such a quick response! Maybe this should be mentioned somewhere.


Election Management System

Describe the project you want to add with tech stack
Election Management System using Python-MySql Connectivity. Python is used in database applications. MySQL is one of the most popular databases. The project uses relational Database to store candidates, voters, number of votes and Election Commission Rules
Tech Sack : Python, MySql
Expected behavior
The purpose is to build an Application Program to reduce the manual work for managing the Elections, Candidates, Votes, and Election Commission Rules. It tracks all the details about Election Commission Rules, Votes and Registrations.
The main objective of the Python Project on Election Management System is to manage the details of election, candidates, election commission rules, election Dates, Registration. It manages the information about Election, Votes, and Registration.

@pranjay-poddar @MohitGupta121 please assign this issue to me.


Opening vertical splits from status buffer messes up statuscolumn

Description
Hey!
Using the nightly branch, when opening a vertical split, Neogit overrides the 'statuscolumn' option if the file is first opened through Neogit. The real dealbreaker is that even if I close the bufffer with :bd and try to reopen it, I still get the overridden 'statuscolumn'.
My default 'statuscolumn', configured via statuscol.nvim:

The 'overridden' statuscolumn:

Neovim version
NVIM v0.10.0-dev-2918+gb35f08ddb1
Build type: RelWithDebInfo
LuaJIT 2.1.1702233742
Operating system and version
Linux 6.8.4
Steps to reproduce

Launch Neogit
Move to a file in the unstaged changes section
Use <C-v> to open the file

Expected behavior
Opening a file using the status buffer shouldn't interfere with the statuscolumn
Actual behavior
The only way to recover the original statuscolumn is to relaunch neovim :(
Minimal config
-- NOTE: See the end of this file if you are reporting an issue, etc. Ignore all the "scary" functions up top, those are
-- used for setup and other operations.
local M = {}

local base_root_path = vim.fn.fnamemodify(debug.getinfo(1, "S").source:sub(2), ":p:h") .. "/.min"
function M.root(path)
  return base_root_path .. "/" .. (path or "")
end

function M.load_plugin(plugin_name, plugin_url)
  local package_root = M.root("plugins/")
  local install_destination = package_root .. plugin_name
  vim.opt.runtimepath:append(install_destination)

  if not vim.loop.fs_stat(package_root) then
    vim.fn.mkdir(package_root, "p")
  end

  if not vim.loop.fs_stat(install_destination) then
    print(string.format("> Downloading plugin '%s' to '%s'", plugin_name, install_destination))
    vim.fn.system({
      "git",
      "clone",
      "--depth=1",
      plugin_url,
      install_destination,
    })
    if vim.v.shell_error > 0 then
      error(string.format("> Failed to clone plugin: '%s' in '%s'!", plugin_name, install_destination),
        vim.log.levels.ERROR)
    end
  end
end

---@alias PluginName string The plugin name, will be used as part of the git clone destination
---@alias PluginUrl string The git url at which a plugin is located, can be a path. See https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols for details
---@alias MinPlugins table<PluginName, PluginUrl>

---Do the initial setup. Downloads plugins, ensures the minimal init does not pollute the filesystem by keeping
---everything self contained to the CWD of the minimal init file. Run prior to running tests, reproducing issues, etc.
---@param plugins? table<PluginName, PluginUrl>
function M.setup(plugins)
  vim.opt.packpath = {}                      -- Empty the package path so we use only the plugins specified
  vim.opt.runtimepath:append(M.root(".min")) -- Ensure the runtime detects the root min dir

  -- Install required plugins
  if plugins ~= nil then
    for plugin_name, plugin_url in pairs(plugins) do
      M.load_plugin(plugin_name, plugin_url)
    end
  end

  vim.env.XDG_CONFIG_HOME = M.root("xdg/config")
  vim.env.XDG_DATA_HOME = M.root("xdg/data")
  vim.env.XDG_STATE_HOME = M.root("xdg/state")
  vim.env.XDG_CACHE_HOME = M.root("xdg/cache")

  -- NOTE: Cleanup the xdg cache on exit so new runs of the minimal init doesn't share any previous state, e.g. shada
  vim.api.nvim_create_autocmd("VimLeave", {
    callback = function()
      vim.fn.system({
        "rm",
        "-r",
        "-f",
        M.root("xdg")
      })
    end
  })
end

-- NOTE: If you have additional plugins you need to install to reproduce your issue, include them in the plugins
-- table within the setup call below.
M.setup({
  plenary = "https://github.com/nvim-lua/plenary.nvim.git",
  telescope = "https://github.com/nvim-telescope/telescope.nvim",
  diffview = "https://github.com/sindrets/diffview.nvim",
  neogit = "https://github.com/NeogitOrg/neogit"
})
-- WARN: Do all plugin setup, test runs, reproductions, etc. AFTER calling setup with a list of plugins!
-- Basically, do all that stuff AFTER this line.
require("neogit").setup({}) -- For instance, setup Neogit

Oh, no worries, fixed here 8c69b8780 - lemme know if you still have any issues :)

Hey! I just tested the latest commit, and I'm still having the issue. I assumed the error was caused by 'statuscolumn' being unset, but that isn't the case. In fact, I restored the previous commit and the option was working just fine. It might be the 'statuscol.nvim' plugin, but I will need some time to investigate.

Okay, found out something interesting: it looks like it's a tab setting. Any file opened in the tab containing Neogit's status buffer will show this behavior, no matter how it was opened -- I tested using :vnew and telescope's find_files. So there must be a tab setting that should only apply to Neogit's windows inside tabs containing Neogit buffers, but it's currently being applied to every window inside tabs containing Neogit buffers. Any thoughts?

Update: latest commit on nightly is fine

Yeah, I ditched the statuscolumn thing for the status buffer entirely 😅 back to just using the sign column


Fix overriding deprecated method of NumberEntity

Currently there is a warning:

custom_components.xiaomi_gateway3.number::XiaomiNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10

This change fix warning, but I'm a bit of confused because the old method is not explicitly used anywhere, so I changed the override only.
For now everything works smooth on my setup.
Fix: #777, #780.

This change will break backward compatibility of many Hass versions. I can't accept it

Yes. All 2022 won't work

I got you, no problem — it can wait if you don't mind.


[Bug]: Can't edit Docker Compose Location on a Docker Compose Build Pack project

Description
When trying to add a project from a github repository using the Docker Compose build pack, it won't allow to change the docker compose location field which I need for it to find the file within the repo
Minimal Reproduction (if possible, example repository)

Setup a brand new server (in my case ubuntu server 24.04 LTS)
Install docker
Get Coolify up and running following the instructions in the website
Setup coolify to install in localhost (no other settings)
Create a new project
Add a new resource, of type "Public Repository" and assign it to a server and destination
Enter the repository URL (in my case https://github.com/supabase/supabase)
Select "Docker Compose" as Build Pack and click continue
On the next screen nothing is editable including "Base Directory" or "Docker Compose location" which I need to change for it to find the docker compose file in the repo. It also displays a "504 Gateway Time-out" after a few seconds

Exception or Error
Build data should be editable, in particular Docker Compose Location
Version
v4.0.0-beta.294

Maybe you could add a depth setting to github repos, so that they can be cloned with depth 1?


Optimisation for reorderTable action

Reordering on larger tables are quite slow because we are iterating over each record and updating them individually. My PR solves the performance issues by introducing the CASE statement to update multiple records in a single query.
I see around 6-7x speed improvement for reorderable tables with 30 records, so there should be greater improvements with even larger tables. At the moment filamentphp executes around 60 queries (SELECT, UPDATE) for 30 records, and after the PR it should be reduced to a single query for the update.

Thanks for this. Here is more optimization
->whereIntegerInRaw($model->getKeyName(), array_values($order))

Yeh, I guess it might work but we should not forget that some people might use UUID primaryKeys since Laravel 9. Also, we are talking about sorting hundreds or thousands of records to start seeing some performance improvements. I am for further optimization but I guess maintainers should make a call regards this. :-)

I don't understand what the advantage of only handling integers is... why would there be a Laravel method to do that but no generic whereInRaw()? weird...

@danharrin by the way, I think we could also apply similar optimisation for the case with relationship just I could not recreate a test case, so just handled the regular one for now.

That's ok! No rush, just submit a PR whenever you want :)

This changes won’t emit model events during update right?

Thats probably a good thing though, there could be lots of models

This changes won’t emit model events during update right?

You are right, no model events are triggered during the process, otherwise it would be another performance concern. If you need to perform actions before / after sort event, then it would be best to have dedicated events for this.

Just highlighting there might be user depending on that event as this changes the behavior

In this case it would be better to release as a {minor} instead of {patch}, hopefully not many are affected. In general it's a bad practice to trigger observer events during this intensive operation but everyone got their own reasoning. :-)

Yeah there is a small chance that this could affect someone, but I would question the motivation for depending on a model event during a mass update, especially when it probably isn't useful anyway until all models have their new order assigned.

Perhaps for logging of record values changes. But I’m definitely go for the optimized way

Do we have any lifecycle hooks when the reordering operation has started / completed? Maybe it would be worth to add some documentation entries in "listing-records" to address this particular thing, in case, someone needs to perform any operation before or after the reordering?

We don't have any hooks for this at the moment

This cause an issue for people using Laravel Scout. An "after reordering" hook would be really helpful.


ipfs resolve -r /ipns/snapshot.org/: could not resolve name: "snapshot.org" is missing a DNSLink record

I keep getting this error in the Brave browser when trying to access any link from Snapshot.org
For example, when I try to access this link...
https://snapshot.org/#/sushigov.eth/proposal/bafkreigjjhjx2j2b526d3poeg23w2xan4rcgnzvcxinsssv7n37lu5p7s4
I get this error...
ipfs resolve -r /ipns/snapshot.org/: could not resolve name: "snapshot.org" is missing a DNSLink record (https://docs.ipfs.io/concepts/dnslink/)
Do you know why this is happening and how I can fix it?

Sorry for the late response. I can't reproduce this. Could have been a temporary issue. Is everything working for you again?


Receive no values

Hello Imatula,
I have installed the DTSU666 integration in Home Assistant, I see 1 device and 37 entities, but I do not receive any values. I get "unknown" as sensor value.
The log file shows this error:
File "/config/custom_components/chint_pm/sensor.py", line 872, in _handle_coordinator_update
value = self.coordinator.device.data[self.entity_description.key]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'rev'
Line 872 in sensor.py is:
value = self.coordinator.device.data[self.entity_description.key]
Unfortunately, I am not a programmer and dont know where I have to look for the error. Can you please help me?

I'm think did you configure individual modbus integration also, this isn't required.

Thank you for your answer.
I have removed the Modbus entry from configuration.yaml, and also removed the DTSU666 integration from Home Assistant and wanted to reinstall it. To do this, I use the ADD INTEGRATION-Function from Home Assistant,, followed by the dialogue with the UI.

My power meter is from Chint, but I tried both.

Serial is correct

The top entry is right for my configuration.

I have a Modbus-USB adapter on ttyUSB1 to which the DTSU666 is connected. I have access to the DTSU666 via EVCC, which I have running as an Add-on on Home Assistant. The Modbus address 11 is correct, but I don't know what the designation "s/n: n/a - 6790:29987" means.
The Modbus-Adapter ttyUSB0 is connected to a Solax Solar-Inverter.

After entering, the message "unknown" appears and I can't get any further.

Trying to use Enter Manually not work either.

I tried many different entries without success

Do you have any ideas?

Hi all,
I'm experiencing exactly same issue. Just stopped working about month ago. Tried same as above but no luck. It won't let me pass unknown error as above.

Hi all, I'm experiencing exactly same issue. Just stopped working about month ago. Tried same as above but no luck. It won't let me pass unknown error as above.

changed the pymodbus api, updated in 0.0.4, please retry

The above error might be related to missing permissions on the /dev/ttyUSB0 device.
Fix: Add the homeassistant user to the dialout group.


a question about Database connection PoolSize

Question
I set the maximumPoolSize=20,not set the minimumPoolSize,then i found the Database connection PoolSize is 20.Is that the right performance?
if i only set the maximumPoolSize,the Database connection PoolSize will be maximumPoolSize.Can I think so?
Thank you!
The conf is below:
schemaName: xxs
dataSources:
ds_0:
url: jdbc:mysql://<IP_ADDRESS>:3306/xxs?serverTimezone=UTC&useSSL=false&useServerPrepStmts=true&cachePrepStmts=true
username: root
password: 123456
autoCommit: true
connectionTimeout: 10000
idleTimeout: 30000
maxLifetime: 5000000
maximumPoolSize: 20
shardingRule:
defaultTableStrategy:
none:
props:
sql.show: true

Sharding-Proxy use hikariCP, the data source pool param is same meaning with hikariCP.
You can check hikariCP for more info

Thanks for reply!
I have another question.I found that there is no minimumPoolSize config in Sharding-Proxy 3.3.0.Is that true?Or it is exists and I just not found?
Thanks!


Is it secure to decode the jwt token on client side ?

Query 1:
You decode the jwt-token on client-side on the below example
https://github.com/auth0/angularjs-jwt-authentication-tutorial
Because to decode i need the secret-key and if I put the secret-key on client side it definitely not secure.
Query 2:
Also I am try to copy the jwt-token and open the url on another browser and pasted the jwt-token and wallah ...I got authentication. So if someone can get to my browser and copy that token s/he will get the access.

Hey @iamkdev,
I'll try to answer your questions separately:

What you said above is partially true. Having the secret on the client side is not secure, but as you can see in this line to decode the JWT you don't need the secret ket, you only need the JWT itself. Note that decoding means decoding from Base64, there's no secret ket involved in that process. On the other hand, verifying a JWT would require a secret key because it would involve a cryptographic signature operation.

To sum up, decoding does not need the secret (remember decoding is just interpreting base64) and verifying/signing is does require it.

Yes. That happens with every authentication mechanism that stores something in your browser, e.g. a cookie that you use to authenticate with Gmail. There's an interesting discussion going on here with lots of nice ideas around this topic. Feel free to join :)

Thanks @dschenkelman
Token-base authentication is a wonderful and great alternative to session base authentication. I am really excited towards it.

Great to hear that :). Closing this if it's OK with you.

For query 2: one of the way you can prevent this is by adding device id (mac address, ip address or other identifier specific to the session) in the payload, then verify it on the server side

If I use mac address, ip address then it will be difficult to use from proxy or vpn...?

Token can be read without any secrets or keys... its not encrypted... so don't put someones ip address in it... or anything that you don't want to get into someone else's hands.  If someone tries to change the data in the token, it will not be verified correctly on server.... so you can just treat it as a "read-only" public identifier.

If you need to decode client-side without a server-side verification, you should be using RSA for your JWT ... sign it with the private key and verify it with the public key.

It s an old topic but just in case someone stumbles upon this conversation it is important to mention SSL. If you are sending any credentials or sensitive information back to the server always do so over HTTPS.

L

"RSA for your JWT ... sign it with the private key and verify it with the public key." - this opens a security hole in many implementations.  I think currently the algorithm is specified in the header and some implementations allow you to specify the key but not a certain algorithm.  Since the public key is used for verification, the payload can be modified and secured using the RSA public key as an HMAC secret key.
Sample: Server has PRIVATE1 private key, and PUBLIC1 public key is available to everyone.  In theory only server with PRIVATE1 key can create a signature for a payload that can be verified with PUBLIC1, and anyone with PUBLIC1 can verify the payload.
Since the JWT header contains the algorithm, a crafty person can take the PUBLIC1 key and use it to create a JWT with the HMAC algorithm using it as the secret key.  Some server implementations will happily use PUBLIC1 as the key and the HMAC algorithm specified in the JWT to validate it and accept it.  Note this only works if the implementation does not tie the key to an algorithm, but some do not.

The asymmetric keys work as follow: the private held by "A" can encrypt something, anyone having the public key can make sure this "something" was encrypted by "A". No one, having a public key can easily forge a cypher / token, to pretends "A" encrypted it.
Therefore, in short: yes you can decrypt the JWT token on the client side, you will know the content but it will be useless… at first, because this is your own content (you can steal yourself) but moreover if you try to modify that one, you will not be able to sign it so that the server will accept it (because remember you do have the public key, not the private key).
For info, if you were encrypting something with a public key, you would only ensure this one to be decryptable by the one having the private key.


the multi-input issue

hello,if i want to use two inputs to segment picture,how should i do to fix the code?
eg: RGB:(B,3,H,W)
Depth:(B,1,H,W)
I use the RGB and depth as the input,finally i will get the segmentation map.so i wanna to see the CAM map of some layers in the net。

Hi,
Some clarifying questions:

Do you want to get the CAM with respect to the RGB pixels, the Depth pixels, or both?
Is the input tensor actually B, 4, H, W (4=3+1 i.e they are concatenated), or is it something else more complex ?

Hi, Some clarifying questions:

Do you want to get the CAM with respect to the RGB pixels, the Depth pixels, or both?
Is the input tensor actually B, 4, H, W (4=3+1 i.e they are concatenated), or is it something else more complex ?

thank you for your repaly.
1:I wanna get the CAM of both or the RGB pixel.
2:the input rgb and depth are feed into resnet sepreately,for example the rgb feed into resnet,and the depth feed into another resnet(two resnet are same),then i will operate in resnet ,finaly i will get one output,the dimision is (B,512,H//32,W//32).

I'm not sure what it means separately.
If the depth is grayscale (one channel), how can it be fed into the same resnet? will it be duplicated to have 3 channels?
The details of this matter for the solution.
Is there a chance you can provide some code or pseudo code on how the forward pass looks like ?

I'm not sure what it means separately. If the depth is grayscale (one channel), how can it be fed into the same resnet? will it be duplicated to have 3 channels?
The details of this matter for the solution. Is there a chance you can provide some code or pseudo code on how the forward pass looks like ?

1:the depth is a gary picture ,it's pixel is range from 0 to 255,but each pixel satnd for the distance between camera and object.
2:the strcture may be like this:

3:the forward function is like this:
def forward(self, rgb, depth):
rgb = self.encoder_rgb.forward_first_conv(rgb)
depth = self.encoder_depth.forward_first_conv(depth)
    if self.fuse_depth_in_rgb_encoder == 'add':
        fuse = rgb + depth
    else:
        fuse = self.se_layer0(rgb, depth)

    rgb = F.max_pool2d(fuse, kernel_size=3, stride=2, padding=1)
    depth = F.max_pool2d(depth, kernel_size=3, stride=2, padding=1)

    # block 1
    rgb = self.encoder_rgb.forward_layer1(rgb)
    depth = self.encoder_depth.forward_layer1(depth)
    if self.fuse_depth_in_rgb_encoder == 'add':
        fuse = rgb + depth
    else:
        fuse = self.se_layer1(rgb, depth)
    skip1 = self.skip_layer1(fuse)

    # block 2
    rgb = self.encoder_rgb.forward_layer2(fuse)
    depth = self.encoder_depth.forward_layer2(depth)
    if self.fuse_depth_in_rgb_encoder == 'add':
        fuse = rgb + depth
    else:
        fuse = self.se_layer2(rgb, depth)
    skip2 = self.skip_layer2(fuse)

    # block 3
    rgb = self.encoder_rgb.forward_layer3(fuse)
    depth = self.encoder_depth.forward_layer3(depth)
    if self.fuse_depth_in_rgb_encoder == 'add':
        fuse = rgb + depth
    else:
        fuse = self.se_layer3(rgb, depth)
    skip3 = self.skip_layer3(fuse)

    # block 4
    rgb = self.encoder_rgb.forward_layer4(fuse)
    depth = self.encoder_depth.forward_layer4(depth)
    if self.fuse_depth_in_rgb_encoder == 'add':
        fuse = rgb + depth
    else:
        fuse = self.se_layer4(rgb, depth)

Got it !
If self.fuse_depth_in_rgb_encoder is not 'add',
I think the easiest way to start, would be to set target_layer = se_layer4.
It would then visualize the combined heatmap for both of them.
If you want to visualize only RGB for example, you can set target_layer = encoder_rgb.forward_layer4.
Does this work ?

@jacobgil
thank you for your reply。
Practice is the sole criterion for testing truth。
I will revise the code 。

Hello, do you solve this problem? I also need to visualize the heat map of the siamese network

Hello, do you solve this problem? I also need to visualize the heat map of the siamese network

hello,if i want to use two inputs to segment picture,how should i do to fix the code? eg: RGB:(B,3,H,W) Depth:(B,1,H,W) I use the RGB and depth as the input,finally i will get the segmentation map.so i wanna to see the CAM map of some layers in the net。

请问问题解决了吗 两个输入是怎么进行热力图计算呢

对不起，没有解决，后来没用到了。
---Original---
From: @.>
Date: Wed, Dec 20, 2023 17:54 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [jacobgil/pytorch-grad-cam] the multi-input issue (Issue #341)
Hello, do you solve this problem? I also need to visualize the heat map of the siamese network
hello,if i want to use two inputs to segment picture,how should i do to fix the code? eg: RGB:(B,3,H,W) Depth:(B,1,H,W) I use the RGB and depth as the input,finally i will get the segmentation map.so i wanna to see the CAM map of some layers in the net。
请问问题解决了吗 两个输入是怎么进行热力图计算呢
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


Sprint 1 Checklist

Self Grading Checklist
All self and by peer grading must be complete prior to Teacher review date(s).  Show a direct link to the tangible(s) for each line item.
Sprint1 Key Objectives
During the sprint you need to complete all of these key objectives and find and complete supporting hacks that show level of command you are declaring.
Rank to Ratio, rank is an integer
0 = .00 work, but faking understanding/accomplishment
1 = .55 incomplete assignment, big gaps
2 = .75 meeting some objectives, multiple little gaps
3 = .85 meeting most objectives, one little gap
4 = .90 meeting all objectives
4+Mastered-Y = .95 exceeding all objectives, requires links and  office hours verification

Skill
Mastered (Y/N)
Rank (1-4)
Ratio
Notes

Laptop Verification or Cloud Workspace
[ ]
0
0.0
verification by Linux commands notebook

VSCode
[ ]
0
0.0
live change code, commit, make, run localhost, test, debug

Show VSCode GitLens
[ ]
0
0.0
verify commits, show change, comments, reset to commit, run on old commit

GitHub student_2025 repo
[ ]
0
0.0
template create, push changes, verify id, review analytics

GitHub Pages Actions
[ ]
0
0.0
review runs and verify runtime, receive demo

Hacks Tools & Equipment Play
[ ]
0
0.0
Hacks

Hacks GitHub Pages Playground
[ ]
0
0.0
Hacks

Hacks SASS Basics
[ ]
0
0.0
Hacks

Hacks Frontend
[ ]
0
0.0
Hacks

Pair Programming
[ ]
0
0.0
tangibles that show coop work

Total

0.0

Average

0.0

Learning Habits Table
Review criteria in habits.  In this review, pairs should rate each other base on their experience with the person on the line item.
Rank to Ratio, rank is an integer
1 = .55
2 = .75
3 = .85
4 = .90
4+Mastered-Y = .95

Skill
Mastered (Y/N)
Rank (1-4)
Ratio
Notes

Attendance
[ ]
0
0.0

Work Habits
[ ]
0
0.0

Behavior
[ ]
0
0.0

Timeliness
[ ]
0
0.0

Tech Sense
[ ]
0
0.0

Tech Talk
[ ]
0
0.0

Tech Growth
[ ]
0
0.0

Advocacy
[ ]
0
0.0

Comm & Collab
[ ]
0
0.0

Integrity
[ ]
0
0.0

Organized
[ ]
0
0.0

Total

0.0

Average

0.0

ls: This command lists out all the files and directories within that directory
pwd: This command shows the name of the directory you are currently in
mkdir: This command is used to create a new directory
cd: This command allows you to change what directory you want to be in
git:
cat:

VsCode

Show VsCode GitLens

GitHub student_2025 repo

GitHub Pages Actions

Hacks Tools & Equipment Play

Hacks Frontend

4
Y

SASS Hacks

Skill
Mastered (Y/N)
Rank (1-4)
Ratio
Notes

Attendance
[ ]
0
0.0

Work Habits
[ ]
0
0.0

Behavior
[ ]
0
0.0

Timeliness
[ ]
0
0.0

Tech Sense
[ ]
0
0.0

Tech Talk
[ ]
0
0.0

Tech Growth
[ ]
0
0.0

Advocacy
[ ]
0
0.0

Comm & Collab
[ ]
0
0.0

Integrity
[ ]
0
0.0

Organized
[ ]
0
0.0

Total

0.0

Average

0.0

0.91

had some cool extra features
score would be higher but pair communication needs to be better


Environment variable to set node URL

Setting the environment variable COMMUNE_NODE_URLS like this
export COMMUNE_NODE_URLS="wss://testnet-commune-api-node-0.communeai.net"

should make comx connect to one of the specified nodes.
The value is a list, with the purpose of load balancing / failover (which doesn't need to be implemented right now). Probably comma separated, but could be something else if more convenient to implement.

Implemented in 5d6e933.
I chose the name COMX_NODE_URLS for the env var instead. Other env vars will be prefixed with COMX_.
pydantic-settings defaults to loading lists and other composite types as JSON, so to set the variable one would do in sh:
export COMX_NODE_URLS='["wss://testnet-commune-api-node-0.communeai.net"]'

@PsicoThePato what do you think?
 COMX_ prefix is great.
Maybe it's worth to support weights on the nodes to allow more control.

I may also have a --testnet flag that provides another default list with testnet nodes.

This is implemented.


Luminous Logos

Craft eye catching logos and icons with a special vibrant gradient touch.
https://chat.openai.com/g/g-Jpx5zBJUC-luminous-logos
Example:

Merged


This version of YouTube is going away soon

A few days ago, I noticed a blue bar on the YouTube, which said: This version of YouTube is going away soon. Switch to the new YouTube. So, I would like to know what it means for your extension, and what will happen, if they will remove the old layout. I have only noticed it, when I was signed in, so at least normally, it doesn't show up.
There is a Reddit thread about it: https://old.reddit.com/r/youtube/comments/ellkt4/misc_fd_rip_old_layout/ and one person, ask about it, on the Google support, but that person hasn't got a response yet: https://support.google.com/youtube/thread/24987355?hl=en

I am skeptical that they will remove support for older browsers, but if they do, I might put an effort into restyling new layout to match old one.

I hope that they don't do that, but most of the software, which I have the latest updates.
Is it possible to have most of the layout be just like the old one, if they decide to remove it? Since, the newer one, is much slower, even on high end machines.

So, I've changed user agent and looks like they really are removing support for older browsers. Well, fuck'em

btw, if you want to remove alert, use custom theme in Enhancer for YouTube
#old-browser-alert {
  display: none;
}

seems they start to announce the message region by region.
(3 weeks halt for announce webpage translation)
even microsoft wasn't complain about Youtube's shadow DOM API issue and now they're using Chromium engine for they're new Edge browser.
not a suprised so.. i'm start to little worried about how much slows they're new design in Firefox Specific. 😖

btw, if you want to remove alert, use custom theme in Enhancer for YouTube
#old-browser-alert {
  display: none;
}

Hi. I use theme Red Dark in Enhancer for YouTube and this script not working.
Is there a script that works with this theme?

If you use Adblock you can add this filter:
youtube.com##.alerts-wrapper

@gioxx
Thx. It works.

@xxzefgh I don't mind that, but, I'm afraid, that when they remove that layout, it will not be possible to have it, like it is now. And why would you be using an old browser anyway?
Also, do you know why this excellent extension, was removed from the Chrome Store? I have seen threads about it, but I have never seen any answer to that.

@Marek33 to be honest, I didn't notice any performance issues, I just wanted old layout and that's why I made this. restyling would be enough for me.
and as for the chrome store, I don't know what policies were violated. this is what they sent me

btw M$ approved it so anyone can use it on edge
https://microsoftedge.microsoft.com/addons/detail/icocefkkfkmmiclcobgcnpnjdmmpgdna

@xxzefgh I did notice quite a slower loading, and also the website performance tests, like the gtmetrix have proven me, right by that.
That's quite a weird explanation, from their side, but since they did not want to allow some newer versions of the uBlock Origin there, it makes sense that they wouldn't even care for smaller extensions.
I don't think that Edge will have any privacy oriented Forks, so it's not much for me. Ungoogled and Iridium at least, doesn't ask me all the time to stop using the developer mode, like the Brave.

As of 04/22/2020 this plugin seems to be obsolete on firefox.

@refriedfood  I had had some issues in the last week, with having a new layout as well, but it's very easy to fix. Just clean the history and open the YouTube again. Though, it did happen only on the Chromium, and not on Firefox.

@Marek33 My settings erase my history and cache/cookies, etc every time I close the browser. It just doesn't seem to work any longer for me (FF v62/p).

@refriedfood  You should update it since its quite an old version, and try a newer one. Maybe then, it will be fixed, since I had almost no problems with it.

make sure you update the extension to 1.5.1

@xxzefgh  Will you release the 1.5.1 to Github as well? I would prefer to download it, from here than from the Chrome Web Store.

@Marek33 yes I just did that.

@xxzefgh Thanks!
Also, have you removed that blue bar, which I mentioned in the title name? Since, now, when I visit YouTube, with uBlockOrigin and uMatrix, turned off, I no longer have it?

@xxzefgh 151 isn't offered on the addons site for me(?). Still 1.4.1. no xpi anywhere.

Yes, it seems there is only the one for Chrome. Thought, in the add-on store, there is a newer version, but I would still prefer to have a download for it here.

I don't know why you can't update. Use "Check for update" button on addons manager page to force updates.

Literally, as you posted that, I was able to magically get it through firefox instead of their addon site and now it's 1.5.1 and working again. Thanks.

Is there any chance of adding the old theme for YouTube Studio back in?
Thank you!

Hello, unfortunately not.
On Fri, May 8, 2020 at 9:33 PM maxw2000<EMAIL_ADDRESS>wrote:

The YouTube Studio Legacy button is gone now, Creators are now forced to
use the ugly new theme.
Is there any chance of adding the old theme for YouTube Studio back in?
Thank you!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/xxzefgh/youtube-classic-extension/issues/18#issuecomment-625930096,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABVIKJ2HN2FQINIHH5DOPYLRQQ65PANCNFSM4KFZ4L2Q
.

btw, if you want to remove alert, use custom theme in Enhancer for YouTube
#old-browser-alert {
  display: none;
}

Hi. I use theme Red Dark in Enhancer for YouTube and this script not working.
Is there a script that works with this theme?

ate !important; when should works without uBO/AG/ABP/AdBlock.

@krystian3w Thanks, but I did remove it back in January. Though, I'm afraid, that if they completely remove the layout, then there will be no extension, which will be able to bring back the old one.

@xxzefgh Thanks!
Also, have you removed that blue bar, which I mentioned in the title name? Since, now, when I visit YouTube, with uBlockOrigin and uMatrix, turned off, I no longer have it?

I too no longer have it appear and I've disabled my adblocker and Enhanced Tracking Protection to confirm they aren't causing its eradication.

@Nicholas-Steel  I would recommend you to use the uBlock Origin, since classic ad blockers, aren't that great, and most of them already sold out. Please, make sure, when you search for the uBlock, to use the uBlock Origin, and not the classic uBlock, since that is a stolen project, and it's not recommended.
Also, since it seems that it's really gone, I will close this.

I already use uBlock Origin, I use adblocker as a catch-all term.

I understand, and that's good to know!


⚠ Bofrost.lu has degraded performance

In 8651787, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 2041 ms

Resolved: Bofrost.lu performance has improved in fe28e55 after 13 minutes.


Bug with ternary condition selection.

Considering this code;
const systemDir = (process.env._ || '').match(
  // this check is for any scripts running from the tablecheck-frontend package.json which are absolutely referenced
  // all other cases should be running via NPM and in node_modules
  /^\.\/packages\/(quality|audit)\/bin\/main\.ts/gi
)
  ? path1
  : path2;
// <-- cursor here

If you try to bring the "condition" of the ternary eg bring condition red made the whole condition should be selected.
Expected;
const systemDir = (process.env._ || '').match(
  /^\.\/packages\/(quality|audit)\/bin\/main\.ts/gi
)
  ? path1
  : path2;
(process.env._ || '').match(
  /^\.\/packages\/(quality|audit)\/bin\/main\.ts/gi
);

Actual (note the missing ( and ) at the beginning and the end of the newly inserted section):
const systemDir = (process.env._ || '').match(
  /^\.\/packages\/(quality|audit)\/bin\/main\.ts/gi
)
  ? path1
  : path2;
process.env._ || '').match(
  /^\.\/packages\/(quality|audit)\/bin\/main\.ts/gi

The reason for this is that condition has the same implementation for ternary as for if statements and we didn't want the parentheses when selecting/removing the condition in an if statement.
I now have a pr to fix this #952


Note creation of .vscode folder

Fixes #26807

I like this change as well. As part of it, should we add **/.vscode/ to our .gitignore file?

It's already there: https://github.com/dotnet/docs/blob/7093ec2562d92b37245f51a4e3428c38c2612bca/.gitignore#L29

I like this change as well. As part of it, should we add **/.vscode/ to our .gitignore file?

It's already there:
https://github.com/dotnet/docs/blob/7093ec2562d92b37245f51a4e3428c38c2612bca/.gitignore#L29

Right. Sorry, I should have been more specific. I'm thinking of changing that to **/.vscode/ so that if I open code in a subdirectory with a snippet project, the created assets don't get checked in. Now, it only works if I open the root folder of the repo (which is my normal flow for writing the article)


Get rid of classproperty

What is wrong?
I think the classproperty is problematic and should be removed.
It results in us having Any types for the return values and while I'm sure there are ways to fix this I think we're fixing the wrong problem.
How can it be fixed
Replace all of the usage of classproperty with classmethod versions of them as getter functions.
class Thing:
    @classproperty
    def some_thing(cls):
        ...

This becomes:
class Thing:
    @classmethod
    def get_some_thing(cls):
        ...

There's an alternate approach which could be ok.  If extracted into it's own package, it could also implement the mypy plugin API to preserve type safety on the original classmethod.

I thonk this should've been closed by PR #1099.


3.3.23 show Liander branding

The OSGP documentation shows Liander branding, It would be nice to remove this branding.

First start: https://github.com/OSGP/Protocol-Adapter-OSLP/pulls

Fixed


Various fixes for transmittance effect

Fixes: https://github.com/godotengine/godot/issues/88083
Fixes: https://github.com/godotengine/godot/issues/73946
Use correct shadow sampling for omni and spot lights. We changed how shadow maps were sampled in https://github.com/godotengine/godot/pull/51335, but we forgot to update the code for transmittance, so it was sampling from the totally wrong position. This resulted in the bug reported in #88083
Disable transmittance if shadows are disabled. Transmittance requires reading from the shadow map. It used to be calculated at the same time as shadows but was moved in https://github.com/godotengine/godot/pull/45023. It has been broken ever since. I noticed this while working on something unrelated.
Correct DirectionalLight transmittance bias to match shadow bias (its still pretty sensitive though). The calculation of bias was updated in https://github.com/godotengine/godot/pull/51025 but it wasn't updated for Transmittance. The result is that the default bias is way too large. Users need to manually adjust bias to a tiny amount for it to work at all.
before

after

LGTM, I'm not too familiar with the transmittance code so purely judging on code style.
Only question I have seeing you mention in your description that transmittance requires shadows to be enabled, why you're not doing a #if defined(LIGHT_TRANSMITTANCE_USED) && !defined(SHADOWS_DISABLED) and skip over the code entirely?

Just because the first couple variables are still needed for the light compute function:
#ifdef LIGHT_TRANSMITTANCE_USED
	float transmittance_z = transmittance_depth; //no transmittance by default
	transmittance_color.a *= light_attenuation;
#ifndef SHADOWS_DISABLED

So the defines are slightly separated, but in practice it should be fine

Thanks!


Could you upgrade framework to Swift 4.2 ?

Hi,
Now, Could you upgrade framework to Swift 4.2 ? or when you can do that ?
Thanks for advance.

try version 4.1.1


[FEATURE] Telegram Message for notifications about expired/missing 2FA credentials

At the moment you send the notifications about expired/missing 2FA credentials only to smtp (if I understand your readme). Can you optional send this with telegram?

It is already available. Please include below snippet in config.yaml > app section. From: https://github.com/mandarons/icloud-drive-docker?tab=readme-ov-file#sample-configuration-file
telegram:
  bot_token: <your Telegram bot token>
  chat_id: <your Telegram user or chat ID>

Thank you :)


[Removal]:

Hotspot Name
Zealous Scarlet Kestrel
Hotspot b58 Address
11hNVNcriAwAjBKqBgvGvaq1WvHLR4GMB5nypPwuqa4jGRcn3yw
Discord Handle
No response
Hotspot Manufacturer
Bobcat
Removal Reason
I installed this hostpos with a 5.8dbi antennas for more than half year, now with no reason it is in the denylist, and i has no idea why my hospot in this list, it has affected my witness for days. Please help me to remove my hostpot from this rediculous list. Thanks!
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information

i will tell you why. you miner can only witness the miners from you. since you have such beefy antenna and in really densely helium-miner populated area, it is almost impossible. probably all your miners should be on the list. see screenshots.

" it is almost impossible"?
why impossible? the hotspot near me is all fake location. only my hotspots are real location deploy, That's why i only witness myself. And if this can be the reason to judge if the hotspot is fake localtion，then it is really really hurt the honest miner like me.

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


Fails to load in HA 2024.1.0 due to 'evnex>=0.3.5'

A couple of errors in the logs today after updating to 2024.1.0, preventing the evnex integration from loading.

Logger: homeassistant.setup
Source: setup.py:221
First occurred: 07:44:24 (1 occurrences)
Last logged: 07:44:24

Setup failed for custom integration 'evnex': Requirements for evnex not found: ['evnex>=0.3.5'].

Logger: homeassistant.util.package
Source: util/package.py:102
First occurred: 07:44:20 (3 occurrences)
Last logged: 07:44:24

Unable to install package evnex>=0.3.5: ERROR: Cannot install evnex==0.3.5 and evnex==0.3.6 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

I've updated my HA to 2024 and released a new version of ha-evnex that seems to work. That said my Python setup probably isn't standard so your mileage may vary! Please let me know if v 0.4.2 works for you

Hi Brian, the issue is with the httpx version specified:

Have upgrade HA to 2024.1.1 and evnex to 0.5. I now get this error:
Logger: homeassistant.util.package
Source: util/package.py:102
First occurred: 11:36:15 (3 occurrences)
Last logged: 11:36:30
Unable to install package evnex>=0.3.8: ERROR: Cannot install evnex==0.3.8 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

I don't suppose you can see what conflicts? I'm guessing some other integration might depend on the old v1 version of pydantic?

Oh its a big issue with core plugins as well - https://github.com/home-assistant/core/issues/99218
Looks like I'll need to revert to using Pydantic v1 but support Pydantic v2.

🤞🏼 https://github.com/hardbyte/ha-evnex/releases/tag/v0.5.1

Your fingers crossed emoji worked! All up & running again, thanks hardbyte / Brian.

Yup all working here as well. Thanks for the fast turnaround.


[BAU] add Sutton to the PLACE_TO_FUND_TYPE mapping

https://dluhcdigital.atlassian.net/jira/servicedesk/projects/FSDS/queues/custom/44/FSDS-232
Change description

fixes an issue for Sutton that prevented them from submitting

[ ] Unit tests and other appropriate tests added or updated

[ ] README and other documentation has been updated / added (if needed)

[X] Commit messages are meaningful and follow good commit message guidelines (e.g. "FS-XXXX: Add margin to nav items preventing overlapping of logo")

How to test
If manual testing is needed, give suggested testing steps
Screenshots of UI changes (if applicable)

I've run a script to check we cover all values in the spreadsheet and Sutton was the only one that was missing 👍


Upgrade one forgotten example code site to GA API

This should have been included in 46585e23f14b0463c4b7a0d04d72d712.
0 days have now passed since the last bug of mine that a static type system would have prevented.

LGTM

@nathanielmanistaatgoogle There are still some more lingering alphas and betas:
https://github.com/grpc/grpc/search?utf8=✓&q=alpha&type=Code
https://github.com/grpc/grpc/search?utf8=✓&q=beta&type=Code

@pgrosu: I've drafted pull request 7702 to clean up many of the remaining uses of the (Python) Beta API.


Upgrade Goofy.app to v2.2.1

Thank you for the contribution. It was merged directly as 146ff73af1858add0dc8511af96b07baeb68d962 to keep commit history cleaner. Your contribution is still credited to you.


[javascript] how to parse js to a cpg?

I used joern-parse to parse a js file ,but it failed
the command :  joern-parse xx.js --output=a.bin

how can I use it to parse js file? thank you!! did it need another things?
@max-leuthaeuser @mpollmeier @DavidBakerEffendi

You may need to place it in a directory, I believe I've encountered this before

You may need to place it in a directory, I believe I've encountered this before
@DavidBakerEffendi
it is ok now,thanks

and then I has another question, it could not create edge:

used command: \joern-cli\joern-parse.bat D:\360MoveData\ets\pages\test --output cpg.bin
and the log file>a.log a.log
the typescript source file>ets.zip ets.zip

Yes, Typescript is supported and you did everything just fine.
The messages you encountered can be ignored for now. Currently, or mapping / handling for Typescript types and their CPG representation is incomplete but should be sufficient for most queries.


feat: login page design

I will design the login page with username and password in React.JS
Will you please assign this issue to me for gssoc 2023?

I want to work on this issue as a contributor.
Pleasure Assign so that I can show my skills under GSSoC'23.

Hey, welcome to GSSoC ’23, this is an amazing idea. But half the things have already been done. There’s a Landing Page that’s half completed and there’s the App that’s been half completed too! I’m currently setting things up and also adding the videos for those who are completely new. Will be creating labels and assigning it. Can we please wait for a day max until I make the ReadMe and push the base code and base branches (one for the web and another for the app)? 🙏🏻
Thanks, it won’t be long. A new video will be coming up. Don’t close the issue, we’ll see how we can make it fit. 💪🏻

I think there should be a login page for the website. This will enhance the user experience. It will help the user to safely access the information from the website by having their own personal space.
The login page will have fields like username and password,etc.
I can design the frontend part of sign in and log in page.
I would like to work on this issue under GSSOC'23.
Please assign me this issue
@praveenscience

I think login/signup page would be a waste of resources and time. It should be more like pastebin like platform. One can use and close, nothing more.
Simple rule of product management: More features brings more complications and hence less user interactions.

You're right, we don't need a login / sign up page.


ibmcloud|aws: Mask cloud configuration sensitive fields

Created tests to check approach works as designed
Added utility function to redact provided fields
Add redacting implementation for IBM cloud and AWS config type

Partial Fixes: #83 (Doesn't solve ps -ef | grep cloud-api-adaptor exposure)
Signed-Off-By: James Tumber<EMAIL_ADDRESS>

Hi @bpradipt,
Taken onboard your comments from #103 - would appreciate your inputs to this new approach.
Cheers,
JT

@yoheiueda ptal.


Automated Package Upgrade

:tada: This PR is included in version 10.0.17 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Sending raw message using HTTP

Can I send raw ISO 8583 message example,<PHONE_NUMBER>0000000000165419120070537139000000005500, using HTTP instead of upstream?
I saw this on the feature list: Supports both binary ISO-8583 and JSON over HTTP operation modes at the same time, do you have a sample code?

No, the moment you can't. But it sounds to be a good idea! Will implement
it shrortly.
Can I send raw ISO 8583 message example,
02005000000000000000165419120070537139000000005500,
using HTTP instead of upstream?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/juks/SocketQueue/issues/2, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJA5UyxhwMN-QI-axteXoXA0ftYBEv-ks5qlAu0gaJpZM4JwZU_
.

Currenly it accepts ony JSON arrays over HTTP. But it won't take long to implement

Please update master and check the new /raw url for HTTP:
curl -H "Content-Type: text/plain" -X POST -d '303830302220010000c00000303030303030303630373136313730303132333435363030303030313233343536313233353637383930313234353637' http://localhost:2015/raw
Note it all comes as HEX, not only the binary mask. This is a safe and universal way.
Given example goes as:
 Message Type Indicator [0].......................0800
 Bitmap [1].......................................2220010000800000
 Processing Code [3]..............................990000
 Transmission Date and Time [7]...................0830203545
 System Trace Audit Number [11]...................000001
 Function Code [24]...............................831
 Card Acceptor Terminal Identification [41].......00000001

Thanks. Your work is awesome. I will explore your gateway more on the integration with bank host.

Your feedback is always welcomed!


Farfetch'd loot table is doubled

Can drop leek, feather, sharp beak, and muscle feather. have noticed that drops are doubled

Fixed as of next reboot, thanks for your report! Closing


Caching get component calls and removing hot path risks

Performance review showed that we can reduce some allocs by caching the results using GetComponents(List). This PR also removes a potentially costly Linq call from a fixed update function, reducing risks there.

Thanks for doing this stuff @RogPodge!!


feat: calculate heading on move

used formula described here: https://maxcheaters.com/topic/116368-help-spawnlist-heading-field/#comment-1633871
Not sure if necessary, but seems to improve characters heading (when clicked in game character usually turned a bit), now it stays static in most cases, but not all?!

MMmmm great yea the heading as always been a mystery for me :D


Can't get the font to display properly

Hi,
I've tried to reconfigure this many times.
I can't get the 7segment font to display - it only displays some default font which looks ugly.
Does anyone have any ideas on how can I properly set this font up and/or how to debug this issue?
Best regards
Szafran

Hmm.   I'm having this problem after installing for the first time - it's been several days.  Any additional ideas on how to clear it up?    Segments will stay "lit" after displaying a digit that uses them, but some do not get cleared when they should be


Allow age_data values to handle ints

An error is thrown if the 'values' column in age_data are of datatype int64.

Are we considering (1) changing the data type or (2) going upstream to enable the class parameters to accept int64?

Perhaps related to #451?

@skroiss-idm  - Is this fixed with #451?

Ahh, yes. Looks like that's fixed! Thanks for flagging.


(feat/6232) Lazy create config and cache directories

Signed-off-by: Akash Shinde<EMAIL_ADDRESS>What this PR does / why we need it:
closes #6232
Special notes for your reviewer:
There are questions in the comment section of the code, Please take a look at it.
If applicable:

[ ] Remove helm init command.
[ ] Port ensurePluginsInstalled() from helm init

@adamreese Since you've already been working on this, do you have any feedback on this ?

@akashshinde Can you fix the conflicts on this one ?

I believe @adamreese fixed this in #6293. Can you confirm Adam?

closing in favor of https://github.com/helm/helm/pull/6293