allow_self_assume_role generates errors

Description
I have an issue while creating a simple role with allow_self_assume_role.
Versions

Module version [Required]: 5.5.2

Terraform version:
1.1.2

Provider version(s):

Terraform v1.1.2
on linux_amd64

provider registry.terraform.io/hashicorp/aws v4.36.0

Reproduction Code [Required]

Steps to reproduce the behavior:
provider "aws" {
  region     = "eu-west-2"
}

module "mytest" {
  source  = "terraform-aws-modules/iam/aws//modules/iam-assumable-role"
  version = "~> 5.5"

  trusted_role_services = [
    "ec2.amazonaws.com",
  ]

  allow_self_assume_role = true

  create_role = true

  role_name         = "mytest"
  role_requires_mfa = false

  custom_role_policy_arns           = ["arn:aws:iam::aws:policy/PowerUserAccess", "arn:aws:iam::aws:policy/IAMFullAccess"]
  number_of_custom_role_policy_arns = 2
}

Expected behavior
terraform plan should return no errors
Actual behavior
╷
│ Error: Reference to undeclared local value
│
│   on .terraform/modules/mytest/modules/iam-assumable-role/main.tf line 26, in data "aws_iam_policy_document" "assume_role":
│   26:         values   = ["arn:${local.partition}:iam::${local.account_id}:role${var.role_path}${local.role_name_condition}"]
│
│ A local value with the name "partition" has not been declared.
╵
╷
│ Error: Reference to undeclared local value
│
│   on .terraform/modules/mytest/modules/iam-assumable-role/main.tf line 26, in data "aws_iam_policy_document" "assume_role":
│   26:         values   = ["arn:${local.partition}:iam::${local.account_id}:role${var.role_path}${local.role_name_condition}"]
│
│ A local value with the name "account_id" has not been declared.

I just realised this is the same as #289 . Waiting for that fix.


add javadocs and update discord server link

I might add JavaDocs in the future, for now the documentation will have to suffice.
About the Discord server, please see issue #149.
Closing issue.


Require rubygems and bundler/setup in Rakefile

Resolves #278

Thanks, I'm so used to running bundle exec I think


update readme

Supersedes #345
@camilasan you went most recently through the process, could you have a quick look and see if it seems ok to you?

Besides my comment, the rest looks correct :)

:+1:


Functionality "Refresh Token" in tab "OAuth 2" does not get authentication token

Expected Behavior
The authentication token should be generated normally, as it was generated in versions prior to version 2021.5.3 regardless of the application environment.
Actual Behavior
Since version 2021.5.3 I cannot use the Refresh Token functionality in a local environment because whenever I click on the Refresh Token button I get the error Failed to fetch token url=https://localhost:5001/connect/token status=0 no description provided. However, if I point it to any environment other than localhost, the functionality presents no problem.
This functionality, until version 2021.5.3, works without any problems, but since then I can no longer use it with the new versions. Also, when I click on Response Timeline, no information is shown on the screen. See the images below:
https://prnt.sc/wMfyHsCQpS88
https://prnt.sc/Xu9dRoy_qmRi
https://prnt.sc/gyOAUv8ZIiLP
Reproduction Steps

In the OAuth 2 tab , enter the necessary data of grant type, access token url, client id and client secret;
Click on the Refresh Token button.

Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
No response
Insomnia Version
2022.7.5
What operating system are you using?
Windows
Operating System Version
Windows 10
Installation method
Download from Insomnia
Last Known Working Insomnia version
2021.5.3

Me too , the OAuth works once and only with one of my APIs ( everytime I reinstall everything is different ) but all the other ones in my workspace can't do anything.
I've to manually reinstall everytime the 2021 Insomnia.Core-2022.6.0.dmg because it's the last version where I can at least manually insert the token in the three last sections  ( and even If I uncheck the auto update, it auto updates itself )

I am getting this as well. Although in this case I fetch the token from our auth server and run the request against a server running on localhost, I still get the "status=0 no description provided" response with no further details on what went wrong.

@filfreire I am tagging you here as this issue persists in version 10.2.0 and this issue was disregarded for quite a long time. What is need to fix this?


clear leaves the first line currently displayed over

Windows terminal version
1.13.11432.0
Windows build number
10.0.22000.795
Other software
None.
Steps to reproduce

Open PowerShell or Command prompt.
Make the text span more than one screen.
Run clear or cls.
Use the mouse wheel to scroll up.

Expected behavior
The scroll isn't possible as there is no longer any text above the currently displayed screen section.
Actual behavior
There is one line left over that is shown when scrolling up, which is the first line in the currently displayed screen section before the clear command is executed. When typing the scrolling snaps back to the line with the prompt, hiding the leftover line.

I fully suspect that this is the same issue we fixed in #13324, which we were originally tracking in /dup #5770


[SPARK-14279][BUILD] Pick the spark version from pom

Changes are already merged in master (https://github.com/apache/spark/pull/13061) . This one's for branch-2.0

Can one of the admins verify this patch?

hm maybe no need to do this for branch-2.0, since it's pretty easy to do this manually once or twice for 2.0.x.

Dhruve points out above an instance where a previous release wasn't properly changed and now Spark is printing the wrong version in branch-2.0; so I think this change does help.

ok to test

Test build #60073 has started for PR 13530 at commit 9c14834.

Test build #60073 has finished for PR 13530 at commit 9c14834.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/60073/
Test PASSed.

Personally I would like to see this go into branch-2.0 also. it doesn't seem very risky but has benefits to both dev and end users.  @rxin do you have strong objections?

sounds good go ahead

Merging to 2.0.

@dhruve could you close the PR? The bot doesn't do it automatically for backports. thx

@vanzin. Thanks for reviewing & merging the PR. Have closed it.

spark-version-info.properties cannot be found in my develop machine, and will cause NPE while debugging with IDE, should we add the default version info back for developers like me?

@chenghao-intel  can you file a jira with the details on what you are doing and link to the original jira?


codebeat badge

Is it fine to add codebeat badge to README?
codebeat is automated code review tool for Swift,Ruby,Go & Python that helps get instant feedback on code quality.
"Quick wins" suggested by codebeat could be a nice candidate for a pull request and help other developers become contributors.
FYI. To be fully open and honest. I'm co-founder of codebeat.

@korzonek Thanks for the information you provided. But we have enough badge right now. We want to evaluate the tool before using it. Adding a badge is simple and maintaining it is not. Adding a CI means we need to take care of that CI. Adding a code quality indicator means we need to understand it and make sure it makes sense.
We are not ready for codebeat at this moment. Sorry!

@xiang90 I fully understand.
It would be super if you would give a try to codebeat.
Please check refactoring opportunities suggested by codebeat and if you interested please check our documentation where we write how we do what we do :)


Massive gotcha in deep equality example (and arguably, bug)

There is a really big gotcha in the lodash isEqual example for a custom selector that leads to terrible performance for large data structures.
The root cause is in defaultMemoize, where if the equality check passes, the lastArgs variable isn't updated (code here). The result is that if you have two objects that are deep equal but not shallow equal, lastArgs will never updated but every change will require a deep equality comparison. If the data structure is complex, this is really expensive and actually way worse than just failing the shallow equality check early.
In the pathological case, you could have the dependencies of a selector go something like the following:
null -> a // a is stored
a -> b // a !== b but _.isEqual(a, b) is true, so b is not stored
b -> b // requires deep equality check when shallow would do
b -> b // and again
...

So even if b never changes the entire rest of the time, it will still require deep equality checks every time the store changes.
Is there any reason not to always save the current args to lastArgs? For our case at least, that seems totally reasonable and allows the shallow equality check in _.isEqual to work most of the time.
At the very least, I think this should be noted in the docs. I'm happy to write the copy if that'd be helpful. I'm also happy to open a PR with the change. Here's the custom memoizer we wrote (in ES6), which comes down to defaultMemoize with the aforementioned tiny tweak:
function customMemoize(func, equalityCheck) {
  let lastArgs = null;
  let lastResult = null;
  return function() {
    let _len = arguments.length;
    let args = Array(_len);
    for (let _key = 0; _key < _len; _key++) {
      args[_key] = arguments[_key];
    }

    const hasNotChanged = (lastArgs !== null && lastArgs.length === args.length &&
      args.every((value, index) => {
        return equalityCheck(value, lastArgs[index]);
      })
    );

    if (!hasNotChanged) {
      lastResult = func(...args);
    }
    // Storing this even if hasNotChanged is true is the deviation from `defaultMemoize`
    lastArgs = args;
    return lastResult;
  };
}

Good catch. It looks like it should be backwards compatible? If so I can't think of a reason not to accept a PR.

Sounds good, I'll try to get one open this weekend :)

Faster than I thought, lol

Are there tests to run or anything?

Found them and they're passing :)


MH-13238, check max attempts before setting error state for related services

The test had to be fixed as it appeared to be written to match the results not the expected behaviour

Any advice on how to test this?

also the first clause
 if (job.getStatus() == FAILED)
then set the related services from ERROR to WARNING and WARNING to NORMAL. This is all messed up surely

Sorry, it's taken me a bit to get my head around the related services and why they were being blamed when the job succeded on the current service and visa-versa. I've added a comment in the first clause to make this clearer

@JamesUoM Looks good! But this should probably not go into 4.x since there won't be another release. Since this changes the way services go into error state, maybe this should even go into develop...what do you think?

Move to develop https://github.com/opencast/opencast/pull/615


Custom hover behavior

Hi everyone!
I'm creating a Treemap and I need to customize it. Following the documentation and making a few attempts, I was able to make all the changes that interested me, with the exception of handling the hover behavior.
I would need to create two separate custom behaviors for hovering over the chart and over the legend. Is this possible?
Up until now, I've tried modifying the hover and mouseenter methods, but to no avail.
Thanks a lot for your work.
Michela

Hi @michelacerro, check out this other issue, which includes example code showing how to assign different functions to the shapes in the chart and the legend: https://github.com/d3plus/d3plus-storybook/issues/22

Hi @davelandry, thanks for the reply.
I've tried changing the "mouseenter.shape" and "mouseenter.legend" functions, but I can't figure out what they expect to return.
For clarity, in this specific case, I would like not only the element the mouse is over to go into the "hover" state, but also its siblings, the other elements belonging to its group.

Or, if that's not possible, how can I access the nodes of these elements to be able to manually edit their style?
Could you give me an example?
Thanks in advance,
Michela

@michelacerro the mouse event functions are not expected to return anything, but rather simply execute code when that even occurs.
What you are trying to do is possible, but might require some complex JavaScript to access some internal states of D3plus. If you use a name/non-anonymous function, like in the following example, you can get access to this, which is the internal state of the current viz executing the mouse event:
on: {
  "mouseenter.shape": function myFunctionName(d) {
    const vizState = this;
    // do stuff here!
  }
}

Take a look at the default mouseenter function (which you may want to remove, by passing null). In it, it uses some internal (undocumented 😅) d3plus methods to identify the elements unique keys, and uses those to set the hover method. The hover method (publicly accessible) is what allows you to "highlight" certain data points, and is used internally for the default hover events. The function provided to hover is expected to return true or false based on the data point d passed to it (it is used internally as part of a filter function).
https://github.com/d3plus/d3plus-viz/blob/master/src/on/mouseenter.js

@davelandry thanks a lot for this explanation, it is very helpful! :blush:


feature request: include files

It would be nice if we could includes files in the mkd and have them pasted into the XML.
This would be useful for including YANG definitions into RFCs.  So in particular being able to style them as code blocks would rock.

This is such a great feature request that it was implemented about six years ago :-)
README.md says:
(0.x:) Files can be included with the syntax {::include fn} (needs
to be in column 1 since 1.0.22; can be suppressed for use in servers
by setting environment variable KRAMDOWN_SAFE since 1.0.22).  A
typical example from a recent RFC, where the contents of a figure was
machine-generated:
~~~~~~~~~~
{::include ../ghc/packets-new/p4.out}
~~~~~~~~~~
{: #example2 title="A longer RPL example"}

[That RFC is RFC7400.]
These includes paste in the markdown though; do you really need to paste in XML?

cabo<EMAIL_ADDRESS>wrote:
> This is such a great feature request that it was implemented about six
> years ago :-)
> README.md says:

Damn.  I searched source code for include, but not in the README...
> (0.x:) Files can be included with the syntax {::include fn} (needs
> to be in column 1 since 1.0.22; can be suppressed for use in servers
> by setting environment variable KRAMDOWN_SAFE since 1.0.22). A
> typical example from a recent RFC, where the contents of a figure was
> machine-generated:

> ~~~~~~~~~~
> {::include ../ghc/packets-new/p4.out}
> ~~~~~~~~~~
> {: #example2 title="A longer RPL example"}

> [That RFC is RFC7400.]

> These includes paste in the markdown though; do you really need to
> paste in XML?

Hmm. I'd have to put the ~~~~~~~~ into the other file.
It would be nice to have a codeinclude or something like that...
--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        | network architect  [
]<EMAIL_ADDRESS>http://www.sandelman.ca/        |   ruby on rails    [

On 26 Feb 2017, at 03:06, Michael Richardson<EMAIL_ADDRESS>wrote:

Hmm. I'd have to put the ~~~~~~~~ into the other file.

Please explain.  What is the other file?  Why?

It would be nice to have a codeinclude or something like that...

The main problem with this is that there are so many parameters one could think of that it is easier just to write the ~~~ (and possibly an attribute list, as in the example) around the include.
Grüße, Carsten

cabo<EMAIL_ADDRESS>wrote:
> On 26 Feb 2017, at 03:06, Michael Richardson
><EMAIL_ADDRESS>wrote:
>>
>> Hmm. I'd have to put the ~~~~~~~~ into the other file.
> Please explain. What is the other file? Why?

I was thinking that once I wrote made the code block with the ~~~~~~~~~, that
everything in between would be interpreted literally, so I couldn't put the
include in there.
>> It would be nice to have a codeinclude or something like that...

> The main problem with this is that there are so many parameters one
> could think of that it is easier just to write the ~~~ (and possibly
> an attribute list, as in the example) around the include.

But, how do we write examples that start with {:include ? Is there an escape
for that?
--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        | network architect  [
]<EMAIL_ADDRESS>http://www.sandelman.ca/        |   ruby on rails    [

On 26 Feb 2017, at 17:33, Michael Richardson<EMAIL_ADDRESS>wrote:

cabo<EMAIL_ADDRESS>wrote:

On 26 Feb 2017, at 03:06, Michael Richardson
<EMAIL_ADDRESS>wrote:

Hmm. I'd have to put the ~~~~~~~~ into the other file.

Please explain. What is the other file? Why?

I was thinking that once I wrote made the code block with the ~~~~~~~~~, that
everything in between would be interpreted literally, so I couldn't put the
include in there.

No, as the example shows, the {::include …} is interpreted everywhere in the original input file (no nesting, though).  Actually, this code runs before even the markdown parsing starts.

But, how do we write examples that start with {:include ? Is there an escape
for that?

If you care about that example being in column 1, you can't, no.
Is that a problem for you?
(It might be for the upcoming I-D about kramdown-rfc.)
Grüße, Carsten

On 26 Feb 2017, at 18:23, Carsten Bormann<EMAIL_ADDRESS>wrote:

If you care about that example being in column 1, you can't, no.

That is of course true only if you insist on using the ~~~ form.
Workarounds:
(1) include a file with the {::include text in it (includes do not nest)
(2) use indented code blocks as in
Include your file fn.md with

    {::include fn.md}
{: #example-with-include}

Grüße, Carsten


OpenJump should depend on Java

Issue description
OpenJump, being a Java application, needs a JRE (and more specifically, the java command) to run, but doesn't currently pull that in.
Steps to reproduce
nix-shell -p openjump --run OpenJump on a system without Java installed globally results in
which: no java in (/nix/store/3szk4257s9400bw97a7fg2fdgsy6f1di-openjump-1.3.1/bin:/nix/store/48rw1wqh28whw8xdnnfsk2153vspjgsf-patchelf-0.9/bin:/nix/store/jh856w2kbmszb3vn0gq2clc2rs197fll-paxctl-0.9/bin:/nix/store/5l6b97jscljkvsq9y9amg71v5jfzddm4-gcc-wrapper-6.4.0/bin:/nix/store/3p1b66av1sflap15jr4b8z6hw28fmjam-gcc-6.4.0/bin:/nix/store/klwxxrlgalq49cjnczvgha3j7l00jixw-binutils-2.28.1/bin:/nix/store/5yls004wxgb5ihhj94kyc82s2f1qlw3z-glibc-2.25-123-bin/bin:/nix/store/4bh7qhnrjk8cgd1bh7nr0glbga0aasdx-coreutils-8.28/bin:/nix/store/4bh7qhnrjk8cgd1bh7nr0glbga0aasdx-coreutils-8.28/bin:/nix/store/y936jxj0dl6rm9v6hrjz945361s73bcx-findutils-4.6.0/bin:/nix/store/d9b634g64hx785ypr6sn721l4sy4i7yn-diffutils-3.6/bin:/nix/store/za5n7hg16pnkvdrnnh7fxy9hsx9pp2i6-gnused-4.4/bin:/nix/store/h6vf6alpgnynlx1w9xwlaqhnjybjvy2x-gnugrep-3.1/bin:/nix/store/xxsx4amblqfnd2544gk5rk2xd935aihr-gawk-4.1.4/bin:/nix/store/0lyn8v4w3cd70hzg5md0xwhykhlbsq9f-gnutar-1.29/bin:/nix/store/93hb9j4n685dr698qq0j7ip0p2mss4lm-gzip-1.8/bin:/nix/store/7hdn84ab02qar14qpy5l4z4diw726rb4-bzip2-<IP_ADDRESS>.1-bin/bin:/nix/store/7wdyvzy6f07idfijhxx9xzn5plzji0bx-gnumake-4.2.1/bin:/nix/store/jgw8hxx7wzkyhb2dr9hwsd9h2caaasdc-bash-4.4-p12/bin:/nix/store/32glzc7751ybdy7i93j97iy6nqglmg1b-patch-2.7.5/bin:/nix/store/xjpzzdl3mh8v1wcbxrlgm2p9mnhlys6y-xz-5.2.3-bin/bin:/nix/store/z61y0s2xzngyxy8pndp9hqq23s7z1ywq-unzip-6.0/bin:/nix/store/kgid3ll10cmq52jnq1dgw1nnw6js422z-glib-2.52.3-dev/bin:/home/das-g/bin:/run/wrappers/bin:/etc/per-user-pkgs/das-g/bin:/home/das-g/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin)
openjump.sh: Zeile 69: -cp: Kommando nicht gefunden.

Technical details

system: "x86_64-linux"
host os: Linux 4.9.86, NixOS, 17.09.3222.21693048d72 (Hummingbird)
multi-user?: yes
sandbox: no
version: nix-env (Nix) 1.11.16
channels(root): "nixos-17.09.3222.21693048d72"
channels(das-g): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

This needs to be wrapped with wrapProgram as described in the manual: https://nixos.org/nixpkgs/manual/#sec-language-java

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me".

still important to me


Incorrect error message

I ran across an incorrect error message while using tomli.loads. See the snippet below
import tomli
>>> tomli_str = b'test="a"'
>>> tomli.loads(tomli_str)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "venv\lib\site-packages\tomli\_parser.py", line 74, in loads
    src = __s.replace("\r\n", "\n")
TypeError: a bytes-like object is required, not 'str'

Note the actual text of of the type error. It indicates it wants "a bytes-like object is required, not 'str'". Except it was passed a bytes like object and consulting the documentation loads actually wants a str object. So error message text is wrong and in fact opposite of what the function actually wants.
I generated this error using tomli 2.0.1

Thanks for the issue!
The error message is bad because it is not raised directly by tomli but the bytes.replace method of the unsupported bytes object. Tomli let's it bubble up.
Question to @encukou: Does tomllib (or CPython in general) care about PRs that improve error messages like this?

Yes, the CPython PRs would be welcome. Ping me so it doesn't get lost in the review queue.


loggin user with auth.login just hangs for ever

So I have setup authentication with nhost-dart following the guideline from this repository:
final nhostClient = NhostClient(baseUrl: authUrl);
...
Widget build(BuildContext context) {
    return NhostAuthProvider(
      auth: nhostClient!.auth, <---
      child: NhostGraphQLProvider(
        nhostClient: nhostClient,
        ...

Now in my login.screen, I call await auth.login(email: __email, password: __password);
This call just takes for ever (2 to 3 minutes) and then crashes the following exception:

This behavior is not consistent. I would say it happens in 40% of cases.
Thank you for any help on finding a solution.

@seyaobey-dev What was the fix for this issue? Might be useful for the next person having the same problem and finds this issue.

@elitan Before nhost.io I was using the normal flutter_graphql library, connnected to my custom nest.js server. I suspect there was conflict somewhere in my code between the 2 settings, so probably not an issue with nhost.io.
I wanted to delete this issue but there is only the close option.


The dashboard only shows older versions of our app on mobile devices

What App Center service does this affect?
This is about the downloadable versions of our app on the dashboard, but only on mobile devices.
Describe the bug
The newest version of our app on the dashboard is months old, although we upload new versions almost every day. The weird thing is that this only happens in the HockeyApp app or the mobile website. If you instruct the browser to get the desktop version of the website, the newer versions appear.
On the App Center website it's a mixed bag. Some devices show the newest versions, some not even if you request the desktop website.
If the bug appears, the version that is wrongfully shown as the newest is always from the 30th January, maybe this date has something to do with it.
Expected behavior
The available verisions of our app should be the same, no matter if you use the HockeyApp app, the mobile website or the desktop website.

Hello, can you please open an intercom ticket for this bug so someone on DRI can take a look at this? The intercom button is on the lower right-hand corner of the appcenter.ms website.
Closing this.


Edit router problems

Currently, accessing to /post/id/edit directly from the browser doesn't load anything. This will be solved using <script src="/static/bundle.js"></script> instead of <script src="./static/bundle.js"></script> index. Fixing this, the only parameter the Draft component will load is the image route.

@Amorino wanna send a PR for that?

I will try. I'm not familiar with the code, maybe you can fix it quicker. I think the problem is the initialState of the Draft component.

I think the code itself is fine. the issue is the . in the <script src="">
the PR from #10 should fix that

Yeah, what I'm referring is:
If you enter the edit (eg. localhost:3000/post/1/edit) Route from browser, the state for the Draft component is empty (new Post).

ok thanks! I'll look into it and I get back to you


Enhancement Modify cloud default stale rowset recycle time

What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Modify cloud default stale rowset recycle time from 3h to 0.5h, aligned with the computing-storage integration version.
Release note
None
Check List (For Author)

Test

[ ] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[ ] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?

run buildall


Duplicate id for the same dependency

I'm playing with Browserify and React today and in my bundle I'm noticing that React is loaded with 2 different dependency number. One is 158 and the other is 314.
In the bundle file, I can see this for 314
314:[function(require,module,exports){
arguments[4][158][0].apply(exports,arguments)
},{"./lib/React":187,"dup":158}]

158 is basically just a shortcut for module.exports = require('./lib/React'); which is 187.
My code is broken because of that, because it loads the dependency twice.

I've created an example to illustrate the bug. You can find the code in this repo: https://github.com/tleunen/browserify-1181
In this file (app.min.js), you can find React twice with 2 separate ids (at the end of the file).
And the way I can reproduce it is by including a file from a top directory (like in this file).

This is deduping behavior caused by an upstream dependency requiring the same version of react. If you npm dedupe or rm -rf node_modules; npm install you'll probably not get this problem. You should also upgrade to a very recent version of npm since a lot of work has recently gone into fixing deduping.

@substack You're correct.  React borks like crazy if there are multiple versions trying to co-exist.

I'm experiencing a similar issue with a module attempting to inject itself into jquery. Removing the duplicate jquery from the module's node_modules/ directory solved the problem. That said, it seems like browserify recognizes that the packages are duplicated. Why couldn't it (in the above instance) simply give 158 to the second package require()ing React instead of creating 314 to de-duplicate it?

@ericclemmons @substack — along the same lines, using React, I have two libraries that i'm working on locally and using npm link to require one from the other, and I'm linking React in each project to a global install. When the browserify bundle gets created, React is added twice since the path to node_modules is different.
npm install -g react

cd ~/project_a
npm link react
npm link

cd ~/project_b
npm link react
npm link project_a

On the server-side, everything is fine since there's only one instance of React on the process. But I haven't figured out how to work it out in the bundle yet.
I would be grateful for any ideas or suggestions.

@pgoldrbx Similar issue for me.  To be honest, I couldn't find a fix, and ultimately started pruning all node_modules/react except for the parent-most one.
As best I can assume, the same package.json.version doesn't come account for de-duping, only the location?

I think our issue is actually described here already:
https://github.com/substack/node-browserify/issues/1063

I have found that browserify-resolutions solves the problem. I had the same problem with jquery plugins, I had one instance for each jquery called by each plugin. browserify-resolutions fixed it.

I think this is now fixed since #1063 is now closed (changes have been merged)

@chrisirhc Not really. If the dependency is depended upon twice, it will have 2 ids.
If A depends on D and B also depends on D, D will have 2 different ids. browserify-resolutions makes sure they don't.
#1063 is related to symlinks, it does not look like the same thing.

You can resolve this by linking D of B into A so both A and B depend on the same D.
For example, I assuming a and b both depend on d and they're in the same directory:
cd a/
npm link ../b/node_modules/d

@chrisirhc It makes no sense that I should have to manually enter the node_modules directory to symlink directories. When you npm install npm resolves the dependencies itself, I should not have to go and manually change things.
An example are the jquery plugins. Imagine you install 2 different jquery plugins, each jquery plugin might attach itself to a different jquery instance. This is exactly what you do not expect. This gets even worse as npm and jquery are saying that browserify is the way to go for these plugins, but this setup will simply not work if you use more than one plugin.
Until I found browserify-resolutions browserify made itself unusable. This is critical and I am appalled that this issue was closed and letting this go on like that.


Installation problem rMVP

install.packages("rMVP")
Installing package into ‘C:/Users/user/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
package ‘rMVP’ is not available (for R version 3.5.3)
Or the the development version from GitHub:
install.packages("devtools")
devtools::install_github("xiaolei-lab/rMVP")
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘glue’
Or the the development version from GitHub:
install.packages("devtools")
devtools::install_github("xiaolei-lab/rMVP")
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘glue’
devtools::install_github("xiaolei-lab/rMVP")
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘glue’

In also its showing
Full description, Bug report, Suggestion and the latest version:
https://github.com/XiaoleiLiuBio/rMVP

This problem is due to the lack of required package, just follow the tips from the reported message, try install.packages("glue"), and then install rMVP if all the required packages are installed successfully.

YinLiLin, Thank you I tried as you suggested but its giving following error
package ‘glue’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\user\AppData\Local\Temp\Rtmp4Si9gA\downloaded_packages

install.packages("rMVP")
Installing package into ‘C:/Users/user/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘rMVP’ is not available (for R version 3.5.3)

We have submitted a new version of rMVP to R CRAN, and it is under inspection by the CRAN team now, hopefully it will come to public in the near days, thus it's unavailable during this time, but you can install it from GitHub by package devtools.

library(rMVP)
setwd("C:/Users/user/Documents/R/win-library/3.5/rMVP-master/data")
MVP.Data(fileHMP="hapmap.txt",
filePhe="Phenotype.txt",
sep.hmp="\t",
sep.phe="\t",
SNP.effect="Add",
fileKin=FALSE,
filePC=FALSE,
out="mvp.hmp",
#priority="memory",
#maxLine=10000
)
genotype <- attach.big.matrix("mvp.hmp.geno.desc")
phenotype <- read.table("mvp.hmp.phe",head=TRUE)
map <- read.table("mvp.hmp.geno.map" , head = TRUE)
for(i in 2:ncol(phenotype)){
imMVP <- MVP(
phe=phenotype[, c(1, i)],
geno=genotype,
map=map,
#K=Kinship,
#CV.GLM=Covariates,
#CV.MLM=Covariates,
#CV.FarmCPU=Covariates,
nPC.GLM=5,
nPC.MLM=3,
nPC.FarmCPU=3,
priority="speed",
#ncpus=10,
vc.method="BRENT",
maxLoop=10,
method.bin="EMMA",#"FaST-LMM","EMMA", "static"
#permutation.threshold=TRUE,
#permutation.rep=100,
threshold=0.05,
method=c("GLM", "MLM", "FarmCPU")
)
gc()
}
Error
Input data has 246 individuals, 131620 markers
Phenotype: Y_2016
Relationship matrix mode in speed
Scale the genotype matrix
Computing Z'Z
Deriving relationship matrix successfully
Eigen Decomposition
Error in eigen(K, symmetric = TRUE) : infinite or missing values in 'x'

I nstalled again everything and kept only Phenotype and Hapmap file in the folder but still its giving the same error. Can  you please help in this regards,

Data Folder.docx

Was it fine when running MVP.Data on your data? if yes, please upload a screenshot of this part, I am just wondering if our rough imputation function was working or not.

Dear Dr. Lillin,
I am able to install the rMVP and followed the recommendation of Dr.
Xiaolei, He was very generous to help me out I am communicating with him.
So far I am struggling to execute it completely. Please find the
attached screenshot.
Sincerely,
Rupesh Tayade
PhD Research Scholar
School of Applied Biosciences
College of Agriculture and Life Sciences
Kyungpook National University[image: KNU logo에 대한 이미지 검색결과]
80 Daehakro, Bukgu, Daegu, 41566, Republic of Korea
E-mail<EMAIL_ADDRESS>On Wed, May 6, 2020 at 10:15 AM Lilin Yin<EMAIL_ADDRESS>wrote:

Was it fine when running MVP.Data on your data? if yes, please upload a
screenshot of this part, I am just wondering if our rough imputation
function was working or not.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xiaolei-lab/rMVP/issues/48#issuecomment-624394238,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB64KNI4RJDCFOK5KHGQWXDRQC245ANCNFSM4MZPVUGQ
.

Sorry, I can not see any screenshot here.

Please check the attached file.
On Wed, May 6, 2020 at 10:50 AM Lilin Yin<EMAIL_ADDRESS>wrote:

Sorry, I can not see any screenshot here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xiaolei-lab/rMVP/issues/48#issuecomment-624401992,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB64KNLAOH2YEZI4QEIELJTRQC653ANCNFSM4MZPVUGQ
.

--
Rupesh Tayade
PhD Research Scholar
School of Applied Biosciences
College of Agriculture and Life Sciences
Kyungpook National University[image: KNU logo에 대한 이미지 검색결과]
80 Daehakro, Bukgu, Daegu, 41566, Republic of Korea
E-mail<EMAIL_ADDRESS>

Maybe you should upload it by the website of GitHub, the attached file from an email response may be automatically discarded by GitHub system.

Screen Shot _R.docx

Maybe you should upload it by the website of GitHub, the attached file from an email response may be automatically discarded by GitHub system.

Please check I posted now on git hub. Thank You.

Thank you, I can see it now. There are some mistakes from your screenshot, please check the completeness of your code, and insure rMVP has been loaded prior to use.  Restart R and try following:
library(rMVP)
setwd("C:/Users/user/Documents/R/win-library/3.5/rMVP-master/data")
MVP.Data(fileHMP="hapmap.txt",
filePhe="Phenotype.txt",
sep.hmp="\t",
sep.phe="\t",
SNP.effect="Add",
fileKin=FALSE,
filePC=FALSE,
out="mvp.hmp",
#priority="memory",
#maxLine=10000
)
genotype <- attach.big.matrix("mvp.hmp.geno.desc")
phenotype <- read.table("mvp.hmp.phe",head=TRUE)
map <- read.table("mvp.hmp.geno.map" , head = TRUE)
for(i in 2:ncol(phenotype)){
imMVP <- MVP(
phe=phenotype[, c(1, i)],
geno=genotype,
map=map,
#K=Kinship,
#CV.GLM=Covariates,
#CV.MLM=Covariates,
#CV.FarmCPU=Covariates,
nPC.GLM=5,
nPC.MLM=3,
nPC.FarmCPU=3,
priority="speed",
#ncpus=10,
vc.method="BRENT",
maxLoop=10,
method.bin="EMMA",#"FaST-LMM","EMMA", "static"
#permutation.threshold=TRUE,
#permutation.rep=100,
threshold=0.05,
method=c("GLM", "MLM", "FarmCPU")
)
gc()
}

Thank you, I can see it now. There are some mistakes from your screenshot, please check the completeness of your code, and insure rMVP has been loaded prior to use. Restart R and try following:
library(rMVP)
setwd("C:/Users/user/Documents/R/win-library/3.5/rMVP-master/data")
MVP.Data(fileHMP="hapmap.txt",
filePhe="Phenotype.txt",
sep.hmp="\t",
sep.phe="\t",
SNP.effect="Add",
fileKin=FALSE,
filePC=FALSE,
out="mvp.hmp",
#priority="memory",
#maxLine=10000
)
genotype <- attach.big.matrix("mvp.hmp.geno.desc")
phenotype <- read.table("mvp.hmp.phe",head=TRUE)
map <- read.table("mvp.hmp.geno.map" , head = TRUE)
for(i in 2:ncol(phenotype)){
imMVP <- MVP(
phe=phenotype[, c(1, i)],
geno=genotype,
map=map,
#K=Kinship,
#CV.GLM=Covariates,
#CV.MLM=Covariates,
#CV.FarmCPU=Covariates,
nPC.GLM=5,
nPC.MLM=3,
nPC.FarmCPU=3,
priority="speed",
#ncpus=10,
vc.method="BRENT",
maxLoop=10,
method.bin="EMMA",#"FaST-LMM","EMMA", "static"
#permutation.threshold=TRUE,
#permutation.rep=100,
threshold=0.05,
method=c("GLM", "MLM", "FarmCPU")
)
gc()
}

Please check I restart R again and given follwoing code so far.
package ‘devtools’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\user\AppData\Local\Temp\Rtmp0urTDM\downloaded_packages

utils:::menuInstallPkgs()
Error in install.packages(NULL, .libPaths()[1L], dependencies = NA, type = type) :
no packages were specified
install.packages("glue")
Installing package into ‘C:/Users/user/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
trying URL 'https://mran.microsoft.com/snapshot/2019-04-15/bin/windows/contrib/3.5/glue_1.3.1.zip'
Content type 'application/zip' length 172477 bytes (168 KB)
downloaded 168 KB

package ‘glue’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\user\AppData\Local\Temp\Rtmp0urTDM\downloaded_packages

install.packages("bigmemory")
Installing package into ‘C:/Users/user/Documents/R/win-library/3.5’
(as ‘lib’ is unspecified)
trying URL 'https://mran.microsoft.com/snapshot/2019-04-15/bin/windows/contrib/3.5/bigmemory_4.5.33.zip'
Content type 'application/zip' length 1395547 bytes (1.3 MB)
downloaded 1.3 MB

package ‘bigmemory’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\user\AppData\Local\Temp\Rtmp0urTDM\downloaded_packages

library(rMVP)
Loading required package: bigmemory
Full description, Bug report, Suggestion and the latest version:
https://github.com/XiaoleiLiuBio/rMVP

After that when I put following code it showing message
setwd("C:/Users/user/Documents/R/win-library/3.5/rMVP-master/data")

MVP.Data(fileHMP="hapmap.txt",

filePhe="Phenotype.txt",
sep.hmp="\t",
sep.phe="\t",
SNP.effect="Add",
fileKin=FALSE,
filePC=FALSE,
out="mvp.hmp",
#priority="memory",
#maxLine=10000
)
Error: unexpected end of input

When I put the entire code it showing as following.
library(rMVP)

setwd("C:/Users/user/Documents/R/win-library/3.5/rMVP-master/data")
MVP.Data(fileHMP="hapmap.txt",

filePhe="Phenotype.txt",
sep.hmp="\t",
sep.phe="\t",
SNP.effect="Add",
fileKin=FALSE,
filePC=FALSE,
out="mvp.hmp",
#priority="memory",
#maxLine=10000
)
Preparing data for MVP...
Reading file...
inds: 313       markers:131620
Number of threads: 1
0%   10   20   30   40   50   60   70   80   90   100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
Preparation for GENOTYPE data is done within 42s
313 common individuals between phenotype and genotype.
Preparation for PHENOTYPE data is Done within 0s
Imputing...
out is NULL, impute inplace.
Number of threads: 1
0%   10   20   30   40   50   60   70   80   90   100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
Impute Genotype File is done!
MVP data prepration accomplished successfully!
Warning messages:
1: In MVP.Data(fileHMP = "hapmap.txt", filePhe = "Phenotype.txt", sep.hmp = "\t",  :
SNP.effect has been DEPRECATED.
2: In MVP.Data(fileHMP = "hapmap.txt", filePhe = "Phenotype.txt", sep.hmp = "\t",  :
sep.hmp has been DEPRECATED.

genotype <- attach.big.matrix("mvp.hmp.geno.desc")
phenotype <- read.table("mvp.hmp.phe",head=TRUE)
map <- read.table("mvp.hmp.geno.map" , head = TRUE)
for(i in 2:ncol(phenotype)){

imMVP <- MVP(
phe=phenotype[, c(1, i)],
geno=genotype,
map=map,
#K=Kinship,
#CV.GLM=Covariates,
#CV.MLM=Covariates,
#CV.FarmCPU=Covariates,
nPC.GLM=5,
nPC.MLM=3,
nPC.FarmCPU=3,
priority="speed",
#ncpus=10,
vc.method="BRENT",
maxLoop=10,
method.bin="EMMA",#"FaST-LMM","EMMA", "static"
#permutation.threshold=TRUE,
#permutation.rep=100,
threshold=0.05,
method=c("GLM", "MLM", "FarmCPU")
)
gc()
}

Thank you. From the log message, you can see that the genotype had been imputed by our rough procedure (note: we don't recommend to impute by rMVP if there are lots of missing in genotype, unless you had done strict QC before using rMVP, otherwise, some other professional imputation software are preferred), thus it should be fine to process the next step of association.

Thank you. From the log message, you can see that the genotype had been imputed by our rough procedure (note: we don't recommend to impute by rMVP if there are lots of missing in genotype, unless you had done strict QC before using rMVP, otherwise, some other professional imputation software are preferred), thus it should be fine to process the next step of association.

Actually I shred my genotype data with Dr.  Xiaolei he said  ''There are not many missing values in the attached genotype data'' So now what is exactly happening? I have executed all the code. But there is +} l sign on console. I don't know it's still performing or stoped?

You should stop it. The "+}" sign means that your input code is not complete. Please check if you have missed something.

You should stop it. The "+}" sign means that your input code is not complete. Please check if you have missed something.

I input the exact code you given in your previous comment nothing edited.

I have tried again, it works fine at my PC, please check it carefully.

I have tried again, it works fine at my PC, please check it carefully.

Can you please share again the code exactly what you tried?

When I am trying to install as you suggested update version it not getting it.

devtools::install_github("xiaolei-lab/rMVP")
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called ‘processx’

Please see below:

Thank you but How can I remove that thread ?
On Wed, May 6, 2020 at 1:06 PM Lilin Yin<EMAIL_ADDRESS>wrote:

Please see below:
[image: test]
https://user-images.githubusercontent.com/12557293/81137603-b2797680-8fa2-11ea-80ca-8317e7380317.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xiaolei-lab/rMVP/issues/48#issuecomment-624430863,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB64KNMFU5DUG3XBZIYEKZLRQDO5HANCNFSM4MZPVUGQ
.

--
Rupesh Tayade
PhD Research Scholar
School of Applied Biosciences
College of Agriculture and Life Sciences
Kyungpook National University[image: KNU logo에 대한 이미지 검색결과]
80 Daehakro, Bukgu, Daegu, 41566, Republic of Korea
E-mail<EMAIL_ADDRESS>

I didn’t get you.
On Wed, May 6, 2020 at 1:14 PM Lilin Yin<EMAIL_ADDRESS>wrote:

Closed #48 https://github.com/xiaolei-lab/rMVP/issues/48.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xiaolei-lab/rMVP/issues/48#event-3306825575, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AB64KNKO6L5TSVPE5ODE4TTRQDP4BANCNFSM4MZPVUGQ
.

--
Rupesh Tayade
PhD Research Scholar
School of Applied Biosciences
College of Agriculture and Life Sciences
Kyungpook National University[image: KNU logo에 대한 이미지 검색결과]
80 Daehakro, Bukgu, Daegu, 41566, Republic of Korea
E-mail<EMAIL_ADDRESS>

Please share the code that you are trying I have also posted some curries
there on git hub.  Devtool installation issue. Pls chek the updates one
from github is not getting installed.
On Wed, May 6, 2020 at 1:17 PM Rupesh Tayade<EMAIL_ADDRESS>wrote:

I didn’t get you.
On Wed, May 6, 2020 at 1:14 PM Lilin Yin<EMAIL_ADDRESS>wrote:

Closed #48 https://github.com/xiaolei-lab/rMVP/issues/48.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/xiaolei-lab/rMVP/issues/48#event-3306825575, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AB64KNKO6L5TSVPE5ODE4TTRQDP4BANCNFSM4MZPVUGQ
.

--
Rupesh Tayade
PhD Research Scholar
School of Applied Biosciences
College of Agriculture and Life Sciences
Kyungpook National University[image: KNU logo에 대한 이미지 검색결과]
80 Daehakro, Bukgu, Daegu, 41566, Republic of Korea
E-mail<EMAIL_ADDRESS>--

Rupesh Tayade
PhD Research Scholar
School of Applied Biosciences
College of Agriculture and Life Sciences
Kyungpook National University[image: KNU logo에 대한 이미지 검색결과]
80 Daehakro, Bukgu, Daegu, 41566, Republic of Korea
E-mail<EMAIL_ADDRESS>

Copy the entire codes I showed above, then press enter to start running rMVP.
It seems to be hard to install the latest rMVP on your PC from GitHub by devtools due to the lack of some necessary R packages which should be automatically installed when installing devtools, I suggest you to wait our upcoming rMVP from R CRAN in the near days.

Copy the entire codes I showed above, then press enter to start running rMVP.
It seems to be hard to install the latest rMVP on your PC from GitHub by devtools due to the lack of some necessary R packages which should be automatically installed when installing devtools, I suggest you to wait our upcoming rMVP from R CRAN in the near days.

From the code do I need to remove "{" and "}"?

No, you shouldn't.

package ‘devtools’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\user\AppData\Local\Temp\RtmpaOH12N\downloaded_packages

library(rMVP)
Loading required package: bigmemory
Full description, Bug report, Suggestion and the latest version:
https://github.com/XiaoleiLiuBio/rMVP
library(rMVP)
setwd("C:/Users/user/Documents/R/win-library/3.5/rMVP-master/data")
MVP.Data(fileHMP="hapmap.txt",

filePhe="Phenotype.txt",
sep.hmp="\t",
sep.phe="\t",
SNP.effect="Add",
fileKin=FALSE,
filePC=FALSE,
out="mvp.hmp",
#priority="memory",
#maxLine=10000
)
Preparing data for MVP...
Reading file...
inds: 313       markers:131620
Number of threads: 1
0%   10   20   30   40   50   60   70   80   90   100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
Preparation for GENOTYPE data is done within 43s
313 common individuals between phenotype and genotype.
Preparation for PHENOTYPE data is Done within 0s
Imputing...
out is NULL, impute inplace.
Number of threads: 1
0%   10   20   30   40   50   60   70   80   90   100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
Impute Genotype File is done!
MVP data prepration accomplished successfully!
Warning messages:
1: In MVP.Data(fileHMP = "hapmap.txt", filePhe = "Phenotype.txt", sep.hmp = "\t",  :
SNP.effect has been DEPRECATED.
2: In MVP.Data(fileHMP = "hapmap.txt", filePhe = "Phenotype.txt", sep.hmp = "\t",  :
sep.hmp has been DEPRECATED.

genotype <- attach.big.matrix("mvp.hmp.geno.desc")
phenotype <- read.table("mvp.hmp.phe",head=TRUE)
map <- read.table("mvp.hmp.geno.map" , head = TRUE)
for(i in 2:ncol(phenotype))

imMVP <- MVP(
phe=phenotype[, c(1, i)],
geno=genotype,
map=map,
#K=Kinship,
#CV.GLM=Covariates,
#CV.MLM=Covariates,
#CV.FarmCPU=Covariates,
nPC.GLM=5,
nPC.MLM=3,
nPC.FarmCPU=3,
priority="speed",
#ncpus=10,
vc.method="BRENT",
maxLoop=10,
method.bin="EMMA",#"FaST-LMM","EMMA", "static"
#permutation.threshold=TRUE,
#permutation.rep=100,
threshold=0.05,
method=c("GLM", "MLM", "FarmCPU")
)
====================== Welcome to MVP ======================
A Memory-efficient, Visualization-enhanced, and
Parallel-accelerated Tool For GWAS
__  __  __   __  ___
|  /  | \ \ / / | _ \
| |/| |  \ V /  |  /
||  ||   _/   ||   Version: 0.99.19
Designed and Maintained by Lilin Yin, Haohao Zhang, and
Xiaolei Liu
Contributors: Zhenshuang Tang, Jingya Xu, Dong Yin,
Zhiwu Zhang, Xiaohui Yuan, Mengjin Zhu, Shuhong Zhao,
Xinyun Li
Contact<EMAIL_ADDRESS>============================================================
Start: 2020-05-06 13:41:15
The log has been output to the file: C:/Users/user/Documents/R/win-library/3.5/rMVP-master/data/MVP.20200506_134115.log
Input data has 246 individuals, 131620 markers
Phenotype: Y_2016
Relationship matrix mode in speed
Scale the genotype matrix
Computing Z'Z
Deriving relationship matrix successfully
Eigen Decomposition
Error in eigen(K, symmetric = TRUE) : infinite or missing values in 'x'

gc()

If you don't mind, please seed your dataset to me at<EMAIL_ADDRESS>I will help to find out what on earth is going on.

If you don't mind, please seed your dataset to me at<EMAIL_ADDRESS>I will help to find out what on earth is going on.

Sure I sent email please check. Thank you very much for your kind support, help, time and patient.


35 continue auto collection when game closed

Uses one of the Temporal API polyfills in place of the Date API to access the dates, serialize them, and do date arithmetic to calculate how many bits should be collected when the game is closed. Al also now logs how many bits were collected over what span of time. I also got carried away and changed some of the logic in AutoCollector and other small HTML and CSS changes.

When merged it will be necesarry to npm install in the root directory because of the Temporal polyfill.


Please update to Zigbee2Mqtt v1.6

Zigbee2Mqtt version 1.6 is now available.

Do you know: will the edge addon pull the latest z2m using zigbee-herdsman?

@james-fry yes, edge is in sync with zigbee2mqtt 1.6 dev

Thanks for the clarification

Can we push this to Hass.io?

@Koenkk But what I want is the 1.6 non-dev version... :-(

@Koenkk I think you must handle this, @danielwelch too busy for this project.
@danielwelch could you add Koen as maintainer/manager of this project so he can manage, example pull request when new version release?

Just updated to 1.6.o Running hassio on Odroid c2. Seems to have an issue
`[Info] Searching for custom devices file in zigbee2mqtt data path...
2019-09-13T10:24:06: PM2 log: Launching in no daemon mode
2019-09-13T10:24:06: PM2 log: App [npm:0] starting in -fork mode-
2019-09-13T10:24:06: PM2 log: App [npm:0] online

<EMAIL_ADDRESS>start /zigbee2mqtt-1.6.0
node index.js
/zigbee2mqtt-1.6.0/lib/util/utils.js:44
.map((mappedModel) => mappedModel.zigbeeModel));
^
TypeError: Cannot read property 'zigbeeModel' of undefined
at flatten.map.map (/zigbee2mqtt-1.6.0/lib/util/utils.js:44:43)
at Array.map ()
at Object. (/zigbee2mqtt-1.6.0/lib/util/utils.js:44:10)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
npm
ERR! code ELIFECYCLE
npm ERR! errno 1
npm
ERR<EMAIL_ADDRESS>start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR!
Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.`

Did not go well for me, nothing is now connected to the network. Check all IDs etc and all seem correct. Did not expect to have to re-pair everything just for an update :-(

@ademobile you update from version 1.5? If you have snapshot try to revert back, remember things with home assistant: always backup before update

Did not have a snapshot as I have been testing my devices as I had been having a lot of issues with Xiaomi switches just not working. These were using deCONZ before. Its not a big network of 16 devices, however these have been so stable using zigbe2mqtt! Obvouisly this is just my experience and want to know if others have had the same. I was running <IP_ADDRESS> before this.

@ademobile I am running network with 21 devices, Zigbee 3.0.2 . You can try to stop z2mqtt, unplug the CC2530/2531 leave it 30 seconds and then re plug it/start z2mqtt

@BarBaar44 did you map a custom devices.js/zigbee-shepherd-converters? if so, please remove it.

@dzungpv tried as you suggested, however no change. I did catch this in the logs though:
zigbee2mqtt:error 9/13/2019, 9:51:06 AM Failed to mount the cieApp
zigbee2mqtt:warn 9/13/2019, 9:51:07 AM Failed to configure 0x[address removed] (0x[address removed]) ('Error: AF data request fails, status code: 205. No network route. Please confirm that the device has (re)joined the network.') (attempt #1)
zigbee2mqtt:warn 9/13/2019, 9:51:07 AM This can be ignored if the device is working properly
/zigbee2mqtt-1.6.0/node_modules/zigbee-herdsman/node_modules/q/q.js:155
throw e;
^
TypeError: Cannot read property 'ieeeAddr' of undefined
at Zigbee.getCoordinator (/zigbee2mqtt-1.6.0/lib/zigbee.js:294:42)
at queue.push (/zigbee2mqtt-1.6.0/lib/extension/deviceConfigure.js:53:84)
at Queue.start (/zigbee2mqtt-1.6.0/node_modules/queue/index.js:145:17)
at next (/zigbee2mqtt-1.6.0/node_modules/queue/index.js:120:16)
at mappedDevice.configure (/zigbee2mqtt-1.6.0/lib/extension/deviceConfigure.js:79:21)
at setTimeout (/zigbee2mqtt-1.6.0/node_modules/zigbee-shepherd-converters/devices.js:127:21)
at /zigbee2mqtt-1.6.0/node_modules/zigbee-herdsman/node_modules/q/q.js:2059:17
at runSingle (/zigbee2mqtt-1.6.0/node_modules/zigbee-herdsman/node_modules/q/q.js:137:13)
at flush (/zigbee2mqtt-1.6.0/node_modules/zigbee-herdsman/node_modules/q/q.js:125:13)
at process._tickCallback (internal/process/next_tick.js:61:11)
npm
ERR! code ELIFECYCLE
npm ERR!
errno 1
npm ERR<EMAIL_ADDRESS>start: node index.js
npm ERR!
Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2019-09-13T08_51_07_059Z-debug.log
2019-09-13T09:51:07: PM2 log: App [npm:0] exited with code [1] via signal [SIGINT]
2019-09-13T09:51:07: PM2 log: App [npm:0] starting in -fork mode-
2019-09-13T09:51:07: PM2 log: App [npm:0] online

@ademobile try to change other usb port, i have this problem sometime, but strange it happen with you after update. The final solution with you is erase coordinator flash and then re-flash the stable firmware, your network will automatically restore by z2mqtt

@BarBaar44 did you map a custom devices.js/zigbee-shepherd-converters? if so, please remove it.

Yes, I did. Just removed it. But no luck :(

@dzungpv tried all that and no joy, also tried to re-join devices and they won't. Really in a mess now as other half is going mad! Any way of getting <IP_ADDRESS> re-installed back in HASS?

Sometimes it just needs a while for the network to rebuild, then you need to sometimes switch your devices on/off. Set it up and leave it alone for a while if you can.

@ericmiller777 been off for ages and I should be able to re-pair a device (had done many times so far!). All devices in network have be switched off and on again. Cannot leave it as I am getting shouted at!

After a lot of 'playing around', pairing started working again. Network is now back up and running. In the end I removed the add-on again. Deleted all folders and started again. A bit drastic, however when needs must!

Do you have enough disk space? At least in the past, there were reports of (very unhelpful) 500 error codes from Hassio when disk space was full. I’ve experienced the “image not found” error in the past when disk space was full, but not what you’re seeing.
On Sep 13, 2019, 1:25 PM -0500, Carl de Billy<EMAIL_ADDRESS>wrote:

I'm trying to install it on my lab installation, which is a RP3/aarch64 and I'm getting this error while installing the HASS.IO add-in...
19-09-13 14:49:54 INFO (SyncWorker_16) [hassio.docker.interface] Pull image dwelch2101/zigbee2mqtt-aarch64 tag 1.6.0.
19-09-13 14:53:09 ERROR (SyncWorker_16) [hassio.docker.interface] Can't install dwelch2101/zigbee2mqtt-aarch64:1.6.0 -> 500 Server Error: Internal Server Error ("readlink /mnt/data/docker/overlay2/l: invalid argument").
Do you think it's something related to the upgrade to 1.6.0?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

What has changed in this version? Sorry for asking but there is no changelog since 1.4.

https://github.com/Koenkk/zigbee2mqtt/releases

I installed the update but for some reason it looks like it still is 1.5.1, also uninstalled addon but after re-installing it still gives me below errors.
Note: Installed via HAss.io addon store.
https://pastebin.com/FXDpXDrN


Incorrect colouring

On this link: https://godbolt.org/g/5WTSr3 The memset is coloured with a white background on the left, but the call to __memset_chk is coloured green on the right. It's as if the memset was optimized out but it isn't, it actually gets generated.

Hi!
The colouring is based purely off GCC's debug information...I'll have a
look and see if I'm incorrectly parseing it!
Thanks!
On Mon, May 23, 2016 at 10:17 AM Mate Soos at GDS<EMAIL_ADDRESS>wrote:

On this link: https://godbolt.org/g/5WTSr3 The memset is coloured with a
white background on the left, but the call to __memset_chk is coloured
green on the right. It's as if the memset was optimized out but it isn't,
it actually gets generated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/mattgodbolt/gcc-explorer/issues/128

If you take a look at: https://godbolt.org/g/xMKis7 you can see, around line 70/71 of the asm output that the compiler is telling me that the mov $5,edx ; call __memset_chk is in .loc 2 85 0 -- which means line 85 of file "2". File "2" is defined just above on line 43 as being /usr/include/x86_64-linux-gnu/bits/string3.h -- so GCC is attributing the call to memset_chk to that piece of code, not any that you typed in.
In newer compilers that doesn't seem to happen: I'm not quite sure why, but unless there's a compiler option I don't know about, I don't think there's much I can do.
Thanks for filing the bug: if you have any thoughts on how to fix this or suggestions, don't hesitate to reopen.

Thanks! To be honest, I think some of this dependency checking should be better in compilers. It would really help, especially when it comes to symbolic execution and bug tracing (as both use slicing and other techniques to cut out irrelevant code).  Maybe some more mathematical compilers will come one day (CompCert being a prime candidate) that can do this tracking very precisely. Until then, I'll just enjoy godbolt.org ;) Thanks for the tool, it rocks!


Get all translations of content by id

Hi, i have little issue here i can't figure out how can i get all the translations of content by id for example i have two tables
--pages
--pages_translations

Pages holds active updated_at etc... and translations holds slug,title,body... I tried with
        $pages = Page::where('id',$id)->translatedIn(['bg','el','en'])->get()->toArray();

This code return empty array and execute the following SQL statement
select * from `pages` where `id` = '4' and exists (select * from `page_translations` where `page_translations`.`page_id` = `pages`.`id` and `locale` = 'bg')

So i can't understand how can i get the translations of particular id not only the default.
My fallback and current locale is bg if this matter. Thanks in advance @dimsav

Same problem here
code:
    public function edit($id)
    {
        $news = News::where('id', $id)->translated()->get();
    }

returns News model with no translated fields. How can they be retrieved?
I'm using laravel form model binding.
        {!! Form::model($news, ['route' => ['admin.news.update', $news->id], 'method' => 'put']) !!}

Any help would be appreciated.

$pages = Page::where('id',$id)->translatedIn(['bg','el','en'])->get()->toArray();
This code return empty array and execute the following SQL statement

Translated in accepts a string as an argument, not an array.

returns News model with no translated fields. How can they be retrieved?

Use eager loading: https://laravel.com/docs/5.1/eloquent-relationships#eager-loading

Thanks @dimsav !

From readme:
// To set the translation for a field you can either update the translation model.
// Saving the model will also save all the related translations.
$germany->translate('en')->name = 'Germany';
$germany->save();

// Alternatively we can use the shortcut
$germany->{'name:en'} = 'Germany';
$germany->save();

// There are two ways of inserting mutliple translations into the database
// First, using the locale as array key.
$greece = $country->fill([
    'en'  => ['name' => 'Greece'],
    'fr'  => ['name' => 'Grèce'],
]);

// The second way is to use the following syntax.
$greece = $country->fill([
    'name:en' => 'Greece',
    'name:fr' => 'Grèce',
]);


Move from numbered partition spec to hashed parition spec

@xvrl addressed comments

@xvrl let me know if you have any more comments

using match { case Some() .... case None.... } seems to not have the same result as getOrElse, so I used the match ... case.... in a few places
will update Option with Some later tonight

@xvrl fixed lots of scala stuff and also made the change to dimensions to take the explicit list if defined, otherwise use the event map less the excluded dimensions.

I'm going to merge this into master for now and backport it to 0.8.3 branch.


Use muon as the underlying data structure?

Maybe worth investigating ..

https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>5670v1.full.pdf
https://github.com/pmbio/muon
https://github.com/bioFAM/mofax

We aren't doing that now, but perhaps in the future, we could export data from our models to muon-based models.


Doesn't support ledger tags

I'm submitting a ...
[] bug report
[x ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary

Ledger and hledger have a number of subtle differences.  In particular, tags in ledger have this syntax:
    ; :tag1:tag2:

this is different to metadata which is
    ; key: value

In hledger the same syntax is used for both (basically tags are metadata without a value)
It's up to you whether you want to support ledger syntax but the description mentions both ledger and hledger.
const sourceCode = `2022-01-02 * Food
    ; :foo:
    Expenses:Nutrition:Dining            90.00 PHP
    Assets:Cash                         -90.00 PHP
`;

gives:
/home/tbm/tt/node_modules/@jones.tristand/hledger-parser/build/main/index.js:155
    const rawJournal = cst_to_raw_1.default.journal(cstJournal.children);
                                                               ^

TypeError: Cannot read property 'children' of undefined
    at parseLedgerToRaw (/home/tbm/tt/node_modules/@jones.tristand/hledger-parser/build/main/index.js:155:64)
    at parseLedgerToCooked (/home/tbm/tt/node_modules/@jones.tristand/hledger-parser/build/main/index.js:225:52)
    at file:///home/tbm/tt/e.js:11:21

Thanks for pointing this out, I had missed implementing this.
I'm unsure how to report this back in the resulting parsed object. The options that spring to mind are:

report it as a ledger_tags field in the object alongside the tags field: adds some somewhat ugly 'ledger'-specific fields
report it within the tags field: tidy, but means you can't reproduce the original document again, or necessarily tell which tag format was used in the source, or differentiate metadata from tags in ledger files
2a) as in 2, but each tag has a 'style' field that can be 'ledger' or 'hledger' - getting very busy deep in the object tree here...
Have an option in the call to the parser to enable hledger or ledger parsing - makes the parser itself much more complex as have to check which parser paths to go down, and may prevent parsing files that are a ledger/hledger hybrid.

Any thoughts on preferable solutions?
As an aside, these bugs point out that I've missed an error check, as this should return an empty result alongside the parser/lexer errors, rather than throwing.

I was sort of thinking about option 3, but it's really up to you. I'm honestly not sure what's best.
There are a number of subtle differences between ledger and hledger. Unfortunately they are not fully documented anywhere. This is a start: https://github.com/simonmichael/hledger/issues/1306

I'd probably be in favour of not implementing ledger tags since they're not compatible with hledger. Adding support for ledger tags would mean that hledger-parser would support a 'tertiary' format that's a mix of hledger and ledger and compatible with neither. I think the best course of action here is to use an external utility to convert an hledger journal to ledger format if that's required, and let hledger-parser do what it's intended to be best at, which is parse hledger journals.


Provide a Scala reference implementation of the Ωedit gRPC server

We need to bootstrap the Scala gRPC server implementation according the agreed architecture in discussion https://github.com/ctc-oss/omega-edit/discussions/155.

The Scala bindings are necessary but not sufficient for the Scala gRPC reference server.


Invalid Relationship on Package[ca-certificates] dependency for SLES 11 Servers.

SLES 11 Servers will ensure the package openssl-certs is present when $package_ensure == present or $package_ensure == installed. This will break the requires in ca.pp for require => Package['ca-certificates'], when $adjusted_ensure == 'present', 'trusted', 'distrusted'

Thanks for sending this along - @exodusftw got this fixed up. I've pushed it to the forge as v1.5.1.

 I appreciate the rapid response.


Add times to school week boundaries

Description
This pull request adds times to next friday and last saturday, which the calendar depends on.
Related Issues
Fixes #149

Simple change, no issues with formatting.
Just a question on my end, @MichelRahme is nextFriday a variable defined by you or something in Flutter?

It's something defined by us for users' convenience. Students have courses that begin on Monday and finish on Friday so we found that it would be useless to have regular weeks (Monday-Sunday) if, when on Saturday students still see their schedule for the past week.


unclickable Via link appears in the LHN for the reports submitted by Concierge

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

Version Number:
Reproducible in staging?: needs reproduciton
Reproducible in production?: needs reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @puneetlath
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1703014725041959
Action Performed:

Go to a workspace that has an approver configured
Request money
Submit the report

Expected Result:
There should be no "(via LINK)" in the message.
Actual Result:
You’ll see the message - Concierge submitted this report (via LINK) to approver name
Workaround:
unknown
Platforms:

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

[ ] Android: Native
[ ] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~017f889511aa97f482
Upwork Job ID:<PHONE_NUMBER>862630912
Last Price Increase: 2024-01-09

Issue OwnerCurrent Issue Owner: @amyevans

@kadiealexander what we need to decide is:

do we just remove that link altogether OR
make NewDot support it

I think we should remove it, have posted here in the original thread so that people can weigh in.

Agreed to remove it! I think it needs to be done here.

Will get to this in the next 1-2 days!

Not overdue.

No update but should be able to knock out soon

PR up: https://github.com/Expensify/Web-Expensify/pull/40618

PR is deployed to prod, all set!


V4.6.x

Support for v4.6 branch of the peer-agent (buffer margin is handled peer agent side now)

Closing. Need to merge in dev first to make a minor version release


Documents with same content should be equals

The Element implements an object reference check in equals().
Is it possible to provide another one using the content of the element?
Or is that a design decision?
Example test:
    @Test
    public void documents_with_same_content_should_be_equal() throws Exception
    {
        Document docA = Jsoup.parse("<div/>");
        Document docB = Jsoup.parse("<div/>");

        assertEquals(docA, docB);
    }

Equals Implementation:
public class Element {
// ...
@Override
    public boolean equals(Object o) {
        return this == o;
    }
// ...
}

Thanks, I implemented this just recently. It works as expected, but as @offa the runtime could potentially be slow for large, almost equal docs. But up to the user, and at least it works as expected. Can always use == if the previous behavior is really wanted (but you would already have been doing that.)

@jhy Are you sure this is implemented? I'm using 1.11.2 and it doesn't seem to have an effect. I don't see how that test case could pass currently. I have to compare the toString() values instead as a workaround.
EDIT: Ah, I see now that the change was reverted and functionality was moved to the hasSameValue method. It's a bit annoying when using Kotlin's Data Classes since they automatically use the equals method instead of your custom one. It seems a bit odd to revert it since there's already a way to test reference equality in Java == and in Kotlin ===.

It's not ideal either way but was much worse when implemented, because it blew up everyone using hashmaps / sets to store documents. At least as it is you can use the custom method.

If only there was something like a Comparator<T> but for equals and hashCode 😄.
I feel like there might be more efficient ways to implement equals and hashCode. I'm also curious why people were using the Element class as a Key in a map or putting it into a set, since they won't work correctly (technically they will but they're pretty useless) unless equals and hashCode are implemented.
I'd be inclined to call it unintended behavior, bump the minor version number, and tell users that run into issues to either use a list or an IdentityHashMap/IdentityHashSet (included since Java 1.4). My reasoning is that I feel that not implementing equals and hashCode for an obvious and useful datastructure subverts developer expectations (as evidenced by the number of people using sets).
If the above is too drastic, it also may be possible to allow users to disable the new behavior by including a jsoup.properties file or something that could be read to set compatibility options. I know ical4j uses a similar method to relax certain parsing options for compatibility and specify custom factory classes.


Link up row-based datasources to serving layer.

Add SegmentWrangler interface that allows linking of DataSources to Segments.
Add LocalQuerySegmentWalker that uses SegmentWranglers to compute queries on
data that is available locally.
Modify ClientQuerySegmentWalker to use LocalQuerySegmentWalker when the base
datasource is concrete and not a table.
Add SegmentWranglerModule to the Broker so it has them available and can
properly instantiate . LocalQuerySegmentWalkers.
Set InlineDataSource and LookupDataSource to concrete, since they can be
directly queried now.

It might be nice to have some additional test coverage with other query engines to make sure there isn't any funny stuff, but since this functionality isn't really documented yet I'm ok if this is filled out in one or more future PRs.

There should be a lot more in a future patch that connects this to the SQL layer. But for now, in this patch, there are integration tests.

Also, there seems to be a legitimate test failure, you forgot to update InlineDataSourceTest.test_isConcrete to reflect the newly concrete status of InlineDataSource.

Thanks, I'll fix that. I also got one of the integration tests wrong, which I'll fix:
 expectedResults: [{"version":"v1","timestamp":"0000-01-01T00:00:00.000Z","event":{"k":"Wikipedia:Vandalismusmeldung","v":"lookup!","nonexistent":null,"rows":1}}]

 actualResults : [{"version":"v1","timestamp":"0000-01-01T00:00:00.000Z","event":{"v":"inline join!","k":"Wikipedia:Vandalismusmeldung","rows":1,"nonexistent":null}}]


How does PxPolicy work?[Question]

Describe the problem
Now I am working on the distributed version of COPY, but I met some troubles.
In struct RelationData, this is a member
/* POLAR px */
struct PxPolicy *rd_pxpolicy; /* Partitioning info if distributed rel */
/* POLAR end */

But I did not find where it was initialized or updated. Does this value work the same way as in Greenplum? If not, how does it work in PolarDB?
Thank you very much.

Describe the problem Now I am working on the distributed version of COPY, but I met some troubles.
In struct RelationData, this is a member
/* POLAR px */
struct PxPolicy *rd_pxpolicy; /* Partitioning info if distributed rel */
/* POLAR end */

But I did not find where it was initialized or updated. Does this value work the same way as in Greenplum? If not, how does it work in PolarDB? Thank you very much.

Seems that we are not using it.


ZBMINIL2

Hi, before buying I would like to know if ZBMINIL2  Relay is supported I checked supported devices list but only the version 1 appears so just wanted to make sure , thanks !

I actually bought a couple of the ZBMINIL2 switches and am having trouble exposing them to Homekit via Homebridge. I've added them manually using their Device IDs (single channel device), but still nothing is showing up. Any ideas would be appreciated.

Oops! Figured it out. I had forgotten to share the newly added devices to my homebridge ewelink account.


Update lambda deployment feature status

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

/approve


[RFR] create queue in producer + add options

Hi,
Like https://github.com/videlalvaro/rabbitmqbundle, it would be nice to create the queue when publishing a message into producer.
Thanks.
Thierry

:+1:  thx !

:+1:

:+1:

:+1:

Tag 1.6.0 (soon with #17 )

v1.6.0


Release azure-cli-monitor 0.0.7

This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[ ] The PR has modified HISTORY.rst with an appropriate description of the change (see Modifying change log).

Command Guidelines

[ ] Each command and parameter has a meaningful description.
[ ] Each new command has a test.

(see Authoring Command Modules)

Reviewers, please verify the following for this PR:

[ ] The PR title has format Release <component-name> <version>.
[ ] setup.py has been modified with the same version as in the PR title.
[ ] HISTORY.rst has been modified with appropriate release notes.
[ ] If releasing azure-cli or azure-cli-core, __version__ defined in __init__.py should also be modified to match.

Started releasing azure-cli-monitor 0.0.7...

Release of 'azure-cli-monitor' with version '0.0.7' successful. View at https://pypi.python.org/pypi/azure-cli-monitor/0.0.7.

GitHub release created. https://github.com/Azure/azure-cli/releases.


Added release notes for version 3.4.5

Coverage remained the same at 82.694% when pulling ff2c17437c833719d5090d2f330a923e65b145af on evildmp:release-notes-3.4.5 into 3b14f1a1446ed6ace4ff58253e1079f61196d7b7 on divio:release/3.4.x.


Pricing/License - fusioncharts.com

Apexcharts say they are open source and list MIT license but when I want the Vue integration it redirects me to fusioncharts-based vue component which requires the fusioncharts core library which costs at least 500$ a year. So what's up with apex then? Is is free or not?

ApexCharts is completely free while FusionCharts is our partner who has sponsored ApexCharts.
If you simply want Vue integration of ApexCharts, it's here.

ok, thanks for clarifying. i was confused because on the official website, the vue links to the fusioncharts vue component which lead me onto weird path :D


List of JQuery UI components

First off, thanks for the great tool! It's simple and extraordinarily functional.
I am running into plugin clashes with bootstrap and jquery-ui and was wondering if you had a list of the components (http://jqueryui.com/download/) that you use so I could just include those instead of all of jquery-ui?
I could add them in one by one and find out what breaks to fix and iterate but was hoping you had a list.

It only relies on sortable :)

Sweet, that makes it easy. Cheers!

I have also a conflict with bootstrap. Can you drop jquery-ui in favour of a build-in functionality? Please see a full description of my issue here.
I think drag and drop is also provided by jquery-ui... that is correct? I can workaround the call of sortable, but if i don't include jquery-ui, i will lost the drag and drop support. If you have some against of drop the jquery-ui dependency, can you point me to the specific code that i need to replace to drop the dependency by myself?
Thanks anyway for the library is beauty to easy analyze data on fly.

There's no built-in alternative to something like jquery-ui's sortable and I'm unlikely to remove this dependency in the near future, as it's been part of this library from the beginning :)

Ok thanks, I understand, i will try to drop the jquery-ui dependency by myself.


Calculation of two alternative fluid avalanche formulae

The RunawayFluid-class now calculates both the avalanche formula originally introduced in DREAM and the formula published by Hesslow et al NF 2019. It would be better to implement some option-functionality to avoid the double work, since this slows down fliud simulations significantly (the evaluation of pStar in particular). Now it is also ambiguous from which model the critical momentum should be taken

What do you mean by the last part, ” Now it is also ambiguous from which model the critical momentum should be taken”?

I like the solution in the SPI branch now, where we do not store the ’alternative’ formula. The only situation where you would want both is for testing, and then you could rather run DREAM multiple times. Let’s stick with this way of doing it (and update the avalanche test to run single-step fluid simulations to generate the growth rate data).

Modified Oskar's solution slightly so that a critical momentum is always calculated (otherwise we couldn't use compton source without using avalanche). Fixed in a77e887.


Files itemlist duplicates after refreshing trough the button

Describe the bug
This bug appears when looking inside a device memory (in this case, my own smartphone). Whenever i reload the list trough the refresh button, the list items gets duplicated.
To Reproduce
Steps to reproduce the behavior:

Attach a device or smartphone
Open device's storage
Open a folder
Refresh the list

Expected behavior
The list should just be reloaded and show the updated list of file. The files list items should not get duplicated.
Screenshots

Desktop (please complete the following information):

OS Version: Windows 10 Home 19042.685
App version: [v<IP_ADDRESS>]

Additional context
The problem keeps presenting itself even after restarting the app.
Log file
debug.txt
debug_fulltrust.txt

Workaround is to disable the "Enable file cache" option in Files settings

Workaround is to disable the "Enable file cache" option in Files settings


CLOUDP-80279: Add a confirmation message to Deauthorize a Cloud Provider Access Role

Proposed changes

Jira ticket: CLOUDP-80279

Checklist

[x] I have signed the MongoDB CLA
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added any necessary documentation (if appropriate)
[x] I have run make fmt and formatted my code

Further comments

 ./bin/mongocli atlas cloudProviders accessRoles aws deauthorize 5ffd8cc17bd5c049ef1c88f5
? Are you sure you want to deauthorize 5ffd8cc17bd5c049ef1c88f5 Yes
AWS IAM role successfully deauthorized.

 ./bin/mongocli atlas cloudProviders accessRoles aws deauthorize 5ffd898d15a4f913021b9305
? Are you sure you want to deauthorize 5ffd898d15a4f913021b9305 No
AWS IAM role not deauthorized.

@gssbzn ready for review 🔍

@gssbzn ready for review 🔍


Adds an S3 client and upload & download functions

resolves #31

Relocated all envs into config file.


sift-sc

Name of the tool: sift-sc
Short description:
SiFT is a computational framework which aims to uncover the underlying structure by filtering out previously exposed biological signals.
SiFT can be applied to a wide range of tasks, from (i) the removal of unwanted variation as a pre-processing step, through (ii) revealing hidden biological structure by utilizing prior knowledge with respect to existing signal, to (iii) uncovering trajectories of interest using reference data to remove unwanted variation.
How does the package use scverse data structures (please describe in a few sentences):
[-] SiFT gets as input an anndata object and a key for an obs/obsm/var field which is used to define relations between the cells.
[-] Using the key SiFT defines a cell-cell similarity kernel which unless defined differently by the user is used to filter the expression (.X).
Checklist

[x] The code is publicly available under an OSI-approved license
[x] The package provides versioned releases
[x] The package can be installed from a standard registry (e.g. PyPI, conda-forge, bioconda)
[x] The package uses automated software tests and runs them via continuous integration (CI)
[x] The package provides API documentation via a website or README
[x] The package uses scverse datastructures where appropriate (i.e.anndata/mudata and their modality-specific extensions)
[x] I am the author or maintainer of the tool and agree on listing the package on the scverse website

Recommended

[x] The package provides tutorials (or "vignettes") that help getting users started quickly
[ ] The package uses the scverse cookiecutter template.

Hi @zoepiran,
looks good to me, congrats on the launch!
The YAML validation currently complains that the tags field is missing (check out the pre-commit logs). Could you please fix that? The tags field is somewhat arbitrary for now, we need to come up with a more standardized list at some point.
Best,
Gregor

thank you. i added 'tags' :)


Update Rust version to 1.65.0

Closes: #2818
Description
Update the minimum version bound of Rust to 1.65. This will allow us to make use of new language features in Rust, most notably Generic Associated Types.

PR author checklist:

[ ] Added changelog entry, using unclog.
[ ] Added tests: integration (for Hermes) or unit/mock tests (for modules).
[ ] Linked to GitHub issue.
[ ] Updated code comments and documentation (e.g., docs/).
[ ] Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

[ ] Reviewed Files changed in the GitHub PR explorer.
[ ] Manually tested (in case integration/unit/mock tests are absent).

Please also update the MSRV in README.md. The full checklist is in an issue template, which itself needs to be updated because some items no longer apply.

Done.


Type Mismatch: VirtualMachineScaleSet.virtualMachineProfile.storageProfile.diskControllerType: string vs string[]

The Azure Rest API expects and returns a string value for the diskControllerType option on the storage profile for VM Scaleset VM profiles.
Documentation can be found here: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/2023-03-01/virtualMachineScaleSet.json#L4092
Public facing documentation specifies that this value should instead be a string[]: https://learn.microsoft.com/en-us/rest/api/compute/virtual-machine-scale-sets/create-or-update?tabs=HTTP#virtualmachinescalesetstorageprofile
As a result, downstream tools (Pulumi's azure-native provider) provide / expect a string array - and encounter an error when a string is provided back, or the provided string array is rejected.
Related Issue: https://github.com/pulumi/pulumi-azure-native/issues/2639

The type is actually define as a string and as an array. I believe it's not correct:
"diskControllerType": {
          "type": "string",
          "items": {
            "$ref": "./computeRPCommon.json#/definitions/DiskControllerType",
            "description": "Specifies the disk controller type configured for the virtual machines in the scale set. **Note:** You need to deallocate the virtual machines in the scale set before updating its disk controller type based on the upgrade mode configured for the scale set. Minimum api-version: 2022-08-01."
          }
        }


Canonical BinChange

Ok - this is a pretty disruptive change so I really want to make sure i get it right and want some feedback.  I've introduced a new type BinChange which replaces change.  Basically its just a wrapper around the Vec we were using before but having validated it and stored some metadata.  All the methods that take and receive changes now use BinChange instead.   There is a BinChange::extract() function that will convert a Vec containing many changes into many BinChanges or an error.  (Not sure if extract is the right method name there - just went with something).  Change still exists but really is only useful for writing tests.  It has a to_bin() method and BinChange has a to_change() method.  I also implemented From on each other - still deciding which is best.  BinChange can be created with BinChange::from_bytes(Vec<u8>) or slice.into().   I moved BinChange and all the encoding and columnar code into automerge-protocol.  I tool the time to update all the tests and make sure they work and did a pass with clippy.  So please check this out and try it with your code in progress and make sure we'll have as smooth of an update here as possible...

RE: effect on the ongoing CLI work:
The diff that this requires is pretty trivial:
@@ -4,7 +4,8 @@ use std::path::Path;

 fn get_state_json(input_data: Vec<u8>) -> Result<serde_json::Value> {
     let mut backend = automerge_backend::Backend::init();
-    let patch = backend.apply_changes_binary(vec![input_data])?;
+    let changes = automerge_protocol::BinChange::extract(&input_data)?;
+    let patch = backend.apply_changes(changes)?;

     let mut frontend = automerge_frontend::Frontend::new();
     frontend.apply_patch(patch).unwrap();

RE: any thoughts from me:
I don't have quite the right context and experience to provide any meaningful feedback on the changes here.
Since BinChange is the primary type and Change is mostly internal and for testing, would it make more sense to rename them the other way around? As a user or contributor coming into the codebase I might assume Change is the thing I'm mostly concerned with, and looking at the tests would confirm this (incorrect) assumption. No concrete suggestion here, but maybe the new BinChange could be Change and the old Change could be named to suggest that it's some kind of literal representation of that Change? I realize that's a lot more code changes 😅

I really like how much nicer this makes the backend tests to read. Definitely feels like a step in the right direction. Some thoughts:
Firstly I agree with Scott that the naming might be better the other way around, something like Change and UnencodedChange and an accompanying UnencodedChange::encode method?. I'm not a huge fan of BinChange because binary/non-binary is a dichotomy that makes sense in javascript - where binary data is special - but in Rust it's a bit of a strange one. If we were to stick with the current naming then maybe something like CompressedChange would make more sense?
Re. extract, would parse make sense?
Finally, I still think it makes sense to pull the change data structures out of the protocol crate entirely. They feel like they are mostly a concern of the backend crate. I've managed to write the frontend crate without mentioning changes at all so far. I am assuming that most clients will be directly passing Vec<u8> to whatever API we expose?


Always the same add, autorefresh?

Hi, I have the problem, that when I run my app 10 minutes, its the whole time the same banner.
Is there any parameter like "autoRefresh" to get a new banner every e.g. 60 seconds?

The ad will auto refresh if you configured the param in admob portal, but the ad content may be same.


Chore/scheduler build

Ticket:

User Story 21288: Optimise scheduler process

Description

Implemented build process
updated Typescript
Optimised dockerfile
Implemented migrations

Type

[ ] Dependency upgrade
[ ] Bug fix
[ ] New feature
[x] Dev change
[ ] Additional tests
[ ] Documentation
[ ] Other

Checklist:

[ ] I have added tests that prove my fix is effective or that my feature works
[ ] This change might impact the developer experience of others and should be communicated

Screenshots:
N/A

To be clear, you moved the scheduler package (db migrations iirc) to the scheduler api instead, and properly fixed the docker script?

To be clear, you moved the scheduler package (db migrations iirc) to the scheduler api instead, and properly fixed the docker script?

correct!


NAS-133284 / 24.10.2 / add system.vendor info (by yocalebo)

Original PR: https://github.com/truenas/ixdiagnose/pull/252
Jira URL: https://ixsystems.atlassian.net/browse/NAS-133284

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.


Replace Glyphicons with Font Awesome in jsTree #55

Custom class added to main.css, applied to directories but not
files.

Signed-off-by: John M. Horan<EMAIL_ADDRESS>

LGTM! 🙌


Consider using Grayskull

To simplify updating dependency constraints, it may be worth configuring Grayskull in conda-forge.yml like so
bot:
  inspection: update-grayskull

This way the bot will refresh dependencies during updates as well

FWIW holoviews did this change recently. Here is the PR for context: https://github.com/conda-forge/holoviews-feedstock/pull/105

Thanks @jakirkham!


Game name and theme

We need to come up with a good name for the game, or we'll be stuck with HanoverRPG forever. Each student should create an issue. In it you can do one of two things:

Suggest a name, and discuss some theme elements for the game. Put your name in bold by enclosing it in double-asterisks: **HanoverRPG**
Upvote a previous name, and expand on the elements suggested earlier for that name.

Suggested names so far:

CSs bane
BattleHanover
Something like Canyon Defense and Motherload

Possible things to add:

Food
Locations/Areas
Weapons

CSs bane
Attack and defense types
Light
Dark
Fire
Water
Earth
Air

oh and Ice

BattleHanover
Theme elements:

Area in which battle(s) take place
Weapons if possible

Canyon Defense and Motherload are the best games on miniclip
Something like one of those 🤔

@walkert20 We should add food

@walkert20 I like that title but we I think we might need more elements -- not sure what though

@helmersj20 We should add invincibility food

@walkert20 I like that name too. What if we did a version of Oregon Trail, but modify it to fit Hanover's campus. So we have food, energy, and random events that happen (parties, social events, greek life, school, class, etc). We essentially try to survive a semester.

I like the name. I think adding few equipment boosts and health and energy/mana points will add depth to the game. Whoever said battling the CS professors as bosses or what not I like that idea as well.

I like the idea of making it Hanover themed. We can have the map locations named after buildings on campus. I also like the idea of adding different events such as parties, test, and sporting events. We could even think about making "bosses" named after facility members.

I'm thinking something like a very linear rpg would be the easiest to implement. Simply start out at point A, traverse through the linear set of events/battles, and have a final boss/fight/whatever to end the game. We could add checkpoints after each battle.

The main gig should be fighting and exploration, all the design should focus on that. Events are cool, but how do they make the combat/dungeon exploration better or more interesting. Also, decisions that add depth for little complexity and less work on our end, should be heavily emphasized.

panthrpg
If we go with locations based on campus locations like @hedrickj19 said, then we could have turn based boss fights with bosses named/designed after the CS professors.

HauntedHanover
Hanover College has fallen victim of a zombie attack. The President, Lake Lambert, has hidden the cure to the zombie epidemic somewhere on campus before he turned into a zombie himself.  Your mission, should you choose to accept is to find the cure and save the campus before getting caught and killed by the zombies. You don't know what the cure looks like, or where it is hidden, but you do remember talking to Dr. Lambert about how he has hidden the map that leads to the cure behind the Declaration of Independence show cased in front of the CFA.
Game Goals:

Extract the Declaration of Independence
Run to the Chemistry Lab and use chemicals to make the map visible.
Decipher the map to find where the cure is hidden.
Extract the cure.

Now that you have the cure, the next step is to find patient Zero of the epidemic and applying the cure to him/her. If you apply the cure to the wrong person (some other human turned zombie that is not patient Zero), you will die, thus resulting in termination of the game. The information about Patient Zero is hidden in the confidential documents in the health services office.
Part 2 goals:

Find the documents that have the information about Patient Zero. But of course there were 4 people who were diagnosed with the zombie symptoms on day 1.
Now that you have narrowed down the suspects to 4 people, and that you have read up on how the zombie virus works, apply your knowledge on the 4 patients' history that you read from their medical history files and the information about the virus to deduct who is patient Zero.  But if you successfully apply the cure without getting killed by zombie's in the middle of each of your missions, you win and save Hanover College and the Hanover CS department will change its name to commemorate your contribution to the campus community.

I like Sakib's idea, but I would add on that the head of every Department is a boss in the game, with abilities that suit their area of expertise. In the story, the head of each department collaborated with the president to hide the cure.

I like the idea of just doing something fantasy based. It keeps the project simple and since it would be fantasy, we could have a much wider range of ideas to collaborate on.

I like the idea of just doing something fantasy based. It keeps the project simple and since it would be fantasy, we could have a much wider range of ideas to collaborate on.

Closing this as we have settled on a name.


#184752227 restructure our package.js and app.js files

checked

Another branch is being created from this one 'ch-boilerplate-restructure1-#184752227'.
The PR will be created from that new branch.


Passing an async function to a callback that expects => void?

I just wanted to start a discussion since this is an extremely common pattern.
Let's say I have an event listener, or anything else that I takes a callback and I want to declare the callback signature:
declare function foo(cb: (string, number) => void): void;

Now if I call that with an async function:
foo(async () => {
  await whatever();
});

flow complains that Promise is incompatible with void.  While true this is very limiting.  node.js has 99 instances of => void, almost all of which are callbacks/listeners and not being able to pass async functions in seems unnecessary.
I propose that an expected void return should be happy with Promise<void>, but perhaps there's a better solution short of changing everything to void | Promise<void>?
Alternatively I've been doing:
foo((...args) => (asyncFn(...args), void 0))

which is just extremely verbose in order to make flow happy

I propose that an expected void return should be happy with Promise

That sounds risky to me. There are probably situations where the difference matters.

changing everything to void | Promise<void>

That actually sounds reasonable. Or maybe even any. It would be nice to get the Flow team's guidance on which is the best approach. I've always typed callbacks as () => void but I have run into the problem you mentioned, and now I'm wondering if () => any makes more sense for cases where you're just going to discard the return value so you don't care what it is.
But if it's not something you can change in library code, I would personally do this instead of , void 0:
foo((...args) => { asyncFn(...args); })

() => mixed might be closer to what you mean -- mixed means "any value", whereas any` means "any value, but also don't check types on anything derived from this value"


feat: use base url for static content

Related Issues
Fixes https://github.com/descope/etc/issues/6022

what about packages/libs/sdk-mixins/src/mixins/staticResourcesMixin/staticResourcesMixin.ts ?

@nirgur need to release all sdks.
Also check @orius123 comment.

what about packages/libs/sdk-mixins/src/mixins/staticResourcesMixin/staticResourcesMixin.ts ?

This is being used in the widgets
Do we want it also there?

I think we do

Yes, should be also for widgets.