What should happen with the exchange command now that Mento V1 is deprecated

Discussed in https://github.com/celo-org/developer-tooling/discussions/5

Originally posted by philbow61 December  1, 2023
Hello everyone,
The Mento team will propose a new mento upgrade in the next few weeks that will complete the transition towards Mento V2, fully deprecating the old V1 Exchanges as well as Granda Mento, which will be replaced by the Broker contract in Multi Collateral Mento. This upgrade will affect the celocli exchange and celocli grandamento command as those contracts will no longer work. We suggest completely removing the grandamento command and integrating Mento V2 on the old exchange command for the different stables.
The easiest way to integrate Mento V2 is by using the mento-sdk. Examples on how to use the sdk can be found in the mento-sdk-examples repo.
For any question regarding the upgrade or the integration of Mento V2, don’t hesitate to reach out to us via Discord.

https://github.com/celo-org/developer-tooling/pull/137


Automatically enable PageForms and SMW

In case these are supplied by the env. variable make sure these are enabled in the right order

requires rebasing

Superseded by https://github.com/WikiTeq/Taqasta/pull/85


Automatically install third-party widget if it is present in a panel

As @magnouvean suggested, we could consider adding an option in the future to automatically add the widget to extraWidgets. I had this idea, which I believe could be even better, in my opinion.
I tested it in my configuration, and it is working flawlessly.
Changes

Adds hasWidget function for checking whether a specific widget, identified by its name widgetName, is present in any of the configured panels.
Use hasWidget to automatically install a third-party widget if the user does not specify any in the extraWidgets option.

Nice and simple solution to this problem. I'll merge right away.


What is the right way to set header in the config file

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

I checked the documentation:
--add-header FIELD:VALUE         Specify a custom HTTP header and its value,
                                 separated by a colon ':'. You can use this
                                 option multiple times

However, it is not clear to me. What is the right way to set header in the youtube-dl.conf file:
--add-header Accept-Encoding: identity;q=1, *;q=0
or,
--add-header Accept-Encoding:"identity;q=1, *;q=0"
or,
--add-header 'Accept-Encoding: identity;q=1, *;q=0'

The latter. Read FAQ on your shell.

What does latter mean? The second one or the third one.


Remove rapids-env-update tool

Reference: https://github.com/rapidsai/ops/issues/2766

Removed all remaining usages. Reopening.


Work is added to migrations for model/database properties that are identical (so should not be added)

When I add a new migration, EF Core (latest stable 2.1.0 preview/CI build) keeps adding migrations that do not change either model or database. Even if I apply the suggested migrations, next time I add a migration they're being added again.
The following shows the original init definition for the type:
migrationBuilder.CreateTable(
            name: "UserTradingSettings",
                columns: table => new
                {
                    Id = table.Column<long>(nullable: false)
                        .Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
                    Name = table.Column<string>(maxLength: 50, nullable: false),
                    Sport = table.Column<int>(nullable: true),
                    UserId = table.Column<long>(nullable: false),
                    Value = table.Column<string>(maxLength: 2000, nullable: false)
                },
                constraints: table =>
                {
                    table.PrimaryKey("PK_UserTradingSettings", x => x.Id);
                    table.ForeignKey(
                        name: "FK_dbo.UserTradingSettings_dbo.Users_UserId",
                        column: x => x.UserId,
                        principalTable: "Users",
                        principalColumn: "Id",
                        onDelete: ReferentialAction.Cascade);
                });

This is the current snapshot for the type:
modelBuilder.Entity("BP.Domain.Contracts.Entities.UserTradingSetting", b =>
                {
                    b.Property<long>("Id")
                        .ValueGeneratedOnAdd();

                    b.Property<string>("Name")
                        .IsRequired()
                        .HasMaxLength(50)
                        .IsUnicode(true);

                    b.Property<int>("Sport");

                    b.Property<long>("UserId");

                    b.Property<string>("Value")
                        .IsRequired()
                        .HasMaxLength(2000)
                        .IsUnicode(true);

                    b.HasKey("Id");

                    b.HasIndex("UserId")
                        .HasName("IX_UserId");

                    b.ToTable("UserTradingSettings");
                });

This is what the current table definition looks like:

And this is the erroneous change that EF adds to new migrations:
migrationBuilder.AlterColumn<int>(
                name: "Sport",
                table: "UserTradingSettings",
                nullable: true,
                oldClrType: typeof(int));

The class itself looks like this (ESport is an enumeration):
    public class UserTradingSetting : IEntity
    {
        public long Id { get; set; }
        public ESport? Sport { get; set; }
        public string Name { get; set; }
        public string Value { get; set; }
        public long UserId { get; set; }

        public User User { get; set; }
    }

And the mapping for the class:
    modelBuilder.HasKey(x => x.Id);
    modelBuilder.Property(e => e.Id).IsRequired();
    modelBuilder.Property(e => e.Sport);
    modelBuilder.Property(e => e.UserId).IsRequired();

    modelBuilder.Property(e => e.Name).IsRequired().IsUnicode(true).HasMaxLength(50);
    modelBuilder.Property(e => e.Value).IsRequired().IsUnicode(true).HasMaxLength(2000);

    modelBuilder.HasOne(e => e.User).WithMany().HasForeignKey(e => e.UserId).IsRequired()
        .OnDelete(DeleteBehavior.Cascade).HasConstraintName("FK_dbo.UserTradingSettings_dbo.Users_UserId");

    modelBuilder.HasIndex(e => e.UserId).HasName("IX_UserId");

Further technical details
EF Core version: 2.1.0-preview2-30355
Database Provider: Microsoft.EntityFrameworkCore.SqlServer

The snapshot is missing Nullable after converting to the enum's underlying type:
b.Property<int>("Sport");

There is no method (or extension) that I could find called Nullable.
As far as I understand, the omission of .IsRequired() on the property should instruct EF to make the column nullable. As such, the mapping already specifies that the property should be nullable.

The snapshot should be...
b.Property<int?>("Sport");

Right. However, I am not the author of the snapshot class - it is auto-generated. If I modify the snapshot (to fix the mappings) and create a new (empty) migration, the generated snapshot is once again back to being incorrect and I'd need to reapply the fix.
It's therefore not something I should fix in my code, but rather something that needs to be fixed in the code that emits the snapshot in the first place.

Yes. This is a bug. We'll fix it before the final 2.1.0 release.
There's no good workaround except to remove the AlterColumn call every time you generate a new migration.

Great, thanks!


Accessibility: Pagination list is not accessible by keyboard

Describe the bug
Rows per page list is not accessible by using keyboard. The link somehow has tabindex = -1 .
To Reproduce
Steps to reproduce the behavior:

Go to basic pagination table example in storybook
Click rows per page button.
List is not accessible by keyboard due to  has tabindex = -1.

@zhr1130 I will handle it. thanks!

@zhr1130 I guess this requirement is little bit difficult to implement, because bootstrap dropdown will be collapse when you press any other key(Include tabs). if you have any other online case for this usage, please let me know. thanks

Hi Allen,
Thanks for the reply. I don't have other usage, we are using it for our product and it's a great library, however we have to meet accessibility bar which required all elements are accessible by keyboard. Do you have any suggestion that i can hack my own code to achieve that ?

@zhr1130 maybe you have to custom the size per page dropdown
please read the docs:
it's a advance customization
https://react-bootstrap-table.github.io/react-bootstrap-table2/docs/basic-pagination.html#advance-customization
You can also custom dropdown literally by standalone feature:
https://react-bootstrap-table.github.io/react-bootstrap-table2/docs/basic-pagination.html#completely-customization
We also have a lots of online example
https://react-bootstrap-table.github.io/react-bootstrap-table2/storybook/index.html
Please open another issue if you have any issues or questions, thanks


Color hex usage, and Quoted not being cloned properly

Usage of new Color("#ff0000") would throw an object null reference exception.
Quoted was not being cloned properly, resulting in issue #507.

Changes have been added, good catch and input there.

@twenzel, can you take it from here?

Done. Shipped with 1.6.5


[Dropdown] - 'set exactly(array)' does not work

In multiple selection dropdown I'm able to preselect elements using
set exactly(value) but when giving an array (as for doc) -> set exactly([value1, value2]) no selections are being made.
Can anyone help ?

amazing @jlukic


nginx works (partially)

You need to do not bind to ipv6 addresses and to add master_process off; to /etc/nginx/nginx.conf

@rpadovani please submit a pull request with a note or add to Program_Details.md. Thanks for sharing!

Resolved with #46


mouseUp only triggers if mouse.down

Great library!
This fixes a couple undesirable behaviors.

Any click outside the canvas results in strokeend and strokerecorded being called.
If you mouseDown outside of the canvas and mouseUp inside the canvas, you get undesirable strokes.

This enforces that a stroke is only started by a click inside the canvas.

thanks for the contribution @future-cyborg - I'll test this today and if all is well, merge and release a new version of the library


A crash bug in file HeroCoreAnimationViewContext

in HeroCoreAnimationViewContext
line 158
subview.center = CGPoint(x: center.x / oldSize.width * newSize.width, y: center.y / oldSize.height * newSize.height)
here has a crash bug.I guess it's because there's no judgment about divisor 0, I am not sure this ,because crash is random occurrence.
I got some crash reports from client,like this image.

I found division by zero crash too.
In my case, I have blank UILabel (size 0,0) in the source view controller that has heroID same with another view at destination controller.

Hey @caihua  @saranonuan, Thanks for reporting this. If you guys have the bandwidth, can you guys help me create a PR? that will be really great.

fixed in latest master.


Network resources (the doctor check crashed)

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Flutter upgrade to 3.10.0
flutter doctor
Actual results

Logs

Logs

<!-- Paste your logs here -->

Flutter Doctor output

Doctor output

<!-- Paste your output here -->

This issue seems related to your network, please ensure you have a working internet connection.
There is a checklist you can use for this:

[ ]  Is the network stable and fast?
[ ]  Do you use any proxy server?
[ ]  It may be useful for troubleshooting the issue: https://dart.dev/tools/pub/troubleshoot#pub-get-fails-from-behind-a-corporate-firewall


Fonts for Kiosk App

Kiosk app not showing the Arcade style fonts.
Also, I think the Microsoft logo and MakeCode Arcade name might be place too far down the screen?
Design:

Actual:

Fixed in #4789. Looks like it's live now.


Use semver like version scheme

The current two digits version scheme is quite confusing as it's unusual to have maintenance releases as 2.1, 2.2, 2.3.
Please consider using X.Y.Z version numbering where Z denotes a patch release.

Any update on this?

This was fixed with https://github.com/wavefrontHQ/wavefront-sdk-java/pull/156


PushButton state visibility

Improve distinction between pushButtons when they are:

[ ] enabled vs disabled
[ ] checked vs unchecked

Done in https://github.com/LoicCadour/medInria-public/pull/103

(oh, i can't edit first message here to check the buttons...)


Parser gives error when reading .pgn files

When running play.py
 b.play() function gives this error.

Even after running python -m chessengine.play I get an error

Thanks for this, can you please check the contents of the folder where the PGN files are stored? It should be in Users/montekkundan/Documents/GitHub/chessengine/chessengine/openings/. Ordinarily there should only be 3 .pgn files, but it seems like there are a few others and/or a directory.

Contents in openings folder:

There seems to be an encoding issue with the PGN files.
According to Wiki, PGN files must be ASCII-encoded, so I think the best solution is to just ignore any non-ASCII characters in the PGN.
I fixed it by passing the "errors='replace'" parameter to the "open" functions. (See my Pull Request.)

@zzril Thanks for the PR. It does seem like the parser is encountering an invalid byte, but the problem is that it shouldn't be running into this bug at all. The PGN files I have included with the package don't have any invalid bytes, and I am able to read them all locally. Right now I'm considering if its because of a difference in python versions or related to the installation environment somehow, because I can't reproduce this bug on my machine.
Are you running into this bug as well? If so, did adding the errors="replace" parameter fix it for you?
If it keeps persisting, I think we should try your solution 👍🏻
Thanks again :)

@hrushikeshrv it works!
Thanks @zzril, after adding errors='replace' to parser.py it worked!

@hrushikeshrv The "Modern.pgn" and "Modern3Nc3-d6.pgn" had invalid bytes. (For the "Modern.pgn", the problem was the í (not i) used in [Site Lechería] in some tag.)
The file seems to use Windows-1252-encoding, where this letter is encoded as an \xed byte.
So, yeah, probably depends on the installation environment / operating system whether Python reads that correctly or not. On my Linux machine, it didn't. ^^
Glad I could help!

@zzril that makes sense. Thanks for your help!


chore: add card section text (WEB-14)

chore: add card section text (WEB-14): #24

Done:

This ticket was already solved with an earlier PR that was just merged. Thank you for contributing though!


Helm always appends /index.yaml at the end of the URL

When adding a new repo helm always appends /index.yaml to the end of URL. This is undesired behaviour for some repositories that need additional query string parameters, such as Azure Blob Storage. Azure Blob Storage required appending special query string to HTTPS URL in order to get access to the file. Other sites might use similar mechanism or want to pass some parameters as query strings.
Example URL:
https://sometestblobstorage.blob.core.windows.net/?sv=2017-04-17&ss=1234&srt=asd&sp=12314&se=2019-10-15T19:49:26Z&st=2017-10-15T11:49:26Z&spr=https&sig=MKARQzLpTeSt7IRlgjpF9ke6p34UO0xhUGaMotWUrz1PpDFWw
Helm looks for index.yaml at:
https://sometestblobstorage.blob.core.windows.net/?sv=2017-04-17&ss=1234&srt=asd&sp=12314&se=2019-10-15T19:49:26Z&st=2017-10-15T11:49:26Z&spr=https&sig=MKARQzLpTeSt7IRlgjpF9ke6p34UO0xhUGaMotWUrz1PpDFWw/index.yaml
Expected behaviour:
inserting index.yaml inside url, right before query string.
https://sometestblobstorage.blob.core.windows.net/index.yaml?sv=2017-04-17&ss=1234&srt=asd&sp=12314&se=2019-10-15T19:49:26Z&st=2017-10-15T11:49:26Z&spr=https&sig=MKARQzLpTeSt7IRlgjpF9ke6p34UO0xhUGaMotWUrz1PpDFWw
I know that probably in the same way we would need to rewrite fetching packages. I am ready to create PR this week.

I would like to start working on this. Any guidelines and help really appreciated.

@mcwienczek I would start in the repo package...
https://github.com/kubernetes/helm/blob/eea32faaadf8891f6882b00f0dfe828e5cbe8e0e/pkg/repo/chartrepo.go#L111-L115
Instead of trimming a suffix and just appending the index file name, you might update this to use the url package manipulate the url and generate a valid string.

Thank you for the heads up @mattfarina. I have posted first draft of PR. Could you please review it for me? Thank you in advance for help.
Unfortunately I have a feeling that URL string is overused in the repository. I decided, though, not to refactor half of the application just to use URL struct, as it might break some backward compatibility. Therefore I decided to go with bugfix for current version .This PR should not affect any other functionality as it only tries to fetch charts when not found at the original URL.

UPDATE: I think I've been able to find the code that is responsible for that bug and fixed the issue at the root. I have also added one test. I hope that is enough to fix that bug.


updated jupyterhub, spark, &  minio config

The following commits fixes :

Spark driver unable to resolve container hostname
Jupyterhub worker containers crash loop. (Worker container crashes a few seconds after creation)

Merged
Thank you


GTK3 Implementation

I'm writing rust lib based on osdialog, and it is really annoying to deal with all "Deprecated" warning messages in GTK2, so I implemented new version that replaces all deprecated functions.
New version is completely parallel to GTK2 and it uses ARCH=gtk3 parameter
It is also worth noting that I'm not C programmer and it is possible that I made some terrible mistake while writing it.

This looks very similar to osdialog_gtk2.c, so it would make me want to mirror it when making changes. Is there a way to make that easier?

Indeed, they are nearly the same.
In file chooser there is only one deprecated function and it is GTK_STOCK_CANCEL we could just update it in gtk2.c because solution recommended by gtk should be backwards compatible, they recommend using "_Cancel" (Doc)
But for color picker things are little bit different, because whole gtk_color_selection_dialog_new() is deprecated and gtk_color_chooser_dialog_new() (Doc)
should be used instead, however I'm not sure how backwards compatible it is. Maybe we should use some conditional compilation just inside of color picker.

I'm not a big fan of this solution, it makes code a little bit messy, but there is no need for needless mirrored files.
int osdialog_color_picker(osdialog_color *color, int opacity) {
	if (!color)
		return 0;
	assert(gtk_init_check(NULL, NULL));

	#ifdef gtk3
		GtkWidget *dialog = gtk_color_chooser_dialog_new ("Color",NULL);
		GtkColorChooser *colorsel = GTK_COLOR_CHOOSER(dialog);
		gtk_color_chooser_set_use_alpha(colorsel, opacity);
	#elif gtk2
		GtkWidget *dialog = gtk_color_selection_dialog_new("Color");
		GtkColorSelection *colorsel = GTK_COLOR_SELECTION(gtk_color_selection_dialog_get_color_selection(GTK_COLOR_SELECTION_DIALOG(dialog)));
		gtk_color_selection_set_has_opacity_control(colorsel, opacity);
	#endif

	int result = 0;
	if (gtk_dialog_run(GTK_DIALOG(dialog)) == GTK_RESPONSE_OK) {
		#ifdef gtk3
			GdkRGBA c;
			gtk_color_chooser_get_rgba(colorsel, &c);
			color->r = c.red * 65535 + 0.5;
			color->g = c.green * 65535 + 0.5;
			color->b = c.blue * 65535 + 0.5;
			color->a = c.alpha * 65535 + 0.5;
		#elif gtk2
			GdkColor c;
			gtk_color_selection_get_current_color(colorsel, &c);
			color->r = c.red >> 8;
			color->g = c.green >> 8;
			color->b = c.blue >> 8;
			color->a = gtk_color_selection_get_current_alpha(colorsel) >> 8;
		#endif

		result = 1;
	}

	gtk_widget_destroy(dialog);

	while (gtk_events_pending())
		gtk_main_iteration();
	return result;
}

Okay sure, could you make osdialog_gtk3.c say
#define OSDIALOG_GTK3
#include "osdialog_gtk2.c"

and I'll merge.

I'm not sure if I understand correctly, You want me to write is so gtk3.c contain only color chooser function and imports everything else from gtk2.c? Did I understand it correctly?

Thanks!


实验结果看起来很好，想请教一下论文中表1的实验设置

您好，想请教一下Table1中Fine-tuning w. box-level dataset-mixed open-set detection pre-trained model / multi-task mix-supervised pre-trained model的实验设置是指什么样的呢

@Mr-Bigworth
Hi, the experiments section of the paper have an explanation of this. Specifically, the training set of RefCOCO/+/g/Referit/Flickr datasets is mixed and goes through an intermediate pre-training as a grounding task, then followed by fine-tuning on each dataset. This setting has been used in multiple previous works.

@Mr-Bigworth
Hi, the experiments section of the paper have an explanation of this. Specifically, the training set of RefCOCO/+/g/Referit/Flickr datasets is mixed and goes through an intermediate pre-training as a grounding task, then followed by fine-tuning on each dataset. This setting has been used in multiple previous works.

Thanks！


fix/NR-12565: Tile Bug in Homepage

JIRA ticket: https://issues.newrelic.com/browse/NR-12565
Description: Updated When I search for 'redis' in search, I'm able to find the Redis integration tile which is overlapping the tile in the right hand side.
steps to testing:

open the newrelic.com/instant-observability
click the searching box and type for "redis"

before image:

after image:

 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.

Closing this PR as we have raised a new PR on this ticket.
https://github.com/newrelic/instant-observability-website/pull/218

checking if Gatsby Build Service is able to complete the check.


[Bug]:  ssm.aws.upbound.io/Parameter/v1beta1 - unable to create a Parameter with Type: SecureString

Is there an existing issue for this?

[X] I have searched the existing issues

Affected Resource(s)
provider-aws-ssm/v1.16.0/resources/ssm.aws.upbound.io/Parameter/v1beta1
Resource MRs required to reproduce the bug
ssm-parameter-store-ss.yaml
apiVersion: ssm.aws.upbound.io/v1beta1
kind: Parameter
metadata:
  name: crossplane-system-ps-secure-string
  namespace: crossplane-system
  annotations:
    crossplane.io/parameter-name: /k8s/crossplane-system/ps-secure-string
spec:
  forProvider:
    region: us-east-1
    type: SecureString
  providerConfigReg:
    name: default

Steps to Reproduce
k create -f ssm-parameter-store-ss.yaml

What happened?
I'm trying to create a SecureString ssm parameter, and it fails with an api error Validation from AWS.  Suggestions on how to provide a placeholder for the create process?
Relevant Error Output Snippet
message: 'create failed: async create failed: failed to create the resource: [{0
      creating SSM Parameter (crossplane-system-ps-secure-string): operation error SSM:
      PutParameter, https response error StatusCode: 400, RequestID: <redacted>,
      api error ValidationException: 1 validation error detected: Value at ''value''
      failed to satisfy constraint: Member must have length greater than or equal
      to 1  []}]'
    reason: ReconcileError
    status: "False"
    type: Synced

### Crossplane Version

1.18.0

### Provider Version

v1.16.0

### Kubernetes Version

Kubernetes Version:
Client Version: v1.31.0
Kustomize Version: v5.4.2
Server Version: v1.31.1-eks

### Kubernetes Distribution

EKS

### Additional Info

_No response_

Kubernetes Version:
Client Version: v1.31.0
Kustomize Version: v5.4.2
Server Version: v1.31.1-eks

Kubernetes Distribution
EKS

Hi @emoby,
You can use the following YAML to create the resource:
apiVersion: ssm.aws.upbound.io/v1beta1
kind: Parameter
metadata:
  name: crossplane-system-ps-secure-string
  namespace: crossplane-system
  annotations:
    crossplane.io/parameter-name: /k8s/crossplane-system/ps-secure-string
spec:
  forProvider:
    region: us-east-1
    type: SecureString
    valueSecretRef:
      key: example-key
      name: parameter-secret
      namespace: upbound-system
  providerConfigReg:
    name: default
---
apiVersion: v1
kind: Secret
metadata:
  annotations:
    meta.upbound.io/example-id: ssm/v1beta1/parameter
  labels:
    testing.upbound.io/example-name: foo
  name: parameter-secret
  namespace: upbound-system
type: Opaque
stringData:
  example-key: "Upbound!"

I am closing this for now; feel free to reopen it if you encounter any issues.

Thank you!  Appreciate the info!


LND locks up a few seconds/minutes after lncli unlock command

Running the RaspiBlitz (latest version) and bitcoin chain is fully synced, as well as lnd. After bootup, I unlock with: lncli --network=mainnet unlock
LND unlocks, starts and after a few seconds. After running: sudo journalctl -f -u lnd, I see it starts scanning the chain and then fails with:
Dec 17 08:41:48 RaspiBlitz lnd[24439]: 2018-12-17 08:41:48.046 [INF] HSWC: Trimming open circuits for chan_id=554110:2114:1, start_htlc_id=0
Dec 17 08:41:48 RaspiBlitz lnd[24439]: 2018-12-17 08:41:48.207 [DBG] LNWL: Filtering block 554223<PHONE_NUMBER>0000000005a5e722ad27cdeeaedc06f4c6a40f66d283e61a196c16) with 1621 transactions
Dec 17 08:41:48 RaspiBlitz lnd[24439]: 2018-12-17 08:41:48.251 [ERR] SRVR: unable to create server: can't create router: unexpected EOF
Dec 17 08:41:48 RaspiBlitz lnd[24439]: 2018-12-17 08:41:48.253 [INF] LTND: Shutdown complete
Dec 17 08:41:48 RaspiBlitz lnd[24439]: can't create router: unexpected EOF
Dec 17 08:41:48 RaspiBlitz systemd[1]: lnd.service: Main process exited, code=exited, status=1/FAILURE
Dec 17 08:41:48 RaspiBlitz systemd[1]: lnd.service: Unit entered failed state.
Dec 17 08:41:48 RaspiBlitz systemd[1]: lnd.service: Failed with result 'exit-code'.
Dec 17 08:42:48 RaspiBlitz systemd[1]: lnd.service: Service hold-off time over, scheduling restart.
Dec 17 08:42:48 RaspiBlitz systemd[1]: Stopped LND Lightning Daemon.
Dec 17 08:42:48 RaspiBlitz systemd[1]: Started LND Lightning Daemon.
Dec 17 08:42:48 RaspiBlitz lnd[25620]: 2018-12-17 08:42:48.683 [INF] LTND: Version: 0.5.0-beta commit=v0.5-beta-101-g61e867741926bcb318432a6344b80161fabd1455, build=production, logging=default
Dec 17 08:42:48 RaspiBlitz lnd[25620]: 2018-12-17 08:42:48.684 [INF] LTND: Active chain: Bitcoin (network=mainnet)
Dec 17 08:42:48 RaspiBlitz lnd[25620]: 2018-12-17 08:42:48.684 [INF] CHDB: Checking for schema update: latest_version=6, db_version=6
Dec 17 08:42:48 RaspiBlitz lnd[25620]: 2018-12-17 08:42:48.689 [INF] RPCS: password RPC server listening on [::]:10009
Dec 17 08:42:48 RaspiBlitz lnd[25620]: 2018-12-17 08:42:48.689 [INF] RPCS: password gRPC proxy started at <IP_ADDRESS>:8080
Dec 17 08:42:48 RaspiBlitz lnd[25620]: 2018-12-17 08:42:48.690 [INF] LTND: Waiting for wallet encryption password. Use lncli create to create a wallet, lncli unlock to unlock an existing wallet, or lncli changepassword to change the password of an existing wallet and unlock it.
Any ideas why it would work, then fail almost immediately after?
I have disabled UFW to rule out any blocked ports and verified passwords are all valid. Thanks in advance.
wakedog

Are you logged in as user "bitcoin"?  If you look at the shell script AAunlockLND.sh you will see it starts up using:
sudo -u bitcoin /usr/local/bin/lncli --chain=${network} unlock

Thanks @fluidvoice I got it going. Was using admin account instead of bitcoin. Seems to be working now. Thanks for the help - this is resolved!


Wait for signature and attestation

In the chains test we before we check the attestation and signature we
need to make sure that the chains-controller has had enough time to
create them. Otherwise we would fail the cosign* tasks due to the images
with the attestation and signature not pushed/tagged in the interlan
registry.
This adds a step to wait for a maximum of 60 seconds for the images to
be created by listing the ImageStreamTag and looking for the specific
.att and .sig image tags to be present there.
Fixes https://issues.redhat.com/browse/HACBS-278

cc @joejstuart

This looks good. Just left a couple of comments.

/test ?

/test redhat-appstudio-e2e

/test redhat-appstudio-e2e

/lgtm

/retest

/retest

/test redhat-appstudio-e2e

I converted this to draft so it doesn't get merged until we upgrade the Tekton Chains in the infra repository. Running Tekton Chains in the version we currently have (0.8.0) successfully is dependent on the environment in which it runs. See https://issues.redhat.com/browse/HACBS-257 for details.

With https://github.com/redhat-appstudio/infra-deployments/pull/252 this can now be retested. @flacatus can you do the honors?


Move more model into models/user

as title

Codecov Report

Merging #17826 (eb52381) into main (fbadc1a) will increase coverage by 0.00%.
The diff coverage is 43.64%.

@@           Coverage Diff           @@
##             main   #17826   +/-   ##
=======================================
  Coverage   45.55%   45.56%
=======================================
  Files         808      808
  Lines       90061    90061
=======================================
+ Hits        41030    41032    +2
+ Misses      42477    42475    -2
  Partials     6554     6554

Impacted Files
Coverage Δ

models/error.go
40.00% <ø> (+0.75%)
:arrow_up:

models/migrate.go
0.00% <0.00%> (ø)

models/user.go
37.31% <0.00%> (ø)

routers/api/v1/repo/issue_subscription.go
30.26% <0.00%> (ø)

routers/web/admin/emails.go
0.00% <0.00%> (ø)

routers/web/org/members.go
0.00% <0.00%> (ø)

routers/web/user/auth.go
12.05% <0.00%> (ø)

routers/web/user/setting/account.go
27.47% <0.00%> (ø)

services/auth/login_source.go
0.00% <0.00%> (ø)

services/externalaccount/user.go
0.00% <0.00%> (ø)

... and 18 more

Continue to review full report at Codecov.

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

make L-G-T-M work


Wip python 3 port

Port of code over to python 3. Removal of possibly unused files/infrastructure as well. Website tests not fully ported yet.

@gaul @romayalon @robbat2 FYI

@yehudasa @alfredodeza  earlier today in the RGW standup we were wondering what the purpose of the readwrite and roundtrip tests were. Could you tell us more about them?

@alimaredia please note we are using ceph-master branch for the testing on ceph/ceph branch. what's your plan to port this port to ceph-master?

@tchaikov all PRs for s3-tests are supposed to be for the master branch. Then commits get cherry-picked to the ceph-master branch.

@alimaredia ping?

This is working on Ubuntu for both the s3-tests and the s3-tests-website task. The only thing left to do before this PR merges is to make sure everything works on Centos 8 in teuthology.
Alfredo, Yehuda, Casey, and the rest of the RGW team decided to remove the readwrite and roundtrip s3-test tests and any other tests that don't test the S3 API.
@robbat2 @gaul any objections?

I think the loss of the fuzzer tests is a step backwards: it was definitely very helpful when I was doing development of the website code.
The other non-unit tests deserve a future as integration testing, not functional testing. Of specific note is the "realistic" uploader that lets you fake massive files without having to create them on disk first and verify that data corruption isn't helping anywhere in the pipeline (I recall catching bugs with files that exceeded 2/4GiB).

That said, this should not be considered a NAK; let's get to Python3 first and then come back for the lower-frequency tests.

This is working on Ubuntu for both the s3-tests and the s3-tests-website task. The only thing left to do before this PR merges is to make sure everything works on Centos 8 in teuthology.
Alfredo, Yehuda, Casey, and the rest of the RGW team decided to remove the readwrite and roundtrip s3-test tests and any other tests that don't test the S3 API.
@robbat2 @gaul any objections?

Personally I would merge this as-is and someone else can resurrect the removed tests later if they have interest.

@robbat2 @gaul thanks for the messages. @liranmauda can you let me know on here once this branch passes your QA.
This seems to be working in teuthology, here are some clear runs:
Ubuntu:
Website: http://pulpito.ceph.com/amaredia-2020-01-13_19:54:32-rgw:website-master-distro-basic-smithi/
Verify: http://pulpito.ceph.com/amaredia-2020-01-09_19:25:48-rgw:verify-master-distro-basic-smithi/
Centos 8:
Verify: http://pulpito.ceph.com/amaredia-2020-01-13_19:43:41-rgw:verify-master-distro-basic-smithi/


Array-literal-related bugs

Pull Request Test Coverage Report for Build 408

22 of 22 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.05%) to 82.077%

Totals

Change from base Build 404:
0.05%

Covered Lines:
5637

Relevant Lines:
6686

💛  - Coveralls


Autowatch opening pyxis

Autowatch seems to work great for the main account that's popping the NM, but on slave accounts it spams about 1000 times and ends up crashing POL or breaking the chest. Any ideas as to why that would be happening? Great addon, thanks for any help you could provide.

It spams opening the chest? Haven't had a slave do that yet on my end. If you can snag a screenshot or log file it may help.
I did have trouble with 'leech' settings, in the end I just left it alone because the mode was redundant. As 'slave' served the same purpose when engaged was set to off.
I should just remove the leech mode from the lua.

Yeah I think it may have been on leech mode, been using slave mode for a few hours and it has been looting pretty consistently. The only thing that seems to cancel it is if an action is performed on the character opening at just the right time, they'll get "Event Skipped" and won't attempt to re-open the chest. Not a huge deal, and certainly better than it spamming and crashing itself lol.

I had figured it was probably the leech mode. I'll be removing that function from the lua in the near future as to prevent this issue.
I think event skipped protection is probably outside of my intended design space, so I don't think I'll be looking into that level of prevention.
Hope you've been getting all the Heavy Metals!


Wp5: water level extremes

Notebook description
Identification of extreme events of water level time series for the Victoria lake.
Notebook link or upload
Lake water level_ Extremes_rev.zip
Anything else we need to know?
I am running again the notebook to do the reviews I was asked to do. Now I have an error running the notebook. I am not able to download the variable anymore.
Moreover, I am asked to add some plots and picture from another document that I used as literature review. There is a way to add a picture in the notebook?
Thank you so much!

Environment

Hi @Cri-dei,

I am running again the notebook to do the reviews I was asked to do. Now I have an error running the notebook. I am not able to download the variable anymore.

Your cached data has expired on the VM as you haven't use it for a long time.
If you look at the dataset webpage on the CDS, there's this warning:

WARNING [2023-10-06]: The addition of the latest version require changes to the download form. Please note CDS API requests need to be modified due to these changes.

If you send me the new request I can cache it for you. Also please send me the name of the template corresponding to this dataset so I can update it.

Moreover, I am asked to add some plots and picture from another document that I used as literature review. There is a way to add a picture in the notebook?

Yes, you can add external figures in markdown cells. I believe you can just drag and drop the figure you want to add. See https://github.com/bopen/c3s-eqc-toolbox-template/issues/137

Hi Mattia,
Thanks for your prompt answer!
How I can send you the CDS API request?
The notebook I am referring to is: in wp5 : lake_water_level_extremes
lake_water_level_extremes.ipynb
I am modifying it a bit so I will send you the final version when I am done.

`import cdsapi
c = cdsapi.Client()
c.retrieve(
'satellite-lake-water-level',
{
'variable': 'all',
'region': 'southern_africa',
'lake': 'victoria',
'version': 'version_4_0',
'format': 'zip',
},
'download.zip')`
I have to do it also for the other notebook and variables?

Looks like is the only notebook using that dataset, so no need to do it for other notebooks (unless ECMWF changed the form of other datasets).
I'll cache the new request in a minute and will let you know when it's ready

ohh that was quick. It's cached!
Here is the latest template: https://github.com/bopen/c3s-eqc-toolbox-template/blob/main/notebooks/wp5/lake_water_level_extremes.ipynb

It is a small request indeed, just a data series!
Thank you, it is working now!!


add a feature aboute web components

add a feature aboute web components  #128
how to use?
const Title = styled.styledWeb.h1`
  font-size: 1.5em;
  text-align: center;
  color: palevioletred;
`;
Title.textContent = 'hello style-components'
// Create a <Wrapper> react component that renders a <section> with
// some padding and a papayawhip background
const Wrapper = styled.styledWeb.section`
  padding: 4em;
  background: papayawhip;
`;

Wrapper.appendChild(Title);

document.querySelector('#container').appendChild(Wrapper);

It's a year later and I don't think we'll provide this functionality any time, or any time soon.
I think it would fit in more with something like styled-elements: https://github.com/styled-components/styled-elements
Every surface area that we add we'll have to maintain and as this is a really different platform, we should think about separating any efforts from the main styled-components library.
cc @mxstbr


Revert "removed unused profiles and sync"

Reverts Azure/azure-rest-api-specs#5814

Automation for azure-sdk-for-go

Automation for azure-sdk-for-python


Decompiling from Dart version 2.8.3 fails (is it too old to be supported?)

I'm running into a lot of problems trying to decompile an app made by Dart 2.8.3. Is this supposed to work, or is it hopelessly old and I better just give up?
I got around some errors from pch.h including non-existing files, but I keep running into compilation errors, trying to work around them, and it feels like things are mostly just breaking down.
I can give more details about the errors, but I won't spend the effort unless I know this is relevant.

Dart 2.8 is too old. Need a lot of changes to make it work. I have no plan to support it


make changes in css of todo-list

Input box and list item ...give a interactive look and changes the background colour with the top bar is looking good wth the bg

you can also work on some other repo's of mine your in same repo adding some new feature .
follow for more such repo to contribute

@gaurav147-star  please make an issue first before making pr :)
I reverted the change now you can work further , by creating an issue first


GPU usage on Podman Desktop AI lab service screen

Is your feature request related to a problem? Please describe
Unable to see GPU usage while running inference request
Describe the solution you'd like
Next to vcpu usage as per screenshot, is it possible to have a GPU usage as well ?

Describe alternatives you've considered
No response
Additional context
No response

This feature cannot be added easily, as having access to this information is independent from podman.
Depending on the type of GPU you are using the usage cannot be collected with the same method, E.g. with an NVIDIA GPU you could see the usage with nvidia-smi, however this does not allow you to distinguish per process usage.
When podman mount a device, it cannot control what the usage of this device is, it just let the process inside the container use it. For this reason, it would not be possible to monitor this metrics


Target latest revision of .NET Core 2.1.x to avoid security issues

There are two CVEs open against the version of .NET Core we are targeting. We should bump to the latest revision of 2.1.x to mitigate.

CVE
Vulnerable .NET Core versions
Secure versions

CVE-2018-8416
2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6
2.1.7

CVE-2019-0657
2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6, 2.1.7, 2.2.0, 2.2.1
2.1.8, 2.2.2

We should target 2.1.8.

I had to update GitService for CVE-2017-0249 in System.Net.Http.
We should see if we're affected by it too.


Project full of lint errors and VS Code underlines entire files

Hey,
When opening the template in VS Code, the project goes crazy with many lint errors, even after I already went through all installation steps.

npm run lint also returns all these errors.
Thank you for your time. 🙂

Update: restarting VS Code seemed to have fixed some of the errors and warnings, but the following ones still remain:
warning  Unexpected console statement  no-console
error    Delete `␍`                    prettier/prettier

I'd say these should be ignored in the respective ignore-files, or fixed?

Hi! Sorry that response took so long. I haven't updated the repo in quite some time and I think I won't be anymore, unfortunately I don't really have time for that.
It will remain here as a modders resource, feel free to use any part you need. Thanks!


Fix: user-defined field aliases may break federation

This adds _bramble_id as a universal ID hint, which allows id to behave as a standard user-defined selection. This fixes the numerous ways to break federation with user-defined field aliases describe in https://github.com/movio/bramble/issues/90 and https://github.com/movio/bramble/issues/93.
Apologies for the large PR – the vast majority of it is test fixtures.
The Problem
As described in https://github.com/movio/bramble/issues/90, there are many creative ways for user-defined queries to break Bramble federation ids using field aliases, for example:
query {
  shop1 {
    products {
      boo: id
      name
    }
  }
}

While dynamic adjustments can be made to the query planner to account for such aliases, a user-aliased id still ends up breaking in the execution resolver, per https://github.com/movio/bramble/issues/93.
A general observation: query planning currently optimizes for vanity queries at the cost of tricky logic holes and extra looping. The process becomes simpler and more reliable when the query planner always adds consistent implementation fields for itself, even if they are redundant with the contents of the user-defined query. Not making id do double-duty as both a user selection and an implementation detail avoids contention between the planning and resolution steps.
The fix(es)

Makes the planner always add a _bramble_id: id selection to boundary scopes.
Validates _bramble_id and __typename aliases. A user selection will not be allowed to hijack these fields.
Foregoes vanity queries in favor of eliminating childstep recursion complexity and selectionSetHasFieldNamed looping. Queries are now more verbose, but they are extremely consistent and avoid suspected logic holes.

Duplicated selections are ugly
If there’s human sensitivity to duplicated field selections (machines don’t care), then I’d propose adding a single-pass loop at the end of extractSelectionSet that imposes uniqueness once based on field alias falling back to field name. At present, “selectionSetHasFieldNamed” runs for each de-duplicated field, and doesn’t take into account field aliases.
Resolves https://github.com/movio/bramble/issues/90.
Resolves https://github.com/movio/bramble/issues/93.

Codecov Report

Merging #94 (0497312) into main (62b21ae) will decrease coverage by 0.09%.
The diff coverage is 95.00%.

@@            Coverage Diff             @@
##             main      #94      +/-   ##
==========================================
- Coverage   67.15%   67.05%   -0.10%
==========================================
  Files          24       24
  Lines        2749     2723      -26
==========================================
- Hits         1846     1826      -20
+ Misses        748      745       -3
+ Partials      155      152       -3

Impacted Files
Coverage Δ

query_execution.go
69.70% <66.66%> (-0.19%)
:arrow_down:

plan.go
82.88% <100.00%> (+0.84%)
: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 62b21ae...0497312. Read the comment docs.

Okay, ready for review here @nmaquet. Sorry for the large PR.

@gmac Thanks again for this one, have just had a skim so far but looks solid. One thought, if we're going the route of reserving the __typename and _bramble_id aliases, as well as guaranteeing the injection of __typename. What do you think about following the same pattern as the id field and making it something like _bramble__typename, this could also allow us to drop it from the final response like we do the id.
It would require updating the execution pipeline to look for that alias over the regular __typename but would have the benefit of clearly indicating it's been injected for the internal purposes of bramble.

@lucianjon — a dedicated typename alias makes sense to me. It’d certainly be ideal to keep __typename itself as native GraphQL to be abused in any way the end user likes.

@lucianjon — a dedicated typename alias makes sense to me. It’d certainly be ideal to keep __typename itself as native GraphQL to be abused in any way the end user likes.

Sweet, I think we could do it in another PR to keep the size of this one down.

Thanks @gmac!!!


Filter Transactions in "DESCENDING" order

By default, it appears that Apple provides the Transaction history with the oldest transactions first.
They provide a way to filter transactions using the DESCENDING value in the 'sort' parameter that returns the newest transactions first.
https://developer.apple.com/documentation/appstoreserverapi/get_transaction_history
Is there a way to pass this filter value in the api.getTransactionHistory(orderId) call?
Thank you!

The sort and filter options were announced during WWDC 2022. I'm working on adding them as we speak. 😊

This is now supported in v0.5.0.


[$250] Selecting a filter and using keyboard return on the filter confirmation screen ends up clearing filters.

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

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

Go to Search
Click on Filters
Click on a specific filter
Enter your query, use return on your keyboard to confirm
You’re taken back to the main filters page, click on another filter
Enter your query, use return on your keyboard to confirm
Now enter the return key again on the filter summary/confirmation screen

Expected Result:
No filters are cleared
Actual Result:
All filters are cleared, nothing happens.
Workaround:
Unknown
Platforms:

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

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

Screenshots/Videos

https://github.com/user-attachments/assets/7bcdbb9f-ce81-452c-bea1-fcdf34cb8fa5
Add any screenshot/video evidence

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

Upwork Job URL: https://www.upwork.com/jobs/~01e1f39a3a6d7c0f4a
Upwork Job ID:<PHONE_NUMBER>366247316
Last Price Increase: 2024-09-03

Issue OwnerCurrent Issue Owner: @alitoshmatov

This is related to focus trap. It seems like the top back button is selected when Enter is pressed, which navigates the user back. This also seems to happen in other flows, e.g. Submit expense

@abzokhattab Thank you for your proposal, your RCA is correct and solution does solve the issue

@Krishna2323 Thank you for your proposal, I think you solution is great since it addresses all the instances of this issue

@tsa321 Thank you for your proposal, I think we should not change current logic of focus trap

Proposal
Please re-state the problem that we are trying to solve in this issue.
Avoid initial focus trap element while container includes button has an enter event listener
What is the root cause of that problem?
We only have condition isFocusedElementInsideContainer to prevent set initial focus but at AdvancedSearchFilters screen we don't have any focused element so the initial focus will be set to the first focusable element in the screen container.
What changes do you think we should make in order to solve the problem?
To prevent this issue from occurring in other places, we should add a new condition that prevents setting the initial focus when the container includes a button with an enter event listener.
      const isFocusedElementInsideContainer = !!focusTrapContainers?.some((container) => container.contains(document.activeElement));
+     const isButtonHasEnterListener = !!focusTrapContainers?.some((container) => !!container.querySelector('button[data-listener="ENTER"]'));
+     if (isFocusedElementInsideContainer || isButtonHasEnterListener) {
-     if (isFocusedElementInsideContainer) {
          return false;
      }

Update Button component to add a new attribute data-listener
    <PressableWithFeedback
+       dataSet={{
+           listener: !!pressOnEnter ? 'ENTER' : undefined,
+       }}
        ref={ref}
        onPress={(event) => {

What alternative solutions did you explore? (Optional)

I think we should go with @abzokhattab 's proposal and solve it for current issue.
C+ reviewed 🎀 👀 🎀

I think we should find an overall solution to prevent initialFocus  early when the screen has a focused element or a button listening for the enter event, instead of relying on trigger initialFocus  and then using blurActiveElement (note: initialFocus doesn’t disable the focus trap functionality).

I agree that we should look at a holistic solution for other pages as well, so we don't end up with 42 different ways to solve the same problem. Let's fix the root cause.

I agree that we should look at a holistic solution for other pages as well, so we don't end up with 42 different ways to solve the same problem. Let's fix the root cause.

💯 agree, anyone got thoughts on a proposal for that?

@alitoshmatov How about my proposal? It can prevent the initial focus early, rather than deactivating the focused element.

I think @suneox 's proposal makes sense now. It goes to source of the problem, and will make sure focus is not reset into first focusable element when there is a button with pressOnEnter attribute.
@luacmartins What do you think?

PR on prod, updated the title to reflect the payment hold.

Go away, melvin.

Payment summary as follows:

$250 to @suneox for the fix
$250 to @alitoshmatov for the C+ review

Paid, closing!


feat: add link to the Dart doc

What kind of change does this PR introduce?
Adds a link to the Dart doc for storage.
Closes https://github.com/supabase/storage-dart/issues/1
What is the current behavior?
There are no doc or link to any docs in the repo.
What is the new behavior?
Users can navigate themselves to the official doc.

What's the point of pointing your own fork of it? Is there any docs there?

@bdlukaa Oh, wow. Thanks for catching that! I really have no idea how that got inserted. It was not supposed to be there.


undefined variable dev5m in lib/autotune-prep/categorize.js dev branch

I all,
I'm new to openaps and try to have an open loop running.
I've cloned the git dev branch of oref0 to use autotune on my linux desktop and faced an error with running autotune :

/home/didier/Developpement/oref0/lib/autotune-prep/categorize.js:224
dev5m = delta-BGI;
^
ReferenceError: dev5m is not defined
at categorizeBGDatums (/home/didier/Developpement/oref0/lib/autotune-prep/categorize.js:224:15)
at generate (/home/didier/Developpement/oref0/lib/autotune-prep/index.js:23:30)
at Object. (/home/didier/Developpement/oref0/bin/oref0-autotune-prep.js:135:27)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47

I've simply added 'var dev5m;' in the file lib/autotune-prep/categorize.js line 153 and it worked as expected.
Thanks !

Thx. I opened #1417 to fix.


Add observe on event for Gmail tab switch

I would need to know when the user switches tab (Primary, Social, Promotions, etc.) to be able to update the UI with certain elements.
Is there a method like that available or any known workarounds?
view_thread observer seems to update whenever opening another email, so the same functionality would be great.

None that I know about. PRs welcome though 🙂

Just a small workaround I use:
You can add an observer for http_event and check for params.url.act === "oestp". From what I've seen it's called when the tabs switch, don't know if it's really related.

Thank you for the suggestion! It's a while ago but I think I solved it by checking the aria-selected attribute of the tabs


Default values of parameters for a specific broker on a namespace level

Not all parameter values are suitable for users to set on every provision / bind.  For example, some brokers will require that an API key or other secret key (not to be confused with a Kubernetes secret) be passed to every service/plan.  There should be a way for users to avoid setting these parameters themselves:

The UX of having to enter these parameters is not desireable
It is repetitive and there's a risk of transcription error
Ideally, ordinary users will not have to even be aware of these parameters

Specific example:

Say there is a service broker whose services/plans all accept an API_KEY parameter
Users do not want to have to enter this manually for provision/bind for (what I think are) obvious reasons
It should be possible to set up a default value in the user's namespace for the API_KEY parameter for this particular broker that will apply to all operations to the broker that accept parameters

Note that I am not sure that I have a silver-bullet solution to this problem.  Right now I'm more looking for consensus on the use-case than I am agreement on a particular technical solution.

I think this is an important use-case for dealing with multi-tenant brokers, and I would prefer that it be tackled for beta, but I'm going to avoid setting a milestone on it for now.

Is this fundamentally different from people using a configMap to populate parameters?

(configMap or secret if the data is sensitive)

IMHO beta should enable as many use cases as possible and stabilise the API surface, keeping it as minimal as possible (for obvious reasons). Basically enabled use cases to exposed api surface ratio should be really high for beta. As long as a use case is not blocked completely, it should be good enough for beta quality. Polishing UX is probably not as important as unblocking people (i.e. there are probably more urgent things to implement).
IMHO stability and reliability is much more important than UX. Nice things in UX is cool, but system should work reliably first, be spec compliant and then we can add bells and whistles :)
In my mind Kubernetes is not a PaaS, it is a platform to build one on top. Features like this one should live in a PaaS IMHO. Kubernetes and svc-cat should provide building blocks that enable PaaS builders to build nice UX. Basically API should be designed for machines, not for humans. This is similar how Kubernetes defines Nucleus and then builds on top.

This is my opinion as an end user, who is building a PaaS.

@ash2k if our API server had initializers, we could build controllers that implement this behavior but that lived outside the 'core of the catalog'.
I definitely appreciate the sentiment of keeping the catalog simple.  With that said, I think this is a pretty fundamental use case that would have widespread appeal - it matters a lot if you work with multi-tenant brokers that service users with different sets of credentials / keys, so we should consider as a group whether we think it belongs in the catalog.
I'm adding this to the agenda for the next SIG meeting to discuss.


Add internal TLS port in the router config and generate cert for router

This also makes use of that cert in the console.
This fixes #140 and #156

Confirmed to work with latest rhea, merging.


Tug - issues when docker-host cache is empty

Tug builds with an empty docker-host cache seems not to work
++++ docker tag example-integration-varnish docker.io/amazeeio/example-varnish:integration
--
  | Error response from daemon: No such image: example-integration-varnish:latest

quickfix:
docker pull amazeeio/varnish
docker tag amazeeio/varnish example-integration-varnish

Actually it's not the emptyness of the docker-host that is the issue. We don't tag the images before pushing

https://github.com/amazeeio/lagoon/pull/447


cargo port down

getting js errors when accessing https://depot.galaxyproject.org/software/ and the cached URL list is empty

It worked 3h ago. We should ship these libraries locally and don't rely on upstream.

We're using SRI so we CAN rely on upstream.
Thanks @martenson, since this is the second time this has happened I'll start shipping these locally.

Chrome seems to really have issues with certain files/hashes, even though it passes all the tests. I don't understand :|

misleading title @martenson ;)

Fixed.

misleading but caught attention :P

Yes, yes it did. Seeing that title in my inbox was a surprise.

sorry man :)
On Thu, Dec 17, 2015 at 3:15 PM Eric Rasche<EMAIL_ADDRESS>wrote:

Yes, yes it did. Seeing that title in my inbox was a surprise.
—
Reply to this email directly or view it on GitHub
https://github.com/galaxyproject/cargo-port/issues/31#issuecomment-165570504
.


An error occurred while making the query.

Summary (include Python version)
Python 3
Date/time of issue
11-07-2019
Expected behavior
For every function I get same error.
get_price(), get_balance_sheet() and so on...
Actual behavior

What tier is your IEX cloud account?

I'm not getting the same issue but I am getting the follow error when I try to use get_price():
IEXQueryError: An error occurred while making the query.
I have already pip updated to the latest version. All the other queries seems to work fine.
I can run get_price() when I set the IEX_API_VERISON to iexcloud-sandbox.

Per the IEX Cloud documentation, get_price() is only available for paid accounts:
Notes
Only included with paid subscription plans

okay..Thank you
On Fri, Feb 14, 2020 at 10:01 AM Jacob Larkee<EMAIL_ADDRESS>wrote:

Per the IEX Cloud documentation, get_price() is only available for paid
accounts:
Notes
Only included with paid subscription plans
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/addisonlynch/iexfinance/issues/183?email_source=notifications&email_token=ALN3V2VFFJVYY3Z6ERCDWI3RC3MATA5CNFSM4JKL5RVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELZ4QIQ#issuecomment-586401826,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALN3V2QTHMSJZDOGE2YWC53RC3MATANCNFSM4JKL5RVA
.


'SIGABRT', reason: 'Object reference not set to an instance of an object.' on iOS devices

Bug Information
With the latest version there are a lot of crashes on iOS devices only. There is no crash like this on Android devices. Stack trace at https://gist.github.com/AntvissMedia/2c3702c179994059a1d308e79ef6a80c but not particularly useful as it's not symbolicated and I am still in the process of finding out how to do that.
Version Number of Plugin: 4.0.0-beta
Device Tested On:
iPhone X (A1901)
iOS 14.0
Sep 17, 4:41 PM
iPhone X (A1901)
iOS 14.0
Sep 17, 4:41 PM
iPhone 7 Plus (A1784)
iOS 13.7
Sep 17, 4:17 PM
iPhone 11
iOS 13.6.1
Sep 17, 10:12 AM
iPhone X (A1901)
iOS 14.0
Sep 17, 9:46 AM
iPhone 8 Plus (A1897)
iOS 13.4.1
Sep 17, 9:28 AM
iPhone 8 (A1905)
iOS 13.3
Sep 16, 10:35 PM
iPhone 8 (A1905)
iOS 13.3
Sep 16, 10:35 PM
iPhone 8 (A1905)
iOS 13.3
Sep 16, 10:32 PM
iPhone 11
iOS 13.6.1
Sep 16, 7:28 PM
iPhone 11
iOS 13.6.1
Sep 16, 7:22 PM
iPhone 7 Plus (A1784)
iOS 13.7
Sep 16, 7:11 PM
iPhone 11
iOS 13.6.1
Sep 15, 4:34 PM
iPad mini 2 (Wi-Fi)
iOS 12.4.8
Sep 15, 10:34 AM
iPhone 11
iOS 13.6.1
Sep 14, 8:09 PM
iPhone 11
iOS 13.6.1
Sep 14, 7:05 PM
iPhone 11
iOS 13.6.1
Sep 14, 4:59 PM
iPhone XR
iOS 13.6.1
Sep 14, 3:53 PM
Simulator Tested On: N/A
Version of VS: 16.7.3
Version of Xamarin: <IP_ADDRESS>1
Versions of other things you are using:
  <ItemGroup>
    <PackageReference Include="Com.OneSignal">
      <Version>3.10.1</Version>
    </PackageReference>
    <PackageReference Include="MarcTron.Admob">
      <Version>1.5.7</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.AppCenter.Analytics">
      <Version>3.4.1</Version>
    </PackageReference>
    <PackageReference Include="Microsoft.AppCenter.Crashes">
      <Version>3.4.1</Version>
    </PackageReference>
    <PackageReference Include="Newtonsoft.Json">
      <Version>12.0.3</Version>
    </PackageReference>
    <PackageReference Include="Plugin.FirebaseAnalytics">
      <Version>3.1.0</Version>
    </PackageReference>
    <PackageReference Include="Plugin.FirebaseAuth">
      <Version>3.1.0</Version>
    </PackageReference>
    <PackageReference Include="Plugin.InAppBilling">
      <Version>4.0.0-beta</Version>
    </PackageReference>
    <PackageReference Include="Plugin.LocalNotification">
      <Version>5.0.6</Version>
    </PackageReference>
    <PackageReference Include="Plugin.Toast">
      <Version>2.2.0</Version>
    </PackageReference>
    <PackageReference Include="Refractored.MvvmHelpers">
      <Version>1.6.2</Version>
    </PackageReference>
    <PackageReference Include="sqlite-net-pcl">
      <Version>1.7.335</Version>
    </PackageReference>
    <PackageReference Include="Syncfusion.Xamarin.Core">
      <Version><IP_ADDRESS></Version>
    </PackageReference>
    <PackageReference Include="Syncfusion.Xamarin.Expander">
      <Version><IP_ADDRESS></Version>
    </PackageReference>
    <PackageReference Include="Syncfusion.Xamarin.SfBusyIndicator">
      <Version><IP_ADDRESS></Version>
    </PackageReference>
    <PackageReference Include="Syncfusion.Xamarin.SfChart">
      <Version><IP_ADDRESS></Version>
    </PackageReference>
    <PackageReference Include="Syncfusion.Xamarin.SfComboBox">
      <Version><IP_ADDRESS></Version>
    </PackageReference>
    <PackageReference Include="Syncfusion.Xamarin.SfPopupLayout">
      <Version><IP_ADDRESS></Version>
    </PackageReference>
    <PackageReference Include="Syncfusion.Xamarin.SfRangeSlider">
      <Version><IP_ADDRESS></Version>
    </PackageReference>
    <PackageReference Include="Syncfusion.Xamarin.SfRating">
      <Version><IP_ADDRESS></Version>
    </PackageReference>
    <PackageReference Include="Syncfusion.Xamarin.SfRotator">
      <Version><IP_ADDRESS></Version>
    </PackageReference>
    <PackageReference Include="Syncfusion.Xamarin.SfTabView">
      <Version><IP_ADDRESS></Version>
    </PackageReference>
    <PackageReference Include="System.ComponentModel.Annotations">
      <Version>4.7.0</Version>
    </PackageReference>
    <PackageReference Include="Xam.Plugin.Connectivity">
      <Version><IP_ADDRESS>-beta</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Firebase.iOS.Analytics">
      <Version>6.4.1</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Firebase.iOS.Auth">
      <Version>6.5.1</Version>
    </PackageReference>
    <PackageReference Include="Xamarin.Forms" Version="<IP_ADDRESS>1" />
    <PackageReference Include="Xamarin.Essentials" Version="<IP_ADDRESS>" />
  </ItemGroup>

Steps to reproduce the Behavior
Expected Behavior
Actual Behavior
Code snippet
  public async Task WasItemPurchased(string productId)
        {

            var billing = CrossInAppBilling.Current;
            try
            {
                var connected = await billing.ConnectAsync();

                if (connected)
                {
                    var purchases = await billing.GetPurchasesAsync(ItemType.InAppPurchase);

                    if (purchases?.Any(p => p.ProductId == productId) ?? false)
                    {
                        InAppBillingPurchase purchase = null;
                        foreach (var p in purchases)
                        {
                            if (p.ProductId.Equals(productId))
                            {
                                purchase = p;
                            }
                        }

                        if (purchase != null)
                        {
                            if (purchase.State == PurchaseState.Purchased)
                            {
                                if (!purchase.IsAcknowledged)
                                {
                                    await billing.AcknowledgePurchaseAsync(purchase.PurchaseToken);
                                }

                               //add advanced features
                            }

                            else if (purchase.State == PurchaseState.PaymentPending)
                            {

                                await Toolkit.SetPaymentPending(); //as you advised in the Readme, to retry a check later

                            }

                            else
                            {
                                //Not purchased
                            }
                        }

                        else
                        {
                            //Purchase is NULL
                        }

                    }
                    else
                    {
                       //Purchase doesn't contain productId
                    }
                }
            }
            catch (InAppBillingPurchaseException purchaseEx)
            {
                //Handle
            }
            catch (Exception ex)
            {
                //Handle

            }
            finally
            {

                await billing.DisconnectAsync();
            }

Screenshotst

I cannot replicate this on any of my test devices. It clearly relates to restoring purchases but I don't explicitly ask it to do that so it might be something that the plugin is doing as part of the methods which are called above.
What's weird is that is still crashes even though almost all of the method is wrapped in a try...catch.
PS: for added info, the Linker is set to SDK only, not linkall

Unable tor reproduce here.


PayPal auth popup input fields issue (FB webview on iOS)

Description
When trying to enter email and/or password on PP auth popup the typing cursor starts jumping around the screen - in other words, cursor doesn't stay within the input field/s.

[x] Screenshots or videos that show the issue

[x] Your code

    paypal.Button.render({
        env: window.env,
        style: {
            label: 'checkout', // checkout || credit
            size: 'medium', // tiny | small | medium
            shape: 'rect', // pill | rect
            color: 'blue' // gold | blue | silver
        },
        payment: function() {
            return paypalCheckoutInstance.createPayment({
                flow: 'checkout',
                amount: amount,
                currency: currency,
                enableShippingAddress: true
            });
        },
        onAuthorize: function(data, actions) {
            return paypalCheckoutInstance.tokenizePayment(data).then(function(payload) {
                //stuff
            });
        },
        onError: function(err) {
            console.error('checkout.js error', JSON.stringify(err, 0, 2));
            Raven.captureMessage('onError: ' + JSON.stringify(err, 0, 2));
        }
    }, '#paypal-button');

[x] The version of checkout.js you're using (or the paypalobjects url)
checkout.4.0.89.min.js with breintree 3.19.1

[x] A link to your page with the issue, if possible
https://www.ulla.io

[ ] All console logs during the time of the issue, especially error messages

[ ] Does the issue also occur at developer.paypal.com/demo/checkout?

Steps to reproduce

open FB app (latest) on iphone7 / ios 10.3.2
search for "ULLA smart hydration reminder"
open any link to www.ulla.io (eg. on first post)
add to cart > checkout > tap on "checkout with PP" button on shipping info page
4.1 PP popup opens
type in email and password
5.1 in case everything works, close the popup and try again

Affected browsers

[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge
[ ] IE
[ ] Chrome Mobile/Tablet
[ ] Safari Mobile/Tablet
[x] Web View / Safari ViewController
[ ] Other

On first glance it seems like an existing issue on iPhone 6 presumably as per this link: https://discussions.apple.com/thread/7921428?start=0&tstart=0
In other words it may not be related directly to the Auth flow or the checkout flow itself. Will update this thread once we have some more definitive data.

It s also possible this issue could be a result of overflow:auto in the CSS as per https://muut.com/i/framework7/bugs-and-issues:input-field-curtor-cursor

From looking into it further, I m more inclined toward the thought that this issue is caused by overflow:auto on the modal DIV that holds the PayPal login page. Web auth certainly doesnt add this DIV. Either the button builder does that DIV or the ULLA page itself does that.

I believe this style is not enforced by ULLA.IO site.

Still seeing this issue?

@walmik Are you still facing this issue?

It works now.
On 29 Sep 2017, 23:19 +0200, vishakha94<EMAIL_ADDRESS>wrote:

@walmik Are you still facing this issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Closing this issue.

@iranianpep @dmalis have you guys managed to solve it?
Here is what happens in my case with React Native (sorry for slow animation)


ClangFormat  Command Failed

Hi ,
I have already installed the clang format on my Mac however when i tried to applied clang i got below error.
Error:
This error is most often caused by not having clang-format installed and on your path. If you do please create an issue on our github page.
Thanks

Do you have clang-format installed? If so can you open your terminal and run "clang-format --version" and tell me what it says? Thanks!

Same issue here.
$ clang-format --version
clang-format version 3.7.0 (tags/RELEASE_370/final)

Fixed by adding /usr/local/bin/clang-format to the Executable path on the settings page

Zialus,
I am getting below output of version
clang-format harshaldhake$ clang-format --version
clang-format NPM version 1.0.33 at /usr/local/lib/node_modules/clang-format/index.js
I had installed the clang format from NPM from using command
npm install -g clang-format
I have added the path  which u suggessted but it did not work. Plz suggest

I'm having the same issue.
clang-format version 5.0.0 (tags/google/stable/2017-03-17)```

```$ which clang-format
/usr/local/bin/clang-format```

```$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/share/dotnet:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/bin```

Open global atom config.
'*':
  core:
    ...

  'clang-format':
    executable: '/usr/local/bin/clang-format'

And that's it.

It won't search in PATH. See code here. Looks like /usr/bin/x86_64/clang-format. This path is very strange, it won't exist on any linux system as I know.

As of 2.0.6 the error message we give you should be much more detailed. I'm going to close this and then if you experience an error please create a new ticket with the new error message, I'll be in a much better position to help then.
@andrew-aladev I can't see exactly what code you are referencing because it's changed but if its what I think it is that code won't be run if you specify a clang-format binary config option. That code is just for pointing at the bundled binary we include (inside node_modules)

Ok, thank you.


clarify the socket restrictions: they only apply to this method

The other associate transport methods don't share these restrictions.

@PeterSmithRedmond : Thanks for your contribution! The author(s) have been notified to review your proposed change.


defaultSelection not available

Hi,
I recently migrated to swift 3.0 with xCode 8.2.
I am using "BSImagePicker", "~> 2.4" pod.
I am not able to use defaultSelection anymore. It keeps throwing compile time error that its private.
I know that it has been made public because of previous issues but somehow its not available neither it appears in xCode intellisense. Can you check the issue?

Yes they have been made private in both the files

PhotosViewController
BSImagePickerViewController

I was also using the same variable in swift 2.3 to check the previously chosen images form the photos but with the update for swift 3 they have been made private and its difficult to pre-select the images.
Hope to here from the them for the alternative sooner.


Feat: Add optional parameters to ImapReceiver and SmtpSender

Add optional parameters to the Create method in the ImapReceiver class and the SmtpSender class. The optional parameters allow injecting implementations of IImapClient and ISmtpClient, providing more flexibility in usage.

I was working on a project using the Mailkit library, and when I needed to receive emails in real-time, I came across your library. It turned out to be a great solution to my needs!
However, I encountered a new problem when trying to retrieve the MIME message for a newly received email. I was getting a 'Message not found' exception. After investigating, I realized that the issue stemmed from using a separate instance of ImapClient for MailKit and another instance for your library.
To resolve this problem, I made modifications to the code, adding an optional parameter that allows injecting an existing ImapClient instance. By using the same instance for both libraries, users can avoid encountering the 'Message not found' exception.
I believe this edit will greatly improve the user experience and streamline the integration between the two libraries. Please review and provide your feedback. Thank you!

It turned out to be a great solution to my needs!
Thanks for letting me know! It's nice to hear the library is being used by others.

I was getting a 'Message not found' exception. After investigating, I realized that the issue stemmed from using a separate instance of ImapClient for MailKit and another instance for your library.
I'd seen that as well, but I hadn't had time to test theories about why it was happening. I appreciate you spending the time to figure it out. I've been away for three weeks so I only saw this today.

By using the same instance for both libraries, users can avoid encountering the 'Message not found' exception.
Excellent! Thank you 😁

I've published a preview package with your changes, please check it out and let me know if you have any other enhancements to offer 😄

Thanks for merging my PR :)
I will check it, and looking forward to providing more help and improvements to this useful library.

The changes you requested are now live, you can add the realease to an existing project:
cd ./MailKitSimplified/samples/ConsoleServiceExample
dotnet add package MailKitSimplified.Receiver --version 2.5.0
../MailKitSimplified.ConsoleServiceExample.sln


⚠ SceneTime has degraded performance

In a362fae, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1152 ms

Resolved: SceneTime performance has improved in e2606ef after 8 minutes.


Add reset method to EoWriter and fix comment

Felt this would have been useful during development when I wanted to re-use a writer rather than setting it to a new instance.

I envisioned the EoWriter as more of a one-off throwaway object that you'd use to serialize a single data structure.
Going to go with my gut here and resist expanding the API in this way (for now).
Taking that documentation fix though - good catch, thank you!

Going to go with my gut here and resist expanding the API in this way (for now).

That's fair. Tbh I think it only came up because of the test code I was writing. Not many (if any) situations where you'd want to re-use a writer


cookiecutter fails if gh is not installed

Description
cookiecutter fails if gh is not installed.
To Reproduce
Steps to reproduce the behavior:

cookiecutter https://github.com/DSACMS/repo-scaffolder --directory=tier1
answer true to "Would you like to create a repo on github.com?'
See error

Expected behavior
It would be nice if the error message was more clear, or better yet if all the dependencies were checked before the user types in a bunch of information that will be lost on failure.
Desktop (please complete the following information):

OS: Darwin WM36Q4724H 23.6.0 Darwin Kernel Version 23.6.0: Fri Nov 15 15:13:15 PST 2024; root:xnu-10<IP_ADDRESS>2.7~1/RELEASE_ARM64_T6000 arm64

Additional context
Traceback (most recent call last):
  File "/var/folders/xd/xmml7vrs08j8sxz6vlnx23k00000gp/T/tmp5qwyg5xa.py", line 56, in <module>
    main()
    ~~~~^^
  File "/var/folders/xd/xmml7vrs08j8sxz6vlnx23k00000gp/T/tmp5qwyg5xa.py", line 48, in main
    createGithubRepo()
    ~~~~~~~~~~~~~~~~^^
  File "/var/folders/xd/xmml7vrs08j8sxz6vlnx23k00000gp/T/tmp5qwyg5xa.py", line 21, in createGithubRepo
    subprocess.call(gh_cli_command)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 395, in call
    with Popen(*popenargs, **kwargs) as p:
         ~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 1036, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                        pass_fds, cwd, env,
                        ^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
                        gid, gids, uid, umask,
                        ^^^^^^^^^^^^^^^^^^^^^^
                        start_new_session, process_group)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 1966, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'gh'
ERROR: Stopping generation because post_gen_project hook script didn't exit successfully
Hook script failed (exit status: 1)

ah of course, I had not actually logged into gh so it failed after install this way:
To get started with GitHub CLI, please run:  gh auth login
Alternatively, populate the GH_TOKEN environment variable with a GitHub API authentication token.
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
To get started with GitHub CLI, please run:  gh auth login
Alternatively, populate the GH_TOKEN environment variable with a GitHub API authentication token.

it occurs to me that this is a bug for cookiecutter, not repo-scaffolder


Fix : RenderBuffer leak in GLFrameBuffer class

RenderBuffer leak : depth and stencil render buffers are never released.
Destroy any created render buffer. According to openGL specs it's possible to do so without even checking if the buffer has been created
See: #7094
--

this is a very important fix. Is there anything wrong, stopping a merge into GDX master ?

Looking to the original issue, it looks like a misuse of the API, i think it would be better to throw an exception when user add non compatible/duplicate buffers instead.
BTW, you don't have to create an issue and a PR for the same topic, simply a PR is enough.

PR came after issue.
Api can be misused anyway, so this fix is welcome.
No bother, we keep this fix internally. It will not hurt anyone.

on that now with @dar-dev


Issues running ADF script

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az ad sp create-for-rbac
Errors:
400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
cli/core/commands/__init__.py, ln 603, in execute
    raise ex
cli/core/commands/__init__.py, ln 661, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
...
python3.6/site-packages/msrestazure/azure_active_directory.py, ln 486, in get_msi_token
    result.raise_for_status()
python3.6/site-packages/requests/models.py, ln 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: http://localhost:50342/oauth2/token

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az ad sp create-for-rbac --role {} --scope {}

Expected Behavior
Environment Summary
Linux-4.15.0-1060-azure-x86_64-with-debian-stretch-sid
Python 3.6.5
Shell: bash

azure-cli 2.0.74

Additional Context

@jiasli please take a look and comment.

Hi @sinhru , the bad request error may happen if the parameter value is not correctly set, could you please help provide a sample of your command?

This is a known issue of Cloud Shell, please see https://github.com/Azure/azure-cli/issues/11749#issuecomment-570975762 for workaround.


Enums: Breaking changes allowed through Syncronize action and must be prevented!

EXTREMELY URGENT.!!
This is the following error that has been returned during Appsource submission:
The validation process has detected an issue when validating for version 18.0, country: United Kingdom Error encountered for the extension XXX.error : Failed to compile package: src/EnumExtension/SalesDocumentType.EnumExt.al(1,23): error AS0083: The enum value with name 'ABC' and ID '9012345' was found in the previous version of 'EnumExtension SalesDocumentTypeEQ2', but is missing in the current extension. This might break the upgrade of existing installations and dependent extensions.
The Appsource submission has correctly been rejected because certain EnumExtension values have been removed from one version to the next - this is not allowed and yet VS Code has not had any problem with it (which it most definitely should!).
VS Code must pick this up and prevent publishing otherwise this will destroy data and will go unnoticed until failing Appsource submission and for OnPrem sites this could simply delete data without error..!
For other field types this sort of breaking change is of course prevented, I guess (the newer) Enums must have been forgotten?

Hi @eque2al, this is validated by the AppSourceCop analyzer (with AS0083). The AppSourceCop analyzer is not enabled by default as all extensions are not targeting the AppSource marketplace.
Do you have the AppSourceCop enabled as documented here and have your AppSourceCop.json pointing to your baseline extension as documented here?

Yes absolutely, I have always used AppSourceCop and can see other errors and warnings but this one has definitely been missed and allowed publishing in mode 'Synchronize', hence logging it..

So you have enabled AppSourceCop, have specified the baseline extension to use in the AppSourceCop.json, but you do not get the diagnostic AS0083 reported for your enum breaking change?
How does your AppSourceCop.json and your project look like?
Can you provide us with a sample project that reproduces the issue?

Well, actually I just tested it this morning as I wanted there to be no doubt.
To reproduce the issue it is very simple:

Create AppSourceCop.json file as below (changing supportedCountries as desired and 'AWC' to your own suffix):

{
"supportedCountries": ["GB"],
"mandatorySuffix": "AWC"
}

Create settings.json file as below:

{
"al.enableCodeAnalysis": true,
"al.codeAnalyzers": [
"${AppSourceCop}"
]
}

Create an EnumExtension file within a new project as below:

enumextension 50001 CommentLineTableNameAWC extends "Comment Line Table Name"
{
value(50000; "Custom Header")
{
Caption = 'Custom Header';
}
value(50001; "Custom Line")
{
Caption = 'Custom Line';
}
}

Publish the App (F5) to your local sandbox.
Close VS Code and reopen it.
Delete the EnumExtension value 50001; "Custom Line".
Publish the App (F5) again.

The app is published without error!
This is not acceptable as it should be prevented, just as it is with other breaking changes.  We can't rely on a manual process to pick this up so you must assume that this problem will cause you more failed AppSource submissions, something neither of us has the time for.!
So, I really do appreciate this being fixed ASAP.  Thank you!

Your AppSourceCop configuration does not specify the baseline to validate breaking changes against, which is why the rule is not reported.
See: https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/analyzers/appsourcecop#configuration

Thank you very much for the prompt reply, I'll get that checked - if that's all it is then I'm very happy!!


Doesn't work

v1.0.3 - Unable to render mermaid diagrams without having the @mermaid-js/mermaid-cli installed into the projects node_modules folder and running the command from project root.
Should render mermaid diagrams for all *.mmd files recursively contained in the current directory where the command is run.

Resolved in @2.0.0


Add REVOKE and GRANT statements

Type of Change

[X] Bug fix (non-breaking change, fixes #2643)
[X] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
1 Add the T-SQL statements to Grant and Revoke the permissions.
2 Return permissions for User Defined Data Types
Approach
Alter the T-SQL statements that gather the permissions.
Since the permissions are not objects, there is no script method for them. By supplying the statements as output we work around this problem.

The Grant and Revoke statements are not constructed correctly 100% of the time.
I have some issues with 'sysrowsets' for example.
Still searching for the correct syntax.

@rickloveslamp can you test this, please?

Awesome, thanks @PowerDBAKlaas - @gbargsley if you have time, would also appreciate a review
Klaas, is this something you'd be able to test using Pester?

@potatoqualitee this can probably be tested with Pester, but I'll need some time to figure that out.
I just notice the -IncludeServerLevel switch seems to be broken. Can this be because of the $server.query and $db.executewithresults?

I get the same output if I use -IncludeServerLevel param or not.  Should show all the sys level views by default?

I think $server.Query() doesn't return anything.
The query pasted in SSMS does.
@potatoqualitee ? @FriedrichWeinmann ?

hey @PowerDBAKlaas - only .Query is needed, fred took care of the .Tables.Rows
so $server.Query($ServPermsql).Tables.Rows should just be $server.Query($ServPermsql)

thanks so much, @gbargsley !

I found -NoSystemObjects this time around.  Is this what you are expecting out of the -IncludeServerLevel param?

Yes @gbargsley , now it looks good.
Beware though that by using Format-Table -AutoSize some properties are cut off.
This brings us to another question: should we treat fixed server roles as system objects? Or create another switch -IncludeFixedRoles? @wsmelton ?

@PowerDBAKlaas understood.  Just trying to get the data on the screen so I could send a usable screenshot.

bonmerci 🍟 !


Weird behavior with double switch

Version
Build/Run method

[x] Docker
[ ] PKG
[ ] Manually built (git clone - npm install - npm run build )

Zwave2Mqtt version: 3.1.0
Openzwave Version: 1.6.0
Describe the bug
I have a Fibaro Double Switch in my Z-wave network. I have configured MQTT in Home Assistant without discovery, and all of my devices are working well, except for the double switch. I am seeing this behavior:

When I turn on the switch in Home Assistant, the switch is turned on in Zwave2Mqtt and the state is updated properly in Home Assistant;
When I turn off the switch in Home Assistant, the switch is not turned off in Zwave2Mqtt and the state is not updated properly in Home Assistant.
When I turn on the switch in Zwave2Mqtt, the switch is turned on and the state is updated properly in Home Assistant;
When I turn off the switch in Zwave2Mqtt, the switch is turned off and the state is updated properly in Home Assistant;

And now the really strange part: when I enable Home Assistant Discovery on a random topic (something other than configured in Home Assistant as discovery topic) and I do the same as above, this is the result:

When I turn on the switch in Home Assistant, the switch is turned on in Zwave2Mqtt and the state is updated properly in Home Assistant;
When I turn off the switch in Home Assistant, the switch is correctly turned off in Zwave2Mqtt and the state is ** correctly** updated properly in Home Assistant.
When I turn on the switch in Zwave2Mqtt, the switch is turned on and the state is updated properly in Home Assistant;
When I turn off the switch in Zwave2Mqtt, the switch is turned off and the state is updated properly in Home Assistant;

Is it possible that the parsing of the commands from Home Assistant is working different when discovery is turned on? Even though I never use the discovered entities?
This is the configuration of the switch in Home Assistant:
- platform: mqtt
  name: bathroom_fan
  state_topic: "zwave/bathroom/double_switch/37/2/0"
  command_topic: "zwave/bathroom/double_switch/37/2/0/set"
  value_template: "{{ value_json.value }}"
  payload_on: true
  payload_off: false

Maybe something is wrong with my configuration, but that doesn't explain the behavior described above.
To Reproduce
Steps to reproduce the behavior:
See description above.
Expected behavior
I don't need to enable discovery to update the switch properly, it should work exactly the same with or without discovery enabled.
Additional context

@Phontana try to use payload_on: 'true' and payload_off: 'false'

@robertsLando I disabled Hass Discovery and tested with those. When using payload_on: 'true' and payload_off: 'false', the switch does update on the Zwave2Mqtt part, but the state in Home Assistant isn't updated. So this makes it even worse compared to using payload_on: true and payload_off: false.
I also tried payload_on: 'True' and payload_off: 'False' and in that case, I get the same behavior as described in the first post.
So turning on the switch from Home Assistant does work, a message containing True is posted om the command_topic, the state is updated correctly, but when turning it off from Home Assistant, False is posted to the command_topic but Zwave2Mqtt doesn't seem to be able to parse it. The only thing I see on the state topic is an update of the "lastUpdate" field in the JSON message.

@Phontana check what z2m sends to that topic and then work on hass configuration, I don't see any issue with z2m here but just hass that isn't transltaing the value that comes from mqtt correctly. Try also to use a command template, what message is hass sending when you press the switch?

@robertsLando I disabled Hass Discovery and tested some things. I see the following:

On the command topic (zwave/bathroom/double_switch/37/2/0/set) the message True is sent (no JSON, just plain text). The z2m logs shows this as a result:

z2m:Mqtt Message received on zwave/bathroom/double_switch/37/2/0/set +22s
z2m:Zwave zwave node 35: changed: 37-2-0:Instance 2: Switch:false -> true +3s

On the state topic (zwave/bathroom/double_switch/37/2/0), the value property is updated properly and this is reflected in Home Assistant.

On the command topic (zwave/bathroom/double_switch/37/2/0/set) the message False is sent when the switch is turned off (again, no JSON, just plain text). The z2m logs shows this as a result:

z2m:Mqtt Message received on zwave/bathroom/double_switch/37/2/0/set +2s
z2m:Zwave zwave node 35: changed: 37-2-0:Instance 2: Switch:true -> true +2s

On the state topic (zwave/bathroom/double_switch/37/2/0), the value property is not updated at all and therefore the switch remains turned on.

By mentioning the command_template, you put me on the right track. Although the MQTT switch doesn't have the command_template option, it does have payload_on, payload_off, state_on en state_off.
I updated my configuration to the code below and now it is working as expected.
- platform: mqtt
  name: bathroom_fan
  state_topic: "zwave/bathroom/double_switch/37/2/0"
  command_topic: "zwave/bathroom/double_switch/37/2/0/set"
  value_template: "{{ value_json.value }}"
  payload_on: '{ "value" : true }'
  payload_off: '{ "value" : false }'
  state_on: true
  state_off: false

Thank you for your help, it is much appreciated.


Feature/6205 charts configure isolated value on load

I demoed this for Bill.
COLOR CODE BY CATEGORY is not supported yet.
After I pulled in the test branch, the editor panel width broke so I made a CSS adjustment which is outside the scope of this ticket.

@adamdoe

@joshlacey the useEffect hooks have been replaced.


Changelog update

Current dependencies on/for this PR:

main

PR #138   👈

This comment was auto-generated by Graphite.


fix(server-sidebar): add serviceName as item id

Add serviceName as item id
Related
DTRUN-3377

@marie-j Shouldn't target master branch instead?


Add awakeninghelp command

Resolves #324. Relates to #326 and #914.
Shows each of a monster's awakenings with an emoji and a description. The description is long if this is the first appearance of the awakening in its group (normal or super), otherwise the description refers back to the first appearance of the awakening.

[p]awakeninghelp, aliased to [p]awakehelp, [p]awakeningshelp, [p]awohelp, and [p]awokenhelp


Support FP16 calculation

Hi!
Does Deep Speech support calculations using FP16 ?
We are interested in this problem, because Nvidia v100 shows more TFLOPS with FP16 than FP32.
Thanks.

Because the V2 API in PaddlePaddle we use doesn't support FP16, so we don't have the plan yet


Add menu_height method to PickList and ComboBox widgets.

Add menu_height method to PickList and ComboBox widgets.
This is particularly useful to reduce the menu height in presence of a long list of options.

Before

After

Shouldn't we call it menu_length instead of height ?

Shouldn't we call it menu_length instead of height ?

I don't think so... iced always refers to vertical lengths as "height" and to horizontal lengths as "width".


Speech Service reset for every 30 sec

We have an application where we want to be in continuous listen for voice/speech. But as per the sample voice recorder has tor set for every 30 seconds.
Is there a limitation on VoiceRecorder that it has to reset on certain time?, we want to have continuous voice recorder without reset?
As a work around we we are reseting the resetting the service but we are getting lag in recognition.

 mRequestObserver.onNext(StreamingRecognizeRequest.newBuilder()                 .setStreamingConfig(StreamingRecognitionConfig.newBuilder()                         .setConfig(RecognitionConfig.newBuilder()                                 .setLanguageCode(getDefaultLanguageCode())                                 .setEncoding(RecognitionConfig.AudioEncoding.LINEAR16)                                 .setSampleRateHertz(sampleRate)                                 .build())                         .setInterimResults(true)                         .setSingleUtterance(false) // set this to false.                         .build())                 .build());
On the startRecognizing function.
The key is setSingleUtterance  to false


Fix typo in batch normalization documentation

Can one of the admins verify this patch?

Can one of the admins verify this patch?


[tests] Create test utility to redirect output

Recently some contributors have been confused by the fact that some tests print output to standard output and/or standard error, so they thought tests failed when tests are passing.
Let's use two context managers from the standard library to create two decorators that we'll use to decorate the test methods which produce output, the context managers are:

contextlib.redirect_stdout
contextlib.redirect_stdout

It should be possible to decorate test methods like the following:
import sys
from openwisp_utils.tests import redirect_stdout, redirect_stderr, redirect_any_output

@redirect_stdout
def test_something_out(self):
    print('this test prints output')

@redirect_stderr
def test_something_err(self):
    print('this test prints some error', file=sys.stderr)

@redirect_any_output
def test_something_out(self):
    print('this test prints output')
    print('this test prints some error', file=sys.stderr)

Sometimes we also need to check the output, so we need a way to access it, eg:
@redirect_stdout(io.StringIO())
def test_something_out(self, output):
    action_generating_output()  # pseudocode
    self.assertIn('expected output', output.getvalue())

@redirect_any_output(stdout=io.StringIO(), stderr=io.StringIO())
def test_something_out(self, stdout, stderr):
    action_generating_output()  # pseudocode
    self.assertIn('expected stdout', stdout.getvalue())
    self.assertIn('expected stderr', stderr.getvalue())

Here's a sample decorator which does not use the context managers above but which may adapted to do so: https://gist.github.com/jasonbartz/8480004
As a last step, use this decorator to silence the output of some tests in this module.
As usual, tests and (brief) docs are needed as well.

I will look into this issue

@nemesisdesign please check if this can work
https://github.com/devkapilbansal/openwisp-utils/commit/56d60be1a7466507599294a3897bb35beb301d16
I don't think that we need context managers for it


Migrate image release destination registry to Azure Container Registry

As the write access to microsoft org in DockerHub was revoked, we are migrating to a public ACR instance.
This PR should hold on until ACR team makes our new ACR public.

Overall, this looks really sensible. I made a few small comments, but overall 👍

This looks great!