Error on running the CSV based example

Describe the bug
Error on running the CSV based example
To Reproduce
Steps to reproduce the behavior:

Follow the install instructions
Obtain the CSVs from https://github.com/CSBiology/FSharpGephiStreamer/tree/master/docsrc/content/data
Take the https://csbiology.github.io/FSharpGephiStreamer/exampleAnalysis.html

open System.IO
open System.Text

let readFromFile (file:string) =
        seq {use textReader = new StreamReader(file, Encoding.Default)
             while not textReader.EndOfStream do
                 yield textReader.ReadLine()}

let nodes =
    readFromFile (__SOURCE_DIRECTORY__ + "/data/goNodeList.csv")
    |> List.ofSeq
    |> List.map (fun n -> let tmp = n.Split([|','|])
                          createGONode tmp.[0] tmp.[1] tmp.[2] (Colors.Table.StatisticalGraphics24.getRandomColor()))

let edges =
    readFromFile (__SOURCE_DIRECTORY__ + "/data/goEdgeList.csv") |> List.ofSeq
    |> List.ofSeq
    |> List.map (fun n -> let tmp = n.Split([|','|])
                          createGOEdge (tmp.[0] |> int) tmp.[1] tmp.[2] (nodes |> List.find(fun n -> n.Id = tmp.[2])).Color)

Run the code
System.FormatException
  HResult=0x80131537
  Message=Input string was not in a correct format.
  Source=System.Private.CoreLib
  StackTrace:
   at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
   at System.Number.ParseInt32(ReadOnlySpan`1 value, NumberStyles styles, NumberFormatInfo info)
   at System.Int32.Parse(String s, NumberStyles style, IFormatProvider provider)
   at Microsoft.FSharp.Core.LanguagePrimitives.ParseInt32(String s)

Inspecting the files, it looks like you need to skip the first row as you have a header there whereas the parsing code expects just data.
Expected behavior
Parse the pre-supplied edges and node
OS and framework information (please complete the following information):

OS: Windows 10
.Net core SDK version: 2.2.203

https://github.com/openjournals/joss-reviews/issues/1445

Hi @cgravill ,
first of all thank you and @PrashantVaidyanathan for taking the time to review this submission.
 I was able to reproduce the error and it is located in parsing the edge list. I will fix that asap.

Should be fixed by #11


support distributed file path in cloud environment

LOCAL_JAR_PATH is set in the cloud environment to support alternate local jars NOT building from the source code

Related issue https://github.com/NVIDIA/spark-rapids/issues/1640

Related issue:
https://github.com/NVIDIA/spark-rapids/issues/1421
https://github.com/NVIDIA/spark-rapids/issues/1568

https://github.com/NVIDIA/spark-rapids/issues/1785

build

build

@revans2  Could you please help to review? thanks!

Why was this causing issues where it does not cause issues in other places? It would be good to add a comment explaining this because a few lines below it in the else clause. --> better to add this, though it does not cause error currently.  PLUGIN_JARS=$(echo "$LOCAL_JAR_PATH"/rapids-4-spark*.jar) will find rapids-4-spark_2.12-SNAPSHOT.jar, rapids-4-spark-integration-tests*.jar rapids-4-spark-udf-examples*.jar . Here we only want PLUGIN_JARS=rapids-4-spark_2.12-SNAPSHOT.jar

Why was this causing issues where it does not cause issues in other places? It would be good to add a comment explaining this because a few lines below it in the else clause. --> better to add this, though it does not cause error currently. PLUGIN_JARS=$(echo "$LOCAL_JAR_PATH"/rapids-4-spark*.jar) will find rapids-4-spark_2.12-SNAPSHOT.jar, rapids-4-spark-integration-tests*.jar rapids-4-spark-udf-examples*.jar . Here we only want PLUGIN_JARS=rapids-4-spark_2.12-SNAPSHOT.jar

Then lets update it in both places so it is consistent

But it is not the SCRIPTPATH any longer. --> Sorry, here we need NOT to change SCRIPTPATH  as SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" cd "$SCRIPTPATH" makes sure SCRIPTPATH is the script path (we already put run_pyspark_from_build.sh under dir integration_tests). I'll revert it.

I also am not sure how this fixes the issues you were seeing with the tests finding std_input_path --> As --rootdir can NOT work with HDFS path(means we can not use HDFS), and --std_input_path can NOT work with  relative path, so I put the integration_tests into all the yarn nodes under the absolute dir '$SCRIPTPATH', then the absolute PATH $SCRIPTPATH works for both  --rootdir  & --std_input_path
Why it did not work before? --> We only put the integration_tests onto the Yarn master node, then we transferred the it on to Yarn worker nodes by --file/--archive,  so integration_tests path was relative[did NOT work with --std_input_path].

In addition I really think we need to update the document for this script to include LOCAL_JAR_PATH in integration_tests/README.md. --> Will update README.md

This code change as it is now look fine, but it has very little to do with the title of this issue.

support distributed file path in cloud environment

It also has almost nothing to do with any of the issues/bugs mentioned  in this PR

Update CI Builds for new udf-examples jar name #1640
Integration tests should have a flag to avoid silently skipping some tests #1421
cleanup unused jenkins files and scripts #1568
Rapids pytest integration tests FAILED on Yarn cluster with unrecognized arguments: --std_input_path=src/test/resources/ #1785

Before approving this I just want to be sure I understand how this fits into those other issues. Will there be follow on work, especially for --std_input_path as we discussed in #1785 or do you think this is enough to resolve it?

It also has almost nothing to do with any of the issues/bugs mentioned in this PR

Update CI Builds for new udf-examples jar name #1640

Updated Jenkins scripts to download the latest udf-example jar with _2.12 appended in the jar name.

Integration tests should have a flag to avoid silently skipping some tests #1421
All the Cloud environment changed to use integration_tests/run_pyspark_from_build.sh

TEST_TYPE is NOT set, need we config it TEST_TYPE=nightly for all the Clould environment IT pipeline? @jlowe @revans2
Test result on EMR as below:
23:49:36  SKIPPED [1] ../../../../../../integration_tests/src/main/python/conftest.py:468: rapids_udf_example_native is not configured to run
23:49:36  SKIPPED [105] ../../../../../../integration_tests/src/main/python/conftest.py:452: TPC-DS not configured to run
23:49:36  SKIPPED [4] ../../../../../../integration_tests/src/main/python/conftest.py:381: TPCxBB not configured to run
23:49:36  SKIPPED [11] ../../../../../../integration_tests/src/main/python/conftest.py:461: cudf_udf not configured to run
23:49:36  4715 passed, 21 skipped,145 xfailed, 7 xpassed,104 warnings, in 5248.88s (1:27:28)
23:49:36
23:49:36  End of LogType:stdout
23:49:36  ***********************************************************************

cleanup unused jenkins files and scripts #1568

PR ready, retarget to branch-0.5

Rapids pytest integration tests FAILED on Yarn cluster with unrecognized arguments: --std_input_path=src/test/resources/ #1785

Before approving this I just want to be sure I understand how this fits into those other issues. Will there be follow on work, especially for --std_input_path as we discussed in #1785 or do you think this is enough to resolve it?

Yes, for --std_input_path issue, we put integration tests scripts to all of the distributed filesystem nodes, so the $SCRIPTPATH can be found locally.

This code change as it is now look fine, but it has very little to do with the title of this issue.

support distributed file path in cloud environment

It also has almost nothing to do with any of the issues/bugs mentioned in this PR

Update CI Builds for new udf-examples jar name #1640
Integration tests should have a flag to avoid silently skipping some tests #1421
cleanup unused jenkins files and scripts #1568
Rapids pytest integration tests FAILED on Yarn cluster with unrecognized arguments: --std_input_path=src/test/resources/ #1785

Before approving this I just want to be sure I understand how this fits into those other issues. Will there be follow on work, especially for --std_input_path as we discussed in #1785 or do you think this is enough to resolve it?

Update the document for how to set 'LOCAL_JAR_PATH'

build

Yes, for --std_input_path issue, we put integration tests scripts to all of the distributed filesystem nodes, so the $SCRIPTPATH can be found locally.

I really don't like that.  How is it less work to keep that data in sync on all of those nodes than it is to have a script to copy it to a distributed file system?  Or worse it is not kept in sync and when we change something with the data the tests start to fail.
Like I said I think this code is fine as is and if you want to merge it in we can, but I don't like the current plan for the input test files and to fix it I think we will need changes to these scripts.

I really don't like that. How is it less work to keep that data in sync on all of those nodes than it is to have a script to copy it to a distributed file system? Or worse it is not kept in sync and when we change something with the data the tests start to fail.
Like I said I think this code is fine as is and if you want to merge it in we can, but I don't like the current plan for the input test files and to fix it I think we will need changes to these scripts.

I agree with you, the way of syncing the data onto all the nodes' SCRIPTPATH dir is ugly.
But the we need NOT to change the un_pyspark_from_build.sh using this way.
I'd prefer to sync --std_input_path onto the distributed filesystem, too.
As the --rootdir did NOT support distributed file path, to utilize the distribute file system for the --std_input_path, besides $SCRIPTPATH, we will need to introduce 2 extra ENV into run_pyspark_from_build.sh  ,  e.g.

DISTRIBUTEPATH=hdfs/s3a/gs/integration_tests/src/test/resources for the --std_input_path=$INPUTPATH,
LOCAL_ROOTDIR=./integration_tests for the --rootdir=$LOCAL_ROOTDIR $LOCAL_ROOTDIR/src/main/python

     "$SCRIPTPATH"/runtests.py --rootdir "$SCRIPTPATH" "$SCRIPTPATH"/src/main/python \

     "$SCRIPTPATH"/runtests.py --rootdir "$LOCAL_ROOTDIR" "$LOCAL_ROOTDIR"/src/main/python \
     -v -rfExXs "$TEST_TAGS" \

     --std_input_path="$SCRIPTPATH"/src/test/resources/ \

     --std_input_path="$DISTRIBUTEPATH"/src/test/resources/ \

Seems the extra too ENVs are introduced in the  run_pyspark_from_build.sh?

I am fine with having extra environment variable to help control run_pyspark_from_build.sh having one that would override the default value for std_input_path sounds like a good change.  And the LOCAL_ROOT_DIR change also sounds fine.

I am fine with having extra environment variable to help control run_pyspark_from_build.sh having one that would override the default value for std_input_path sounds like a good change. And the LOCAL_ROOT_DIR change also sounds fine.

@revans2  Added --rootdir LOCAL_ROOTDIR  & --std_input_path CLOUD_INPUTPATH, could you please help to review. Thanks!

build

@NvTimLiu could you please upmerge your branch? it looks like some changes to cudf went in and broke backwards compatibility.

build


Use open file explorer directory

It'd be lovely if this plugin could optionally use the currently open file explorer window(s) as the working directory for various commands.
For example code . would be a quite convenient command. (Open current folder in VSCode)
I'd be quite willing to contribute this in a PR.

TODO: https://github.com/jjw24/Wox.Plugin.Runner/pull/27#issuecomment-1186010182


check_estimator

Hello,
I'm currently developing a library thanks to your project, and I notice that in sklearn 0.17 (as seen in the requirements), check_estimator should take a class instance. Whereas in master it should take a class object:
In version 0.17.x
    Parameters
    ----------
    Estimator : class
        Class to check.
    """
    name = Estimator.__class__.__name__

In master
    Parameters
    ----------
    Estimator : class
        Class to check. Estimator is a class object (not an instance).
    """
    name = Estimator.__name__

Any idea on how to handle these different cases?

@RomainBrault You can use an if else statement based on the version number. I can't think of a clearner way to do it.
Thoughts @mblondel  ?

We typically try to maintain backward compatibility for two releases so this seems like a bug.
@amueller Would it be possible to support both classes and instances for two releases?

From the discussion, it seems the 0.17 version is a bug and didn't work.

@vighneshbirodkar Yes, it's what I did, but It looks a bit hackish to do it at user's level.
Anyway If I pass an instantiation of the object in 0.17, check_estimator only uses its class name. I think
it's actually useful if the check is done at the class level: one can do check_estimator(self) instead of check_estimator(self.class).
However if not applying on self, the code in master looks more natural to me (no need to (default) construct the estimator). I would be in favour of supporting both.

In the meantime (I'm looking at current sklearn 0.19.1) check_estimator can work with an instance or class, so this can be closed.


Support for Pie charts

Surprised there's no Pie charts available in this lib!

Me too. 😉

I'll probably add them eventually. On a more personal opinion... I really do not like pie charts. Their use-cases continue to dwindle for me where another chart wouldn't be better.

What are you usually replacing pie charts with?

Bar or column charts almost always.
On Feb 23, 2020, 5:56 PM -0700, Andrew McLagan<EMAIL_ADDRESS>wrote:

What are you usually replacing pie charts with?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

@tannerlinsley if react-charts doesn't support pie charts, it would be a very opinionated stance to take.
Unfortunately, it could impact the reach and popularity of the library, depending on the requirements potential users are facing at work 🙁

Is anyone working on this? I might take a stab at it.

@aericson, I'm refactoring quite a few things to make it so chart types are code-splittable (via import and register). That said, go for it. I would love to see what you come up with :)

@aericson, I'm refactoring quite a few things to make it so chart types are code-splittable (via import and register). That said, go for it. I would love to see what you come up with :)

Cool, I'll see if I get anywhere with it 😁

@aericson @tannerlinsley Is there any update on this?
I'm considering to use this package but pie charts are unfortunately essential for our project...

@laurenz-glueck nothing from me yet. I'm not sure when I'll be able to put the time on this. I'm definitely interested in participating in it. If anyone wants to kick start it go ahead and I'll follow when life allows.

Pie Charts are simply not on the roadmap of this project. Feel free to use d3 directly for this?

@aericson @tannerlinsley Is there any update on this? I'm considering to use this package but pie charts are unfortunately essential for our project...

same

I will not be providing pie chart support any time soon.
On Oct 16, 2021, 11:23 PM -0600, Barry Chapman @.***>, wrote:

@aericson @tannerlinsley Is there any update on this? I'm considering to use this package but pie charts are unfortunately essential for our project...
same
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Any update on this


Question: Is an Access Token valid for multiple resources?

I have a simple question that the documentation doesn't quite answer.
Is an access token, returned as part of the Authorization Code Flow, valid for multiple resources, given those resources have been specified as scopes?
For example:
I have two Web APIs hosted on Azure, with corresponding App ID URIs, api://web-api-1 and api://web-api-2. Having completed the Authorization Code Flow with the scope set to include the above App ID URIs, Is the access token I have received valid for both Web APIs?
Any feedback is much appreciated.

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

ID: fef99ca3-72bb-2c48-a62b-9ff9c314d72b
Version Independent ID: e58fd3a1-0af8-6e16-3d78-3dc748992593
Content: Microsoft identity platform and OAuth Authorization Code Flow
Content Source: articles/active-directory/develop/v2-oauth2-auth-code-flow.md
Service: active-directory
Sub-service: develop
GitHub Login: @rwike77
Microsoft Alias: ryanwi

@aaronjedwards, Thanks for the question! We are taking a look into this and will get back to you soon.

@aaronjedwards, The scope parameter is used to manage permissions to protected resources. When an access token is requested, the client application needs to specify the desired permissions in the scope parameter of the request. Also, the scope parameter cannot be used to specify permissions for multiple resources.
I performed a test using the Authorization Code Grant Flow and in the scope specified the permissions for Graph API and Azure Management API and it fails with the error:
""error_description": "AADSTS28000: Provided value for the input parameter scope is not valid because it contains more than one resource. Scope openid https://graph.microsoft.com/user.read https://management.azure.com/user_impersonation is not valid.""
To conclude, the access token can be issued to only one resource at a time and it cannot contain permissions for different resources specified under a single scope.
Hope this helps.

This is very helpful! Thank you for your quick response.
For anyone else in a similar scenario, I am developing an iOS app and need access to more than one resource, which is why I posed the question above. I've found an issue on the MSAL iOS github that gives me an idea of how to achieve what I want: https://github.com/AzureAD/microsoft-authentication-library-for-objc/issues/774


Fixing the slow down bloats in the respository

To fix the slown down bloats in the repository the .import folder has been deleted from the respository and .import has been add to .gitignore.
Closes related issue: #49
:ballot_box_with_check: Definition of Done checklist

[ ] Meaningful title and valuable description in pull request
[ ] Code change tested manually if not covered by automated tests
[ ] Pull request linked to one or more issues/stories
[ ] Acceptance criteria of the linked stories satisfied
[ ] Code change comprehended by those who approved it
[ ] State of target branch maintained or improved after the code change

@RuthgerD please leave here a review or a just message so that we can proceed with the merge of this branch.
Thank you for your help with this and thank you for creating this issue.

(This might not fix the slowdown because your Git history is now tainted)

(This might not fix the slowdown because your Git history is now tainted)
oh I see, is it possible to fix the slowdown ?

@faisal1201 can you do the checks for the DoD to this.

oh I see, is it possible to fix the slowdown ?

Purge the repo of that file. You can take a page from the GitHub Security handbook
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository#purging-a-file-from-your-repositorys-history


[stdlib documentation] ponylang.org theme colors

What?
Let the stdlib docs shine in a theme of the same colors as the pony website.
Why?
Looks good, doesn't it?

This has been implemented with the new stdlib theme: https://github.com/ponylang/mkdocs-theme


Since last update: cannot read properties of undefined (reading 'header')

Problems with code.
Since the update, I got in some of my notes this error message:
cannot read properties of undefined (reading 'header')
If I deactivate the plugin, everything runs fine.
Windows 10, latest Obsidian, latest CodeblockCustomizer plugin from yesterday.

Did you remove the data.json file, or reinstalled the plugin as written in the readme?

Thanks for your very fast reply. Yes, after I have read your text in the plugin information. ;-)
(Isn't it possible to delete this file automatically in the update procedure?)

Is it working now?
Not that I know of (which doesn't mean it is not possible, only that I haven't found a way for now.). This file contains the settings, and since I remade the settings (because I messed up a few things) it was required to delete the file. In the future there won't be any issue regarding this.

It does not seem to format the code. (I deactivated my own .css.)
This code
# Hier ist ein einfaches Python-Skript, das die aktuelle Uhrzeit ausgibt:
import datetime
# This is the second comment
now = datetime.datetime.now()
print("Aktuelle Uhrzeit:", now.strftime("%H:%M:%S"))

$attachmentsDirectory = "c:\versuch"
Write-Host "lalala"
#Ausgabe einer Meldung, wenn das Verzeichnis attachments nicht vorhanden ist
Write-Output "INFO: Das Verzeichnis $attachmentsDirectory wurde nicht gefunden."

Shows in edit mode as

Shows in view mode as

but not similar to

You have the default Obsidian theme selected. Did you read the readme?
That's how it looks on my machine.

Yes, I use the default theme.
I have activated my css snippet
/* Lösung für den Edit- und den Ansichts-Modus */

.comment  {
display: contents;

}

/* Behebt das Problem mit dem lime Balken im codeblock */
/* Spielt aber in Python itertools.md immer noch verrückt, wenn man die Headline 2 Inhaltsverzeichnis minimiert > */

body > div.app-container > div.horizontal-main-container > div > div.workspace-split.mod-vertical.mod-root > div > div.workspace-tab-container > div > div > div.view-content > div.markdown-reading-view > div > div > div:nth-child(10) > pre > pre  {
    background-color: #0b2b35 !important;

}

/* Code im dark theme
.theme-dark code  {
    background-color: #002b36 !important;
    font-size: 0.3em;

}
*/

/* Ändert die Schriftgröße von mehrzeiligem Code, der durch ein Plugin beeinflusst wird. */
.theme-dark .codeblock-customizer-RVline-text  {
    font-size: 1.3em;
    color: lightyellow;
    background-color: #073642;  /* teal */
}

.theme-light .codeblock-customizer-RVline-text  {
    font-size: 1.3em;
    color: black;
    background-color: #c3c3c3;  /* hellgrau */
}

and the probleme with the line break is gone.

The class codeblock-customizer-RVline-text does not exist anymore.
But you had the same problem last time as well. You definitely have some conflict with something on your machine.

Now I deactivated the classes codeblock-customizer-RVline-text in my custom css.
I remember ...
When I format the code like this, everything is ok? ;-)

They are in the plugin. Selected the solarized theme.

In the moment, I did it right - it suddenly works ... Thank you very much for your great plugin and the fast help!

Anytime :)


Validate Student Login Information with the DAP - BackEnd

This ticket relies on the completion of the student login page.
When a student clicks "submit," please validate their saved login information against the DAP to ensure a student exists for this information.
If one does not, please prompt them to try again, or get in touch with an administrator.
If it does, successful login should start the lessons menu activity.

running instance of mongoDB on cloud server:
IP: <IP_ADDRESS>
Root password: @6SyCb+T(HF8h?@q

access MongoDB running on vulture:

SSH into the server via instructions in previous comment.
Type: npm run dev in the 'snap' directory
verify mongoDB service is running by typing into browser: <IP_ADDRESS>

Link local app to point to the instance by setting MONGODB_URI to the server location (<IP_ADDRESS>)
PLEASE MAKE SURE TO TERMINATE THE MONGODB SERVICE ONCE UR DONE SO IT DOESNT KEEP RUNNING AND RACK UP ALOTTA CHARGES ON THE SERVER PLZ :)


Aligned the profile pic to center

This PR tries to resolve issue #20

I have added the label

Yes , Its reflecting on the website
Thanks a lot :)


Rename wasmtime_api library to wasmtime?

Commit d9ca508f8055ae273c9adcc114181e5782900a1d renamed the wasmtime-api crate to wasmtime, but left the name of the library it contains as wasmtime_api.
It's fairly unusual for a crate to contain a library with a different name, and it results in rather confusing error messages for a user; if you list wasmtime = "0.7" in Cargo.toml, you can't use wasmtime::*, you have to use wasmtime_api::*;.
(Also, docs.rs says that wasmtime-0.7.0 is not a library.)
Is there a strong reason we shouldn't rename the wasmtime_api library to wasmtime, to match the crate name? I'd be happy to submit a PR to that effect.

Yes, renaming the library name makes sense. We want the library user interface to be use wasmtime::⋯.

Rebased. Couldn't test the new version, as witx currently has a build failure.

I managed to track down the build failure with witx:
witx depends on wast = "3.0.1", but it uses the comment() method of the Cursor type, which doesn't exist in version 3.0.1. It exists in the current 3.0.4. So, witx needs an updated dependency. (I can work around this problem by running cargo update, but witx needs a dependency fix.)

Ah, thanks for tracking that down, and fixing it!


feat(app): add admin settings

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


UI Login Glitch

When logged in, the login button still shows instead of the sign out button

I fixed the issue with the UI button

Hey Landon,
Can you remove me from the authorized people's list for the repo, I
believe I am getting all the updates and have access to the repo.
Best,
Samin
On Wed, Sep 14, 2022 at 12:01 PM Landon Gaddy @.***>
wrote:

When logged in, the login button still shows instead of the sign out button
—
Reply to this email directly, view it on GitHub
https://github.com/landog893/CSC-510-Group-21-HW-1/issues/2, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABT5LOPOLUPK5ROCBVJZDZ3V6HZEDANCNFSM6AAAAAAQMR72A4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Samin Yaseer Mahmud
Ph.D Student, Department of Computer Science
North Carolina State University
Email: @.***

Sure thing


Start HUP signal handler earlier

When prometheus starts up and is recovering its state it will not handle
SIGHUPs. If it receives those during this phase it will exit. The change
here makes prometheus ignore SIGHUPs until it is ready to handle them.
Note this is only done for SIGHUP because that signal is used for
trigger a config reload and a such something could already be sending
these signals as part of a config update.

Good catch, thanks.
Could we turn the bool into a channel that blocks the goroutine up to the point we are able to handle SIGHUP so the signal is not lost?

Also, hupIgnore is not protected by a mutex, but accessed from two goroutines. If it's still in the channel-based blocking solution, it needs to be protected somehow.

@juliusv ah, I though flipping a bool would be just fine, but we could do something atomic as well here.

Yep, either use something from https://golang.org/pkg/sync/atomic/ or use a channel to communicate to the goroutine that we reached the point where we're ready to handle signals (better).

ack I will go with a channel based solution.

So instead of the boolean hupIgnore, just block on reading from a channel in the signal handler (before trying to handle signals), and then close() the channel where you currently set the boolean to true.

PTAL.

Could you squash please and remove the web/blob/files.go? This is created on make due to a problem fixed in #793.

:+1: Nice, thanks a bunch!

\o/


Live Server: Initial File on File Preview Should be Expected File on Opening/Reload

Related to #125159 and #125170.
The VS Live Server should have an option to open at the active file, as the existing live server does.

Each HTML file should have a

button to preview it.
The command palette should offer both opening at index and opening at the active file.
Re-opening the editor window with a preview webview open should resume the preview at the same page.

Extra: explorer menu also has option to open the preview for any html file.


⚠ ClamAV has degraded performance

In bf10cf2, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 194 ms

Resolved: ClamAV performance has improved in a88e15e.


Fixed bug where not all 3rd party domains were enabled

Removed the restriction on not sending GPC with requests of type images. Made sure that ALL urls are added to the chrome domain list by keeping a local list of domains for each tab, to fix issue #109 . I created a variable called global_domains that stores all the domains for the current tab and ensures that that entire list is checked against the chrome domain list. This fixes the problem where a domain, such as google.com, would be added to the domain list via chrome.storage.set, but before it could finish uploading to the chrome storage, the chrome domain list was queried with chrome.storage.get at the top of updateDomainsAndSignal which returned a version of the domain list without the new google.com domain. When that google-less domain was itself updated with .set, it would overwrite whatever the chrome domain list was at the time of .setting, meaning that google.com didn't get permanently added to the chrome domain list.
The global_domains variable is wiped every time a new page is loaded to ensure that a huge object isn't built up of all the domains. I was a little shaky on event implementation in JS, because when I tried to add a listener for the DOMcontentloaded event in background.js it only ran once. I used a little workaround where I used chrome.sendmessage to send LOADED in the popup.js DOMcontentloaded event, since I knew that event was being triggered, and then added a listener in background.js for that LOADED message and then wiped global_domains in the listener. This isn't 100% efficient as some domains seem to come in after the DOMcontentLoaded event, but that means that only around 5 or so domains are left in global_domains rather than hundreds, so I think it is a reasonable margin of error.
After some testing it seems that all domains are being enabled correctly on all websites. The one thing to potentially look for is whether this process slows down page loading, as it does involve a O(n^2) for loop, but only over a single tab's requests, which usually aren't more than 100.

Excellent, @dknopf! I will leave the review to @kalicki1.

I used chrome.sendmessage

I do not know this API. The only thing I want to mention is that if it is Chrome-specific it may not work on Firefox (but that is OK with me as Firefox is a secondary concern, in my opinion).

Excellent, @dknopf! I will leave the review to @kalicki1.

I used chrome.sendmessage

I do not know this API. The only thing I want to mention is that if it is Chrome-specific it may not work on Firefox (but that is OK with me as Firefox is a secondary concern, in my opinion).

Sweet job, @dknopf! It looks like it's all set to me, I wouldn't be too worried about Firefox compatibility since we aren't using any new APIs apart from what we have been using. I'll go ahead and approve your pull request.

Sweet job, @dknopf! It looks like it's all set to me, I wouldn't be too worried about Firefox compatibility since we aren't using any new APIs apart from what we have been using. I'll go ahead and approve your pull request.


Bot stops playing after about 50 seconds

When I request a song, it plays the song specified for 50ish seconds (seems to usually be around 55 seconds). After that time has elapsed, the bot stops playing. (Since the music counts as stopped, it automatically disconnects, but that's just normal behaviour)
Steps to reproduce the behaviour:

Join a voice channel
Use "/play query:" where  can be any valid YouTube video link. The bot should join the voice channel you are currently in.
Wait until the music stops playing. This should take at most 60 seconds. (If this fails to occur, I don't know what to do)
The bot should leave the channel after about 10-15 seconds, since the bot is inactive. (This last step is normal behaviour for the bot as far I know)

The expected behaviour of the bot is for it play each requested song through to completion, then leave.
The actual behaviour of the bot is that it each song requested is only partially played before being halted, and then the bot leaves.
Additional context:
If I run the "resume" function, it states that it has unpaused the music, but does it not continue. All other functions (stop, nowplaying, etc) still work.

Hello, can you please send the log from the day that this occurred (this is in the /logs directory) and if possible tell me how you are hosting the bot.

Absolutely, though I'm just about to go to sleep, so I'll get that to you as soon as I remember, after waking up (could be anywhere from 8 to 12 hours)

Log-2023-03-02.txt
I only slightly modified the file. I change the listed bot name and client id to BOTNAME and CLIENTID. They were there, and they matched up with what should have been there, I just modified them since as far as I'm aware, that's not information that's required for you to know.
As far as hosting the bot goes, it's being hosting on a Mac Mini in the basement. The computer is running Ubuntu 18.04.6 LTS, and then I just have a screen session running, which is where the bot is running from. This bot used to work completely fine on this exact same setup about 1 month ago. Last night, I tried to run that same (old) version, and I had the same issue, so I removed the old files, cloned in the current code from Github, followed the install instructions (modifying config.yml, installing npm dependencies, etc.). After fully updating all of that, I was still running into the error.
P.S. I'm fine with it being on such a weak computer, as I'm just running this bot for me and my friends to use, so it's not being used frequently.

Removing your bot’s information is completely fine, I only really wanted to see any errors that had been logged. Unfortunately there aren’t any that have been logged, so I don’t have any immediate fixes I can offer you, but I will have a look into this tomorrow to see if I can recreate your issue.
If it was working fine a month ago, and you’ve tried a previous version that also doesn’t work, it is possible that either one of the packages that Melody relies on has changed, or YouTube have changed someone on their end that breaks something.
I’ll have a look tomorrow, and see if I can find a possible fix.

I am also having this issue. I had another bot using js (that was working fine) and that suffered from the same issue a few days ago. I tried patching it up, but failed, so I tried this bot. Turns out this bot also has the same problem. The bot plays music for about 30-60 secs and then cuts out, disconnects half a minute later. Nothing in the logs.

I'm still working on trying to find a fix for this, I am able to reproduce the error so hopefully I should be able to find the cause fairly soon.

I am also having this issue. I had another bot using js (that was working fine) and that suffered from the same issue a few days ago. I tried patching it up, but failed, so I tried this bot. Turns out this bot also has the same problem. The bot plays music for about 30-60 secs and then cuts out, disconnects half a minute later. Nothing in the logs.

If this issue is occurring with other bots it's most likely the package that Melody relies on causing the issue, thanks for the update!

I've just pushed an update that I believe fixes this issue. Turns out it was Discord that broke it, not YouTube like it usually is which is probably why a number of bots stopped working.
Please download the latest version of the bot, and if you're still experiencing issues, please reply to this issue.
Thanks for everyone's help!


[KED-1010] Optimal Spark Configuration

Description
We have basic support for PySpark workflows detailed here but find that our users will configure Kedro in many different ways. This is a research themes to determine a few things:

What does a best-practice Spark configuration for Kedro look like?
What challenges do our users face while using Kedro and PySpark?
How does Spark interact with our ParallelRunner?
How does Spark interact with kedro-airflow, a Kedro plugin?

Context
This task precedes our support for Dask specified in #144. Users should have a similar user experience setting up Spark and Dask.

Hi everyone, to follow up on the questions in this issue:
What does a best-practice Spark configuration for Kedro look like?
We have updated our documentation to recommend initialising SparkSession in your ProjectContext but not storing it on the context instance. Instead, use the global SparkSession.Builder.getOrCreate to retrieve your session whenever you need it in your pipeline.
What challenges do our users face while using Kedro and PySpark?
Unnecessary SparkSession is created when running non-essential commands (Issue)
A side effect of creating a spark session inside ProjectContext is that all plugins will need to initialise spark session, even if they don't need it. However, the upside is if you use IPython notebook, you don't have to initialise spark session yourself.
In Kedro 0.16, with the introduction of Hooks, a much better place to initialise spark session is the before_pipeline_run hook. Note that if you choose to do this, you will have to remember to initialise the session manually when using IPython notebook.
Parallel runner doesn't work with Spark (Issue)
Kedro's ParallelRunner uses process-based parallelism and that doesn't work with spark session. Instead, we will release a ThreadRunner which offers thread-based parallelism in the next release for users to use alongside Spark.
Users want to take advantage of spark's lazy evaluation and optimiser as much as possible
We will be updating our documentation to show examples as well as principles on how to do this in the future. We will also provide a CLI flag to generate a pyspark project template and will include an option to generate example pipelines as well. Both of this work have been tracked in our internal Kanban board.
Running pysark with kedro-airflow
We are still trying to replicate the issue. Any actual error report would be greatly appreciated.

I'm going to close this ticket, thanks to @limdauto 🥇 These changes were shipped to our docs and as a Kedro PySpark starter.


Issue with logging in

When launching an updated version of chatterino2 it repeatedly comes up with "login expired! Try logging in again." x2 then saying I am disconnected and proceeding to repeat this until the end of time. I've tried going into the settings and removing my twitch, this only makes chatterino2 freeze.

You do not need to sign out, re-adding the account will replace the old one.
The issue you are describing is fixed in code and will be released in a couple days!


HA don't start due to Python 3.7 ModuleNotFound: no module name contextvars.

Home Assistant release with the issue:
Home Assistant version 0.102.2
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):
Mac OS High Sierra 10.13.6 (17G9016)
Python 3.7.0a4
Integration:
Description of problem:
After installation of Python 3.7 I get this error message during H start up:
ModuleNotFoundError: No module named 'contextvars'
I have compared the Python 3.6 installation with my Python 3.7 and the contextvars directory is missing, and so is consequently init.py, __pycache, pycache/init.cpython-36.pyc and all the rest that resides in the 3.6 version contextvars directory.
I have tried to re-install Python 3.7 but the result is the same - contextvars is non-existent in the Mac OS High Sierra Python 3.7 installation.
This makes me really worried since Python 3.6 is suposed to stop working on dec 15, 2019 - just a few days away!
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
Traceback (if applicable):
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/concurrent/futures/_base.py", line 324, in _invoke_callbacks
callback(self)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/futures.py", line 354, in _call_set_state
dest_loop.call_soon_threadsafe(_set_state, destination, source)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 588, in call_soon_threadsafe
self._check_closed()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 332, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
Additional information:
Home Assistant loads properly after changing .bash_profile to point to Python 3.6.
Regarding Python 3.7 PEP 567 copied from https://pypi.org/project/pep567/
PEP 567 Backport
This package implements a backport of Python 3.7 contextvars module (see PEP 567) for Python 3.6.
Important: at this moment this package does not provide an asyncio event loop with PEP 567 support yet. Stay tuned for updates.
Documentation: https://docs.python.org/3.7/library/contextvars.html
Running 'pip install contextvars' and Python 3.7 results in the error/Trace back:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 150, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/tasks.py", line 394, in wait_for
return fut.result()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/asyncio/base_events.py", line 607, in run_in_executor
executor.submit(func, *args), loop=self)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/homeassistant/components/gogogate2/cover.py", line 35, in setup_platform
from pygogogate2 import Gogogate2API as pygogogate2
File "/Users/MiniMac/.homeassistant/deps/lib/python/site-packages/pygogogate2/init.py", line 4, in
from Cryptodome.Cipher import AES
File "/Users/MiniMac/.homeassistant/deps/lib/python/site-packages/Cryptodome/Cipher/init.py", line 27, in
from Cryptodome.Cipher._mode_ecb import _create_ecb_cipher
File "/Users/MiniMac/.homeassistant/deps/lib/python/site-packages/Cryptodome/Cipher/_mode_ecb.py", line 29, in
from Cryptodome.Util._raw_api import (load_pycryptodome_raw_lib,
File "/Users/MiniMac/.homeassistant/deps/lib/python/site-packages/Cryptodome/Util/_raw_api.py", line 87, in
ffi = FFI()
File "/Users/MiniMac/.homeassistant/deps/lib/python/site-packages/cffi/api.py", line 54, in init
backend.version, backend.file))
Exception: Version mismatch: this is the 'cffi' package version 1.11.4, located in '/Users/MiniMac/.homeassistant/deps/lib/python/site-packages/cffi/api.py'. When we import the top-level '_cffi_backend' extension module, we get version 1.13.2, located in '/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/_cffi_backend.cpython-37m-darwin.so'. The two versions should be equal; check your installation.

@Segran have you tried to download the source archive file and then manually install it?
See here for more details.

I have now, but that only works for python 3.6. When Paqt is set to 3.7 this happens:
ERROR: Command errored out with exit status 1:
command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-CZ2oX4/immutables/setup.py'"'"'; file='"'"'/private/tmp/pip-install-CZ2oX4/immutables/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/tmp/pip-install-CZ2oX4/immutables/pip-egg-info
cwd: /private/tmp/pip-install-CZ2oX4/immutables/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/private/tmp/pip-install-CZ2oX4/immutables/setup.py", line 7, in
if platform.uname().system != 'Windows':
AttributeError: 'tuple' object has no attribute 'system'
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Then I would advise you to create an issue in the contextvars repo because this sounds like a problem with contextvars itself.

Ok, thanks for your assistance.
Skickat från min iPad

30 nov. 2019 kl. 17:46 skrev springstan<EMAIL_ADDRESS>
Then I would advise you to create an issue in the contextvars repo because this sounds like a problem with contextvars itself.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.


feat: add Access::try_get_many_mut

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (892c0df) 65.11% compared to head (b2d0aee) 64.81%.
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #54      +/-   ##
==========================================
- Coverage   65.11%   64.81%   -0.31%
==========================================
  Files          85       85
  Lines        5111     5084      -27
==========================================
- Hits         3328     3295      -33
- Misses       1783     1789       +6

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Repo permitted actions should link to Org permitted actions

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#allowing-select-actions-and-reusable-workflows-to-run
What part(s) of the article would you like to see updated?
Allowing select actions and reusable workflows to run should have text that says "if this section is locked, it's probably because the of https://docs.github.com/en/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization#allowing-select-actions-and-reusable-workflows-to-run
Additional information
https://github.com/orgs/community/discussions/108098

@jsoref Thanks for opening this issue! I'll get this triaged for review ✨

taxi 🚍 yên phonghttps://taxibacninh247.vinadigtech.vn/ 🚀 liên tỉnh🚀du lịch🚀đưa đón sân bay
0878_265_228

Emeğinize sağlık

Thanks for the suggestion @jsoref! I went ahead and merged some changes, adding the note from the previous header to this header as well.
We found that folks don't often read a whole page if a Google search (or some other link) lands them directly into a specific header for an article. So including this information in both places is probably really helpful.


Speed-up a operation with GZIP and add KtLint

The process being accelerated is the extraction of the GZIP file to get the size of the file inside.
In fact, this process is skipped, as it is not necessary to extract to get the size of the file inside if it is less than 4gb, because the size appears at the last four bytes in the gzip file, making this operation almost instantaneous.
If the GZIP file is larger than 3gb, or an error is detected in the file size, then the program will do the slow procedure as before: extract the file and count the bits to get the total size.
I tested this on my tablet, and it worked flawlessly with several GSIs.
This PR also has some refactorings, some done manually, and most being done automatically by ktlint.

Thanks for the collaboration, this change will certainly speed up the preparation process (or make it instantenous haha), I've already tested it on one of my devices, and it's working perfectly, a big improvement!


RViz crashes during MoveIt Quickstart in RViz

Description
Overview of your issue here.
I am trying to run the MoveIt Quickstart in RViz tutorial. Unfortunately, RViz crashes during the launch.
Your environment

ROS Distro: Humble
OS Version: Ubuntu 22.04
Source build: Main

Steps to reproduce
I have fairly clean build of Ubuntu 22.04. That said, building Moveit2 was giving me a hard time. I only built successfully once it build with:
MAKEFLAGS="-j4 -l1" colcon build --executor sequential
Expected behavior
The demo should run as designed.
Backtrace or Console output
ws_moveit$ ros2 launch moveit2_tutorials demo.launch.py
[INFO] [launch]: All log files can be found below /home/jake/.ros/log/2024-03-13-11-07-50-050628-jake-Blade-29447
[INFO] [launch]: Default logging verbosity is set to INFO
[INFO] [rviz2-1]: process started with pid [29448]
[INFO] [static_transform_publisher-2]: process started with pid [29450]
[INFO] [robot_state_publisher-3]: process started with pid [29452]
[INFO] [move_group-4]: process started with pid [29454]
[INFO] [ros2_control_node-5]: process started with pid [29456]
[INFO] [spawner-6]: process started with pid [29458]
[INFO] [spawner-7]: process started with pid [29460]
[INFO] [spawner-8]: process started with pid [29462]
[rviz2-1] Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
[static_transform_publisher-2] [INFO] [1710353270.599045049] [static_transform_publisher]: Spinning until stopped - publishing transform
[static_transform_publisher-2] translation: ('0.000000', '0.000000', '0.000000')
[static_transform_publisher-2] rotation: ('0.000000', '0.000000', '0.000000', '1.000000')
[static_transform_publisher-2] from 'world' to 'base_link'
[robot_state_publisher-3] [INFO] [1710353270.626137892] [robot_state_publisher]: got segment base_link
[robot_state_publisher-3] [INFO] [1710353270.626282510] [robot_state_publisher]: got segment bracelet_link
[robot_state_publisher-3] [INFO] [1710353270.626302550] [robot_state_publisher]: got segment end_effector_link
[robot_state_publisher-3] [INFO] [1710353270.626314832] [robot_state_publisher]: got segment forearm_link
[robot_state_publisher-3] [INFO] [1710353270.626325727] [robot_state_publisher]: got segment half_arm_1_link
[robot_state_publisher-3] [INFO] [1710353270.626336031] [robot_state_publisher]: got segment half_arm_2_link
[robot_state_publisher-3] [INFO] [1710353270.626346514] [robot_state_publisher]: got segment robotiq_85_base_link
[robot_state_publisher-3] [INFO] [1710353270.626357257] [robot_state_publisher]: got segment robotiq_85_left_finger_link
[robot_state_publisher-3] [INFO] [1710353270.626367777] [robot_state_publisher]: got segment robotiq_85_left_finger_tip_link
[robot_state_publisher-3] [INFO] [1710353270.626378339] [robot_state_publisher]: got segment robotiq_85_left_inner_knuckle_link
[robot_state_publisher-3] [INFO] [1710353270.626388758] [robot_state_publisher]: got segment robotiq_85_left_knuckle_link
[robot_state_publisher-3] [INFO] [1710353270.626398671] [robot_state_publisher]: got segment robotiq_85_right_finger_link
[robot_state_publisher-3] [INFO] [1710353270.626408600] [robot_state_publisher]: got segment robotiq_85_right_finger_tip_link
[robot_state_publisher-3] [INFO] [1710353270.626418496] [robot_state_publisher]: got segment robotiq_85_right_inner_knuckle_link
[robot_state_publisher-3] [INFO] [1710353270.626443678] [robot_state_publisher]: got segment robotiq_85_right_knuckle_link
[robot_state_publisher-3] [INFO] [1710353270.626450662] [robot_state_publisher]: got segment shoulder_link
[robot_state_publisher-3] [INFO] [1710353270.626458236] [robot_state_publisher]: got segment spherical_wrist_1_link
[robot_state_publisher-3] [INFO] [1710353270.626465807] [robot_state_publisher]: got segment spherical_wrist_2_link
[robot_state_publisher-3] [INFO] [1710353270.626474813] [robot_state_publisher]: got segment world
[ros2_control_node-5] [INFO] [1710353270.638806992] [controller_manager]: Subscribing to '~/robot_description' topic for robot description file.
[ros2_control_node-5] [INFO] [1710353270.640367296] [controller_manager]: update rate is 1000 Hz
[ros2_control_node-5] [INFO] [1710353270.640584825] [controller_manager]: RT kernel is recommended for better performance
[ros2_control_node-5] [INFO] [1710353270.650818834] [controller_manager]: Received robot description file.
[ros2_control_node-5] [INFO] [1710353270.651640178] [resource_manager]: Loading hardware 'KortexMultiInterfaceHardware'
[ros2_control_node-5] [INFO] [1710353270.652670593] [resource_manager]: Initialize hardware 'KortexMultiInterfaceHardware'
[ros2_control_node-5] [WARN] [1710353270.652699997] [mock_generic_system]: Parameter 'fake_sensor_commands' has been deprecated from usage. Use'mock_sensor_commands' instead.
[ros2_control_node-5] [WARN] [1710353270.652734799] [mock_generic_system]: Parsing of optional initial interface values failed or uses a deprecated format. Add initial values for every state interface in the ros2_control.xacro. For example:
[ros2_control_node-5] <state_interface name="velocity">
[ros2_control_node-5]   0.0
[ros2_control_node-5] </state_interface>
[ros2_control_node-5] [INFO] [1710353270.652751403] [resource_manager]: Successful initialization of hardware 'KortexMultiInterfaceHardware'
[ros2_control_node-5] [INFO] [1710353270.652780335] [resource_manager]: Loading hardware 'RobotiqGripperHardwareInterface'
[ros2_control_node-5] [INFO] [1710353270.652798744] [resource_manager]: Initialize hardware 'RobotiqGripperHardwareInterface'
[ros2_control_node-5] [WARN] [1710353270.652813936] [mock_generic_system]: Parameter 'fake_sensor_commands' has been deprecated from usage. Use'mock_sensor_commands' instead.
[ros2_control_node-5] [INFO] [1710353270.652836302] [resource_manager]: Successful initialization of hardware 'RobotiqGripperHardwareInterface'
[ros2_control_node-5] [INFO] [1710353270.652904956] [resource_manager]: 'configure' hardware 'RobotiqGripperHardwareInterface'
[ros2_control_node-5] [INFO] [1710353270.652926715] [resource_manager]: Successful 'configure' of hardware 'RobotiqGripperHardwareInterface'
[ros2_control_node-5] [INFO] [1710353270.652938272] [resource_manager]: 'activate' hardware 'RobotiqGripperHardwareInterface'
[ros2_control_node-5] [INFO] [1710353270.652945529] [resource_manager]: Successful 'activate' of hardware 'RobotiqGripperHardwareInterface'
[ros2_control_node-5] [INFO] [1710353270.652953124] [resource_manager]: 'configure' hardware 'KortexMultiInterfaceHardware'
[ros2_control_node-5] [INFO] [1710353270.652963177] [resource_manager]: Successful 'configure' of hardware 'KortexMultiInterfaceHardware'
[ros2_control_node-5] [INFO] [1710353270.652974837] [resource_manager]: 'activate' hardware 'KortexMultiInterfaceHardware'
[ros2_control_node-5] [INFO] [1710353270.652981752] [resource_manager]: Successful 'activate' of hardware 'KortexMultiInterfaceHardware'
[move_group-4] [INFO] [1710353270.672341286] [move_group.moveit.RDFLoader]: Loaded robot model in 0.0052989 seconds
[move_group-4] [INFO] [1710353270.672404928] [move_group.moveit.robot_model]: Loading robot model 'gen3'...
[move_group-4] [INFO] [1710353270.672421428] [move_group.moveit.robot_model]: No root/virtual joint specified in SRDF. Assuming fixed joint
[ros2_control_node-5] [INFO] [1710353270.783256464] [controller_manager]: Received robot description file.
[ros2_control_node-5] [WARN] [1710353270.783301276] [controller_manager]: ResourceManager has already loaded an urdf file. Ignoring attempt to reload a robot description file.
[move_group-4] [INFO] [1710353270.832842673] [move_group.moveit.kdl_kinematics_plugin]: Joint weights for group 'manipulator': 1 1 1 1 1 1 1
[move_group-4] malloc(): invalid size (unsorted)
[ros2_control_node-5] [INFO] [1710353270.944747493] [controller_manager]: Loading controller 'joint_state_broadcaster'
[ros2_control_node-5] [INFO] [1710353270.957491361] [controller_manager]: Loading controller 'joint_trajectory_controller'
[ros2_control_node-5] [WARN] [1710353270.970609689] [joint_trajectory_controller]: [Deprecated]: "allow_nonzero_velocity_at_trajectory_end" is set to true. The default behavior will change to false.
[ros2_control_node-5] [INFO] [1710353270.974082403] [controller_manager]: Loading controller 'robotiq_gripper_controller'
[rviz2-1] [INFO] [1710353270.990812563] [rviz2]: Stereo is NOT SUPPORTED
[rviz2-1] [INFO] [1710353270.990990897] [rviz2]: OpenGl version: 4.6 (GLSL 4.6)
[spawner-6] [INFO] [1710353270.991016624] [spawner_joint_state_broadcaster]: Loaded joint_state_broadcaster
[ros2_control_node-5] [INFO] [1710353270.992116534] [controller_manager]: Configuring controller 'joint_state_broadcaster'
[ros2_control_node-5] [INFO] [1710353270.992237918] [joint_state_broadcaster]: 'joints' or 'interfaces' parameter is empty. All available state interfaces will be published
[spawner-7] [INFO] [1710353271.002768400] [spawner_joint_trajectory_controller]: Loaded joint_trajectory_controller
[spawner-6] [INFO] [1710353271.002828010] [spawner_joint_state_broadcaster]: Configured and activated joint_state_broadcaster
[ros2_control_node-5] [INFO] [1710353271.004004066] [controller_manager]: Configuring controller 'joint_trajectory_controller'
[ros2_control_node-5] [INFO] [1710353271.004223576] [joint_trajectory_controller]: No specific joint names are used for command interfaces. Using 'joints' parameter.
[ros2_control_node-5] [INFO] [1710353271.004273761] [joint_trajectory_controller]: Command interfaces are [position] and state interfaces are [position velocity].
[ros2_control_node-5] [INFO] [1710353271.004295607] [joint_trajectory_controller]: Using 'splines' interpolation method.
[ros2_control_node-5] [INFO] [1710353271.005583050] [joint_trajectory_controller]: Controller state will be published at 100.00 Hz.
[ros2_control_node-5] [INFO] [1710353271.007092888] [joint_trajectory_controller]: Action status changes will be monitored at 20.00 Hz.
[spawner-8] [INFO] [1710353271.011478647] [spawner_robotiq_gripper_controller]: Loaded robotiq_gripper_controller
[ros2_control_node-5] [INFO] [1710353271.013969993] [controller_manager]: Configuring controller 'robotiq_gripper_controller'
[ros2_control_node-5] [INFO] [1710353271.014043030] [robotiq_gripper_controller]: Action status changes will be monitored at 20Hz.
[rviz2-1] [INFO] [1710353271.015404363] [rviz2]: Stereo is NOT SUPPORTED
[spawner-7] [INFO] [1710353271.017632911] [spawner_joint_trajectory_controller]: Configured and activated joint_trajectory_controller
[spawner-8] [INFO] [1710353271.023057065] [spawner_robotiq_gripper_controller]: Configured and activated robotiq_gripper_controller
[rviz2-1] [WARN] [1710353271.139714520] [rcl.logging_rosout]: Publisher already registered for provided node name. If this is due to multiple nodes with the same name then all logs for that logger name will go out over the existing publisher. As soon as any node with that name is destructed it will unregister the publisher, preventing any further logs for that name from being published on the rosout topic.
[INFO] [spawner-6]: process has finished cleanly [pid 29458]
[rviz2-1] Warning: class_loader.impl: SEVERE WARNING!!! A namespace collision has occurred with plugin factory for class rviz_default_plugins::displays::InteractiveMarkerDisplay. New factory will OVERWRITE existing one. This situation occurs when libraries containing plugins are directly linked against an executable (the one running right now generating this message). Please separate plugins out into their own library or just don't link against the library and use either class_loader::ClassLoader/MultiLibraryClassLoader to open.
[rviz2-1]          at line 253 in /opt/ros/humble/include/class_loader/class_loader/class_loader_core.hpp
[INFO] [spawner-7]: process has finished cleanly [pid 29460]
[INFO] [spawner-8]: process has finished cleanly [pid 29462]
[rviz2-1] [INFO] [1710353271.176152493] [rviz2.RDFLoader]: Loaded robot model in 0.00404517 seconds
[rviz2-1] [INFO] [1710353271.176198601] [rviz2.robot_model]: Loading robot model 'gen3'...
[rviz2-1] [INFO] [1710353271.176211876] [rviz2.robot_model]: No root/virtual joint specified in SRDF. Assuming fixed joint
[rviz2-1] [ERROR] [1710353274.479695119] [rviz2.motion_planning_frame]: Action server: /recognize_objects not available
[rviz2-1] [INFO] [1710353274.512168557] [rviz2.motion_planning_frame]: MoveGroup namespace changed: / -> . Reloading params.
[rviz2-1] [INFO] [1710353274.569129278] [rviz2.RDFLoader]: Loaded robot model in 0.00339469 seconds
[rviz2-1] [INFO] [1710353274.569187604] [rviz2.robot_model]: Loading robot model 'gen3'...
[rviz2-1] [INFO] [1710353274.569195104] [rviz2.robot_model]: No root/virtual joint specified in SRDF. Assuming fixed joint
[rviz2-1] [INFO] [1710353274.688392692] [rviz2.kdl_kinematics_plugin]: Joint weights for group 'manipulator': 1 1 1 1 1 1 1
[rviz2-1] malloc(): invalid size (unsorted)
[ERROR] [rviz2-1]: process has died [pid 29448, exit code -6, cmd '/opt/ros/humble/lib/rviz2/rviz2 -d /home/jake/ws_moveit/install/moveit2_tutorials/share/moveit2_tutorials/launch/kinova_moveit_config_demo.rviz --ros-args -r __node:=rviz2 --params-file /tmp/launch_params_3gp4h4ru --params-file /tmp/launch_params_yf08k9sp --params-file /tmp/launch_params_rexkmkx2 --params-file /tmp/launch_params_gvv5k1nd --params-file /tmp/launch_params_50z88v97'].
[does not exit]
[In a separate terminal:]
~/ws_moveit$ ros2 topic list
/dynamic_joint_states
/joint_state_broadcaster/transition_event
/joint_states
/joint_trajectory_controller/controller_state
/joint_trajectory_controller/joint_trajectory
/joint_trajectory_controller/state
/joint_trajectory_controller/transition_event
/parameter_events
/robot_description
/robotiq_gripper_controller/transition_event
/rosout
/tf
/tf_static
~/ws_moveit$ ros2 node list
/controller_manager
/joint_state_broadcaster
/joint_trajectory_controller
/robot_state_publisher
/robotiq_gripper_controller
/static_transform_publisher
[re-opening rviz in another terminal]
~/ws_moveit$ ros2 run rviz2 rviz2 -d ws_moveit/src/moveit2_tutorials/doc/tutorials/quickstart_in_rviz/launch/kinova_moveit_config_demo.rviz
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
2024-03-13 11:49:25.219 [RTPS_TRANSPORT_SHM Error] Failed init_port fastrtps_port7419: open_and_lock_file failed -> Function open_port_internal
[INFO] [1710355765.428751431] [rviz2]: Stereo is NOT SUPPORTED
[INFO] [1710355765.428805425] [rviz2]: OpenGl version: 4.6 (GLSL 4.6)
[INFO] [1710355765.446369749] [rviz2]: Stereo is NOT SUPPORTED
Warning: class_loader.impl: SEVERE WARNING!!! A namespace collision has occurred with plugin factory for class rviz_default_plugins::displays::InteractiveMarkerDisplay. New factory will OVERWRITE existing one. This situation occurs when libraries containing plugins are directly linked against an executable (the one running right now generating this message). Please separate plugins out into their own library or just don't link against the library and use either class_loader::ClassLoader/MultiLibraryClassLoader to open.
at line 253 in /opt/ros/humble/include/class_loader/class_loader/class_loader_core.hpp
[ERROR] [1710355780.595537032] [moveit_2102874026.motion_planning_frame]: Action server: /recognize_objects not available
[INFO] [1710355780.625788463] [moveit_2102874026.motion_planning_frame]: MoveGroup namespace changed: / -> . Reloading params.
[ERROR] [1710355790.676357208] [rviz]: Could not find parameter robot_description_semantic and did not receive robot_description_semantic via std_msgs::msg::String subscription within 10.000000 seconds.
Error:   Could not parse the SRDF XML File. Error=XML_ERROR_EMPTY_DOCUMENT ErrorID=13 (0xd) Line number=0
at line 715 in ./src/model.cpp
[ERROR] [1710355790.692343543] [moveit_2102874026.RDFLoader]: Unable to parse SRDF
[ERROR] [1710355790.714138958] [moveit_2102874026.planning_scene_monitor]: Robot model not loaded
[does not exit]
Thanks for any advice!

My rqt graphs before and after I restarted RViz

Well, I never figured out exactly why I was getting a namespace issue. But I deleted my .cache, .ros, .rviz, and ws_moveit2 folders and went through the build process again and now things are working. I think maybe what happened what I tried to install Moveit following this page:
https://moveit.ros.org/install-moveit2/source/
and then went on to the getting started tutorial:
https://moveit.picknik.ai/main/doc/tutorials/quickstart_in_rviz/quickstart_in_rviz_tutorial.html
which basically has you reinstall moveit. That makes the most sense to me as far as why I might be getting a weird namespace issue. (I did end up deleting the ws_moveit2 folder before I even got to the namespace issue. Maybe just deleting the .cache folder would have been enough? Who knows.)


[Bug]: java agent安装后，安装状态只有部分数据，请求漏洞地址后没有相关数据产生

Preflight Checklist

[X] I agree to follow the Code of Conduct that this project adheres to.
[X] I have searched the issue tracker for an issue that matches the one I want to file, without success.
[X] I am not looking for support or already pursued the available support channels without success.

Version
1.15.0、1.14.1
Installation Type
Official Docker Compose
Service Name
DongTai-Web, DongTai-Engine, DongTai-agent-java
Describe the details of the bug and the steps to reproduce it
安装命令 ./dtctl install -v 1.14.1
安装命令 ./dtctl install -v 1.15.0
两个版本都试过，同样的问题
安装后显示有2个agent，但是列表没数据

打payload后没有任何数据

部署的webgoat docker 用于测试

agent与server端联通没问题

不清楚问题出在哪里
Additional Information
No response
Logs
No response

reinstall latest docker and docker-compose v1 can fix this problem.
https://docs.docker.com/compose/install/standalone/
./dtctl install -v 1.15.0


Fix external Camel tag and Quarkus-quickstarts test

Fix camel test tag issue, Resolves #2901
Fix quarkus-quickstarts test by skipping rest-client subtest, Resolves #2904

Signed-off-by: Longyu Zhang<EMAIL_ADDRESS>

Test Links:
camel: https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/1507/
quarkus-quickstarts: https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/1508/


'Cannot find lodash/isFunction'

Hi,
On build my app throws the error cannot find module lodash/isFunction, tracing back to request-promise-native. I've tried deleting my node modules folder and reinstalling everything. Does this sound like an inherent error or should I attempt a different fix?
Thanks.

It’s hard to say with the available information what caused this issue but the module is part of the lodash library that gets installed automatically. So most likely this is an issue with the build environment.


[New] Firebase MLKit for iOS v0.11.0

VS bug #732194

@dalexsoto can you review the ApiDefinition again? Thanks in advance!

Nice use of smart enums


Unreadable files cause rflow to crash

Have a directory monitor, run RFlow as some user, then drop a file in the directory owned by root that RFlow can't read or delete. Kaboom, no log message.

Need to note the exact permissions on the directory where we have been having problems in order to test.

Directory in question is owned/grouped by the rflow user; chmod ug+s


Provide the option to break parity and be sane

This is extremely low priority but it came up in coderbus. Right now the unimplemented warnings are sufficient IMO.

This is now doable with pragmas.


JAMES-2514 Upgrade Cassandra 3.11.3 -> 3.11.10

:green_apple: on the CI

Merged

@mbaechler  see https://github.com/linagora/james-project/pull/4284 for a fix for your comments.


VMS build: better treatment of .S -> .obj compilation

It turned out that .S files aren't to be treated as lightly as I
thought.  They need to go through a preprocessing step, which .s files
don't need to.
Corrects #7703

Merged.
master:
e436664828429a23bf210710ede34203bdfdc2b8 VMS build: better treatment of .S -> .obj compilation
1.1.1:
4abca7e9f37c8b6cfc0e5fe1fd7b624e2f14b751 VMS build: better treatment of .S -> .obj compilation


How do I generate the substrait protobuf files with a lower protobuf version

I am importing ibis-substrait codebase into our internal system and hit an issue - Internally we are using protobuf 3.19 which does not work with the protobuf source files in ibis-substrait (I think required >= 3.20). I think there are two ways to move forward:
(1) Upgrade our internal protobuf. I am looking into this but could potentially be difficult to do quickly.
(2) Generate substrait protobuf files myself with a 3.19 and use those files instead of the ones in this repo. I think this gives me move forward faster.
My question is, about (2), is there something already exists in this repo that I can use to generate those protobuf classes?

Hey @icexelloss -- longer-term, I would definitely recommend that you upgrade protobuf -- I think substrait is standardizing around the version defined in their buf spec and that's 3.20.
Shorter-term, this is the shell script that gets run to generate the python stubs:
https://github.com/ibis-project/ibis-substrait/blob/main/shell.nix#L27-L48
the contents of /.proto is a clone of the upstream substrait-io/substrait repo

Thanks for the pointer! I will give it a shot.

Close this now since I think I have what I need. Thx!


chore: Add coverage to gitignore

Right now you're storing coverage in source control, which you shouldn't. Anyone that runs the test locally will override this directory as that is the nature of jest and coverage folder.
This PR removes the coverage folder as well as add it to gitignore

Codecov Report

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

@@          Coverage Diff           @@
##           master     #26   +/-   ##
======================================
  Coverage    87.8%   87.8%
======================================
  Files           5       5
  Lines          82      82
======================================
  Hits           72      72
  Misses         10      10

Continue to review full report at Codecov.

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


Rename & Archive 'cardano-wallet' and create a new fresh repostiory

Context

As described in the roadmap, we are now creating a new repository and moving away from the legacy code. We have a bunch of things to setup in order to achieve this.
Decision

Create a new repository and import relevants bits from the wiki and the github templates. We also need to re-create the Zenhub board and have proper milestones aligned with our roadmap.

Development Plan

[x] I intend to rename the old repository to cardano-wallet-legacy
[x] I intend to create a new fresh repository cardano-wallet
[x] I intend to import relevant parts of the wiki, and leave out whatever concerns the Byron era
[x] I intend to import and adjust the github templates (PR, Task, Bug) we've been using
[x] I intend to setup the Zenhub board to match what's specified in the development process
[x] I intend to create milestones aligned with our roadmap, give end date to milestones and put corresponding issues in their milestones

PR

| Number | Base |
| #24 | master |
QA

New repository created with same name as before cardano-wallet
Wiki populated, removed stuff from the Byron Era (see Wiki)
Added and updated templates for Tasks, Bugs and PRs (removed the "acceptance criteria" section, now conflated with "decisions" and, remove the "retrospective" section; we'll do as part of the iteration planning).
Adjusted Zenhub board
Created corresponding milestones (see Milestones) and added corresponding tasks to milestones

@KtorZ, I am sligthly hesitant on removing the Acceptance Criteria. I acknowledge that in reality it may be  sometimes the same thing, however in my understanding decision is rather to express high level intention of what one wants to do whereas acceptance criteria define set of statements that define when work item is complete and working as expected. Acceptance criteria is really a set of capabilities which can be either passed or failed.
I think I would prefer to call this section Acceptance Criteria rather then Decision or maybe Decision \ Acceptance Criteria or maybe bring back Acceptance Criteria after all?

@piotr-iohk re-introduced the 'Acceptance Criteria' section as part of the template, so this will hold for all new issues we create.

lgtm :+1:

lgtm :+1:


Remove unused parser modes

Summary
This PR removes the Interactive and FunctionType parser modes that are unused by ruff

Test Plan
cargo test

Current dependencies on/for this PR:

main

PR #6228

PR #6227

PR #6229

PR #6230   👈

This comment was auto-generated by Graphite.

Graphite rebased this pull request after merging its parent, because this pull request is set to merge when ready.

@MichaReiser merged this pull request with Graphite.


publish to npm

Hey, great little utility here! Works pretty well so far for us. Any chance you could get this published on npm so we could add it as a dependency for a project of ours?
Thanks!

Done!
https://www.npmjs.com/package/vanilla-ripplejs


VSCode starts and closes chrome debug session rigth away

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:
OS Version:

Steps to Reproduce:

Deploy a new app.
Start debugging session in chrome
Change profile
Close session.

You are now stuck. Anytime you try to start a new session chrome will immediately close.
Additional log from the terminal:
You can now view teamsfx-template-tab in the browser.
Local:            https://localhost:53000
On Your Network:  https://<IP_ADDRESS>:53000
Note that the development build is not optimized.
To create a production build, use npm run build.
webpack compiled successfully
Files successfully emitted, waiting for typecheck results...
Issues checking in progress...

The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command npm run dev:teamsfx" terminated with exit code: 1.
Terminal will be reused by tasks, press any key to close it.

/jsDebugLogs

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Replace serial_num with RNG for standardized note generators

Currently, create_note function takes serial_num as one of its parameters. This requires the user to generate random serial numbers outside of this function. (the reason why we do not generate serial numbers inside the function is because this would not work in no_std context).
However, if we could generate serial numbers inside of the function, this would simplify the interface. It would also let us generate multiple serial numbers (as well as other random values) as required for various scripts (e.g., #363).
One way to do this, is to provide RNG to the function as a parameter. For example, the function could look like:
pub fn create_note<R: Rng>(
    script: Script,
    assets: Vec<Asset>,
    sender: AccountId,
    tag: Option<Felt>,
    mut rng: R,
) -> Result<Note, NoteError>

We could define Rng trait either in miden-objects or maybe in miden-crypto and provide a default implementation for it. The trait itself could be very simple:
pub trait Rng {
    fn next(&mut self) -> Word
}

The default implementation could be based on RPO and seed + counter. This way, it would work in no_std context as well.

We can actually base this on RpoRandomCoin. This could be moved to miden-crypto, and we could implement another trait on it. It could look like this:
pub trait Rng {
    fn draw_word(&mut self) -> Word;

    fn draw_element(&mut self) -> Felt;
}

Though, I don't love the Rng name. So, maybe we could come up with something better.

We now have FeltRng trait in miden-crypto implemented on RpoRandomCoin struct in the same crate. So, we can change our create_note() to look as follows:
pub fn create_note<R: FeltRng>(
    script: Script,
    assets: Vec<Asset>,
    sender: AccountId,
    tag: Option<Felt>,
    mut rng: R,
) -> Result<Note, NoteError>

Closed by #411.


Launch.json: Attach option

The Launch.json Request=Attach option is not documented here.

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

ID: 5b9e8228-e083-4965-22d3-0df35c09ac5d
Version Independent ID: 3707c154-ea6e-c317-217d-6d0e75570c1e
Content: JSON Files - Business Central
Content Source: dev-itpro/developer/devenv-json-files.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Hello, thanks for catching this. It will be added with the next doc refresh. In the meantime, you can read about Attach and Debug Next here.


How to change "Author" when pushed via CLI

When I commit using Git on the CLI, the author of the commit, is shown as "Gogs" in the commit history. How do I change that to the user of the repo?

https://help.github.com/articles/setting-your-username-in-git/

Oh. Didn't know that. But still, How do I change the default username "Gogs" to something else when a user commits without setting his username?

He has to set a username.

Locking this thread according to policy.


Unable to set the signal using set_signal_value (I have added multiple databases)

Is there any chance the signal value will not set because the multiple data bases available. ? Do I need to mention the data base name along with the message?

CAN message should be accessible via CANoe network IL layer.
If the message is sent via CAPL or IG block then it is not possible to set the signal same via py_canoe.
It is a restriction from CANoe COM layer.
You can refer the example configuration available in this git repo for more info regarding simulation node.
Please post the sample configuration which you are facing failure. I will check and let u know the exact reason.

Hello @chaitu-ycr
Thank you for your response.

Do I need to make any special setting for CAN IL?
Is it possible to send the can messages with specific time frames? ex, 20ms,100ms , Cyclicmessage  period 50ms etc...

Hello @chaitu-ycr
With reference to the attached image snap,  I could able to see the engine ECU node  and Light ECU node are"Canoe IL ...", While other nodes are "Prog..."
With modifications are your code I am able to send the diag requests and got responses also.
While unable to set the signal values. is it because the ECU node which I created is not "CANoe IL... " configured ?
How to change the prog node to Canoe IL... node?, Please guide how to create the CANoe IL ... node.

Thank you in-advance.

I am facing a similar issue, can you please guide on how to send can signal using Canoe IL  Layer please ?

Hello,
what if in my database , IL is not used


ERR when invitation

1、run Bob/Ailice agent from "aries-acapy-plugin-toolbox " project，it seems nothing wrong ：

2、set the “event.data” param in the QRCodeScanner interface。

3、run the mobile agent ，error occured ：

So what's the problem，and give some suggestion。
Thank you！

I guess undefined connections here happens when the agent is not initiated. I got the same error but during provisioning.
If the provisioning removed, the agent can be initiated but another issue coming :(.

I guess undefined connections here happens when the agent is not initiated. I got the same error but during provisioning.
If the provisioning removed, the agent can be initiated but another issue coming :(.

yes,  agent is not initiated.  problems occured when running this code in agent init() interface：
    if (genesisPath) {
        await this.ledger.connect(poolName, {
            genesis_txn: genesisPath,
        });
    }
    if (this.inboundTransporter) {
        await this.inboundTransporter.start(this);
    }

In my case, I just removed provisioning part, agent can be initiated. Accepting new invite also works. But there is a problem with receiving messages from mediator. I guess the provision part needs to be done first before making new connection. I am still figuring out on this part too. My problem right now is the provision not work as it keeps showing error here


CentOps: Memory store feature flag

AS A Tester
I WANT to be able to run CentOps using an in-memory store implementation rather than Cosmos
SO THAT I can test the whole solution in scenarios where Cosmos is not available
Application setting on Cosmos that when enable, uses an in memory implementation of the data store.
This is useful for integration testing scenarios that need to happen before Cosmos has been deployed and configured (such as PR pipelines).
Need to investigate whether this setting will require a restart of the service or not. Ideally it wont but tat is not a high priority.
Acceptance Criteria

[ ] CentOps can be configured to use an in-memory store without any external dependencies via an application setting
[ ] Update any relevant tests

@guypritchard I think this can now be closed because https://github.com/buerokratt/CentOps/pull/80 is merged, right?


Trigger translations

Task/Issue URL: https://app.asana.com/0/0/1204100098948920/f
Description
Translations for new copy

Current dependencies on/for this PR:

develop

PR #2907

PR #2908   👈

This comment was auto-generated by Graphite.

@cmonfortep, can I ask you to review the mac string changes? (I've checked all the autofill ones)


Add a JWKS implementation

This PR Draft implements JWK Sets (Part of RFC 7517) for easier handling of sets.
The goal was to make the handling of JWKS easier. E.g.
json = Net::HTTP.get(my_friends_jwks_uri)
jwks = JWT::JWK::Set.new(JSON.parse(json))
jwks.filter! { |key| key[:use] == 'sig' } # Signing Keys only
algorithms = jwks.map { |key| key[:alg] } # & algs_allowed_by_local_policy
JWT.decode some_token, nil, true, algorithms: algorithms, jwks: jwks

my_jwks = JWT::JWK::Set.new # Empty JWKS
my_jwks << JWT::JWK.new(OpenSSL::PKey::RSA.new(2048), use: 'sig')
my_jwks << OpenSSL::PKey::RSA.new(2048)
my_jwks.merge(jwks)
hash = my_jwks.export

The draft allows for basic manipulation of the set:

adding JWKs
merging JWKSs
filtering JWKs inside a JWKS
exporting to Hash

Where possible, I tried to use function names and semantics common in the standard library, to not subvert user expectations.
There are currently no tests or documentation, but I would like to get some early feedback to incorporate :)
The selection of methods on JWKSs is currently based on stuff I find helpful in my projects, so feel free to request any changes.

This is a great idea. Left a few random comments

The uniq! bug seems strange.
It sometimes works for me using the openssl gemfile, and I was hoping that this was some setup-issue, but apparently it is not.
The documentation seems to indicate that uniq! on Arrays filters duplicates as indicated by comparison using .eql?. Comparing the two elements manually using this method shows that they are indeed equal, yet uniq! does not find any duplicates. I think I am missing something obvious here.

The failing test is probably because https://github.com/ruby/openssl/pull/538 has been shipped. Need to make the tests somehow pass on all versions. I'll take a look at this at some point in the near future, on a quick glimpse it looks great.

@bellebaum I fixed the CI for ruby-head could you be so kind and rebase/merge main into your branch?
Also a changelog entry would be great in regards to this feature addition.

Great stuff. Big thank you for putting effort into this!


buildpack should support port config defined in "Passengerfile.json"

When I define a Passengerfile.json with a port specified, the app image built from Passenger Buildpack still defaults to port 3000 when PORT environment variable isn't set.
cat Passengerfile.json
{
  "engine": "builtin",
  "environment": "development",
  "port": 4000
}
...
docker run -p 4000:4000 rails-passenger-builtin
 --> Downloading a Phusion Passenger agent binary for your platform
--------------------------
 [passenger_native_support.so] trying to compile for the current user (vcap) and Ruby interpreter...
     (set PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY=0 to disable)
     Compilation successful. The logs are here:
     /tmp/passenger_native_support-wszuiu.log
 [passenger_native_support.so] successfully loaded.
=============== Phusion Passenger Standalone web server started ===============
PID file: /workspace/tmp/pids/passenger.3000.pid
Log file: /workspace/log/passenger.3000.log
Environment: development
Accessible via: http://<IP_ADDRESS>:3000/

Expected Behavior
Port defined in Passengerfile.json should take precedence over buildpack default (3000)

@paketo-buildpacks/ruby-maintainers I'm happy to pick this up. Please assign it to me (and add it to the workstreams project).
I think we would do something like parse the Passengerfile.json for the port field, and if it exists we can select it instead of the default port in build.go. Sound about right?

Right, because passenger would look for its own config file at startup, and parse the port from there.
I was thinking about how the rackup buildpack does this and forgetting that passenger might be simpler.

As I start to explore this, I think there are three ways a port can be defined. They are as follows (in priority order):

At runtime with the PORT environment variable
In the Passengerfile.json config file
A default value of 3000 hard-coded in the buildpack

Currently we support cases 1) and 3), and I think we should continue to support them with the current priority (i.e. PORT environment variable takes precedence over the default value of 3000).
In order to add case 2) and still support the existing priorities and behavior, I think we need to explicitly parse the port out of the Passengerfile.json and provide it to the start command. This is essentially the same behavior that we see in rackup.
Does this make sense? Am I missing a simpler way to support the existing behavior/priorities while also adding the new feature?

No. I don't think there is anything easier. If we want to support cases 1 and 2 at runtime, then we'd likely need to do what you are suggesting, or use something more complicated like exec.d. I think, with those tradeoffs, the path you've outlined seems reasonable.


Browser support?

This library is for node but we used it in browser as well.
The only issue we have is that currently library supposed to work on node@6+ and up and as result some of the code throws errors in older browsers (IE, etc) since it contains new ES6 syntax.
I think it can be configured to support browsers by few lines of code in .babelrc.
I can create PR for that

RBAC on the client side? For a security issue I don't think it's a good idea.

I like this dependency, but I see that issues already opened without replying, the last commit in the code was last year and I saw an issue where they were working on version 5 since 2018. I am worried about implementing this dependency and that it is abandoned the project.

@alejosv Why do you think so? We have proper data protection on the server. It's not about security but more about code reuse. We use rbac on client side in production for at least a year to guard some routes in SPA and hide/display some blocks based on user permissions.
For example, if you can't create a post you won't see a button Create a post. But even with that button in place server would response with an error (no permission) - so no security issue here

RBAC is not a UI/UX pattern, good practice or design, but rather, it is part of the INCITS 359-2012 standard. In a simple way, the RBAC must define which role has permission to which accesses. Because the management of users, roles and permissions are on the server side, the management must be in the same way.
The response sent by the server should not hide/show elements of the DOM, since it can be manipulated by anyone. Items must be created or not created based on their role. Angular and Vuejs have directives for these cases and common layout patterns like MVC allow in the view to create or not elements in the DOM, this avoids exposing elements that give access to non-granted resources or unwanted shares.
This way a client-side RBAC is not necessary and can be a major security breach.

@alejosv you are right, but you can use it also just for simple cases like "can I show this button/navigation"? The backend can return "You are not allowed" when client try to read something without rights.


Transaction Isolation

AFAICT there is no transaction isolation with this db (version 3.0.10 is currently the latest).
https://jankotek.gitbooks.io/mapdb/content/db/

One DB object represents single transaction. The example above uses single global transaction per store, which is sufficient for some usages

is that correct?

That is outdated, transaction isolation was in 1.0. New version do not have Tx isolation.


Replace SegmentMergeLineage to SegmentLineage

With the updated design (#2715) of segment merge, the metadata format
for segment lineage is changed.

Added segment lineage class which is a wrapper of ZNRecord
Added lineage entry class that represents m->n segment replacement
Added unit test

Description
Add a description of your PR here.
A good description should include pointers to an issue or design document, etc.
Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[ ] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[ ] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes
If you have tagged this as either backward-incompat or release-notes,
you MUST add text here that you would like to see appear in release notes of the
next release.
If you have a series of commits adding or enabling a feature, then
add this section only in final commit that marks the feature completed.
Refer to earlier release notes to see examples of text
Documentation
If you have introduced a new feature or configuration, please add it to the documentation as well.
See https://docs.pinot.apache.org/developers/developers-and-contributors/update-document

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@c139488). Click here to learn what that means.
The diff coverage is 62.10%.

@@            Coverage Diff            @@
##             master    #5534   +/-   ##
=========================================
  Coverage          ?   66.22%
=========================================
  Files             ?     1105
  Lines             ?    56800
  Branches          ?     8490
=========================================
  Hits              ?    37618
  Misses            ?    16393
  Partials          ?     2789

Flag
Coverage Δ

#integrationtests
44.79% <0.00%> (?)

#unittests
56.74% <62.10%> (?)

Impacted Files
Coverage Δ

...not/common/lineage/SegmentLineageAccessHelper.java
0.00% <0.00%> (ø)

...ache/pinot/common/metadata/ZKMetadataProvider.java
68.53% <0.00%> (ø)

.../org/apache/pinot/common/lineage/LineageEntry.java
50.00% <50.00%> (ø)

...rg/apache/pinot/common/lineage/SegmentLineage.java
79.31% <79.31%> (ø)

...apache/pinot/common/lineage/LineageEntryState.java
100.00% <100.00%> (ø)

.../pinot/core/common/datatable/DataTableFactory.java
42.85% <0.00%> (ø)

...not/core/query/reduce/GroupByDataTableReducer.java
93.83% <0.00%> (ø)

...n/java/org/apache/pinot/core/common/Constants.java
0.00% <0.00%> (ø)

...org/apache/pinot/broker/queryquota/HitCounter.java
100.00% <0.00%> (ø)

...form/transformer/datetime/SDFToSDFTransformer.java
100.00% <0.00%> (ø)

... and 1100 more

Continue to review full report at Codecov.

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


Minor fix on AddTableCommand.toString()

Fix the missing space after -realtimeTableConfigFile
Minor cleanup

Codecov Report

Merging #11082 (17bead3) into master (1cdcf70) will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #11082     +/-   ##
=========================================
  Coverage    0.11%    0.11%
=========================================
  Files        2203     2148     -55
  Lines      118134   115611   -2523
  Branches    17876    17570    -306
=========================================
  Hits          137      137
+ Misses     117977   115454   -2523
  Partials       20       20

Flag
Coverage Δ

integration1temurin20
?

unittests1temurin11
?

unittests1temurin17
?

unittests1temurin20
?

unittests2temurin11
?

unittests2temurin17
?

unittests2temurin20
0.11% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 57 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


How to Asp.net Core 3.0 User Identity can reproduce

How to reproduce user manager without using dependency injection Asp.net Core User İdentity. Gives error when generated as follows
public UserManager<ApplicationUser> _userManager = new UserManager<ApplicationUser>(new UserStore<ApplicationUser>(new DatabaseContext()),null,null, null, null, null, null, null, null);

but, No problem when I reproduce Identity Role
public RoleManager<IdentityRole> _roleManager = new RoleManager<IdentityRole>(new RoleStore<IdentityRole>(new DatabaseContext()), null, null, null, null);

How should I proceed? I couldn't find the sample code.Thanks for reply
Thank you in advance to everyone who replies

You would new up all the other classes required, rather than pass in null. You're heading deep into unsupported territory, and really you'll need to look through the source code to see what is needed.

You would new up all the other classes required, rather than pass in null. You're heading deep into unsupported territory, and really you'll need to look through the source code to see what is needed.

Hello blowdart,
I solved the problem, thank you for your comment
  static IUserStore<ApplicationUser> _store = new UserStore<ApplicationUser>(new DatabaseContext());        static UserManager<ApplicationUser> _userManager = new UserManager<ApplicationUser>(_store, null, new PasswordHasher<ApplicationUser>(), null, null, null, null, null, null);

I solved the problem, thank you for your comment
static IUserStore _store = new UserStore(new DatabaseContext()); static UserManager _userManager = new UserManager(_store, null, new PasswordHasher(), null, null, null, null, null, null);


Deleting multiple images but preserving data

Hi,
How do I deleting multiple images but preserving data?

The plugin does not provide this functionality. This is something you'd need to do yourself in your controllers delete method.
The plugin works by hooking the afterDelete callback when deleting an entity to remove the related uploads.
The ProfferPath class provides methods which you can use to clear uploads from your system.
// Create a new path instance using the current table, the entity which the uploads are for, and the configured upload field, along with any settings for that field as configured in the behaviour.
$profferPath = new Proffer\Lib\ProfferPath($table, $entity, $field, $fieldSettings);
// Use the path class to delete all the files and the containing folder.
$profferPath->deleteFiles($profferPath->getFolder(), true);


Weltschmerz fails to populate chunks for negative values

If the player position is currently negative in the voxel world, any chunks within X radius around the player will not populate since Weltschmerz will not populate chunks with negative coordinates.

Weltschmerz doesnt have support for seamless generation


Add Anonymized Magnitude Metrics

After typing the signature, assume the check has been deposited / payment completed, and ping home with a magnitude of the check so that we have some visibility as to the numbers flowing across the service, without ever keeping a record of the information on the check.
I like Math.log10() for getting the magnitude of a number (how many zeros essentially), but we could also divide by 100 and Math.trunc it and specify the resolution that way.

To clarify, for transparency & audit-ability, this is per my request - not Colten's proposition, though Colten thoughtfully contributed even better ways to anonymize/privacy-ize it if (which I am) require this.
Since PAY/checkard is the first time in a decade of privacy/Open Source that I'm doing for purpose of profit > value/engineering, I am taking the stance that if anyone disagrees with our ethics/sensitivity they can fork the project, there is no way (as we add increasingly more features) we'll be able or should avoid compliance/reporting - the whole point of (the non p2p parts of) PAY is to provide corporate shielding & services for content creators and smaller entities that may not have the expertise on how to navigate that.
So the amount of effort we're going to minimize & anonymize already is a disservice to us trying to help others, but I'm doing it anyways because I care about privacy. Magnitude/rounded stats let's us determine success of Checkard without disclosing anything. If you're (generic) angry about this, you'll want to close your bank account (and all that it spies on you) as an earlier act of justice than/before writing comments here/about PAY.

#19