can not run up

node node_modules/@hydro-sdk/hydro-sdk/dist/compiler -t ota/hello-world.ts -m hello-world -d assets -p debug

Build d9a053b259311d6139ba1bac901853eecc21ffe77544d4222082ddbf70bb3550
Compiling  [████████████████████████████████████████] 202/202 ota/hello-world.ts
Finished build in 30412ms
ota/hello-world.ts ----> assets/hello-world.hc
ota/hello-world.ts ----> assets/hello-world.hc.sha256
ota/hello-world.ts ----> assets/hello-world.hc.symbols
flutter: (elided 3 frames from dart:async)
flutter:
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: SocketException: OS Error: Connection refused, errno = 61, address = localhost, port = 60128
flutter: Another exception was thrown: SocketException: OS Error: Connection refused, errno = 61, address = localhost, port = 60128
flutter: SocketException: OS Error: Connection refused, errno = 61, address = localhost, port = 60129
flutter: Another exception was thrown: SocketException: OS Error: Connection refused, errno = 61, address = localhost, port = 60129
flutter: SocketException: OS Error: Connection refused, errno = 61, address = localhost, port = 60150
flutter: Another exception was thrown: SocketException: OS Error: Connection refused, errno = 61, address = localhost, port = 60150
flutter: SocketException: OS Error: Connection refused, errno = 61, address = localhost, port = 60152
flutter: Another exception was thrown: SocketException: OS Error: Connection refused, errno = 61, address = localhost, port = 60152
flutter: Another exception was thrown: SocketException: OS Error: Connection refused, errno = 61, address = localhost, port = 60152
flutter: Another exception was thrown: SocketException: OS Error: Connection refused, errno = 61, address = localhost, port = 60152
flutter: I/Hydro 0 native, 562 virtual prototypes
flutter: I/Hydro 0 native, 562 virtual prototypes
flutter: Another exception was thrown: SocketException: OS Error: Connection refused, errno = 61, address = localhost, port = 60152

Hi @brainee thanks for trying out Hydro! RunFromNetwork is looking for a local server to connect to to pull your code from. You'll need to use the -w ota switch to start that server and watch for changes in your code.

Hi @brainee thanks for trying out Hydro! RunFromNetwork is looking for a local server to connect to to pull your code from. You'll need to use the -w ota switch to start that server and watch for changes in your code.

thanks, i have ran up the demo,it's good work.

thanks, i have ran up the demo,it's good work.

i want to convert  a whole project, do you have any idea?

i want to convert  a whole project, do you have any idea?

There's no tooling to convert existing Flutter apps, no. I also don't recommend using Hydro in production. It is still very much pre alpha in quality.

There's no tooling to convert existing Flutter apps, no. I also don't recommend using Hydro in production. It is still very much pre alpha in quality.

Is it possible to run from local file system (not using local web server with "-w ota" flags)?

Is it possible to run from local file system (not using local web server with "-w ota" flags)?

And how to bind a custom widget? I'm trying to do it like in example (https://github.com/chgibb/hydro-sdk/blob/master/test/widget/customWidget-1_test.dart https://github.com/chgibb/hydro-sdk/blob/master/test/widget/customWidget-1.ts) and getting "attempt to index a nil value null myCustomWidget".
MyCustomWidget I put in main.dart:
`class MyCustomWidget extends StatelessWidget {
final Key key;
final Color color;
final Widget text;
final MainAxisAlignment mainAxisAlignment;
MyCustomWidget({
@required this.key,
@required this.color,
@required this.text,
@required this.mainAxisAlignment,
});
@override
Widget build(BuildContext context) {
return Container(
key: key,
color: color,
child: Row(
mainAxisAlignment: mainAxisAlignment,
children: [text],
));
}
}`
myCustomWidget.ts (put it in /ota):
`import { Color } from "@hydro-sdk/hydro-sdk/runtime/dart/ui/color";
import { Key } from "@hydro-sdk/hydro-sdk/runtime/flutter/foundation/key";
import { Icon } from "@hydro-sdk/hydro-sdk/runtime/flutter/widgets/icon";
import { MainAxisAlignment } from "@hydro-sdk/hydro-sdk/runtime/flutter/widgets/mainAxisAlignment";
import { StatelessWidget } from "@hydro-sdk/hydro-sdk/runtime/flutter/widgets/statelessWidget";
import { Text } from "@hydro-sdk/hydro-sdk/runtime/flutter/widgets/text";
import { CupertinoColors } from "@hydro-sdk/hydro-sdk/runtime/flutter/cupertino/cupertinoColors";
import { CupertinoIcons } from "@hydro-sdk/hydro-sdk/runtime/flutter/cupertino/cupertinoIcons";
import { MaterialApp } from "@hydro-sdk/hydro-sdk/runtime/flutter/material/materialApp";
import { TextStyle } from "@hydro-sdk/hydro-sdk/runtime/flutter/painting/textStyle";
import { runApp } from "@hydro-sdk/hydro-sdk/runtime/flutter/runApp";
export interface MyCustomWidgetProps {
key: Key;
color: Color;
text: Text;
mainAxisAlignment: MainAxisAlignment;
}
declare const org: {
myPackage: {
myCustomWidget: (
this: void,
props: MyCustomWidgetProps
) => MyCustomWidget;
};
};
export class MyCustomWidget extends StatelessWidget {
private props: MyCustomWidgetProps;
public constructor(props: MyCustomWidgetProps) {
super();
this.props = props;
}
public build() {
    return org.myPackage.myCustomWidget(this.props);
}

}`
And modified hello-world.ts:
`import { runApp } from "@hydro-sdk/hydro-sdk/runtime/flutter/runApp";
//Make sure to import from /index specifically if using barell imports.
//The compiler won't resolve /index by itself
import {
StatelessWidget,
Text,
Container,
TextEditingController,
Center
} from "@hydro-sdk/hydro-sdk/runtime/flutter/widgets/index";
import { MaterialApp, Scaffold } from "@hydro-sdk/hydro-sdk/runtime/flutter/material/index";
import { Widget } from "@hydro-sdk/hydro-sdk/runtime/flutter/widget";
import { Key } from "@hydro-sdk/hydro-sdk/runtime/flutter/foundation/key";
import { CupertinoColors } from "@hydro-sdk/hydro-sdk/runtime/flutter/cupertino/cupertinoColors";
import { MainAxisAlignment } from "@hydro-sdk/hydro-sdk/runtime/flutter/widgets/mainAxisAlignment";
import { MyCustomWidget } from "./myCustomWidget";
class MyWidget extends StatelessWidget {
private controller = new TextEditingController({ text: "Some convoluted but familiar functions" });
public constructor() {
super();
}
public build(): Widget {
    console.log(this.controller.getText().toLowerCase());
    return new MaterialApp({
        home:
            new Scaffold({
                body:
                    new Center({
                        child:
                            new MyCustomWidget({
								key: new Key("Key for MyCustomwidget"),
								color: CupertinoColors.activeBlue.color,
								text: new Text("MyCustomWidget"),
								mainAxisAlignment: MainAxisAlignment.center,
							}),
                    })
            })
    });
}

}
runApp(() => new MyWidget());
`
Compiler shows that everything is fine. But when I run app, I'm getting "attempt to index a nil value null myCustomWidget" error message. What I'm doing wrong?

And how to bind a custom widget? I'm trying to do it like in example (https://github.com/chgibb/hydro-sdk/blob/master/test/widget/customWidget-1_test.dart https://github.com/chgibb/hydro-sdk/blob/master/test/widget/customWidget-1.ts) and getting "attempt to index a nil value null myCustomWidget".
MyCustomWidget I put in main.dart:
`class MyCustomWidget extends StatelessWidget {
final Key key;
final Color color;
final Widget text;
final MainAxisAlignment mainAxisAlignment;
MyCustomWidget({
@required this.key,
@required this.color,
@required this.text,
@required this.mainAxisAlignment,
});
@override
Widget build(BuildContext context) {
return Container(
key: key,
color: color,
child: Row(
mainAxisAlignment: mainAxisAlignment,
children: [text],
));
}
}`
myCustomWidget.ts (put it in /ota):
`import { Color } from "@hydro-sdk/hydro-sdk/runtime/dart/ui/color";
import { Key } from "@hydro-sdk/hydro-sdk/runtime/flutter/foundation/key";
import { Icon } from "@hydro-sdk/hydro-sdk/runtime/flutter/widgets/icon";
import { MainAxisAlignment } from "@hydro-sdk/hydro-sdk/runtime/flutter/widgets/mainAxisAlignment";
import { StatelessWidget } from "@hydro-sdk/hydro-sdk/runtime/flutter/widgets/statelessWidget";
import { Text } from "@hydro-sdk/hydro-sdk/runtime/flutter/widgets/text";
import { CupertinoColors } from "@hydro-sdk/hydro-sdk/runtime/flutter/cupertino/cupertinoColors";
import { CupertinoIcons } from "@hydro-sdk/hydro-sdk/runtime/flutter/cupertino/cupertinoIcons";
import { MaterialApp } from "@hydro-sdk/hydro-sdk/runtime/flutter/material/materialApp";
import { TextStyle } from "@hydro-sdk/hydro-sdk/runtime/flutter/painting/textStyle";
import { runApp } from "@hydro-sdk/hydro-sdk/runtime/flutter/runApp";
export interface MyCustomWidgetProps {
key: Key;
color: Color;
text: Text;
mainAxisAlignment: MainAxisAlignment;
}
declare const org: {
myPackage: {
myCustomWidget: (
this: void,
props: MyCustomWidgetProps
) => MyCustomWidget;
};
};
export class MyCustomWidget extends StatelessWidget {
private props: MyCustomWidgetProps;
public constructor(props: MyCustomWidgetProps) {
super();
this.props = props;
}
public build() {
    return org.myPackage.myCustomWidget(this.props);
}

}`
And modified hello-world.ts:
`import { runApp } from "@hydro-sdk/hydro-sdk/runtime/flutter/runApp";
//Make sure to import from /index specifically if using barell imports.
//The compiler won't resolve /index by itself
import {
StatelessWidget,
Text,
Container,
TextEditingController,
Center
} from "@hydro-sdk/hydro-sdk/runtime/flutter/widgets/index";
import { MaterialApp, Scaffold } from "@hydro-sdk/hydro-sdk/runtime/flutter/material/index";
import { Widget } from "@hydro-sdk/hydro-sdk/runtime/flutter/widget";
import { Key } from "@hydro-sdk/hydro-sdk/runtime/flutter/foundation/key";
import { CupertinoColors } from "@hydro-sdk/hydro-sdk/runtime/flutter/cupertino/cupertinoColors";
import { MainAxisAlignment } from "@hydro-sdk/hydro-sdk/runtime/flutter/widgets/mainAxisAlignment";
import { MyCustomWidget } from "./myCustomWidget";
class MyWidget extends StatelessWidget {
private controller = new TextEditingController({ text: "Some convoluted but familiar functions" });
public constructor() {
super();
}
public build(): Widget {
    console.log(this.controller.getText().toLowerCase());
    return new MaterialApp({
        home:
            new Scaffold({
                body:
                    new Center({
                        child:
                            new MyCustomWidget({
								key: new Key("Key for MyCustomwidget"),
								color: CupertinoColors.activeBlue.color,
								text: new Text("MyCustomWidget"),
								mainAxisAlignment: MainAxisAlignment.center,
							}),
                    })
            })
    });
}

}
runApp(() => new MyWidget());
`
Compiler shows that everything is fine. But when I run app, I'm getting "attempt to index a nil value null myCustomWidget" error message. What I'm doing wrong?

@StasKalishenko for running code from the device, the only option at the moment is running from your apps asset bundle with RunFromBundle . With respect to custom widget binding, it looks like you're missing the namespace setup in your RunFrom*

@StasKalishenko for running code from the device, the only option at the moment is running from your apps asset bundle with RunFromBundle . With respect to custom widget binding, it looks like you're missing the namespace setup in your RunFrom*


Monthly ESMValTool meeting - June

The next monthly ESMValTool meeting will be in June. The result of the poll is that it will be on
Wednesday June 3 at 12:00 CET (11:00 BST).
The duration will be one hour. Join the zoom meeting here.
@ESMValGroup/esmvaltool-developmentteam
Format and agenda

We start the meeting by doing a round where everyone gets one minute to introduce themselves and tell what they will be working on in the next month or what they are struggling with
Using the input from the introduction round, we can decide to talk about specific topics with the entire group or make smaller breakout groups to continue the discussion there.
If you already know that you would like to bring up a particular topic in the meeting, you can link the GitHub issue to this issue so it's easy to find for other people in the meeting and we can already start discussing there before the meeting. Just create a new GitHub issue if there is no open issue yet.
GitHub issues are our preferred way to communicate outside the meeting and keep track of work, so any feature requests/action items/etc discussed in the meeting should ideally result in a GitHub issue.

Notes from the previous meeting can be found here: https://github.com/ESMValGroup/ESMValTool/issues/1609#issuecomment-624658525
Topics for discussion proposed in this issue:

v2 release (when would we like to release and what would we still like to do before releasing?)
squash merges #1653
station data #496

I would like to propose to put the release schedule of v2.0 on the agenda. It would be helpful to decide on things that are critical yet still missing and thus blocking release of v2.0 as well as to collect other items that could also go into a later release, e.g. v2.0.1.

As an input to the discussion on the final release, I went through all the issues and sort them out in two projects: v2.0 release and v2.1 release.
It would be good if someone could do the same for ESMValCore.

@ESMValGroup/esmvaltool-developmentteam The meeting will take place on Wednesday June 3 at 12:00 CET (11:00 BST).

I would also like to make a decision on #1653 in the meeting.

We should also make a decision on #496.

we should defo talk about releasing 2.0 soon :bullettrain_side:

We should also make a decision on #496.

Happy to provide input to that discussion if it would be useful

We should also make a decision on #496.

Happy to provide input to that discussion if it would be useful

Thanks @duncanwp. @jgriesfeller you might like to join the call too!

Please can someone give me the meeting password (by mail if you don't want to post it here)?

Just a minute, I'll try to figure out what it is, apparently zoom added passwords to all meetings recently

The password is 8iyQMx

Topic: Station data
Time: Jun 3, 2020 01:00 PM Amsterdam
Join Zoom Meeting
https://us02web.zoom.us/j/82443796765?pwd=b3QrT3EwS0FQRERzNUdRTkFZblpWQT09
Meeting ID: 824 4379 6765
Password: 7mhyp2

Topic: Tutorial
Time: Jun 3, 2020 01:00 PM Amsterdam
Join Zoom Meeting
https://us02web.zoom.us/j/84127203139?pwd=TWx5dkJnRTJCaldTYkhodENwdDdEUT09
Meeting ID: 841 2720 3139
Password: 2CQN1e

These are the relavent CF Conventions: http://cfconventions.org/Data/cf-conventions/cf-conventions-1.8/cf-conventions.html#appendix-examples-discrete-geometries

"The host has another meeting in progress" :-(

Solved that by making @SarahAlidoost the host for the Tutorial meeting, you should now be able to join one of both meetings.

Solved that by making @SarahAlidoost the host for the Tutorial meeting, you should now be able to join one of both meetings.

Still does not work for me.

@nielsdrost Reported he was able to join after installing the zoom application.

it's not gonna install itself, is it now :rofl:

Thanks for attending everyone!
Here is a short summary

We would like to release v2 soon. @bouweandela will make a doodle to set up a meeting with @ESMValGroup/esmvaltool-coreteam. Before the meeting, please apply the appropriate milestone to issues you think you can complete before the due date https://github.com/ESMValGroup/ESMValCore/milestone/3 and https://github.com/ESMValGroup/ESMValTool/milestone/3. A tentative due date proposed by @mattiarighi is July 15, 2020, but this is open for discussion of course. Missing the deadline shouldn't be a problem if we make releases regularly. The projects https://github.com/ESMValGroup/ESMValTool/projects/4 and https://github.com/ESMValGroup/ESMValCore/projects/2 created by @mattiarighi could probably be a good starting point for selecting issues (though covering everything there seems a bit optimistic).

We will leave the issue about squash merges #1653 open for another week and if no-one objects within that time, we will start using them.

The way forward with the station data (#496, #1655) will be to try using CIS tools to build a CMORizer script, possibly starting from pull request  #1656. CIS tools allows reading the data into a form that follows the CF conventions, so some additional renaming of variables/coordinates/units will probably be needed to get it CMOR/CMIP6 data request compliant. CIS tools also has a feature for collocating station data with model data, this could possibly be implemented as a preprocessor function once the data is available in a CMORized form.

@ledm @SarahAlidoost and @Peter9192 made good progress on planning the tutorial

yeah cheers for organizing and leading these calls @bouweandela - they are pretty useful indeed! :beer:

@bouweandela says I should indicate my availability here so here goes: available for all sorts of things including work on ESMValTool, marriage (with reservations), talking about Formula 1 and history over Zoom beers, and not available for other things including travelling outside Reading, talking to people that don't trust science, and socializing with an angry cat. Is this good enough? :grin:

@bouweandela says I should indicate my availability here so here goes: available for all sorts of things including work on ESMValTool, marriage (with reservations), talking about Formula 1 and history over Zoom beers, and not available for other things including travelling outside Reading, talking to people that don't trust science, and socializing with an angry cat. Is this good enough?

Yes! Also consider filling in the Doodle for this month's meeting here: https://github.com/ESMValGroup/ESMValTool/issues/1670

I did :beer:


fix(turbopack): Use correct method for the proxy of fetch

Description
We should use Proxy::all instead of Proxy::http or Proxy::https.
Closes PACK-2448
Testing Instructions
See next.js counterpart: https://github.com/vercel/next.js/pull/63309

Actually nope, I think it's a bug of reqwest.

It works if I add
let url = url.replace("https://", "http://");

so I think reqwest is not sending https requests to the proxy, regardless of the method.

That's what I saw as well (https://vercel.slack.com/archives/C03EWR7LGEN/p1707871876798169?thread_ts=1707788191.248449&cid=C03EWR7LGEN)

Closing in favor of https://github.com/vercel/turbo/pull/8165


fix(package): The repository has moved URL

Description
The package.json file is currently pointed to Adobe-Marketing-Cloud, the repository now currently lives at adobe.

Types of changes
Checklist:

[✓] I have signed the Adobe Open Source CLA.
[✓] I have read the CONTRIBUTING document.

@haktober, Thank you for your contribution!


Fix SSE terminator

Each notification is sent as a block of text terminated by a pair of newlines.

Thanks!


Allow S3 config in the Quickwit configuration [Discussion]

Quoting @guilload :
We want to define the storage config in the quickwit/server config so we can pass advanced options supported by Amazon S3:

s3:
  region: ...
  endpoint: ...
  ...
  sse_encryption: ...
  auth:
    aws_profile: ...
    aws_session_token: ...
Then, we have to change the signature of the resolver and resolver factories:

get_resolver(storage_config).resolve(uri) // or
get_resolver().resolve(uri, storage_config)

I am not sure about how the aws_session_token work, but it would really be good to let the user define the endpoint and the region in the conf.
We can even keep the environment variable and just add as "one more mean" in the detection pipeline.

#3446 introduces a storage config that supports a few options for now but should be reasonably easy to extend. We can open specific issues for further enhancements.


Feature suggestion: Bindable Hide attribute

Hello!
Is there any interest in adding a bindable "hide" attribute? It would simply function as the inverse of show. Obviously we can do show.bind="!isShowing"to effectively hide something. I always try to avoid !'s in conditionals and code to a "positive" convention. It's just one less mental hurdle to do inverses of booleans and determine what's showing or hiding.
It would add aurelia-hidewhen the value is true and remove when false.
I'd be willing to give it a shot myself and submit a PR but I wanted to make sure it wasn't in the roadmap or anything first.
Thoughts?

:+1: like

For what it's worth, another clear use and what brought me the idea was doing something like:
<span show.bind="isSaving">Saving Changes...</span>
<button hide.bind="isSaving">Save</button>

Implemented in https://github.com/aurelia/templating-resources/commit/38760b6ba00774a7e75572baef0021d8c1c45096


test: add lake benchmarks

@Kha Hopefully I configured this right.

!bench

!bench

!bench

!bench

@Kha Any suggestion for improvements? Two potential uncovered test cases I thought of:

Multi-package elaboration
Modules with actual code

Case (2) could be reasonably addressed by benchmarking a build of the Lean core itself. However, I am not sure either of these cases would provide significantly different benchmarks to be worth the added complexity.

I liked the benchmarks from #2463, so I went ahead and merged them into here.

!bench

Interesting, it appears a no-op build of Lean is faster than I no-op build of the inundation dummy project. So I guess number of files to hash is more significant than the contents of them?

Modules with actual code

Ah, I suppose it is interesting e.g. in the context of #2444. I think I would still value isolated tests over that. It's okay to do benchmarks like this one manually if we don't expect output size to matter anymore after this change.

@Kha Sime other interesting points of the Lean builds and real code builds:

Provides a time comparison with another build system (CMake/Make) -- we can officially say that, in parallel, Lake is faster than Make even for a complex project.

Enables measuring of code-level finer-grain dependency specification (like the forthcoming module system or leanprover/lake#86).

Similarly, things like asynchronous proof checking could also be captured by such a benchmark (if these are integrated with Lake enough to enable it to move onto building downstream files while the proofs are still being checked).

However, I am happy to remove the benchmark if you are confident it is not worth it. I was also initially unsure whether it was good idea.

!bench

!bench

!bench

!bench

In any case, I'm still not convinced this is worth increasing the benchmark run time by 50%, no.

It may be worth noting that the Lean build itself is only contributing 4-5 minutes (so about 25% of the overall time), the other parts contribute about 1-3 minutes and benchmark without these changes is already usually 13-14 minutes. However, I presume that means you prefer me to take it out, so I will do that soon.

It may be worth noting that the Lean build itself is only contributing 4-5 minutes (so about 25% of the overall time), the other parts contribute about 1-3 minutes and benchmark without these changes is already usually 13-14 minutes

I'm not sure what you are trying to tell me with that. All I see is a total increase from 13 minutes to 20 minutes.


Allow users to sign up for usability testing through CC Search

UI is TBD

I want to work on this issue. What is TBD? and where can I find the UI.

TBD means it's to be determined. You'd have to submit a proposal for the UI.


CloudWatch Logs role ARN must be set in account settings to enable logging

This error occurs for regions where no CW Logging ARN has previously been set.
This is an account-level setting for the region.
There is some debate on best-practice, if this should be a separate one-time stack, or include it in an application stack.

As an easy way to resolve this error you can add the following two resources at the top of the virtual-waiting-room-on-aws.template file before rolling it out.
{
    "Resources": {
        "CloudWatchRole": {
            "Type": "AWS::IAM::Role",
            "Properties": {
                "AssumeRolePolicyDocument": {
                    "Version": "2012-10-17",
                    "Statement": [
                        {
                            "Effect": "Allow",
                            "Principal": {
                                "Service": [
                                    "apigateway.amazonaws.com"
                                ]
                            },
                            "Action": "sts:AssumeRole"
                        }
                    ]
                },
                "Path": "/",
                "ManagedPolicyArns": [
                    "arn:aws:iam::aws:policy/service-role/AmazonAPIGatewayPushToCloudWatchLogs"
                ]
            }
        },
        "Account": {
            "Type": "AWS::ApiGateway::Account",
            "Properties": {
                "CloudWatchRoleArn": {
                    "Fn::GetAtt": [
                        "CloudWatchRole",
                        "Arn"
                    ]
                }
            }
        },
...
}


How can we synthesize specific laughter?

I noticed that in tlm sample, you used a data/prompt.txt, is this file a sequence of discrete units of laughter？
I am wondering how can we synthesize specific laughter, such as haahaahaa, hiihiihii, hnnhnnhnn, or heeheehee. If we use phonemes, we can just map the laughter into specific phonemes, and then train a specific TTS model to synthesize the laughter.
By your tlm, we can only use a laughter audio to get a discrete units sequence by kmeans clusttering, and then to sample a new sequence with tlm, so we can get a laughter sequence similar to the original audio, and then use this sequence to TTS model to synthesize the laughter.
I don't know if I'm right on the usage of tlm. Or is there another way to synthesize specific laughter we want?

I noticed that in tlm sample, you used a data/prompt.txt, is this file a sequence of discrete units of laughter？
Yes. If the prompt exists tlm will generate the continuation of the prompt.

Regarding your next question you can just find a laughter sample of the specific laughter you want to synthesize and use it as a prompt to generate it.
You can of course also use phoneme to train the model, as long as if you have enough labeled data.


Update New-MigrationBatch.md

Issue #10189

Learn Build status updates of commit 853b9be:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-MigrationBatch.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Keep fix version of association

I want to have version of associations at the creation date of a model. It's not very clear so I will give an example :
class User < ActiveRecord::Base
  has_one :coupon
end

class Coupon < ActiveRecord::Base
  has_many :users
end

coupon = Coupon.creat(amount: 100)
user = User.create(coupon: coupon)
user.coupon.amount == 100
coupon.update_attribute('amount', 200)
user.coupon.amount == 200 # I want to have 100

This is useful to produce bills or things like that.
I checked the documentation but I didn't find a builtin solution. If there is no solution, I propose to add a keep_version_of_associations option on the has_paper_trail method. We could also have the possibility to add an array to choose associations with this behavior. Finally, we can also add an option to relationships methods like that has_one :coupon, keep_same_versions: true.
What you think ? I'm ready to contribute if you think it's interesting.

If I understand your idea correctly, you would like to "freeze" user so that persisted changes to its associations are not subsequently visible. This does not seem like a good fit for PaperTrail. PT keeps a record of changes, and allows you to restore those changes. "Freezing" a model's associations seems outside the scope of PT.
Instead, you might try to reify at the desired point in time, or you might simply store the necessary coupon data in a special-purpose data structure prior to making changes.

@jaredbeck you understood my needs. I don't know why I did found this solution but I will simply create an Order model with an OrderLine relation. Very simple and common. Thanks.


Stuck on version 0.8.1 with no bubbleprof

Expected Behavior
I should be able to upgrade to the latest clinic
Current Behavior
I installed clinic on the 10th of April 2019 with npm install -g clinic and version 0.8.1 was install which is not the latests version (v2.3.0)
node -v v10.13.0
npm -v v6.4.1
clinic -v v0.8.1
OS is OS X 10.13.6

I have tried
npm uninstall -g clinic
npm install -g<EMAIL_ADDRESS>npm install -g<EMAIL_ADDRESS>
but after I still get clinic -v v0.8.1
And clinic bubbleprof is not found

Classic restarting fixed this issue ;)


Fixed rec_new and rec_delete methods

Fixed rec_new and rec_delete methods, removed rec_edit method as it's unused in this cookbook

I don't understand. That logic should belong in the underlying gem. Not the case? Might be that the solution would be more to update the gem underneath.

So updating the gem was the first thing i try when try to make this cookbook works. So for now such gem is far away from installed into this cookbook. So i develop 2 functions (rec_new and rec_delete) based on such gem. For now this cookbook works fine for me.


<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed

Select one ... (check one with "x")
[ ] bug
[ ] feature request
[V] enhancement

Expected behavior

No warning should be thrown
Actual behavior
NPM warning thrown:
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.

Reproduction of behavior

ng new ng-clr
ng add @clr/angular

Environment details
Angular CLI: 6.0.8
Node: 8.11.3
OS: win32 x64
Angular: 6.0.7
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.6.8
@angular-devkit/build-angular     0.6.8
@angular-devkit/build-optimizer   0.6.8
@angular-devkit/core              0.6.8
@angular-devkit/schematics        0.6.8
@angular/cli                      6.0.8
@ngtools/webpack                  6.0.8
@schematics/angular               0.6.8
@schematics/update                0.6.8
rxjs                              6.2.1
typescript                        2.7.2
webpack                           4.8.3

This is expected behavior, and described for anyone who wants to use a custom theme https://vmware.github.io/clarity/documentation/v0.12/themes#examples.
This will go away when we stop having any dependency on Bootstrap, and so follow a different ticket #1531 for updates. I'm going to close this as its a duplicate.


update compile document

update makefile

Coverage increased (+0.05%) to 55.226% when pulling ca1d7140b388979513490cb0d608cb6330cd148c on wy65701436:1.1.0-document into fd583f5d284b95e883673ce9c707cd138a51b65a on vmware:master.

Coverage remained the same at 55.179% when pulling b9626e409774ca8ef2e4f7fa773b0e10ae6b6a05 on wy65701436:1.1.0-document into fd583f5d284b95e883673ce9c707cd138a51b65a on vmware:master.

Coverage increased (+0.05%) to 55.226% when pulling f41fcdeeb496de1d84bd5633dcc8ced16937cc44 on wy65701436:1.1.0-document into 425106524fab641f064da7358fa6f17d698cc315 on vmware:master.

Coverage remained the same at 55.179% when pulling f41fcdeeb496de1d84bd5633dcc8ced16937cc44 on wy65701436:1.1.0-document into 425106524fab641f064da7358fa6f17d698cc315 on vmware:master.

Coverage remained the same at 55.179% when pulling c31ad850428fac488fb2676d6b095a8009329f17 on wy65701436:1.1.0-document into 425106524fab641f064da7358fa6f17d698cc315 on vmware:master.


Rename url to source in PRCA metadata

Very minor fix. I actually wonder if it might be better to make source a dictionary that includes the page number (since this is really source information).

@andylolz that's a good idea. the more data the better


Fix wording in the intro livebook

Or we can go with "That's your quick intro..." :)

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

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Issue 179

Codecov Report

Merging #180 into master will not change coverage.
The diff coverage is 8%.

@@           Coverage Diff           @@
##           master     #180   +/-   ##
=======================================
  Coverage   69.75%   69.75%
=======================================
  Files          48       49    +1
  Lines        5491     5491
=======================================
  Hits         3830     3830
  Misses       1318     1318
  Partials      343      343

Impacted Files
Coverage Δ

exec/native_compile_nogae_amd64.go
100% <ø> (ø)

exec/internal/compile/scanner.go
0% <ø> (ø)
:arrow_up:

exec/internal/compile/scanner_amd64.go
0% <0%> (ø)

exec/internal/compile/native_amd64.go
54.54% <54.54%> (ø)

Continue to review full report at Codecov.

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


[material-ui][Select] TS errors with the updated SelectProps and when used in Storybook

Steps to reproduce
Reproduction steps

Go to https://stackblitz.com/edit/github-cxka5a?preset=node
Open affected files: the Select.tsx and Select.stories.tsx to see the errors.

Go to the mui-material docs section to see the messed-up Storybook props table.

Current behavior

The latest version of the MUI library is enforcing variant props to be present in the Select.tsx component. It has created multiple TS errors for Select.tsx and Select.stories.tsx.

Additionally, the latest change breaks the docgen table on the docs in Storybook. The docs are autogenerated by the react-docgen-typescript from @storybook/addon-docs.
See the image below.

Expected behavior
No Typescript errors. It should work as before.
Context
The root cause of the issue is that MUI has adjusted the types for Select & SelectProps type in a recent version.
This effectively makes the second Variant generic param required for mui's Select and SelectProps; if omitted, the type of variant prop effectively defaults to "outlined" (see types here).
Conceptually, MUI has combined multiple different components that have different props, HTML elements and styles into one Select component. The allowed props are different depending on the variant prop.
It makes sense that storybook is unable to generate the correct props documentation and controls for the MUI Select, because it can only generate one set of props to statically display, but this component doesn't have just one set of props. It has one set per variant.
Attempts at fixing
Fixing the types for Select
It is possible to fix the types for our Select wrapper component to make the typescript compiler happy (e.g. accepting a second generic parameter for the Variant on the wrapper component, passing it through to MuiSelect, and doing a clever union on the props argument to make variant optional again).
However we still have a dilemma with the stories, because of variant defaulting to outlined; typescript can't narrow the type for variant unless we explicitly provide the second generic argument.
Making typescript compiler happy in Select.stories.tsx
My next idea was to tweak the types in the stories file to make all of the errors go away; i.e. picking an arbitrary variant and supplying that as the second generic arg everywhere. The appearance of the component is correct and the variant can still be changed via controls; however, the prop table generated by react-docgen-typescript is incorrect and doesn't show accurate props for the selected variant.
The table is generated at build time, so there's no way to update it as the user interacts with the variant control.

  Output from `npx @mui/envinfo` goes here.

Search keywords: Select, SelectProps

When will this fix be released? I'm on v5.15.13 and it is still happening.

Hey @andreisocaciu, this will be released this week on v5.15.14

@andreisocaciu See the latest version here 👉🏾  v5.15.14


Add per-binding configuration for partitioning

consumer and producer partitioning properties are defined per-binding;
the binding configuration will use an expanded form (where destination indicates the binding target, missing in the short form spring.cloud.stream.binding.input=tessttock;
partitioned indicates that an input is partitioned (must be used in conjunction with an instanceIndex setting - either via arguments or via environment. instanceCount must be defined for Kafka.)
partitionKeyExpression or partitionKeyExtractorClass indicate that a producer is partitioned (must be used in conjunction with supplying a partitionCount property)
unit tests
Kafka binding fixes for partitioning
the current Binder properties need to be renamed, but due to the use of hardcoded values I left them alone;

Usage example:
java -jar time-source/target/time-source-1.0.0.BUILD-SNAPSHOT-exec.jar --spring.cloud.stream.bindings.output.destination=parttock --spring.cloud.stream.bindings.output.partitionKeyExpression=payload --spring.cloud.stream.bindings.output.partitionCount=3
java -jar log-sink/target/log-sink-1.0.0.BUILD-SNAPSHOT-exec.jar --spring.cloud.stream.bindings.input.partitioned=true --spring.cloud.stream.bindings.input.destination=parttock --spring.cloud.stream.instanceCount=3 --spring.cloud.stream.instanceIndex=0 --server.port=0

LGTM, merging.

Squashed, rebased and merged as f4f6cb509d53d6f802f436295ac0a9f1d5889b9c.


Fix disappearing button on New Host page

https://bugzilla.redhat.com/show_bug.cgi?id=1194668

@romanblanco with your fix on Add new host screen if i change value in Host platform pull-down it changes buttons to Save/Reset/Cancel, instead of Add/Cancel. I think you should only execute following block when editing existing record.
if changed != session[:changed]
session[:changed] = changed
page << javascript_for_miq_button_visibility(changed)
end

Verified fix.


Ensure $select.selected exists prior to testing length.

I have a use case where following exception is being thrown.  To be honest I do not totally understand the execution path, but handling this exception seems obvious enough.
    at uis.directive.controller.ctrl.getPlaceholder```

Appears to be in place already https://github.com/angular-ui/ui-select/blob/331f819ce0f549e0836bd4724bba67c65a6d957a/src/uiSelectMultipleDirective.js#L62
We should probably use isEmpty really though when I come to think about it.


Handle salts in DrugBank

DrugBank contains salts for some entries, e.g., for https://go.drugbank.com/drugs/DB00813, there is a corresponding https://go.drugbank.com/salts/DBSALT000301 (on the website, these are listed under Product Ingredients, "Active ingredients including salts and other forms of exact ingredients used in drug products."). Currently the OBO export of DrugBank doesn't contain any of these salts, but xref mappings from e.g., CHEBI provide mappings to these salt forms (see https://www.ebi.ac.uk/chebi/searchId.do?chebiId=CHEBI:31602 under Manual Xrefs) which show up in the ChEBI OBO. It looks like currently there is not identifiers.org entry for the DBSALT name space and these DBSALT IDs are technically invalid under the drugbank prefix. Should we add a new entry to the metaregistry for these salts or resolve this in some other way?

That's a great idea, Ben. I'll make a PR for this

The PR did most of the work, except dealing with incorrect references in ChEBI. Perhaps the best solution is to petition ChEBI to make some improvements (see https://github.com/ebi-chebi/ChEBI/issues/3932)
The code to get the mappings in a dataframe is:
import pyobo
df = pyobo.get_filtered_relations_df('drugbank', 'obo:has_salt')


UI for getting and deleting attainments

[ ] UI for getting attainments
[ ] UI for deleting attainments @viivi-uhari

Dependency not solved, deleting working locally.


Update Documentation: what is the effect of setting sample weights?

Hello,
this is a request to update the documentation to make it more clear what setting a sample weight will do.
While the obvious interaction (weighting one event to another) is clear, other effects are not clear. For example:
Does scaling all weights by a factor of x change anything within xgboost? The answer is yes because AFAIK factors like min_child_weight are tied to the total integrated weight which changes by multiplying a factor in.
What is the relation between sample size and integrated sample weight?
I am looking for a raw signal for that I have a lot of simulation within a very often recorded event for which I have a high weight (my weights are basically the rate how often this event is seen) but with fewer samples.
Example:
Signal 10^6 events, integrated weight 1mHz
Background: 10^3 events, integrated weight 30Hz
At the moment, I am scaling the weights of both signal and background to 1 before feeding them into xgboost but I am not sure if this is the right way to go.
Please, update the documentation so we can get a bit more inside how the sample weight will actually change the results.

This is a question that can be asked at https://discuss.xgboost.ai/, after sufficient discussion, we would be welcoming a PR to improve the docs


StepUp3D

A node that detects steps and moves the player upwards.

https://krazyjakee.github.io/nodot/addons/nodot/physics/StepUp3D.html


[WIP] Use Utils.getContextOrSparkClassLoader to load Shims [databricks]

Looking at the Spark loads external datasources https://github.com/apache/spark/blob/b63674ea5f746306a96ab8c39c23a230a6cb9566/sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/DataSource.scala#L652
Trampolining to Utils.getContextOrSparkClassLoader may be the only reliable way to make our current code work with external sources. WIP to see if it's what shoud have been doing in the first place
Signed-off-by: Gera Shegalov<EMAIL_ADDRESS>

build

current premerge status:
2 failed, 562 passed, 23 skipped, 4 xfailed in 619.26s (0:10:19)

An error occurred while calling z:com.nvidia.spark.rapids.ExecutionPlanCaptureCallback.assertDidFallBack. : java.lang.NoClassDefFoundError: com/nvidia/spark/rapids/shims/SparkShimImpl$

build

Many more tests passed.
Next issues -k 'test_ts_read_fails_datetime_legacy[-reader_confs0-LEGACY-INT96-Timestamp]'
13:11:39  E                   Caused by: java.lang.UnsatisfiedLinkError: com.nvidia.spark.rapids.jni.ParquetFooter.readAndFilter(JJJJ[Ljava/lang/String;[IIZ)J
13:11:39  E                   	at com.nvidia.spark.rapids.jni.ParquetFooter.readAndFilter(Native Method)
13:11:39  E                   	at com.nvidia.spark.rapids.jni.ParquetFooter.readAndFilter(ParquetFooter.java:90)
13:11:39  E                   	at com.nvidia.spark.rapids.GpuParquetFileFilterHandler.$anonfun$readAndFilterFooter$5(GpuParquetScan.scala:594)
13:11:39  E                   	at com.nvidia.spark.rapids.Arm.withResource(Arm.scala:28)
13:11:39  E                   	at com.nvidia.spark.rapids.Arm.withResource$(Arm.scala:26)
13:11:39  E                   	at com.nvidia.spark.rapids.GpuParquetFileFilterHandler.withResource(GpuParquetScan.scala:460)
13:11:39  E                   	at com.nvidia.spark.rapids.GpuParquetFileFilterHandler.$anonfun$readAndFilterFooter$4(GpuParquetScan.scala:586)

build

build

build

build

retrigger workflows

Upmerged and removed newer references to force.caller.classloader.
Ran iceberg tests locally without issues using the local and standalone modes.

build


lint hint "DO use curly braces for all flow control structures"

I am attaching the image of the hint:

Fixed in 5.0.0


Suggestions: final plot name match to standard format

It works perfect on my spec, thanks for the contribution to the Chia community!
It will be good to match the standard plot name like: plot-k32-{YYYY}-{MM}-{DD}-{hh}-{mm}-xxxx.plot

Thanks for the suggestion, and good point. I have not added much in terms of quality of life, but this is probably the first to be done along with having the files have a tmp extension before they are fully written.

without the prefix of plot-k32-{YYYY}-{MM}-{DD}-{hh}-{mm}, the plot file doesn't seem to be picked up by harvesters which rely on parsing plot file names to get the plot ID.

without the prefix of plot-k32-{YYYY}-{MM}-{DD}-{hh}-{mm}, the plot file doesn't seem to be picked up by harvesters which rely on parsing plot file names to get the plot ID.

this is wrong. My harvesters grab all *.plot files including these
but if u want -- this is quick&dirty patch to add prefix and also write originally .tmp file and move to .plot once generation finished.
`diff --git a/src/main.cpp b/src/main.cpp
index 2840e83..24d7579 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -102,7 +102,15 @@ int main( int argc, const char* argv[] )
 // Create the plot output path
 size_t outputFolderLen = strlen( cfg.outputFolder );

char* plotOutPath = new char[outputFolderLen + 64+6+1];

//char* plotOutPath = new char[outputFolderLen + 64+6+1];

// initial dir sep == 1

// plot-k32 == 8

// +1 sep

// ymdhm is 4+2+2+2+2 + 4 separators == 16

// +1 sep

// plotid

// .plot.tmp == 9

char* plotOutPath = new char[outputFolderLen + 1+8+1+16+1+64+9+1];
if( outputFolderLen )
{
@@ -113,8 +121,11 @@ int main( int argc, const char* argv[] )
plotOutPath[outputFolderLen++] = '/';
}

memcpy( plotOutPath+outputFolderLen+64, ".plot", sizeof( ".plot" ) );

time_t now = time(NULL);
struct tm *t = localtime(&now);
strftime(plotOutPath+outputFolderLen, outputFolderLen + 99 + 1, "plot-k32-%Y-%m-%d-%H-%M-", t);

memcpy( plotOutPath+outputFolderLen+26+64, ".plot.tmp", sizeof( ".plot.tmp" ) );

diff --git a/src/memplot/MemPhase1.cpp b/src/memplot/MemPhase1.cpp
index 3af2e6f..45dd47e 100644
--- a/src/memplot/MemPhase1.cpp
+++ b/src/memplot/MemPhase1.cpp
@@ -101,6 +101,12 @@ void MemPhase1::WaitForPreviousPlotWriter()
_context.plotWriter->FilePath().c_str(),
_context.plotWriter->GetError() );

const char* curname = _context.plotWriter->FilePath().c_str();

char* newname = new char[strlen(curname) - 4];

memcpy(newname, curname, strlen(curname) - 4);

rename(curname, newname);

// Print final pointer offsets
Log::Line( "" );
Log::Line( "Previous plot %s finished writing to disk:", _context.plotWriter->FilePath().c_str() );
diff --git a/src/memplot/MemPlotter.cpp b/src/memplot/MemPlotter.cpp
index 52ad9ed..2174d65 100644
--- a/src/memplot/MemPlotter.cpp
+++ b/src/memplot/MemPlotter.cpp
@@ -221,6 +221,12 @@ void MemPlotter::WaitPlotWriter()
_context.plotWriter->FilePath().c_str(),
_context.plotWriter->GetError() );

   const char* curname = _context.plotWriter->FilePath().c_str();

   char* newname = new char[strlen(curname) - 4];

   memcpy(newname, curname, strlen(curname) - 4);

   rename(curname, newname);

   // Print final pointer offsets
   Log::Line( "" );
   Log::Line( "Plot %s finished writing to disk:", _context.plotWriter->FilePath().c_str() );

`

Fixed by #21


[BUG] sklearn.utils._param_validation.InvalidParameterError thrown when using max_iter parameter in various sklearn regressors

Describe the bug
sklearn.utils._param_validation.InvalidParameterError: The 'max_iter' parameter of BayesianRidge must be an int in the range [1, inf). Got None instead.

This error occurs when using the max_iter parameter in various regression methods. It seems like None is being set as the default and sklearn introduced a new validation to disallow None as a possible value
To Reproduce
To reproduce:
use the check_estimator functionality on a regressor, either BayesianRidge or ARDRegression. Note that this requires the latest version of scikit-learn
from skpro.regression.linear import BayesianRidge
from skpro.utils.estimator_checks import check_estimator

check_estimator(BayesianRidge)

Versions

Requires sklearn version 1.5

odd, I thought we tested all estimators with sklearn 1.5.0 before bumping the bound.
I would recommend as a fix, simply set the param detaults to np.inf internally (but not externally), if None is passed, and clarify in the docstring that default is inf.


Global tables (like DVScrollBar, GM and BaseClass) aren't exposed globally

I'm not sure what exactly is going on here but the glua definitions for panels are doing some weird things resulting in functions going missing.
Snippet from sumneko.lua\addonManager\addons\garrysmod\module\library\dvscrollbar.lua updated fresh from the addon manager:
---@meta

---[CLIENT AND MENU] Sets the scroll level in pixels.
---
---[(View on wiki)](https://wiki.facepunch.com/gmod/DVScrollBar:SetScroll)
---@param scroll number The new scroll value.
function DVScrollBar:SetScroll(scroll) end

---[CLIENT AND MENU] Returns the amount of scroll level from the top in pixels
---
---[(View on wiki)](https://wiki.facepunch.com/gmod/DVScrollBar:GetScroll)
---@return number # The amount of scroll level from the top
function DVScrollBar:GetScroll() end

---@class DVScrollBar : Panel
local DVScrollBar = {}

Those two functions are placed above the class annotation and are throwing undefined-field diagnostic errors as a result.
As a separate but related issue, global tables like DVScrollBar, GM and BaseClass are defined as locals in the snippet files, requiring people to manually add them to diagnostics.globals which seems unnecessary.

After some more digging it seems that the Lua Addon Manager version is behind on releases and most (excluding the panel globals) of the issues here seem to be resolved. Sorry about that!

Ouch, thanks for reporting! I should update the Lua Addon Manager version. I'll get on it

The LLS-addon should be updated soon, I made a PR at their repo.
As for your second point:

As a separate but related issue, global tables like DVScrollBar, GM and BaseClass are defined as locals in the snippet files, requiring people to manually add them to diagnostics.globals which seems unnecessary.

This is a good point, I never noticed this before. I'll leave this issue open and rename it

Thanks for clarifying, that helps a lot! And I can't believe I pointed to a wiki example and then didn't read it 😅
Perhaps the easiest one to fix on the short term is GM? Since that can just be global, without causing conflicting code suggestions.
I'll have a think about this, since exposing all of them globally causes the problem you described.


Unexpected token

Vue2, Webpack2 error:
Unexpected token: operator (>) [./~/vue-strap/src/utils/utils.js:4,0]

having the same issue all of a sudden.. and crazy thing is it was working fine yesterday!

same problem here.


[api-minor] Add a parameter to PDFPageProxy_getTextContent that enables replacing of all whitespace with standard spaces in the textLayer (issue 6612)

This patch goes a bit further than issue #6612 requires, and replaces all kinds of whitespace with standard spaces.
When testing this locally, it actually seemed to slightly improve two existing test-cases (tracemonkey-text and taro-text).
Fixes #6612.
Note: The WIP in the title is because I've not yet added a reduced test-case, and because I'm not sure if we want to replace every kind of whitespace in this way.

good with comment adressed
/botio test

I just realized that in its current form, this patch suffers from a quite annoying issue.
Even though the textLayer is rendered correctly, when you try to search, the textLayer reverts to the previous broken alignment.
Even though the initial textLayer <div> has replaced the tabs, both TextLayerBuilder and PDFFindController have a reference to the result of getTextContent, which obviously contains the "original" textLayer content without the whitespace conversion.
Replacing whitespaces with a regexp at every point where the viewer code is doing getTextContent seems quite cumbersome and ineffective, so I'm wondering if we could perhaps extend the API by adding an parameter for getTextContent that will return the text with the whitespace conversion done inside of e.g. https://github.com/mozilla/pdf.js/blob/master/src/core/evaluator.js#L911 instead?
@yurydelendik How do you think that we should proceed here?

Okay, somewhere at runBidiTransform there will be a good place for it.
Can you also check what is faster: replace with regex or split.join with regex? Also I think it will worth to check if all characters belong to specific range before doing the replacement in regular for-loop, e.g. with charCode >= 32 and < 127.

I've pushed a new version of the patch; please refer to https://gist.github.com/Snuffleupagus/15309d9709690141e702 for a quick comparison between different replacement techniques.

Strange that checking against good range of characters did not work (check also http://jsperf.com/replace-spaces)

Strange that checking against good range of characters did not work (check also http://jsperf.com/replace-spaces)

Yeah, I've now tested this in the actual code, and it seems that it is slightly faster to check the character range (even if the difference is small). I'll update the patch, thanks for the test-case!

/botio-windows preview

Looks good.
/botio test

(Hmmm, I wonder if our makeref works.)
/botio makeref
Thank you for the patch.

Hmmm, actually it might be a regression, investigating

Looks good locally, monitoring that as intermittent.


Generate spdx software bill of materials

[X] Generate spdx sbom
[X] Set test action to generate sbom and snapshots
[X] Set release action to generate sbom and tie it with goreleaser as an additional release artifact

The only part not tested is gorelease publishing this sbom artifact in this repo.

Thanks for sharing your security expertise with the community! 🍻


Can the BBQ20 keyboard be powered over qwiick or pmod connectors?

I want to use the keyboard over i2c power and connection. Do you have a guide as to how to use pmod or qwiick connectors to achive this?

Don't really have a guide for it, but if you provide 3.3V into the Qwiic or PMOD connectors, the keyboard will work normally. You can use the Arduino (https://github.com/solderparty/arduino_bbq10kbd) or the CircuitPython (https://github.com/solderparty/arturo182_CircuitPython_BBQ10Keyboard) libraries to interface the keyboard.

@arturo182 I just powered the keyboard over pmod, but communication does not happpen between the keyboard and board as it would over usb.

Same story with qwiick connector. Keyboard is powered, no info is transmitted over i2c

Can you see the keyboard on the i2c address 0x1F ?

@wallComputer Hi, I cannot see the keyboard on that address or any address. I tried using the qwiick connector as well as the PMOD pins. I also tried other i2c pins on the board. Nothing showed up when running i2cdetect.
Do note that the i2c pins are all enabled and working, I tested the i2c with a DS3231 module, that works fine, it shows up just fine on any i2c pins, only the keyboard doesn t work.
Do you have a detailed guide of interacting with i2c?

@arturo182 Is there a guide to use the keyboard with i2c?

It should be as simple as connecting the I2C pins from the PMOD or Qwiic connector to the i2c bus. If that is not working then something isn't right. I can see the keyboard backlight is on, so the board has power and the firmware is running. I know you said an RTC worked on the i2c bus, but could you by any chance test the keyboard with another board, an RPI Pico, or any other MCU? Just want to confirm if it's something RPi Zero-specific. I know other people have used the keyboard over I2C with the Pi 3 and 4, so it should work 🤔

@arturo182 I just tested the i2c with an ESP32, same story, no address shows up when scanning over i2c. I double checked the ESP32 too, it works fine with the RTC module the addresses show up, so there is something off with i2c of the keyboard. What can I do to troubleshoot this? I run the improvements from this fork btw: https://github.com/grymoire/i2c_puppet-Linux but I doubt it has any bearing with i2c.


Fixes module requests routing with provider caching

Description

Fixes module requests routing with provider caching.
Fixes resolving relative provider cache dir path.

Fixes https://github.com/gruntwork-io/terragrunt/issues/2986.

TODOs
Read the Gruntwork contribution guidelines.

[x] Update the docs.
[x] Run the relevant tests successfully, including pre-commit checks.
[x] Ensure any 3rd party code adheres with our license policy or delete this line if its not applicable.
[x] Include release notes. If this PR is backward incompatible, include a migration guide.

Release Notes (draft)

Added / Removed / Updated [X].
Migration Guide

Resolved in v0.57.1 release.


UNABLE_TO_VERIFY_LEAF_SIGNATURE issue

[07/29/2024 3:08:08] Loading personal info from environment variables.
[07/29/2024 3:08:08] WARNING -> Invalid date in config.yml, using current date
[07/29/2024 3:08:08] Texas Scheduler v3.0.0 is starting...
[07/29/2024 3:08:08] Requesting Available Location....
Error: unable to verify the first certificate
at TLSSocket.onConnectSecure (node:_tls_wrap:1659:34)
at TLSSocket.emit (node:events:517:28)
at TLSSocket.emit (node:domain:489:12)
at TLSSocket._finishInit (node:_tls_wrap:1070:8)
at TLSWrap.ssl.onhandshakedone (node:_tls_wrap:856:12) {
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
}

I am also getting the same error

Guys, please use 3.1.0

Guys, please use 3.1.0, it is working fine for me now.

How do we use 3.1.0?

Guys, please use 3.1.0, it is working fine for me now.

How do we use 3.1.0?

Please pull latest branch

Guys, please use 3.1.0, it is working fine for me now.

How do we use 3.1.0?

Please pull latest branch

How do you pull the latest branch if your using github on chrome/brave?

I am currently getting this message

go to the terminal and type git pull. It should pull v3.1.1

[07/29/2024 12:45:46] WARNING -> Got 403 status code, retrying...
[07/29/2024 12:45:46] ERROR:
403 Forbidden

403 Forbidden
Microsoft-Azure-Application-Gateway/v2


Add an Adwords example

It would be great to access adwords cleanly via node!

Would be a great additional to the Google Api family! But i think the adwords SOAP API is the main issue right now.


Simplify and update README.md file

This PR simplifies and updates the main README.md file for this repo.

Codecov Report
Patch and project coverage have no change.

Comparison is base (7c7b751) 96.91% compared to head (8a9f4ca) 96.91%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #98   +/-   ##
=======================================
  Coverage   96.91%   96.91%
=======================================
  Files          25       25
  Lines         615      615
  Branches       80       80
=======================================
  Hits          596      596
  Misses         19       19

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


PHOENIX-7423 End2EndTestDriver doesn't compile with latest hbase-thir…

…dparty

This is not working for BackwardCompatibilityIT

Well, its not this Jira but PHOENIX-7418 seems to have broken many tests for HBase 2.4 and 2.5 profiles. Here is the build results: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/master/749/

Same is the case on 5.2 https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-mulitbranch/job/5.2/66/
We will have to fix this first.

This is not the right way to fix this.

The proper fix is #2003


2.7.0: Upgrading monitoring on a downstream cluster brings up blank page

A user upgraded to 2.7 and when trying to upgrade the monitoring on a downstream cluster results in a blank page in the UI.
Another saw this issue with Rancher 2.7.0 and some of their managed clusters:

In some clusters, attempting to upgrade an app installed via Helm using the chart repositories under the Apps section in the sidebar is failing. When I select Edit/upgrade for the already-installed application, I get a blank white screen. Looking in the Chrome developer tools console, I also see a message that says Find: [management] provisioning.cattle.io.cluster undefined, followed by a warning that says Attempting to load a resource with no id followed by a large stack trace. The cluster in question is an AWS EKS cluster running v1.20.15-eks-99076b2, but I also had this issue on another non-cloud-hosted cluster that was running v1.24.8+k3s1 and that is managed by a different Rancher instance. On that last non-cloud instance, I was able to unenroll and reenroll the cluster with Rancher, which solved the issue. I can provide any other information as necessary.

Repro:
Fresh install of Rancher from stable; importing a cluster (AKS 1.24.6); selecting an application to install; info page is ok, the blank page comes after pressing install, i.e. when you would expect the Helm options (or YAML) to show up:

Expanding the yellow icon:

No errors in Rancher pod logs, though cattle-system-agent says:
time="2022-12-23T11:08:47Z" level=error msg="failed to parse constraint version >= <IP_ADDRESS> < 2.8.0-0: improper constraint: >= <IP_ADDRESS> < 2.8.0-0"

Sounds similar to https://github.com/rancher/dashboard/issues/7801 but that's on the Cluster's Project/Namespace page to Cluster Management.

This cause be the cause of the error, or something separate. Given #7808 it may be the latter. We should raise this with them once we've resolved / investigated UI side

This is most likely the same as https://github.com/rancher/dashboard/issues/7808, though might be related to the odd version error. Both should be tackled at the same time and we can then loop back on https://github.com/rancher/dashboard/issues/7833#issuecomment-1370702801

I haven't reproduced this yet, but I searched for <IP_ADDRESS> < 2.8.0-0, the invalid version constraint, and found it in the NeuVector chart.

That line with the invalid constraint was last edited in this PR https://github.com/rancher/charts/pull/2097
I wonder if there are two issues here - the invalid version constraint and also a missing cluster id. I'm going to try to reproduce it as a project member and see if that works.

off, we're having the same problem..

retested passed
I installed monitoring on several downstream clusters with different variables and the mointoring page loaded every time, this functionality appears to be working as intended.
tested on 2.7head 9278cf1
moving to 'done'

Hi team,  Are we going to backport this fix in 2.6.x, or does the customer need to upgrade to overcome this issue?

@sadhugit I don't think this issue affects versions prior to 2.7.

@nwmac  2.6.x has the same entry in the new vector chart. The customer is hitting the same in 2.6.x                                level=error msg="Unknown error: Get \"https://charts.rancher.io/assets/logos/cis-kube-bench.svg\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)" 2023-01-11T14:48:55.234764632Z time="2023-01-11T14:48:55Z" level=error msg="Error during subscribe websocket: close sent" 2023-01-11T14:48:58.992648887Z time="2023-01-11T14:48:58Z" level=error msg="failed to parse constraint version >= <IP_ADDRESS> < 2.8.0-0: improper constraint: >= <IP_ADDRESS> < 2.8.0-0"


Inject tolerations from ResourceFlavors

What would you like to be added:
A field in ResourceFlavor that is used to inject tolerations in jobs that land in the flavor.
This information can then be communicated to ProvisioningRequest to inform scale ups.
Note that the ResourceFlavor already has a nodeTaints field that prevents jobs from landing on them, unless they explicitly tolerate them. The new tolerations field would be a complementary API.
Why is this needed:
It's useful to have taints in the nodes that back a ResourceFlavor so that they are not accidentally used by pods that are not supposed to be there.
This is common for hardware accelerators such as GPUs, to prevent non-GPU pods to land on the nodes. Cloud provider webhooks sometimes inject these tolerations into Pods, when a Pod requests the accelerator. However, they cannot possibly target every job CRD.
Completion requirements:
This enhancement requires the following artifacts:

[ ] Design doc
[x] API change
[x] Docs update

The artifacts should be linked in subsequent comments.

@trasc I think the ResourceFlavor API is the best place to put these tolerations, as it goes beyond ProvisioningRequest.

cc @mwielgus

How does the kueue pass tolerations's operator from resourceFravor to jobs?

this would be a new field tolerations, in addition to the existing nodeTaints.
The tolerations would include an operator.

this would be a new field tolerations, in addition to the existing nodeTaints. The tolerations would include an operator.

Ah, this feature aims to extend the ResourceFlavor API by adding a tolerations field. Thanks.

the provisioning admission check controller might need to check the flavors assigned (have a whitelist or something)

Don't we already do that for injecting node selectors into the template?
That said, we should probably consider putting the node selectors and tolerations somewhere in the Workload status during quota reservation. This way, the job controllers and the AC controllers don't need to know about ResourceFlavor.
Maybe we can do it as part of this effort.

Having the toleration in the provisioning config will just require adding them in the PodSetUpdates to make it to the actual pod.

I agree that it looks simpler, but in ResourceFlavor seems more universally useful.

Don't we already do that for injecting node selectors into the template?

It's done in order to add the node selectors in the pod templates, but there is no decision in terms of I "like" this flavor or not.

That said, we should probably consider putting the node selectors and tolerations somewhere in the Workload status during quota reservation. This way, the job controllers and the AC controllers don't need to know about ResourceFlavor.

This could be helpful, but maybe in another issue.

It's done in order to add the node selectors in the pod templates, but there is no decision in terms of I "like" this flavor or not.

The tolerations would behave the same way. There is not decision at this point, just injection. The decision is already done by the kueue scheduler.

/assign

/reopen
We need to add documentation about this feature.


add saml auth

Description
Add Saml auth config
Relevant issues/tickets

Type of change

[V ] New feature (non-breaking change which adds functionality)

Checklist

[V ] This change requires a documentation update
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added a test case that will be used to verify my changes
[ ] Verified independently on a cluster by reviewer

Verification steps

Hi @HubertStefanski
Tested on minikube
apiVersion: integreatly.org/v1alpha1
kind: Grafana
metadata:
  name: example-grafana
spec:
  ingress:
    enabled: True
  config:
    log:
      mode: "console"
      level: "warn"
    auth:
      disable_login_form: False
      disable_signout_menu: True
    auth.anonymous:
      enabled: True
    auth.saml:
      enabled: true
      certificate_path: "/test/my.cer"
      private_key_path: "/test/my.key"
      idp_metadata_url: "https://my.test"
  dashboardLabelSelector:
    - matchExpressions:
        - { key: app, operator: In, values: [grafana] }

this was the grafana config that was the result
apiVersion: v1
data:
  grafana.ini: |+
    [auth]
    disable_login_form = false
    disable_signout_menu = true

    [auth.anonymous]
    enabled = true

    [auth.saml]
    certificate_path = /test/my.cer
    enabled = true
    idp_metadata_url = https://my.test
    private_key_path = /test/my.key

/approve
e2e passing locally, most likely a test flake in CI


[compiler-sfc] inconsistent behavior with vue2 when parsing empty blocks

Version
3.0.2
Reproduction link
https://codesandbox.io/s/autumn-wildflower-cqpew?file=/src/index.ts
Steps to reproduce
import { parse } from "@vue/compiler-sfc";
import { parse as parse2 } from "@vue/component-compiler-utils";

const source = `\
<template></template>

`;

const vue3 = parse(source);

console.log("vue3", vue3.descriptor);

// template: null
// script: null
// style: []

const vue2 = parse2({
  source,
  compiler: require("vue-template-compiler")
});

console.log("vue2", vue2);

// template: { ... }
// script: { ... }
// style: [{ ... }]

What is expected?
Consistent with vue2, get the descriptor of empty block.
What is actually happening?
The descriptor of empty block is null.
Related issues

#464

Explanation
It seems to be intended as the tests show:
https://github.com/vuejs/vue-next/blob/f4621ff5ee4abe924d985177956af3ddc9bb378f/packages/compiler-sfc/__tests__/parse.spec.ts#L114-L119
However, it may cause some breakings in SFC:

An empty <template> block means it should render empty string, which is different from no <template> block.
If @vue/compiler-sfc return null for empty <template>, it's difficult for vue-loader / rollup-plugin-vue to determine if the SFC has <template> block or not.

In fact, the only difference is a runtime warning during development:
https://github.com/vuejs/vue-next/blob/288c764e5279ccef63e0ef304d4250f5ad935a46/packages/runtime-core/src/component.ts#L711
IMO:

An empty <template> block is intended by user, which should not be warned.
No <template> block might be a fault, which should be warned.

Questions / Discussion
As we do not have a full specification for vue SFC, some edge cases are not so specific, and the behavior of vue-loader / rollup-plugin-vue / other implementations can be inconsistent.
Here are some edge cases that might need to be determined:
Case A: SFC has both <template> and script.render:
<template>

</template>

Which is expected?

replace script.render with <template>
use script.render

Current behavior of vue-loader and rollup-plugin-vue is the first one.

Case B: SFC has empty <template> and script.render:
<template></template>

Which is expected?

replace script.render with empty <template>
use script.render

This is affected by this issue.

Case C: SFC has empty <template>, but does not have script.render:
<template></template>

Which is expected?

replace script.render with empty <template>
replace script.render with a NOOP as default render
keep it undefined (will print a runtime warning)

This is affected by this issue.

Case D: SFC does not have <template> nor script.render:

Which is expected?

replace script.render with a NOOP as default render
keep it undefined (will print a runtime warning)

@yyx990803 @sodatea @znck

Another edge case as brought up by @znck: no <template>, no root level render, but the setup function returns a render function. In this case the omission of <template> is intentional.


Incorrect Handling of Constraints in Gates With Unused Slots

It seems to me that the CircuitBuilder might incorrectly handles the generators for unused slots of gates that can have multiple instances on the same row. I tried to reproduce the issue with a simple gate that enforces that the input wire is different from 0, which can be found it here. Since the gate requires only 2 wires, for efficiency the gate packs multiple instances on the same row.
As you can see from the last test in the lib.rs file, the error in the verifier is triggered when some of the instances of the gate are unused. I think that the source of the error relates to how the the CircuitBuilder handles the generators of unused slots. In particular, when adding generators during the build of the circuit, the CircuitBuilder removes the generators for unused slots in each gate, I suppose because these generators might not properly work if the input wires are never set with a value by the witness generator (since they are not connected to any other wire). Nonetheless, the verifier will enforce the constraints of the gate also on these slots, but since the generators have not been run, then the constraint verification might fail.
Nonetheless, this issue does not seem to occur on existing Plonky2 gates: my guess is that by not running the generator, the wires of unused slots will all be set to 0, and it seems to me that all the constraints employed in existing Plonky2 gates that employ more than 1 slots (e.g., ArithmeticGate or RandomAccessGate) might be trivially verified when all the wires are set to 0. However, this is not true for a general gate: for instance, in the NeZeroGate I implemented in the reproducing example, the generator sets an auxiliary wire x to the inverse of the input wire in order to satisfy the constraint that input*x=1; this constraint cannot be satisfied if the generator is not run and thus x=0.

That's a good observation. Indeed, this issue hasn't occurred with existing gates because the ones that support multiple operations are satisfied with an all zeros input.
We could fix this by adding a function fn default_values() -> Vec<F> to trait Gate and use generators to set the targets in the unused operations to these default values. So for example in your NeZeroGate it could return (F::ONE, F::ONE).

Thanks for confirming the issue, it definitely seems a good way to fix it


Is this project going to be maintained?

Activity is pretty low here, so I was curious if there are any plans on taking this forward?

Unfortunately there was no activity here for a while. To boost the project I made the Cpp binding sponsored:
See this comment:

I'd be happy to give 400 USD for a C++ binding which is

mostly auto generated
can have minor manually written parts
documented (the binding and the API too)
code example is added to at least 15 existing examples

Thanks, I will see if I can take this forward. :)

Cool, let me know it you have any questions either about the binding or the sponsoring.


fix(Makefile): remove outdated prover in golang-related cmds

Purpose or design rationale of this PR
Remove outdated prover in golang-related cmds.
Update some outdated comments.
PR title
Your PR title must follow conventional commits (as we are doing squash merge for each PR), so it must start with one of the following types:

[x] fix: A bug fix

Deployment tag versioning
Has tag in common/version.go been updated or have you added bump-version label to this PR?

[x] No, this PR doesn't involve a new deployment, git tag, docker image tag

Breaking change label
Does this PR have the breaking-change label?

[x] No, this PR is not a breaking change

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

Project coverage is 54.31%. Comparing base (d454941) to head (5fbc55f).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1398   +/-   ##
========================================
  Coverage    54.31%   54.31%
========================================
  Files          156      156
  Lines        11918    11918
========================================
  Hits          6473     6473
  Misses        4950     4950
  Partials       495      495

Flag
Coverage Δ

rollup
59.83% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


Bot claims server is offline with no players even though It's online with players

Just like the title says. The bot says the server is offline with 0 players even though it's online with players.
Not sure why this is happening maybe perhaps cause it's an Aternos.me server but I don't why this would be a problem.
Any help would be appreciated

Even I left server but it didn't change status

I have the same problem. also an aternos server. also still shows as offline when someone is inside!

I have the same problem. also an aternos server. also still shows as offline when someone is inside!

i am in flora mc

We are looking into this right now. Seems like it fails randomly and only on certain servers. From past experience this is an internal cache problem. I will keep you updated on solutions we are trying. Thanks for informing us and let us know if this problem is recurring.

Did the status update eventually after you joined the server? or did it stay offline for > 10 mins? (Server statuses may take up to 10 mins to update. Unfortunately this is a discord limitation).

Same here

Hey @Ferogreywolf7! Were you using the voice channels or the /status command? Also, what was the address of the server you were trying to monitor?

I was using the voice channels. The IP address is mcrlcraft.aternos.me

So it appears to be a problem with aternos servers

Ah yes. Aternos servers are currently unreliable due to strategies implemented by Aternos on their end. Most problematic is that Aternos suspends servers after they have been inactive for a while, and only brings them online when a player joins. This causes problems for our bot. In most cases, our bot will recognize that the server has come back online after a few minutes and will reflect the correct status.
Solving this problem is in our pipeline but we don't expect to push a solution anytime soon.


Additional flags similar to /XO /XX?

azcopy copy
https://docs.microsoft.com/en-us/azure/storage/common/storage-ref-azcopy-copy?toc=/azure/storage/blobs/toc.json
In the older version of azcopy (8.1 and lower) there were options which mimicked robocopy flags, specifically /XO and /XX ("exclude older" and "exclude extra," respectively). The newer azcopy copy does not seem to have this functionality. Have these flags been rolled into azcopy sync when using --delete-destination=false or are there defaults of azcopy copy that I'm not seeing in the documentation?

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

ID: d1bdc29f-175d-09b9-771d-cd84dbffbb49
Version Independent ID: f5fe11b9-8224-aa19-602d-bcc3ed7c9452
Content: azcopy copy
Content Source: articles/storage/common/storage-ref-azcopy-copy.md
Service: storage
Sub-service: common
GitHub Login: @normesta
Microsoft Alias: normesta

@sql-deadwood Thanks for your question. We are checking on this and will respond to you soon.

@sql-deadwood  Your feedback has been shared with the content owner for further review.

Hello @sql-deadwood - yes some features aren't supported in AzCopy 10. There is a migration doc on Github here - https://github.com/Azure/azure-storage-azcopy/tree/migrationdoc . We need to make that more discoverable as it's currently in a dedicated branch. This should be visible to you though. It has rows in a table for things like "/XO".

#please-close


Remove Fuchsia's dependency on the path to the engine tree's .git directory

All tests passed, but he MQ didn't close.  Will have to look at the logs.  @yjbanov FYI


Add myself to the authors list

https://github.com/alex/django-taggit/commits?author=jdufresne

Codecov Report

Merging #567 into master will increase coverage by 2.76%.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           master   #567      +/-   ##
========================================
+ Coverage   91.24%    94%   +2.76%
========================================
  Files           4      4
  Lines         434    434
  Branches       76     77       +1
========================================
+ Hits          396    408      +12
+ Misses         28     16      -12
  Partials       10     10

Impacted Files
Coverage Δ

taggit/admin.py
100% <0%> (+100%)
:arrow_up:

Continue to review full report at Codecov.

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


Defer accessing the servlet input stream to support 100-continue.

On quick benchmarking, I don't observe any degradation in Jetty or Tomcat.
Fixes #541.

Oof.  I thought this had been merged.  It also could go into 0.12, depending on how long we spin our wheels on 0.13.

This build has been failing because it had a version of 0.12.3.  Moving it to SNAPSHOT should appease MiMa so we can finally land this.

:+1:


What would be the easiest way to get all the chords for a set of notes?

Does this library have any such facility to get all the possible chords from a note set?

The way Sharp11 is structured is to produce the best possible chord spelling for any particular set of notes with s11.chord.identify(...). I figured in most cases people would just want one result, but I'm curious as to what you would want this feature for.

I'm building both a web ear trainer and a composition tool that gives you all the scales and chords you can use with a given set of notes. I've read the code for .identify and I think it'd be better if, optionally, you could get all the chords it generates. I've replicated this functionality on my own code copying your functions though.

So does it just return all "reasonable" inversions? That's a pretty easy change to add and I might do it if you think that's sufficient for what you're trying to do. As for getting all possible scales for a set of notes, the .scales method on chord objects does just that.

I've found the .scales method only returns "reasonable" scales as well (i.e. for {C, D, Eb, G} only returns scales in C), so I constructed all the possible scales and filtered by all scales that contain my set of pitches. As for the chords set I'm currently working with your tryInversion method, that returns the chord symbol for any given inversion, that's enough for me. I wouldn't want the "reasonable" inversions only because being a composition tool should give you all the possibilities, I think.
Therefore, I believe you don't need to include this in your library since I managed to do it outside it, but might be useful to other people.

.scales only returns scales with the same root as the chord it's called on and I intend to keep it that way, but you could call it on every inversion to get every possible scale. That said, you'll get a lot of different names for the same scale by nature of how modes work.


Show version number on page

Describe the feature request
Display the application version number on the Dashboard page
Why do you personally want this feature to be implemented?
to see what version the application is running
How long have you been using this project?
not long
Additional information
No response

Just now, I wanted to find out which version was running. It does not seem to be printed in the docker logs either. Gatus might currently not even know about its version.

I had some problems to get a new feature running, just to learn the intended container version wasn't deployed.
It should really be available in UI and container logs.


[skip ci][DNM] test: split up rgw multisite s3 cmds

Signed-off-by: Ali Maredia<EMAIL_ADDRESS>

jenkins test luminous-rgw_multisite


Chinese translation for version 0.5.0

Just a full translation of 0.5.0 in Chinese.
P.S. What happened to Weblate? I saw a low of invalid translation entries in the translation file.

A new release happened. I think the tooling keeps the old strings around, if the still sort of fit what's there.

Well I don't know what are you saying but i think it not's a good idea to use tool to generate template translation.

There is no other way to do it.
As part of a stable release, the translations are updated to match the new version:
http://ci.multimc.org/builders/translations-update/builds/10
And because this changes them, they are converted into the format MultiMC can download an use (this happens every time the translations change):
http://ci.multimc.org/builders/translations-build/builds/84

Let's look at it...
This is always generated:
https://github.com/MultiMC/MultiMC5-translate/blob/master/template.pot
And it seems that it is missing a few things...
https://github.com/MultiMC/MultiMC5/blob/develop/application/setupwizard/AnalyticsWizardPage.cpp#L67
I can't find AnalyticsWizardPage in template.pot.
Is this what you meant?

Anyway, the translations are updated based on the new translate.pot.
Things that were removed are commented out in the updated files:
https://github.com/MultiMC/MultiMC5-translate/blob/master/fr.po#L5243
So that seems to work as expected.

Opened https://github.com/MultiMC/MultiMC5/issues/1788 for the issue with missing strings.

My supposed way to handle translation problems is manually load strings from resource file and set the captions of components with them.
in Java I always do this:
`private JButton btnStartInstance;
................
private JMenuItem mnuStartInstance;
..........................(many other things)
private void updateLabels() {
ResourceBundle bundle = ResourceBundle.getResourceBundle("org.multimc.mainwindow");
.............................................
btnStartInstance.setText(bundle.getString("gui.startInstance"));
mnuStartInstance.setText(bundle.getString("gui.startInstance"));
}`
there should be sth similar from this in Qt.

This is actually exactly what's happening. The only thing that's different is that the English text is used as the key, and the format used for the translations is optimized for size.


Take out white spaces and line breaks (EOL, newline, hard return)

Please consider taking out the white spaces and line breaks from the search field before search the term on Forvo.
Follows an example:
Wrong form
Text with a line break after the search term

Or just with a white space after or before

I tried to fix it by myself but looks like there is a different version of this addon on Forvo available to download.

As of the newest version, you can add characters to ignore to the config. Just open the config manager by clicking on Tools>anki-forvo-dl>Preferences and add it there! Alternatively, you can also open the config manually (probably better for adding invisible characters like newlines) and add it there to the string list.


Iteration plan? List features to avoid "does cli support..."

Guys you aren't tired by:
Does cli support aot with lazy loading ?
Dies cli support rollup?
Does cli support Hot Reload Module?
Where find cli command supported?
How add 3th party remotly?
Does cli support bla bla bla...its always same on github and on gitter WOW!!! Always same question without response !
Please guys can you dedicate more time to inform people what and for when are you doing?
I don't work for microsoft but can you chek this kind or wiki
https://github.com/Microsoft/vscode/wiki/Iteration-Plans
Just click on interstion plan of each month, work is awesome !
Today I don't know how I can myself check if cli support some thing !?!? Like AoT with lazyloading
Response from you will be maybe ng help?!! Stackoverflow? It's beta!?!? Stop use cli !?!?
Lol yes all philosophical response are expected... To fight against me :-S
Cheers

That iteration plan is quite nice, yes. But I don't think the solution for the admittedly missing information is in having an iteration plan, but rather in having better docs, which is being tracked in https://github.com/angular/angular-cli/issues/2711.

Yes why close this issue @filipesilva If it's quite nice... I think a FAQ or iteration plan is an important enhancement request to have ... material2 had same request and they get it on 😉


Add support for the GAP language

Adds support for the GAP language, see http://www.gap-system.org/
Some repositories using this language:

https://github.com/fingolfin/NormalizInterface
https://github.com/gap-system/anupq
https://github.com/neunhoef/orb
https://github.com/homalg-project/AutoDoc

and in fact pretty much all repositories of these orgs / users:

https://github.com/gap-system
https://github.com/neunhoef
https://github.com/homalg-project

I also made a pull request with Pygments for a GAP lexer, see https://bitbucket.org/birkenfeld/pygments-main/pull-request/311

@fingolfin @arfon This language is interfering with Godot GDScript files, since both use the .gd extension. This file is being incorrectly detected as GAP, although most of the other files are correctly detected as GDScript. What can be done about this to improve detection? Are there any specific patterns in GAP .gd files? See #1097 where this was merged.

@aaronfranke There are two possible methods: improve the heuristic used to differentiate the languages using the .gd extension or add more GDScript samples to improve the classifier.
Feel free to submit a PR yourself. If you want to discuss this further, please start a new discussion rather than continuing on this PR that is well over 6 years old.


Some_Changes

Changing Cluster Name to Identifier and  Quarying based on Location.
Setting the extrapolate in the CBVs to speed up.

@Tom Please make sure I didn't mess things up too bad

This will close #70 and #65


adjust Android and iOS GUI images to fix aspect ratio

The newly added GUI clients on iOS and Android looked a little weird, because the screenshots did not match the expected 588:332 aspect ratio.
By adjusting the amount of transparency at the outer edges of the images, the aspect ratio is now correct and the images should no longer be distorted in the browser.

Thanks for the contribution @palmin !
I must say, I'm really bad catching those details, it look the same to me. Can you please add that detail on the instructions at https://github.com/git/git-scm.com#adding-new-gui ?

Thanks, I didn't notice this while looking at the original images, but comparing the rendered versions side by side it's easy to see. The aspect ratio is oddly non-standard, and I kind of wonder if we should resize everything to hit some more obvious number. But perhaps it's not worth the effort.


nixos/stalwart-mail: package and configure webadmin

Description of changes
Package and configure webadmin.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

its working :)

looks like "trunk" is trying to fetch dependencies from crates.io during build time 👀
error: builder for '/nix/store/q51v2c128i57g7kknsa3d2gva3i2ccm4-stalwart-mail-0.1.10.drv' failed with exit code 134;
       last 10 log lines:
       > Executing cargoSetupPostPatchHook
       > Validating consistency between /build/source/Cargo.lock and /build/stalwart-mail-0.1.10-vendor.tar.gz/Cargo.lock
       > Finished cargoSetupPostPatchHook
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > Running phase: buildPhase
       > thread '<unnamed>' panicked at /build/trunk-0.20.3-vendor.tar.gz/crates_io_api/src/async_client.rs:136:14:
       > called `Result::unwrap()` on an `Err` value: reqwest::Error { kind: Builder, source: Os { code: 2, kind: NotFound, message: "No such file or directory" } }
       > note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
       > /nix/store/hix7sl0wxajb5aq14afjdvzc3w0i8b14-stdenv-linux/setup: line 1703:    52 Aborted                 (core dumped) trunk build --release
       For full logs, run 'nix log /nix/store/q51v2c128i57g7kknsa3d2gva3i2ccm4-stalwart-mail-0.1.10.drv'.

at least the trunk pre-build hook for tailwindcss is working now 😄 not sure about the rust cross compile thing

Managed to build it successfully 🥳 Not sure where the merge conflict comes from 👀

Okay resolved it, ready for review :)


numpy.empty() TypingError with structured dtype

@njit
def foo():
    numpy.empty((0, 2), dtype=[('point', numpy.float32), ('count', numpy.int32)])
foo()

TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Type of variable '$0.12' cannot be determined, operation: build_list(items=[Var($0.7, <ipython-input-672-28d53090bc27> (3)), Var($0.11, <ipython-input-672-28d53090bc27> (3))]), location: <ipython-input-672-28d53090bc27> (3)

File "<ipython-input-672-28d53090bc27>", line 3:
def foo():
    numpy.empty((0, 2), dtype=[('point', numpy.float32), ('count', numpy.int32)])
    ^

Thanks for the report. The issue here is that whilst Numba supports the use of structured dtypes it does not have support for parsing and creating these directly inside compiled functions. A work-around might be:
from numba import njit
import numpy as np

dt = np.dtype([('point', np.float32), ('count', np.int32)])

@njit
def foo():
    z = np.empty((2, 1), dtype=dt)
    z[0, 0].point = 12.3
    z[1, 0].point = 45.6
    z[0, 0].count = 7
    z[1, 0].count = 8
    return z

tmp = foo()
print(tmp.dtype)
print(tmp.shape)
print(tmp)

which gives:
[('point', '<f4'), ('count', '<i4')]
(2, 1)
[[(12.3, 7)]
 [(45.6, 8)]]

Hope this helps.
I'm going to mark this as a bug because the error message is obscure, it comes from Numba not being able to work out the type of the list specifying the dtype.