[move-analyzer] Support document symbol PSL

Motivation
starcoin-ide expects that users can select a single test function on the interface, and then execute the test. In order to realize this function, I need to extract the test function entry in the move file. I found that move-analyzer has parsed the AST of Move, and found the textDocument/DocumentSymbol interface of the LSP protocol, which can get all the function information in the move file, but move-analyzer has not implemented this interface yet, so I submitted this PR.
Have you read the Contributing Guidelines on pull requests?
YES
Test Plan
I added a use case to the move-analyzer plugin to test the textDocument/DocumentSymbol protocol.
Test file:  https://github.com/yubing744/starcoin-move/blob/support-document-symbol-psl/language/move-analyzer/editors/code/tests/lsp.test.ts

@awelc @tnowacki I implemented the telemetry/event protocol of PSL, so that I can wait for the Symbolicator to be ready before initiating the call. Now that the CI check has passed, I want to review it again?

I have only now fully processed your comment about telemetry/event protocol and its introduction to wait for Symbolicator to be ready, so here are some additional comments.
I am not sure why you need to wait for the Symbolicator to be ready. Building symbolication information is pretty fast and it's ready almost instantaneously after the server is up. It just seems like using telemetry calls for this is an overkill, but perhaps I do not fully understand the consequences of the request being unsuccessful in this case.

Symbolicator

Since the current implementation of Symbolicator is asynchronous, the specific timing of Symbolicator depends on the size and running environment of the project, and by setting a fixed timeout, it will occasionally fail during the ci check phase.
Failed CI check: https://github.com/move-language/move/runs/7034422261?check_suite_focus=true

@awelc The code has been updated and needs to be reviewed again.

@awelc The code has been updated and needs to be reviewed again.

I am going to re-review it shortly, but I was wondering if you are going to put up a short PR for renaming the default language server path (previously included here). I am happy to do it (we are also getting reports that this is confusing to users) but I don't want to take away the credit form you for noticing this and providing a fix. Please let me know.

@awelc The code has been updated and needs to be reviewed again.

I am going to re-review it shortly, but I was wondering if you are going to put up a short PR for renaming the default language server path (previously included here). I am happy to do it (we are also getting reports that this is confusing to users) but I don't want to take away the credit form you for noticing this and providing a fix. Please let me know.

I'll make another PR, but I found that a better solution is to modify the verification code to support the move-analyzer command in the PATH, which I am implementing

@awelc The code has been updated and needs to be reviewed again.

I am going to re-review it shortly, but I was wondering if you are going to put up a short PR for renaming the default language server path (previously included here). I am happy to do it (we are also getting reports that this is confusing to users) but I don't want to take away the credit form you for noticing this and providing a fix. Please let me know.

I'll make another PR, but I found that a better solution is to modify the verification code to support the move-analyzer command in the PATH, which I am implementing

I closed by mistake and now reopen.

Symbolicator

Since the current implementation of Symbolicator is asynchronous, the specific timing of Symbolicator depends on the size and running environment of the project, and by setting a fixed timeout, it will occasionally fail during the ci check phase.
Failed CI check: https://github.com/move-language/move/runs/7034422261?check_suite_focus=true

From what I understand then, the telemetry is introduced mainly to get tests in CI to work. I would still say that this is an overkill and if we can work around it, it would make this PR much cleaner.
Please correct me if I am wrong but the test in question (that is failing without the synchronization currently provided by the telemetry) queries the language server for symbols only once. If this is the case, then the only thing we need to do to avoid getting invalid response is to make the first call to the symbolicator synchronous and have it run before the language server responds to the IDE for the first time after receiving initialization information. It should be much easier to get Symbolicator::get_symbols to be called synchronously from the main thread to compute the symbolication information for the first time than to introduce telemetry just for that purpose (probably best to be done in a separate PR as well).

Symbolicator

Since the current implementation of Symbolicator is asynchronous, the specific timing of Symbolicator depends on the size and running environment of the project, and by setting a fixed timeout, it will occasionally fail during the ci check phase.
Failed CI check: https://github.com/move-language/move/runs/7034422261?check_suite_focus=true

From what I understand then, the telemetry is introduced mainly to get tests in CI to work. I would still say that this is an overkill and if we can work around it, it would make this PR much cleaner.
Please correct me if I am wrong but the test in question (that is failing without the synchronization currently provided by the telemetry) queries the language server for symbols only once. If this is the case, then the only thing we need to do to avoid getting invalid response is to make the first call to the symbolicator synchronous and have it run before the language server responds to the IDE for the first time after receiving initialization information. It should be much easier to get Symbolicator::get_symbols to be called synchronously from the main thread to compute the symbolication information for the first time than to introduce telemetry just for that purpose (probably best to be done in a separate PR as well).

It is indeed overkill, it should be simpler to synchronize calls on the Move side, I will make another version.

@awelc I've done the refactoring, take the time to review it again.

@awelc I've done the refactoring, take the time to review it again.

Thank you! And my apologies that it's taking time, but I want to make sure the code both fulfills your requirements and is also as clear and concise as possible.
The current version makes a lot more sense to me as it does not require another mechanism (telemetry) to support synchronization. I am still trying to understand why you need synchronization on EVERY request in the first place.
From what I understand the "textDocument/documentSymbol" request is similar to the other types of requests that are already implemented. The difference is in the type of data it returns. In the case of "textDocument/documentSymbol" it is either SymbolInformation[] or DocumentSymbol[] and, for example, in case of "Hover" request it's either Hover or null (as per LSP spec). It does not say in either case that synchronization of any kind is required, and the lack of synchronization is not an issue for any other type of requests that are already out there.
The main question then is - am I missing something and it's crucial for the user experience that the "textDocument/documentSymbol" request is synchronized?
Please note that once information needed to satisfy "textDocument/documentSymbol" request is computed initially when the language server starts, it will be available for all future queries (much like information for other requests is being available). Please also note that all the symbolication information is re-computed on saving an already opened file.  What this means is that there is period of time when the already computed information may be out-of-date - between a file save and a request being issued. The re-computation is fast (a couple of seconds or less) so it's rather unlikely that a developer will be unlikely enough to issue a request after save in a shorter time frame that it takes to re-compute this information.
The worst that can happen here then is that they will get date representing the computation state from before the save, and re-issuing the request will almost certainly already provide the correct info. This is not considered a problem for "Hover", "Goto Definition" and the likes, and I would really like to understand if this is a problem for "textDocument/documentSymbol" and why.
I can certainly see that it makes sense to perform the first computation synchronously (so that the date is available to the IDE from the very beginning), but not necessarily on EVERY request.
As a side-note, blocking the main thread of the move-analyzer to wait for completion of the symbolication computation is not ideal as it blocks the entire language server, making it non-responsive from the IDE's perspective. This could be solved with the language server correctly handling cancel requests, but I'd rather avoid it altogether whenever possible.

@awelc I've done the refactoring, take the time to review it again.

Thank you! And my apologies that it's taking time, but I want to make sure the code both fulfills your requirements and is also as clear and concise as possible.
The current version makes a lot more sense to me as it does not require another mechanism (telemetry) to support synchronization. I am still trying to understand why you need synchronization on EVERY request in the first place.
From what I understand the "textDocument/documentSymbol" request is similar to the other types of requests that are already implemented. The difference is in the type of data it returns. In the case of "textDocument/documentSymbol" it is either SymbolInformation[] or DocumentSymbol[] and, for example, in case of "Hover" request it's either Hover or null (as per LSP spec). It does not say in either case that synchronization of any kind is required, and the lack of synchronization is not an issue for any other type of requests that are already out there.
The main question then is - am I missing something and it's crucial for the user experience that the "textDocument/documentSymbol" request is synchronized?
Please note that once information needed to satisfy "textDocument/documentSymbol" request is computed initially when the language server starts, it will be available for all future queries (much like information for other requests is being available). Please also note that all the symbolication information is re-computed on saving an already opened file. What this means is that there is period of time when the already computed information may be out-of-date - between a file save and a request being issued. The re-computation is fast (a couple of seconds or less) so it's rather unlikely that a developer will be unlikely enough to issue a request after save in a shorter time frame that it takes to re-compute this information.
The worst that can happen here then is that they will get date representing the computation state from before the save, and re-issuing the request will almost certainly already provide the correct info. This is not considered a problem for "Hover", "Goto Definition" and the likes, and I would really like to understand if this is a problem for "textDocument/documentSymbol" and why.
I can certainly see that it makes sense to perform the first computation synchronously (so that the date is available to the IDE from the very beginning), but not necessarily on EVERY request.
As a side-note, blocking the main thread of the move-analyzer to wait for completion of the symbolication computation is not ideal as it blocks the entire language server, making it non-responsive from the IDE's perspective. This could be solved with the language server correctly handling cancel requests, but I'd rather avoid it altogether whenever possible.

Your analysis is correct, my problem now is that ci-test will fail if not synchronously waiting for symbol table resolution to complete. Another solution is to set a large wait time, say 10s, after opening the document.
https://github.com/yubing744/starcoin-move/blob/d623b2172f5a20541ae5635f4e75e4cc23c7c9ae/language/move-analyzer/editors/code/tests/lsp.test.ts#L19

Your analysis is correct, my problem now is that ci-test will fail if not synchronously waiting for symbol table resolution to complete. Another solution is to set a large wait time, say 10s, after opening the document.
https://github.com/yubing744/starcoin-move/blob/d623b2172f5a20541ae5635f4e75e4cc23c7c9ae/language/move-analyzer/editors/code/tests/lsp.test.ts#L19

Let me make a change to the move-analyzer (will try to do it over the weekend) which may solve your problem, and let's take it from there.

Your analysis is correct, my problem now is that ci-test will fail if not synchronously waiting for symbol table resolution to complete. Another solution is to set a large wait time, say 10s, after opening the document.
https://github.com/yubing744/starcoin-move/blob/d623b2172f5a20541ae5635f4e75e4cc23c7c9ae/language/move-analyzer/editors/code/tests/lsp.test.ts#L19

Let me make a change to the move-analyzer (will try to do it over the weekend) which may solve your problem, and let's take it from there.

ok, waiting for your good news

ok, waiting for your good news

Let's see if the news are indeed good :-) I am sorry but the weekend was a bit busy and I only just managed to put it together. In any case, what I did was to make the FIRST symbolication request synchronous - once the IDE client receives confirmation of the language server initialization, the symbolication information will already be available.
For now I created a draft PR (#259) for this so that you can see if this works for you. The change you'd have to make (though I have not tested it myself) would be to open a directory/workspace for the test rather than the test file itself (you can certainly open the file as well, but you need to open directory/workspace first to trigger the initial symbolication computation). If it does work, I should be able to get the PR reviewed and hopefully land it soon.

OK, I'll merge your PR and verify it.

OK, I'll merge your PR and verify it.

I verified that your new approach works, I have merged your code and refactored the current PR, you can review it again.

ok, waiting for your good news

Let's see if the news are indeed good :-) I am sorry but the weekend was a bit busy and I only just managed to put it together. In any case, what I did was to make the FIRST symbolication request synchronous - once the IDE client receives confirmation of the language server initialization, the symbolication information will already be available.
For now I created a draft PR (#259) for this so that you can see if this works for you. The change you'd have to make (though I have not tested it myself) would be to open a directory/workspace for the test rather than the test file itself (you can certainly open the file as well, but you need to open directory/workspace first to trigger the initial symbolication computation). If it does work, I should be able to get the PR reviewed and hopefully land it soon.

I verified that your new approach works, I have merged your code and refactored the current PR, you can review it again.

@awelc Do you have time to help with this PR?

@awelc Do you have time to help with this PR?

Been really busy... In any case, I have some comments and helped some other folks to take a look, but overall the PR looks good. Since my PR to take care of synchronization problem worked, let me merge it first, though, so it does not have to be bundled with your PR.
The main problem now is that I tried functionally testing your implementation on my laptop and it does not work... I checked out your fork and and checked out the branch:
git clone https://github.com/yubing744/starcoin-move.git
git checkout support-document-symbol-psl

Then I installed the move-analyzer binary:
cd starcoin-move/language/move-analyzer
cargo install --path .

And then build the extension:
cd editors/code
npm run package

When I installed the extension from the generated move-analyzer.vsix file (my VSCode version is 1.69.1), it does not seem to be connecting to the language server at all (e.g., you cannot see Move server parts in the IDE's output). All tests pass if I run npm run test).

@awelc Do you have time to help with this PR?

Been really busy... In any case, I have some comments and helped some other folks to take a look, but overall the PR looks good. Since my PR to take care of synchronization problem worked, let me merge it first, though, so it does not have to be bundled with your PR.
The main problem now is that I tried functionally testing your implementation on my laptop and it does not work... I checked out your fork and and checked out the branch:
git clone https://github.com/yubing744/starcoin-move.git
git checkout support-document-symbol-psl

Then I installed the move-analyzer binary:
cd starcoin-move/language/move-analyzer
cargo install --path .

And then build the extension:
cd editors/code
npm run package

When I installed the extension from the generated move-analyzer.vsix file (my VSCode version is 1.69.1), it does not seem to be connecting to the language server at all (e.g., you cannot see Move server parts in the IDE's output). All tests pass if I run npm run test).

I will try and follow your steps

I found some problems on The Windows platform, so I'll add some more tests

FYI, https://github.com/move-language/move/pull/259 has landed.

FYI, #259 has landed.

OK，I'll merge it

@awelc I found that move-analyzer has several problems on windows platform:

The path to get the document URI should use to_file_path
https://github.com/move-language/move/blob/dafa66adb1c35588ba5c7258b17025f03b04cbc9/language/move-analyzer/src/bin/move-analyzer.rs#L127

There will be stack overflow in symbol table parsing
https://user-images.githubusercontent.com/1449069/179643833-2de26072-d60e-4ea3-96f4-e66aeb83f653.png

awelc I found that move-analyzer has several problems on windows platform:

I will look into these tomorrow. We have only recently (and partially) enabled Windows support so the Move analyzer wasn't tested on this platform.

awelc I found that move-analyzer has several problems on windows platform:

I will look into these tomorrow. We have only recently (and partially) enabled Windows support so the Move analyzer wasn't tested on this platform.

And ... sadly I had another bug that I was tracking and it took all day. I should find some time tomorrow, though.

awelc I found that move-analyzer has several problems on windows platform:

I will look into these tomorrow. We have only recently (and partially) enabled Windows support so the Move analyzer wasn't tested on this platform.

And ... sadly I had another bug that I was tracking and it took all day. I should find some time tomorrow, though.

OK

And ... sadly I had another bug that I was tracking and it took all day. I should find some time tomorrow, though.

OK

Got it done yesterday but needed it reviewed and merged. Here it is, though: https://github.com/move-language/move/pull/292
Please see if this solves the problems on your side.

And ... sadly I had another bug that I was tracking and it took all day. I should find some time tomorrow, though.

OK

Got it done yesterday but needed it reviewed and merged. Here it is, though: #292
Please see if this solves the problems on your side.

OK, I will test again based on your PR

@awelc I tested it, your PR did not fix the stack overflow problem, but I can solve it by referring to this PR

@awelc I have added the tests for three platforms now, all passed, can you check again if it can be merged?

@awelc I tested it, your PR did not fix the stack overflow problem, but I can solve it by referring to this PR

Could you please tell me how you trigger the problem with the previous version?

@awelc I tested it, your PR did not fix the stack overflow problem, but I can solve it by referring to this PR

Could you please tell me how you trigger the problem with the previous version?

Will try to do it early next week.

@awelc I tested it, your PR did not fix the stack overflow problem, but I can solve it by referring to this PR

Could you please tell me how you trigger the problem with the previous version?

Using my branch can trigger, find a windows computer
·
git clone https://github.com/yubing744/starcoin-move
Remove target.x86_64-pc-windows-msvc section configuration in file .cargo/config
git checkout --track origin/support-document-symbol-psl
cd language/move-analyzer/editors/code
npm run dev
·

I realized I did not actually submit the re-review comments that I put in last week, so here they are.
With respect to the stack overflow fix, I don't think it works if the binary is installed using cargo install --git https://...
I believe that the reason my "old" fix did not work was that I omitted the first symbolicator run (my bad...), which should be now fixed in https://github.com/move-language/move/pull/306

I realized I did not actually submit the re-review comments that I put in last week, so here they are.
With respect to the stack overflow fix, I don't think it works if the binary is installed using cargo install --git https://...
I believe that the reason my "old" fix did not work was that I omitted the first symbolicator run (my bad...), which should be now fixed in #306

I tested your new PR and stack overflow problem solved

@awelc My PR has been updated, please take a look again

Now the version used in automated testing is 1.64.0, I upgraded to 1.69.2 to try.

Now the version used in automated testing is 1.64.0, I upgraded to 1.69.2 to try.

Just to make sure - when you install a locally packaged plugin (npm install) on MacOS, is everything working for you when you interact with the editor?

Now the version used in automated testing is 1.64.0, I upgraded to 1.69.2 to try.

Just to make sure - when you install a locally packaged plugin (npm install) on MacOS, is everything working for you when you interact with the editor?

ok, i also test some locally at the same time

Now the version used in automated testing is 1.64.0, I upgraded to 1.69.2 to try.

Just to make sure - when you install a locally packaged plugin (npm install) on MacOS, is everything working for you when you interact with the editor?

Now the version used in automated testing is 1.64.0, I upgraded to 1.69.2 to try.

Just to make sure - when you install a locally packaged plugin (npm install) on MacOS, is everything working for you when you interact with the editor?

I reproduced your problem using 1.69.2 vscode in ci-test, I try to fix some things:
https://github.com/yubing744/starcoin-move/runs/7531614817?check_suite_focus=true

@awelc I fixed the problem of vscode v1.69.2, and manually installed and tested move-analyzer.vsix on the mac, can you check if it can be merged?

@awelc The Motivation of this PR explains how starcoin-ide uses this function, to the effect that it identifies the Move file test function and facilitates users to run test cases.

@awelc Implemented the textDocument/DocumentSymbol interface of the LSP protocol, and the outline function will be directly available，I'll revise the documentation later and add function descriptions

@awelc Regarding the problem of marking functions as asynchronous, this is a grammatical feature of Nodejs. By marking functions as asynchronous functions, synchronous waiting can be achieved through await.

@awelc I tried to convert the new line method of package-lock.json, and the changes were still very big. Later, I restored package-lock.json from the main branch, and then regenerated this file, and the changes were still very large. My analysis may be that upgrading @vscode/test-electron will indeed lead to major changes.

@awelc I updated the PR

@awelc I updated the PR with a detailed feature description in the README

@tnowacki Can you help to review or merge this PR?

@tnowacki Can you help to review or merge this PR?

I approved yesterday so it's good to go and the reason it's not merged yet is because one runner does not finish in our CI.

@tnowacki Can you help to review or merge this PR?

I approved yesterday so it's good to go and the reason it's not merged yet is because one runner does not finish in our CI.

OK，thanks.

It is merged now (needed an extra change in our CI to get past the test runner problem).

@awelc OK,  Any plans for the move-analyzer roadmap?

@awelc OK, Any plans for the move-analyzer roadmap?

There are a few things that we may be doing or that may come as external contributions:

integrate "standard" Move CLI with VSCode
better auto-completion (e.g., auto-complete function/struct names for a given module)
integrate auto-formatter (we need to have the auto-formatter first but some preliminary work has already started as an external contribution)
auto-import

Realistically, only the first bullet will probably happen soon-ish on our side. The rest will have to wait at least a bit unless it's contributed externally.

Also, just re-published the new version of the extension to the VSCode Marketplace. Thank you again for this contribution!!!


⚠ Bofrost.at has degraded performance

In e353ce5, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1389 ms

Resolved: Bofrost.at performance has improved in 4df315d after 7 minutes.


k8s: add support for k8s 1.29.0

Updated libraries
Updated tested k8s versions to also run with 1.29
Given that kindest doesn't have 1.29.0-rc.1 available, we have built our own image.

/test

/test

/test


I face window not respond problem

hey,
i am using Windows 11, version 23H2. recently i opened my vs code and run html& Js file they show me this error (Windows not responding) what i do now . i am totally confused. by reading tutorials i had uninstall 3 times it and reinstall it. although i had uninstall MCAcfee software . please guide me what to do to fix this issue.

i will add the file see and guide me

i opened my vs code and run html& Js file

Can you provide exact steps for what this means?

Actually, I am learning JavaScript these days, so I use VS Code daily, but today, when I open VS Code and try to run an HTML file, I get this error repeatedly, and VS Code is hanging. I will reinstall VS Code, but still it gives me the same error.


[enhancement] Sql parser use SLL PredictionMode firstly

What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] refactor
[ ] others

According to https://github.com/StarRocks/starrocks/pull/9363
when parse, we try SLL PredictionMode firstly.

run starrocks_fe_unittest

[FE PR Coverage Check]
:disappointed: fail : 4 / 10 (40.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/SqlParser.java
4
10
40.00%
[42, 43, 44, 45, 46, 47]

The logic of antlr's parse should be done in parser.sqlStatements. Does it make sense to set PredictionMode after that? Or am I misunderstanding

The logic of antlr's parse should be done in parser.sqlStatements. Does it make sense to set PredictionMode after that? Or am I misunderstanding

Yes. you are right.

[FE PR Coverage Check]
:heart_eyes: pass : 8 / 8 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/SqlParser.java
8
8
100.00%
[]

run starrocks_be_build

run starrocks_admit_test


Alt + Tab Sometimes Skips over the Last Window

Windows Build Number
19045.4170
Processor Architecture
NA
Memory
32
Storage Type, free / capacity
NVME 100
Relevant apps installed
Excel, Chrome, Firefox
Traces collected via Feedback Hub
NA
Isssue description
Since the beginning of April, the behavior of Alt + Tab has been erratic. Toggling windows between Excel and another app (in this case, an internet browser) will consistently switch back to the same, last window for a few iterations (about 10) and will then skip that last window to replace it with a random one. This is making the workflow of using Alt + Tab extremely frustrating when hundreds of windows toggling actions are required every day, and is killing productivity.
Steps to reproduce
Open an Excel sheet (or any other productivity app), and several (more than 1) internet browser windows. Toggle between Excel and a given internet window many times. After a while, the toggling sequence will snap out of order and you will need to manually re-click on the correct, initial couple of windows to reinitialize the group that you wish to toggle between.
Expected Behavior
Indefinitely toggling between the current and the last open window should not randomly switch out of the last open window to a random window as Alt + Tab is being used.
Actual Behavior
After several iterations of using Alt + Tab, the last (second) window is no longer reached (skipped) when toggling and is being switched to another random open window.

Hi @fxphysics, this sounds like it's outside the scope of what this repository is intended to track (see here). If it's still repro'ing for you, can you please file a Windows Feedback item from the machine? You can invoke Feedback Hub via [Windows]+[f] and paste the link here so we can more easily find your information on the back end. The link can be found at the bottom of the feedback report. Please use "Desktop Environment -> Alt-Tab and Task View" for the Category. We'll help get it routed to the right team.

Closing as issue is outside scope of this repo.


Upated repository referances

--Cleanup old repos refs.
--Updated  commit ids.
--Updated  ReadMe.

@amitinfo2k @wanare-2017 can you squash these commits?

@krsna1729 Anil has squashed the changes. Can u review it and merge it.

@amitinfo2k @wanare-2017 thanks! I think now you @amitinfo2k you and Michal from T-Mo are the maintainers for this repo. I do not have the rights anymore.


Command 'shell' not understood or not applicable

Hi. when i try to execute the rebar shell command, the program don't start. This is the output of command:
==> Entering directory /root/Scrivania/SS7_HACKING/ss7MAPer-master/ss7MAPer/deps/osmo_ss7' ==> Entering directory /root/Scrivania/SS7_HACKING/ss7MAPer-master/ss7MAPer/deps/epcap'
==> Entering directory `/root/Scrivania/SS7_HACKING/ss7MAPer-master/ss7MAPer/deps/pkt'
WARNING: deprecated port_envs option used
Option 'port_envs' has been deprecated
in favor of 'port_env'.
'port_envs' will be removed soon.
==> Leaving directory `/root/Scrivania/SS7_HACKING/ss7MAPer-master/ss7MAPer/deps/pkt'
WARNING: deprecated port_envs option used
Option 'port_envs' has been deprecated
in favor of 'port_env'.
'port_envs' will be removed soon.
==> Leaving directory /root/Scrivania/SS7_HACKING/ss7MAPer-master/ss7MAPer/deps/epcap' ==> Entering directory /root/Scrivania/SS7_HACKING/ss7MAPer-master/ss7MAPer/deps/osmo_ss7/rel'
==> Leaving directory /root/Scrivania/SS7_HACKING/ss7MAPer-master/ss7MAPer/deps/osmo_ss7/rel' ==> Leaving directory /root/Scrivania/SS7_HACKING/ss7MAPer-master/ss7MAPer/deps/osmo_ss7'
==> Entering directory /root/Scrivania/SS7_HACKING/ss7MAPer-master/ss7MAPer/deps/osmo_sccp' ==> Leaving directory /root/Scrivania/SS7_HACKING/ss7MAPer-master/ss7MAPer/deps/osmo_sccp'
==> Entering directory /root/Scrivania/SS7_HACKING/ss7MAPer-master/ss7MAPer/deps/osmo_map' ==> Leaving directory /root/Scrivania/SS7_HACKING/ss7MAPer-master/ss7MAPer/deps/osmo_map'
Command 'shell' not understood or not applicable

Hi quick question, but did you patch all of the dependencies?

Hi. I have the same issue as Gabry770. At the last line appeared "Command 'shell' not understood or not applicable". I tried it in two different vm (Kali2 & Ubuntu14.04) but I got the same error. I have already patched all of the dependencies again but it doesn't seem to work.

Hi, i have try to patch dependencies again,  but it doesn't seem to work.
Same problem, i'm on kali linux, there are other solutions?

Hmm.. Im sorry as I am not a developer for this type of stuff.. The OP seems to have disappeared off the face of the Earth, but with teamwork I am sure that we can find a solution. May I ask how you installed erlang and rebar? Did you use the links provided or use the terminal to obtain it? Did you get the deps to build? Did you patch the rebar.config? Did you fetch the dependencies in the correct folder and go to the right directory to build the ASN.1 files? I know the instructions are not clear and you need to use some guesswork and context clues as to when to change directories. I will not have access to my Linux machine (Kali bleeding edge) for a while and therefore cannot recreate this problem, but when I get the chance to, perhaps after school I will provide a detailed guide pertaining to the steps that I took to get this working, as well as look at this issue closer. Try to make sure that you also have the correct dependencies for your system as a whole.
Until next time.

i have obtained erlang and rebar from debian repository with apt-get command, the deps are ok, i have patched rebar.config. But i don't know, i have follow step to step the instructions.

Ok.. Your distro is kali? Try the kali repo to get erl and rebar, and if that doesnt work just get it from the site, and im pretty sure that I used rebar from git, get it from here https://github.com/rebar/rebar , but only get it from online if kali repos dont work.. The distro's repos are there because they provide the latest best working variant of software. The main point to add repos from other distros is to obtain software not obtainable in the current distro. This may seem like much, but the end result is worth it.

Not dead, but away (;
I think you are using other versions of relang and/or rebar. im using

Erlang/OTP 18 [erts-7.3]
rebar 2.6.1 18 20160820_080329

If the rebar shell command is not applicable, you can try 'erl -pa deps/*/ebin -pa ebin' which should do exactly the same.
Regarding the deps and patching, i know this is ugly and im planing to include all patched deps into the repo.
cheers

ok i try in the afternoon, i'm busy now, thanks for help

I have use the erl -pa deps/*/ebin -pa ebin command and shell working now. Thanks to all for the help


Proposal: Trailer support

Is your feature request related to a problem? Please describe.
may Hertz support Trailer ?  that's the http feature

I have almost  finish it，however，i found it a bit difficult to test. i don't find the example of chunked in hertz-example and i think there may be some problem in streaming test, i pull a issue here

Done~ Thanks again.


[api] Clear PU status by category

Substitute this line for a meaningful title for your changes
Overview
Adding possibility for the user to clear selected kind of previously set statuses: Locked-in, Locked-out or Made available.
Process is the following:

Endpoint receives scenario id and kind of status to be cleared
Service finds all the PU ids that were set by user for each status kind
Removes the kind selected to be cleared from the claims to be sent to status change processor
Processor resets all the statuses and ads only received claims. Since no claims for the selected to be cleared statuses will be received - PUs that had this status will be set to:
available with setbyUser=false OR
locked-in with setByUser=false with protectedByDefault=true in case of PUs belonging to a protected area

Designs
Link to the related design prototypes (if applicable)
Testing instructions
Please explain how to test the PR: ID of a dataset, steps to reach the feature, etc.
Feature relevant tickets
Link to the related task manager tickets

Checklist before submitting

[ ] Meaningful commits and code rebased on develop.
[ ] If this PR adds feature that should be tested for regressions when
deploying to staging/production, please add brief testing instructions
to the deploy checklist (docs/deployment-checklist.md)
[ ] Update CHANGELOG file

@hotzevzl thanks for the comments and suggestions - all fixed, also added one more check to geoprocessing test to cover 2 clears (include and exclude)


firmware upgrade feature￼

I implemented the update process as described in #16.
It is now possible to upgrade to the latest available version via webui.
Additionally I implemented the commandline script firmware-tool which provides other options, i.e. installing a specific firmware version.
We will have to discuss the right size for the root filesystem, which I increased to 800MB.
I appreciate any feedback.

First of all, thank you very much for your efforts and the PR. I really appreciate your help.
However, as you might have seen, I also already started to integrate the webui-based update/upgrade feature during the last days and unfortunately your PR seem to conflict with my changes as your branch isn't based on the latest changes in the webui-upgrade-feature branch. So please at least rebase your changes on the latest changes in that branch.
Furthermore, as I have quickly reviewed your PR, I think we should first talk about the principle approach how to integrate such a feature in RaspberryMatic because your approach seems to be slightly different to what I have in mind. As you might have seen I have taken a slightly different road to integrate the two-root-partition approach of providing a webui-based upgrade mechanism. So my ideas are as follows:

Keep the root partition 500MB max. (it is currently filled by 74% only and I don't think we will increase the content of the rootfs by more than 120MB anytime soon). In addition, if this really happens we can then think about repartitioning the rootfs on-the-fly in some manner. However, just increasing it now doesn't seem to be necessary IMHO.
As I see, your script is automatically downloading updates from GitHub without requiring the user to upload the update himself. However, I want to keep the webui-based update mechanism as compatible as possible to the way the CCU2 update functionality works. That's the reason why I have invested some time already in patching cp_maintenance.cgi to directly allow *.zip file uploads to /usr/local/tmp, unarchiving it and even checking its sha256 checksum before asking the user to confirm the update process.
The way you are currently performing the update/upgrade is by running the upgrade while the normal system is still running in the background. For security reasons and to keep the upgrade process compatible to the CCU2 way I want to implement the upgrade to be actually executed when the RaspberryMatic system is shutting down (e.g. initiated when S00eQ3SystemStarted is running its 'stop' routine) with all normal services being shut down when the lofs mount happens, the rsync starts, etc. And my current plans are to even perform this using a simple shell-script rather than using tcl if this is fine with you.
Your approach doesn't consider keeping a backup for the /boot filesystem in any way. Please keep in mind that newer RaspberryMatic version will come with newer kernels and raspberry firmware files and currently you are simply overwriting the old ones. But I think we should think about keeping a backup of the main files just in case the update doesn't work and the user wants to revert to the old version on the other rootfs partition.

I know that all this sounds like we would have to significantly rework your update mechanism and even throw away things not required (automatic GitHub updates, etc.), but I still hope we can work together to get the webui-based update mechanism integrated in the most smooth and CCU2 compatible way. Looking forward to hearing your opinion.

1.) If it ever happens, repartitioning the running system would be nearly impossible.
2.) I prefer my approach because its much easier.
3.) I don't see the advantage here.
4.) That is right, but I think if the system is no longer able to boot, it is also not possible to revert the changes. In that case you would have to reinstall.
I think you have a clear idea of how you want things to be, which makes it hard for me to argue.
Don't get me wrong but I will stop investing my time into this integration now.
For me this project is not too important and I am confident that your approach will be good to.

Well, thanks for your understanding. I really want to make sure you are not frustrated and I want to point out that I still want you onboard in integrating this long-open feature request. And I really appreciate all the time you invested in preparing integration of your approach. Nevertheless, I still have to keep compatibility to CCU2 in some minor way and thus I don't want to introduce a completely different way of performing the upgrade (from end-user perspective). And regarding the single points I still hope we can continue our discussion because I really want to use your expertise since you have invested quite some time into this topic:

I still think repartitioning should be possible, especially if the update/upgrade is performed upon shutting down the system, because then we can unmount /usr/local and resize it, etc. However, I agree that this might require some additional work and thoughts – still I believe that we won't pass the 500MB anytime soon. And if so, users could still easily be advised to start from a new sd card for the time being.

It is much easier for you, I guess :) From the end user perspective I think users are used to download the update files themselves and then upload them to their CCU manually. This will also ensure that, e.g. after a potential change of the download URL, etc. the update process still works.

The advantage is that by having shut down the system we should be more on the safe if something crashes the system. In addition, we could then also umount /usr/local and repartition it in the future or do a file system check, etc.

If the system is not bootable anymore we could at least give users the advice to mount the sd card manually on a PC/Mac and then change some files so that the system starts booting form the old rootfs partition again.

So for my proposed changes. I will try to integrate my procedure during the next days so that you can hopefully test it yourself and give some feedback or further suggestions. Is that fine for you?

1.) Believe me, repartitoning the running system will get very complicated. I asked you before - why is the size of rootfs so important for you? If image size is the reason, why not resize rootfs1 during checkFactoryReset() and then stick with it? This would result in an even smaller image size than today.
2.) I think end users would love to switch their habits in that case.
3.) I disagree. If you upgrade while the system is running, you can easily inform the user about any problem. If update errors occur on shutdown, the system would just hang or reboot.
4.) If you think this is helpful it would be easy to backup the files from /boot. Perhaps it would be sufficient to just backup/rename the kernel image file.

How would you do that? the rootfs is already mounted at the time S00eQ3SystemStart is executed, thus this would require to resize the rootfs online while it is mounted. Probably not a very good idea
I am not sure. Also keep in mind that I need to stay a bit compatible to the way/webui how this is done on a CCU/OCCU also in terms of support, etc.
You are right that an update progress would better be shown while the system is running, however, we can also put a logfile somewhere with debug information. And then we can even show update progress on the HDMI console for the same debugging reasons.
That's exactly what I have planned ;)

1.) Not a problem if you do not move the partition start point. ext4 can be easily and safely resized online (mounted). You could even delete the partition and recreate it in MBR as long as you do not change the starting point.

Any news on this Feature ?

I am still working on it and even integrating a rescue type system at the same time. So please some more patience ;)

@jens-maus kommt das feature noch :-) ?
Danke für deine Arbeit !

@einfall Definitiv, ja. nur dauert es eben weil es dann auch noch mit einer art Rescue-System kommen wird wie bei einer CCU2 sodass man sogar bei defektem Root-FS sein RaspberryMatic trotzdem wiederherstellen lassen kann.

Nut zur Info: Es gibt bereits hier ein AddOn, welches ein Auto-Update von RaspberryMatic ermöglicht. Vielleicht kann man mit dem Autor zusammenarbeiten um arbeit zu sparen.

Alles schon passiert (mehr oder weniger).   Das alles wird exakt der Funktionalität der CCU2 selbst nachempfunden werden.

Ein Auto-Update via GitHub klingt doch sehr komfortabel. Weshalb soll ich eine zip-Datei zunächst herunterladen, um sie danach wieder hoch zu laden? Aus Usability-Sicht klingt das sehr antiquiert und bei Routern wie AVM oder anderen Geräten ist solch ein Auto-Update längst normal.
Man kann ja zusätzlich das manuelle Uodate via zip-Datei anbieten.

@rene-re Dann freue ich mich schon auf dein pull-request dazu ;)

Hallo Jens, sehr gerne sobald ich eure Code-Qualität erreiche ;) Schätze eure Arbeit sehr und möchte lediglich anmerken, dass die bisherige, tyoische Funktionsweise des Updates nicht das Maß der Dinge ist. Inwiefern es im Scope ist hier darüber hinaus zu gehen, liegt nicht in meiner Entscheidung.


Make random idea selection random-colored

Don't use just blue and red colors for random popup.

Closed by #172. Random ideas are no longer supported.


Identity provider not available

For context, this is my first time working with this Azure product coming from AWS. I was pleasantly surprised that my previous feedback was picked up so quick, thank you for that. This is my third attempt to set up this product with a SPA. I will report my findings from that POV.
Under the Create a profile editing user flow, it states: For Identity providers, select Local Account SignIn. However, this is not an option. I only have the Local Accounts: Email signing option

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

ID: bee63035-00ee-f7fd-97a1-69dae5f808ef
Version Independent ID: a3447928-73cc-0290-6d46-b89234757e3b
Content: Tutorial - Create user flows and custom policies - Azure Active Directory B2C
Content Source: articles/active-directory-b2c/tutorial-create-user-flows.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@pauldulong Thanks for reaching out. We will investigate and update the thread accordingly.

@pauldulong Thank you for pointing this out. The option Local Account SignIn is available in Standard(Legacy) user flow. As the steps are for Recommended user flow, I have updated the step 5 under Create a profile editing user flow section as mentioned below:
For Identity providers, select one of the below options:

Email signin
User ID signin
Phone signin
Phone/Email signin
User ID/Email signin

Note: The available options may vary depending on how the Local account identity provider is configured under the Identity providers blade.
The change is currently awaiting on the Content Author's approval.

Hi @amanmcse, @msmimart has a PR that covers the sign-in options feature. The PR should be publish very soon. You can close your PR.

Dear @pauldulong , thanks for the feedback. We are updating the article with the relevant information. A new version will publish later this week. I'm closing this issue.


Add timer methods serverside

It would be very helpful on the server side if we could use methods for timing like .SetTimeout, .SetInterval, .EveryTick, .NextTick - especially the latest one, for example after spawning a player or a vehicle it would be nice to have it.

C# has enough Features for timers. Using the Tick isnt really good for Performance so c# wont use them.


ENH: Improve Newton solver for solve_bvp

I made the following changes to the Newton solver used in solve_bvp:

A more intelligent termination condition.
Ability for the solver to make iterations with the fixed Jacobian.

On my "qualitative benchmark" I didn't notice any degradations, as well as on J. Cash benchmark. (Note that I didn't re-upload notebooks, but you can trust me).
The new version may occasionally make 1 more or 1 less iteration (talking about the main BVP solver iterations), converging to respectively slightly better or worse accuracy.
The main benefit may come from the fact, that the new Newton solver could work faster because of the fixed Jacobian iterations. On J. Cash bench I get 336 Jacobian evaluations and factorizations in the old version, whereas only 273 in the new one.
@pv, may I ask you to compare with COLSYS again and see if the new version runs faster (and not worse in terms of convergence).

Hey @pv, I run examples myself (should've done it in the first place). After fixing the continuation test (new x should always include a and b) https://gist.github.com/nmayorov/935ef96cd5f65e0d0cec4e020bd8e2ac, I have the new versions passing all problems (except 7, as it was for the old version too) and the run time went from 7.905 to 6.839.
I believe this change is worth including in 0.18.0.

Thanks, looks fine to me.

Thanks, Pauli.


[Campaign]  Updating a campaign, does not update the amount.

Title
[Campaign]  Updating a campaign, does not update the amount.
Platform / OS
Windows 10
Browser
Google Chrome
Description
Campaign amount is not updated with the correct amount. It still reflects the initial
amount the user inputted during the first edit.
Steps to Reproduce

Login to the application https://dev.sleepbus.org
Click on ‘Fundraiser’ button on the header.
Enter the details for campaign name as ‘Sleep peacefully’, Campaign goal as ‘0’, campaign end date as ’15-10-2017, I am fundraising as ‘Campaign as a specific town’ and choose a photo.
Click on ‘Create Campaign’ button.
Click on Edit Campaign'.
Update the campaign goal to ‘100 AUD’ and click on ‘Update Campaign’

Expected Behavior
Amount should be updated to 100 AUD
Additional Info
Branch: 0b650b07369f1e40f3df170a90fc2b82e13df2d4
dev Build: https://circleci.com/gh/sleepbusorg/sleepbus.org/125

@mop13 could you please add before/after screenshots to this one? Want to be sure it's the campaign goal which is not updating vs just the campaign amount, which won't update until donations are made..

@leonstafford after reviewing the issue I think the reporter mistakenly points the campaign amount to the campaign goal. so you we can close this issue already.


Separate stages in Bugsnag

Everything that gets sent to Bugsnag from RMD is classified as being from the development stage.  We want these separated (ie development, qa, production).  This will require changes to https://github.com/psu-libraries/researcher-metadata-config .

@ajkiessl  Will get Bryan a Bugsnag account.  @bryanlopezrr  If you can then tag/label each environment in K8s to keep them separated that would be great.


Docker container loses authentication after a little less than 24 hours or so

I'm experimenting with the docker image of this as I would like to possibly incorporate it in an API for use by a Minecraft Bedrock Edition docker image. At around the 24hr mark of uptime it quits responding to anything but the homepage and it shows that authentication is false.
This is the only thing I see in the logs:
Hello 60s!
Hello 60s!
Hello 60s!
Hello 60s!
Hello 60s!
Hello 60s!
Hello 60s!
Hello 60s!
Adding cache headers...
Hello 60s!
Adding cache headers...
Other than restarting the container is there something that's supposed to re-authenticate it?
Thank you

Hi again!
#7 has now been merged and is now live. Authentication tokens are now checked once a minute and refreshed if necessary.
I'll monitor the instance for the next few days to see if this is fixed.
Thanks!
-James


User views indicator

As a User
I want to view a record of a indicator
So that I can learn about its attributes and associated actions, as well as and previous and upcoming progress reports

This issue was moved to dumparkltd/hr-nmrf-client#16

This issue was moved to dumparkltd/hr-nmrf-client#17


Create read-initialization-file.yml

Iterating through the features of 1d8fd13c890060464019c0f07b928b1a already in the capa-testfiles repo.  I added in the feature to determine if the malware is reading from an .ini file.   In the mentioned hash, the malware reads in 1.ini.
Here's a screenshot of the basic block responsible for the action:

I have the rule scoped for function right now, but if this causes too many FP's or is error prone, scoping it to basic block might make sense.
Per your last comments, I posted directly to  host-interaction/file-system/read/, if this rule needs to go to the nursery, I'd be happy to move it there.
Thanks for the help and feedback.

Also forgot to post, when running the rule, it should now show.
read initialization file
namespace  host-interaction/file-system/read
author     @_re_fox
scope      function
function @ 0x401070
  and:
    or:
      api: GetPrivateProfileString @ 0x4010E0
    string: 1.ini @ 0x401079, 0x4010B6
    optional:
      api: GetFullPathName @ 0x4010BB

read initialization file
namespace  host-interaction/file-system/read
author     @_re_fox
scope      function
function @ 0x401070
and:
or:
api: GetPrivateProfileString @ 0x4010E0
string: 1.ini @ 0x401079, 0x4010B6    <<<<<<<<<<<<<<<<<<<<<<<
optional:
api: GetFullPathName @ 0x4010BB

@mr-tz its neat how the file path is actually pulled out here due to how the regex matching works

need to fix the linter to ignore . in rule names - I'll work on that. Can we keep the .ini in the rule name?
rule looks good. i'll merge it with that name fix.

Reverted the name back, let's hope the linter passes.

it doesn't, but not your fault :-)
thanks @re-fox !


Check that work is enqueued on the user-provided execution space instance

Opening to use as a base for discussion

Is it possible to catch the space used during view allocations? Are deep copies and creating mirror views already captured by the existing patch?

Is it possible to catch the space used during view allocations? Are deep copies and creating mirror views already captured by the existing patch?

Not possible without changes in Kokkos.  The device id not passed to the hooks neither for view allocations nor deep copy.  There is nothing special about creating mirrors, either we allocate or we don't.

Rebased on master. I think this is a good idea, even if incomplete.

Failures from constructor:

Kokkos::View::initialization [Testing::boxes_mirror]
Kokkos::Tools::invoke_kokkosp_callback: Kokkos Profile Tool Fence
Kokkos::View::destruction []
Kokkos::Impl::ViewValueFunctor: View init/destroy fence
HostSpace::impl_deallocate before free

This is tricky.

Splitting into two: parallel regions (this one) and fences (upcoming).


Compiling for Arduino Due

Hi, how can I compile the library for the Arduino Due?
The compiler gives me a lot of errors but no problems with Arduino Uno, find below just a part of them.
/Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:132:86: note: in expansion of macro 'digitalPinToPortReg'  if (__builtin_constant_p(P) && __builtin_constant_p(V))   __atomicWrite__((uint8_t*) digitalPinToPortReg(P),P,V) \                                                                                ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/DW1000.cpp:1507:2: note: in expansion of macro 'digitalWriteFast'   digitalWriteFast(_ss, HIGH);   ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:85:73: error: 'PORTC' was not declared in this scope  (((P) >= 0 && (P) <= 7) ? &PORTD : (((P) >= 8 && (P) <= 13) ? &PORTB : &PORTC))                                                                          ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:120:12: note: in definition of macro '__atomicWrite__'  if ( (int)(A) < 0x40) { bitWrite(*(A), __digitalPinToBit(P), (V) );}  \             ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:132:86: note: in expansion of macro 'digitalPinToPortReg'  if (__builtin_constant_p(P) && __builtin_constant_p(V))   __atomicWrite__((uint8_t*) digitalPinToPortReg(P),P,V) \                                                                                ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/DW1000.cpp:1507:2: note: in expansion of macro 'digitalWriteFast'   digitalWriteFast(_ss, HIGH);   ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:122:29: error: 'SREG' was not declared in this scope  uint8_t register saveSreg = SREG;                          \                              ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:132:59: note: in expansion of macro '__atomicWrite__'  if (__builtin_constant_p(P) && __builtin_constant_p(V))   __atomicWrite__((uint8_t*) digitalPinToPortReg(P),P,V) \                                                            ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/DW1000.cpp:1507:2: note: in expansion of macro 'digitalWriteFast'   digitalWriteFast(_ss, HIGH);   ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:123:5: error: 'cli' was not declared in this scope  cli();                                                     \      ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:132:59: note: in expansion of macro '__atomicWrite__'  if (__builtin_constant_p(P) && __builtin_constant_p(V))   __atomicWrite__((uint8_t*) digitalPinToPortReg(P),P,V) \                                                            ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/DW1000.cpp:1507:2: note: in expansion of macro 'digitalWriteFast'   digitalWriteFast(_ss, HIGH);   ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/DW1000.cpp: In static member function 'static void DW1000Class::writeBytes(byte, word, byte*, unsigned int)': /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:85:28: error: 'PORTD' was not declared in this scope  (((P) >= 0 && (P) <= 7) ? &PORTD : (((P) >= 8 && (P) <= 13) ? &PORTB : &PORTC))                             ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:120:12: note: in definition of macro '__atomicWrite__'  if ( (int)(A) < 0x40) { bitWrite(*(A), __digitalPinToBit(P), (V) );}  \             ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:132:86: note: in expansion of macro 'digitalPinToPortReg'  if (__builtin_constant_p(P) && __builtin_constant_p(V))   __atomicWrite__((uint8_t*) digitalPinToPortReg(P),P,V) \                                                                                ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/DW1000.cpp:1563:2: note: in expansion of macro 'digitalWriteFast'   digitalWriteFast(_ss, LOW);   ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:85:64: error: 'PORTB' was not declared in this scope  (((P) >= 0 && (P) <= 7) ? &PORTD : (((P) >= 8 && (P) <= 13) ? &PORTB : &PORTC))                                                                 ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:120:12: note: in definition of macro '__atomicWrite__'  if ( (int)(A) < 0x40) { bitWrite(*(A), __digitalPinToBit(P), (V) );}  \             ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:132:86: note: in expansion of macro 'digitalPinToPortReg'  if (__builtin_constant_p(P) && __builtin_constant_p(V))   __atomicWrite__((uint8_t*) digitalPinToPortReg(P),P,V) \                                                                                ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/DW1000.cpp:1563:2: note: in expansion of macro 'digitalWriteFast'   digitalWriteFast(_ss, LOW);   ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:85:73: error: 'PORTC' was not declared in this scope  (((P) >= 0 && (P) <= 7) ? &PORTD : (((P) >= 8 && (P) <= 13) ? &PORTB : &PORTC))                                                                          ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:120:12: note: in definition of macro '__atomicWrite__'  if ( (int)(A) < 0x40) { bitWrite(*(A), __digitalPinToBit(P), (V) );}  \             ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:132:86: note: in expansion of macro 'digitalPinToPortReg'  if (__builtin_constant_p(P) && __builtin_constant_p(V))   __atomicWrite__((uint8_t*) digitalPinToPortReg(P),P,V) \                                                                                ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/DW1000.cpp:1563:2: note: in expansion of macro 'digitalWriteFast'   digitalWriteFast(_ss, LOW);   ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:122:29: error: 'SREG' was not declared in this scope  uint8_t register saveSreg = SREG;                          \                              ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:132:59: note: in expansion of macro '__atomicWrite__'  if (__builtin_constant_p(P) && __builtin_constant_p(V))   __atomicWrite__((uint8_t*) digitalPinToPortReg(P),P,V) \                                                            ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/DW1000.cpp:1563:2: note: in expansion of macro 'digitalWriteFast'   digitalWriteFast(_ss, LOW);   ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:123:5: error: 'cli' was not declared in this scope  cli();                                                     \      ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:132:59: note: in expansion of macro '__atomicWrite__'  if (__builtin_constant_p(P) && __builtin_constant_p(V))   __atomicWrite__((uint8_t*) digitalPinToPortReg(P),P,V) \                                                            ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/DW1000.cpp:1563:2: note: in expansion of macro 'digitalWriteFast'   digitalWriteFast(_ss, LOW);   ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:85:28: error: 'PORTD' was not declared in this scope  (((P) >= 0 && (P) <= 7) ? &PORTD : (((P) >= 8 && (P) <= 13) ? &PORTB : &PORTC))                             ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:120:12: note: in definition of macro '__atomicWrite__'  if ( (int)(A) < 0x40) { bitWrite(*(A), __digitalPinToBit(P), (V) );}  \             ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:132:86: note: in expansion of macro 'digitalPinToPortReg'  if (__builtin_constant_p(P) && __builtin_constant_p(V))   __atomicWrite__((uint8_t*) digitalPinToPortReg(P),P,V) \                                                                                ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/DW1000.cpp:1571:2: note: in expansion of macro 'digitalWriteFast'   digitalWriteFast(_ss, HIGH);   ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:85:64: error: 'PORTB' was not declared in this scope  (((P) >= 0 && (P) <= 7) ? &PORTD : (((P) >= 8 && (P) <= 13) ? &PORTB : &PORTC))                                                                 ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:120:12: note: in definition of macro '__atomicWrite__'  if ( (int)(A) < 0x40) { bitWrite(*(A), __digitalPinToBit(P), (V) );}  \             ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:132:86: note: in expansion of macro 'digitalPinToPortReg'  if (__builtin_constant_p(P) && __builtin_constant_p(V))   __atomicWrite__((uint8_t*) digitalPinToPortReg(P),P,V) \                                                                                ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/DW1000.cpp:1571:2: note: in expansion of macro 'digitalWriteFast'   digitalWriteFast(_ss, HIGH);   ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:85:73: error: 'PORTC' was not declared in this scope  (((P) >= 0 && (P) <= 7) ? &PORTD : (((P) >= 8 && (P) <= 13) ? &PORTB : &PORTC))                                                                          ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:120:12: note: in definition of macro '__atomicWrite__'  if ( (int)(A) < 0x40) { bitWrite(*(A), __digitalPinToBit(P), (V) );}  \             ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:132:86: note: in expansion of macro 'digitalPinToPortReg'  if (__builtin_constant_p(P) && __builtin_constant_p(V))   __atomicWrite__((uint8_t*) digitalPinToPortReg(P),P,V) \                                                                                ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/DW1000.cpp:1571:2: note: in expansion of macro 'digitalWriteFast'   digitalWriteFast(_ss, HIGH);   ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:122:29: error: 'SREG' was not declared in this scope  uint8_t register saveSreg = SREG;                          \                              ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:132:59: note: in expansion of macro '__atomicWrite__'  if (__builtin_constant_p(P) && __builtin_constant_p(V))   __atomicWrite__((uint8_t*) digitalPinToPortReg(P),P,V) \                                                            ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/DW1000.cpp:1571:2: note: in expansion of macro 'digitalWriteFast'   digitalWriteFast(_ss, HIGH);   ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:123:5: error: 'cli' was not declared in this scope  cli();                                                     \      ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/digitalWriteFast.h:132:59: note: in expansion of macro '__atomicWrite__'  if (__builtin_constant_p(P) && __builtin_constant_p(V))   __atomicWrite__((uint8_t*) digitalPinToPortReg(P),P,V) \                                                            ^ /Users/pascal/Documents/Arduino/libraries/arduino-dw1000-master/src/DW1000.cpp:1571:2: note: in expansion of macro 'digitalWriteFast'   digitalWriteFast(_ss, HIGH);   ^ exit status 1 Error compiling for board Arduino Due (Programming Port).
Thank you.

As you can see the problem is digitalWriteFast.h. Replace digitalWriteFast() with normal digitalWrite().

Thanks for your answer.
It will not affect the performance?

No, due has much more computing power than the uno. But I not know if the library works with due, sry.

Thanks, man.
I managed to read the ID of the DWM1000.
For reference, this configuration with Due is working:
https://github.com/thotro/arduino-dw1000/issues/58#issuecomment-180477907


Bump multipart dependency to 0.7

Oh, so that version is also using a version range... great...
Thank you for notifying me, and for the PR. Looks like I'll have to make an earlier 0.9 release than planned, and postpone the rest for 0.10.
I'll merge this and see if I can add a couple of quick changes, while I'm at it, an then release. I'm slightly busy today, and especially busy tomorrow, so it may just be this if I feel like I don't have time.
Oh, and for the future, I would appreciate it if you add the motivation in the top comment of the PR, rather than in one of the commits. It makes it easier to find. This one is trivial, though, so there's no need to change it.
@homu r+

:pushpin: Commit 9f9b172 has been approved by Ogeon

:zap: Test exempted - status


Connect to existing WiFi

In my use case i would prefer the WiFi duck connect to my home WiFi instead of creating a WiFi that devices connect to. I have setup the ESP8266 to connect to my WiFi to host a web page, but would not have the skill set to get the WiFi duck to do it.
Thoughts.

Same question. I bought WIFI Duck to control my KVM switch using local WIFI. Is there a workaround exists or we'll have to rewrite part of the code?

Would love this feature.
I also want to controll my KVM switch.

I made some changes that work. Instead of creating an AP, it will now connect to an existing AP using the SSID and PWD in the config.h file. It will not be difficult to add some settings that will allow a creation or connection of an AP.
Changes at lines 82 & 181
webserver.cpp.txt
Script.js change
Line 117:   ws = new WebSocket("ws://" + location.hostname + "/ws");
After changing the Script.js you will have to run webconverter.py

I managed to do it this way (in caseyour network could not resolve hostnames)
Connecting WiFi and save the current IP into a file called config.js
  WiFi.begin(STA_SSID, STA_PASSWORD);
  if (WiFi.waitForConnectResult() != WL_CONNECTED) {
    Serial.printf("STA: Failed!\n");
    WiFi.disconnect(false);
    delay(1000);
    WiFi.begin(STA_SSID, STA_PASSWORD);
  }
  saveConfigToJSON();

void saveConfigToJSON() {
  // Delete existing file, otherwise the configuration is appended to the file
  SPIFFS.remove("/config.js");
  // Open file for writing
  File file = SPIFFS.open("/config.js", FILE_WRITE);
  if (!file) {
    Serial.println(F("Failed to create file"));
    return;
  }
  file.print("var ip = '" + WiFi.localIP().toString() + "';");
  debugln("var ip = '" + WiFi.localIP().toString() + "';");
  // Close the file
  file.close();
}

in all html files using script.js, like index.html and terminal.html please  load config.js before loading all other js files
  <script src="config.js"></script>
  <script src="script.js"></script>
  <script src="index.js"></script>

On top of script.js add these lines:
var address = ip;

in method ws_init use this address
function ws_init() {
  status('connecting...');
  ws = new WebSocket('ws://' + address + '/ws');

This way the ESP modifies the config.js file each time it becomes a new address and the website can connect the websocket to the right server.

+1 I want this feature.
Thanks to @Jorgen-VikingGod I've able to get it working.
But the more simpler solution I did on the second step is just this line
ws = new WebSocket("ws://" + location.host + "/ws");

So no need to saveConfigToJS and other modification to the html.

@RayPS awesome - so simple is the world  :+1:
I'll adapt my code as well. I didn't read the doc of location.host - thought it was only the hostname; but it handles the ip address too.
What an easy and smart solution :partying_face:
Thx for sharing your findings!

I have yet to try this but since i just got my duck working thanks to the other threads i will be giving this a go. I will say that i love the way wled https://github.com/Aircoookie/WLED handles this scenario. if it finds the wifi you setup it will connect to that if not it will spin up an AP. sort of the best of both worlds and would not force to to provide connection details at the time of flashing. I am not smart enough to figure out how that have done it but maybe someone here would be be able to.

@RayPS @Jorgen-VikingGod  any chance of a fork i am having a hard time knowing exactly what goes where.


Provide cross-thread transfer and expand information field function

Describe the solution you want
Provides cross-thread link transfer extended information field
Describe the alternatives you considered
Similar function to Java agent:
TraceContext.putCorrelation("test-flow", testFlag);
Optional testFlowOpt = TraceContext.getCorrelation("test-flow");
Similar functions can be obtained from go2sky sdk to facilitate the transmission of field information links
Other content
Add any other context or screenshots about the feature request here.

Contributions are welcome.


Inconsistent string concatenation styles.

code = ""

vs.
description = oembed.description ? '
'+oembed.description+'
' : '';

Seems like the pattern of…
var string = "The quick brown " + animalName() + " jumps over the lazy dog"

Is most appropriate.

thanks for the suggestion. we'll take a look


secretName pattern error in Airlock Notifier deployment

Resolves #3077
What is being addressed
This bug is caused due to the sensitive: true. According to porter documentation, since we migrated to version 1.0.0, the behavior of the secret plugin has changed. It is now trying to save the smtp password in the kv, but since the name of the var is SOMEID-smtp_password, the underscore is not a leagl char in a kv secret name.
Hence, we have two options:

Take the approach implemented in this PR: changing smtp_password to smtpPassword. I made the changes everywhere so it will be consistent, but it still different than our convention.
Consider deleting sensitive: true attribute. I am not sure how necessary it is, since the porter documentation only states it save it in kv, but nothing more. In addition, it's the only place in the code we use this attribute.

@tamirkamara , @marrobi , @SharonHart  WDYT?

/test-extended


Update TextMesh Pro version to 1.4.1 in the Package manifest file

Overview
Our Packages/manifest.json file has old TextMesh Pro version (1.3.0) which causes alignment issues on certain cases. Manually updating through Unity Package Manager resolves the issue.
Since there is no specific reason for keeping 1.3.0, updating it to the latest version 1.4.1.
Changes

Fixes: #5600

azp run

/azp run


How to add image watermark?

When adding a watermark, I write this string of code like this:
"var watermark = document.Sections[0].Header.Default.AddWatermark(WordWatermarkStyle.Image,'imagepath');" But how to add an image? Please advise. Thank you!

This needs an implementation 🤣I made preparations but didn't finish it.

This needs an implementation 🤣I made preparations but didn't finish it.
Okay, if only it could be done quickly. Wishing you all the best in your work!

oh,tanks!

oh,thank!


Did a bunch of shit

I added the ghost tapping system levi

if i miss a note with it still count as a miss?

yes

why did you remove zoom stages are broken

why did you remove zoom stages are broken

it's not in flixel 5

okay? but stages are broken and the game is unplayable

uhhh, idk

im adding zoom back ( use flixel 4.11.0 )

alright

lol

I can't think straight right now

can you do the miss counter?

and the combo doesn't restart when missing

can you do the miss counter?

alright

:D

but, it's the last thing I do before I go to bed though

k

:D


Set up KFPv2 Dev Environment

Set up a Kubeflow Pipelines v2 (Tekton) Development Environment using the latest KFP Tekton V2 Release via OpenShift Deployment methodology.  Make notes of any gaps discovered while performing this action, and generate issues to work on in future sprints to aid in the development of the KFP-Tekton V2 Driver/Plugin.
Multiple people will be performing this action, so it is suggested to hold a Office Hours/ Hackaton-sytle meetup while executing this action

@HumairAK provided these useful links:

https://github.com/kubeflow/kfp-tekton/releases/tag/v2.0.0
https://github.com/kubeflow/kfp-tekton/tree/v2.0.0/manifests/kustomize/env/platform-openshift-pipelines


feat: re-enable rwd tests

Checklist:

[X] I have read freeCodeCamp's contribution guidelines.
[X] My pull request has a descriptive title (not a vague title like Update index.md)
[X] My pull request targets the main branch of freeCodeCamp.
[X] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

This enables the superblock order + meta testing for the Responsive Web Design.
Blocked until #44459 is in.

This... should be failing, at the moment. 🤔

Hope nobody minds - I fixed conflicts on this using the github UI

Closed - changes already in main


Error running mix assets.build with Vue and Vite

Description
When attempting to run the mix assets.build task in a Phoenix project, errors occur depending on how the build script is defined in package.json.
Steps to Reproduce

Configure the build script in package.json as follows:
"build": "vue-tsc && vite build"

Run the following command:
$ mix assets.build

Observe the error:
/Users/sam/dev/elixir/phoenix/app/assets/node_modules/vue-tsc/index.js:34
            throw err;
            ^
Search string not found: "/supportedTSExtensions = .*(?=;)/"
(Use `node --trace-uncaught ...` to show where the exception was thrown)

Node.js v22.2.0
** (exit) 1

Modify the build script to remove vue-tsc:
"build": "vite build"

Run the same command:
$ mix assets.build

Observe a different error:

> build
> vite build

vite v5.4.11 building for production...
transforming...
✓ 69 modules transformed.
x Build failed in 870ms
error during build:
[commonjs--resolver] Invalid value "iife" for option "output.format" - UMD and IIFE output formats are not supported for code-splitting builds.

Expected Behavior
The mix assets.build command should complete successfully, building assets without errors.
Actual Behavior

With vue-tsc included, the build fails with a search string error in vue-tsc.
Without vue-tsc, the build fails with an invalid output.format error, referencing UMD and IIFE being unsupported for code-splitting builds.

Environment

Node.js version: v22.2.0
Phoenix version: 1.7.12
Dependencies: Vue, Vite, Vue-TSC
Operating System: macOS

fix the first issue ( vue-tsc  )
https://github.com/nuxt/nuxt/issues/30026#issue-2687500330
https://github.com/vuejs/language-tools/issues/5018#issuecomment-2494783497
fix the second issue ( vite build )
https://github.com/vitejs/vite/issues/17483#issuecomment-2364116700

Hi @SamuelBonilla thanks for the report!
Is that error happening on a fresh install of LiveVue, without any configuration changes? Or you adjusted configuration / packages on your own?
If yes, could you provide a repo with a reproduction? Your errors are related to module resolution and vite config, so both things are hard to spot without exact package versions and configuration files.
According to the issues you posted, it might be an error in the newest TS version 🤔

I have another issue with web workers, but I'll create another issue. Can we tackle this issue in this thread?
Error in convertAndOptimize: SecurityError: Failed to construct 'Worker': Script at 'http://localhost:5173/js/worker.js?worker_file&type=module' cannot be accessed from origin 'http://localhost:4000'.

Ok I can confirm running npm install -D typescript vue-tsc installs latest versions which are currently broken. Didn't really though it could be an issue 😞
I can pin them in the installation instructions but then I'll need to adjust them to new versions on my own, and it's a lot of work. So I'll add a note that users should downgrade typescript and vue-tsc if they stumble upon that error, and remove that note later after this issue is removed.
Regarding workers - this project by default doesn't include any web workers. I see your project is trying to load one from js/worker.js. I have never tried using web workers with LiveVue yet, simply because I didn't had to. Still, I can add worker: {format: 'es'} to the default Vite config, I think it shouldn't hurt.
About

Error in convertAndOptimize: SecurityError: Failed to construct 'Worker': Script at 'http://localhost:5173/js/worker.js?worker_file&type=module' cannot be accessed from origin 'http://localhost:4000'.

After some digging I don't think there's anything wrong in live_vue regarding this issue. See workaround in https://github.com/vitejs/vite/issues/13680

thanks


"Filter by value"-window appears and closes immediatelly if the list of values contains a lot of values

Description
If there are a lot of items in a list to filter, the window is actually can't be opened because it is closed each time I try to open it.
The user ends up with lose of a noticeable time without achieving his goal.
Personally, I like this feature very much for its quick filtering, hope it will be enhanced.

use dvdrental database
use query:

select *
from rental

https://github.com/user-attachments/assets/3a906d84-64cc-44b7-b510-7ae94e6bb49a
DBeaver Version
Enterprise Edition 24.2.2-202409192322
Operating System
Windows 10
Database and driver
PostgreSQL 16
PostgreSQL JDBC Driver 42.7.4
Steps to reproduce
No response
Additional context
No response

Thanks for the bug report. I reproduced it


Migrate python versions

Description of Changes
Add CI support for python 3.11 and removes support for python 3.8

is this the time to also bump dask, xarray, numpy in here?

Only numpy needed to be bumped to require support for Python 3.9, the other versions all supported 3.9 already at their current minimums. Avoiding bumping unnecessary to allow flexibility


[Bug]: Sandbox freaks out with multiple GPUs

Windows Sandbox version
No response
Windows build number
Microsoft Windows NT 10.0.26120.0
Other software
No response
Steps to reproduce the bug
Open Sandbox (directly from the start menu) with multiple GPUs enabled.
iGPU: Intel UFD Graphics 770 (Intel i9-14900k)
dGPU: AMD Radeon RX 6900 XT

When both are enabled in device manager, the issue occurs.
When one (either one) is enabled and the other disabled, everything works as expected.
When a .wsb file containing <Configuration><vGPU>Disable</vGPU></Configuration> is run, Sandbox works.
Expected result
Sandbox should open as it does when only one GPU is enabled (let windows decide, or apply Windows Graphics Settings)
Actual result
A window containing the following is displayed
The connection to the Windows Sandbox environment was lost.

An existing connection was forcibly closed by the remote host. (0x80072746)

Included System Information
No response

I should add that this has also happens on a clean install of Windows 11 (24h2) Pro.
There's a lot of forum posts about this issue, which is where I found that disabling vGPU is a workaround (I though vGPU used to be disabled by default)


Reformat phone numbers

Ref: Conversation #2790 / Chris

Ref: Conversation #4650 / Nohl

Ref: Conversation #4150 / Jeffrey


Change expression from String to Expression

To save a few clicks
java/arcs/core/data/Recipe.kt:89:18: error: type mismatch: inferred type is String? but Expression<*>? was expected
    expression = spec.expression
                 ^


Broken DAG error, unable to import the ECS operators on v2.2.2 of local runner

Hello,
Getting the import error for ECSOperator which works absolutely fine in the MWAA env on AWS console. Need assistance for the same.
Thanks.

The name of the operator was changed to "EcsOperator", you should be able to import that.


HIVE-25034: Implement unpartitioned CTAS for Iceberg

CTAS table is created inside the HiveIcebergSerDe
StorageHandler API is extended with isDirectInsertCTAS
In the execution plan, table creation task and move task are skipped if storageHandler.isDirectInsertCtas == true
Also, a PreInsert hook is attached, so that the commitInsertTable hook will be called
Rollback is implemented using a lifecycle hook

LGTM - a few leftover questions, but nothing crucial


Telemetry with Prometheus

[ ] Define telemetry metrics

=== Example Metrics ===

(Number of) logs generated on a given host / namespace / pod / container
→ [ HostName | NamespaceName | PodName | ContainerName ]

(Number of) logs generated on a given policy
→ PolicyName

(Number of) logs with X severity or above
→ Severity

(Number of) logs with a given type (i.e., PolicyMatched, SystemLog)
→ Type

(Number of) logs with a given operation (i.e., Process, File, Network, Capabilities)
→ Operation

(Number of) logs with a given action (i.e., Allow, Audit, Block)
→ Action

(Number of) logs with a given tag (not support yet)

(Number of) logs with a given label (not support yet)

=== Example Metrics ===
=== Possible Filters ===

TimeRange (from YYYY-MM-DD hh:mm:ss to YYYY-MM-DD hh:mm:ss)
HostName (string)
NamespaceName (string)
PodName (string, narrowed down by NamespaceName)
ContainerName (string, narrowed down by NamespaceName)
PolicyName (string, possibly narrowed down by NamespaceName)
Severity (integer, 1-10)
Type (PolicyMatched, SystemLog)
Operation (Process, File, Network, Capabilities)
Action (Allow, Audit, Block)

=== Possible Filters ===

[ ] Produce telemetry data to monitoring systems (e.g., Prometheus)

Prometheus-exporter is updated in https://github.com/kubearmor/kubearmor-prometheus-exporter.


KeyError matplotlib

Hello, I am attempting to obtain processed resting state bold data. I keep running into this issue for a handful of subjects. Any thoughts?
What version of fMRIPrep are you using?
fmriprep:20.1.2
What kind of installation are you using? Containers (Singularity, Docker), or "bare-metal"?
Docker
What is the exact command-line you used?
screen  fmriprep-docker  /Users/neurouser1/Documents/DP5/bids_directory \
 /Users/neurouser1/Documents/DP5/xcp/fmriprep_out \
 --output-spaces fsaverage T1w \
 --participant_label sub-DP5030 sub-DP5047 sub-DP5037 sub-DP5035 sub-DP5033 sub-DP5032 sub-DP5027 \
 --fs-license-file /Applications/freesurfer/license.txt \
 --ignore slicetiming

Have you checked that your inputs are BIDS valid?
Yes
Can you find some traces of the error reported in the visual report (at the bottom) or in crashfiles?
Node: fmriprep_wf.single_subject_DP5037_wf.func_preproc_ses_NavonShamStim_task_rest_run_2_wf.sdc_unwarp_report_wf.bold_rpt
Working directory: /tmp/work/fmriprep_wf/single_subject_DP5037_wf/func_preproc_ses_NavonShamStim_task_rest_run_2_wf/sdc_unwarp_report_wf/bold_rpt

Node inputs:

after = <undefined>
after_label = after
before = <undefined>
before_label = before
compress_report = auto
out_report = report.svg
wm_seg = <undefined>

Traceback (most recent call last):
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/plugins/multiproc.py", line 67, in run_node
    result["result"] = node.run(updatehash=updatehash)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 516, in run
    result = self._run_interface(execute=True)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 635, in _run_interface
    return self._run_command(execute)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/pipeline/engine/nodes.py", line 741, in _run_command
    result = self._interface.run(cwd=outdir)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/base/core.py", line 420, in run
    runtime = self._post_run_hook(runtime)
  File "/usr/local/miniconda/lib/python3.7/site-packages/niworkflows/interfaces/registration.py", line 357, in _post_run_hook
    return super(SimpleBeforeAfterRPT, self)._post_run_hook(runtime)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nipype/interfaces/mixins/reporting.py", line 50, in _post_run_hook
    self._generate_report()
  File "/usr/local/miniconda/lib/python3.7/site-packages/niworkflows/interfaces/report_base.py", line 79, in _generate_report
    compress=self.inputs.compress_report,
  File "/usr/local/miniconda/lib/python3.7/site-packages/niworkflows/viz/utils.py", line 337, in plot_registration
    svg = extract_svg(display, compress=compress)
  File "/usr/local/miniconda/lib/python3.7/site-packages/niworkflows/viz/utils.py", line 124, in extract_svg
    image_svg = svg2str(display_object, dpi)
  File "/usr/local/miniconda/lib/python3.7/site-packages/niworkflows/viz/utils.py", line 117, in svg2str
    image_buf, dpi=dpi, format="svg", facecolor="k", edgecolor="k"
  File "/usr/local/miniconda/lib/python3.7/site-packages/matplotlib/figure.py", line 2035, in savefig
    self.canvas.print_figure(fname, **kwargs)
  File "/usr/local/miniconda/lib/python3.7/site-packages/matplotlib/backend_bases.py", line 2263, in print_figure
    **kwargs)
File "/usr/local/miniconda/lib/python3.7/site-packages/matplotlib/backends/backend_svg.py", line 1210, in print_svg
    result = self._print_svg(filename, fh, **kwargs)
  File "/usr/local/miniconda/lib/python3.7/site-packages/matplotlib/backends/backend_svg.py", line 1240, in _print_svg
    self.figure.draw(renderer)
  File "/usr/local/miniconda/lib/python3.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File "/usr/local/miniconda/lib/python3.7/site-packages/matplotlib/figure.py", line 1475, in draw
    renderer, self, artists, self.suppressComposite)
  File "/usr/local/miniconda/lib/python3.7/site-packages/matplotlib/image.py", line 141, in _draw_list_compositing_images
    a.draw(renderer)
  File "/usr/local/miniconda/lib/python3.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper
    return draw(artist, renderer, *args, **kwargs)
  File "/usr/local/miniconda/lib/python3.7/site-packages/matplotlib/axes/_base.py", line 2543, in draw
    pos = locator(self, renderer)
  File "/usr/local/miniconda/lib/python3.7/site-packages/nilearn/plotting/displays.py", line 1649, in _locator
    return transforms.Bbox([[left_dict[axes], y0],
KeyError: <matplotlib.axes._axes.Axes object at 0x7f89e9425d68>

Are you reusing previously computed results (e.g., FreeSurfer, Anatomical derivatives, work directory of previous run)?
Yes
fMRIPrep log
If you have access to the output logged by fMRIPrep, please make sure to attach it as a text file to this issue.
[environment]
cpu_count = 27
exec_docker_version = "19.03.12"
exec_env = "fmriprep-docker"
free_mem = 15.7
overcommit_policy = "always"
overcommit_limit = "50%"
nipype_version = "1.5.1"
templateflow_version = "0.6.3"
version = "20.1.2"

[execution]
bids_dir = "/data"
bids_description_hash = "a0cf9572d635349e5136a732c74e622b2123109962fa41c97b030cda51159bdb"
boilerplate_only = false
debug = false
fs_license_file = "/opt/freesurfer/license.txt"
fs_subjects_dir = "/out/freesurfer"
layout = "BIDS Layout: .../data | Subjects: 44 | Sessions: 64 | Runs: 88"
log_dir = "/out/fmriprep/logs"
log_level = 25
low_mem = false
md_only_boilerplate = false
notrack = false
output_dir = "/out"
output_spaces = "fsaverage:den-164k T1w"
reports_only = false
run_uuid = "20200915-185441_6a9f6eca-fcc5-4ab0-9519-07c14e4b160c"
participant_label = [ "DP5027", "DP5030", "DP5032", "DP5033", "DP5035", "DP5037", "DP5047",]
templateflow_home = "/home/fmriprep/.cache/templateflow"
work_dir = "/tmp/work"
write_graph = false

[workflow]
anat_only = false
aroma_err_on_warn = false
aroma_melodic_dim = -200
bold2t1w_dof = 6
bold2t1w_init = "register"
cifti_output = false
fmap_bspline = false
force_syn = false
hires = true
ignore = [ "slicetiming",]
longitudinal = false
medial_surface_nan = false
regressors_all_comps = false
regressors_dvars_th = 1.5
regressors_fd_th = 0.5
run_reconall = true
skull_strip_fixed_seed = false
skull_strip_template = "OASIS30ANTs"
skull_strip_t1w = "force"
spaces = "fsaverage:den-164k T1w MNI152NLin2009cAsym"
use_aroma = false
use_syn_sdc = false

[nipype]
crashfile_format = "txt"
get_linked_libs = false
nprocs = 27
omp_nthreads = 8
plugin = "MultiProc"
resource_monitor = false
stop_on_first_crash = false

[seeds]
master = 7339
ants = 47963

[nipype.plugin_args]
maxtasksperchild = 1
raise_insufficient = false

This is an instance of nipreps/niworkflows#559 - Could you try fMRIPrep 20.1.3? this should be fixed in this latest stable release.

@oesteban , thanks for the prompt response. Will let you know if it's still an issue.


finetuned the codeset

Signed-off-by: rajesh.sanjeevi<EMAIL_ADDRESS>

The codeset is tested and first copy. The missing piece is Ingress and relevant route53 entries to it. It would be included shortly and pull request would be submitted.


New version 0.25.1 breaks JupyterLab CI

https://github.com/jupyterlab/jupyterlab/actions/runs/8538604184/job/23391600562?pr=16078
Install from SDist and Test:
+ uv pip compile pyproject.toml -o /home/runner/constraints.txt
error: failed to read from file `pyproject.toml`
  Caused by: No such file or directory (os error 2)

Test Minimum Versions:
Error: Can't find 'action.yml', 'action.yaml' or 'Dockerfile' for action 'jupyterlab/maintainer-tools/.github/actions/install-minimums@v1'.

Windows (integrity) and Windows (python):
Run .\scripts\ci_install

    Directory: C:\Users\runneradmin

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d----            4/3/[20](https://github.com/jupyterlab/jupyterlab/actions/runs/8538604175/job/23391595403?pr=16078#step:4:21)24 12:24 PM                .jupyter
ERROR: Could not open requirements file: [Errno 2] No such file or directory: '/c/Users/runneradmin/constraints.txt'
Exception: D:\a\jupyterlab\jupyterlab\scripts\ci_install.ps1:12
Line |
  12 |  … TCODE -ne 0) { throw "Command failed. See above errors for details" }
     |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Command failed. See above errors for details
Error: Process completed with exit code 1.

Looks like caused by https://github.com/jupyterlab/maintainer-tools/pull/225? CC @blink1073

We get the same error in tljh-repo2docker https://github.com/plasmabio/tljh-repo2docker/actions/runs/8539452202/job/23395055599

We removed install-minimums, it was marked as deprecated.  The replacement is described here.

As for the constraint error, it is because you aren't checking out the repository before running base setup.

Ah, which I see is the case for all releaser-related things.  I can fix that.

It looks like the jobs are still failing, do we need to tag the release on GitHub?

We removed install-minimums, it was marked as deprecated. The replacement is described here.

Thanks!

In https://github.com/jupyterlab/jupyterlab/pull/16105 I still see Windows tests fail with:
Run .\scripts\ci_install

    Directory: C:\Users\runneradmin

Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d----            4/3/[20](https://github.com/jupyterlab/jupyterlab/actions/runs/8540936335/job/23399123724?pr=16105#step:4:21)24  3:01 PM                .jupyter
ERROR: Could not open requirements file: [Errno 2] No such file or directory: '/c/Users/runneradmin/constraints.txt'
Exception: D:\a\jupyterlab\jupyterlab\scripts\ci_install.ps1:12
Line |
  12 |  … TCODE -ne 0) { throw "Command failed. See above errors for details" }
     |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Command failed. See above errors for details
Error: Process completed with exit code 1.


gRPC version service documentation

/area documentation
What would you like to be added:
gRPC version service documentation.
The feature was added here https://github.com/falcosecurity/falco/pull/872
Why is this needed:
Once 0.20.0 is released users might want to use this feature but they have no way to know how besides reading the code.
We need something like this for the outputs: https://falco.org/docs/grpc/

/assign

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

/remove-lifecycle rotten
L.
On Tue, Dec 22, 2020 at 10:35 PM poiana<EMAIL_ADDRESS>wrote:

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/falcosecurity/falco-website/issues/141#issuecomment-749786536,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA5J42ADISC2LUEQCZVKJLSWEGKRANCNFSM4KZ53PPQ
.

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

@poiana: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.
Provide feedback via https://github.com/falcosecurity/community.
/close

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Correction for raw affiliation Simon Fraser University, Singapore

Correction needed for raw affiliation Simon Fraser University, Singapore
raw_affiliation_name: Simon Fraser University, Singapore
new_rors: 0213rcc28
previous_rors:
works_examples: W4390284606
contact: 372ae114781753078abf06d6d0d01343:d11186e9 @ ourresearch.org

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Update NewRelic page title

Fix NewRelic title
Closes #3123
@ksigler7

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@kalebdavis thanks so much for your effort here, but this was already covered with https://github.com/sendgrid/docs/pull/3127 - please check back soon for other issues though, because we are adding new issues all the time!