rhvoice: fix NIX_* environment propagations to scons

scons build system does not work by default in nixpkgs envoironment as it filters system environment and throws away NIX_* flags:
https://scons.org/doc/2.1.0/HTML/scons-user/x1750.html

Fix build system to always propagate os.environment.
Description of changes

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, 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/)
23.05 Release Notes (or backporting 22.11 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

1 package built:

rhvoice


homeassistant.setup: Platform not found

What happened?
The integration does not start after boot.
Version
1.0.3 (Edge)
What browsers are you seeing the problem on?
Microsoft Edge
Relevant log output
Logger: homeassistant.setup
Source: setup.py:320
First occurred: 09:02:30 (2 occurrences)
Last logged: 09:02:30

Unable to prepare setup for platform clage_homeserver.sensor: Platform not found (Exception importing custom_components.clage_homeserver.sensor).

Code of Conduct

[X] #51

Logger: homeassistant.loader
Source: custom_components/clage_homeserver/sensor.py:58
Integration: CLAGE Homeserver (documentation, issues)
First occurred: 09:02:30 (2 occurrences)
Last logged: 09:02:30
Unexpected exception importing platform custom_components.clage_homeserver.sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 722, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 739, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/clage_homeserver/sensor.py", line 58, in
entity_category=EntityCategory.DIAGNOSTICT,
File "/usr/local/lib/python3.10/enum.py", line 437, in getattr
raise AttributeError(name) from None
AttributeError: DIAGNOSTICT


Vertico: doom/sudo-this-file does not work, neither does /sudo: (tramp)

What did you expect to happen?
Hi, I'm using Emacs HEAD (native-comp + pgtk) and the latest commit of Doom Emacs.
I tried to edit a file as root and got an error message.
It has something to do with vertico and tramp, because manually using tramp does not resolve this issue.
What actually happened?

System Information
https://0x0.st/-JMF.txt

packages {omitted}

Please don't omit things in the your M-x doom/info. Your installed packages is exactly what I needed to know in this case; in particular, if you're installing a newer version of tramp yourself, as some folks commonly do (and shouldn't).
So, are you installing tramp?

In any case, I'll mark this as unknown since I can't reproduce this native-comp + pgtk + vertico on vanilla Doom.

Hi
I am having exactly the same issue you are describing here.
It seems to be independent of Vertico, because I am using Ivy
Backtrace:
Debugger entered--Lisp error: (void-variable tramp-security-key-confirm-regexp)
  signal(void-variable (tramp-security-key-confirm-regexp))
  tramp-maybe-open-connection((tramp-file-name "sudo" "root" nil "localhost" nil "/etc/pacman.conf" nil))
  tramp-send-command((tramp-file-name "sudo" "root" nil "localhost" nil "/etc/pacman.conf" nil) "test 0 2>/dev/null; echo tramp_exit_status $?")
  tramp-send-command-and-check((tramp-file-name "sudo" "root" nil "localhost" nil "/etc/pacman.conf" nil) "test 0")
  tramp-get-test-command((tramp-file-name "sudo" "root" nil "localhost" nil "/etc/pacman.conf" nil))
  tramp-run-test("-d" "/sudo:root@localhost:/etc/pacman.conf")
  tramp-sh-handle-file-directory-p("/sudo:root@localhost:/etc/pacman.conf")
  tramp-sh-file-name-handler(file-directory-p "/sudo:root@localhost:/etc/pacman.conf")
  apply(tramp-sh-file-name-handler file-directory-p "/sudo:root@localhost:/etc/pacman.conf")
  tramp-file-name-handler(file-directory-p "/sudo:root@localhost:/etc/pacman.conf")
  file-directory-p("/sudo:root@localhost:/etc/pacman.conf")
  find-file-noselect("/sudo:root@localhost:/etc/pacman.conf" nil nil nil)
  find-file("/sudo:root@localhost:/etc/pacman.conf")
  doom/sudo-this-file()
  #<subr funcall-interactively>(doom/sudo-this-file)
  apply(#<subr funcall-interactively> doom/sudo-this-file)
  funcall-interactively(doom/sudo-this-file)
  #<subr call-interactively>(doom/sudo-this-file record nil)
  apply(#<subr call-interactively> (doom/sudo-this-file record nil))
  explain-pause--wrap-call-interactively(#<subr call-interactively> doom/sudo-this-file record nil)
  apply(explain-pause--wrap-call-interactively #<subr call-interactively> (doom/sudo-this-file record nil))
  call-interactively(doom/sudo-this-file record nil)
  command-execute(doom/sudo-this-file record)
  counsel-M-x-action("doom/sudo-this-file")
  ivy-call()
  ivy-read("M-x " ("doom/info" "doom-debug-mode" "tramp-recompile-elpa" "tramp-cleanup-all-connections" "tramp-version" "+vterm/here" "pdf-tools-install" "check-parens" "langtool-correct-buffer" "projectile-invalidate-cache" "langtool-check" "lsp-install-server" "doom/sudo-find-file" "langtool-check-done" "eshell" "org-mode" "load-theme" "emacs-version" "spell-fu-mode" "doom/sudo-this-file" "langtool-switch-default-language" "cd" "5x5" "amx" "arp" "dbx" "dig" "erc" "ert" "eww" "ftp" "gdb" "irc" "jdb" "lsp" "man" "mpc" "pdb" "pwd" "rsh" "sdb" "xdb" "calc" "deft" "diff" "dirs" "ffap" "gnus" "grep" "help" ...) :predicate counsel--M-x-externs-predicate :require-match t :history counsel-M-x-history :action counsel-M-x-action :keymap (keymap (67108908 . counsel--info-lookup-symbol) (67108910 . counsel-find-symbol)) :initial-input nil :caller counsel-M-x)
  counsel-M-x()
  #<subr funcall-interactively>(counsel-M-x)
  apply(#<subr funcall-interactively> counsel-M-x)
  funcall-interactively(counsel-M-x)
  #<subr call-interactively>(counsel-M-x nil nil)
  apply(#<subr call-interactively> (counsel-M-x nil nil))
  explain-pause--wrap-call-interactively(#<subr call-interactively> counsel-M-x nil nil)
  apply(explain-pause--wrap-call-interactively #<subr call-interactively> (counsel-M-x nil nil))
  call-interactively(counsel-M-x nil nil)
  command-execute(counsel-M-x)

System information
https://pastebin.com/iq2qGNDy

packages {omitted}

Please don't omit things in your M-x doom/info. Your installed packages is exactly what I needed to know in this case; in particular, if you're installing a newer version of tramp yourself, as some folks commonly do (and shouldn't).
So, are you installing tramp?

Sorry, I'll include the installed packages next time.  I had not separately installed Tramp.
Like carlosperezm, I could also reproduce it in Vanilla Emacs.
I upgraded Emacs and the issue has been fixed for me, I can now use Tramp without any issues on both Vanilla Emacs and Doom Emacs.
Related Commits:
https://github.com/emacs-mirror/emacs/commit/fd2d56d63c8a9dbc5a96d2eb746761b2ecc2c573
https://github.com/emacs-mirror/emacs/commit/e5b2e5356f78e70fbb3dbfdb2abff17bb84efc2d
I'll close this issue now, this was an Emacs bug that seems to be fixed now.


Add callback when fallback is used?

Hi,
I have an app whose default language is french, and we are in progress of translating it to english.
We'd like to use fallback feature, yet be able to report and store somewhere missing english translations.
When en -> fr fallback is used, it seems currently not possible to run some arbitrary code to report that fallback was used (which actually means there's a missing translation).
Can we have a hook to like missingTranslation that notify us when fallback is used? Something like :
I18n.onFallback = (locale, fallbackLocale, key, options) => {...}

If you need to find out what translations are missing
you can change the config in development / test:
I18n.fallbacks = false;
I18n.missingTranslation = function () { return undefined; };

Or use some tool to compare the translation entry collection object?

yes i already do that it's just I want this in prod too because I'm not sure to visite all my websites pages in dev and miss some corner cases, so I need both fallback and hook

So if you have translation object like
var translations = {
  "en": {
    "chicken": "???"
  },
  "fr": {
    "chicken": "???",
    "wine": "???"
  }
}

I guess you can compare the keys to find out what's missing?
Not sure, there is a tool i18n-tasks in Ruby

Hmm thanks I'll see, I'm not a Ruby developer but backend is in Ruby and we wanted same syntax for frontend/backend

How do you guys generate translations in JS then?

We transform yaml files from translations.io to json files in our build pipeline

I see let me work on it later

I think you could do this already with something like this, as long as its loaded after i18n, and before it hits any translation calls:
I18n.originalMissingTranslation = I18n.missingTranslation;
I18n.missingTranslation = function(scope, options) {
  // Add ajax or whatever here
  return I18n.originalMissingTranslation(scope, options);
};


 We probably shouldn't be using the multiprocessing module anyway since we are mostly running shell commands in parallel (not python code). Most of the python code that is running in each multiprocessing process is not computationally expensive and can be run serially.
Steps to reproduce
In config.yaml:
project: tm70
experiment: five-site-test
realisations: [
  {
    path: "trunk",
  },
  {
    path: "branches/Users/sb8430/test-branch",
  }
]
modules: [
  intel-compiler/2021.1.1,
  netcdf/4.7.4,
  openmpi/4.1.0
]

Experiments using non-blocking subprocess calls with subprocess.Popen to achieve parallelism seems to improve the CPU utilisation (see below).
Note, this is not the best performance comparison since the benchcab PBS job also includes bitwise comparison checks between model outputs whereas in our experiment we only run the model executables.
PBS job summary
PBS Job Id: 95678759.gadi-pbs
Job Name:   STDIN
Execution terminated
Exit_status=0
resources_used.cpupercent=1770
resources_used.cput=01:30:33
resources_used.jobfs=0b
resources_used.mem=3373284kb
resources_used.ncpus=18
resources_used.vmem=3373284kb
resources_used.walltime=00:06:32

Output from qps
    PID S   RSS    VSZ %MEM     TIME %CPU COMMAND
 868156 S 10476 252612  0.0 00:00:00  0.0 /bin/python3 /home/189/sb8430/playground/subprocess_parallelism.py
 868185 R 49852 192964  0.0 00:02:41 98.6 ./cable cable.nml
 868186 R 49952 192960  0.0 00:02:41 99.4 ./cable cable.nml
 868187 R 50028 192964  0.0 00:02:41 99.5 ./cable cable.nml
 868190 R 46868 189760  0.0 00:02:29 98.3 ./cable cable.nml
 868210 R 49988 192964  0.0 00:01:22 88.8 ./cable cable.nml
 868212 R 46552 189764  0.0 00:01:19 97.2 ./cable cable.nml
 868213 R 38212 181180  0.0 00:01:20 98.8 ./cable cable.nml
 868215 R 45720 188904  0.0 00:01:19 98.7 ./cable cable.nml
 868216 R 46552 189764  0.0 00:01:18 99.3 ./cable cable.nml
 868217 R 38352 181184  0.0 00:01:15 97.3 ./cable cable.nml
 868299 R 36336 179544  0.0 00:00:56 83.0 ./cable cable.nml
 868300 R 49764 192968  0.0 00:00:56 88.9 ./cable cable.nml
 868302 R 45736 188900  0.0 00:00:39 97.5 ./cable cable.nml
 868303 R 49992 192968  0.0 00:00:35 91.3 ./cable cable.nml
 868318 R 38032 181184  0.0 00:00:19 94.1 ./cable cable.nml
 868319 R 45668 188904  0.0 00:00:16 84.9 ./cable cable.nml
 868401 R 46456 189760  0.0 00:00:10 89.5 ./cable cable.nml
 868402 R 38028 181180  0.0 00:00:09 98.2 ./cable cable.nml

To reproduce:
The following script takes a pre-existing tasks directory generated by benchcab (five-site-test experiment) and runs the executable in each task directory in parallel:
# subprocess_parallelism.py

import os
import time
import subprocess
import contextlib
from pathlib import Path

NPROC = 18

TASK_DIRS = list(Path("/scratch/tm70/sb8430/tmp-cable-tasks").glob("*"))

@contextlib.contextmanager
def chdir(newdir):
    """Context manager `cd`."""
    prevdir = Path.cwd()
    os.chdir(newdir.expanduser())
    try:
        yield
    finally:
        os.chdir(prevdir)

def run_task(path):
    with chdir(path):
        print("./cable cable.nml")
        return subprocess.Popen(["./cable", "cable.nml"],
                stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT)

if __name__ == "__main__":
    task_queue = TASK_DIRS.copy()
    processes = []
    while task_queue:
        processes_available = len(processes) < NPROC
        if processes_available:
            processes.append(run_task(task_queue.pop()))
        else:
            processes = [proc for proc in processes if proc.poll() is None]
            time.sleep(0.5)

    for proc in processes:
        proc.wait()

To run the script inside a PBS job
qsub -lwalltime=00:20:00,ncpus=18,mem=16GB,storage=gdata/tm70+gdata/hh5+gdata/ks32 -m e -- /bin/python3 /home/189/sb8430/playground/subprocess_parallelism.py

Some things to think about if we end up using subprocess.Popen:

We want to run python code depending on the return code of the command, for example we will want to raise an exception on a non-zero return code. Best approach for doing this?

A possible approach could be to wrap the Popen object within some 'task' class that has methods for:

Running the process
Polling the process
Running code on completion of the process

Perhaps this is begging for a reusable task interface which gets implemented for fluxsite tasks, spatial tasks, build tasks and comparison tasks?

Food for thought:

We eventually want to store the status (return code) of each CABLE task in some sort of data structure so that we can display the number of tasks succeeded/failed. Having the FluxsiteTask class composed with a Popen object would store the state of the process in each FluxsiteTask object.

Well, after re-running benchcab without the bitwise comparison step, it seems there is no performance improvement from using subprocess.Popen vs multiprocessing! The poor CPU utilisation must be due to running bitwise comparisons...
PBS job summary:
PBS Job Id: 95680929.gadi-pbs
Job Name:   benchmark_cable_qsub.sh
Execution terminated
Exit_status=0
resources_used.cpupercent=1716
resources_used.cput=01:25:04
resources_used.jobfs=0b
resources_used.mem=3666720kb
resources_used.ncpus=18
resources_used.vmem=3666720kb
resources_used.walltime=00:05:58

Although, it could be argued that we are still better off using the subprocess.Popen interface since avoids spawning needless processes.

Closing this issue as resolving the poor CPU utilisation issue would require some sort of task dependency between model runs and bitwise comparison tasks. See #156 and #157.


Java

Hello Can You Please Provide Code in java language Please

@manupatell kotlin is backwards compatible with java. Closing the ticket since this is already done. If you have any issues with the library specifically to java, please create a new ticket with more information


Create pycharm-edu.rb

Runs into error:
==> Checking out tag v0.60.0
Error: Empty installation
The command "brew install caskroom/cask/brew-cask" failed and exited with 1 during .
Your build has been stopped.

as described in https://github.com/caskroom/homebrew-cask/pull/16699

Merging, as I’m needing it for a script and we know it is correct (copied from main repo).


Add possibility to have interactive password

Is your feature request related to a problem? Please describe.
I don't want the password to be written in a file or in bash history
Describe the solution you'd like
Is ti possible to have an argument that force the cli to ask for a password ?

Hello,
The management of the password is added in the last release. You have two possibilities for manage the passwords. Either you don't write the password into the yaml file and the CLI ask you to give the password in the terminal or you encrypt the passwords present in the config file with encrypt command. For more details, you can consult the readme.


Blank map on test branch w/ google.services#v22

Hello !
Under the master branch, I see the map. When I try to create the same project, with test branch and google.services#v22, I have a blank map.
For information, my first try can't build, I have found a solution in another ticket to remove the folder : ./platforms/android/com.google.playservices/app-google-play-services_lib/bin/res/crunch/
After that, I can run it, and the MAP_READY event is fired, but the map is blank ( and all others HTML element inside the #map-canvas div are correctly shown )
There is no console error.
I have copied my master branch config.xml file ( so it's the same widget ID, and this is not a KEY problem )
Do you have any idea ?
Thanks a lots !

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9868637-blank-map-on-test-branch-w-google-services-v22?utm_campaign=plugin&utm_content=tracker%2F637500&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F637500&utm_medium=issues&utm_source=github).

Did you check logcat error also?

In logcat ( adb logcat *:S CordovaLog:D ) I see this line :
I/CordovaLog( 1469): This app uses phonegap-googlemaps-plugin version 1.2.4
Is the #test branch shouldn't said 1.2.5 ?

I merged the latest code into the master branch last night.
Try to use the master branch with Google Play Services v23.

Hello,
I still have the map blank, but this time I haven't build problem.
And in the logcat :
I/CordovaLog(32075): This app uses phonegap-googlemaps-plugin version 1.2.5
I/CordovaLog(32075): phonegap-googlemaps-plugin version 1.2.4 is available.

Any idea ? :-/

Too less information. That message just outputs the version numbers.
Could you show me the whole build error log?

I don't known the reason, but today, without any change, this works ! :-/


Superset Not reconginzed

'superset' is not recognized as an internal or external command,
operable program or batch file.
I am working on Windows 10 cmd prompt.
After I have given admin previlages when I am trying to upgrade db. It says superset is not recognized.

On Windows, after you have enabled the virtualenv
cd <venv_directory>
python Scripts\superset db upgrade
On Windows virtualenv seems that is not adding the Scripts to the current path


An elasticsearch example for microk8s with security

[ ] Chart version not bumped (the versions are all bumped and released at the same time)
[ ] README.md updated with any new values or changes
[ ] Updated template tests in ${CHART}/tests/*.py
[ ] Updated integration tests in ${CHART}/examples/*/test/goss.yaml

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

I've signed the document but I may need to wait a bit longer.


Add TNW

Adds TNW to the company list

Does TNW stand for something in particular?

The Next Web.


Descriptions are often missing a WHY

There are a significant number of Polices in Azure that cover a wide range of areas in Azure, and I've always taken each policy as a "Best Practice" implementation.  The Descriptions of the polices typically tell what the policy does and I've been content with that.
However, recently I've had a customer ask me WHY? on a given policy, and I started to think that yes, in general, most policies are missing a "WHY" in the Description field.
For one example (of many), take this policy (shown here:  policy-samples )

Azure VPN gateways should not use 'basic' SKU

The description reads:

This policy ensures that VPN gateways do not use 'basic' SKU.

And my customer rightly asked Why?  It took a few minutes of searching to come up with the SKU matrix and show that Basic doesn't support P2S over IKEv2 and BGP for route broadcasts.
So my ask is that either

Each policy definition be updated to include the WHY part of the policy - Why is basic not advised.  Why should X use a service endpoint. Why is upgrading to the latest TLS version important)

A new field be added to polices linking to an Azure Best practices page that explains not only what a policy is doing, but why, and possibly even when you'd strictly enforce, audit or ignore the policy

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

ID: befcd549-5b66-5e93-34a2-ff31c8c0855c
Version Independent ID: a8337578-29e7-9087-3100-d25caad271ee
Content: List of built-in policy definitions - Azure Policy
Content Source: articles/governance/policy/samples/built-in-policies.md
Service: azure-policy
GitHub Login: @DCtheGeek
Microsoft Alias: dacoulte

@ChristopherGLewis Thanks for the feedback! We've been improving the language in the description fields, but we still have a ways to go before I'll be satisfied with them. These descriptions come from the source, which we publish in GitHub (https://github.com/azure/azure-policy). If you have specific definitions you'd like to see improved, please open an issue there and it'll get routed to the owning team. We'll evaluate the second ask with the PMs.  Since this isn't explicitly an issue with the docs (since they are generated from source), I'm going to close this issue, but I really appreciate the feedback!
@MicrosoftDocs/azure-cxp-triage Please label 'doc-enhancement' and #please-close.


Can't build LightAdmin SandBox

[INFO] Building LightAdmin SandBox 1.2.0.BUILD-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: http://lightadmin.org/nexus/content/repositories/snapshots/org/lightadmin/lightadmin/1.2.0.BUILD-SNAPSHOT/maven-metadata.xml
Downloading: http://lightadmin.org/nexus/content/repositories/releases/org/lightadmin/lightadmin/1.2.0.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.lightadmin:lightadmin:1.2.0.BUILD-SNAPSHOT/maven-metadata.xml from/to lightadmin-nexus-snapshots (http://lightadmin.org/nexus/content/repositories/snapshots): lightadmin.org: Temporary failure in name resolution
[WARNING] Could not transfer metadata org.lightadmin:lightadmin:1.2.0.BUILD-SNAPSHOT/maven-metadata.xml from/to lightadmin-nexus-releases (http://lightadmin.org/nexus/content/repositories/releases): lightadmin.org
Downloading: http://lightadmin.org/nexus/content/repositories/releases/org/lightadmin/light-logging-configurer/1.0.0.BUILD-SNAPSHOT/maven-metadata.xml
Downloading: http://lightadmin.org/nexus/content/repositories/snapshots/org/lightadmin/light-logging-configurer/1.0.0.BUILD-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.lightadmin:light-logging-configurer:1.0.0.BUILD-SNAPSHOT/maven-metadata.xml from/to lightadmin-nexus-snapshots (http://lightadmin.org/nexus/content/repositories/snapshots): lightadmin.org
[WARNING] Could not transfer metadata org.lightadmin:light-logging-configurer:1.0.0.BUILD-SNAPSHOT/maven-metadata.xml from/to lightadmin-nexus-releases (http://lightadmin.org/nexus/content/repositories/releases): lightadmin.org
[WARNING] Failure to transfer org.lightadmin:light-logging-configurer:1.0.0.BUILD-SNAPSHOT/maven-metadata.xml from http://lightadmin.org/nexus/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of lightadmin-nexus-snapshots has elapsed or updates are forced. Original error: Could not transfer metadata org.lightadmin:light-logging-configurer:1.0.0.BUILD-SNAPSHOT/maven-metadata.xml from/to lightadmin-nexus-snapshots (http://lightadmin.org/nexus/content/repositories/snapshots): lightadmin.org
[WARNING] Failure to transfer org.lightadmin:light-logging-configurer:1.0.0.BUILD-SNAPSHOT/maven-metadata.xml from http://lightadmin.org/nexus/content/repositories/releases was cached in the local repository, resolution will not be reattempted until the update interval of lightadmin-nexus-releases has elapsed or updates are forced. Original error: Could not transfer metadata org.lightadmin:light-logging-configurer:1.0.0.BUILD-SNAPSHOT/maven-metadata.xml from/to lightadmin-nexus-releases (http://lightadmin.org/nexus/content/repositories/releases): lightadmin.org
Downloading: http://lightadmin.org/nexus/content/repositories/snapshots/org/lightadmin/light-logging-configurer/1.0.0.BUILD-SNAPSHOT/light-logging-configurer-1.0.0.BUILD-SNAPSHOT.pom
Downloading: http://lightadmin.org/nexus/content/repositories/releases/org/lightadmin/light-logging-configurer/1.0.0.BUILD-SNAPSHOT/light-logging-configurer-1.0.0.BUILD-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] LightAdmin ......................................... SUCCESS [  0.582 s]
[INFO] LightAdmin Dev Kit ................................. SUCCESS [  0.003 s]
[INFO] LightAdmin SandBox ................................. FAILURE [ 20.424 s]
[INFO] LightAdmin Selenium ................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.299 s
[INFO] Finished at: 2017-11-01T10:51:09+08:00
[INFO] Final Memory: 24M/383M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project lightadmin-sandbox: Could not resolve dependencies for project org.lightadmin:lightadmin-sandbox:war:1.2.0.BUILD-SNAPSHOT: Failed to collect dependencies at org.lightadmin:light-logging-configurer:jar:1.0.0.BUILD-SNAPSHOT: Failed to read artifact descriptor for org.lightadmin:light-logging-configurer:jar:1.0.0.BUILD-SNAPSHOT: Could not transfer artifact org.lightadmin:light-logging-configurer:pom:1.0.0.BUILD-SNAPSHOT from/to lightadmin-nexus-snapshots (http://lightadmin.org/nexus/content/repositories/snapshots): lightadmin.org: Unknown host lightadmin.org -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :lightadmin-sandbox

Their nexus repo is down.


Generate a call from HA ?

Hi
I'm trying to generate a call programmatically from HA but it works half way ! I can generate the call but it's always displayed as coming from Anonymous and not the extension I have setup in the service call as below. Both extensions 100 and 100 are well registered in system. Any ideas what's wrong there ? or is it a limitation of the addon ?
service: asterisk.send_action
data:
  action: Originate
  parameters:
    channel: PJSIP/100
    context: default
    exten: "101"
    priority: "1"
    caller_id: Home Assistant
    timeout: 60000

Thanks
Vincèn

@felipecrs thanks for your answer. Just to be sure the field exten: is supposed to be the extension from which the call is done no or looks to be done no ?

It works in my case. Did you maybe add a name in the card config?
Maybe try with an extension that isn't configured in the card.

I don't use it with the card, I call the service from a button to ring a phone (sort of call bell).

Ah I see, there is a mistake in the docs. Try callerid instead of caller_id.
I updated the docs, thanks.

Ah I see, there is a mistake in the docs. Try callerid instead of caller_id.
I updated the docs, thanks.
Please let me know if that still doesn't work for you.

Thanks for the update, works perfect now ;-)


Page allocator used by CustomHeap's metadata don't need standing free page

The CustomHeap metadata isn't very big and we don't allocate them too often.
So we don't need standing free page for it (i.e. only commit if a page is in use)

LGTM


Use voluptuous for Hikvisioncam switch

Description:
Migration of the configuration check to voluptuous.
Related issue (if applicable): fixes 127528299
Example entry for configuration.yaml (if applicable):
switch:
    platform: hikvisioncam
    host: <IP_ADDRESS>
    port: 80
    name: Hikvision Cam 1 Motion Detection
    username: USERNAME
    password: PASSWORD

@rmkraus, would be nice if you could take a look at the changes and run a quick test. Thanks.

:dolphin:


screengrab crashes after upgrade to 2.136.0 from 2.126.0

New Regression Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Regression Information

Breaking version: 2.136.0
Last working version: 2.135.2

Regression Description
fastlane screengrab is crashing after update to 2.136.0. it happens on macos catalina and mojave. 2.135.2 worked fine.
/Library/Ruby/Gems/2.3.0/gems/fastlane-2.136.0/fastlane_core/lib/fastlane_core/fastlane_pty.rb:24:in spawn': [!] No such file or directory - fork failed (FastlaneCore::FastlanePtyError)
`
Complete output when running fastlane, including the stack trace and command used

fastlane screengrab                        165ms  Mon Nov 18 17:08:20 2019
[✔] 🚀
[17:08:43]: fastlane detected a Gemfile in the current directory
[17:08:43]: however it seems like you don't use `bundle exec`
[17:08:43]: to launch fastlane faster, please use
[17:08:43]:
[17:08:43]: $ bundle exec fastlane screengrab
[17:08:43]:
[17:08:43]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[17:08:43]: Successfully loaded '/a/path/Screengrabfile' 📄
+-----------------------------+---------------------------------------------------------+
|                        Detected Values from './Screengrabfile'                        |
+-----------------------------+---------------------------------------------------------+
| launch_arguments            | ["isScreengrab true"]                                   |
| build_tools_version         | 27.0.1                                                  |
| reinstall_app               | false                                                   |
| app_apk_path                | a/path/an.apk                                           |
| tests_apk_path              | another/path/aTest.apk                                  |
| app_package_name            | my.company                                              |
| tests_package_name          | my.company.test                                         |
| use_tests_in_packages       | ["my.company.app.tests"]                                |
| test_instrumentation_runner | my.company.RxTestRunner                                 |
| output_directory            | fastlane/screenshots                                    |
| clear_previous_screenshots  | false                                                   |
| skip_open_summary           | true                                                    |
+-----------------------------+---------------------------------------------------------+
[17:08:43]: The aapt command could not be found relative to your provided ANDROID_HOME at //Users/my.name/Library/Android/sdk
[17:08:43]: Please ensure that the Android SDK is installed and you have the build tools downloaded
+-----------------------------+---------------------------------------------------------+
|                            Summary for screengrab 2.136.0                             |
+-----------------------------+---------------------------------------------------------+
| android_home                | //Users/my.name/Library/Android/sdk                |
| build_tools_version         | 27.0.1                                                  |
| locales                     | ["en-US"]                                               |
| clear_previous_screenshots  | false                                                   |
| output_directory            | fastlane/screenshots                                    |
| skip_open_summary           | true                                                    |
| app_package_name            | my.company.app                            |
| tests_package_name          | my.company.app.test                                    |
| use_tests_in_packages       | ["my.company.app.tests"]                     |
| launch_arguments            | ["isScreengrab true"]                                   |
| test_instrumentation_runner | my.company.RxTestRunner                  |
| ending_locale               | en-US                                                   |
| use_adb_root                | false                                                   |
| app_apk_path                | a/path/an.apk                                           |
| tests_apk_path              | another/path/aTest.apk                                  |
| device_type                 | phone                                                   |
| exit_on_test_failure        | true                                                    |
| reinstall_app               | false                                                   |
| use_timestamp_suffix        | true                                                    |
| clean_status_bar            | false                                                   |
+-----------------------------+---------------------------------------------------------+
[17:08:44]: $ //Users/my.name/Library/Android/sdk/platform-tools/adb devices -l
[17:08:44]: ▸ List of devices attached
[17:08:44]: ▸ emulator-5554          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:1
[17:08:44]: $ //Users/my.name/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell echo $EXTERNAL_STORAGE
[17:08:44]: ▸ /sdcard
[17:08:44]: Cleaning screenshots on device
[17:08:44]: $ //Users/my.name/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell rm -rf /sdcard/de.wetteronline.wetterapppro/screengrab
ls: /data/data/de.wetteronline.wetterapppro/app_screengrab: Permission denied
[17:08:44]: Exit status: 1
ls: /data/user/0/de.wetteronline.wetterapppro/files/de.wetteronline.wetterapppro/screengrab/en-US/images/screenshots: Permission denied
[17:08:44]: Exit status: 1
[17:08:44]: The aapt command could not be found on your system, so your app APK could not be validated
[17:08:44]: $ //Users/my.name/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop ro.build.version.sdk
[17:08:44]: ▸ 29
[17:08:44]: $  dump badging wetterApp/build/outputs/apk/googleWetterappPro/uitest/wetterApp-google-wetterapp-pro-uitest.apk
No such file or directory - fork failed
Looking for related GitHub issues on fastlane/fastlane...
➡  Non-macOS platform support (Windows + Linux)
https://github.com/fastlane/fastlane/issues/11687 [open] 82 💬
3 weeks ago
➡  iTMSTransporter using Signiant upload method even with -t DAV override
https://github.com/fastlane/fastlane/issues/15375 [closed] 41 💬
a week ago
➡  [pilot] Uploading an IPA to TestFlight fails under Linux
https://github.com/fastlane/fastlane/issues/14256 [closed] 29 💬
01 Aug 2019
and 9 more at: https://github.com/fastlane/fastlane/search?q=No such file or directory - fork failed&type=Issues&utf8=✓
🔗  You can ⌘ + double-click on links to open them directly in your browser.
/Library/Ruby/Gems/2.3.0/gems/fastlane-2.136.0/fastlane_core/lib/fastlane_core/fastlane_pty.rb:24:in spawn': [!] No such file or directory - fork failed (FastlaneCore::FastlanePtyError) 	from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.136.0/fastlane_core/lib/fastlane_core/fastlane_pty.rb:24:in spawn'
from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.136.0/fastlane_core/lib/fastlane_core/command_executor.rb:52:in execute' 	from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.136.0/screengrab/lib/screengrab/runner.rb:399:in enable_clean_status_bar'
from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.136.0/screengrab/lib/screengrab/runner.rb:75:in run' 	from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.136.0/screengrab/lib/screengrab/commands_generator.rb:49:in block (2 levels) in run'
from /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in call' 	from /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in run'
from /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in run_active_command' 	from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.136.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in run!'
from /Library/Ruby/Gems/2.3.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in run!' 	from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.136.0/screengrab/lib/screengrab/commands_generator.rb:67:in run'
from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.136.0/screengrab/lib/screengrab/commands_generator.rb:19:in start' 	from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.136.0/fastlane/lib/fastlane/cli_tools_distributor.rb:111:in take_off'
from /Library/Ruby/Gems/2.3.0/gems/fastlane-2.136.0/bin/fastlane:23:in <top (required)>' 	from /usr/local/bin/fastlane:23:in load'
from /usr/local/bin/fastlane:23:in `'

Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.14.6

Ruby
2.3.7

Bundler?
false

Git
git version 2.24.0

Installation Source
/usr/local/bin/fastlane

Host
Mac OS X 10.14.6 (18G103)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib

OpenSSL Version
LibreSSL 2.6.5

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
11.2.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.136.0
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-firebase_app_distribution
undefined
💥 Check failed

Loaded gems

Gem
Version

did_you_mean
1.0.0

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
3.0.1

claide
1.0.3

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.10.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.6.0

terminal-table
1.8.0

plist
3.5.0

public_suffix
2.0.5

addressable
2.6.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.7.0

tty-cursor
0.7.0

tty-spinner
0.9.1

babosa
1.0.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.64.0

faraday
0.17.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
0.13.1

fastimage
2.1.5

gh_inspector
1.1.3

json
<IP_ADDRESS>

mini_magick
4.9.5

multi_xml
0.6.0

rubyzip
1.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.7.4

bundler
2.0.2

naturally
2.2.0

simctl
1.6.5

jwt
2.1.0

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mime-types-data
3.2019.0331

mime-types
3.2.2

multi_json
1.13.1

signet
0.11.0

memoist
0.16.0

os
1.0.1

googleauth
0.6.7

httpclient
2.8.3

google-api-client
0.23.9

google-cloud-env
1.2.0

google-cloud-core
1.3.0

digest-crc
0.4.1

google-cloud-storage
1.16.0

emoji_regex
1.0.1

io-console
0.4.5

libxml-ruby
2.9.0

psych
<IP_ADDRESS>

generated on: 2019-11-18

Just tested the more recent version 2.135.2 and it works too. I will update above.

Same situation for me on osx mojave, fastlane screengrab does this now

Had exactly the same issue. I reinstalled fastlane gem after updating macOs to Catalina and ended up with the newest version which failed with this error. Downgraded to version suggested by @henningBunk and it works.

Looks like it was an issue to do with the new clean status bar functionality trying to use aapt when fastlane doesn't find it - it can be mitigated by setting the ANDROID_HOME env variable or passing android_home to screengrab, but above PR will handle it better I think.

I have ANDROID_HOME set and when I set it up I made sure that aapt is available.
Turned out that the build tools version that was set in the Screengrabfile wasn't up to date with the version used on the CI runners so aapt went missing some time ago without anyone noticing.
Now 2.136.2 is working again and I can get rid of my selfmade statusbar cleanup 👍

That was it; I had been using fastlane screengrab for so long I didn't even have a build_tools_version specified in my Screengrabfile, nor did I have an ANDROID_HOME location set.  I took care of these things, noted aapt running on 2.135.2, upgraded to 2.136.0, and all is still working nicely.  Thank you!

Thanks for fixing this.


EPSG 4326 Support Broken for TileLayers

Map's created with crs: L.CRS.EPSG4326 appear to be broken.  http://jsfiddle.net/hueBa/3/ shows the issue.  The map only displays the western hemisphere of the earth and the marker is incorrectly positioned.
EPSG4326 L.TileLayer.WMS layers seem to work fine though.

@davidchouse can you provide a snippet of how you used scale?

@scottlepp - I no longer have any issues with 4326.

I'm on 0.7.x.  It appears the scale function should work on 0.7.x?  Trying @davidchouse example here:  http://plnkr.co/edit/rGH91y?p=preview

@scottlepp and @davidchouse I am using 0.8 with no problems.

@DrYSG tried 1.0 but still no luck:  http://plnkr.co/edit/2KZdXt?p=preview

@scottlepp You're missing a { in your URL for {x}.
http://plnkr.co/edit/ZRJZv5zRM7OkXmfkLBh2?p=preview

Oops...thanks @RyanHickman

It's working on 0.7.x with a custom crs (based on what leaflet 1.0 is doing):  http://plnkr.co/edit/rGH91y?p=preview

I got this offset, X axis is correct, Y axis is wrong, anyone know how to fix it?

My code:
 var myCrs = L.extend({}, L.CRS.EPSG4326, {
          transformation: new L.Transformation(1 / 360, 0.5, -1 / 360, 0.5),
          }
        );
        var map = L.map('mapid', {
          crs: myCrs,
          zoomControl: false,
          attributionControl: false,
          zoomSnap: 0.25,
          maxBoundsViscosity: 1.0,
        })
       googlemap = 'http://<IP_ADDRESS>:8082/maps/vt?lyrs=s&gl=cn&x={x}&y={y}&z={z}&time=1602824597685&scale=2'
       var googleTerrain = L.tileLayer(googlemap, {})


two wired numbers in graph model

edge_mat = torch.zeros(len(inverse_label_list), len(inverse_label_list), 15, dtype=torch.long)
self.distance_embedding = nn.Embedding(20, 1, 0)
Question: why do you set 15 as the third dimension size of edge matrix and 20 as the first dimension size of distance embedding? Do they differ from other numbers?

They are set casually. These two numbers can be set to any number larger than the maximum distance between two nodes. I set to 15 and 20 because they work just fine and there is no need to tune these numbers according to different datasets.

ok thanks!


Property:statusEndDate

Label
Status End Date

Definition
The date on which the recorded status stopped being applicable.

Usage

Existing property

Existing class

Existing property identifier

Format
Date

Required
No

Repeatable
No

Constraints
ISO 8601 date format. See also https://www.w3.org/TR/NOTE-datetime

Examples
2012-09-27

Notes
This date is not necessarily the end of the collection (e.g. destroyed), but the date that corresponds with the status as recorded in the corresponding Status term.

Definition: End date of a status of the Collection (conservation or development Status?)
Format: Date
Constraint:  ISO 8601 date format, resolved to day, month or year

Development status

Full ISO dates are hard to generate so agreed to use the following format:
https://www.w3.org/TR/NOTE-datetime

How are the statusEndDate and statusStartDate here in CollectionHistory different from the information recorded by TemporalCoverage?


[Resource] Refactor deployment commands

History Notes:
[ARM] Add az deployment group and az deployment operation group for template deployment at resource groups. This is a duplicate of az group deployment and az group deployment operation.
[ARM] Add az deployment sub and az deployment operation sub for template deployment at subscription scope. This is a duplicate of az deployment and az deployment operation.
[ARM] Add az deployment mg and az deployment operation mg for template deployment at management groups.
[ARM] Add az deployment tenant and az deployment operation tenant for template deployment at tenant scope.

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

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

@Juliehzl can you help review this PR? I have a few more changes to make but most of them are in place.

@Juliehzl please help with this PR.

@Tiano2017 Can you resolve the conflict for your PR?

Please don't merge this PR as we'll make some design changes.

Any update for this PR?

Any update for this PR?

Not yet. we'll need to redesign the commands. will update the PR once the new design is locked down.

@Juliehzl the PR is ready for review. can you help take a look?

@qwordy, @Juliehzl could you review this PR please?

Oh, some tests failed.
e.g.
No match for the request (<Request (POST) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/domaintemplate/validate?api-version=2019-07-01>) was found.
Found 1 similar requests with 1 different matcher(s)
You need to run test with --live to record it.

Oh, some tests failed.
e.g.
No match for the request (<Request (POST) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/domaintemplate/validate?api-version=2019-07-01>) was found.
Found 1 similar requests with 1 different matcher(s)
You need to run test with --live to record it.

Thanks. There are two failures. I was able to record "test_sqlvm_add_and_remove", but for "test_deploymentmanager_scenario" I'm getting a weird error: 'test_deploymentmanager_scenario' exists twice in the 'deploymentmanager' module. Please rename one or both and re-run --discover.
I don't have any change in the "deploymentmanager" module. I also tried with the upstream/dev branch, and got the same error. Any suggestions around that?

Oh, some tests failed.
e.g.
No match for the request (<Request (POST) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/clitest.rg000001/providers/Microsoft.Resources/deployments/domaintemplate/validate?api-version=2019-07-01>) was found.
Found 1 similar requests with 1 different matcher(s)
You need to run test with --live to record it.

Thanks. I saw two test failures. I was able to record "test_sqlvm_add_and_remove", but for "test_deploymentmanager_scenario" I'm getting a weird error: 'test_deploymentmanager_scenario' exists twice in the 'deploymentmanager' module. Please rename one or both and re-run --discover.
I don't have any change in the "deploymentmanager" module. I also tried with the upstream/dev branch, and got the same error. Any suggestions around that?

Maybe there is a test case with same name in other modules?
Delete the recording file and try again.
Or You can checkout to a new branch from latest dev, create a new python virtual env. Add a test case "test_deploymentmanager_scenario". Then run it. If no error, then you can paste your changes to this new branch.

@Tiano2017 if it is ready to merge, pls remove the DoNotMerge label.

@Juliehzl is there's anything else I need to update on this PR, except the conflicts which I'll resolve on Monday?

@bim-msft The CI run is passing now. let me know if there's any other issue.

@Juliehzl @zhoxing-ms @bim-msft can you please merge this PR if there's no open issue?

Please use resource_group_preparer() for your test. Refer to https://github.com/Azure/azure-cli/blob/dev/doc/authoring_tests.md#sample-4-prepare-a-resource-group-for-a-test

thanks for catching that. I've updated for the deployment test at resource group scope. The other scopes don't require a resource group to start, so I left those unchanged.

I added history notes in PR description. From now on, you do not need to modify HISTORY.rst. Instead please use PR title or PR description for history notes. See instructions here.

I added history notes in PR description. From now on, you do not need to modify HISTORY.rst. Instead please use PR title or PR description for history notes. See instructions here.

I have updated the PR title. Is there anything else missing?

I added history notes in PR description. From now on, you do not need to modify HISTORY.rst. Instead please use PR title or PR description for history notes. See instructions here.

Thanks! I have updated the PR title. Is there anything else missing? Do I need to revert the changes in HISTORY.rst?

Since the history notes is under ARM, you probably also want to put [ARM] instead of [Resource] in title?

I added history notes in PR description. From now on, you do not need to modify HISTORY.rst. Instead please use PR title or PR description for history notes. See instructions here.

Thanks! I have updated the PR title. Is there anything else missing? Do I need to revert the changes in HISTORY.rst?

Since the history notes is under ARM, you probably also want to put [ARM] instead of [Resource] in title?
You can delete your changes in HISTORY.rst or leave them there. The script to generate history notes will clean up manually written notes and then generate notes based on PR title or description. I suggest you to delete them so we can avoid conflicts when merging changes in HISTORY.rst for multiple PRs.

I've updated the PR title and reverted changes in HISTORY.rst.

@zhoxing-ms  please help with the PR.


10524 DEV Update api/systemMachineImages/post.js and put.js to handle runtimeTemplateId

https://github.com/Shippable/pm/issues/10524

This is done.


nixos/make-test: don't pick up impure overlays

Motivation for this change
Specify overlays = [] to prevent nixpkgs from evaluating overlays from
$HOME etc.
Things done

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

[ ] 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 nix-review --run "nix-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.

Notify maintainers
cc @tfc @Ekleog @aszlig

Several nixos tests also imported nixpkgs but left out the overlays argument (impure). Added a 2nd commit to fix those.

Hm, maybe it's a better idea to just import ../../pkgs/top-level instead, because every time there is a new attribute added to impure.nix we need to change the arguments of all those imports again?

Hm, maybe it's a better idea to just import ../../pkgs/top-level instead, because every time there is a new attribute added to impure.nix we need to change the arguments of all those imports again?

That sounds like a good idea, but I'm not sure what to pass to the one and only mandatory ../../pkgs/top-level/default.nix argument named localSystem. On my x86 system it seems the localSystem value passed is {}. Is that a reasonable value to "hardcode" into all nixpkgs imports in the various nixos tests? Ping @Ericson2314.

Hopefully unneeded now that https://github.com/NixOS/nixpkgs/pull/203028 is merged (and a lot of refactoring since this diff was made).


Number by current heading

Location: https://sitandr.github.io/typst-examples-book/book/snippets/math/numbering.html#numbering
Importance: The current math numbering snippet has two issues:

It uses locate which discards the correct context provided to the numbering since Typst 0.11.
It uses counter(heading.where(level: 1)), which isn't the idiomatic heading counter. It will count top-level headings, but ignore user-supplied counter(heading).update(..) updates.

Snippet: The snippet below fixes that:
#set math.equation(numbering: n => {
  let h1 = counter(heading).get().first()
  numbering("(1.1)", h1, n)
})

Thanks a lot!
I'm planning to update all possible snippets to new context system eventually on myself, not sure about time though.

Hi - please see the comment on https://github.com/sitandr/typst-examples-book/commit/4a6adffc2b1ea950c383f757c06b867fefb4ce38 :)


Update Composer dependencies (2022-04-20-00-08)

Visual regression test passed!
View the visual regression test report


"Sign in" window issue (OIDC and AD Configured)

When sign in is selected and OIDC and AD are configured, the login window shows the OIDC (Azure) Authentication page, with the AD Authentication page overlayed on top of it.
xCreds 4.1 (6346)

Can you consistantly replicate this? We have had trouble getting it to happen.

timo
9:49 PM
new build is up! PreBeta-XCreds_Build-6357_Version-4.1.pkg

In xCreds 4.1 (6346) I can consistently replicate the issue.  I upgraded to 4.1 (6357) though and verified that the issue has been resolved.

I think i fixed this is PreBeta-XCreds_Build-6360_Version-4.1. I could not replicate to fix, but i made sure that both windows can't be shown at the same time.

Updated to 6360 and not seeing it, but I couldn't reproduce after 6357 either, I previously downgraded to 6346 and verified it was reproduceable on that version with the same mobileconfig file, so I think it is safe to say you have squashed this one.
Thanks Tim!


Presence updates don't update the user

In a situation where user's properties change, presence update has a user property with more than just Id set.

Fixed by e9e525116a155aaceaf2c0be5298d2d819ce3bf2.


Ultrasonic sensor does not work

I have the PWM DC5V Ultrasonic ranging sensor ultrasonic waterproof distance sensor waterproof probe RS485. It produces constant output between PWM and GND. It suggests it is likely relying on RS485 communication, which requires a RS485 to TTL converter module.
I might get another probe, such as the DYP-A02YY Waterproof sensor. Links

https://www.amazon.ca/-/fr/Taidacent-Détecteur-détection-stationnement-ultrasonique/dp/B082D96911/ref=cm_cr_arp_d_product_top?ie=UTF8&th=1
UART: https://www.amazon.ca/dp/B0CLVSQ7H5/ref=sspa_dk_detail_6?psc=1&pd_rd_i=B0CLVSQ7H5&pd_rd_w=R1Tml&content-id=amzn1.sym.516c2169-755e-413a-a38a-68230f4ab66f&pf_rd_p=516c2169-755e-413a-a38a-68230f4ab66f&pf_rd_r=5E50R0Z4GDH9DWDWFVVA&pd_rd_wg=5oBsF&pd_rd_r=6f7fe85e-fe71-4bf9-bd98-21bbf78c1357&s=photo&sp_csd=d2lkZ2V0TmFtZT1zcF9kZXRhaWw
https://www.aliexpress.com/item/1005003107797097.html

Related resource:

https://forum.arduino.cc/t/help-understanding-breaking-down-this-code/699362/12
https://forum.arduino.cc/t/monitoring-the-level-of-an-underground-water-tank/1147820/29

Datasheet of sensor: https://www.dypcn.com/uploads/A02-Datasheet.pdf

Additional debugging, useful ressource:

https://forum.arduino.cc/t/dyp-a02yy-waterproof-sensor/1154338/18
https://forum.arduino.cc/t/sensor-shows-the-same-value-a02yyuw/859239/7

Ended up buying an HC-SR04.


Optionally disable automatic configuration

I'm using this container in combination with ansible.
As such, I use ansible to manage the ipconfig.php file, with all its configurations.
Unfortunately, this container overwrites the values in the config, which means I must set all the environment variables like the domain name and database settings.
Would be nice if this could be optional, like having a parameter to disable the automatic configuration, thereby skipping the modifications of the ipconfig.php file.
@sameersbn
Or is this somehow built in and I'm missing something?

I'm having a similar issue. Every time the container restarts, I have to wait for it to come up, then manually edit the ipconfig.php file to get it working again. I'd like to lock it down to never change, or accept the config folder's version as the main one.

@lukebarone This project is abandoned unfortunately...


Right-click opens FSI window

Build a release build of the VS tools in latest master.
Install the release VSIX.
Right-click in a file.

Duplicate of #1313, so it happens in VS2015 too.

This was actually fixed between vs2015 Update 3 and dev15 Preview 4.  However this doesn't quite behave the same way as the Update 3 bug.

Also important to note that dev15 Preview 4 was using the old language service.


Added if/else to use full post content when there is no summary

Reasoning: for very short posts for which there is no need for a summary. A summary should be optional by default.
The "Read More" could be pulled outside of the if/else but imo clicking a link called "Read more" only to find there is no more feels weird and it's annoying to have to put "" at the bottom of every post.

I showed you my source code, please respond


Using newest,  NameError: name 'Compatiblity_Mode' is not defined in Dreambooth downloading model block

Just as the title says.
NameError                                 Traceback (most recent call last)
 in
119     get_ipython().system('mkdir /content/stable-diffusion-v1-5')
120     with capture.capture_output() as cap:
--> 121       if Compatiblity_Mode:
122         get_ipython().system('wget https://raw.githubusercontent.com/huggingface/diffusers/039958eae55ff0700cfb42a7e72739575ab341f1/scripts/convert_original_stable_diffusion_to_diffusers.py')
123         get_ipython().system('python /content/convert_original_stable_diffusion_to_diffusers.py --checkpoint_path "$CKPT_Path" --dump_path /content/stable-diffusion-v1-5')
NameError: name 'Compatiblity_Mode' is not defined
From the code
Compatibility_Mode="" #@param {type:"boolean"}
#@markdown - Enable only if you're getting conversion errors.
if os.path.exists(str(CKPT_Path)):
!mkdir /content/stable-diffusion-v1-5
with capture.capture_output() as cap:
if Compatiblity_Mode:
!wget https://raw.githubusercontent.com/huggingface/diffusers/039958eae55ff0700cfb42a7e72739575ab341f1/scripts/convert_original_stable_diffusion_to_diffusers.py
!python /content/convert_original_stable_diffusion_to_diffusers.py --checkpoint_path "$CKPT_Path" --dump_path /content/stable-diffusion-v1-5
!rm /content/convert_original_stable_diffusion_to_diffusers.py
else:

Already posted in
https://github.com/TheLastBen/fast-stable-diffusion/issues/566


[DC-540] Add person_gender_sex notebook

@ksdkalluri I have fixed the print statement on top and addressed errors when tables exist already


[Error parse mp4] Some video get error when i parse

Picture were cut

Hi,
Could you please give me such video for investigation?
Thank you.
Best regards,
Gennadiy Kozlenko
On Sat, Mar 10, 2018 at 4:15 AM, duyanhstar<EMAIL_ADDRESS>wrote:

Picture were cut
[image: image]
https://user-images.githubusercontent.com/14048444/37236508-07d01b82-243b-11e8-9b68-9ed6196805c6.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pipll/node-video-lib/issues/6, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAyfN26in2NWt91qfQef6flSysG6C25Tks5tcyk5gaJpZM4SlEwh
.

Hi,
I've fixed a bug in the HLSPacketizer module. Could you please check if this error has disappeared or not?
Thank you.


"$ gitea change-password" cli command not properly escaping '&'

Gitea version (or commit ref): Gitea version 1.10.6 built with GNU Make 4.1, go1.13.8 : bindata, sqlite, sqlite_unlock_notify
Git version: 2.17.1
Operating system: Ubuntu 18.04.3 (LTS) x64
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Description
I noticed after completing initial configuration of Gitea my admin credentials were not accepted. In a attempt to resolve this I ran the following command at my server:
./gitea admin change-password --config /etc/gitea/app.ini --username nmartin --password 0PSJ668FqB2*oXc&4ADi0Dqe4597W[h_[M
Note the char '&' in the password.
The following success message was output to stdout:
[1] 1064 2020/03/28 04:20:05 ...dules/setting/git.go:87:newGit() [I] Git Version: 2.17.1 2020/03/28 04:20:05 .../xorm/session_raw.go:76:queryRows() [I] [SQL] SELECT id, lower_name,  ... sql.. blah.. blah blah.. sql.. nmartin's password has been successfully updated! 4ADi0Dqeb9t7W[h_[M: command not found
The last line reads: 4ADi0Dqe4597W[h_[M: command not found
I noticed that this was everything after the '&' in my password. It lead me to believe that the ampersand was not correctly being escaped. I was able to login using the first part of my password.
Anyway.. hope this help.
PS.. Yes.. I've changed my creds before posting this  ;)

Are you sure that this is not your shell picking up the & ? Stick the password in quotes and try again?

As @zeripath said, you're typing that command in a shell (bash probably?). Shells process parameters before invoking the commands, and & is a special character in most *nix shells. You need to use single quotes to enclose strings with special characters. & means "execute the previous command in background and keep looking for commands in the rest of the line. For example:
$ echo hello1 & sleep 1 & echo hello2 & sleep 1 ; echo hello3
[1] 884                                                 <--- process ID for "echo hello1"
hello1                                                  <--- output of "hello1"
[2] 885                                                 <--- process ID for "sleep 1"
[3] 886                                                 <--- process ID for "echo hello2"
hello2                                                  <--- output of "hello2"
[1]   Done                    echo hello1               <--- message from bash saying that [1] finished
[2]-  Done                    sleep 1                   <--- message from bash saying that [2] finished
[3]+  Done                    echo hello2               <--- message from bash saying that [3] finished
hello3                                                  <--- output of "sleep 1 ; echo hello3"

But the time gitea change-password is invoked, your shell already took the & character and separated the tokens so there's nothing gitea can do. Usually using the ' character to enclose the special characters will do, unless you want a ' inside the string as well, in which case you need to use \':
$ echo 'hello1 & sleep 1 & echo hello2 & sleep 1' ; echo hello3
hello1 & sleep 1 & echo hello2 & sleep 1
hello3

Other special characters you must be aware of are \, $, (, ), ^ (in some shells) and the back tick.

Of course! Haha. Wow.. I feel dumb. My bad.


Include property (for associations) seems to be not supported

Hi,
Mock-Sequelize doesn't seem to support the "include" property from Sequelize.
Here is an example of use :
const db = {};

// Creating a fake sector table
db.sector = dbMock.define(
  'sector',
  {
    name: 'Test sector',
    event_id: 1,
    created_at: '2018-11-18 00:00:01',
    updated_at: '2018-11-18 00:00:01',
    deleted_at: null,
  });

// Creating a fake event table
db.event = dbMock.define('event', {
  name: 'Test event,
  created_at: '2018-11-18 00:00:01',
  updated_at: '2018-11-18 00:00:01',
  deleted_at: null,
});

// Creating a relationship between sector and event
db.sector.belongsTo(db.event, { foreignKey: 'event_id' });

Above, I created two fake tables and now I want to get the event relative to a sector based on his id.
So I have three choices :
1- Get the event with the function sector.getEvent() after getting my sector through a query.
2- Get the event through a query (like : event.findOne(... where: {id : sector.event_id}...))
3- Get the event through the property include like this :
const sectorsQuery = {
      where: {
        id: params.id
      },
      include: [
        {
          model: db.event,
          required: true,
        }
      ]
    };
    const sector = await db.sector.findOne(sectorsQuery);

But the last one doesn't work with SequelizeMock and I don't know why...
Why does the include property works well when I use Sequelize but not SequelizeMock ?
Do you have any functional examples of use ? for 1, N and N, M queries ?
Or this feature is not (yet) supported by SequelizeMock ?
Thank you.

Any work on this?

i also need this feature. any update on this?

Hi,
Mock-Sequelize doesn't seem to support the "include" property from Sequelize.
Here is an example of use :
const db = {};

// Creating a fake sector table
db.sector = dbMock.define(
  'sector',
  {
    name: 'Test sector',
    event_id: 1,
    created_at: '2018-11-18 00:00:01',
    updated_at: '2018-11-18 00:00:01',
    deleted_at: null,
  });

// Creating a fake event table
db.event = dbMock.define('event', {
  name: 'Test event,
  created_at: '2018-11-18 00:00:01',
  updated_at: '2018-11-18 00:00:01',
  deleted_at: null,
});

// Creating a relationship between sector and event
db.sector.belongsTo(db.event, { foreignKey: 'event_id' });

Above, I created two fake tables and now I want to get the event relative to a sector based on his id.
So I have three choices :
1- Get the event with the function sector.getEvent() after getting my sector through a query.
2- Get the event through a query (like : event.findOne(... where: {id : sector.event_id}...))
3- Get the event through the property include like this :
const sectorsQuery = {
      where: {
        id: params.id
      },
      include: [
        {
          model: db.event,
          required: true,
        }
      ]
    };
    const sector = await db.sector.findOne(sectorsQuery);

But the last one doesn't work with SequelizeMock and I don't know why...
Why does the include property works well when I use Sequelize but not SequelizeMock ?
Do you have any functional examples of use ? for 1, N and N, M queries ?
Or this feature is not (yet) supported by SequelizeMock ?
Thank you.

were able find any alternative to this?


Replace original accessor properties with decompressed data properties

This addresses https://github.com/KhronosGroup/glTF/pull/1343 for compressed data.

Does the encoder have information about how many faces and points are in the encoded geometry, or is there a plan to add that?

Not currently, but we are going to look into adding it today. If we can add it, I can change this PR.

@lilleyse We added the encoder api to get number of points and faces in draco npm 1.3.3. I updated the PR to use this new API.


Use messagepack

Hey, I am actually using restease to conect different microservices. I love the simplest usability compared to other frameworks, attributes are the best. In order to improve performance between microservices I was thinking into change json serialization to messagepack. Both endpoints use .net5 asp.net core
How difficult would be? Where should I have to pay attention? Any advice is wellcome

Sure, should be easy enough. Start here: https://github.com/canton7/RestEase#deserializing-responses-responsedeserializer

Sure, should be easy enough. Start here: https://github.com/canton7/RestEase#deserializing-responses-responsedeserializer

Closing as no response.


Update stable version in repo from 2.3.1 to 3.0.3

Think about update stable version to 3.0.3
Version: stable=2.3.1 (1141 days old) => latest=3.0.3 (103 days old)
Installs: stable=5409 (89.11%), latest=528 (8.7%), total=6070
Click to edit

https://github.com/ioBroker/ioBroker.repositories/pull/2192


Source mapping is superslow

Probably it is better to modify Douglas' code to emit source mapping?

The main issue is we are mapping characters 1 by 1 when really we should be mapping ranges (e.g. 1-20 -> 3-15). If you are interested in improving that, then please look at source-map-index-generator.
https://github.com/twolfson/node-jsmin-sourcemap/blob/0.16.0/package.json#L36

Thank you for the reference!
On Tuesday, July 5, 2016, Todd Wolfson<EMAIL_ADDRESS>wrote:

The main issue is we are mapping characters 1 by 1 when really we should
be mapping ranges (e.g. 1-20 -> 3-15). If you are interested in improving
that, then please look at source-map-index-generator.
https://github.com/twolfson/node-jsmin-sourcemap/blob/0.16.0/package.json#L36
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/twolfson/node-jsmin-sourcemap/issues/2#issuecomment-230623569,
or mute the thread
https://github.com/notifications/unsubscribe/AD9MI65fi4GmFX-RN-M26AtMYT2K13xnks5qSt1fgaJpZM4JFdlp
.

--
Best Regards,
Ivan Borisenko

jsmin2 is intentionally a more/less direct port of the C library. If you want to refactor it, then it's no longer JSMin but another minification library.
For reference, nothing in the JSMin code detects words per-se; it strips out whitespace and comments when it's possible. This is done by walking on every single character which is the same as removing characters by index.
The main change that needs to occur in source-map-index-generator is that we should group rows/columns which are next to each other so it can be a much shorter final piece of data which will improve performance when read by browsers.

About slow performance I mean time of building comparing with node.js
version of jsmin without source maps support. Not even browser debugging
performance.
It is possible to made superfast partner for UglifyJS2 based on this.
On Thursday, July 7, 2016, Todd Wolfson<EMAIL_ADDRESS>wrote:

jsmin2 is intentionally a more/less direct port of the C library. If you
want to refactor it, then it's no longer JSMin but another minification
library.
For reference, nothing in the JSMin code detects words per-se; it strips
out whitespace and comments when it's possible. This is done by walking on
every single character which is the same as removing characters by index.
The main change that needs to occur in source-map-index-generator is that
we should group rows/columns which are next to each other so it can be a
much shorter final piece of data which will improve performance when read
by browsers.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/twolfson/node-jsmin-sourcemap/issues/2#issuecomment-231030840,
or mute the thread
https://github.com/notifications/unsubscribe/AD9MI232Rgd1f1Z6JtP8oG83kVPet0p_ks5qTMjBgaJpZM4JFdlp
.

--
Best Regards,
Ivan Borisenko

Ah, I see. For a performance issue like that, it's best to triage it by binary searching the code; start by removing all new code and verifying performance matches what we expect, then slowly restore pieces until it falls apart, then you have your bottleneck and contemplate what to do.


Update: Link to Data Collection on HuBMAP Portal

@juyingnan @katyb
I was reviewing materials for flagship papers and noticed on the companion website https://hubmapconsortium.github.io/vccf-visualization-2022/ there was a missing link for
“Link to Data Collection on HuBMAP Portal"
A link now exists on the HuBMAP data portal collections with this link:
https://portal.hubmapconsortium.org/browse/collection/34b068d4a926f77fd98b3d968b6c172f

@juyingnan @katyb I was reviewing materials for flagship papers and noticed on the companion website https://hubmapconsortium.github.io/vccf-visualization-2022/ there was a missing link for “Link to Data Collection on HuBMAP Portal"
A link now exists on the HuBMAP data portal collections with this link: https://portal.hubmapconsortium.org/browse/collection/34b068d4a926f77fd98b3d968b6c172f

Thank you very much. The link has been updated.


Put the engine on steam as a free download

Issue description (what happened, and what was expected):
Put the engine on steam as a free download like blender, to help spread the word about it and gather new volunteers along the way
Steps to reproduce:
Use early access on steam to submit the project.

It's already there..
On Aug 11, 2016 09:48, "ekaris"<EMAIL_ADDRESS>wrote:

Issue description (what happened, and what was expected):
Put the engine on steam as a free download like blender, to help spread
the word about it and gather new volunteers along the way
Steps to reproduce:
Use early access on steam to submit the project.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/6114, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z22A7P2DrZt0P1GbxkkJvoCdpIZamks5qexo0gaJpZM4JiFb6
.

https://lmddgtfy.net/?q=godot steam

Sorry I didn't see it, but speaking of steam I also say itch.io gog.com etc...

For some of those it might be harder than it seems.


Text and Shape issue

Hi,
I am using first-time bodymovin. I am working on one animation project for iOS app. I am facing problem in TEXT and Line+Color Filled Shape.
Here I am attaching file for better understanding. I will be thankful.
Zip file included file with .json, .ae, screenshot from desktop and mobile device.
text_shape_issue.zip

Hi, I don't think text is yet supported in iOS.
You should post it directly on their github, they'll have more info than I do.
https://github.com/airbnb/lottie-ios

Hello, Its fine if it not support text but why trimed shape not showing in output.
I saw they have sample animation with text, but its created with Path tool.

I'm having the same problem.

Hi, can you post this issue on the Lottie iOS repo so they can follow up on this?
I'm afraid I can't help much more with this issue

@niravmistrydesign @henriqrossatto This issue should be fixed in Lottie iOS 2.0 or above.


Support for uv Backend?

I have been a loyal CondaPkg.jl user for a while, and I love that I can use MicroMamba (and pip as needed) for the package resolution. I have recently gotten a lot of recommendations for https://github.com/astral-sh/uv to do the package resolution. Are there any thoughts/plans on adding this as a package resolution manager here (or elsewhere)?

It's already optionally supported - if you have uv as a dependency in any CondaPkg.toml file then it will be used instead of pip to install any pip dependencies.
I'm considering making it always use uv, with an option to choose pip instead.

Amazing! Happy to close the issue or leave it open as a placeholder to get this fact into the documentation (which I don't think is there, unless I missed it).

You can now control this behaviour with the pip_backend preference - see the readme. It is uv by default now. Will appear in the next release.

I just want to note that in during the runtest in this CI, test, the install from the CondaPkg.jl proceeds via micromamba. Is this unavoidable since we need to do at least one mamba/conda run to get pip/uv? I also will note that it downloaded pip rather than uv, which confused me based on the above discussion, but I am probably missing something in my CI set up?


Rendering issues with Impeller and canvas.drawVertices

Steps to reproduce

Run the sparkle_party vignette in both Impeller and Legacy modes. The code is open-source and you can check it out here: https://github.com/gskinnerTeam/flutter_vignettes/tree/master/vignettes/sparkle_party

Expected results
All particles should be sparkles
Actual results
Some of the particles are rendering as squares.
Note: It seems to be a layering/overlap issue, when you get too many particles stacked on top of each other, squares begin appearing. So we can reproduce with a relatively low number of particles (100) that are large in size, or a high number of small particles.
Code sample
The underlying rendering API used in this demo is an ImageShader + drawVertices API:
Code sample
class ParticleFXPainter extends CustomPainter {
  ParticleFX fx;

  // ParticleFX is a ChangeNotifier, so we can use it as the repaint notifier.
  ParticleFXPainter({required this.fx}) : super(repaint: fx);

  @override
  void paint(Canvas canvas, Size size) {
    if (fx.vertices == null || fx.spriteSheet.image == null) {
      return;
    }
    Paint paint = Paint()
      ..shader = ImageShader(fx.spriteSheet.image!, TileMode.clamp, TileMode.clamp, Matrix4.identity().storage);
    canvas.drawVertices(fx.vertices!, BlendMode.dstIn, paint);
  }

  @override
  bool shouldRepaint(_) => true;
}

Screenshots or Video

Screenshots / Video demonstration
Legacy

https://github.com/gskinnerTeam/flutter_vignettes/assets/736973/42c8781e-7c74-41ce-ab28-7d4b74435e95
Impeller

https://github.com/gskinnerTeam/flutter_vignettes/assets/736973/7191cd44-168e-499c-8d43-4e5db9388716

Flutter Doctor output
Doctor output
[√] Flutter (Channel stable, 3.19.3, on Microsoft Windows [Version 10.0.19045.3693], locale en-US)
    • Flutter version 3.19.3 on channel stable at C:\_dev\sdks\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ba39319843 (), 2024-03-07 15:22:21 -0600
    • Engine revision 2e4ba9c6fb
    • Dart version 3.3.1
    • DevTools version 2.31.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\Shawn\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio3\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Community 2019 16.9.2)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.9.31112.23
    • Windows 10 SDK version 10.0.19041.0

[!] Android Studio (version 2021.3)
    • Android Studio at C:\Program Files\Android\Android Studio2
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    X Unable to determine bundled Java version.
    • Try updating or re-installing Android Studio.

[√] Android Studio (version 2022.3)
    • Android Studio at C:\Program Files\Android\Android Studio3
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = C:\Program Files\Android\Android Studio3
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-b2043.56-10027231)

[√] VS Code (version 1.87.2)
    • VS Code at C:\Users\Shawn\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.25.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.3693]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 122.0.6261.131
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 122.0.2365.92

[√] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

This is due to the implementation of VerticesContents::Render.
The app is drawing a large number of overlapping partially transparent sprites using a Vertices with texture coordinates, colors, and the dstIn blend mode.
VerticesContents::Render creates a source Contents using the vertices, the texture, and the texture coordinates.  It then creates a destination Contents using the vertices and the colors.  Then it combines them with a ColorFilterContents::MakeBlend.
With this approach, the source and destination contents are flattened into textures that are then combined using the blend mode.  But if there are overlapping triangles in the vertices, then a source pixel from one triangle may be blended with a destination pixel from a different triangle that was painted on top of it later.  The resulting output will have the wrong color.
A simplified example:
import 'package:flutter/material.dart';
import 'dart:ui' as ui;

ui.Image? circle;

void main() async {
  ui.PictureRecorder recorder = ui.PictureRecorder();
  Canvas canvas = Canvas(recorder);
  canvas.drawCircle(Offset(50, 50), 50, Paint()..color = Colors.white);
  ui.Picture picture = recorder.endRecording();
  circle = await picture.toImage(100, 100);

  runApp(Center(child: CustomPaint(painter: TestPainter())));
}

class TestPainter extends CustomPainter {
  final ui.Vertices vertices = ui.Vertices(
    VertexMode.triangles,
    <Offset>[
      Offset(0, 0), Offset(0, 100), Offset(100, 100),
      Offset(20, 20), Offset(20, 120), Offset(120, 120),
    ],
    colors: [
      Colors.red, Colors.red, Colors.red,
      Colors.green, Colors.green, Colors.green,
    ],
    textureCoordinates: [
      Offset(0, 0), Offset(0, 100), Offset(100, 100),
      Offset(0, 0), Offset(0, 100), Offset(100, 100),
    ]
  );

  @override
  void paint(Canvas canvas, Size size) {
    Paint paint = Paint()
      ..shader = ImageShader(circle!, TileMode.clamp, TileMode.clamp, Matrix4.identity().storage);
    canvas.drawVertices(vertices, BlendMode.dstIn, paint);
  }

  @override
  bool shouldRepaint(covariant CustomPainter oldDelegate) => true;
}

Skia
Impeller

Skia appears to be blending each triangle's source and destination separately and then combining those results into the final image.
@jonahwilliams

Here's the capture from jason's sample.
sparkle.gputrace.zip
src

dst

Seems like the easiest fix would be the split up the triangles based on if they overlap and use our existing rendering paths.
So, drawing triangle((0,0), (1, 2), (2, 0)) and triangle((1,0), (2, 2), (3,0)) will result in 2 VerticesContents. Whereas drawing triangle((0,0), (1, 2), (2, 0)) and triangle((10,0), (11, 2), (12,0)) will still result in 1 VerticesContents.
So, just keep gobbling them up in the canvas while they don't overlap any existing triangles and poop out N contents.

Since we already have specialized shaders for blending textures and solid colors, my suggestion would be to extend this to allow the per vertex color to vary, then use them in place of a blend filter.
See also https://github.com/flutter/flutter/issues/131345

Since we already have specialized shaders for blending textures and solid colors, my suggestion would be to extend this to allow the per vertex color to vary, then use them in place of a blend filter.
See also #131345

Yea, that sounds ideal.  Nice if it can fix a bug and improve performance too.

https://github.com/flutter/engine/pull/51778 fixes this for the pipeline blend modes. I'd already done this optimization for drawAtlas.


Refuse to operate on directories

bak is only designed to work on files. It might someday get an option to work on directories, or perhaps a recursive "bak 'em all" method, because recursive dir copies aren't unheard of. In the meantime, however, bak should catch IsADirectoryError, and output an error instead of crashing.

Would you consider using pathlib for this project? I was going to write a pull request for this bug but using pathlib would make it a lot cleaner and easier to read. For a lot of stuff, pathlib is way better than os

Would you consider using pathlib for this project? I was going to write a pull request for this bug but using pathlib would make it a lot cleaner and easier to read. For a lot of stuff, pathlib is way better than os

@Serene-Arc probably a good idea, yeah.

@Serene-Arc probably a good idea, yeah.

Do you want me to do that in a pull request?

Do you want me to do that in a pull request?

You're absolutely welcome to, or I'll look into it later today or tomorrow. Entirely up to you.

You're absolutely welcome to, or I'll look into it later today or tomorrow. Entirely up to you.


Bug with scoped slots

Scoped slots are missing in the $slots property, which causes the error "unable to find the template slotName" for scoped slots. I recommend using $scopedSlots instead of $slots

Feel free to submit a PR
On Wed, Nov 1, 2023, 8:46 AM Skriptoon @.***> wrote:

Scoped slots are missing in the $slots property, which causes the error
"unable to find the template slotName" for scoped slots. I recommend using
$scopedSlots instead of $slots
—
Reply to this email directly, view it on GitHub
https://github.com/dnldsht/vue-insta-stories/issues/21, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABIHGAC7S7YMBWPGJYEPKF3YCH46DAVCNFSM6AAAAAA6Y4O7GGVHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3TCOBXGM2DANY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Feature request: Lsa functions should "always?" use LsaHandle

Motivation
Lsa functions that use a "Handle" are always (i think?) going to be an LsaHandle.
Now ordinarily it's the same thing as the HANDLE type, but as the metadata for it seems to exist,
and also identifies the CloseApi it feels compelling to utilize it.
https://github.com/microsoft/win32metadata/blob/main/generation/WinSDK/autoTypes.json#L523
  {
    "Name": "LsaHandle",
    "ValueType": "IntPtr",
    "CloseApi": "LsaDeregisterLogonProcess",
    "InvalidHandleValues": [ -1, 0 ]
  },

Now if possible having LsaHandle impl Drop with LsaDeregisterLogonProcess, perhaps as an optional feature would be very neat.
Just to bring that to the table:)
Drawbacks
If the it's not always going to be an "LsaHandle" it might not be a good idea.
Other than that I don't think there is any?
Rationale and alternatives
It makes use of the available win32metadata to improve safety and simplicity of handling the functions correctly.
Any way to do this with types and similar is something that I feel should be embraced when possible as Rust allows to do so much as long as you provide it with enough information.
Additional context
It's used sometimes and sometimes not.
This is taken from a post I made at another issue but it wasn't relevant to that itself hence where this issue comes in:
#1945
hmm looking at these functions i notice that some expects HANDLE others LsaHandle?
Think that's a metadata issue, where HANDLE LsaHandle is treated as LsaHandle,
but PHANDLE LsaHandle is treated as HANDLE?
_IRQL_requires_same_
_IRQL_requires_max_(PASSIVE_LEVEL)
NTSTATUS
NTAPI
LsaRegisterLogonProcess (
    _In_ PLSA_STRING LogonProcessName,
    _Out_ PHANDLE LsaHandle,
    _Out_ PLSA_OPERATIONAL_MODE SecurityMode
    );

_IRQL_requires_same_
_IRQL_requires_max_(PASSIVE_LEVEL)
NTSTATUS
NTAPI
LsaDeregisterLogonProcess (
   _In_ HANDLE LsaHandle
   );

though it does say this in emitter.settings.rsp
LsaRegisterLogonProcess::LsaHandle=LsaHandle*

No I actually want it.
I think i messed up something when i gave examples.
But take a look at: LsaCallAuthenticationPackage
I would expect that it should also have Into

It sounds like you're asking for LsaCallAuthenticationPackage's first parameter to be an LsaHandle rather than a HANDLE.
I'll transfer to the Win32 metadata repo for resolution.


Document missing parameter

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 56.208%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
11674

Relevant Lines:
19694

💛  - Coveralls


[minor] FirebaseAnalytics.SetCurrentScreen should have screen class be optional

FirebaseAnalytics.SetCurrentScreen has 2 argument. But second argument should be optional for convenient, no need to FirebaseAnalytics.SetCurrentScreen("name",null)

Hi @Thaina The screenClass is actually needed for the SetCurrentScreen method when a user intends to use another screen class that isn't the default Activity or UIViewController. I'll still treat this as a feature request, so I created an internal FR for this (b/147352386). With that being said, I'll keep this open. Thanks!


Add Manos Kasimatis to Contributors list

That was a really cool introduction and tutorial. Thanks a lot!

I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added Facebook share and tweet feature to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.


Breaking zipties spawns dozen of broken ziptie entities

Description

Reproduction

Screenshots

(Actually I broke 2 zipties in cell, but there are 10 stacked entities for some reason)

Additional context

99% sure its client entities spawned by prediction
check _timing.IsFirstTimePredicted or something in cuff system uncuff code

Agreed with deltanedas, it's probably the same prediction problem as item dropping or toolbar icon duplication.
With the (un)equippedhand events now properly sent, more like these are bound to appear while the misprediction is not fixed.

Its not directly related to do afters, its just a problem with cuffable system spawning entities in shared code.
If entities get spawned in Content.Shared you need to make sure the client doesn't spawn any, usually either by wrapping it in INetManager.IsServer, or by making the function that does the spawning abstract & having a separate server & client system.
Checking IsFirstTimePredicted wouuld just make the client spawn only one client-side entity, but wouln't actually stop it from being spawned.

Understood, i'm fixing that.
Thanks.


chore: use pnpm for tests

This PR (which was originally part of #379, but is now separated into it's own) adjusts the testing suite's execs to use pnpm instead of npm, just like in #362, as it's leagues faster during the dependency install phase (npm would often hang and slow to a crawl when testing locally).
Unlike #362, where some tests were failing in CI, I've tweaked the workflow to use pnpm's recommended setup with their action (https://github.com/pnpm/action-setup), which fixes the issue.

Hmm. I wonder what the test failure regarding storybook is about. The CI seems to be passing on main

Hmm. I wonder what the test failure regarding storybook is about.

@manuel3108 raised an issue for it here: https://github.com/svelte-add/svelte-add/issues/358
it could be solved by removing the --skip-install flag, though, it may have some undesirable results that can conflict with our install flow

The CI seems to be passing on main

As of now, the pr.yml workflow is only ever ran on PRs, so that's why the failing workflow isn't reflected on main

As of now, the pr.yml workflow (which contains the tests job) is only ever ran on PRs, so that's why the failing workflow isn't reflected on main

Oh, I see. Perhaps we could update that? We could use the following:
on:
  push:
    branches:
      - main
  pull_request:


Update Orion to 3.6.0

Proposed changes
This PR updates Orion to 3.6.0.
Types of changes
What types of changes does your code introduce to the project: Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Update only documentation, not any source code.

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
merging your code.

[X] I have read the CONTRIBUTING doc
[ ] I have signed the CLA
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
N/A

Coverage remained the same at 100.0% when pulling 98bc9fde2501fbdc72ecdd22fb75fb460444c181 on fisuda:update/docker_images into 8327f89ce30ebc7ce500884d6a68149d18440ad2 on lets-fiware:main.


(Windows) -  'sh' is not recognized.

Hi, I am a Windows User wind8.1 64bit , i followed the instruction from StackOverFlow Post (that answer which is referring here) but getting errors on npm install.
I cloned the repo (tried both master and windows-updates branch) to C:\Users\User\AppData\Roaming\npm\node_modules
and then cd meteorite  then npm install
it gives an error
 'sh' is not recognized as an internal or external command, operable program or batch file.
Can you help in that ?
Thanks so much!

Got same thing in on the same windows version.
Is there a solution yet?

@riapp looking at the errors, you seem to be working with Meteor in a very out of date approach. Meteor has had packaging and cordova support for quite some time now. Take a look at meteor help add and meteor help add-platform.

@dburles I was just trying to make mrt working on my Windows machine. Is mrt outdated? Is meteor add is kind of replacement to old mrt?


Show tooltip on dropdown items that extend beyond the width of the control.

Tybalt at 5/18/2020 1:45:16 PM +00:00

When an item of a dropdown menu exceeds its width a basic tooltip should appear with the entire string. You don't really want to assert for string widths because they can differ heavily and you might not even be sure in some cases.
https://i.imgur.com/JZBCDcZ.png

https://imgur.com/JZBCDcZ
REF: https://discordapp.com/channels/531175899588984842/534490472224391169/711937454642298934

A tooltip is now shown when the mouse hovers for 800+ ms over a single entry in #258