user controlled autoremove and -y

Requesting a new feature 🧑💻
autoremove and -y by default are annoying.
you may have stuff marked auto-installed on purpose. Maybe you are leaving some old kernels, maybe you are trying to compile something, maybe testing something....
-y is for scripts, where you already know it's correct. Interactively, you don't want -y, maybe you forgot something, maybe you did a typo, maybe it will try to uninstall your desktop or X or it want to download 1GB of updates ....
there's a reason why apt follows certain conventions. deb-get should follow them more closely. Also people expect that get-deb will work like apt.
I would propose to remove -y and autoremove. Maybe just add an option to send custom options to the apt command. They are plenty more apt options, cloning them all one by one would not make sense.

There is a lot of maybe's in your justification which I am not currently convinced are real issues for users.
I am going to close this for now, but perhaps we can revisit this in the future should the need arise.


delete gc-artifact workflow stuck

Pre-requisites

[X] I have double-checked my configuration
[X] I have tested with the :latest image tag (i.e. quay.io/argoproj/workflow-controller:latest) and can confirm the issue still exists on :latest. If not, I have explained why, in detail, in my description below.
[X] I have searched existing issues and could not find a match for this bug
[X] I'd like to contribute the fix myself (see contributing guide)

What happened? What did you expect to happen?
run example examples/artifact-gc-workflow.yaml

kubectl create -f examples/artifact-gc-workflow.yaml
because I am using a Linux/arm64 system, the workflow failed.

kubectl get workflow
NAME                STATUS   AGE   MESSAGE
artifact-gc-qzcrv   Failed   10s   Error (exit code 64): failed to start command: fork/exec /bin/sh: exec format error

so i decide to delete the workflow, but at this time, deleting the workflow is stuck and cannot be successful
get workflow:

apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  annotations:
    workflows.argoproj.io/pod-name-format: v2
  creationTimestamp: "2024-08-24T10:08:29Z"
  deletionGracePeriodSeconds: 0
  deletionTimestamp: "2024-08-24T10:13:21Z"
  finalizers:
  - workflows.argoproj.io/artifact-gc
  generateName: artifact-gc-
  generation: 5
  labels:
    workflows.argoproj.io/completed: "true"
    workflows.argoproj.io/phase: Failed
  name: artifact-gc-qzcrv
  namespace: default
  resourceVersion: "8957"
  uid: 4e159dab-2888-4097-a4c3-9ff67758d28d
spec:
...

i found that finalizers still existed, it should be removed
Version(s)
v3.5.10
Paste a minimal workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
run `examples/artifact-gc-workflow.yaml` on mac os, and then delete the workflow

Logs from the workflow controller
time="2024-08-24T10:08:40.025Z" level=info msg="node changed" namespace=default new.message="Error (exit code 64): failed to start command: fork/exec /bin/sh: exec format error" new.phase=Failed new.progress=0/1 nodeID=artifact-gc-qzcrv old.message= old.phase=Pending old.progress=0/1 workflow=artifact-gc-qzcrv
time="2024-08-24T10:08:40.026Z" level=info msg="TaskSet Reconciliation" namespace=default workflow=artifact-gc-qzcrv
time="2024-08-24T10:08:40.026Z" level=info msg=reconcileAgentPod namespace=default workflow=artifact-gc-qzcrv
time="2024-08-24T10:08:40.026Z" level=info msg="Updated phase Running -> Failed" namespace=default workflow=artifact-gc-qzcrv
time="2024-08-24T10:08:40.026Z" level=info msg="Updated message  -> Error (exit code 64): failed to start command: fork/exec /bin/sh: exec format error" namespace=default workflow=artifact-gc-qzcrv
time="2024-08-24T10:08:40.026Z" level=info msg="Marking workflow completed" namespace=default workflow=artifact-gc-qzcrv
time="2024-08-24T10:08:40.026Z" level=info msg="Workflow to be dehydrated" Workflow Size=1689
time="2024-08-24T10:08:40.048Z" level=info msg="Workflow update successful" namespace=default phase=Failed resourceVersion=8669 workflow=artifact-gc-qzcrv
time="2024-08-24T10:08:40.069Z" level=info msg="cleaning up pod" action=labelPodCompleted key=default/artifact-gc-qzcrv/labelPodCompleted
time="2024-08-24T10:08:45.068Z" level=info msg="Processing workflow" Phase=Failed ResourceVersion=8669 namespace=default workflow=artifact-gc-qzcrv
time="2024-08-24T10:08:45.069Z" level=info msg="Task-result reconciliation" namespace=default numObjs=0 workflow=artifact-gc-qzcrv
time="2024-08-24T10:08:45.069Z" level=info msg="Workflow to be dehydrated" Workflow Size=1715
time="2024-08-24T10:08:45.088Z" level=info msg="Workflow update successful" namespace=default phase=Failed resourceVersion=8680 workflow=artifact-gc-qzcrv
time="2024-08-24T10:08:50.093Z" level=info msg="Processing workflow" Phase=Failed ResourceVersion=8680 namespace=default workflow=artifact-gc-qzcrv
time="2024-08-24T10:08:50.093Z" level=info msg="Task-result reconciliation" namespace=default numObjs=0 workflow=artifact-gc-qzcrv
time="2024-08-24T10:12:52.475Z" level=info msg="Alloc=5451 TotalAlloc=18959 Sys=24165 NumGC=8 Goroutines=175"
time="2024-08-24T10:13:31.589Z" level=info msg="Processing workflow" Phase=Failed ResourceVersion=8957 namespace=default workflow=artifact-gc-qzcrv
time="2024-08-24T10:13:31.589Z" level=info msg="Task-result reconciliation" namespace=default numObjs=0 workflow=artifact-gc-qzcrv
time="2024-08-24T10:13:31.590Z" level=info msg="Workflow to be dehydrated" Workflow Size=1751
time="2024-08-24T10:13:31.604Z" level=info msg="Workflow update successful" namespace=default phase=Failed resourceVersion=8967 workflow=artifact-gc-qzcrv
time="2024-08-24T10:13:36.610Z" level=info msg="Processing workflow" Phase=Failed ResourceVersion=8967 namespace=default workflow=artifact-gc-qzcrv
time="2024-08-24T10:13:36.610Z" level=info msg="Task-result reconciliation" namespace=default numObjs=0 workflow=artifact-gc-qzcrv

Logs from in your workflow's wait container
time="2024-08-24T10:08:31.403Z" level=info msg="Starting Workflow Executor" version=v3.5.10
time="2024-08-24T10:08:31.404Z" level=info msg="Using executor retry strategy" Duration=1s Factor=1.6 Jitter=0.5 Steps=5
time="2024-08-24T10:08:31.404Z" level=info msg="Executor initialized" deadline="0001-01-01 00:00:00 +0000 UTC" includeScriptOutput=false namespace=default podName=artifact-gc-qzcrv templateName=main version="&Version{Version:v3.5.10,BuildDate:2024-08-01T05:12:26Z,GitCommit:25829927431d9a0f46d17b72ae74aedb8d700884,GitTag:v3.5.10,GitTreeState:clean,GoVersion:go1.21.12,Compiler:gc,Platform:linux/arm64,}"
time="2024-08-24T10:08:31.414Z" level=info msg="Starting deadline monitor"
time="2024-08-24T10:08:32.414Z" level=info msg="Main container completed" error="<nil>"
time="2024-08-24T10:08:32.414Z" level=info msg="No Script output reference in workflow. Capturing script output ignored"
time="2024-08-24T10:08:32.414Z" level=info msg="No output parameters"
time="2024-08-24T10:08:32.414Z" level=info msg="Saving output artifacts"
time="2024-08-24T10:08:32.415Z" level=info msg="Staging artifact: on-completion"
time="2024-08-24T10:08:32.415Z" level=info msg="Copying /tmp/on-completion.txt from container base image layer to /tmp/argo/outputs/artifacts/on-completion.tgz"
time="2024-08-24T10:08:32.415Z" level=info msg="/var/run/argo/outputs/artifacts/tmp/on-completion.txt.tgz -> /tmp/argo/outputs/artifacts/on-completion.tgz"
time="2024-08-24T10:08:32.415Z" level=error msg="executor error: open /var/run/argo/outputs/artifacts/tmp/on-completion.txt.tgz: no such file or directory"
time="2024-08-24T10:08:32.437Z" level=info msg="Alloc=8902 TotalAlloc=13535 Sys=24165 NumGC=3 Goroutines=8"
time="2024-08-24T10:08:32.456Z" level=fatal msg="open /var/run/argo/outputs/artifacts/tmp/on-completion.txt.tgz: no such file or directory"

kubectl get pod artifact-gc-qzcrv -o yaml:
apiVersion: v1
kind: Pod
metadata:
  annotations:
    kubectl.kubernetes.io/default-container: main
    workflows.argoproj.io/node-id: artifact-gc-qzcrv
    workflows.argoproj.io/node-name: artifact-gc-qzcrv
  creationTimestamp: "2024-08-24T10:08:30Z"
  labels:
    workflows.argoproj.io/completed: "true"
    workflows.argoproj.io/workflow: artifact-gc-qzcrv
  name: artifact-gc-qzcrv
  namespace: default

labels[workflows.argoproj.io/completed] is true, so pod can not get by podinformer
https://github.com/argoproj/argo-workflows/blob/ddbb3c7ad5b498d50514b3c1158ded56e333d75b/workflow/controller/controller.go#L1232-L1238
This causes anyPodSuccess to always be false
https://github.com/argoproj/argo-workflows/blob/ddbb3c7ad5b498d50514b3c1158ded56e333d75b/workflow/controller/artifact_gc.go#L506-L512
https://github.com/argoproj/argo-workflows/blob/ddbb3c7ad5b498d50514b3c1158ded56e333d75b/workflow/controller/artifact_gc.go#L551

See my review comment. This seems like the exact use-case for the forceFinalizerRemoval field

Looks like this might be caused by failure of TaskResult reconciliation, and so would be duplicative of #12993 and fixed by #13454. See my new comment on the PR

Try running your Controller image with :latest, which will include #13454

Try running your Controller image with :latest, which will include #13454

I have tried it. In fact, I have debugged it locally with the latest code and it cannot be deleted successfully unless force is used. However, I don't think it is necessary to use force in this scenario. Looking at the code, woc.allArtifactsDeleted() is actually true, but anyPodSuccess prevents the deletion of finalizers. I think zero pods and anyPodSuccess == true are equivalent.
https://github.com/argoproj/argo-workflows/blob/ddbb3c7ad5b498d50514b3c1158ded56e333d75b/workflow/controller/artifact_gc.go#L551

To clarify, so in this scenario, no ArtifactGC Pods were launched? Since no artifacts were created

Looking at the code, woc.allArtifactsDeleted() is actually true, but anyPodSuccess prevents the deletion of finalizers. I think zero pods and anyPodSuccess == true are equivalent.

Ah, I see what you mean, thanks for elaborating!
Yes, if all artifacts were already deleted, then I think this check is just to make sure that there are no failed ArtifactGC Pods laying around? 🤔 cc @juliev0

Hey all. This is really interesting. You've definitely happened upon at least one bug. But you know, while the LabelKeyCompleted label is being set to "false", it seems I never actually set it to "true" or deleted it, so it shouldn't actually be bypassed by that Informer. Do you agree?
(in which case, we can decide if it should even have that label)

I gather your change in your PR to check for 0 Pods (which would include both the Workflow's Pods and the Artifact GC Pods) is working for you? I can only gather that that's working for you because not only have the Workflow's Pods been deleted, but ArtifactGC code has also deleted the Pods. The Pods are owned by the WorkflowArtifactGCTask, and that's deleted here.
So, given this, we need to determine why the finalizer isn't getting removed for you normally...hmm.....

If you run with the loglevel in debug mode, do you see this log line where the deletion occurs? (Or alternatively, do you see the WorkflowArtifactGCTask (kubectl get workflowartifactgctask)?

Now I'm seeing in your PR that you mention that the Workflow failed due to not being able to run the image. Okay, let me respond over there...


How to set default queryParam

I can't find any documentation on how to set a default queryParam if none has been assigned to a certain page.
I would like to have localhost:3000/article to set to localhost:3000/article/?getBy=recent if the getBy is not assigned so I tried putting it in my route as
exhibitSection.route('/article', {
    name: 'article',
    action: function(params, queryParams) {
        if (!queryParams['getBy']){
            FlowRouter.setQueryParams({getBy: 'recent'});
        }
        BlazeLayout.render("mainLayout", {content: "articleForm"},params,queryParams);
    }
});

It doesn't seem to work.

++


stabilize the way we navigate multiple pages for E2E macrobenchmarks

We were getting occasional instances of navigation failures trying to drive the multi-page E2E benchmarks (currently the opacity peephole benchmarks). It looks like the code would sometimes fail to find the intended scrollable on the second page of buttons in those tests. This PR makes the navigation of the pages more explicit - allowing the tests to describe both the Key of the ListView as well as the Key of the button on each subsequent page. The default one-click benchmarks will still be compatible as the original benchmark navigation method signature will forward to the multi-page version with the appropriate explicit route to the one-click button.
Examples of reported flakes (which are all closed via marking the tests as flaky):
https://github.com/flutter/flutter/issues/95574
https://github.com/flutter/flutter/issues/95859
https://github.com/flutter/flutter/issues/95863
https://github.com/flutter/flutter/issues/95865
https://github.com/flutter/flutter/issues/96072

With respect to the automatic "missing tests" notification, these changes are in benchmark code and appropriate expect calls were added to more proactively flag the problems that were being seen prior to the fix, in essence the fix is testing itself.


PROPOSE: RFC 0577 Use self-encoded keys

Signed-off-by: George Aristy<EMAIL_ADDRESS>

From yesterday's call:

objections were raised against moving away from using DIDs to express "naked keys"
@swcurran will reach out to the editors of the did:key method spec to inquire as to how disjoint types of keys could be encoded using did:key
@TelegramSam will draft a new DID method spec similar to did:key that will allow a sender to encode several keys plus additional metadata that would indicate the key's purpose and algorithms

From yesterday's call:

objections were raised against moving away from using DIDs to express "naked keys"
@swcurran will reach out to the editors of the did:key method spec to inquire as to how disjoint types of keys could be encoded using did:key
@TelegramSam will draft a new DID method spec similar to did:key that will allow a sender to encode several keys plus additional metadata that would indicate the key's purpose and algorithms


[Node Lease objects] url is wrong

This is a Bug Report
The link provided for [Node Lease objects] is wrong

Problem:
The provided link is navigating to top of the page not to corresponding sub section.
Proposed Solution:
URL link should be https://kubernetes.io/docs/concepts/architecture/nodes/#node-heartbeats
Page to Update:
https://kubernetes.io/docs/concepts/architecture/leases/#node-heart-beats

/language en

/assign

/triage accepted


Make default username & password configurable

Should also include a warning that the password is stored in cleartext

Admin API key should also be configurable.  (with an option to not set an API Key at all)

Perhaps we should only create the API key if requested. Most uses cases don't use it and it's probably better for security not to create them regardless. Some of these DB's might end up in production eventually.

The API key is now an optional parameter and isn't created by default.


Feature: get currentThreatStatus / await freeRasp.checksComplete.future

Hi, I'd like to be able to know if certain checks are finished and what their result is before initiating a certain procedure.
What I would like is a feature like:
await freeRasp.threatAnalysisComplete;
or
ThreatDetectionResults results = await freeRasp.analysisResults;
// analyze results & decide if to initiate sensitive procedures
or
await freeRasp.onPrivilegedAccessResult;
etc
The current way I do it:
I now set a bool deviceCompromised to true in a few of the configuration callbacks and just wait a second after the initial frame is rendered at startup and check the bool . Not sure how threat detection works and how long these take to finish. Are these heuristic based upon behavior or do these have a predictable execution time?
So documentation of the duration per callback would be a valid alternative, after how long you can assume these callback's won't be triggered?

Hi @PeperMarkreel , thank you for raising this! You are right. There currently is no way to get a final verdict. This feature is commonly requested, so we are evaluating possible designs to facilitate that.
Regarding your other question, this doc may come in handy: https://github.com/talsec/Free-RASP-Community/wiki/Callback-Delay,-Telemetry-Impact,-and-Threat-Scanning-Completion-Status. The duration per callback is not deterministic. Hardcoding any artificial completion time window is not recommended.
Best Regards,
Tomas


Blazor tutorial fails

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/create
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
Blazor tutorial fails on this step:
https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/run
Without doing anything else just creating Blazor server project and running the created project results in error in browser saying connection is not secure:
NET::ERR_CERT_INVALID
But it says it is creating a self-signed certificate for localhost. We shouldn't have a need to handle this manually.

I have the same error.
Approved all certificates and still not loading the web site.

Same here - has anyone figured out how to work around this?

Oops...posted too soon.  Restart the browser to pickup the new certificate credentials and everything will work fine.

@CetinBasoz does restarting the browser helped in your case as it does with @NeuralNetting?

I don't know. I dropped the idea of trying dotnet with blazor.
On Thu, Aug 24, 2023 at 11:05 PM Tarek Mahmoud Sayed <
@.***> wrote:

@CetinBasoz https://github.com/CetinBasoz does restarting the browser
helped in your case as it does with @NeuralNetting
https://github.com/NeuralNetting?
—
Reply to this email directly, view it on GitHub
https://github.com/dotnet/core/issues/8431#issuecomment-1692334300, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAYBV7I3RPJNYM7KTVZIOW3XW6XYFANCNFSM6AAAAAAXTUEPSE
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Cetin Basoz
Senior Developer
Engineerica Systems, Inc.
http://www.engineerica.com http://www.engineerica.com/
http://www.attendance-tracking.com http://www.attendance-tracking.com/


Support of "cmd" key for osx

Hi there.
I found your text editor awesome and greatly like it. Thanks for a great job!!
But I have a dummy question if there is an ability to add also a "cmd" support instead of "ctrl" for osx users?

Thanks!
I use a MacBook and I have the cmd key on the caps-lock and ctrl on the cmd key :). I think there's a lot of folks who like to make the caps-lock a ctrl key. I realize this isn't a general solution, just trivia really.
I'm up for making cmd work if it's practical.
It's a bit tricky because the terminal (I'm using iterm2 for example) captures a lot of the cmd key sequences. So ci_edit doesn't normally get to see them. There may be some configuration setting to pass the cmd key to ci_edit (likely as the Meta key). If the terminal did pass along the cmd key presses then keys like cmd+w to close the terminal window, or cmd+t to create a new tab might stop working (i.e. we might need to choose if the terminal window uses those keys or if ci_edit uses them).
If you'd like to help (this is rather technical, if you're not up for it that's no trouble):
ci_edit can accept a --log argument on the command line. This will split the display into four quadrants.

The upper left is the normal ci_edit window(s)
The lower left is a scrolling log of events
The lower right shows some of the undo/redo state
The upper right show debug information
It's that last one we'll be looking at. In that section there is a line that starts with ch. It might say something like ch 258 KEY_DOWN if you press the cursor down arrow. This is reporting every key that ci_edit sees, as it sees them.

When I press cmd+L the ch line doesn't change. This is because the terminal isn't even passing that event to ci_edit. There might be some way to make your terminal pass along the cmd+L (or any other cmd keys). If you're able to find it, that ch line should change.
If we can get the events, i.e. if we can see that cmd+L or cmd+s (and so on) are being pressed, then we (or I) can make ci_edit react to those keys (events).


have a question:what the "non_gt_index" means in this project??thanks!

Hi. Some rois are ground truth boxes, and non_gt_index is for indexing rois that are not ground truth.

Hi. Some rois are ground truth boxes, and non_gt_index is for indexing rois that are not ground truth.

thanks!And I've try to add Relation Module in my end-to-end FPN project with non_gt_index set as None，but it act as a drop in mAP.Is there a mistake about the set of not_gt_index??
And another question...what the "nongt_dim" means in rcnn_attention?Thanks a lot!


No calculation for =7,5+3,5

ℹ Computer information

PowerToys version: v.027.1
PowerToy Utility: PowerRun
Running PowerToys as Admin: No
Windows build number: 19041.685

📝 Provide detailed reproduction steps (if any)

Type: =7,5+3,5
Enter

In short: Unsupported format for comma-decimal point. Localization US vs EU (*cz).
1,000.50 vs 1.000,50
✔ Expected result
What is the expected result of the above steps?
11
❌ Actual result
What is the actual result of the above steps?
nul
📷 Screenshots
Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form

current engine does not support localization, this is something that is a requirement for when we swap to the MS Calc engine

closing against https://github.com/microsoft/PowerToys/issues/2265


(#278) Add SDLK_BACKSLASH to toggle console

Fix #278

@drocha87 looks good to me! :+1: Thank you for your contribution!


Adds batch e2e tests

Description
Adds e2e Audit, Batch and Metric tests
Related issues
Addresses AB#70787
Testing
Run tests

Accidentally created this branch while I was checked out to other branch and not master - so it shows few commits history(the commits previous to "initial commit") of other branch.


CAMEL-19400: camel-elasticsearch - Use nested classes to speed up

Fixes https://issues.apache.org/jira/browse/CAMEL-19400
Motivation
The build on Jenkins takes between 7h and 8h which is much too long especially when we know that the max duration allowed is about 9 h.
So the idea of these changes is to reduce the duration of the integration tests of the elasticsearch component by merging all the integration tests into a single integration test class. The all integration test classes are converted into nested classes, this way testcontainers only starts a docker container of ES once for all instead of once for each integration test class.
Modifications:

Changes the behavior of camel-test-infra-common to only initialize and shutdown when it is called for outer classes
Converts all integration test classes into nested classes of the same outer class

Result:
In my local machine, with the old approach, the tests take about 200 seconds while it now takes about 40 seconds.

@orpiske as you are the code owner of the test-infra components, what do you think of this approach?

@orpiske as you are the code owner of the test-infra components, what do you think of this approach?

That's an interesting approach and I am OK with it.
I am curious about something, though: have you tried implementing JUnit-based singleton services for Elasticsearch? This approach uses JUnit's context extension store to retain the instance between test executions.
We do that for Kafka and it seems to improve the test times too (save for a few scenarios where we need to break stuff / or need broken stuff).

@orpiske I was not aware of this approach, thx for sharing, let me use the same approach for ES to remain homogenous.

The follow up PR https://github.com/apache/camel/pull/10252


Download to Root of Local Drive Fails

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
1.25.1
Regression From
No response
Architecture
i86
Storage Explorer Build Number
20220809.7
Platform
Windows
OS Version
Windows Server 2022 (OS Build 20348.887)
Bug Description
I am unable to download blobs to my local disk if my destination is in the root of a drive.  Creating a folder in the root of the drive and using that as the destination is a reasonable workaround, but the error message I received in my original attempt would not have led me to that solution.
Steps to Reproduce

Navigate to a container with a blob you'd like to download.
Right-click on the blob, select Download
Select the root of a drive (e.g. MyDrive (H:))
Click Select Folder
The download will fail with an error shown in the Activities pane.

Actual Experience
You'll see errors like the following in the AzCopy Log File --
2022/08/18 18:45:51 ERR: [P#0-T#8] DOWNLOADFAILED: https://xxxxxxxxxxxxxxxxx.blob.core.windows.net/xxxxxxxxxxxx-rehydratedforrestore/2016%20Jan%20-%20Jun_rehydrated.bak?se=2022-09-17T18%3A45%3A43Z&sig=-REDACTED-&sp=rl&sr=c&sv=2021-04-10 : 000 : File Creation Error destination file has no known flags that could cause issue (current set: 0) and azcopy was unable to clear the flag(s), so access will be denied: Access is denied.
Expected Experience
I would expect this to work, but at the very least it would be nice if users weren't allowed to or warned against selecting the root of a drive as the download destination since the error message they will receive from AzCopy isn't helpful.
Additional Context
No response

@philkloose Do you have Windows installed on the drive you are trying to download data to? I can only reproduce this error if I download data to my drive with Windows installed.

@JasonYeMSFT I do not have Windows installed on the destination drive.  It was my H: drive and my Windows install lives on my C: drive.

@philkloose Could you check if there is any protection bit set on the drive you are trying to download to? Does it have bitlocker enabled?

@JasonYeMSFT Nope, no BitLocker or protection bit that I'm aware of.  It's an Azure VM with a disk attached.  The H: drive is a GPT (primary) partition, Basic, single volume, NTFS.

I did some experimentation offline and this might be due to the security settings of the drive. On Windows, if I goto Properties of the drive -> Security and remove the write permission on the root of the drive (e.g. for the user group entry that grants write permission, make it only apply to subfolders and files), the same error will show up if I attempt to download to the drive.

Closing due to lack of response. If you have more clue on what might be blocking access to the local disk, please comment below or open a new issue.


[WIP] Event factory with packages

THIS IS A WIP/PoC, it starts from #716 (and targets that PR, not the base branch).
This is to show how I would like to address https://github.com/getsentry/sentry-php/pull/716#issuecomment-443620896, so we can send more reliable info about SDK and integrations package versions. This would work out of the box in official integrations too.
I'm thinking about adding an official maps of integrations, so we could have something like:
switch($packageName) {
    case 'sentry/sentry':
        return 'sentry.php';
    case 'sentry/symfony':
        return 'sentry.php.symfony';

etc. WDYT?

Not that I don't like the purpose of this PR, but making the main SDK library aware of other packages that exists in the world (e.g. the sentry-laravel package) doesn't seems to me a great idea. I would rather expose as usual some getters and setters and then enrich the event using integrations specific for each framework. The main reason is that the other SDKs are aware of this package because they depend from it to work but the opposite is not true

The point of making it aware is to avoid modifications from end users to use non-official SDK identifiers; IIRC, @HazAT told us that it would be better to lock down that; if that isn't true, we can avoid that stuff.
Also, it would be helpful to "elect" integrations as official in the base SDK.

But as a user I could have extended the SDK to make a customized version and I may want to report this to Sentry (afaik the details of the SDK are shown in the event details). I don't see any reason why I should need a custom SDK, but it may happen so the attribute should not be locked down. Plus there is no real way to prevent the setter from being called, putting an annotation won't stop users from using it

We should ask this to @HazAT, because I don't know if that value is parsed and/or validated in any way on the server side.

We do not parse or validate this value there, so there is no need of locking it down. Also if someone wants to send something else here we can't prevent them from doing so. I am more on @ste93cry that it's probably not the best idea to have all "sub" sdks referenced in the main sdk.

Rebased on top of new commits from #716 and resolved all comments.

I've addressed all comments, apart from the @internal stuff, where I agree with @HazAT


[Bug] Inaccurate time

Some plants have inaccurate harvest timer, I don't remember which ones but when they're being monitored, the time for they to be harvestable is more than what the stated length is. I managed to take a screenshot of Lox pregnancy and it went over the supposed total time (120s) it takes for it to give birth to a calf - 150s is the current.

If you think the game doesn't work correctly that's something you should report to the Valheim developers.
My tool is for showing the data, not fixing the game bugs. 😁

Yeah, it's bit of a dilemma what to exactly show. Currently it's mostly just game data.
I think all timers are more or less bugged in the game. But in normal gameplay it's not easy to notice.


Integration Test - Release - 2021/12/22 06:55:38

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

#assign NonAllowedUser

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

#reassign PRMergerTest2

#reassign NonAllowedUser

#please-close

The following users don't have valid GitHub IDs, or are not collaborators on this repo: nonalloweduser

GitHub user PRMergerTest2 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#unassign NonAllowedUser

#unassign PRMergerTest1


Autoload global variables behaving inconsistently, properties not having types inferred

Godot version
v4.0.3.stable.mono.official [5222a99f5]
System information

OS: Windows 11
Godot Version: 4.0.3.stable.mono
Rendering Driver: Any
Rendering Method: Any

Issue description
I've noticed some strange behaviors arising from the use of static typing (along with type casting in general) with autoload global variables.
Here are my findings so far:

Creating an autoload from a .tscn file will cause the singleton node referenced by the global variable to be unconvertible to the type of the script specified after class_name, if it exists.
Creating an autoload from a .gd file, however, does allow the variable to be converted to the custom type.
Properties of custom reference types in an autoload will not be inferred with the := operator if the autoload is .tscn-based, but will if it is .gd-based.
Properties of custom reference types in an autoload class will not have their own custom properties appear in the auto-completion menu, if the autoload is accessed with its global variable. The auto-completion menu will only reflect the built-in classes they're derived from. Creating a variable of the singleton's custom type (which is only possible with .gd autoloads) and then accessing the reference property that way is the only way I can find that allows the auto-completion to accurately reflect the current type of the reference.

The best way I can work around this while maintaining type safety is by only using .gd-based autoloads, but unless I store an explicit reference to the singleton as its proper type, I won't be able to see the full classes of its custom properties.
Steps to reproduce
In the main scene's script, main.gd:
class_name Main extends Node

var number: int = 7

func _enter_tree() -> void:
    Global.main = self
    Global2.main = self

func _ready() -> void:
    # Does not autofill number property, will also fail to infer type
    var num_a := Global.main.number

    # Does not autofill number property, but will properly infer type
    var num_b := Global2.main.number

    # Autofills number property, but casting fails when using a .tscn autoload
    var global_1 := Global as _Global
    var num_c := global_1.main.number

    # Autofills number property, and casting succeeds when using a .gd autoload
    var global_2 := Global2 as _Global2
    var num_d := global_2.main.number

In the first singleton script, global.gd, loaded as a .tscn:
class_name _Global extends Node

var main: Main

In the second singleton script, global_2.gd, loaded as a .gd:
class_name _Global2 extends Node

var main: Main

The autoload configuration:

Minimal reproduction project
TypeBug.zip

Creating an autoload from a .tscn file will cause the singleton node referenced by the global variable to be unconvertible to the type of the script specified after class_name, if it exists.

What error if any is thrown? Does this match or not the behaviour when having a node with the same script attached that is not autoload

That line of code throws the Parser Error: Invalid cast. Cannot convert from "" to "_Global". error.
Creating a child node called NotGlobal, then adding the following code does not throw any errors, but it also does not autocomplete the main property that is part of the _Global class, despite the static declaration:
@onready var not_global: _Global = $NotGlobal

func _ready() -> void:
    var num_e = not_global.main.number

This matches the erroneous behavior described in #73638, where assigning the result of get_node (or its shorthand) to a statically typed variable will override the variable with the base type, instead of the one specified in the hint.

Related to #78454

I've discovered the same problem, and some additional info described in #98270. Type inference does work as expected with .tscn based autoloads from different scripts, unless those scripts are referenced in the autoloaded script itself. I guess because they are parsed before the autoloaded script has been fully parsed itself then. (Not completely sure how GDScript works internally though.)

I believe I found the root cause of this problem. This line in the analyzer evaluates to false when coming across the identifier of the global autoload name that the script currently being analyzed is attached to: https://github.com/godotengine/godot/blob/4631a617e5ab4ec5cc51dbc43609b269a43059d9/modules/gdscript/gdscript_analyzer.cpp#L4461C18-L4461C25
Any suggestion on how to fix this?

Here's the full chain of events leading to the problem in full detail:

The engine starts
In EditorAutoloadSettings::EditorAutoloadSettings(), the names of autoload singletons get registered, but with a value of null instead of instantiating the objects yet
In EditorAutoloadSettings::init_autoloads(), for each of the AutoloadInfo objects the corresponding node is instantiated (using _create_autoload). Afterwards these nodes replace the default null value of the autoload singleton names that were created in step 1.
However, during instantiation and before assigning the node to the singleton names, the scripts attached to the scene (and scripts that those depend on) are loaded.
Those scripts may contain identifiers of the global singleton name currently being instantiated (in my MRP I named it Autoload for example).
The identifier's datatype is being analyzed in GDScriptAnalyzer::reduce_identifier
It checks if the identifier refers to an autoload singleton. This check passes, the name was registered in step 2.
The corresponding node is retrieved in order to get its script and parse it (with parser->get_depended_parser_for).
Here occurs the crucial problem: The node retrieved is still the default value of null assigned in step 2. Further checks therefore fail and the only type information that can be analyzed is that the identifier refers to a node.
Type checks on member variables of the autoload therefore fail.

In summary, the analyzer depends on retrieving the node of an autoload to check the path of its script. But the node is not actually assigned to the autoload name yet because we are in the middle of instantiating it for the purpose of assigning it. A classic circular dependency.


Simplify access to the SemanticModel in analyzers

@phil-scott-78 Do you have time to look at this?

If @meziantou submitted it, then I'll probably learn something cool - so, of course! I'll carve out time tonight

If @meziantou submitted it, then I'll probably learn something cool - so, of course! I'll carve out time tonight

I don't think there is a lot to learn from this PR, but I hope you'll like the next one https://github.com/spectreconsole/spectre.console/pull/1169 😉

@phil-scott-78 Have you got time to review this PR? (and others small PRs I've opened)

absolutely. thanks for the nudge, would have missed them otherwise.

I think we got them all! Thanks @meziantou!

That was fast 🚀
Thanks!


bluetooth: controller: Set peer address and role on dir-adv timeout

The controller did not set the identity of the peer it failed to
establish a connection with using directed advertiser, and the role
was set to master when it should be slave.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #9854   +/-   ##
=======================================
  Coverage   52.27%   52.27%
=======================================
  Files         213      213
  Lines       25962    25962
  Branches     5596     5596
=======================================
  Hits        13571    13571
  Misses      10154    10154
  Partials     2237     2237

Continue to review full report at Codecov.

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

When the status is error, by BT HCI spec. it is implementation specific whether more parameters will be returned.


Add the doubly linked list.

As of now in the Repo, we don't have the doubly LinkedList, Please add that with proper explanation.

I am interested , Can I work on this ?

Assigned to you @yuvi-mittal

Thanks @yuvi-mittal, For adding the Doubly Linked List.


how to get a meter/tracer in Java agent or spring stater

What needs to be changed?
We need a landing page that explains to do manual instrumentation in Java agent or spring stater.
Use cases:

User starts looking in https://opentelemetry.io/docs/languages/java/api/
User starts looking in https://opentelemetry.io/docs/zero-code/java/

Possible solutions:

Embed docs like it was done a while ago: https://github.com/open-telemetry/opentelemetry.io/blob/2024.08/content/en/docs/languages/java/instrumentation.md#acquiring-a-meter-in-java-agent
Have pages "Record Telemetry with API" in agent and starter that explain how to get a meter, tracer, etc. - and link from https://opentelemetry.io/docs/languages/java/api/ to these new pages

@svrnm any overarching guidance?

Embed docs like it was done a while ago: 2024.08/content/en/docs/languages/java/instrumentation.md#acquiring-a-meter-in-java-agent

I think it would be good to re-introduce something like that. I would also suggest that some other pages point to it, the zero code pages for sure, but also https://opentelemetry.io/docs/languages/java/instrumentation/, I would not name it "Record Telemetry with the API" like the existing page, but more something like "Add custom telemetry" or "Combine automatic and manual telemetry" or something like that to make it clear that this is about doing both at the same time

@jack-berg wdyt?

Perhaps it may be worth highlighting how to retrieve an OpenTelemetry instance when using the Java agent or Spring starter in addition to point to additional resources.

Perhaps it may be worth highlighting how to retrieve an OpenTelemetry instance when using the Java agent or Spring starter in addition to point to additional resources.

yes, that is the content of the proposed page

Perhaps it may be worth highlighting how to retrieve an OpenTelemetry instance when using the Java agent or Spring starter in addition to point to additional resources.

That's the key bit. After a user knows how to get the autoconfigured OpenTelemetry instance, then we can refer to the existing API docs.
My inclination is to have a section in each of the Agent / Spring Boot starter with a heading something like "Extending with custom manual instrumenation". This seems like the most discoverable place for users, since it would be co-located with all the other Agent / Srping Boot starter specific content.


Documentation for pld-export seems missing

I can't find it. Where should I look to find the documentation for pld-export?

The source of the documentation for pld-export is located here: https://github.com/ottogroup/palladium/blob/master/palladium/util.py#L262
After having released a new version, you will find the description also here: https://palladium.readthedocs.io/en/latest/user/scripts.html


Altherma 3 EABX16DF6V

I have installed the Altherma 3 Medium Temp. the motherboard seems not have the X10A  connector, but  in the other hand there's 1 USB, 2 network port and port similar to a memory card slot.
How can I install my ESP32 card?
Thanks a lot in advance!
See attached image

You're not looking at the right board. This one controls the UI.
You need to open the metal plate against this one is laying.

BTW these are not network ports but RJ45 supporting CAN protocol. I'll explore this one day....

Thanks a lot. I've found the connector, buy the way the ESP32 card seems not powered on. I cannot see it connected to the network.
The cables are connected as you described, I have to check the power supplied by the first pin of the connector. Or do you have another suggestion?

Many thanks, I've found the port. Another question. I'm going to use an ESP32 card. Do you think it's mandatory to have a Raspberry/PC always connected to collect data or the card could store data and once per day/week I can download it via Platformio?
Since I don't have a Raspberry neither a server always on.

I'm considering to build a data archive/reporting web interface but not for the short term.
So right now, yes, you need at least an MQTT server that will archive the data. You could consider using an online service like Adafruit IO, azure iot, etc... This would need a bit of code adaptation though...


Implement server input validation.

Validate input types, probably implemented as a tower Layer?

I'd probably use the fallible builders to check required status and do validation there, personally.

So doing the validation as soon as we deserialize..

Closed in favor of https://github.com/awslabs/smithy-rs/issues/1401.


log_panic() hangs kernel

Describe the bug
I've been experiencing this problem for several years now using Zephyr with sam0.  Whenever I encounter a panic situation, the kernel simply hangs.  On very rare occasions, I have seen an actual panic message and a dump.  But most often, the mcu simply hangs waiting for what appears to be a semaphore.
To Reproduce
In my situation, cause a panic condition.
Expected behavior
Kernel should handle the panic and output panic message and halt.
Impact
Kernel panics lead to hang.
Logs and console output
Here is a stack trace showing the initial fault and the sequence to the hang.
z_add_timeout@0x0001b5ae (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/kernel/timeout.c:119)
z_add_thread_timeout@0x0001a90c (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/include/timeout_q.h:49)
add_thread_timeout@0x0001a90c (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/kernel/sched.c:594)
pend@0x00023d12 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/kernel/sched.c:605)
z_pend_curr@0x0001adfa (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/kernel/sched.c:679)
z_impl_k_sem_take@0x0001b0c6 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/kernel/sem.c:158)
k_sem_take@0x0000bc20 (/Users/stevenslupsky/Documents/source/zephyrproject/dock1310/build/zephyr/include/generated/syscalls/kernel.h:756)
cdc_acm_poll_out@0x0000bc20 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/usb/class/cdc_acm.c:950)
z_impl_uart_poll_out@0x0001eee0 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/include/drivers/uart.h:645)
uart_poll_out@0x0001eee0 (/Users/stevenslupsky/Documents/source/zephyrproject/dock1310/build/zephyr/include/generated/syscalls/uart.h:112)
write@0x0001eee0 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/shell/shell_uart.c:225)
shell_write@0x0001ec7a (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/shell/shell_ops.c:380)
shell_print_stream@0x0001ec9c (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/shell/shell_ops.c:399)
shell_fprintf_buffer_flush@0x0001e886 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/shell/shell_fprintf.c:56)
shell_fprintf_fmt@0x00009530 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/shell/shell_fprintf.c:49)
shell_raw_fprintf@0x0001eafc (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/shell/shell_ops.h:24)
shell_op_cursor_vert_move@0x0000994a (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/shell/shell_ops.c:13)
panic@0x0001f410 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/shell/shell_log_backend.c:281)
log_backend_panic@0x000072f0 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/include/logging/log_backend.h:178)
z_impl_log_panic@0x000072f0 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/logging/log_core.c:597)
log_panic@0x0001a0f8 (/Users/stevenslupsky/Documents/source/zephyrproject/dock1310/build/zephyr/include/generated/syscalls/log_ctrl.h:34)
k_sys_fatal_error_handler@0x0001a0f8 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/kernel/fatal.c:41)
z_fatal_error@0x0001a172 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/kernel/fatal.c:123)
z_arm_fatal_error@0x00020abe (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/arch/arm/core/aarch32/fatal.c:47)
z_arm_fault@0x00010ae4 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/arch/arm/core/aarch32/cortex_m/fault.c:977)
z_arm_hard_fault@0x00010964 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/arch/arm/core/aarch32/cortex_m/fault_s.S:85)
<signal handler called>@0xfffffff1 (Unknown Source:0)
z_check_stack_sentinel@0x0001b262 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/kernel/thread.c:369)
z_swap_irqlock@0x0001adfe (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/kernel/include/kswap.h:175)
z_swap@0x0001adfe (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/kernel/include/kswap.h:175)
z_pend_curr@0x0001adfe (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/kernel/sched.c:680)
z_impl_k_sem_take@0x0001b0c6 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/kernel/sem.c:158)
k_sem_take@0x0000bc20 (/Users/stevenslupsky/Documents/source/zephyrproject/dock1310/build/zephyr/include/generated/syscalls/kernel.h:756)
cdc_acm_poll_out@0x0000bc20 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/usb/class/cdc_acm.c:950)
z_impl_uart_poll_out@0x0001eee0 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/include/drivers/uart.h:645)
uart_poll_out@0x0001eee0 (/Users/stevenslupsky/Documents/source/zephyrproject/dock1310/build/zephyr/include/generated/syscalls/uart.h:112)
write@0x0001eee0 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/shell/shell_uart.c:225)
shell_write@0x0001ec7a (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/shell/shell_ops.c:380)
shell_print_stream@0x0001ec9c (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/shell/shell_ops.c:399)
shell_fprintf_buffer_flush@0x0001e886 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/shell/shell_fprintf.c:56)
shell_fprintf_fmt@0x00009530 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/shell/shell_fprintf.c:49)
shell_raw_fprintf@0x0001eafc (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/shell/shell_ops.h:24)
shell_op_cursor_vert_move@0x0000994a (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/shell/shell_ops.c:13)
panic@0x0001f410 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/shell/shell_log_backend.c:281)
log_backend_panic@0x000072f0 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/include/logging/log_backend.h:178)
z_impl_log_panic@0x000072f0 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/subsys/logging/log_core.c:597)
log_panic@0x0001a0f8 (/Users/stevenslupsky/Documents/source/zephyrproject/dock1310/build/zephyr/include/generated/syscalls/log_ctrl.h:34)
k_sys_fatal_error_handler@0x0001a0f8 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/kernel/fatal.c:41)
z_fatal_error@0x0001a172 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/kernel/fatal.c:123)
z_arm_fatal_error@0x00020abe (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/arch/arm/core/aarch32/fatal.c:47)
z_do_kernel_oops@0x00020aca (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/arch/arm/core/aarch32/fatal.c:86)
_oops@0x000106b6 (/Users/stevenslupsky/Documents/source/zephyrproject/zephyr/arch/arm/core/aarch32/swap_helper.S:465)
<signal handler called>@0xfffffffd (Unknown Source:0)
??@0xaaaaaaaa (Unknown Source:0)

Environment (please complete the following information):
v2.3.99
The "reason" in the k_sys_fatal_error_handler() after the oops is "2".  I cannot seem to find anywhere where the "reasons" are documented as to what they mean.
This may be related to issues #34372 and #31761.  Both of those issues appear to have been closed without actually resolving the underlying issue(s).
@carlescufi I think the GitHub "auto close" needs to be turned off on this repo.  There are far too many issues being closed that should not be.

Part way through the stack trace there appears to be an exception generated by the stack sentinel.  This appears to imply that the stack of the outgoing thread experienced an overrun. I believe the current thread is the kernel thread since an exception (oops) is being processed ... is that correct?
Further on, the shell appears to be emitting some output through the usb_cdc.  Interestingly, in this particular instance, the usb cdc initialization is not complete.  In fact, usb has not even been enabled yet.  Here is main where the first exception occurs:
	/* start logging to files */
	log.begin(&soc_storage_mnt, &spi_storage_mnt, &dock1310.device.boot, K_SECONDS(WITAP_LOG_SYNC_TIMEOUT));

	k_work_init(&usb_fsm_work, usb_fsm_handler);
	k_delayed_work_init(&usb_disconnect_work, usb_disconnect_handler);
	ret = usb_enable(usb_status_cb);

log.being() causes the error (some problem with littlefs causes the oops).  The usb interface is enabled after this point.

I suspect because the usb is not enabled that the usb_cdc data structures are not yet properly initialized.  So, the shell panic() it is likely using the usb_cdc when it should not be.
Likely, the shell panic() function should check that the cdc is properly initialized before attempting to use it?

It appears shell panic() is attempting to enable the interface here:
	err = shell->iface->api->enable(shell->iface, true);

I do not understand how it is possible to reliably enable the interface (usb cdc) here since the underlying interface (usb) has not been enabled yet. I expected that enable() here should have returned an error because usb is not enabled but instead it returns zero and panic() continues which leads to the hang.

The interface being used by the shell is:
 0x200009b0 <shell_transport_uart>

Which I believe is connected to the usb_cdc in shell_uart.c write() here:
uart_poll_out(sh_uart->ctrl_blk->dev, data8[i]);

In this case, sh_uart->ctrl_blk->dev is
0x20000f24 <__device_cdc_acm_0>

As mentioned in https://github.com/zephyrproject-rtos/zephyr/issues/34372#issuecomment-825635189, I also see occational Crashes.
Recently I similair to @sslupsky saw it happen around a log_panic() call.
I have a battery driven device and when the battery is empty, I simply switch it off. In such case BLE communication might still be in progress while we call following function:
void powerOff(void) {
    /* Cut Power off, try infinitely in case it fails */
    log_panic(); // Disable log buffer, all messages get flushed immediately
    LOG_INF("\n\n*** POWER OFF ***");
    while (1) {
       // <= Here we use I2C to disconnect the power chip, expecting to lose power to the MCU.
       //    How ever sporadically it never reaches this I2C call and instead runs into a Watchdog reset.
        k_msleep(100);
        printk("Still powered, trying again...\n");
    }
}

One of the reasons for that crash is that usb is used as uart driver. Docs (https://docs.zephyrproject.org/latest/reference/logging/index.html#logging-backends) states that
Additionally, backend is notfied when logging enter panic mode with log_backend_panic(). On that call backend should switch to synchronous, interrupt-less operation or shut down itself if that is not supported.

cdc_acm based uart probably does not support interrupt-less initialization and should be shut down in that case.

That might work if I can continue to use RTT?
How do I shut down cdc acm?  It should not be enabled since USB is not yet enabled?

@nordic-krch Is there something we can do about this?  It looks like something gets messed up in z_add_timeout()?  When it hangs, the cpu appears to be infinitely looping in here.
		for (t = first(); t != NULL; t = next(t)) {
			__ASSERT(t->dticks >= 0, "");

			if (t->dticks > to->dticks) {
				t->dticks -= to->dticks;
				sys_dlist_insert(&t->node, &to->node);
				break;
			}
			to->dticks -= t->dticks;
		}

@nordic-krch what's the latest here?

@carlescufi Has this issue been resolved?

@carlescufi Has this issue been resolved?

No, it has not actually. Let me reopen it.

@jfischer-no could you comment on @nordic-krch's questions?

@sslupsky  USB CDC ACM poll_out function has been reworked to be callable from interrupt #37503. That should impact it (potentially fix it). Do you still see the issue?

@nordic-krch I haven't looked at this in a while.  I will have a look.

@nordic-krch I haven't looked at this in a while. I will have a look.

@sslupsky ping

This should be fixed by https://github.com/zephyrproject-rtos/zephyr/pull/37503.

It still happening for me.
I'm using nrf52840 and nrf sdk 2.1.2 with zephry 3.1.99


Add an API to control the blocking behavior of the allocator at a finer grain

The current timeout argument of heap_allocate* functions determines whether or not and how long the allocator should block for an allocation to be fulfiled. However it does not control on what events the allocator should block.
Currently the allocator would block for three reasons: 1) there is no heap space available anymore, 2) the quota is exhausted, and 3) the quarantine is holding back memory which could be used for the allocation.
For malloc and calloc, we only want to wait on the quarantine. Thus, we need a finer way to control this blocking behavior.
This PR implements an API to do this, and uses it for malloc and calloc.
While we are at it, it does a little bit of cleanup in futex which has similar code with flags, but got it wrong.

I have updated the PR to address your comment and fix a few additional things.


feat: adds support vector classifier

In this PR I continue to work on #9. Here I add Support Vector Classifier (SVC) implementation that closely follows algorithm described here.
SVC implementation lacks proper documentation but I plan to add it in a separate PR

Do we have time to consider basic refactoring? I mean I would prefer to avoid longer procedures and maybe factorise sub-procedures. For example fn smo is ~120 lines (imo main procedures should be max ~40 lines), the three "ifs" could be made in sub-procedures?
For example
        if idx_1.is_none() && idx_2.is_none() {
            ..
        }

        if idx_2.is_none() {
            ...
        }

        if idx_1.is_none() {
            ....
        }

can be factorised into something like fn indexes_first_pass(idx_1: Option<usize>, ... ). Each "if" itself could be factorised into a function:
        if idx_2.is_none() {
            first_pass_idx_2_is_none(...);
        }

// this can go at the bottom of the module or in a svm::svc::utils
fn  first_pass_idx_2_is_none(...) {
            let idx_1 = &self.sv[idx_1.unwrap()];
            let km = idx_1.k;
            let gm = idx_1.grad;
            let mut best = T::zero();
            for i in 0..self.sv.len() {
                let v = &self.sv[i];
                let z = v.grad - gm;
                let k = cache.get(idx_1, &v);
                let mut curv = km + v.k - T::two() * k;
                if curv <= T::zero() {
                    curv = self.tau;
                }
                let mu = z / curv;
                if (mu > T::zero() && v.alpha < v.cmax) || (mu < T::zero() && v.alpha > v.cmin) {
                    let gain = z * mu;
                    if gain > best {
                        best = gain;
                        idx_2 = Some(i);
                        k_v_12 = Some(k);
                    }
                }
            }
}

Do we have time to consider basic refactoring? I mean I would prefer to avoid longer procedures and maybe factorise sub-procedures. For example fn smo is ~120 lines (imo main procedures should be max ~40 lines), the three "ifs" could be made in sub-procedures?
For example
        if idx_1.is_none() && idx_2.is_none() {
            ..
        }

        if idx_2.is_none() {
            ...
        }

        if idx_1.is_none() {
            ....
        }

can be factorised into something like fn indexes_first_pass(idx_1: Option<usize>, ... ). Each "if" itself could be factorised into a function:
        if idx_2.is_none() {
            first_pass_idx_2_is_none(...);
        }

// this can go at the bottom of the module or in a svm::svc::utils
fn  first_pass_idx_2_is_none(...) {
            let idx_1 = &self.sv[idx_1.unwrap()];
            let km = idx_1.k;
            let gm = idx_1.grad;
            let mut best = T::zero();
            for i in 0..self.sv.len() {
                let v = &self.sv[i];
                let z = v.grad - gm;
                let k = cache.get(idx_1, &v);
                let mut curv = km + v.k - T::two() * k;
                if curv <= T::zero() {
                    curv = self.tau;
                }
                let mu = z / curv;
                if (mu > T::zero() && v.alpha < v.cmax) || (mu < T::zero() && v.alpha > v.cmin) {
                    let gain = z * mu;
                    if gain > best {
                        best = gain;
                        idx_2 = Some(i);
                        k_v_12 = Some(k);
                    }
                }
            }
}

Refactored the code a bit using recursive calls + match. Thanks for pushing me a bit further to better code!
We do have time for refactoring :) Next release is due by the end of this year. Hence we've got 2 month left. I plan to finish SVM/SVC by the end of October. In November I plan to finish Ridge, Lasso, ElasticNet for Logistic and Linear regression. If you complete Hierarchical Clustering we'll have only k-fold cross-validation, SVD and predict_proba method for december (+ documentation and user's guide update) left for December.


Importing anchor in a ViteJS(React) project, crashes completely

Hello,
Using ViteJS and doing anything with the anchor ends up in the entire instance crashing and not running.
The error is the following: global is undefined
System:
Windows 10 latest update (21H1 as of writing this for me)
WSL2 Ubuntu fresh install, with only the required tools to run Anchor and React.
Steps to replicate:
(Using WSL2)

Create a React project using ViteJS CLI (Vanilla or Typescript)
Import anything from anchor or anything individual, example {web3}
Try to do anything with it, in this case let's console.log(web3).
ViteJS stops running completely and throws a global is not defined error.

Things tried:

Switch between npm, pnpm and yarn it fails with all.
Vanilla and Typescript, it fails with both.
Remade the project fresh multiple times, cleared npm cache, deleted modules.
Downgraded anchor twice, still failed.

What worked

Switching to CRA (Create React App) throws no error, I've only tried Vanilla right now but will use Typescript soon.
Update: CRA + Typescript works fine too.

This is https://github.com/near/borsh-js/issues/38

I opened https://github.com/near/borsh-js/pull/40 to fix this. Note that you will still need a Buffer polyfill to use Borsh/Anchor in the browser, even after that is merged.

While building the project with vite, I got the same error about a month ago. When you solve the global error, you might get Buffer is not defined  error.
Here's what I did step-wise and it worked well:

npm install buffer

Create a file named shims.ts, and add this there:

import { Buffer } from 'buffer';
// @ts-ignore
window.Buffer = Buffer;

Then add this into the script tags of your index.html:

<script>
    window.global = window;
 </script>
<script type="module" src="/src/shims.ts"></script>

This should solve the global is not defined, but since the buffer is a nodejs module, for bringing it to the browser, you might have to inject it during the build by customizing the vite.config.ts.
Here's how my vite.config.ts looks like:
import { defineConfig } from 'vite';
import viteTsconfigPaths from 'vite-tsconfig-paths';
import react from '@vitejs/plugin-react';
import inject from '@rollup/plugin-inject';
import path from 'path';

export default defineConfig({
    plugins: [viteTsconfigPaths(), react()],
    resolve: {
        alias: {
            '@': path.resolve(__dirname, 'src'),
        },
    },
    build: {
        rollupOptions: {
            plugins: [inject({ Buffer: ['buffer', 'Buffer'] })],
        },
    },
});

Hopefully, this should solve the error.

global is undefined fix is released in borsh-js v0.7.0: https://github.com/near/borsh-js/issues/38#issuecomment-984606085

Hopefully this is all sorted now?


Add MinGW CI

Adds a CI job which builds libobjc2 in the the msys2/ucrt64 and the msys2/mingw64 environments.  I had to disable a couple of tests for CI to pass; we can re-enable most of them after/when #260 is merged.

Hopefully more of the tests are passing now?

Yes, all tests but UnexpectedException pass on MinGW, but we'd need a way for CI to pick up the latest version of clang and/or allow the exception tests to fail until we've got clang 18 in MinGW.

The clang changes to support compiling Objective-C code on MinGW have been backported onto the version of clang which ships with MinGW (see https://github.com/msys2/MINGW-packages/pull/19767).  This means CI now works on MinGW, including the exception handling tests.
@davidchisnall Let me know if this is OK with you.


Lost Post Data when set Content-Type is application/x-www-form-urlencoded

Lost Post Data when set Content-Type is application/x-www-form-urlencoded.
When CAS is not used, everything is normal, but once the CAS is configured, only POST requests are sent and a ContentType of application/x-www-form-urlencoded is set, and POST data is lost.
this.formHeaders = new HttpHeaders({
    "Content-Type": "application/x-www-form-urlencoded",
});

   sendModelByForm<T>(controller: string, formValue: any, params?: HttpParams): Observable<HttpResponse<T>> {
      return this.http.post<T>(controller, formValue, {
         headers: this.formHeaders,
         observe: "response",
         params: params }
      ).pipe(
         catchError((error) => this.handleError<HttpResponse<T>>(error))
      );
   }

I have typed the LOG in the filter of CAS, which is lost at this time.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: mmoayyed:x: renovate[bot]You have signed the CLA already but the status is still pending? Let us recheck it.


vimPlugins.agitator-nvim: init at 2024-03-17

Description of changes
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Hi @lunik1,
Would you mind rebasing (or more accurately recreating) this PR when you have a moment?


Unifying side and status order infos for bittrex and liqui

@kroitor , I believe these are now according to what we were thinking for polo

Thanks! I am merging this of course! )

There are some typos, like 'cancelled' instead of 'canceled' and 'satus' instead of 'status', but I am fixing it, don't worry about it, I will upload it in a matter of several minutes.

@cleivson , check it out, this is how I would do it. We definitely also need an order id, a timestamp and a symbol inside each order structure. I decoupled your implementation into corresponding parseOrder methods. Thx!

Also, renamed: rate → price, startingAmount → amount

Available in 1.3.118, thx again for your involvement!

Sorry for the typos. I was about to put symbol inside of order, specially because it's needed for calling getOpenOrders on poloniex.

Don't worry about the typos too much, I'm also making them occasionally.

@cleivson check out list of our pending tasks: Pending Tasks, this is where your help would also be appreciated a lot ) We're working on them, but if you can contribute to that as well, that would be awesome!

Ok! I'm almost getting my app up and running. I may take a look on this list today )


Create new project for Riverside collection

From Casey:
We decided at our meeting with Riverside today that it would be best to create a separate FIX IT+ instance for the Riverside project, since we don't want the cataloging and ORR review to hold up transcript correction by the many congregant volunteers.
Can you add this to the developer backlog and prioritize it among other AAPB-related tickets?
Attached is the Riverside logo.
The header can say, "Preserving the Historic Broadcasts of WRVR-FM Public Radio."
The homepage text can say:
Help the The Riverside Church in the City of New York and the American Archive of Public Broadcasting fix computer-generated transcripts from thousands of historic and culturally significant WRVR-FM public radio programs from 1961-1971.
The About page can say:
The Council on Library and Information Resources has awarded a grant of $330,000 to digitize, preserve, and make publicly accessible previously unavailable archives of the Peabody Award winning radio station WRVR. "Public Radio as a Tool for Cultural Engagement in New York in the 60s and early 70s: Digitizing the Broadcasts of WRVR-FM Public Radio" is a joint project between The Riverside Church in the City of New York and the American Archive of Public Broadcasting, a collaboration between the Library of Congress and the WGBH Educational Foundation. The collection includes culturally significant non-commercial programming, including interviews, speeches, and musical interpretations on matters such as civil rights, war, and fine arts, from laypersons to famed scholars, including Martin Luther King, Jr., Malcolm X, and Pete Seeger.
Preservation of these materials will enhance study in many disciplines, including theology/religion, political science, and communications, especially related to American Christianity, homiletics, progressive responses to the Civil Rights movement, contemporary issues of race and sexuality, the cultural impact of the 1960s, and public radio as a tool for cultural engagement and social media precursor.
These recordings will be made publicly available at the American Archive of Public Broadcasting (AAPB), a collaboration between the Library of Congress and WGBH. The AAPB coordinates a national effort to preserve at-risk public media before its content is lost to posterity and provide a central web portal for access to the unique programming that public stations have aired over the past 70 years.
I am waiting on the gmail addresses of the admins.

Initial set up completed and release July 2019.


Send screen - snackbar for UNDO send tx

https://zpl.io/VQvL70P

progress bar doesn't decrease when the timer expires in snackbar.

checked


Fix the parameter passing at as_retriever

qa = ConversationalRetrievalChain.from_llm(
    ChatOpenAI(
        openai_api_key=config.settings.BaseConfig.OPENAI_API_KEY,
        temperature=0.7,
        max_tokens=1024,
    ),
    documents_vector_store.as_retriever(
        filter={"user_id": user_id, "doc_id": doc_id}
    ),
    verbose=True,
    max_tokens_limit=1024,
)

can't pass arguments (filter={"user_id": user_id, "doc_id": doc_id}) from documents_vector_store.as_retriever to the function self._collection.query
https://github.com/lyntcelec/langchain/blob/db45970a66f39a32f2cdd83e7bde26a404efad7b/langchain/vectorstores/chroma.py#LL121C21-L121C21
It is not passed because the assignment is not reasonable

Who can review?
Community members can review the PR once tests pass. Tag maintainers/contributors who might be interested:

this should work
.as_retriever(search_kwargs={"filter": {"user_id": ...}})

if we pipe all as_retriever kwargs to search_kwargs then you won't be able to set other parameters of VectorStoreRetriever

thanks @dev2049, I understand


Fully organise popup component

Describe the task that needs to be done.
Ensure all components of the popup are present and functional
Describe how a solution to your proposed task might look like (and any alternatives considered).
Buttons are able to be clicked/dismiss screen, paired user is visible etc.
Notes

Finished through shared work w CZ


[4] Switch config info to LPAPIConfig

LeanplumRequest saves a lot of info in static vars. Switch all the config info to a diff object

Can one of the admins verify this patch?


RuntimeError when result is shorter than specified limit

When using a query that has a LIMIT clause where the result would be shorter than the specified LIMIT, a RuntimeError is thrown.
There are two slightly different cases:

when result set is empty the error is: RuntimeError: Postgres EOF
when result set is non-empty, but strictly shorter, the error is: RuntimeError: connection closed

How to reproduce:
use the following queries with a connection to a postgresql database

"select pid from pg_stat_activity where pid = -1 limit 2"
"select pid from pg_stat_activity where pid = (select pid from pg_stat_activity order by backend_start desc limit 1) limit 5"

We were expecting to get a result of length min( len(<query without limit specified>), len(<query with limit specifiec>)) instead of an exception.
We can get around this currently by first doing a count query and only setting the limit to be max that result, however it would be nice of course if this could be handled on the connectorx side, since in postgresql this kind of query does not produce an error.
Our setting:
connectorx version = 0.2.0
postgresql version = 13.4
Thanks in advance!

Hi @archletdaan , thanks for reporting this issue with detailed info!
We are now directly allocating the returned pandas dataframe using limit as the number of rows, which would have the problem that you mentioned when limit value is smaller than real count. We will fix this issue in our next release (Nov 23rd). I can also make an alpha release if you need it earlier.

Hello @wangxiaoying , thanks for the quick reply and that is awesome news!
Thanks for offering an extra alpha release, for us that is not needed though, we can just wait a few days for the next official release.


[FEATURE] Support theme (temporary work before building theme plugin)

[DESC.]

Using theme.apply(), image resources can be loaded by its sub path on theme set directories.
For instance, it was applied at two places on source codes(Help > About dialog, preference toolbar icon).

@changgyun-woo You can use this theme util after this codes will be merged.

@kyungmi  I want to get the value for the theme to the index page.
It shows the value you have set in the index will be the theme management easier.
ex) less.modifyVars ({"@theme": "webida-light"}, true);
Using Less in the Browser

The less I use in the bower?

@changgyun-woo We reached a conclusion that using pre-build on less files on deploy or dev phase is better than dynamic compile on loading time.
So, I'll write Gruntfile.js for this pre-build. Then you can use it on development also with grunt command.

Suggestion for using ClassName
@changgyun-woo
@kyungmi
In addition, I think the codes (in the plugin.json) like following
"toolbar": {
    "icons" : "./styles/theme/<%=theme%>/images/icons/toolbar_save.png",
    "tooltip" : "Save",
    "enabledOn" : "editor/dirty/current",
    "disabledOn" : "editor/clean/current"
}

should be changed like this stepwise.
"toolbar": {
    "class" : "toolbar_save",
    "tooltip" : "Save",
    "enabledOn" : "editor/dirty/current",
    "disabledOn" : "editor/clean/current"
}

If the higher className changed, the nested style will be automatically applied.
body.light .toolbar_save {
   background-image : url (~light button path~);
}

body.dark .toolbar_save {
   background-image : url (~dark button path~);
}

In short, I think we have to find a way to use 'className' rather than using 'whole path of resource'.

And override the css to the above method in the current WSDK.
Whether the topic is important to set the image in the json file?
Even if the above method I have it good.
I configure all the icons in a single image is thought to control the position.

@hwshim As I know, the configuration of toolbar has also the property named "iconClass" that can be replaced with current "icons" property. So, the way you suggesting can be easily applied to our system with no need to edit toolbar.js's source.


Functions worker load balancing failed

Describe the bug
Functions_worker load balancing failed.
Pulsar 2.5.2
To Reproduce
Steps to reproduce the behavior:
My cluster has 3 brokers, 3 bookies and 3 functions workers

Start 3 bookies, 3 brokers and 1 functions worker.

Create function. Set the parallelism number to 2, so that the 2 parallelism will run on the functions worker that has been started.

I start another functions_worker. In theory, the 2 parallelism should be shared equally among the 2 functions_workers. The test results show that there is no parallelism. The 2 parallelism are only on the first function worker that was started originally. Even if the update function operation is executed, the load will not be reloaded, except for delete and then create.

If I start 2 functions_workers and set the parallelism number to 2, create Function will load 2 parallelism functions on 2 functions_workers. At this time, 1 functions_worker will be killed, and the function on the functions_worker that has been killed will be loaded on another surviving function worker in 1 minute. However, after I restart the functions_worker that has been killed, the 2 parallelism will not be loaded on this functions_worker.

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]

Additional context
Add any other context about the problem here.

Closed as stale. Please create a new issue if it's still relevant to the maintained versions.


Fix master branch build error.

Why are these changes needed?

Related issue number

Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] This PR is not tested :(

@Basasuya @Jeffwan

related issue https://github.com/ray-project/kuberay/issues/436


named chunk via query string using interpolateName

I see the readme
require("bundle?lazy&name=my-chunk!./file.js");

points to the interpolateName of loader-utils.
Is there a way to use interpolation for the named chunk by declaring the pattern in the query string (or adding a function to the config)?
@see also StackOverflow related question

This query string will grab the name under the last routes directory:
loaders: [ 'bundle?lazy&name=[1]&regExp=routes\/(.*)\/components\/.*$', 'babel' ]


Module - SIEM - Dev siem aws cloudtrail datasource

This change to the SIEM module is in order to automate the deployment and configuration for Cloudtrail log monitoring in a SIEM platform, such as Securonix or Elastic.
This module has a new boolean trigger 'enable_siem_cloudtrail_logs' which when set to 'true' will create the following resources:

KMS Key
SQS Queue
S3 Bucket
Cloudtrail trail
IAM Group
IAM Policy
IAM User

This can be seen working successfully within the following runs:
https://app.terraform.io/app/thinkstack-co/workspaces/ventura_prod_snypr/runs/run-ibGsxFkmmwTtAhfv
https://app.terraform.io/app/thinkstack-co/workspaces/ventura_prod_snypr/runs/run-a5mBkipdsTkdH96G

This really was a big one!
Looks good, but you are 2 commits behind master. Pull master and merge into your branch to catch it up and I will approve.

Completed! Guess I didn't fetch on merge or something.


Token highlight issue in Google Chrome

Current behaviour
Highlight in Google Chrome (v.108.0.5359.124) when you're searching something (cmd + f)  appears above the token.
Expected behaviour
The token is visible
Code sample
codesandbox example
Screenshots (if applicable)
https://user-images.githubusercontent.com/7431217/208252677-d69efc40-6d0b-4f16-8bb5-98d5b85dd06f.mov
What have you tried
Maybe #95 affected that? Cause switching the nodes back fixes the problem.

If you want hot fix add to textarea
.codeEditor textarea {
  -webkit-text-fill-color: inherit !important;
}

 <Editor className='codeEditor'

Adding keywords for visibility: find, ctrl + f, select, cover, hidden

I am also having this error and cannot find a solution. Can someone explain how to resolve the problem?

That's a weird one. Changed textarea color from inherit to red and It worked. You can actually change to any color except black


Need an entity to map with "Group of CI" concept in ITOP

A CI (Configuration Item) in ITOP is currently mapped with respective MARS Node in GraphIT.
However ITOP allows to create CI groups with following set of attributes -
Name
Status
Parent Group (edge with other Group).
Organization (edge)
Associated CI (edges with MARS Nodes)
Description
Type
We need an GraphIT entity for this.
Thanks and Regards,
-Satish

Please clarify what kind of edge with organization is needed/what's its purpose

isRelatedTo.
If there is a specific edge type that gets inherited then please let us know.
Thanks,
-Satish

#169 could be used for the grouping, as the entity allows free attributes you could just create all the needed attributes as free.
In this context, please analyse the needed edges and get back to me with a list of what you think could be added to help you to model this.

Satish,
Please provide input if anything additional could be needed
Note that #169 is already implemented

Hi Satish,
please check previous comment

Hi Satish, we reverted the creation of the too general entity for grouping because it doesn't make sense in a semantical ontology.
It seems that you are trying to model one to one the relational DB model of CI's into OGIT ontology, which does not have such a direct translation.
I suggest storing additional information as free attribute on the corresponding MARS nodes. There is already a direct way of coming to Organization from a MARSNode.

Hi Catarina,
The Group Of CI concept is similar to Service Families.
A new Group / Family can be explicitly created / deleted from iTOP UI.
MarsNodes do not allow free attributes.
Please suggest how to store these two separate groups (Service Family and Group of CI) along with support to CRUD operation on them.
Thanks and Regards,
-Satish
From: conofre<EMAIL_ADDRESS>Sent: Wednesday, May 06, 2015 3:51 PM
To: arago/OGIT
Cc: Satish Khodke
Subject: Re: [OGIT] Need an entity to map with "Group of CI" concept in ITOP (#163)
Hi Satish, we reverted the creation of the too general entity for grouping because it doesn't make sense in a semantical ontology.
It seems that you are trying to model one to one the relational DB model of CI's into OGIT ontology, which does not have such a direct translation.
I suggest storing additional information as free attribute on the corresponding MARS nodes. There is already a direct way of coming to Organization from a MARSNode.
—
Reply to this email directly or view it on GitHub https://github.com/arago/OGIT/issues/163#issuecomment-99408386 .  https://github.com/notifications/beacon/AFZE9g0th216J7dGpu-4S3Ceq2oVgrPTks5oGeJzgaJpZM4EFHzI.gif

Hi Satish,
For for CRUD support there is a separate issue on github, all feedback on it should be there.
The modeling of the existing relational DB of iTOP will not have a direct translation for most of the cases.
MARSNode's are now allowed to have free attributes in the ontology. An alternative way of having it would be using the extensions within the xml representation of the node.
In terms of representing a service family, could you please specify this need in a more detailed way so that we understand the best way of representing it semantically speaking?

Can we have a belongs to relationship between ITService and ITService
catalog ?  That might help solve this issue.
On May 6, 2015 6:28 PM, "conofre"<EMAIL_ADDRESS>wrote:

Hi Satish,
For for CRUD support there is a separate issue on github, all feedback on
it should be there.
The modeling of the existing relational DB of iTOP will not have a direct
translation for most of the cases.
MARSNode's are now allowed to have free attributes in the ontology. An
alternative way of having it would be using the extensions within the xml
representation of the node.
In terms of representing a service family, could you please specify this
need in a more detailed way so that we understand the best way of
representing it semantically speaking?
—
Reply to this email directly or view it on GitHub
https://github.com/arago/OGIT/issues/163#issuecomment-99445935.

Hi Catarina,
I could only find the following documentation around service family in ITOP.
https://wiki.openitop.org/doku.php?id=datamodel:itop-service-mgmt#service_family
Thanks,
-Satish

Hi Satish,
A service family name could be defined as free attribute in the ogit/ITService/Service if you need to store it.
No additional entities are actually needed from what I see on the itop documentation page (where unfortunately the service families are not clearly defined).

That would have helped if this was just an attribute for a Service.
If not separate entity, I was thinking about using the Service Catalog entity for this purpose.
There is a separate UI in ITOP, just to create/update/delete a service family, before you create any service. Where should I store it? It is supposed to be a separate entity because many services can be added to a service family.
Please take a look at the ITOP Images below.  I am not sure if the images get attached to github issue so copying on email as well.
From: conofre<EMAIL_ADDRESS>Sent: Thursday, May 07, 2015 4:14 PM
To: arago/OGIT
Cc: Satish Khodke
Subject: Re: [OGIT] Need an entity to map with "Group of CI" concept in ITOP (#163)
Hi Satish,
A service family name could be defined as free attribute in the ogit/ITService/Service if you need to store it.
No additional entities are actually needed from what I see on the itop documentation page (where unfortunately the service families are not clearly defined).
—
Reply to this email directly or view it on GitHub https://github.com/arago/OGIT/issues/163#issuecomment-99810678 .  https://github.com/notifications/beacon/AFZE9tQNeyZ4Ay3W_kceBfYJIFiq0KLPks5oGzmNgaJpZM4EFHzI.gif


Remove chalk from common repos

The chalk test is broken. Remove it from the list of packages to be tested.

I think we should xfail it rather tahn removing it.

I made this change in #249

Agreed, thanks for the PR!


fix #11171 by adding SignalR Diagnostics doc

Adds a SignalR Diagnostics document, to replace the Diagnostics Guide wiki page.
Internal Review Link

Should be ready for review. The image links may be broken in the review version, that should be fixed by the pending publishing build.

To set some context: I'd expect most users to land on this page because we posted a link to it in a comment on a GitHub thread. That's how the previous wiki page worked. That's why there are some notes about posting these logs/traces on GitHub. However, I also tried to make sure it was valuable to the average user browsing the docs so I moved the GitHub-specific stuff towards the end.
Some of this overlaps very mildly with the configuration doc. I'll add some xrefs to those sections as well.


Sass style support

Hi :)
I've found a problem in production with rake assets:precompile using the sass syntax. This can be reproduced locally with https://github.com/delphaber/camaleon-test-sass and rake assets:precompile
$ rake assets:precompile
rake aborted!
Sass::SyntaxError: Undefined variable: "$red".
/Users/faber/Repos/blog/app/apps/themes/puppa/assets/css/_base.css.sass:2
-e:1:in `<main>'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)

Sprockets tries to compile _base.css.sass but can't find the variable defined in _colors.css.sass.
I think this happens because /config/initializers/assets.rb tells sprockets to compile any .css (so, .sass too) separately. Sprocket should compile only main.css.sass which imports the other two files.
I tried to remove any .css related rule in /config/initializers/assets.rb and I was able to rake assets:precompile successfully.
Any clue? :)

This happens in vanilla Rails apps as well.
You need to add an @import 'colors' to your _base.css.sass file. Alternatively, you should look at a different way of structuring your sass files (I would recommend switching to scss as well).

I am working in a way to skip partial assets by adding a prefix (_), sample:
_colors.css.sass
It is still in testing...
Regards!

@owen2345 Yeah. That's probably a good idea as well because they might get compiled multiple times

partial stylesheets must be prefixed with _
done!

Thx

I'm still having issues.
Sass::SyntaxError: Undefined variable: "$alert-padding".
~/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bootstrap-sass-<IP_ADDRESS>/assets/stylesheets/bootstrap/_alerts.scss:10

asset_theme_path doesn't work in sass files for me either.

asset_theme_path that not exist.
Right now I have committed the support for sass and scss files:
added asset functions for themes and plugins:
# return them path (this prefix automatically the path with current theme location)
# Sample: .container{ background: #ffffff url(asset_theme_path('img/patterns/pattern1.jpg')); }
asset_theme_path(...) asset_plugin_path(...)

 # return them path (this prefix automatically the path with current theme location)
# Sample: .container{ background: #ffffff asset-theme-url('img/patterns/pattern1.jpg'); }
asset_theme_url(...) asset_plugin_url(...)

Please let me know if the partial sass files is working or send me and an example.

I tried using asset-theme-url and url(asset_theme_path(...)) inside of sass.
Is that wrong? What's the actual syntax?

Ok, let me see if I still have the other app. Standby

I am sorry, I forget to add the custom to the github.
Please try again.

Awesome, the helpers work now

great!

Trying a precompile again

Same issue when precompiling

let me see..

I'm trying a precompile on a rails app with just camaleon installed. Pretty sure it will do the same thing. I'll then push that repo up to GitHub.

I have precompiled without problems. Please check attach file.

Ohhh it's an issue with the precompile settings and bootstrap-sass

Created an application to demonstrate it.
https://github.com/cmckni3/camaleon-sass-bug

Any ideas @owen2345?

fixed, please try again. there was an error for file name validation

Fixed :+1:


Service not able to find other service after update

Sometimes I'm getting this weird behavior. It doesn't happen all the time, so it's very difficult to reproduce and solve. So, I'd like to know if anyone has clues on it.
Scenario:
Service A is running.
Service B is running.
Service B uses service A.
Steps:
Service B is updated.
Service A is running.
Service B doesn't find Service A anymore (No matching action pattern found for ......)
I restart service A and B
Everything works again
seneca-mesh version: 0.8 (Also tested with prior versions)
Any help would be appreciated.
Thanks

@otaviosoares  Can you write a test and create a PR ?

@StarpTech I'd love to. The problem is I can't reproduce it locally. It just happens randomly in my production env. I'm not sure if it's a bug or I'm doing something wrong.

@otaviosoares This scenario is hard to debug. Can you post you configs and explain the services more precise?

Sure. Here's a piece of my configs: https://gist.github.com/otaviosoares/36266af6a34f821eef843a203749fe84
As you can see, it's not a big deal. However, there are some things that worth the mention.
It r

Sure. Here's a piece of my configs: https://gist.github.com/otaviosoares/36266af6a34f821eef843a203749fe84
As you can see, it's not a big deal. However, there are some things that worth the mention.

It's running in a Kubernetes Cluster.
The Base IP is automatically injected in an env variable - https://gist.github.com/otaviosoares/36266af6a34f821eef843a203749fe84#file-1_auth-js-L6
The Service Host Ip is also automatically injected - https://gist.github.com/otaviosoares/36266af6a34f821eef843a203749fe84#file-1_auth-js-L5
When the error occurs, I connect to the base container and manually run the role:mesh,get:members. It returns fewer entries than running services, it's like it's losing the reference to the services
If I restart the service it shows on the base get:members.

Please, let me know if it's not detailed enough.
Thanks

Just to give this issue a closure.
I was able to find what was causing the error.
My base service had no reference to other bases. So, if I restarted one of my bases for any reason, it had no references to other services. It started a cascade effect, any service using this base to join the network would have no references as well.
Solution: Started using consul to registry bases instead of defining it myself.
Thank you


Implement enable/disable for systemd

Also includes a bit of non-invasive cleanup.

The logs were intentional since it seemed inconsistent to log for some execs but not other very similar ones.

Pls, merge this.


Admin activation (multi language)

I have a admin activation, but email activation needs to send with a selected language. How can I choose into two email templates. How can I extend the plugin in backend ?

@mjauvin?

I activate frontend users manually but I have two frontend languages (EN/FR).
When user create an account, mail confirmation is sending in French, if user chose FR and English if user chose EN. But, when I active a user on backend the email is in EN (default language).
I need to save selected language to send the good email template for notifications.
I have Mail Templates Translations plugin.
I was thinking of creating two users groups (EN/FR) ... not sure about it !

@yulisweet can you elaborate on that Mail Templates Translations plugin ?

@yulisweet can you elaborate on that Mail Templates Translations plugin ?

No, I can't !
The problem is in backend. I thought to do a single frontend page, listing users and make the activation in frontend.
All templates are done on Mail Templates Translations. I have a custom field to save selected language...

I am not following you.

@yulisweet can you elaborate on that Mail Templates Translations plugin ?

I don't have any configuration on Templates translations.  Do you mean to extend the plugin ?


Heroku demos are offline

E.g. the Tailwind and JustPy live demo linked from the documentation is down.
I moved to render.com after Heroku discontinued their free tier.

see https://github.com/heroku/roadmap/issues/126

We are not waiting for heroku any more see #649
Demos are now at http://justpy-demo.bitplan.com


docs: update dead submit PFB link

Overview

Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Codecov Report

Merging #2325 (2cd01cf) into main (6ffae98) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2325   +/-   ##
=======================================
  Coverage   20.34%   20.34%
=======================================
  Files         136      136
  Lines       15800    15800
=======================================
  Hits         3214     3214
  Misses      12278    12278
  Partials      308      308


All tools (*) show no tool

Hi,
when i setup the component like this :

i get :

When I do not add any parameter I get :

But how to use the disbled tool's ?
I tried setting the focus at several places but they always stay disabled?
What do I miss? please.

They are disabled because there is nothing inside your content.

there is content ...

Try selecting and they should be enabled. This is nothing to do with Content Editor, its mostly on Content Tools side.

Can you test it on empty page? without any additional css,js?

I will do

Just make new layout (with scripts, styles needed for contenteditor) and make empty page :)

it works on an empty page with my default layout , why ever


GEOMESA-2827 Update geotools maven repository

Signed-off-by: Emilio Lahr-Vivaz<EMAIL_ADDRESS>

Merged as 0f134672b48bed7a4f2bdfada9a17fabeafd173c.


Use MSTest.SDK

https://aka.ms/mstest/sdk
After:
Passed! - Failed: 0, Passed: 15, Skipped: 0, Total: 15, Duration: 5m 48s 901ms

Before:
Passed!  - Failed:     0, Passed:    15, Skipped:     0, Total:    15, Duration: 6 m 11 s - Microsoft.CopyOnWrite.Tests.32bit.dll (net8.0)
Passed!  - Failed:     0, Passed:    15, Skipped:     0, Total:    15, Duration: 6 m 6 s - Microsoft.CopyOnWrite.Tests.dll (net8.0)

#56 addresses the outdated .NET 6 output and fixes the break in the exception class.


Conditionally render docs

Renders a new set of docs for the production frontsite

Closing this since it will be included in the next PR.


Remove Google Play Services

The emulator does not support GPS, that's why we have to remove it.

Done


[Question] Python3

Hi,
I would like to ask if there is also a Python3 binding or if it is planned for the future?
My whole project is written in Python3 and I want to use lanelet2 to generate maps.
Thanks in advance

Yes, it is planned. Its not an actual problem within the bindings itself (they are mostly compatible), its more a problem on the cmake/catkin side, since catkin's support for python 3.x is a bit brittle. Once we solved that, we should be able to officially support it.


Automation Bug. Error: HiveEntity.get_entity_value() missing 1 required positional argument: 'default'

Hello, I have recently started getting this bug. I am unsure if it is related to home assistant 2024.11.1 update, but I only noticed the problem today. I am unsure what it means, but I thought it might be some sort of bug that might need addressing. Hope it helps
Executed: November 18, 2024 at 8:58:54 AM
Error: HiveEntity.get_entity_value() missing 1 required positional argument: 'default'
Result:
params:
  domain: climate
  service: turn_on
  service_data: {}
  target:
    device_id:
      - 7b4b40ab70503db72eed4997529fa766
running_script: false

Hi, can you update the integration to 1.0.4 released yesterday. I noticed this issue myself elsewhere and hopefully this will fix it.

Thanks, just done that. I will keep an eye on it.