pipectl delete command

What this PR does / why we need it:
Add the ability to remove applications from the command line tool.
Which issue(s) this PR fixes:
Fixes #3809
Does this PR introduce a user-facing change?:

Add pipectl delete application subcommand.

/cla sign

I'm sorry.
I hit the update branch button by mistake.


pipewire: 0.3.15 -> 0.3.16

Changes: https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/09d373f094f0e6797aef3d97cde2c0167dccc986
Follow-up on #104504. Feel free to open a replacement PR if someone ends up finishing work on this while I'm asleep. (@primeos)
Not sure if we want to deal with coexistence actual pulseaudio and pipewire.pulse-server in the nixos module at all, feel free to remove that bit if the consensus is no.
Bluetooth would be nice to have a setting for since it is off by default due to conflicts with pulseaudio, but that can be done separately if it takes too much time to figure out now. I'm not familiar with modifying applications' config files from within nix.
Motivation for this change
Upstream update that should fix a lot of the current pulseaudio woes by throwing out the libpulseaudio shim and instead providing a module that acts as a fake pulseaudio server.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)

Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"

[ ] Tested execution of all binary files (usually in ./result/bin/)

[ ] Determined the impact on package closure size (by running nix path-info -S before and after)

[ ] Ensured that relevant documentation is up to date

[x] Fits CONTRIBUTING.md.

Removed bluetooth option for now to make this mergeable sooner.

The path to the pulse server needs to be patched at least here:
https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/7ca8491be3a730cba61ea0578b654a83bcdd552c/src/daemon/systemd/user/meson.build#L9

There is also another path in
https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/7ca8491be3a730cba61ea0578b654a83bcdd552c/src/daemon/meson.build#L21
but if I am not missing something, that is only used in a comment in the config file:
https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/7ca8491be3a730cba61ea0578b654a83bcdd552c/src/daemon/pipewire.conf.in
and would cause a dependency cycle if corrected. We might need to watch monitor it in case it gets used somewhere else in the future.

The path to the pulse server needs to be patched at least here

What's the preferred way to generate patches for nixpkgs?

but if I am not missing something, that is only used in a comment in the config file

Yeah that is only for when one wants to launch pipewire with the pulse bridge loaded automatically. The comment even mentions that loading the pulse bridge with a systemd service is preferred. And that's this PR is doing now, assuming I got it right.

What's the preferred way to generate patches for nixpkgs?

I just clone the repo, change something and then do git diff > foo.patch. Others prefer using quilt but I haven’t figured that out yet.

Hmm, the pulse server does not seem to work for me in a VM.
On startup:
Nov 25 22:48:15 nixos pipewire-media-session[1146]: could not make thread realtime: No such file or directory
Nov 25 22:48:16 nixos pipewire-pulse[961]: pulse-server 0x5107c0: [GNOME Shell Volume Control] ERROR command:27 (GET_CLIENT_INFO) tag:13 error:5 (No such file or directory)
Nov 25 22:48:16 nixos pipewire-pulse[961]: pulse-server 0x5107c0: [GNOME Shell Volume Control] ERROR command:88 (GET_CARD_INFO) tag:14 error:5 (No such file or directory)

On playing music
Nov 25 22:50:06 nixos pipewire-pulse[961]: Failed to mlock memory 0x7fd93c124000 32832: This is not a problem but for best performance, consider increasing RLIMIT_MEMLOCK
Nov 25 22:50:06 nixos pipewire[1124]: (alsa_output.pci-0000:00:09.0.analog-stereo-38) XRun! count:1 time:131709585 delay:76551 max:76551
Nov 25 22:50:07 nixos pipewire-pulse[961]: pulse-server 0x580030: [Music] ERROR command:14 (GET_PLAYBACK_LATENCY) tag:22 error:5 (No such file or directory)
Nov 25 22:50:07 nixos pipewire[1124]: alsa-pcm 0x9a1988: snd_pcm_avail after recover: Broken pipe
Nov 25 22:50:07 nixos pipewire-pulse[961]: core 0x591060: proxy 0x591060 id:0: bound:-1 seq:146 res:-22 (Invalid argument) msg:"unknown resource 30 op:2"
Nov 25 22:50:07 nixos pipewire-pulse[961]: core 0x591060: proxy 0x591060 id:0: bound:-1 seq:148 res:-22 (Invalid argument) msg:"unknown resource 30 op:2"
Nov 25 22:50:07 nixos pipewire-pulse[961]: core 0x5134a0: proxy 0x5134a0 id:0: bound:-1 seq:130 res:-22 (Invalid argument) msg:"unknown resource 29 op:2"
Nov 25 22:50:07 nixos pipewire-pulse[961]: core 0x5134a0: proxy 0x5134a0 id:0: bound:-1 seq:132 res:-22 (Invalid argument) msg:"unknown resource 29 op:2"
Nov 25 22:50:07 nixos pipewire-media-session[1146]: core 0x157b600: proxy 0x157b600 id:0: bound:-1 seq:238 res:-22 (Invalid argument) msg:"unknown resource 51 op:2"
Nov 25 22:50:07 nixos pipewire-media-session[1146]: error id:0 seq:238 res:-22 (Invalid argument): unknown resource 51 op:2
Nov 25 22:50:07 nixos pipewire-media-session[1146]: core 0x157b600: proxy 0x157b600 id:0: bound:-1 seq:240 res:-22 (Invalid argument) msg:"unknown resource 51 op:2"
Nov 25 22:50:07 nixos pipewire-media-session[1146]: error id:0 seq:240 res:-22 (Invalid argument): unknown resource 51 op:2
Nov 25 22:50:07 nixos pipewire-pulse[961]: core 0x53c590: proxy 0x53c590 id:0: bound:-1 seq:122 res:-22 (Invalid argument) msg:"unknown resource 29 op:2"
Nov 25 22:50:07 nixos pipewire-pulse[961]: core 0x53c590: proxy 0x53c590 id:0: bound:-1 seq:124 res:-22 (Invalid argument) msg:"unknown resource 29 op:2"
Nov 25 22:50:07 nixos pipewire-pulse[961]: pulse-server 0x5398b0: [GNOME Volume Control Media Keys] ERROR command:29 (GET_SINK_INPUT_INFO) tag:20 error:5 (No such file or directory)
Nov 25 22:50:07 nixos pipewire[1124]: alsa-pcm 0x9a1988: snd_pcm_avail after recover: Broken pipe
Nov 25 22:50:07 nixos pipewire[1124]: 3 events suppressed
Nov 25 22:50:07 nixos pipewire[1124]: (alsa_output.pci-0000:00:09.0.analog-stereo-38) XRun! count:5 time:132283432 delay:8622 max:303724
Nov 25 22:50:07 nixos pipewire[1124]: alsa-pcm 0x9a1988: snd_pcm_avail after recover: Broken pipe
Nov 25 22:50:07 nixos pipewire[1124]: alsa-pcm 0x9a1988: snd_pcm_avail after recover: Broken pipe
Nov 25 22:50:08 nixos pipewire[1124]: alsa-pcm 0x9a1988: snd_pcm_avail after recover: Broken pipe
Nov 25 22:50:08 nixos pipewire[1124]: alsa-pcm 0x9a1988: snd_pcm_avail after recover: Broken pipe
Nov 25 22:50:09 nixos pipewire[1124]: alsa-pcm 0x9a1988: snd_pcm_avail after recover: Broken pipe
Nov 25 22:50:09 nixos pipewire[1124]: alsa-pcm 0x9a1988: snd_pcm_avail after recover: Broken pipe
Nov 25 22:50:09 nixos pipewire[1124]: 21 events suppressed

VM config
I ran the following command nixos-rebuild build-vm -I nixpkgs=$HOME/Projects/nixpkgs -I nixos-config=pipewire-pulse.nix:
{ pkgs, config, ... }: {
  environment.systemPackages = with pkgs; [
    gdb
    binutils # readelf
    file
    htop
    less
    git
    rr
    valgrind
    dfeet
  ];
  environment.enableDebugInfo = true;
  services.xserver = {
    enable = true;
    layout = "cz";
    xkbVariant = "qwerty";

    displayManager.gdm.enable = true;
    displayManager.autoLogin.enable = true;
    displayManager.autoLogin.user = "jtojnar";

    desktopManager.xterm.enable = false;
    desktopManager.gnome3.enable = true;
  };

  services.openssh.enable = true;
  hardware.pulseaudio.enable = false;
  services.pipewire.pulse.enable = true;

  users.extraUsers.jtojnar = {
    isNormalUser = true;
    uid = 1000;
    extraGroups = [ "wheel" "networkmanager" ];
    password = "";
    openssh.authorizedKeys.keys = ["ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYbOlZydfRRCGCT08wdtPcpfSrgxMc6weDx3NcWrnMpVgxnMs3HozzkaS/hbcZUocn7XbCOyaxEd1O8Fuaw4JXpUBcMetpPXkQC+bZHQ3YsZZyzVgCXFPRF88QQj0nR7YVE1AeAifjk3TCODstTxit868V1639/TVIi5y5fC0/VbYG2Lt4AadNH67bRv8YiO3iTsHQoZPKD1nxA7yANHCuw38bGTHRhsxeVD+72ThbsYSZeA9dBrzACpEdnwyXclaoyIOnKdN224tu4+4ytgH/vH/uoUfL8SmzzIDvwZ4Ba2yHhZHs5iwsVjTvLe7jjE6I1u8qY7X8ofnanfNcsmz/ jtojnar@kaiser"];
  };

  virtualisation.qemu.options = [ "-device intel-hda -device hda-duplex" ];
  virtualisation.memorySize = 2048;
  virtualisation.diskSize = 8048;
}

Also had to add LD_LIBRARY_PATH=/nix/store/pqxym29swx6ydfql9ypnqcdlbck3dby8-alsa-plugins-1.2.2/lib/alsa-lib but that might be Ubuntu specific.

it works fine for me on my computer fwiw, i've been using it with little issue for a few days.

Guess we can merge it then.

Rebuilt my system into this with all compat layers enabled (alsa, jack, pulse) and so far everything is working great except telegram-desktop which complains about timeouts when connecting to pulse streams.

Let's just merge this, we can deal with telegram later.
On Wed, Nov 25, 2020 at 14:43, jansol<EMAIL_ADDRESS>wrote:

Rebuilt my system into this with all compat layers enabled (alsa,
jack, pulse) and so far everything is working great except
telegram-desktop which complains about timeouts when connecting to
pulse streams.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub, or unsubscribe.

Telegram hits a known bug in 0.3.16, fixed in 0.3.17: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/407


Resiliency Policy Error Code Retries

Based on:

Issue: https://github.com/dapr/dapr/issues/6683
Ongoing PR: https://github.com/dapr/dapr/pull/7132

+1 binding

+1 binding

+1 binding


FR: Automatically dismiss ion-select on selecting an item

Ionic version:  (check one with "x")
[ ] 1.x (For Ionic 1.x issues, please use https://github.com/ionic-team/ionic-v1)
[ ] 2.x
[x] 3.x
I'm submitting a ...  (check one with "x")
[ ] bug report
[x] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
At the moment, when you use an ion-select, you tap on it, tap the option and tap "OK" to dismiss and confirm the selected the ion-option.
Expected behavior:
It would be great to have a config option (something like dismissOnSelect (boolean)) which triggers the OK button automatically and dismisses the pop-up, firing the ionSelect with the newly tapped value.
Steps to reproduce:
N/A
Related code:
<ion-select [dismissOnSelect]="true">
  <ion-option value="1">1</ion-option>
  <ion-option value="2">2</ion-option>
  <ion-option value="3">3</ion-option>
</ion-select>

Other information:
N/A
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
N/A

I am aware of the ActionSheet interface, but that's not ideal in all circumstances. 😃

Hello! Thanks for the feature request. I'm going to move this issue over to our internal list of feature requests for evaluation. We are continually prioritizing all requests that we receive with outstanding issues. We are extremely grateful for your feedback, but it may not always be our next priority. I'll copy the issue back to this repository when we have begun implementation. Thanks!

This issue was moved to ionic-team/ionic-feature-requests#274

Awesome - thanks @jgw96. 😄


BUG? Gravity messages to send GRAIN to ETH are still being sent

What is happening?
Since this fix https://github.com/palomachain/pigeon/pull/316 we see less transactions on OP, but still several a day.
It is possible that we just see less occurrences since some pigeons are out of gas money though. Here are some logs from birdlady
Oct 31 18:23:03 testnet-birdlady pigeon[1785574]: {"chain-reference-id":"op-main","component":"gravity-relay-batch","error":"insufficient funds for gas * price + value: balance<PHONE_NUMBER>2588, tx cost<PHONE_NUMBER>86674, overshot<PHONE_NUMBER>14086","gravity-batch-nonce":3881,"level":"error","msg":"failed to relay batch","time":"2023-10-31T18:23:03Z","x-correlation-id":"cl0kc1ml8otch3gnn4m0"}
Oct 31 18:23:03 testnet-birdlady pigeon[1785574]: {"batch-nonce":3881,"chainReferenceID":"op-main","error":"original error: insufficient funds for gas * price + value: balance<PHONE_NUMBER>2588, tx cost<PHONE_NUMBER>86674, overshot<PHONE_NUMBER>14086\nenriched fields:\nmessage id[uint64] = 0xf29\n","level":"error","msg":"relay error","time":"2023-10-31T18:23:03Z","x-correlation-id":"cl0kc1ml8otch3gnn4m0"}
Oct 31 18:23:03 testnet-birdlady pigeon[1785574]: {"action":"relay-gravity-batches","batch-nonces":[3881],"chain-reference-id":"op-main","error":"there are 1 errors in the group:\nerror  1: original error: insufficient funds for gas * price + value: balance<PHONE_NUMBER>2588, tx cost<PHONE_NUMBER>86674, overshot<PHONE_NUMBER>14086\nenriched fields:\nmessage id[uint64] = 0xf29\n\n","level":"error","msg":"error relaying batches","time":"2023-10-31T18:23:03Z","x-correlation-id":"cl0kc1ml8otch3gnn4m0"}
Oct 31 18:23:03 testnet-birdlady pigeon[1785574]: {"component":"procmon","level":"debug","msg":"Process executed","process":"[Gravity] Relay batches","time":"2023-10-31T18:23:03Z","x-correlation-id":"cl0kc1ml8otch3gnn4m0"}

What is the expected behaviour?

[ ] We need a way to stop them asap (via cli or via this? https://github.com/VolumeFi/paloma/issues/895)
[ ] this message should not be sent more than once

This makes sense. Pigeons only check for the past 1000 blocks on the target chain. Once the chain has moved on more than 1000 blocks since the last relay, Pigeons will attempt to relay again.
The only way to combat this is by tackling https://github.com/VolumeFi/paloma/issues/895 .


Add a launch.json to enable vscode debugging

Not sure if you want this or if you even VSCode but I have had this file around for a bit and decided to go ahead and commit it in case you wanted it. :)

Oh yeah, I use VSCode myself, so it's a nice addition.  Thanks!


LCFS - Deployment - Setup ClamAV and S3 buckets

ClamAV deployed in Tools namespace ready for use
Three S3 Bucket created in Dell ECS, one for dev, test and prod
Provide the connection details for both ClamAV and Dell ECS

@dhaselhan We have the S3 buckets created on Object Stored which managed by our mid-tier team.
Five argument will be provided for S3 connection:
ACCESS_KEY_ID, SECRET_ACCESS_KEY, ENDPOIN, BUCKET and DOCS_PATH
Two ClamAV arguments:
CLAMAV_HOST and CLAMAV_PORT
You can name the variables and they will be provided as environment variables for backend

@dhaselhan
The following environment variables have been added to backend.

name: S3_BUCKET
valueFrom:
secretKeyRef:
name: lcfs-object-storage-dev
key: BUCKET
name: S3_USER_ID
valueFrom:
secretKeyRef:
name: lcfs-object-storage-dev
key: USER_ID
name: S3_KEY
valueFrom:
secretKeyRef:
name: lcfs-object-storage-dev
key: KEY
name: S3_ENDPOINT
valueFrom:
secretKeyRef:
name: lcfs-object-storage-dev
key: ENDPOINT
name: S3_DOCS_PATH
value: lcfs-docs
name: CLAMAV_HOST
value: lcfs-clamav-dev.d2bd59-dev.svc.cluster.local
name: CLAMAV_PORT
value: 3310

The dev build should work. But the pr build doesn't until I can spin up a saperate minio instance for each pr as I don't want to store the docs for pr testing on object storage.

The pr build is fixed. A minio instance will be spinning up for each pr build and acts as S3 storage.


I added the source code in c++

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

This is poorly formatted, see our style guide for formatting tips. For now, I am closing this. Thanks and happy coding!


When I use md-grid-list, mouse scrolling is not work in my web page!

Version info
Angular: 4.0.2
@angular/material: 2.0.0-beta.3
Using Web Platform : Chrome
<md-grid-list cols="3">
    <md-grid-tile *ngFor="let item of items | async">

        <md-card class="example-card">
            <md-card-header>
              <!-- head contents -->
            </md-card-header>

            <md-card-content>
              <img md-card-image class="card-image" src="../assets/images/gimbap.jpg" src-fallback="{{fallback}}">
              <md-card-title>{{item.pName}}</md-card-title>
              <md-card-subtitle>Dog Breed</md-card-subtitle>
            </md-card-content>

            <md-card-actions>
              <button md-button>예약하기</button>
              <button md-button>바로구매</button>
            </md-card-actions>
        </md-card>

    </md-grid-tile>
</md-grid-list>

When I use ng2-for option in md-grid-list, my mouse scrolling is doesn't work..
Have some problem in my code?

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.


HDDS-6104. Update log4j version to 2.16.0 version.

What changes were proposed in this pull request?
Update log4j version to 2.16.0.
https://lists.apache.org/thread/d6v4r6nosxysyq9rvnr779336yf0woz4
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6104
How was this patch tested?
Log version only change, exisiting tests

Thank You @mukul1987 for the review.


[msal-common] Enable "-strict" in tsconfig for msal-common

@tnorling We may want to retest ClientCapabilities after this PR. If E2E exists, great, else let us know, will alert you.

This PR is abandoned, we have a new PR addressing this with some design changes made in the request APIs.


Error in battery health dashboard when sum(usable_battery_level) is zero (error divided by zero)

When a sum of values for usable_battery_level is zero for a long period, query error arises with a divided_by_zero and so no battery heath dashboard data is displayed. This is my case.
Aux query should deal with this issue in order to avoid that if you leave your car at zero battery (or below) for a period of time, query crashes.

Failing query
WITH aux	AS ( 	SELECT cp.charge_energy_added, 		cp.car_id, (SELECT efficiency FROM cars WHERE id = $car_id) * 100.0 AS rated_efficiency, 		(cp.end_rated_range_km - cp.start_rated_range_km) AS added_range_km 	FROM charging_processes cp 		JOIN (SELECT charging_process_id, MAX(date) as date 		FROM charges 		GROUP BY charging_process_id) AS last_charges 		ON cp.id = last_charges.charging_process_id 		INNER JOIN charges c 		ON c.charging_process_id = cp.id AND c.date = last_charges.date 	WHERE cp.car_id = $car_id 		AND cp.end_date IS NOT NULL 		AND cp.end_rated_range_km > cp.start_rated_range_km 	ORDER BY cp.end_date DESC  	LIMIT 1 ),   CurrentCapacity	 AS ( 	SELECT AVG(Capacity) AS CurrentCapacity FROM   (SELECT (100.0 * cp.charge_energy_added) / (GREATEST(1,MAX(usable_battery_level) - MIN(usable_battery_level))) AS Capacity	     FROM charging_processes cp 	  INNER JOIN charges c	ON cp.id = c.charging_process_id     INNER JOIN aux ON cp.car_id = aux.car_id 	  WHERE cp.car_id = $car_id AND cp.charge_energy_added >= aux.rated_efficiency      GROUP BY  cp.charge_energy_added, cp.end_date     ORDER BY cp.end_date DESC      LIMIT 5   ) AS lastEstimatedCapacity ),  MaxCapacity AS (    SELECT AVG(c.rated_battery_range_km * aux.rated_efficiency  / c.usable_battery_level) AS MaxCapacity, cp.id    FROM charging_processes cp 	JOIN (SELECT charging_process_id, MAX(date) as date FROM charges                      WHERE usable_battery_level > 0 GROUP BY charging_process_id) AS last_charges	         ON cp.id = last_charges.charging_process_id 	INNER JOIN charges c ON c.charging_process_id = cp.id AND c.date = last_charges.date 	INNER JOIN positions p ON p.id = cp.position_id         INNER JOIN aux ON cp.car_id = aux.car_id 	WHERE cp.car_id = $car_id 		AND cp.end_date IS NOT NULL 		AND cp.charge_energy_added >= aux.rated_efficiency  	GROUP BY cp.id          ORDER BY 1 DESC          LIMIT 1 ),  CurrentRange AS (     SELECT 		floor(extract(epoch from date)/86400)*86400 AS timecurrent, 		sum(rated_battery_range_km) / sum(usable_battery_level) * 100 AS rated_range_km 	FROM ( 		SELECT battery_level, usable_battery_level, date,  rated_battery_range_km from charges c  		JOIN charging_processes p ON p.id = c.charging_process_id  		WHERE p.car_id = $car_id AND usable_battery_level IS NOT NULL) AS data 	GROUP BY 1 	ORDER BY 1 DESC 	LIMIT 1 ),  MaxRange AS (     SELECT 		floor(extract(epoch from date)/86400)*86400 AS time, 		sum(rated_battery_range_km) / sum(usable_battery_level) * 100 AS max_rated_range_km 	FROM ( 		SELECT battery_level, usable_battery_level, date,  rated_battery_range_km from charges c  		JOIN charging_processes p ON p.id = c.charging_process_id  		WHERE p.car_id = $car_id AND usable_battery_level IS NOT NULL) AS data 	GROUP BY 1 	ORDER BY 2 DESC 	LIMIT 1 )  SELECT  CONCAT('{"LastChargekWhAdded": ', aux.charge_energy_added,    ', "LastMileageAdded" : ', convert_km(aux.added_range_km,'$length_unit'),   ', "MaxRange": ', convert_km(MaxRange.max_rated_range_km,'$length_unit'),   ', "CurrentRange": ',convert_km(CurrentRange.rated_range_km,'$length_unit'),   ', "MaxCapacity": ', MaxCapacity.MaxCapacity,   ', "CurrentCapacity": ', CASE WHEN CurrentCapacity.CurrentCapacity IS NULL THEN 1 ELSE CurrentCapacity.CurrentCapacity END,   ', "RatedEfficiency": ',aux.rated_efficiency, '}')  FROM MaxRange, CurrentRange, Aux, MaxCapacity, CurrentCapacity;

Here where query fails, at the sum division - sum(usable_battery_level) could be zero.
MaxRange AS (     SELECT 		floor(extract(epoch from date)/86400)*86400 AS time, 		sum(rated_battery_range_km) / sum(usable_battery_level) * 100 AS max_rated_range_km

Easy fix:
MaxRange AS ( SELECT     floor(extract(epoch from date)/86400)*86400 AS time,     CASE         WHEN sum(usable_battery_level) = 0 THEN sum(rated_battery_range_km) * 100         ELSE sum(rated_battery_range_km) / sum(usable_battery_level) * 100     END AS max_rated_range_km FROM (

Thanks for your feedback, I'll have a look and prepare a Fix.
I'll let you know when it's ready, so you can test it before releasing a new version.

Hi, it's fixed on "develop" branch at https://github.com/jheredianet/Teslamate-CustomGrafanaDashboards/tree/develop
Please, could you test it?


element-web: don't inherit jitsi-meet's knownVulnerabilities

Description of changes
Use jitsi-meet.src rather than jisti-meet so we're not affected by knownVulnerabilities.

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
Result of nixpkgs-review pr 335753 run on x86_64-linux 1

3 packages built:

element-desktop
element-desktop-wayland
element-web (element-web-unwrapped)

The following issues got detected with the above build packages.
Please fix at least the ones listed with your changed packages:

element-desktop-wayland:

Package is missing a meta section.
If the package is using runCommand please make sure to inherit or create a meta section.
An empty (vendor) directory got detected.
If this is a go package try replacing vendorSha256 = "0sjjj9z1dhilhpc8pq4154czrb79z9cm044jvn75kxcjv6v5l2m5";
with vendorSha256 = null;
got build log for '/nix/store/74jh8dcwr486qyn8x306afd7apykwyw1-element-desktop' from 'daemon'
When evaluating attribute ‘element-desktop-wayland’:
warning: unused-argument
Unused argument: paths.
Near pkgs/build-support/trivial-builders/default.nix:475:7:
    |
475 |     , paths
    |       ^

(Do we actually know that the Jitsi VOIP functionality in Element doesn’t use libolm for its E2E?)

I think it depends on the jitsi server.
But right now, vodozemac is mentionned in https://jitsi.org/blog/a-stepping-stone-towards-end-to-end-encryption-on-mobile/ but nothing yet is in https://github.com/search?q=org%3Ajitsi+vodozemac&type=code

Right, okay. I reported the libolm stuff to Jitsi’s security email when I found it in jitsi-meet but I haven’t yet received a reply. I couldn’t find any tracking issue for the server side of things, either. Thanks for the link to the blog post, but I guess nothing has happened in over two years.
I guess since it’s a server‐side thing we can just punt and say it’s not our problem here, but I wonder if the Element security team would like to know their users are still exposed to libolm after all…

I’ve reported this to Element.


show double pdf page in landscape mode

Hi, Is there a possible way to display two pages at landscape mode(side by side)? I am looking for a feature that supports only one page or max two page when user rotates to landscape mode. So any suggests for this?

Yes use two pdfviewers, i do this myself.

@1stmetro Thanks for you response. But the requirement is to display two pages in landscape mode. Not for two PDF file, just one pdf file. For example, a pdf contains 50 pages, I would like to display two pages only in landscape mode. Any good solution? My solution is to change the spacing in PdfFile class. But not sure is it a good solution or not?

@nypzxy did u find any solution for that. I am also looking for it.

did you solved it ? i want to do it too


chore: Enable pre-commit hooks in CI

In addition to changing the argument for pyupgrade, this PR also functions to test pre-commit CI integration.
Closes #6307

I have disabled pre-commit.ci for https://github.com/meltano/meltano. I will re-enable it later when I believe the issues it is currently experiencing have been resolved.

I've disabled PR auto-fixing by default. It can be triggered manually by commenting pre-commit.ci autofix.
The pre-commit checks will fail for this PR because the auto-fixes applied to many files with linter issues, and I do not intend to fix all of those linter issues at this time.

@WillDaSilva is there a way to turn off pre-commit on PRs while this one is in the works. It's auto-fixing: https://github.com/meltano/meltano/pull/6308/commits/e4d4705ea949db5b62d37f3b18235ef9d1920194

@edgarrmondragon Sorry about that. I'll disable it again. It seems to be ready to go now, except it's applying flake8 to the entire repository instead of only the files that have been changed.

@edgarrmondragon Sorry about that. I'll disable it again. It seems to be ready to go now, except it's applying flake8 to the entire repository instead of only the files that have been changed.
EDIT: It has been disabled for the Meltano repository.

@WillDaSilva cool, thanks. I've reverted the commit.

I just accidentally merged pre-commit-ci into origin/main while trying to set origin/HEAD to origin/main. The changes should be harmless, but they were not squashed, and the commit lacks a semantic title. This could be undone, but it's probably safer to just leave it as is rather than try to rewrite the history of the main branch.


LSP ruff messages about logs, but the LspLog in nvim is empty, is there somewhere else to look?

In Neovim when I open a python file in neovim with ruff server configured (in same as in other repo where don't see any error messages) I get this message:
LSP[ruff] Error while resolving settings from workspace /<my_repo>. Please refer to the logs for more details.
However the :LspLog in Neovim is empty. Is there some other log file where I can find more details?
env

neovim 0.10.2
ruff 0.7.0
lsp_config is empty/default:

local lsp = require('lspconfig')
lsp.ruff.setup {}

similar issues:
I found a similar issue where the solution seemed to be to activate notifications in VScode, but this is for another editor that doesn't have the ruff server configuration.

Sorry, I've been meaning to tackle this issue in general soon.
There are similar settings for other editors as well. So, for Neovim you'd do the following which is mentioned as the last snippet on https://docs.astral.sh/ruff/editors/setup/#neovim:
require('lspconfig').ruff.setup {
  trace = 'messages',
  init_options = {
    settings = {
      logLevel = 'debug',
    }
  }
}


Bug?: Styles not being applied to  in Remix

Description
I'm trying to add styling to the <body> tag in a Remix site's app/root.tsx. But they're not being applied. Other components and pages are working. I suspect this is a bug: either that it's not working but should, or not giving an informative error but should?
Link to Reproduction
https://github.com/philly-js-club/philly-js-club-website/tree/0ee0599ef29fa6b013a96989998f277e5345f119
Steps to reproduce

Check out https://github.com/philly-js-club/philly-js-club-website/tree/0ee0599ef29fa6b013a96989998f277e5345f119
pnpm i, pnpm codegen --watch, and pnpm dev
Open localhost:3000
Observe the lack of colors on the body element

Apologies for not using the requested playground or Stackblitz - this wasn't reproducing on either of the suggested links.
JS Framework
Remix (TS)
Panda CSS Version
0.24.0
Browser
n/a
Operating System

[X] macOS
[ ] Windows
[ ] Linux

Additional Information

Hi @JoshuaKGoldberg
Glad to see you exploring Panda 😀.
This is not a bug. I looked at your PR and noticed that you only included “app/routes” and “app/components” in your panda config. Meaning the root.tsx will be skipped by Panda
Maybe switching to app/**/*.ts,tsx might be better?

D'oh, thanks! 100% user error 😄. I'll file a separate issue about dev tooling giving a complaint in this case.


Register commands to avoid deprecations in Symfony >= 3.4

Commands need to be registered or the deprecation notice in Symfony 3.4 will become an error in Symfony 4.0

Thank you, 2.0.3 is out!


Access Context when defaulting fields

Is it possible to access Context when defaulting fields for GraphQLInputObjects? (I don't believe it is...)
I think it would be really useful to support dynamic defaulting of input field values based on the current Context:
struct Context {
    /// The ID of the user making this request, obtained from a JWT.
    current_user: Id,
}

#[derive(serde::Serialize, juniper::GraphQLInputObject)]
struct MessageInput {
    #[graphql(default = "context.current_user")]
    author: Id,

    body: String,
}

This could either be combined with the skip attribute (from #463) or validated elsewhere to ensure that context.current_user has authorization to set the author of a Message to the provided value.
Drawbacks

Not sure how "official" this is and would have to be documented in playground/graphiql etc...

Alternatives

Making the field an Option and then later mutating it/creating a new struct with the default from the Context. I don't like this method because then you have to be careful about exactly when the field will become Some and what sets it.
Using a different struct and using a custom From like trait to fill it in with the field from Context

Not sure I understand this request. This is just so you can use the derive without breaking out into the juniper::object proc macro? What is the advantage over doing something like:
#[juniper::object]
impl Message {
  fn author(&self, context: &Context) -> Id {
    context.current_user
  }
  fn body(&self, _: &Context -> String {
    // ...
  }
}

See https://graphql-rust.github.io/juniper/master/types/objects/complex_fields.html and https://graphql-rust.github.io/juniper/master/types/objects/using_contexts.html

Ahhh. I guess I should have been more explicit—I am proposing adding the ability to derive default values for GraphQLInput objects with access to Context.

Using a different struct and using a custom From like trait to fill it in with the field from Context

IMO this approach is fine. It might also make the code easier to understand.


Resource 'aquasec_integration_registry' does not support integration via Access Delegation

Hi all,
Under Administration > Integrations of the UI, we register ECR registries via access delegation by using a cross account role:

By looking at the documentation, I see no option to provide a role ARN for access delegation and that leads me to believe that this option is not supported by the provider.
Can we please support this option as this is the most secure way to configure access to a ECR registry?
Thank you.

Hi @violiveira,
We are supporting the Access Delegation in registry integration with options {} below is the example.
resource "aquasec_integration_registry" "demoregistry1" {
  name = "terraform-ecr909012"
  type = "AWS"
  options {
    option = "ARNRole"
    value  = "arn:aws:iam::000000000000:role/aqua-AAAAABBBBCCCDDD-EEEEFFFFGGGG"
  }
  auto_pull = true

  url              = "us-east-1"
  auto_pull_rescan = true
  auto_cleanup = false

}

We will make sure to add documentation on this and also will add examples in the next release.


Cannot call method of a (C# class) object when a property of the same name exists

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to the known issues.

Steps to reproduce

Create a class explicitly implementing an interface so that it has a property and a method of the same name.

Add-Type @"
public interface MyInterface
{
    string Turncoat { get; }
}

public class MyClass : MyInterface
{
    string MyInterface.Turncoat { get { return "Property"; } }

    public string Turncoat() { return "Method"; }
}
"@

Create an object of that class and try to call the method

$myObject = [MyClass]::new()
$myObject.Turncoat()

The method is in kind of a limbo-state. $myObject | Get-Member lists it, it can be called via Reflection, but simply calling it like $myObject.TurnCoat() yields an InvalidOperation.
Expected behavior

I expect to be able to call the method

$myObject.Turncoat()

Method

I expect not to be able to access the property (and get the method's info instead)

$myObject.Turncoat

MemberType          : Method
OverloadDefinitions : {string Turncoat()}
TypeNameOfValue     : System.Management.Automation.PSMethod
Value               : string Turncoat()
Name                : Turncoat
IsInstance          : True

Actual behavior

I am not able to call the method

$myObject.Turncoat()

Method invocation failed because [MyClass] does not contain a method named 'Turncoat'.

I am able to access the property

$myObject.Turncoat

Property

Environment data
Name                           Value
----                           -----
PSVersion                      7.1.3
PSEdition                      Core
GitCommitId                    7.1.3
OS                             Linux 5.4.72-microsoft-standard-WSL2 #1 SMP Wed Oct 28 23:40:43 UTC 2020
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals
No response

Vaguely related to #8235.

Note that changing this would be a breaking change.  An example is JProperty from Newtonsoft.Json:
class JProperty
{
    // inherited
    T Value<T>(object key);

    JToken Value { get; set; }
}

Maybe the binder should prioritize methods over explicitly implemented interface properties rather than any property.  Though that would still be breaking change, I can't quickly find an example of an existing API with a realistic use case that would be broken.
Personally I think this comes up infrequently enough that a workaround of $obj.psobject.Methods['MethodName'].Invoke($args) is probably good enough.

That example also wouldn't be as much of a problem if #12412 was merged, since you could specify the type parameter for the method.... at least I think that'd work properly 🤔

That JProperty example also mightn't be as much of a problem if #12412 was merged, since you could specify the type parameter for the method.... at least I think that'd work properly 🤔

Technically it would be possible for the binder to target the method without requiring generic args since the () should be enough to signal intent.
However returning the overload definitions instead of invoking the property getter as requested in the OP is probably a too risky of a change.

Yeah, I'd agree... if we were going to fix this in any way, I would personally prefer that $obj.Name() calls the method and $obj.Property calls the property getter. Overload definitions would be hidden, but all functionality would work as expected otherwise... and overload definitions could still be retrieved via reflection if needed, I think?

and overload definitions could still be retrieved via reflection if needed, I think?

Reflection or just $obj.psobject.Methods['MethodNameHere']

However returning the overload definitions instead of invoking the property getter as requested in the OP is probably a too risky of a change.

It's not that that necessarily want to get the overload definitions instead of invoking the getter. That was just the behavior I expected. I would be totally fine with invoking the getter here.


cant send tx

What happened
`        String pkHex = "0x123";
    OkHttpClient.Builder builder = new OkHttpClient().newBuilder();
    HttpService httpService =new OkHttpService(builder.build());
    JsonRpcProvider provider = new JsonRpcProvider("https://starknet-goerli.infura.io/v3/fe287803f01d4f309a97cb6e07109039", StarknetChainId.TESTNET, httpService);

    Felt recipientAccountAddress = Felt.fromHex("0x0351f105Cd7A6b4DFc23a55ED2f44e7B9124b7871281e568115BCfD8aE60a965");
    Uint256 amount = new Uint256(new Felt(453));

    // Specify the contract address, in this example ETH ERC20 contract is used
    Felt contractAddress = Felt.fromHex("0x049d36570d4e46f48e99674bd3fcc84644ddd6b96f7c741b1562b82f9e004dc7");

    // Create a call
    List<Felt> calldata = List.of(recipientAccountAddress, amount.getLow(), amount.getHigh()); // amount is Uint256 and is represented by two Felt values
    Call call = new Call(contractAddress, "transfer", calldata);

    Felt fromAddress = Felt.fromHex("0x2C84E511e24B1673d71B361E21887e5C275f7647d755092adA18bc5387c201B");
    Felt addressNonce = provider.getNonce(fromAddress).send();
    Felt maxFee = new Felt(new BigInteger("10000000000000"));  // should be 10*fee from estimate deploy account fee
    List<Felt> toCallData = call.getCalldata();
    Felt version = Felt.ONE;

    Felt txHash = TransactionHashCalculator.calculateInvokeTxHash(fromAddress, toCallData, StarknetChainId.TESTNET, version, addressNonce, maxFee);
    System.err.println("txHash="+txHash);
    Curve secp256k1 = Curve.starknetCurve;
    BigInteger bigInteger = new BigInteger(pkHex.substring(2), 16);
    PrivateKey privateKeyStrkNet = new PrivateKey(secp256k1, bigInteger);
    Signature signature = Ecdsa.sign(txHash.hexString(), privateKeyStrkNet);
    List<Felt> signatureResult = List.of(new Felt(signature.r), new Felt(signature.s));

    InvokeTransactionV1 invokeTransactionV1 = TransactionFactory.makeInvokeTransaction(fromAddress,toCallData, StarknetChainId.TESTNET, addressNonce, maxFee, signatureResult, version);
    InvokeTransactionPayload invokeTransactionPayload = invokeTransactionV1.toPayload();

    InvokeFunctionResponse send =  provider.invokeFunction(invokeTransactionPayload).send();
    log.info("result={}",send.getTransactionHash().hexString());`

Stack trace
Exception in thread "main" An unexpected error occured: {"jsonrpc":"2.0","id":0,"error":{"code":63,"message":"An unexpected error occured"}} 	at com.swmansion.starknet.provider.rpc.BuildJsonHttpDeserializerKt.buildJsonHttpDeserializer$lambda-0(BuildJsonHttpDeserializer.kt:50) 	at com.swmansion.starknet.service.http.HttpRequest.send(HttpRequest.kt:20) 	at com.circle.blockchain.account.strk.rpc.NodeProviderTest.main(NodeProviderTest.java:284)
Steps to reproduce

run source code
response error

SDK Version
0.7.2
Language
Java
Language
n/a
Language version
java11
What operating system are you using?
Mac
Is there an existing issue for this?

[X] I have searched the existing issues and verified no issue exits for this problem.

Hello!

First thing first, please avoid exposing RPC node url.
Secondly, it appears to me that JSON-RPC version of that node is 0.3.x. Please note, that starknet.jvm 0.7.2 only supports JSON-RPC 0.4.x. Please try using the node using RPC 0.4.0 and tell me if that helps.
It would be helpful to know what is it you are trying to achieve. You previously mentioned that https://github.com/software-mansion/starknet-jvm#invoking-contract-transfering-eth is working is intended. I see you are trying to do a transfer transaction here as well.
With that, I don't see the reason for manually creating httpService, manually calculating the hash or signature. While at it, it seems you are using Ecsda, which is not part of starknet.jvm.

l lose one step
callData need convert by it
       List<Felt> toCallData = AccountCalldataTransformer.callsToExecuteCalldata(List.of(call), Felt.ZERO);

I assume this issue is now resolved.
If you have any other questions, feel free to reach out!


Wrong first line in csv file

Hi,
I have download the transaction history from the tastytade web page but it doesnt match the expected format.
It is in this format : Date,Type,Action,Symbol,Instrument Type,Description,Value,Quantity,Average Price,Commissions,Fees,Multiplier,Root Symbol,Underlying Symbol,Expiration Date,Strike Price,Call or Put,Order #

Hello ayzakaria,
I've just checked this myself. Seems they have launched a new website and coverted
the history file to this new format.
I want to change the script to this new format, but haven't found time for
this change until now.
best regards,
Florian La Roche

You can still download the old style history by logging into
the old web-page:
https://trade.tastytrade.com/index.html#/transactionHistoryPage

This should allow you to download the old style history data and run my
script on the data. At least a temporary solution...
best regards,
Florian La Roche

After the 1st of February, this is no longer feasible.
the old platform was shut down

I am afraid a lot of things have changed in the new transaction history. I will contact support and ask if there's a way they can provide me last year's history with the old template, but I wouldn't hold my breath

Thank you for your reply.  You can simply export the transaction history from the desktop platform, which did not ever change the format.  In any case, since we deprecated the old web browser platform, we do not have a way to export the old transactions filter.

Needless to say, the desktop platform's output is also different and doesn't work with the script.  I fully understand the work that is involved in maintaining an open source project, though.

The new format should be supported now. Please test and report back.
Closing this issue, please open a new one for updated/new requests.
Thanks a lot,
Florian La Roche

Good news! 🎉


update references

@henrynash i just updated all "disaster resiliency" references in the app to "community cooperation" & made sure everything still worked. also fixed a couple minor typos in the README

LGTM - thanks for this!!


endpoint manager: take read lock while iterating endpoints

We're reading from mgr.eps, we need to take a read lock.
I have no idea how this never triggered the race detector.

/test

eps is a copy.


Add cluster size recommendations for performance and throughput

Purpose of this PR
Add specific cluster size recommendations regards performance and throughput look like
Reason for such a change
We are having lengthy discussions with stakeholders how a proper RabbitMQ cluster topology looks like. Since we assume that it would help our service as well as other RabbitMQ users if RabbitMQ could specific that area in the official RabbitMQ documentation instead of having it indirectly documented via several blog posts or deeper understanding of the cluster architecture.
Why a PR?
This is just a recommendation what we would add. And since it was mentioned in slack that PR > Issue I followed that guideline.
Slack discussion
https://rabbitmq.slack.com/archives/C1EDN83PA/p1630339373040200

Thank you for taking the time to contribute! My discussion with the team suggests we can accept this particular wording. There are aspects in which having double digit nodes would be problematic until we replace the schema data store. In other ways, it can be a valid approach.
We'd really want to avoid blanket recommendations on this very broad topic in general.

@michaelklishin I'm getting confused. You wrote that "team suggests we can accept this particular wording" , but the PR was closed. Do you rather mean that you can't accept the PR?

Yup, it was a typo, sorry. We cannot accept it.


user defined functions in dplyr

The document says "dplyr translates the commands into Spark SQL statements". Does it mean that dplyr in sparkly does not support user defined R functions which are not defined in Spark SQL?
For example, I tried to run this:
tsDF <- tsDF %>%
  mutate(DayNum = as.numeric(factor(DimDateKey)))

and got the error:
Error: org.apache.spark.sql.AnalysisException: undefined function FACTOR; line 2 pos 539

@zhf526 correct. Currently, sparklyr supports dplyr functions with Spark SQL equivalents; however, expanding to support UDFs is something that we are looking forward to implement.
For the code above, you could remove factor and get a base cast from date to numeric. However, I suspect this wouldn't be sufficient. If you want to give us more context on the problem you are solving, we might be able to find an equivalent conversion from date to numeric.

This will be a nice feature! I was looking for something like this:
https://spark.apache.org/docs/latest/sparkr.html#applying-user-defined-function
but with a friendly dplyr interface :)

In the meantime, how can I filter using substring match? This works over an R Data Frame:
iris %>% filter(grepl("ica", Species))
but over a Spark DataFrame:
Error: org.apache.spark.sql.AnalysisException: Undefined function: 'GREPL'. This function is neither a registered temporary function nor a permanent function registered in the database 'default'

@algattik Concerning string matching, you should be able to use locate functions available in Hive:
locate(string substr, string str[, int pos])

as it it's possible to use Hive functions in sparklyr workflow:
aDataFrame %>%
  mutate(clnD = regexp_replace(d, "-", "")) %>%
  # ...

and then filter by obtained integers.
As discussed on SO.

similar question.
Instead of using the basic aggregating functions, I would like to use median.
Then I get an error
Error: org.apache.spark.sql.AnalysisException: Undefined function: 'MEDIAN'. This function is neither a registered temporary function nor a permanent function registered in the database 'default'.;

percentile is a function in Spark SQL that you might be able to use for this purpose. If confirmed, it would then be an exercise in the SQL translation within sparklyr to translate median to percentile(x,0.5).

It might make sense to add median to the aggregate functions around here: https://github.com/rstudio/sparklyr/blob/e4f63a495d1f589f5366114721f0478cec423c1e/R/dplyr_spark_connection.R#L97-L106 to do this translation automagically.

It's possible to use quantile, median and work with dates inside the dplyr::mutate().  For example:
library(sparklyr)

sc <- spark_connect(master = "local")
iris_tbl <- sc %>%
  sdf_copy_to(iris, "iris_tbl", memory = FALSE)

iris %>%
  group_by(Species) %>%
  summarise(Q1 = quantile(Petal.Length, 0.25))

It's also possible to run UDF's with sparklyr::spark_apply(). You can see examples here.
Feel free to open a new GitHub issue if you disagree with this resolution, thanks for your feedback


bug(material/schematics): Cannot find module '@angular-devkit/core/src/workspace/json/reader'

Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
16.0.3
Description
It appears that the release of 16.1 has resurrected the behavior @Splaktar reported in #21045.  The other bug was locked, so I wasn't able to reply there.  It seemed the suggestion from @alan-agius4 was to install @angular-devkit/core in order to ensure you have the right version, but we're already doing that, and it's still presenting.  This all worked well in 16.0.3.  Looking at my yarn.lock there's only the one version of @angular-devkit/core installed.  Additionally, using any of the functions from @angular/cdk/schematics fail with a similar error.
Reproduction
ng generate @angular/material:mdc-migration
Expected Behavior
Migration completes successfully
Actual Behavior
When running the migration from the cli
Error: Cannot find module '@angular-devkit/core/src/workspace/json/reader' from<EMAIL_ADDRESS>
Require stack:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
When using any functions from @angular/cdk/schematics
 Cannot find module '@angular-devkit/core/src/workspace/json/reader' from<EMAIL_ADDRESS>
    Require stack:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>      schematics/ng-add/index.spec.ts

Environment

Angular: 16.0.3
CDK/Material: 16.1.1
Angular CLI: 16.1.1

As I understand, for the other thread, a contributing factor to this is that these libraries aren't exhaustively declaring their peer dependencies, so-as not to force users to install stuff they're potentially not using.  Would declaring them, but marking them as  peerDependenciesMeta.optional, help with that concern?

This is a different problem and unrelated to https://github.com/angular/components/issues/21045.
The problem here is that the schematics are using deep imports which is no longer allowed.

I see.  That makes a bit more sense, and might explain why it starts working again if I roll the cli packages back to 16.0.3.  Was that blocked starting in 16.1.0?

Updated the original post to include your assessment


Something went wrong

Something went wrong. Place re-lunch or re-install this app!

Hey @AnywhereYRS, would you share the details of the error message? Thanks!

It happens when we are trying to ask question.And then the App shows ‘Something went wrong. Place re-lunch or re-install this app!’

Installed the January 12th APK.
Attempted to sign in by selecting the Google SSO option
Received the "Access blocked: Authorization Error"
Error 403: disallowed_useragent
Request details: response_type=code redirect_uri=https://auth0.openai.com/login/callback state=0w38n5XXpSEjI8-KHpLwD7Qb5FhrNuK8 prompt=login client_id=799222349882-ne3i0s9jdm5s0p7ll2d7tlsi1vc1halt.apps.googleusercontent.com access_type=online scope=https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile openid
Do you have any recommendations or workarounds?

@Technochange, this project currently doesn't support Google sign. I will take a task for that when I have a moment.

I have a similar issue. This happens after not using the app for a while.

Signed in via Email account (not Google SSO).
Works fine after: closing the app and restarting it -> reprompted to login -> after logging it works fine again

No worries. I understand

@skydoves I'm interested in to contribute on this project. May I spend time on this issue if you think it's important and worth to fix?

Hey @mohammaddvi, of course, PR is always welcome!

Hey folks, in the new release 1.0.7, it's available to sign in with Google/Microsoft on this application.

Please re-open this issue if you same the same problem in the new release. Thanks!


unable to register route for the root path '/'

route on '/' path returns 404

marked for 1.0.0-beta.1


Performance issue when working with many points

The time it takes for st_folium to return with returned_objects seems to be proportional to the number of objects displayed on the map. I am plotting many markers and lines, but in the end I am only interested in the point that the user has clicked, i.e.
st_data = st_folium(m, returned_objects=["last_object_clicked"])

The trouble is, with many points it can take e.g. 10 seconds to return. If I make the map static, it's nearly instant.
Is there anything I can do to improve the performance, short of reducing the number of points?

I think it has to be proportional, since we're passing the data from the browser to Python. So returned_objects=["last_object_clicked"] can only be evaluated when the data exists in Python.
It might be the case that we can pass an Arrow buffer back to Python (if we're not already), but even that would likely have the same proportionality issue (though, as binary instead of JSON)

For information, I think I experienced a similar problem, even if I set returned_objects = [] (with 5000+ markers and lines). I would expect to go back to the static performance in this case.

I'm fairly certain that the replace is necessary, as otherwise the page will re-render in Streamlit every time (which is the original performance issue I believe that solves).
I do wonder if there is any performance gain from setting count=1 in the replace function; @blackary, if I'm thinking about this correctly, these are searching across the keys. You'd still replace once per loop, but at least we could short-circuit out of the loop once the key is found?

Excellent, thank you ! I will test this as soon as possible !


[RFE] Allow disabling KDM refresh from URL

Is your feature request related to a problem? Please describe.
Currently, Rancher's KDM refresh is configured to always expect a single url. In applications where KDM is not available at a URL, it is impossible to disable KDM pulling from this URL and just configured to use the data file at /var/lib/rancher-data/driver-metadata/data.json, which can be prepopulated.
Describe the solution you'd like
Disable pulling KDM data from a URL is rancher is configured without it. Rancher will need to be restarted following this change. Currently rancher doesn't need to be restarted if the KDM url itself is changed, as the setting change will reenqueue the KDM controller and cause the channelserver to use the new URL.
Describe alternatives you've considered
Enhance the channelserver implementation to add/remove entries after rancher has been started. This would likely require a cross team effort, although would be beneficial if multiple KDM sources are required in the future.

Closing this issue as it is no longer needed for https://github.com/rancher/kontainer-driver-metadata/pull/1289


WIP: Add a attach file to issue option

(virtualenv)vagrant@st2dev /m/s/s/st2 ❯❯❯ st2 run jira.attach_file_to_issue issue_key=BWC-6755 file_path=/tmp/ma_file             master ✭ ◼
..
id: 5a0dc567d9d7ed65eac4be49
status: succeeded
parameters:
  file_path: /tmp/ma_file
  issue_key: BWC-6755
result:
  exit_code: 0
  result:
    created_at: 2017-11-16T09:05:45.649-0800
    filename: ma_file
    issue: BWC-6755
    size: 66
  stderr: 'WARNING:root:/tmp/ma_file was not opened in ''rb'' mode, attaching file may fail.

    '
  stdout: ''
(virtualenv)vagrant@st2dev /m/s/s/st2 ❯❯❯

Uploading a pcap file doesn't work reliably. I think the jira client is broken when it comes to binary file uploads. I'll debug that.

Fixed new attach action, added new get_issue_comments, get_issue_attachments action, added new include_comments and include_attachments parameter to get_issue action.


Please support drop_last in DistributedSampler when you update to PyTorch 1.7.0

🚀 Feature
Please support drop_last in DistributedSampler when you update to PyTorch 1.7.0
Motivation
DistributedSampler is currently bugged in PyTorch 1.6.0, but it is fixed in master
PyTorch PR that fixed this bug: https://github.com/pytorch/pytorch/pull/41171
Pitch
Pass through (train/val/test)_dataloader's drop_last parameter to DistributedSampler

This is tricky because Lightning supports torch<1.7.0 so if we added it as an option to the Trainer, it would only have an effect for torch>=1.7.0
You could always set the DistributedSampler yourself without Lightning having an explicit option for it.


Bug/range slider issue

Description
Bug/range slider issue
Issues Resolved
https://github.com/opensearch-project/observability/issues/981

Codecov Report

Merging #1122 (6877e3e) into main (da93f4b) will increase coverage by 18.34%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##               main    #1122       +/-   ##
=============================================
+ Coverage     53.53%   71.87%   +18.34%
  Complexity      291      291
=============================================
  Files           279       42      -237
  Lines          9439     2311     -7128
  Branches       2209      240     -1969
=============================================
- Hits           5053     1661     -3392
+ Misses         4216      509     -3707
+ Partials        170      141       -29

Flag
Coverage Δ

dashboards-observability
?

opensearch-observability
71.87% <ø> (ø)

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

Impacted Files
Coverage Δ

..._panes/config_controls/config_bar_chart_styles.tsx

...fig_panes/config_controls/config_chart_options.tsx

...panes/config_controls/config_line_chart_styles.tsx

...nfig_panes/config_controls/config_style_slider.tsx

...mponents/flyout_components/trace_detail_render.tsx

...race_analytics/components/common/plots/box_plt.tsx

...nts/visualizations/assets/chart_bar_horizontal.tsx

...mponents/common/helpers/ppl_docs/functions/math.ts

...tics/components/common/plots/service_map_scale.tsx

...omponents/common/helpers/ppl_docs/commands/head.ts

... and 227 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


support sub and scaling for Operator

What is the expected enhancement?
let operator overloads - and -=, the current version only supports + and +=
On the other hand, support a method to apply a constant scale on the coefficient of an Operator.

resolved by #83


[SPARK-36014][K8S] Use uuid as app id in kubernetes client mode

What changes were proposed in this pull request?

Use uuid instead of System. currentTimeMillis as app id in kubernetes client mode.
Why are the changes needed?

Currently, spark on kubernetes with client mode would use "spark-application-" + System.currentTimeMillis as app id by default. It would cause app id conflict if submit several spark applications to kubernetes cluster in a short time.
Unfortunately, the event log use app id as the file name. With the conflict event log file, the exception was thrown.
Caused by: java.io.FileNotFoundException: File does not exist: xxx/spark-application-1624766876324.lz4.inprogress (inode<PHONE_NUMBER>) Holder does not have any open files.
        at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkLease(FSNamesystem.java:2697)
        at org.apache.hadoop.hdfs.server.namenode.FSDirWriteFileOp.analyzeFileState(FSDirWriteFileOp.java:521)
        at org.apache.hadoop.hdfs.server.namenode.FSDirWriteFileOp.validateAddBlock(FSDirWriteFileOp.java:161)
        at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getAdditionalBlock(FSNamesystem.java:2579)
        at org.apache.hadoop.hdfs.server.namenode.NameNodeRpcServer.addBlock(NameNodeRpcServer.java:846)
        at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolServerSideTranslatorPB.addBlock(ClientNamenodeProtocolServerSideTranslatorPB.java:510)
        at org.apache.hadoop.hdfs.protocol.proto.ClientNamenodeProtocolProtos$ClientNamenodeProtocol$2.callBlockingMethod(ClientNamenodeProtocolProtos.java)
        at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:503)
        at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:989)
        at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:871)
        at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:817)

Does this PR introduce any user-facing change?

yes
How was this patch tested?

manual test

Do you have time to take a look ? thanks @dongjoon-hyun @holdenk @vanzin @attilapiros

Test build #140639 has started for PR 33211 at commit 6d0c3dc.

Test build #140639 has finished for PR 33211 at commit 6d0c3dc.

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

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

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/45152/

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

thank you  @dongjoon-hyun  @holdenk !


19745 Implemented compatible entity type check for adoptee businesses

Issue #: bcgov/entity#19745
Description of changes:
- app version = 5.8.14
- imported updated correct-name shared component
- now filter adoptee businesses here instead of in shared component
- added filter for entity type
- added test suite
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

/gcbrun

Temporary Url for review: https://business-create-dev--pr-654-90fblr75.web.app

Before (ie, in Dev):

After (ie, localhost):

When there are no compatible TING businesses to adopt the name from:


Move to docker compose for upstream v2 compatibility

docker-compose is dead; long live docker compose
Using the current syntax results in an error:

This PR was just some search and replace to get things working with the newer Docker Compose v2 plugin.

thanks!


Prom test

Checking prowjob statuses on Grafana
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: abhay-krishna
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [abhay-krishna]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@abhay-krishna: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

aws-iam-authenticator-presubmit
a009cc368f500d2a3bf376174f2e55d3b6706910
link
/test aws-iam-authenticator-presubmit

Full PR test history. Your PR dashboard.

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

@abhay-krishna: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

aws-iam-authenticator-presubmit
a009cc368f500d2a3bf376174f2e55d3b6706910
link
/test aws-iam-authenticator-presubmit

metrics-server-presubmit
a009cc368f500d2a3bf376174f2e55d3b6706910
link
/test metrics-server-presubmit

Full PR test history. Your PR dashboard.

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

@abhay-krishna: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

aws-iam-authenticator-presubmit
a009cc368f500d2a3bf376174f2e55d3b6706910
link
/test aws-iam-authenticator-presubmit

metrics-server-presubmit
a009cc368f500d2a3bf376174f2e55d3b6706910
link
/test metrics-server-presubmit

etcd-presubmit
a009cc368f500d2a3bf376174f2e55d3b6706910
link
/test etcd-presubmit

Full PR test history. Your PR dashboard.

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

@abhay-krishna: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

aws-iam-authenticator-presubmit
a009cc368f500d2a3bf376174f2e55d3b6706910
link
/test aws-iam-authenticator-presubmit

metrics-server-presubmit
a009cc368f500d2a3bf376174f2e55d3b6706910
link
/test metrics-server-presubmit

etcd-presubmit
a009cc368f500d2a3bf376174f2e55d3b6706910
link
/test etcd-presubmit

coredns-presubmit
a009cc368f500d2a3bf376174f2e55d3b6706910
link
/test coredns-presubmit

Full PR test history. Your PR dashboard.

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


请问in查询是不是不支持多个字段?

Discussed in https://github.com/apache/doris/discussions/11763

Originally posted by yaoyi August 13, 2022
比如
SELECT id FROM t1 WHERE (c1, c2) IN ((1, 2));

报错:
Encountered: COMMA
Expected: ||

Yes, doris not support it.

Yes, doris not support it.

请问有计划支持嘛?

Yes, doris not support it.

请问有计划支持嘛? @stalary

Is it generated in BI or used in code? I understand this syntax can be changed. No support is currently planned


Try adding code files

Added code files which consist only of fourigui.py.
Merging into cookie since I figure we can use this as a staging branch?

@8bitsam do we want to get tests passing before merging, or shall I merge and you work on getting tests to pass?

@sbillinge Circling back to this now, there was an issue with tkinter not being listed as tk in the requirements, which is why the CI was failing. There's no test files in this PR so I can get tests to pass in another PR.

close as fixed by cookiecut


Add human metadata to each check

Check result reports for individual font projects should not have "OK / ERROR / FAIL" messages and developer-level technical details.
We need descriptions of errors that are meaningful to font designers so that instead of a list of (perhaps cryptic) error messages, FB serves as a source of knowledge about how to do things in a proper way.
Therefore each check need detailed documentation metadata, written in simple english:

[x] what common pitfalls does check address?
[x] what went wrong with the font being tested? (the actual error message)
[ ] what to do to fix it in source files (and ideally no "hotfix" methods.) The process to submit a PR to add to this should be easy. Eg, markdown files in the repo.
[ ] links to exemplary valid fonts/projects

This should be done

[ ] first for the tool that checks individual files,
[ ] then for the tool that checks sets of files,
[ ] then for the tool that checks families

As part of all of the above,

[ ] add doc strings for each method in each scripts

@m4rc1e wrote,

It's fine not to have a doc string for check-ttf.py. Felipe's suggestion is good. However, this is a lot of work. Better logging is more appropriate for this script imo.
I would really like them on the fix scripts, e.g fontbakery-fix-gasp.py could have.
'''
Set font gasp to 15, across all ranges. More info on can be found on the GF spec,
https://github.com/googlefonts/gf-docs/blob/master/ProjectChecklist.md#gasp
'''

This pretty much summarises what the script is doing, without me having to read the code.

This is one exemple of cryptic error message:
Regexp didn't match: 'Copyright\\s+\\(c\\)\\s+20\\d{2}.*\\(.*@.*.*\\)'
not found in u'Copyright (c) 2015, Marcelo Magalhaes'

It should read something like:
Copyright strings should look like:
"Copyright (c) 2015 Author Name"

Copyright strings should look like: Copyright 2016 Author Name<EMAIL_ADDRESS>

@felipesanches Okay, after reviewing https://github.com/felipesanches/BevanFont/blob/8d12a34057f947468575250d3f40f3d3ece61d46/1.0/fontbakery_check_results.md I think all the fb.error() methods need to telling people what to change in order to fix the problem in their source files.
Where we have an autofix, this should be easy for you to write.
Where we don't, or you're not sure, make a FIXMEDC and I can then run through the file and make a single PR that fixes them all

Offline Felipe said,

[output could] read like a human-language report saying things like:

You need to add proper licensing info to the NAME table and make sure you use '(c)' instead of © [...]

and so on, with the rationale of each fix that needs to be done. This is specially important for those things that are impossible for us to automatically hotfix because they require human input.

I agree

I think it makes more sense for me to tackle this, so I'm going to assign it to me. @felipesanches please address the other issues :)

I've been constantly improving the messages. It will still be good to have @davelab6 review and maybe further improve them. But that's definitely not as critical as it was before, so I'm leaving it assigned to 2.0.0 milestone.

This may also be related to #971

I think this must be split into a few individual issues.
I decided that it is worthless to work on the docstrings.
The other kinds of metadata may be good to have but I think it is not a high-priority task. I'd rather work on other things. Even a proper testsuite is something more critical than this I think. Let's drop the docstring task and deprioritize the additional metadata features ("what to do to fix it in source files" / "links to exemplary valid fonts/projects").

reassigning to @m4rc1e and moving to 0.4.x because this relates to sources; the main thing is to go over all check strings and make sure that they will make sense for our designers to fix issues themselves :)

@davelab6 I've added this to gf-glyph-scripts. I'd far rather they were able to see and get it right in the source file.
As you know, I wrote a custom logger for them which has more detailed explanations of the issues.

I'd prefer it if FB had details of checks in the doc strings and less verbose error messages. If we need further info on an issue, we can read the code/doc strings.
Also, the fix script in gf-glyphs-scripts will fix 90% of all the errors automatically. I will try and tackle the other 10% with my assistant next week.
The only other thing I can think of which will make this more designer friendly is an improvement upon the gf-doc, Quick Start Glyphs, or should I write a new doc on QA/Production?

My plan for fontbakery so far is:
In the docstring of a test

all text before the first empty line is a short description.
all text after the first empty line is the documentation with details. I suggest to mardown-format this. Thus:

@test(
    id='com.example.tests/test/123'
)
def my_example_test():
    """This is a short description of the test. Make
        sure your font passes it.

       # This can be markdown formatted user facing documentation

       * make sure your software is up to date
       * are there any syntax errors
       * did you try turning it off and on again
    """
    yield PASS, "Always good."

Another idea is to add an optional parameter to the decorator to store reference links:
```py
@test(
    id='com.example.tests/test/42'
  , links=[
      ('the problem', 'http://typedrawers.com/discussion/228/cyrillic-kern-strings')
    , ('the answer', 'https://github.com/googlefonts/fontbakery/issues/681#issuecomment-320230786')
    ]
)
def my_example_test():
    pass

And finally, I'd like to combine all this information and auto generate an online help on the dashbord site. So we could just add links to the error output and send the designers directly to the documentation page. No need to read the source, Luke :-)

No one will read source code 😂
On Aug 4, 2017 8:28 AM, "Lasse Fister"<EMAIL_ADDRESS>wrote:

My plan for fontbakery so far is:
In the docstring of a test

all text before the first empty line is a short description.
all text after the first empty line is the documentation with
details. I suggest to mardown-format this. Thus:

@test(
id='com.example.tests/test/123'
)def my_example_test():
"""This is a short description of the test. Make        sure your font passes it.       # This can be markdown formatted user facing documentation              * make sure your software is up to date       * are there any syntax errors       * did you try turning it off and on again    """
yield PASS, "Always good."
Another idea is to add an optional parameter to the decorator to store
reference links:
    id='com.example.tests/test/42'
  , links=[
      ('the problem', 'http://typedrawers.com/discussion/228/cyrillic-kern-strings')
    , ('the answer', 'https://github.com/googlefonts/fontbakery/issues/681#issuecomment-320230786')
    ]
)def my_example_test():
    pass

And finally, I'd like to combine all this information and auto generate an
online help on the dashbord site. So we could just add links to the error
output and send the designers directly to the documentation page. No need
to read the source, Luke :-)

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/googlefonts/fontbakery/issues/681#issuecomment-320236255>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAP9yzx4FqiUozhZwAGShNJU8KMLbbQnks5sUw5lgaJpZM4HbYPN>
.

No one will read source code :joy:

So you like what I proposed?

Yes! I don't like over stuffing the decorator though
On Aug 4, 2017 9:03 AM, "Lasse Fister"<EMAIL_ADDRESS>wrote:

No one will read source code 😂
So you like what I proposed?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/googlefonts/fontbakery/issues/681#issuecomment-320243186,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAP9y1-89s_uMu4j6xIXfKHUBAhsUinfks5sUxaggaJpZM4HbYPN
.

I don't like over stuffing the decorator though

Really, why?

It looks ugly, and overly complicated. Docstrings looks good and are
simpler.
On Aug 7, 2017 6:11 AM, "Lasse Fister"<EMAIL_ADDRESS>wrote:

I don't like over stuffing the decorator though
Really, why?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/googlefonts/fontbakery/issues/681#issuecomment-320625155,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAP9y4ob-oTXH93oijfhvrVEMQuErdZKks5sVuLVgaJpZM4HbYPN
.

Decorator bikeshedding aside, how is this looking, @graphicore and @m4rc1e ?
@m4rc1e do you have docstrings done nicely for gf-glyphs-scripts?

(The state of decorator bikeshedding: There are a lot of checks with (undocumented #1584) keyword arguments like rationale request (a link to an issue on gh usually) etc.)
I still think we should have tooling for both, the command line an the dashboard. Where the dashboard could also serve as a more complete tool to also discuss checks and their related information (we don't want to have big discussions in the source code/docstrings). A faster way could be to have some kind of permanent git issues?
Anyways, we started asking people to use FB and build their own specs, thus they will have to review our checks. Having a browser based interface but also just a CLI will set the bar lower than looking into the sources. (Why are people so afraid of source code?). And, for future contributions, we'd have a central place to discuss and document our library of checks.
I'd suggest to start with a very simple CLI and then maybe plan and do a good, minimal web interface that can be extended in the future.

I would avoid storing important info on gh issues. The source repository is where important info should be so that we don't loose such info when/if github goes down. Keeping the important stuff in the code base itself make s it more future-proof.
Having said that, I do acknowledge that we sometimes rely on github as a place to look for specific info (such as metadata like request=gh-url)


Error while compiling the project.

Compiler message:
Warning: Tried to initialize from a previous compilation (build/app.dill.track.dill), but couldn't. Error message was 'null:3705664: unexpected variable index: 29 at '. This might be a bug. The Dart team would greatly appreciate if you would take a moment to report this problem at http://dartbug.com/new.
file:///Users/ganesh/Documents/flutterSdk/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_webview_plugin-0.3.3/lib/src/webview_scaffold.dart:110:7: Error: No named parameter with the name 'resizeToAvoidBottomInset'.
resizeToAvoidBottomInset: widget.resizeToAvoidBottomInset,
^^^^^^^^^^^^^^^^^^^^^^^^
file:///Users/ganesh/Documents/flutterSdk/flutter/packages/flutter/lib/src/material/scaffold.dart:725:9: Context: Found this candidate, but the arguments don't match.
const Scaffold({
^
Compiler failed on /Users/ganesh/Desktop/FlutterApp/lib/main.dart
Flutter doctor :
[[✓] Flutter (Channel stable, v1.0.0, on Mac OS X 10.13.6 17G5019, locale en-IN)
• Flutter version 1.0.0 at /Users/ganesh/Documents/flutterSdk/flutter
• Framework revision 5391447fae (4 months ago), 2018-11-29 19:41:26 -0800
• Engine revision 7375a0f414
• Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
• Android SDK at /Users/ganesh/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
• All Android licenses accepted.
[!] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
✗ Verify that all connected devices have been paired with this computer in Xcode.
If all devices have been paired, libimobiledevice and ideviceinstaller may require updating.
To update with Brew, run:
brew update
brew uninstall --ignore-dependencies libimobiledevice
brew uninstall --ignore-dependencies usbmuxd
brew install --HEAD usbmuxd
brew unlink usbmuxd
brew link usbmuxd
brew install --HEAD libimobiledevice
brew install ideviceinstaller
• ios-deploy 1.9.4
• CocoaPods version 1.5.3
[✓] Android Studio (version 3.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 30.0.1
• Dart plugin version 181.5656
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)
[✓] Connected device (2 available)
• Pixel                     • FA6AJ0301424  • android-arm64 • Android 9 (API 28)
• Android SDK built for x86 • emulator-5554 • android-x86   • Android 9 (API 28) (emulator)
! Doctor found issues in 1 category.

Looks like you have a mismatched package.
Did you try rerunning flutter packages upgrade ?

I too have tried creating new project, as well as running "flutter packages upgrade", always the same result, app launches with following screen.
I've added following "flutter_webview_plugin: ^0.3.3" as dependency.

This appears to be a duplicate of #37043

Closing as duplicate.


Add HTML container listing

Closes #818
An integration test currently fails, but it otherwise works beautifully: https://css.verborgh.org/solid-community-server/

@joachimvh 3cfba90 builds nicely, but when I start requiring the identifier strategy, integration tests for pod creation start failing. I played around with it a bit, but I think you'll be able to fix it faster.

@joachimvh 3cfba90 builds nicely, but when I start requiring the identifier strategy, integration tests for pod creation start failing. I played around with it a bit, but I think you'll be able to fix it faster.

It's the dynamic pod creation that fails, so the ones that where each pod has their own config. It's because using the converters now required having access to the identifier strategy due to this change. I'm guessing the import for that just needs to be added in the default config that gets used there https://github.com/solid/community-server/blob/main/templates/config/defaults.json

I've pushed a fix for the integration issue (typing this before CI finished, what can go wrong). The problem is that the config templates use urn:solid-server:template for their identifiers instead of urn:solid-server:default. I originally wrote it like this to really make sure that nothing bad can be done through injection. But in practice this is probably not needed anyway since the instantiation of these pods happens completely separately from the server config. I just changed the identifier strategy URI now, but we could probably change all of them.


canshootAtGoal needs to be updated for the rules

sometimes it is not allowed to shoot immediately at goal (i.e. indirect free kick, kickoff). we should fix that

With custom strategies this is not really a thing


[FEATURE] Added custom widget for titleCompact and footerCompact

Hey!
So playing with this package, I came to this problem, when I wanted to render different widgets for footer and title depending on the displayMode. I tried using providers, however, to make it work properly I needed to add addPostFrameCallback, which impacted performance (by rendering widgets late - I couldn't render it faster, as I can't call setState during the build phase), so I decided to make a new feature, that would solve this problem in a non-robust way - with adding titleCompact and footerCompact, which if not filled will not affect rendering of the footer/title. Hope you like it! (and merge it 😁)
Signed by Branislav Mateáš.

Hello and thanks,
But sorry it's not in my strategy. If anyone want to change tittle and footer in SideMenuDisplayMode.open or SideMenuDisplayMode.compact can use onDisplayModeChanged and then change his/her widget.


[BUG] Missing translations for custom settings buttons and settings menu.

Translation of the settings menu itself is not possible with our current module. The context menu I may be able to do.

This app will be sunseted very soon and we are NOT maintaining this app
unless of a security issue. We encourage you to try Cider, our new music app built from scratch. Issues filled on that repository will be seen and will be acted upon. Please join our discord and see the #nightly-builds channel for a current build.
Cider can be found here


Load and print

First draft of introductory section (roughly as demo-ed to meeting on Friday).
N.B. it's in a separate notebook, at least for now.
Actually, I suspect that splitting into separate notebooks is probably going to prove more manageable.
At least from a dev PoV, it will mean we can edit sections in parallel without  fear of generating conflicts.

Self-merging again!


Baldwin Beach Express shield

The Baldwin Beach Express is a highway in Baldwin County, Alabama. It has a shield with simple white text on a green background.
This route is tagged network=US:AL:Baldwin:Baldwin_Beach_Express.

Thanks, I hate it.  What are we going to do with this?

A green rectangle with the abbreviation "BBX"? I honestly don't know :shrug:

I tend to agree that an abbreviation is probably more useful on the map than just squeezing down the text to unreadable.


Not really a issue

I am now going to use version 8.0 instead of  6.0 (I was using this in laravel 5.1) and I am wondering, why you separated this module out of the core datatables module.
Soon I will be working on this module to handle datatables-editor button related changes, as I did in version 6.0.
Thanks,
K

Not all users uses html & buttons plugins at all, thus separating it will lessen the dependencies on our projects. For instance, not all users uses fractal but it is being force to be installed on your project because of dataTables on v6.x.


Feat: Add changes for Falcon3 release

As per title, this PR adds some changes for Falcon3 model release
cc @potassiummmm

@microsoft-github-policy-service agree [company="{TII}"]

@microsoft-github-policy-service agree company="TII"


Bayesian quadrature for emukit

*Issue #5
update 3:

reverting base GP interface
adding acquisition function
cleaned up test functions
less flakey

update 2:

new interface for BaseGP as discussed
added some missing type annotations

update 1:

did the changes we discussed
BQ acquisition function still to come (I put UCB in the loop for now)
tests still to come
some nice loop wrapper still to come

Description of changes:
Bayesian quadrature has been added to emukit as a new package.
Required model wrappers are in emukit/model_wrappers/gpy_quadrature_wrappers.py.
A BQ example with GPy backend has been added to emukit/examples
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #77 into develop will decrease coverage by 6.65%.
The diff coverage is 49.7%.

@@             Coverage Diff             @@
##           develop      #77      +/-   ##
===========================================
- Coverage    89.72%   83.06%   -6.66%
===========================================
  Files           65       82      +17
  Lines         1684     2020     +336
  Branches       176      184       +8
===========================================
+ Hits          1511     1678     +167
- Misses         131      300     +169
  Partials        42       42

Impacted Files
Coverage Δ

emukit/quadrature/loop/__init__.py
100% <100%> (ø)

emukit/quadrature/kernels/__init__.py
100% <100%> (ø)

emukit/quadrature/methods/__init__.py
100% <100%> (ø)

emukit/quadrature/interfaces/__init__.py
100% <100%> (ø)

emukit/quadrature/__init__.py
100% <100%> (ø)

emukit/test_functions/__init__.py
100% <100%> (ø)
:arrow_up:

emukit/model_wrappers/__init__.py
100% <100%> (ø)
:arrow_up:

emukit/quadrature/acquisitions/__init__.py
100% <100%> (ø)

emukit/quadrature/kernels/integral_bounds.py
26.66% <26.66%> (ø)

...kit/quadrature/acquisitions/squared_correlation.py
29.78% <29.78%> (ø)

... and 26 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 af2aae3...748634a. Read the comment docs.


Pass {} as props if none given?

For parity with React, and convenience of always being able to test for e.g. props.text, rather than props && props.text.

Consider the case of optional props.text:
selection.call(myComponent);
selection.call(myComponent, { text: "Hello" });

Currently we need to check like this:
var myComponent = d3.component("div")
  .render(function (selection, props){
    selection.text((props && props.text) ? props.text : "");
  });

It would be nicer to be able to say this instead:
var myComponent = d3.component("div")
  .render(function (selection, props){
    selection.text(props.text || "");
  });


Nullability mark for optional type can not be processed when creating tables with YQL

CREATE TABLE `a` (
    `b` Int64?,
    PRIMARY KEY (`b`)
);

This script can't be executed because of YQL type incompatibility error. It's quite strange considering that YDB supports only nullable types.
Of course, if there is no plans for the future support of non-nullable types, then we can create nullable columns without nullability mark.

All columns in CREATE TABLE are already nullable by default, no explicit optional mark required (it will actually add second level of optionality).
Non-nullable types will be supported later with NOT NULL column setting:
CREATE TABLE Test (
    Key Int64 NOT NULL,
    PRIMARY KEY (Key)
);

Non-nullable types will be supported later with NOT NULL column setting:

Excuse me for offtopic, but how seen it will be supported in serverless YDB?

We'll report in https://github.com/ydb-platform/ydb/issues/4 once it is available.


[Unity] Sound freeze problem - no exception or informaction.

Hi,
During using Your plugin in Unity (2019.2.0f1 version here - i think version does not matter), when one object with unity's AudioSource and SteamAudioSource reach the same position (x, y and z) as second object with Unity's AudioListener - all sounds get freezed, stop working.
Until one of this two objects change position (even change one of 0.00001 in position resolves the problem).
Game still works and sounds begin to work after any position change.
I am sure that this two types of objects can't have the same position but there is no exception or even no proper information about it.

The latest release, Steam Audio 2.0-beta.18, contains a fix for this issue. Feel free to reopen if the issue persists on your end.


python3Packages.angr: 9.0.10339 -> 9.0.10409

Motivation for this change
Update angr stack to 9.0.10409
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 144413 run on x86_64-linux 1

16 packages built:

python38Packages.ailment
python38Packages.angr
python38Packages.angrcli
python38Packages.angrop
python38Packages.archinfo
python38Packages.claripy
python38Packages.cle
python38Packages.pyvex
python39Packages.ailment
python39Packages.angr
python39Packages.angrcli
python39Packages.angrop
python39Packages.archinfo
python39Packages.claripy
python39Packages.cle
python39Packages.pyvex

@ofborg build python38Packages.angr python39Packages.angr


does not create path ".well-known/acme-challenge" over FTP

wacs does not create path ".well-known/acme-challenge" but deletes it. after manual creation it works with one domain but because it contains multiple domains for one certificate. which then fails.
any solution?

thanks, i will try that in 3 months. now it works for now.


[API] on 500 error only show message if gitea in dev mode

depend on https://github.com/go-gitea/gitea/pull/11574

CI will fail as long as there exist expected errors witch return 500 httpStatus!!!
so Update this branch until the point is where CI pass :)
StatusCode changes should happen in other pulls

next pull: #11644

it should pass if #11643 was merged

ready to fly 🚀

@6543 please backport :)

Feel free to do so, cant di it now

@techknowlogick had time to create it myselfe #11753


Cra initialization

Created app with cra, deleted boilerplate code and files; installed and configured gh-pages package

https://htmlpreview.github.io/?https://github.com/Kl4y4/my-internship/blob/a120497/index.html


MongoDB timeout

Issue Description
I have a little over 7 million users, and when doing one of my larger queries, I am getting a MongoDB timeout. After the timeout (30 seconds), no future queries run. Everything is fine except for this one method. The query normally takes ~40-60 seconds to run. I would love to be able to refactor the collection to increase the speed of the query, but, I am running up against a deadline and need help with this timeout until I have more time. Refactoring over 7 million documents takes a decent amount of time.
I am 100% okay with the timeout, but, I am not okay with the server no longer responding to requests after the timeout. Any help would be appreciated. I am okay if there is a monitor that I can run to restart the node server or if there is something else I can do to hack together a solution before Tuesday.
Steps to reproduce
Please include a detailed list of steps that reproduce the issue. Include curl commands when applicable.

Run a query that will take longer than 30 seconds
Receive a MongoDB timeout unhandled exception
Try to perform more queries

Expected Results
Queries after a MongoDB timeout still respond.
Actual Outcome
Queries after a MongoDB timeout do not respond.
Environment Setup

Server

parse-server version: 2.2.17
Operating System:     Ubuntu 14.04 LTS
Hardware:             Azure D15 v2 (overkill for testing move)
Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): Azure

Database

MongoDB version: 3.0.10
Storage engine:  RocksDB
Hardware:        Azure D15 v2 (different instance)
Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): Azure

Logs/Trace
verbose: error: MongoError: server *removed*:27017 timed out
    at closeHandler (*removed*/node_modules/mongodb-core/lib/topologies/server.js:436:40)
    at emitTwo (events.js:87:13)
    at emit (events.js:172:7)
    at closeHandler (*removed*/node_modules/mongodb-core/lib/connection/pool.js:144:10)
    at g (events.js:260:16)
    at emitTwo (events.js:87:13)
    at emit (events.js:172:7)

Hey, Thanks for reporting it. Starting 2.2.17 it should have a better handling of errors by recycling the connections. But I have to admit, I didn't run any tests with timeouts, mostly with lost connections. If you're able to push a PR, we'll make sure to review in priority, merge, an probably release a patch.
Does that sound reasonable?
As I'll be less connected next week, I'll let @tylerbrock and @drew-gross take care of you .)

How does the query look like? Perhaps a better index would help?

Adding appropriate indexes would be the best solution but perhaps there's a reason that's not possible?
You may be able to modify the database connection settings to increase the timeout as a quick fix. I don't think this is possble with the CLI. Try modifying socketTimeoutMS by setting databaseOptions in the parameter passed to ParseServer:
config.databaseOptions = {
socketTimeoutMS: 60000
};
var api = new ParseServer(config);

Be careful doing this if you have a large number of requests because these will also time out at the new value, causing connections to be used up. You can modify your connection pool settings with the same object.
More settings here:
http://mongodb.github.io/node-mongodb-native/2.1/reference/connecting/connection-settings/
The driver should be reconnecting automatically but we can perhaps recreate the issue by using the above setting and reducing to 0.
It seems Azure can have connection issues so this could be an Azure issue. E.g. found this SO question from a while back (to do with connection timeout, not query timeout): http://stackoverflow.com/questions/25843963/mongodb-connection-timeout-when-mongodb-is-not-in-the-same-vm

Yeah, I totally agree that the driver should reconnect automatically after the timeout. That is troubling. Let's try to get a failing test case that sets the timeout low, times out, and is unable to make further database requests.
In the meantime, I would do as @steven-supersolid and @bohemima suggest and add an index if possible.

The query:
{
  where: {
    totalPoints: {$gt: ...}
  },
  count: ...
}

This is where I am trying to get the position on the leaderboard that a player is. The Query Plan is pretty straight forward and it picks a decent index if I just do a db.getCollection('_User').explain().count({totalPoints: {$gt: 27000}}) in mongo shell.
{
	"queryPlanner" : {
		"plannerVersion" : 1,
		"namespace" : "flinch._User",
		"indexFilterSet" : false,
		"parsedQuery" : {
			"totalPoints" : {
				"$gt" : 27000
			}
		},
		"winningPlan" : {
			"stage" : "COUNT",
			"inputStage" : {
				"stage" : "COUNT_SCAN",
				"keyPattern" : {
					"totalPoints" : -1,
					"displayname" : 1
				},
				"indexName" : "totalPoints_-1_displayname_1",
				"isMultiKey" : false
			}
		},
		"rejectedPlans" : [ ]
	},
	"serverInfo" : {
		"host" : "flinch-mongo1",
		"port" : 27017,
		"version" : "3.0.10-1.5",
		"gitVersion" : "376fb629b3911b74ee040029dd2bdc57fb2927af"
	},
	"ok" : 1
}

Actually running the query return in milliseconds, and returns: 2068822.
Thanks in advance for any help!

I should probably note that this also runs slow on parse.com's server.

Do you run the count() as master? If not, the actual query will be something like this and most likely have a huge effect on the query { totalPoints: { '$gt': XXX }, _rperm: { '$in': [ null, '*' ] } }

@bohemima: I didn't even think about that! I will probably just move that call to cloud code then. Thanks for the insight!

It seems that the restart issue has been solved in 2.2.17. I will leave this open in case there is still a desire to fix the error issue.

Should be all fixed in 2.2.17, closing. Feel free to reopen if this closing was too hasty.


Please confirm these before moving forward

[X] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
[X] I have not been informed if the issue is resolved in a preview version of the winget client.

Category of the issue
Installation issue.
Brief description of your issue
Hi
Been trying for weeks and WInget will not install any of the Microsoft.VCRedist.2013.x86

Have these installed

Steps to reproduce
Winget Upgrade with ID does not work
Actual behavior
Nothing
Expected behavior
To install
Environment
Windows Package Manager v1.3.2091
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.22000.1042
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.18.2091.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

Screenshots and Logs
Listed above

Your screenshot shows you have two different versions of 2013-x86 installed

Removing the older version should fix the issue

cheers