Segmentation with Stardist

Description of feature
https://nf-co.re/modules/stardist/
Cell expansion in spot2cell (it would be useful to also return the expanded mask - optional parameter?)

Add cell expansion parameter as an optional input for maskfilter


labeled data notebook

This is a draft which I'll finish tomorrow. However, I noticed that this partially overlaps with what I wrote in #10 so now I'm not sure what to write.

It would be great if you could cover interp as well, since it is closely related to alignment.


tolerance argument in get_most_probable_strand_consensus() function

Hi,
I think there is an error in rnasq.rules, line 439:
"probable_strand = fc.get_most_probable_strand_consensus(".", tolerance=tolerance)"
The get_most_probable_strand_consensus() function in featurescount package does not have any tolerance argument.
It's the get_most_probable_strand() function that does.
The pipeline thus throws me an error, as tolerance is an unknown argument.
Should I remove it in the rnaseq.rules file ?
Thanks,
Pierre

Fixed in version 0.9.18


How to join or link new cluster nodes with running emqttd cluster

Environment

OS: ubuntu
Erlang/OTP: 5.1
EMQ: 2.0

Description
I want to use Clustering feature but facing issue while join erlang nodes with default running node. Default running cluster node is<EMAIL_ADDRESS>Error at new started node
** Connection attempt from disallowed node<EMAIL_ADDRESS>**
Error at default running node
Failed to join the cluster<EMAIL_ADDRESS>I do the following steps:-

I open terminal and start emqtt with ./bin/emqttd start.
I open new terminal and start new node with erl -name<EMAIL_ADDRESS>I go back start emqtt terminal window and try to join new node<EMAIL_ADDRESS>in running node list. I run ./bin/emqttd_ctl cluster join<EMAIL_ADDRESS>got error both terminal windows.
I also try to join at new node window with net_kernel:connect_node('node2@<IP_ADDRESS>'). command but got false in response

So, Please let me know where i did mistake and how to use this feature in emqtt.
Thanks,
Manish Yadav

@yuvrajdhl1988 http://emqtt.io/docs/v2/cluster.html#

Invalid issue, closed.


Enum with bit-shifted values, causes weird bug in union type exhaustion

TypeScript Version:  2.5.2
Working:
enum E {
    A = 2,
    B = 1  // <- not shifted value
}

function assertNever(obj: never, msg?: string): never {
    throw new Error(msg || `Unsupported option: ${obj}`);
}

function resolve(o: E | 'C') {
    switch (o) {
        case E.A: return 1;
        case E.B: return 2;
        case 'C': return 3;
        default:
            assertNever(o);
    }
}

Not working:
enum E {
    A = 2,
    B = 2 << 1 // <- bit shifted value
}

function assertNever(obj: never, msg?: string): never {
    throw new Error(msg || `Unsupported option: ${obj}`);
}

function resolve(o: E | 'C') {
    switch (o) {
        case E.A: return 1;
        case E.B: return 2;
        case 'C': return 3;
        default:
            assertNever(o); // Argument of type 'E | "C"' is not assignable to parameter of type 'never'.
                            //   Type 'E' is not assignable to type 'never'.
    }
}

Expected behavior:
The compiler should recognize that the types of o has been exhausted,
even though the enum has a bit shifted value.
Actual behavior:
Compile error:
Argument of type 'E | "C"' is not assignable to parameter of type 'never'.
    Type 'E' is not assignable to type 'never'.

Simpler case:
enum E {
    A = 2,
    B = 2 << 1 // <- bit shifted value
}

function assertNever(obj: never, msg?: string): never {
    throw new Error(msg || `Unsupported option: ${obj}`);
}

function resolve(o: E) {
    switch (o) {
        case E.A: return 1;
        case E.B: return 2;
        default:
            assertNever(o); // Argument of type 'E' is not assignable to parameter of type 'never'.
    }
}

I think the problem may be that TypeScript is not diving into computed enum. For example, the following enum also triggers this:
const enum E {
    A = +1,
    B = 2,
}

Nice catch, I updated the issue description to basically use your case.

Under the covered there are really two kinds of enums, computed and union. This is needed to allow narrowing for enums/ treat them as unions, without breaking flag enums. having any expression in an enum initializer makes the enum behave as a flag enum (i.e. an open subset of the number domain) rather than a union enum (a collection of unit types)

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.


add new category utensil

Codecov Report

Merging #68 into main will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #68   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           90        92    +2
  Lines          781       781
=========================================
  Hits           781       781

Impacted Files
Coverage Δ

qual_id/categories/utensil.py
100.00% <100.00%> (ø)

qual_id/pattern.py
100.00% <100.00%> (ø)

test/categories/test_utensil.py
100.00% <100.00%> (ø)

test/utils/category_helper.py
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

Thanks for the contribution @jaqsparow ! 🙂


provide atomic consumer

provde a consumer that can be registered to receive an event and give access to the received vale+headers later.

solved with 5e1ffd0


DELETE syntax for MSQ

Description
Currently, MSQ supports INSERT (for adding data) and REPLACE (for replacing rows). REPLACE, however, has the potential to also drop segments, by replacing it with an empty set. This works by reingesting the entire data except for the part to be deleted based on some condition.
This is a proposal to add a new DELETE syntax, that would allow users to more easily specify what they want to do without having to understand the concept of reindexing. Internally, this would translate to a REPLACE query, with the inverted condition of the DELETE, so that all rows except the ones in the DELETE are reingested. This means that not many changes would be needed in the MSQ part of Druid.
Example:
DELETE FROM stats
WHERE country = 'New Zealand'
PARTITIONED BY MONTH
CLUSTERED BY city

would be translated to
REPLACE INTO stats OVERWRITE ALL
SELECT * FROM stats
WHERE NOT(country = 'New Zealand')
PARTITIONED BY MONTH
CLUSTERED BY city

Syntax
DELETE FROM "table name"
WHERE "condition"
PARTITIONED BY "partitioning"
CLUSTERED BY "clustering"

This is similar is structure to a DELETE query from SQL, with the addition of partitioning and clustering. For a DELETE, ideally it should not be required to define these. However, since internally, we reindex the table it is required. If there is a mechanism to get the partitioning/clustering of a datasource while parsing, it would be possible to make those parameters optional, making the query simpler:
DELETE FROM "table name"
WHERE "condition"

PR
There is one PR, which is still a work in progress.
https://github.com/apache/druid/pull/13674

Can I work on this issue ??

@imSanko Sure! There was some work initially done as a part of the PR https://github.com/apache/druid/pull/13674, however, that was put on hold due to some related work that might change how the feature looks. LMK in case you need help to proceed further.


Update compact full method

Also add a rake task to join the 2 files.

Coverage increased (+0.008%) to 79.783% when pulling 68fb3e5cef2f48b72b2c5ce96b1f5c9d7caead49 on update-compact-full into 3a79c99cd026a9b4bf7bd831cf1677c2819f3612 on master.


Scale data in Comparer

I propose a new method scale() in Comparer and ComparerCollection that should scale all primary variables (not aux data) by a factor and set a new unit. The use case is e.g. that want to show all my plots, tables etc with "cm" unit instead of "meter" but all the data files are in meter so it is a bit cumbersome to change the units before the comparison (it would require me to load all the data in the dfsu).

The ComparerCollection should only allow scale if unit is the same across all contained comparers.
Signature should be scale(factor=None, *, offset=None, new_unit=None)
The new_unit argument should be required if factor is not None and old unit is not undefined.
Optionally, we could allow the same functionality on Timeseries (for completeness)

Quick suggestion before 🎅🎄
I think you want to apply the unit conversion to all variables of a specfic unit.
Example of syntax:
from typing import Callable
import modelskill as ms

def convert_units(old_quantity: ms.quantity, new_unit:str, func:Callable[[float],float]) -> ms.Comparer:
    """
    Convert values for a quantity to new units

    Parameters
    ----------
    quantity : ms.quantity
        The quantity to convert
    new_unit : str
        The new unit to convert to
      func : Callable[[float],float]
         Conversion function    """
    ...

cmp.convert_units(ms.Quantity('Water level', 'm'), new_unit="cm", func=lambda x: x*100)


The Screen must be responsive

Test it on the iPhone 7 & on the iPhone 6

Just missing the ImageView re-sizing


Keybind Config not working

Changed it to super.y but still not working. Why? super.L is used for focusing the address bar in chrome.
After install it worked, then I pressed the cross button and it never works anymore. It won't show up.

I had the same issue. I changed the key combination to shift.l and cleared local storage in console command:
localStorage.clear();
This fixed the problem.

Changed it to super.y but still not working. Why? super.L is used for focusing the address bar in chrome. After install it worked, then I pressed the cross button and it never works anymore. It won't show up.
@GBry could cmd+y be taken by something else? Could you try a few different keys and see if that makes a difference?

I will write back tomorrow morning regarding this issue when I resume writing code. It's getting late here. Thank you.

localStorage.clear(); did the trick; after entering the command then refreshing, it opened the bar, but when I close it, I can't open it with the assigned key.
Tried keys:

Y
I (as in India)
M
B

I have the same problem I can't get the debugbar to work it doesn't appear by changing any key combination, I'm trying on Linux distro manjaro and debian

I'm not sure how it should work but I don't see the view markup in the pages how can it be resolved?

Do you have a Livewire component on the page? It will only render if at least one component exists.

Of course this was clear to me but I use more than 200 livewire components in our app and on almost all pages there are livewire components, even many components, but I never see the package markup what can I check to understand why it doesn't work?

Of course this was clear to me but I use more than 200 livewire components in our app and on almost all pages there are more livewire components, even many components, but I never see the package markup what can I check to understand why it doesn't work?

A change that was introduced yesterday might be related:

By default, WireSpy is enabled only in your local environment. You can override this in config/wire-spy.php or by setting an environment variable:
WIRE_SPY_ENABLED=true

Can you verify that your environment is set to local? :)

Of course but to be safe I also added WIRE_SPY_ENABLED=true: part
of my env:
APP_ENV=local
APP_KEY=base64:pLWTbnLYjV5wRgDcFKCmQsX5MwoleamHhL4YLnBtBLh=
APP_DEBUG=true
ENVIRONMENT=local
DEBUGBAR_ENABLED=false
WIRE_SPY_ENABLED=true

If you tell me the mechanism by which it detects that there is livewire on the page, perhaps I can guess if there is something particular that inhibits component recognition in my software

If you tell me the mechanism by which it detects that there is livewire on the page, perhaps I can guess if there is something particular that inhibits component recognition in my software

You can find the related code here:
https://github.com/wire-elements/wire-spy/blob/main/src/SupportAutoInjectedAssets.php

I get the same result, so this doesn't seem to be the issue.
Also, dd(str($html)->contains('')); will return false because it is not checking if a specific value exists.
The correct statement is str($html)->contains('</html>') so you will have to double-check if your page source contains an HTML closing tag.
If you could create a repository that reproduces the problem I can investigate further.

No I copied badly I also tried with: dd(str($html)->contains('')); and it always comes back false

Hi PhiloNL-
Keybinding seems to be problematic for our use, too. We're developing using Sail under WSL2 on Windows 11 with FireFox Developer Edition and MS Edge browsers. Both browsers have "reserved" CTRL-L aka super.l.
In config/wire-spy.php it's written:
/**
     * The keybinding configuration option allows you to define a keyboard shortcut
     * using AlpineJS syntax. It accepts a string representing the desired key combination.
     *
     * Syntax:
     * - 'super' corresponds to the 'Cmd' key on macOS and the 'Ctrl' key on Windows/Linux.
     * - Combine with other keys using dot notation, like 'super.l' for 'Cmd+L' or 'Ctrl+L'.
     */

Are all of the AlpineJS keyboard modifier keys/variants supported? e.g.,:

Modifier
Keyboard Key

.shift
Shift

.enter
Enter

.space
Space

.ctrl
Ctrl

.cmd
Cmd

.meta
Cmd on Mac, Windows key on Windows

.alt
Alt

.up .down .left .right
Up/Down/Left/Right arrows

.escape
Escape

.tab
Tab

.caps-lock
Caps Lock

.equal
Equal, =

.period
Period, .

.comma
Comma, ,

.slash
Forward Slash, /

I ask as it would be helpful to chain some key combinations using the AlpineJS notation, e.g., super.shift.z, etc.
In our case, even after localStorage.clear() from the JS console, we're unable to use the keyboard to call/raise WireSpy. I note that FireFox will show the WireSpy debug panel on page load, but it will not hide/show when using a mapped keyboard binding - This is not perfect, but at least we can benefit from your hard work when debugging with WireSpy! We're unable to call/raise in MS Edge, even upon load/refresh of page.
We are not seeing any errors in the browser console, so it's not super-clear where to start with troubleshooting, etc.
Lastly, we're using the Laravel Debug Bar and the Laravel Livewire Hot Reload plugin from def:studio - https://github.com/defstudio/vite-livewire-plugin

Hi PhilNL I found my problem I use middleware to compress the request: GzipEncodeResponse and therefore obviously the html tag you put in your provider's control is not found and it does not insert wire-spy. I was easy to put a control in the middleware that is not used locally when the WIRE_SPY_ENABLED environment variable is set, thank you for help me to check the issue

Changed it to super.y but still not working. Why? super.L is used for focusing the address bar in chrome. After install it worked, then I pressed the cross button and it never works anymore. It won't show up.

@GBry could cmd+y be taken by something else? Could you try a few different keys and see if that makes a difference?

@PhiloNL
I also tried it with different key bindings, but they all didn't work. (safari and arc) The black header of the wire-spy bar is permanently visible, but only with a refresh and close icon on the right. The bar doesn't respond to the key bindings, and I can't drag it bigger either.
Hopefully this info will help you find the cause ;-)

Hello,
I think the problem is in the  .super, i changed to other keyboard event like .ctrl and works fine.

Hello,
I think the problem is in the .super, i changed to other keyboard event like .ctrl and works fine.

Unfortunately... that doesn't work for me.
Is there an option to make the toolbar open by default. Then I can drag it larger or smaller, depending on whether I use it or not. But that way you can at least use the toolbar.

@Quaap70 doing a localStorage.clear(); will always open it, for me.

To add to @juanjoballesteros  comment changing the key binding to ctrl. as prefix and clearing local storage worked for me as well.

Adding to @juanjoballesteros's comment: changing the key binding to use Ctrl as a prefix and clearing local storage worked for me as well.

Thanks, @juanjoballesteros!


Unable to paste image with ObsidianPasteImg

🐛 Describe the bug
with a png image in clipboard, :ObsidianPasteImg hello.png
created an image folder instead of a png, there is also an error: [pngpaste] cannot write to file

executing pngpaste assets/img/hello.png works
Config
	opts = {
		templates = {
			subdir = "_templates/nvim",
		},
	},

using barebones minimum config
Environment
NVIM v0.10.0-dev-2435+g9ea8a77b0-Homebrew
Build type: Release
LuaJIT 2.1.1703358377
Run "nvim -V1 -v" for more info
Plugins:
  [obsidian.nvim (v3.5.3)] Commit SHA: cb5a8d1864d6c75b9f0b50a98ba8041b8f4fe659
  [plenary.nvim] Commit SHA: 4f71c0c4a196ceb656c824a70792f3df3ce6bb6d
  [nvim-cmp] Commit SHA: 04e0ca376d6abdbfc8b52180f8ea236cbfddf782
Tools:
  [rg] ripgrep 14.1.0
Environment:
  [OS] Darwin

Thanks @edward-s, fixed in ef956c8.


kazuki escape added

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
Fixes #1182

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[ ] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @S-ishita ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Thank you  @S-ishita , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀

Thank you  @S-ishita , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Moving inside the canvas

When clicking and dragging in an empty space on the canvas, the user should be able to "move around" the canvas. All elements have to be moved equally in the direction of the mouse pointer that is being dragged.

Zeitaufwand: 4 Stunden
Tests: 3 Stunden...(weils nicht klappt)
Punkte: 5

Für mich war es folgende Zeit:
1,5h
1,5P


linux-x86-clang target: Add -latomic

Fixes #16572

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

Merged to master and 3.0 branches. Thank you for the review.


add @reg on

From<EMAIL_ADDRESS>on October 26, 2011 08:47:27
Events should have @-reg just like <date>.
Original issue: http://code.google.com/p/music-encoding/issues/detail?id=39

From<EMAIL_ADDRESS>on November 04, 2011 11:20:27
Fixed by revision 369
Status: Fixed


Only show open/new project links to admin (via config)

Possibly allow a configuration variable to specify whether or not this should apply.

Done


Failing Ansible Task Wait for instance(s) xx to complete

It's probably not a bug but I just can't get this tasks to succeed.
Please see https://github.com/ansible-community/molecule/discussions/3500
All my attempts end in error:
TASK [Wait for instance(s) creation to complete] *******************************
failed: [localhost] (item={'failed': 0, 'started': 1, 'finished': 0, 'ansible_job_id': '632779107031.197', 'results_file': '/home/runner/.ansible_async/632779107031.197', 'changed': True, 'item': {'image': 'docker-registry/rhel:8.4', 'name': 'rhel8.4', 'pre_build_image': True}, 'ansible_loop_var': 'item'}) => {"ansible_job_id": "632779107031.197", "ansible_loop_var": "item", "attempts": 1, "changed": false, "finished": 1, "item": {"ansible_job_id": "632779107031.197", "ansible_loop_var": "item", "changed": true, "failed": 0, "finished": 0, "item": {"image": "docker-registry/rhel:8.4", "name": "rhel8.4", "pre_build_image": true}, "results_file": "/home/runner/.ansible_async/632779107031.197", "started": 1}, "msg": "could not find job", "results_file": "/root/.ansible_async/632779107031.197", "started": 1, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

Hi @nodje
I am glad to help you on this issue.
Could you please provide a minimum and reproducible example?

Thanks, I'm afraid I've no better option than sharing the code with you.
Unfortunately the repo is not public.
So I guess I can as well share the most important parts here:
molecule/default/molecule.yml

Hi @nodje
Here is a workaround.
Based on error msg, the async status is saved under runner home directory but wait task's owner is root, it cannot get the status file.
The following command needs to be run before molecule test. You may need to make some changes in gitlab-ci.
useradd runner
chown runner.runner /home/runner
su - runner
cd ${WORKDIR}
export DOCKER_HOST=tcp://docker:2375
molecule test

It may take some time to make it more elegant.
how I test it locally

Create dind container

docker network create molecule-docker
docker run --privileged --network molecule-docker --network-alias docker --rm -d --name docker -e DOCKER_TLS_CERTDIR='' docker:20.10.14-dind

Create molecule container

docker run --network molecule-docker --rm -d --name molecule --entrypoint sleep quay.io/ansible/creator-ee:v0.4.2 infinity

Prepare test environment
Log into molecule container
docker exec -it molecule sh

Run test in molecule container
useradd runner
chown -R runner.runner /home/runner
molecule init role acme.my_new_role --driver-name docker
export DOCKER_HOST=tcp://docker:2376
cd my_new_role
molecule test

Output
[runner@464c289b4e14 my_new_role]$ molecule test
INFO     default scenario test matrix: dependency, lint, cleanup, destroy, syntax, create, prepare, converge, idempotence, side_effect, verify, cleanup, destroy
INFO     Performing prerun...
INFO     Set ANSIBLE_LIBRARY=/home/runner/.cache/ansible-compat/b4d3f4/modules:/home/runner/.ansible/plugins/modules:/usr/share/ansible/plugins/modules
INFO     Set ANSIBLE_COLLECTIONS_PATH=/home/runner/.cache/ansible-compat/b4d3f4/collections:/home/runner/.ansible/collections:/usr/share/ansible/collections
INFO     Set ANSIBLE_ROLES_PATH=/home/runner/.cache/ansible-compat/b4d3f4/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
INFO     Using /home/runner/.ansible/roles/acme.my_new_role symlink to current repository in order to enable Ansible to find the role using its expected full name.
INFO     Running default > dependency
WARNING  Skipping, missing the requirements file.
WARNING  Skipping, missing the requirements file.
INFO     Running default > lint
INFO     Lint is disabled.
INFO     Running default > cleanup
WARNING  Skipping, cleanup playbook not configured.
INFO     Running default > destroy
INFO     Sanity checks: 'docker'

PLAY [Destroy] *****************************************************************

TASK [Destroy molecule instance(s)] ********************************************
changed: [localhost] => (item=instance)

TASK [Wait for instance(s) deletion to complete] *******************************
ok: [localhost] => (item=instance)

TASK [Delete docker networks(s)] ***********************************************

PLAY RECAP *********************************************************************
localhost                  : ok=2    changed=1    unreachable=0    failed=0    skipped=1    rescued=0    ignored=0

INFO     Running default > syntax

playbook: /home/runner/my_new_role/molecule/default/converge.yml
INFO     Running default > create

PLAY [Create] ******************************************************************

TASK [Log into a Docker registry] **********************************************
skipping: [localhost] => (item=None)
skipping: [localhost]

TASK [Check presence of custom Dockerfiles] ************************************
ok: [localhost] => (item={'image': 'quay.io/centos/centos:stream8', 'name': 'instance', 'pre_build_image': True})

TASK [Create Dockerfiles from image names] *************************************
skipping: [localhost] => (item={'image': 'quay.io/centos/centos:stream8', 'name': 'instance', 'pre_build_image': True})

TASK [Discover local Docker images] ********************************************
ok: [localhost] => (item={'changed': False, 'skipped': True, 'skip_reason': 'Conditional result was False', 'item': {'image': 'quay.io/centos/centos:stream8', 'name': 'instance', 'pre_build_image': True}, 'ansible_loop_var': 'item', 'i': 0, 'ansible_index_var': 'i'})

TASK [Build an Ansible compatible image (new)] *********************************
skipping: [localhost] => (item=molecule_local/quay.io/centos/centos:stream8)

TASK [Create docker network(s)] ************************************************

TASK [Determine the CMD directives] ********************************************
ok: [localhost] => (item={'image': 'quay.io/centos/centos:stream8', 'name': 'instance', 'pre_build_image': True})

TASK [Create molecule instance(s)] *********************************************
changed: [localhost] => (item=instance)

TASK [Wait for instance(s) creation to complete] *******************************
FAILED - RETRYING: [localhost]: Wait for instance(s) creation to complete (300 retries left).
changed: [localhost] => (item={'failed': 0, 'started': 1, 'finished': 0, 'ansible_job_id': '483292843718.235', 'results_file': '/home/runner/.ansible_async/483292843718.235', 'changed': True, 'item': {'image': 'quay.io/centos/centos:stream8', 'name': 'instance', 'pre_build_image': True}, 'ansible_loop_var': 'item'})

PLAY RECAP *********************************************************************
localhost                  : ok=5    changed=2    unreachable=0    failed=0    skipped=4    rescued=0    ignored=0

INFO     Running default > prepare
WARNING  Skipping, prepare playbook not configured.
INFO     Running default > converge

PLAY [Converge] ****************************************************************

TASK [Gathering Facts] *********************************************************
ok: [instance]

TASK [Include acme.my_new_role] ************************************************

PLAY RECAP *********************************************************************
instance                   : ok=1    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

INFO     Running default > idempotence

PLAY [Converge] ****************************************************************

TASK [Gathering Facts] *********************************************************
ok: [instance]

TASK [Include acme.my_new_role] ************************************************

PLAY RECAP *********************************************************************
instance                   : ok=1    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

INFO     Idempotence completed successfully.
INFO     Running default > side_effect
WARNING  Skipping, side effect playbook not configured.
INFO     Running default > verify
INFO     Running Ansible Verifier

PLAY [Verify] ******************************************************************

TASK [Example assertion] *******************************************************
ok: [instance] => {
    "changed": false,
    "msg": "All assertions passed"
}

PLAY RECAP *********************************************************************
instance                   : ok=1    changed=0    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

INFO     Verifier completed successfully.
INFO     Running default > cleanup
WARNING  Skipping, cleanup playbook not configured.
INFO     Running default > destroy

PLAY [Destroy] *****************************************************************

TASK [Destroy molecule instance(s)] ********************************************
changed: [localhost] => (item=instance)

TASK [Wait for instance(s) deletion to complete] *******************************
FAILED - RETRYING: [localhost]: Wait for instance(s) deletion to complete (300 retries left).
changed: [localhost] => (item=instance)

TASK [Delete docker networks(s)] ***********************************************

PLAY RECAP *********************************************************************
localhost                  : ok=2    changed=2    unreachable=0    failed=0    skipped=1    rescued=0    ignored=0

INFO     Pruning extra files from scenario ephemeral directory
[runner@464c289b4e14 my_new_role]$ echo $?
0

Here is my suggestion.
Create your own image, including docker cli, ansible, molecule, etc, like how Gitlab CI does.
The image Dockerfile,
FROM docker
RUN apk add --no-cache \
    python3 python3-dev py3-pip gcc git curl build-base \
    autoconf automake py3-cryptography linux-headers \
    musl-dev libffi-dev openssl-dev openssh

The .gitlab-ci.yml file,
---
image: your-customized-image

services:
  - docker:dind
variables:
    DOCKER_TLS_CERTDIR: ""
    DOCKER_HOST: tcp://docker:2375
before_script:
  - docker info
  - python3 --version
  - ansible --version
  - molecule --version

molecule:
  stage: test
  script:
    - cd roles/testrole && molecule test

The quay.io/ansible/creator-ee image is based on quay.io/ansible/ansible-runner image.
It seems the async_status doesn't work inside  ansible-runner container.

Related to ansible-runner#1024

Hey, thanks for investigating.
It's a real bummer as I'm unable to create Dockerfile based image ATM (secured environment, no internet access )
Which is why the creator-ee was such a good discovery for me: it includes both the ansible executables AND docker. So I could start working without having to build an image.
I'll see what I can do to fix this using the docker cli parameters.

Actually, looking at the creator-ee container, I see that:
 cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
runner:x:0:0:,,,:/home/runner:/bin/bash

meaning, If I'm not mistaken, that using user runner or root should be the same as they are one user really.
I can't really explain why the wait task can't access the status file.


Custom option template with Html

I have this code that doesn't work.
<template slot="option" slot-scope="option" v-html="option.text"></template>

option.text has html tags that I don't want them to be stripped down. (v-html is ignored) Any idea how to do this?

In that case try putting a <span v-html="option.text"/> inside the <template> tag.


powertoys: Add installer script and autoupdate

add script to extract MSI from .exe installer and files from the MSI
add autoupdate
update version to 0.31.2

Duplicate of #5391

I read #5391 first and figured the problem is that powertoys' installer make changes to the system.
So this added script avoid running the installer. As with the previous manifest, it only extracts files from MSI .
Did that way become deprecated?


Handle cookies consent page

Fixes #96.

I am seeing https://consent.yahoo.com/ being accessible, maybe it is region specific.

I have been playing with a different approach of first navigating to yahoo.com and grabbing the cookies from there. And then navigating to https://query1.finance.yahoo.com/v1/test/getcrumb. The latter appears when accessing https://finance.yahoo.com/quote/NQ%3DF.

When I simply go to consent.yahoo.com, I get the error page too. But when I open an incognito window and go to https://finance.yahoo.com/quote/NQ%3DF, I get redirected to consent.yahoo.com with some parameters. I think it just requires a valid session or something which is created only on regular pages.
It is the same every time I start with a fresh incognito window. The same happens to my HA when your component tries to open https://finance.yahoo.com/quote/NQ%3DF for the first time. After the consent form is submitted (with my changes), it redirects to https://finance.yahoo.com/quote/NQ%3DF and everything is as it used to be.
If you don't live in the EU, it is entirely possible that you will never be shown the cookies consent screen as it is required by the EU law. I suppose some websites take the easy way and show the consent form to everyone without exception, but there are also websites that show it or not based on geolocation.

That makes sense, I have never seen that consent page. I did VPN to Germany but still was not able to access that consent page.
In US, the request just errors out with 401. What do you get if you were to browse to yahoo.com in incognito ?

I assume you tried incognito when on VPN?

Just to be clear, API URLs do not redirect to consent.yahoo.com, only yahoo.com and finance.yahoo.com do.
I have also tried https://query1.finance.yahoo.com/v1/test/getcrumb but it works only after I visit yahoo.com and submit the consent form. So no real gain.

One additional note - this PR also fixes a bug in handling of crumbs containing a slash character encoded as a Unicode escape sequence.
Not related to the consent page. I suspect it is the reason why sometimes sensors become unavailable and come back after a while.

Got it. It works well from US region. Could we add something to the logging to differentiate it from the same logging within CONSENT_HOST check?
   _LOGGER.debug("Response status: %d", response.status)
   _LOGGER.debug("Response URL: %s", response.url)


doc(etcd-maintenance): add reference to etcd-defrag CronJob

With the recent documentation of a Kubernetes CronJob for the etcd-defrag tool, I think it would be valuable to also reference that possibility in the official documentation.
Indeed, running the tool as a CronJob has several benefits:

simplicity of use: a typical kubeadm-deployed Cluster can use the referenced manifest as-is.
period/automatic defragmentation is ensured

/cc @ahrtr

✅ Pull request preview available for checking
Built without sensitive environment variables
Name	Link
🔨 Latest commit	7196489
🔍 Latest deploy log	https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/6524093765e55d0008530180
😎 Deploy Preview	https://deploy-preview-43394--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...
To edit notification comments on pull requests, go to your Netlify site configuration.

here is the preview: https://deploy-preview-43394--kubernetes-io-main-staging.netlify.app/docs/tasks/administer-cluster/configure-upgrade-etcd/#maintaining-etcd-clusters

thx @clementnuss .
Since it's my personal repo (I might donate the project to etcd-io if other etcd maintainers have no objection), so I avoid giving lgtm and approve for now although I do think the change looks good to me.

cc @neolit123

Instead of augmenting this page for a third party tool, I'm thinking whether we can document this at https://kubernetes.io/docs/reference/tools/.
A more general approach is to expand that tools section to cover security tools, development tools, operation tools, observability tools, networking tools, etc. We are not about to promote any of these tools. We may want to do this so that people can find relevant tools when they need help.

LGTM on the tool itself. i think this falls under third party content and it neesd the following tag outside of a note:
{{% thirdparty-content %}}

it will generate a note like this:

Note: This section links to third party projects that provide functionality required by Kubernetes. The Kubernetes project authors aren't responsible for these projects, which are listed alphabetically. To add a project to this list, read the content guide before submitting a change. More information.

guide about third party content: https://kubernetes.io/docs/contribute/style/content-guide/#third-party-content
the k/website maintainers will provide further instructions.

the note was already there 😉

Instead of augmenting this page for a third party tool, I'm thinking whether we can document this at https://kubernetes.io/docs/reference/tools/. A more general approach is to expand that tools section to cover security tools, development tools, operation tools, observability tools, networking tools, etc. We are not about to promote any of these tools. We may want to do this so that people can find relevant tools when they need help.

The reference to the third-party tool on the page was already there (thankfully, I wouldn't have found it otherwise). This PR is only about mentioning the existence of a CronJob that makes using the tool simpler and periodic.
While I agree that a "reference tools" page, a bit like some "awesome-xyz" Github repo, could be nice, I think I wouldn't have consulted it, and in my opinion this really makes sense to reference tools in the context where they can be useful.

Here is my updated take on this. One added line, hopefully more conformant to the style guide.
I think it would be greatly beneficial to document that possibility in this part of the documentation. For example, I wouldn't have known about etcd-defrag it it hadn't been referenced here. I also haven't seen many examples where people use Kubernetes CronJob to defragment their etcd cluster, referencing it on this page would help widen out the idea.

Please run the following commands to reset the CI flow:
git reset
git commit --amend --no-edit
git push origin patch-2 -f


Interval CFG applied to DiT-XL/2

Thanks for the great work! I am trying to reproduce FID=2.40 using DiT with interval CFG (i.e., the bottom row in Table I). I just want to confirm that I understand applying interval CFG to DiT-XL/2 correctly.
In the bottom row of Table I in the paper,  we apply cfg-scale=2.5 when sigma is in [0.34, 1.02], and cfg-scale=1.0 (i.e., no guidance) outside this range. My question is that there is no sigma in the original DiT repo, may I know/confirm how to convert the interval criterion to the range of alpha, or alpha_bar, or t in the DiT codebase?
Thanks!

I think I should use The equations given in the column of VP in Table I of EDM paper, which can reversely solve a range of t given sigma in [0.34, 1.02]. However, I am not exactly sure the parameters given in Table I match with those implemented in DiT. I would appreciate it if I could know the exact range of t so that I can reproduce in DiT for my application. Thanks!

Hi,
Thank you for your interest to our work! Noise level sigma's can be converted into timesteps with the Table 1 of EDM, or the details provided in our paper's appendix. If you use the official implementation of DiT and the default sampler with 250 steps, you can use guidance with cfg-scale=2.5 in the timesteps [125, 51].

Thanks so much for your reply! I will try it out.

No worries! Did you already get results from your DiT experiment?
I forgot to mention that a nice and concrete source for converting timesteps to sigma's, and the other way around, is to look at how the iDDPMPrecond class does it in the EDM codebase.

Sorry for getting back late. I have implemented interval guidance in my codebase. I cloned DiT repo and use their checkpoint. I notice that they use stride time steps (mapping 250 to 1000). Based on our discussion, I think I should use cfg-scale=2.5 when t is in [500, 204], right? I run the code and achieved FID=2.56 at 512 resolution with 50k images. I think It is very close to the reported 2.40 in the paper, and it might just be the random seed. I just want to double-check with you that I implement everything correctly. Thanks so much for your time!

No worries! You’re correct that the sampler in DiT by default maps 250 steps to a range of 1000 steps. I looked at my logs and there seems to be a small difference – in my implementation I apply guidance to [502, 205] range in the strided timesteps. However, your result seems to be really close to what I got from my runs, and most importantly the guidance interval improved the results compared to “traditional” guidance. The difference could be due to random seed or differences in how FID is calculated.

Thanks! I will try again with [502, 205]. I also agree that no matter it is 2.40 or 2.56, they are both substantial compared to the original. Additionally, have you tried interval guidance on resolution 256?

I haven't experimented in 256x256 resolution with any model type. I would suspect that it works similarly after tuning the optimal interval with a bisection search (Sec. 4.2 of our paper).

I did more experiments. I think I know the reason. I previously used DiT evaluation backend, which essentially used ADM evaluation suite, yielding FID=~2.55. I tried again with the calculate_metrics.py in this repo with the same set of generated images, getting FID~=2.36. At the core, I guess it is because the reference images and the inceptionV3 network differ slightly in these two evaluation backends. I just want to share it here in case that people encounter the same questions in the future. No matter which evaluation backend, the big picture is interval guidance improves a lot from the FID~=3.0 reported in DiT with traditional CFG.

Thanks for sharing! Great that you found a reason for the slight discrepancy. The exact way how ImageNet reference images have been processed and which version of Inception-V3 is used can have a significant effect on FID. This is quite unfortunate as it makes comparing results between different methods more complicated.


Measurements section

Typo fix "measurment"->"measurement" across files and folders.
Wrote section on measurements.

Made an independent pdf!


error

[module_siting] addons/module_siting/lua/simp_sit/core/sv_core.lua:196: bad argument #1 to 'lower' (string expected, got nil)

When does this situation occur?

When does this situation occur?

Periodically, this error appeared in the console, I do not know why.

@Creekie1337 thinking maybe some addon with a tool that isn't quite built correctly? Or possibly firing a hook incorrectly?
Will accept this PR tho, might be some other addons out there doing naughty nameless trickery.

When does this situation occur?

Periodically, this error appeared in the console, I do not know why.

Что ты написал, я нихуя не понял


Fix reflection issues on Zulu 11

Fixes #723
Please see #723 for details on the issue and this fix.

Well done and thank you!


Allow restarts

Changes proposed in this pull request:
⯈ A new allowRestarts CLI flag to allow the start function to be called more than once.
⯈ Hook up allowRestarts option to not set the started global the first time start is called.

[x] I've read the contributing guidelines
[x] I've added my name and email to the NOTICE file

Writing a test for this looks a little tedious and I don't see a good place for it among the other tests. A similar flag zeroFilledMemory flag also doesn't have any. For now, I'm going to test manually by hooking it up to our node and when we push upstream would like to ask for their recommendation.


A job submitted via Samba is printed in monochrome if the backend is IPP

A printer on CUPS 2.2.13 is connected via IPP as follows:  ipp://theprinter:631/ipp
When a job is submitted via Linux client, it prints in color as expected. However, when a job is submitted via Samba, it's always printed in grayscale. I noticed that changing the URL to socket:// fixes the problem, and decided to look into IPP logs. There I found these lines:
[Job 37099] ---- job-attributes-tag ----
[Job 37099] print-color-mode keyword auto-monochrome

I assume it means that the printer is asked to use monochrome color model.
I can't figure out where this comes from. Perhaps the printer tells CUPS that it supports various color modes via IPP, and CUPS decides to ask it to use auto-monochrome?
Submitting a job via ipptool results in proper color output:
ipptool -v -tf pdf-test.pdf  -d filetype=application/octet-stream -I ipp://theprinter:631/ipp /usr/share/cups/ipptool/print-job.test
    Print-Job:
        attributes-charset (charset) = utf-8
        attributes-natural-language (naturalLanguage) = en
        printer-uri (uri) = ipp://theprinter:631/ipp
        requesting-user-name (nameWithoutLanguage) = alexk
        document-format (mimeMediaType) = application/octet-stream
        copies (integer) = 1
    Print file using Print-Job                                           [PASS]
        RECEIVED: 313 bytes in response
        status-code = successful-ok (successful-ok)
        attributes-charset (charset) = utf-8
        attributes-natural-language (naturalLanguage) = en-us
        status-message (textWithoutLanguage) = successful-ok
        job-uri (uri) = ipp://<IP_ADDRESS>/ipp/963
        job-id (integer) = 963
        job-state (enum) = completed
        job-state-reasons (keyword) = job-completed-successfully
        job-state-message (textWithoutLanguage) = job-completed-successfully
        number-of-intervening-jobs (integer) = 0

Here is whole job log:
D [20/Feb/2020:15:43:39 +0000] [Job 37099] Applying default options...
I [20/Feb/2020:15:43:39 +0000] [Job 37099] Adding start banner page "none".
I [20/Feb/2020:15:43:39 +0000] [Job 37099] Adding end banner page "none".
I [20/Feb/2020:15:43:39 +0000] [Job 37099] File of type application/vnd.cups-raw queued by "alexk".
D [20/Feb/2020:15:43:39 +0000] [Job 37099] hold_until=0
I [20/Feb/2020:15:43:39 +0000] [Job 37099] Queued on "theprinter" by "alexk".
D [20/Feb/2020:15:43:39 +0000] [Job 37099] time-at-processing=1582213419
D [20/Feb/2020:15:43:39 +0000] [Job 37099] 2 filters for job:
D [20/Feb/2020:15:43:39 +0000] [Job 37099] - (application/vnd.cups-raw to printer/theprinter/application/octet-stream, cost 0)
D [20/Feb/2020:15:43:39 +0000] [Job 37099] - (printer/theprinter/application/octet-stream to printer/theprinter, cost 0)
D [20/Feb/2020:15:43:39 +0000] [Job 37099] job-sheets=none,none
D [20/Feb/2020:15:43:39 +0000] [Job 37099] argv[0]="theprinter"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] argv[1]="37099"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] argv[2]="alexk"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] argv[3]="smbprn.00000004 PDF Test Page"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] argv[4]="1"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] argv[5]="job-originating-host-name=1000:a:a:a:a:fd64 job-uuid=urn:uuid:ccf22b45-1e0b-3ed6-71ea-1ab6201b8b71 date-time-at-creation= date-time-at-processing= time-at-creation=1582213419 time-at-processing=1582213419"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] argv[6]="/var/spool/cups/d37099-001"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[7]="CUPS_STATEDIR=/run/cups"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[8]="HOME=/var/spool/cups/tmp"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [20/Feb/2020:15:43:39 +0000] [Job 37099]<EMAIL_ADDRESS>D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[11]="SOFTWARE=CUPS/2.2.13"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[13]="USER=root"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[14]="CUPS_MAX_MESSAGE=2047"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[17]="IPP_PORT=631"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[18]="CHARSET=utf-8"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[19]="LANG=en_US.UTF-8"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[20]="PPD=/etc/cups/ppd/theprinter.ppd"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[21]="RIP_MAX_CACHE=128m"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[22]="CONTENT_TYPE=application/vnd.cups-raw"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[23]="DEVICE_URI=ipp://theprinter.acme.com:631/ipp"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[24]="PRINTER_INFO=MP C3003"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[25]="PRINTER_LOCATION=CH-ZRH-152-1-106"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[26]="PRINTER=theprinter"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[27]="PRINTER_STATE_REASONS=none"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[28]="CUPS_FILETYPE=document"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[29]="FINAL_CONTENT_TYPE=application/octet-stream"
D [20/Feb/2020:15:43:39 +0000] [Job 37099] envp[30]="AUTH_I****"
I [20/Feb/2020:15:43:39 +0000] [Job 37099] Started backend /usr/lib/cups/backend/ipp (PID 125998)
D [20/Feb/2020:15:43:40 +0000] [Job 37099] 1 files to send in job...
D [20/Feb/2020:15:43:40 +0000] [Job 37099] STATE: +connecting-to-device
D [20/Feb/2020:15:43:40 +0000] [Job 37099] Looking up \"theprinter.acme.com\"...
D [20/Feb/2020:15:43:40 +0000] [Job 37099] STATE: -connecting-to-device
D [20/Feb/2020:15:43:40 +0000] [Job 37099] theprinter.acme.com=<IP_ADDRESS>
D [20/Feb/2020:15:43:40 +0000] [Job 37099] Connecting to theprinter.acme.com:631
D [20/Feb/2020:15:43:40 +0000] [Job 37099] Connecting to printer.
D [20/Feb/2020:15:43:40 +0000] [Job 37099] Set job-printer-state-message to "Connecting to printer.", current level=INFO
D [20/Feb/2020:15:43:40 +0000] [Job 37099] update_reasons(attr=0(), s=\"-cups-certificate-error\")
D [20/Feb/2020:15:43:40 +0000] [Job 37099] update_reasons(attr=0(), s=\"-connecting-to-device\")
D [20/Feb/2020:15:43:40 +0000] [Job 37099] Connected to printer.
D [20/Feb/2020:15:43:40 +0000] [Job 37099] Set job-printer-state-message to "Connected to printer.", current level=INFO
D [20/Feb/2020:15:43:40 +0000] [Job 37099] Connected to <IP_ADDRESS>:631...
D [20/Feb/2020:15:43:40 +0000] [Job 37099] Getting supported attributes...
D [20/Feb/2020:15:43:40 +0000] [Job 37099] Get-Printer-Attributes: successful-ok-ignored-or-substituted-attributes (successful-ok-ignored-or-substituted-attributes)
D [20/Feb/2020:15:43:40 +0000] [Job 37099] copies-supported=1-255
D [20/Feb/2020:15:43:40 +0000] [Job 37099] document-format-supported (5 values)
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [0] = \"application/pdf\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [1] = \"application/octet-stream\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [2] = \"image/jpeg\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [3] = \"image/urf\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [4] = \"application/postscript\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] media-col-supported (7 values)
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [0] = \"media-left-margin\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [1] = \"media-right-margin\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [2] = \"media-top-margin\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [3] = \"media-bottom-margin\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [4] = \"media-type\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [5] = \"media-source\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [6] = \"media-size\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] operations-supported (12 values)
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [0] = Print-Job
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [1] = Validate-Job
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [2] = Cancel-Job
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [3] = Get-Job-Attributes
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [4] = Get-Jobs
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [5] = Get-Printer-Attributes
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [6] = Create-Job
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [7] = Send-Document
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [8] = Pause-Printer
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [9] = Resume-Printer
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [10] = Purge-Jobs
D [20/Feb/2020:15:43:40 +0000] [Job 37099] [11] = Identify-Printer
D [20/Feb/2020:15:43:40 +0000] [Job 37099] update_reasons(attr=1(media-empty-error), s=\"(null)\")
D [20/Feb/2020:15:43:40 +0000] [Job 37099] STATE: +media-empty-error
D [20/Feb/2020:15:43:40 +0000] [Job 37099] STATE: -none
D [20/Feb/2020:15:43:40 +0000] [Job 37099] final_content_type=\"application/octet-stream\", document_format=\"application/octet-stream\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] retryable=0
D [20/Feb/2020:15:43:40 +0000] [Job 37099] Validate-Job IPP/2.0
D [20/Feb/2020:15:43:40 +0000] [Job 37099] printer-uri=\"ipp://theprinter.acme.com:631/ipp\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] requesting-user-name=\"alexk\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] job-name=\"smbprn.00000004 PDF Test Page\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] document-format=\"application/octet-stream\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] Adding standard IPP operation/job attributes.
D [20/Feb/2020:15:43:40 +0000] [Job 37099] IPP/2.0 Validate-Job #2
D [20/Feb/2020:15:43:40 +0000] [Job 37099] ---- operation-attributes-tag ----
D [20/Feb/2020:15:43:40 +0000] [Job 37099] attributes-charset charset utf-8
D [20/Feb/2020:15:43:40 +0000] [Job 37099] attributes-natural-language naturalLanguage en-us
D [20/Feb/2020:15:43:40 +0000] [Job 37099] printer-uri uri ipp://theprinter.acme.com:631/ipp
D [20/Feb/2020:15:43:40 +0000] [Job 37099] requesting-user-name nameWithoutLanguage alexk
D [20/Feb/2020:15:43:40 +0000] [Job 37099] job-name nameWithoutLanguage smbprn.00000004 PDF Test Page
D [20/Feb/2020:15:43:40 +0000] [Job 37099] document-format mimeMediaType application/octet-stream
D [20/Feb/2020:15:43:40 +0000] [Job 37099] ---- job-attributes-tag ----
D [20/Feb/2020:15:43:40 +0000] [Job 37099] output-bin keyword default
D [20/Feb/2020:15:43:40 +0000] [Job 37099] print-color-mode keyword auto-monochrome
D [20/Feb/2020:15:43:40 +0000] [Job 37099] sides keyword two-sided-long-edge
D [20/Feb/2020:15:43:40 +0000] [Job 37099] multiple-document-handling keyword separate-documents-collated-copies
D [20/Feb/2020:15:43:40 +0000] [Job 37099] finishings enum none
D [20/Feb/2020:15:43:40 +0000] [Job 37099] ---- end-of-attributes-tag ----
D [20/Feb/2020:15:43:40 +0000] [Job 37099] IPP/2.0 Get-Printer-Attributes #3
D [20/Feb/2020:15:43:40 +0000] [Job 37099] ---- operation-attributes-tag ----
D [20/Feb/2020:15:43:40 +0000] [Job 37099] attributes-charset charset utf-8
D [20/Feb/2020:15:43:40 +0000] [Job 37099] attributes-natural-language naturalLanguage en-us
D [20/Feb/2020:15:43:40 +0000] [Job 37099] printer-uri uri ipp://theprinter.acme.com:631/ipp
D [20/Feb/2020:15:43:40 +0000] [Job 37099] requesting-user-name nameWithoutLanguage alexk
D [20/Feb/2020:15:43:40 +0000] [Job 37099] requested-attributes 1setOf keyword compression-supported,copies-supported,cups-version,document-format-supported,job-password-encryption-supported,marker-colors,marker-high-levels,marker-levels,marker-low-levels,marker-message,marker-names,marker-types,media-col-supported,multiple-document-handling-supported,operations-supported,print-color-mode-supported,printer-alert,printer-alert-description,printer-is-accepting-jobs,printer-mandatory-job-attributes,printer-state,printer-state-message,printer-state-reasons
D [20/Feb/2020:15:43:40 +0000] [Job 37099] ---- end-of-attributes-tag ----
D [20/Feb/2020:15:43:40 +0000] [Job 37099] Validate-Job: successful-ok-ignored-or-substituted-attributes (successful-ok-ignored-or-substituted-attributes)
D [20/Feb/2020:15:43:40 +0000] [Job 37099] ---- operation-attributes-tag ----
D [20/Feb/2020:15:43:40 +0000] [Job 37099] attributes-charset charset utf-8
D [20/Feb/2020:15:43:40 +0000] [Job 37099] attributes-natural-language naturalLanguage en-us
D [20/Feb/2020:15:43:40 +0000] [Job 37099] status-message textWithoutLanguage successful-ok-ignored-or-substituted-attributes
D [20/Feb/2020:15:43:40 +0000] [Job 37099] ---- unsupported-attributes-tag ----
D [20/Feb/2020:15:43:40 +0000] [Job 37099] output-bin unsupported unsupported
D [20/Feb/2020:15:43:40 +0000] [Job 37099] ---- end-of-attributes-tag ----
D [20/Feb/2020:15:43:40 +0000] [Job 37099] Create-Job IPP/2.0
D [20/Feb/2020:15:43:40 +0000] [Job 37099] printer-uri=\"ipp://theprinter.acme.com:631/ipp\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] requesting-user-name=\"alexk\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] job-name=\"smbprn.00000004 PDF Test Page\"
D [20/Feb/2020:15:43:40 +0000] [Job 37099] Adding standard IPP operation/job attributes.
D [20/Feb/2020:15:43:40 +0000] [Job 37099] IPP/2.0 Create-Job #4
D [20/Feb/2020:15:43:40 +0000] [Job 37099] ---- operation-attributes-tag ----
D [20/Feb/2020:15:43:40 +0000] [Job 37099] attributes-charset charset utf-8
D [20/Feb/2020:15:43:40 +0000] [Job 37099] attributes-natural-language naturalLanguage en-us
D [20/Feb/2020:15:43:40 +0000] [Job 37099] printer-uri uri ipp://theprinter.acme.com:631/ipp
D [20/Feb/2020:15:43:40 +0000] [Job 37099] requesting-user-name nameWithoutLanguage alexk
D [20/Feb/2020:15:43:40 +0000] [Job 37099] job-name nameWithoutLanguage smbprn.00000004 PDF Test Page
D [20/Feb/2020:15:43:40 +0000] [Job 37099] ---- job-attributes-tag ----
D [20/Feb/2020:15:43:40 +0000] [Job 37099] output-bin keyword default
D [20/Feb/2020:15:43:40 +0000] [Job 37099] print-color-mode keyword auto-monochrome
D [20/Feb/2020:15:43:40 +0000] [Job 37099] sides keyword two-sided-long-edge
D [20/Feb/2020:15:43:40 +0000] [Job 37099] multiple-document-handling keyword separate-documents-collated-copies
D [20/Feb/2020:15:43:40 +0000] [Job 37099] finishings enum none
D [20/Feb/2020:15:43:40 +0000] [Job 37099] ---- end-of-attributes-tag ----
D [20/Feb/2020:15:43:44 +0000] [Job 37099] update_reasons(attr=1(media-empty-error), s=\"(null)\")
D [20/Feb/2020:15:43:44 +0000] [Job 37099] Get-Printer-Attributes: successful-ok-ignored-or-substituted-attributes (successful-ok-ignored-or-substituted-attributes)
D [20/Feb/2020:15:43:44 +0000] [Job 37099] ---- operation-attributes-tag ----
D [20/Feb/2020:15:43:44 +0000] [Job 37099] attributes-charset charset utf-8
D [20/Feb/2020:15:43:44 +0000] [Job 37099] attributes-natural-language naturalLanguage en-us
D [20/Feb/2020:15:43:44 +0000] [Job 37099] status-message textWithoutLanguage successful-ok-ignored-or-substituted-attributes
D [20/Feb/2020:15:43:44 +0000] [Job 37099] ---- printer-attributes-tag ----
D [20/Feb/2020:15:43:44 +0000] [Job 37099] compression-supported 1setOf keyword none,gzip
D [20/Feb/2020:15:43:44 +0000] [Job 37099] copies-supported rangeOfInteger 1-255
D [20/Feb/2020:15:43:44 +0000] [Job 37099] document-format-supported 1setOf mimeMediaType application/pdf,application/octet-stream,image/jpeg,image/urf,application/postscript
D [20/Feb/2020:15:43:44 +0000] [Job 37099] marker-colors 1setOf nameWithoutLanguage #000000,#00FFFF,#FF00FF,#FFFF00,none
D [20/Feb/2020:15:43:44 +0000] [Job 37099] marker-high-levels 1setOf integer 100,100,100,100,100
D [20/Feb/2020:15:43:44 +0000] [Job 37099] marker-levels 1setOf integer 20,30,40,40,100
D [20/Feb/2020:15:43:44 +0000] [Job 37099] marker-low-levels 1setOf integer 10,10,10,10,10
D [20/Feb/2020:15:43:44 +0000] [Job 37099] marker-names 1setOf nameWithoutLanguage Black Toner,Cyan Toner,Magenta Toner,Yellow Toner,staples
D [20/Feb/2020:15:43:44 +0000] [Job 37099] marker-types 1setOf keyword toner,toner,toner,toner,staples
D [20/Feb/2020:15:43:44 +0000] [Job 37099] media-col-supported 1setOf keyword media-left-margin,media-right-margin,media-top-margin,media-bottom-margin,media-type,media-source,media-size
D [20/Feb/2020:15:43:44 +0000] [Job 37099] multiple-document-handling-supported 1setOf keyword separate-documents-collated-copies,separate-documents-uncollated-copies,single-document
D [20/Feb/2020:15:43:44 +0000] [Job 37099] operations-supported 1setOf enum Print-Job,Validate-Job,Cancel-Job,Get-Job-Attributes,Get-Jobs,Get-Printer-Attributes,Create-Job,Send-Document,Pause-Printer,Resume-Printer,Purge-Jobs,Identify-Printer
D [20/Feb/2020:15:43:44 +0000] [Job 37099] print-color-mode-supported 1setOf keyword auto,monochrome,color,process-monochrome,auto-monochrome
D [20/Feb/2020:15:43:44 +0000] [Job 37099] printer-is-accepting-jobs boolean true
D [20/Feb/2020:15:43:44 +0000] [Job 37099] printer-state enum idle
D [20/Feb/2020:15:43:44 +0000] [Job 37099] printer-state-reasons keyword media-empty-error
D [20/Feb/2020:15:43:44 +0000] [Job 37099] ---- end-of-attributes-tag ----
D [20/Feb/2020:15:43:45 +0000] [Job 37099] Create-Job: successful-ok-ignored-or-substituted-attributes (successful-ok-ignored-or-substituted-attributes)
D [20/Feb/2020:15:43:45 +0000] [Job 37099] ---- operation-attributes-tag ----
D [20/Feb/2020:15:43:45 +0000] [Job 37099] attributes-charset charset utf-8
D [20/Feb/2020:15:43:45 +0000] [Job 37099] attributes-natural-language naturalLanguage en-us
D [20/Feb/2020:15:43:45 +0000] [Job 37099] status-message textWithoutLanguage successful-ok-ignored-or-substituted-attributes
D [20/Feb/2020:15:43:45 +0000] [Job 37099] ---- unsupported-attributes-tag ----
D [20/Feb/2020:15:43:45 +0000] [Job 37099] output-bin unsupported unsupported
D [20/Feb/2020:15:43:45 +0000] [Job 37099] ---- job-attributes-tag ----
D [20/Feb/2020:15:43:45 +0000] [Job 37099] job-uri uri ipp://<IP_ADDRESS>/ipp/961
D [20/Feb/2020:15:43:45 +0000] [Job 37099] job-id integer 961
D [20/Feb/2020:15:43:45 +0000] [Job 37099] job-state enum processing
D [20/Feb/2020:15:43:45 +0000] [Job 37099] job-state-reasons keyword job-incoming
D [20/Feb/2020:15:43:45 +0000] [Job 37099] job-state-message textWithoutLanguage job-incoming
D [20/Feb/2020:15:43:45 +0000] [Job 37099] number-of-intervening-jobs integer 0
D [20/Feb/2020:15:43:45 +0000] [Job 37099] ---- end-of-attributes-tag ----
D [20/Feb/2020:15:43:45 +0000] [Job 37099] Print job accepted - job ID 961.
D [20/Feb/2020:15:43:45 +0000] [Job 37099] Sending file 1 using chunking...

D [20/Feb/2020:15:44:01 +0000] [Job 37099] time-at-completed=1582213441
I [20/Feb/2020:15:44:01 +0000] [Job 37099] Job completed.
D [20/Feb/2020:15:44:02 +0000] [Job 37099] Unloading...

OK, so two things: the SMB print job is coming as raw, and the default ColorModel for the queue is probably Gray.
If you are still experiencing this issue, please report this to the OpenPrinting CUPS project.


Authentication Disabled Temporarily for this Application

Upon executing auth.py I am greeted with the message:
Authentication Disabled Temporarily for this Application in my web browser.

Sorry for the problem. The app is using Gmail API with OAuth consent screen, and that need verification which I didn't finished yet. I'll try to do it soon.

I am having the same issue. Is there an alternative way to log in or is the project just unusable right now...?

@erdemoney
for new users I'm afraid it's unusable now

Thats too bad. You should probably put a disclaimer in the readme until its fixed.

Just now I submitted the app for verification with already verified domain, so in a day or two authentication should work again.

@needo37 @erdemoney
Should work now. Please get new version and try run auth.py again.

Thanks for the quick fix. It works great!

19f52e115821c415c18c4f6f433e0358b7edaae5
284fb40dbe7468ef29a188f87a560f99eb4bd566


Add array_remove to JsonValue

This exposes the removefunction from Vec for JsonValue::array objects. This generally spoken allows to pop arbitrary objects.

Thanks for the PR!
I like it, but it will cause a panic if the index is out of bounds, and do nothing if the type is not an array.
Ideally the panic should be handled, Result<()> should be returned and the returned value forced to be used, akin to what push does.

The function design is inspired by the push method which does also panic in a certain case ("Panics if the number of elements in the vector overflows a usize." ). The panic that array_array() will throw is directly inherited from the standard library and could only be avoided by checking if the index is in the bounds of the Vec. I'd prefer going the way the standard library because its design has been extensively discussed and it is the expected behavior for most users.
It would be no problem to return a Result<()> instead of JsonValue::null, but this should then also be done in pop(), which exactly the same as remove() without taking an index. Using this throughout the library would even be preferable to returning JsonValue::null as you otherwise can't say if the call failed because the element is not an array or if the member of the array has the value JsonValue::null.

Agh. I'm sorry, I did misread things (at work so kinda distracted).
You are right of course. I'd still prefer to handle the panic, returning Null if the index is out of bounds to make the API consistent with pop would be best.

I've updated the PR accordingly and stashed my changes.
For comprehensiveness, here's the bevahior of the std libs vs. the behavior of json-rust:
Remove

situation
std
json-rust

index is out of bound
panics
returns null

The value is null
returns null
returns null

Pop

situation
std
json-rust

Vec is empty
returns Error
returns null

The value is null
returns null
returns null

Push

situation
std
json-rust

The Vec's length would exceed usize
panics
panics

The value is null
returns null
returns null

For the record, what I dislike here is a) that the output value does not allow differentiating failure and success while rust is built upon Option and Result to enforce this differentiation and b) that we're altering the semantics of std functions instead of embracing consistency and using the design knowledge built into std.
This PR should be merge-able anyway as the api's behavior is well-defined by the documentation.

Thanks again for the PR and feedback!
The deviation from std has been a concern and the extend to which this crate goes away from it varies on case to case basis. There are situations where returning null on failure is the only way to produce a nice API (index traits which have to succeed or panic), the remove method is, however, not one of those cases and could be changed to Option<JsonValue> instead. Those things are good candidates for change in the 1.0 release.

Just got a moment and published this. Will update docs when I'm back from holidays.


[ISSUE-901][BUG] During worker graceful shutdown, worker should report itself as unavailable and avoid master allocate slots on it.

What changes were proposed in this pull request?
Why are the changes needed?

What are the items that need reviewer attention?
Related issues.
Related pull requests.
close #901
How was this patch tested?
/cc @related-reviewer
/assign @main-reviewer

/regression

ping @waitinfuture @FMX

/regression

/regression

https://github.com/alibaba/celeborn/actions/runs/3374496032


update ArangoDB 2.8.11

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same formula update/change?
[x] Have you built your formula locally prior to submission with brew install <formula> (where <formula> is the name of the formula you're submitting)?
[x] Does your submission pass brew audit --strict --online <formula> (after doing brew install <formula>)?
[x] Does your submission adhere to Versions "Acceptable Formulae" guidelines?

Can you chuck in a:
depends_on "gcc" if MacOS.version == :mavericks

here? Thanks!

@DomT4 done

Merged in https://github.com/Homebrew/homebrew-versions/commit/103648cde7c330cedf64ae7cc9a91ef26be2da4e. Thanks @fceller! 🍻


Update design documentation

The design doc is updated to reflect the current CRD design and for
providing a high level overview and introduction of dataplane-operator.
Signed-off-by: James Slagle<EMAIL_ADDRESS>

/lgtm


[HOLD for payment 2023-06-29] [$1000] Web - Connect Bank _ App Fails to Proceed with Similar Routing and Account Numbers Without Error Message

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

Action Performed:

Open the app settings.
Navigate to the Workspace section.
Click on a workspace
Click on the Travel Section
Click on Connect Manually option
Connect to the bank manually and add similar routing and account numbers. (I used this as an example,  Routing number:-074000078, Account number:-074000078)
Check the "I accept the Expensify Terms of Service" box and click on "Continue"

Expected Result:
The app should display an error message explaining why you cannot proceed to the next step after clicking on "Continue"
Actual Result:
The app doesn't allow for identical routing and account numbers to proceed to the next step, but it doesn't provide an error message to explain why.
Workaround:
Unknown
Platforms:

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

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: yes
Reproducible in production?: yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
screen-capture (57).webm
https://github.com/Expensify/App/assets/93399543/cb9f4483-3370-423a-a38e-bdd8d83a8426
Expensify/Expensify Issue URL:
Issue reported by: @tewodrosGirmaA
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1685780270803909
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0193062cf01d9d9ba8
Upwork Job ID:<PHONE_NUMBER>680740352
Last Price Increase: 2023-06-06

Reproduced.
https://github.com/Expensify/App/assets/8292562/d5ee1193-f1bf-4150-bbca-8512c3d3c225

how to>

Thanks, assigning @tienifr

@tjferriss we are going with the copy:

The routing number and account number cannot be the same
El número de ruta y el número de cuenta no pueden ser iguales

Everyone has been sent an offer via Upworks. @thesahindia can you please get started on the checklist?

Thank you @tjferriss I accepted the offer, Thank you

I just resent the offer here https://www.upwork.com/nx/wm/pre-hire/c/8577561/offer/25259791

@puneetlath I'm heading out on extended OOO. Can you please help with processing the payments?

Sure thing. @thesahindia friendly bump on the checklist.

All paid!


Make a Logo for Metapub

Metapub needs a logo!  Right?!  Yes.

Hi, I can help with this! Any ideas so far?

Hi @joofio !  open to all kinds of ideas at this point!

I will make a couple of options are post them here.

I thought I'd add one, as I really like this package - not too sure if it's what you're after, but I thought it combined some nice ideas.

And a couple more slightly improved / different for the sake of variety.

looks like an eye, a person and a caduceus

happy to send some more if you want iterations.

some others with pubmed-ish colours - moving into a dna kind of look too.

Hi sorry! Life kinda got in the way.
The last one with no drop shadow would be better. Then we need to create png, black and white and vector no?
For me the second one with a magnifying glass in the middle would be cool since it adds for the lookup.

I've put them all in there -- https://www.dropbox.com/sh/0a0hay2x9qpy5dk/AAB2-ccFzRNQoOGMEcLy9x4-a?dl=0
Magnifying glass looks pretty good.
Happy to do some more work on them - just let me know what you need.

Hey guys, thanks for posting some options.  I know it's been a long while since I attended to this project (lots of life issues).  I really appreciate the creative work and I'll audition a few of these ideas with a colleague on Monday.
Thanks again.

Going with a logo from another source.  Thanks again for your contributions, they were good motivation for getting back on track with this project!


Cannot build project with hyphen in the project name

Describe the bug
Trying to build a project with a hyphen in the name causes the build to fail.
Steps To Reproduce
Follow the mobile/wry setup (here). When following the Getting Started steps, use the following inputs.
user@device:~/temp$ mkdir hello
user@device:~/temp$ cd hello
user@device:~/temp/hello$ cargo mobile init
Project name (hello): hello-world
Stylized name (Hello World): HelloWorld
Domain (hello.com): hello.com
Detected template packs:
  [0] bevy
  [1] bevy-demo
  [2] wgpu
  [3] winit
  [4] wry
  Enter an index for a template pack above.
Template pack (0): 4
Generating base project...
Initialized empty Git repository in /home/user/temp/hello/.git/
Installing extensions...
Extension 'vadimcn.vscode-lldb' v1.8.1 is already installed. Use '--force' option to update to latest version or provide '@<version>' to install a specific version, for example<EMAIL_ADDRESS>Installing Android toolchains...
info: component 'rust-std' for target 'aarch64-linux-android' is up to date
info: component 'rust-std' for target 'armv7-linux-androideabi' is up to date
info: component 'rust-std' for target 'i686-linux-android' is up to date
info: component 'rust-std' for target 'x86_64-linux-android' is up to date
Generating Android Studio project...
victory: Project generated successfully!
    Make cool apps! 🌻 🐕 🎉

Connect your debugging device (I am using a virtual device in WSL, but the same happened with Android Studio in Windows)
Finally, run cargo android run.
Expected behavior
Plenty of happy logs, and then:
Compiling block-buffer v0.10.3
error: failed to run custom build command for `wry v0.24.1 (https://github.com/tauri-apps/wry#da55344d)`

Caused by:
  process didn't exit successfully: `/home/user/temp/hello/target/debug/build/wry-1c788750f9c62439/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=WRY_ANDROID_PACKAGE
  cargo:rerun-if-env-changed=WRY_ANDROID_LIBRARY
  cargo:rerun-if-env-changed=WRY_ANDROID_KOTLIN_FILES_OUT_DIR
  cargo:rerun-if-changed=/home/user/temp/hello/gen/android/hello_world/app/src/main/kotlin/com/hello

  --- stderr
  thread 'main' panicked at 'Failed to canonicalize `WRY_ANDROID_KOTLIN_FILES_OUT_DIR` path /home/user/temp/hello/gen/android/hello_world/app/src/main/kotlin/com/hello', /home/user/.cargo/git/checkouts/wry-0ba07c7b81cd1a87/da55344/build.rs:39:11
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: Failed to compile lib
    `Failed to run `cargo build`: Command "cargo build --package hello-world
    --manifest-path /home/user/temp/hello/Cargo.toml --target
    x86_64-linux-android --color always" didn't complete successfully, exiting
    with code 101.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:rustBuildX86_64Debug'.
> Process 'command 'cargo'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 11s
error: Failed to assemble APK
    Command "/home/user/temp/hello/gen/android/hello_world/gradlew --project-dir
    /home/user/temp/hello/gen/android/hello_world assembleX86_64Debug --warn" didn't complete successfully, exiting
    with code 1.

Screenshots
If applicable, add screenshots to help explain your problem.
Platform and Versions (please complete the following information):
OS: WSL/Windows
Rustc: rustc 1.66.0 (69f9c33d7 2022-12-12)
Would you want to assign yourself to resolve this bug?
Open to it, but limited on time at the moment.

I just released a new version of tauri-mobile that should address this, can you try creating a new project and see if the issue persists?

today, i have resolved with project name without hyphen ( cargo install --force --git https://github.com/tauri-apps/tauri-mobile not resolve issue)
before
cargo mobile init
Project name (zzz-test-tauri-mobile): zzz-test-tauri-mobile <--- keep hyphen
cargo android run
'Failed to canonicalize WRY_ANDROID_KOTLIN_FILES_OUT_DIR
after
cargo mobile init
Project name (zzz-test-tauri-mobile): zzztesttaurimobile <---- without hyphen
cargo android run
Success

Hi, thanks for the release. I have moved over to react-native and in doing so seem to have messed up my tauri setup such that I cannot test this anymore. If you believe you have fixed the issue, I believe it! Thanks!

Let me know if you it happens again


README.adoc: add Gitter badge

Let the world know where all the cool people hang out.

@damithc are we merging this? :P

We can. Students will have to remove after forking though. I suppose they'll figure it out themselves.


pdksync - (maint) travis updates: bundler and slack

(maint) travis updates: bundler and slack
pdk version: 1.15.0

Codecov Report

Merging #65 into master will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff          @@
##           master   #65   +/-   ##
====================================
  Coverage       0%    0%
====================================
  Files           1     1
  Lines          14    14
====================================
  Misses         14    14

Continue to review full report at Codecov.

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


"Unknown" Zoom versions

Describe the bug
When running Get-Zoom the versions for most downloads is listed as Unknown
PS C:\Users\Iain\Dropbox\Apps\PowerShell\6.1.1> Get-Zoom

Version        Platform Type    URI
-------        -------- ----    ---
Unknown        Windows  Outlook https://zoom.us/client/latest/ZoomOutlookPluginSetup.msi
4.6.17409.0120 Windows  EXE     https://d11yldzmag5yn.cloudfront.net/prod/4.6.17409.0120/ZoomInstaller.exe
Unknown        Windows  Lync    https://zoom.us/client/latest/ZoomLyncPluginSetup.msi
Unknown        Windows  Rooms   https://zoom.us/client/latest/ZoomRooms.exe
4.7.52180.0404 Windows  Notes   https://d11yldzmag5yn.cloudfront.net/prod/4.7.52180.0404/ZoomNotesPlugi...
Unknown        Windows  MSI     https://zoom.us/client/latest/ZoomInstallerFull.msi
Unknown        Citrix   HPTh... https://d11yldzmag5yn.cloudfront.net/prod/vdi/zoomcitrixplugin-hp_amd64...
Unknown        Citrix   eLux... https://d11yldzmag5yn.cloudfront.net/prod/vdi/zoomcitrixplugin_library_...
Unknown        Citrix   eLux... https://d11yldzmag5yn.cloudfront.net/prod/vdi/zoomcitrixplugin_library_...
Unknown        Citrix   HPTh... https://d11yldzmag5yn.cloudfront.net/prod/vdi/zoomcitrixplugin-hp_i386.deb
Unknown        Citrix   Wind... https://d11yldzmag5yn.cloudfront.net/prod/vdi/ZoomCitrixHDXMediaPlugin.msi
Unknown        Citrix   IGEL... https://d11yldzmag5yn.cloudfront.net/prod/vdi/zoomcitrixplugin-igel_64.zip
Unknown        Citrix   Wind... https://d11yldzmag5yn.cloudfront.net/prod/vdi/ZoomInstallerVDI.msi
Unknown        VMware   Client  https://d11yldzmag5yn.cloudfront.net/prod/vdi/ZoomVmwareMediaPlugin.msi

I have confirmed this is the current behaviour in Windows PowerShell 5.1 and PowerShell Core 6.1.1 on Windows 10 1909. It appears that the Resolve-RedirectedUri is having problems following some of the links.
I'm not sure whether it helps or not, but this code (I am only interested in the MSI versions!) functions on both Windows PowerShell 5.1 and PowerShell Core 6.1.1 on Windows 10 1909:
function Resolve-Uri
{
    [CmdletBinding()]
    param (
        [Parameter(Mandatory, ValueFromPipeline, ValueFromPipelineByPropertyName)]
        [System.String] $Uri
    )
    process
    {
        try
        {
            $httpWebRequest = [System.Net.WebRequest]::Create($uri)
            $httpWebRequest.MaximumAutomaticRedirections = 3
            $httpWebRequest.AllowAutoRedirect = $true
            $webResponse = $httpWebRequest.GetResponse()
            Write-Output -InputObject $webResponse.ResponseUri.AbsoluteUri
        }
        catch
        {
            throw $_
        }
        finally
        {
            $webResponse.Dispose()
        }
    }
}

function Get-ZoomEx
{
    [CmdletBinding()]
    param ( )
    process
    {
        $downloads = @{
            Client = 'http://zoom.us/client/latest/ZoomInstallerFull.msi'
            Outlook = 'http://zoom.us/client/latest/ZoomOutlookPluginSetup.msi'
            Notes = 'https://zoom.us/client/latest/ZoomNotesPluginSetup.msi'
            Lync = 'http://zoom.us/client/latest/ZoomLyncPluginSetup.msi'
            Rooms = 'http://zoom.us/client/latest/ZoomRoomsInstaller.msi'
        }

        foreach ($download in $downloads.GetEnumerator())
        {
            $version = 'Unknown'
            $uri = Resolve-Uri -Uri $download.Value
            $regexMatch = [Regex]::Match($uri, '(?<=/)\d+(\.\d+){2,}(?=\.\d+/)')
            if ($regexMatch.Success -eq $true)
            {
                $version = $regexMatch.Value
            }
            [PSCustomObject] @{
                Version = $version
                Product = $download.Key
                Uri = Resolve-Uri -Uri $download.Value
            }
        }
    }
}

PS C:\Users\Iain\Dropbox\Apps\PowerShell\6.1.1> Get-ZoomEx -Verbose

Version   Product Uri
-------   ------- ---
4.6.17409 Client  https://d11yldzmag5yn.cloudfront.net/prod/4.6.17409.0120/ZoomInstallerFull.msi
4.6.1244  Rooms   https://d11yldzmag5yn.cloudfront.net/prod/4.6.1244.0112/ZoomRoomsInstaller.msi
4.7.52180 Notes   https://d11yldzmag5yn.cloudfront.net/prod/4.7.52180.0404/ZoomNotesPluginSet...
4.8.17303 Outlook https://d11yldzmag5yn.cloudfront.net/prod/4.8.17303.0117/ZoomOutlookPluginS...
4.8.13207 Lync    https://d11yldzmag5yn.cloudfront.net/prod/4.8.13207.1127/ZoomLyncPluginSetu...

Feel free to use whatever helps!
Thanks,
Iain

@iainbrighton is (?<=/)\d+(\.\d+){2,}(?=\.\d+/) a better way to match a version number than what I've been using previously?

fixed in 2002.120

Not sure! It just uses positive look-behind (?<=) and look-ahead (?=) matches.
The (?<=/) looks for a forward slash. If it doesn’t find one, the main capture group is not enumerated. The benefit is that this is not included in the resulting match(es).
The (?=.\d+/) look for a period, a number and a forward slash. The benefit is that this is also not included in the resulting match(es), effectively stripping the last version.
Here are some examples – notice that the 3-part version number does NOT match.
C:..\Dropbox\PowerShell> '/1.2.3/' -match '(?<=/)\d+(.\d+){2,}(?=.\d+/)'; $matches[0]
False
C:..\Dropbox\PowerShell> '/<IP_ADDRESS>/' -match '(?<=/)\d+(.\d+){2,}(?=.\d+/)'; $matches[0]
True
1.2.3
C:..\Dropbox\PowerShell> '/<IP_ADDRESS>.5/' -match '(?<=/)\d+(.\d+){2,}(?=.\d+/)'; $matches[0]
True
<IP_ADDRESS>
C:..\Dropbox\PowerShell> '/<IP_ADDRESS>.5.6/' -match '(?<=/)\d+(.\d+){2,}(?=.\d+/)'; $matches[0]
True
<IP_ADDRESS>.5
I don’t know whether you wanted to return all version number parts. In my implementation, I didn’t! If you want all the version number bits you could use (?<=/)\d+(.\d+){2,}(?=/)
C:..\Dropbox\PowerShell> '/1.2.3/' -match '(?<=/)\d+(.\d+){2,}(?=/)'; $matches[0]
True
1.2.3
C:..\Dropbox\PowerShell> '/<IP_ADDRESS>/' -match '(?<=/)\d+(.\d+){2,}(?=/)'; $matches[0]
True
<IP_ADDRESS>
C:..\Dropbox\PowerShell> '/<IP_ADDRESS>.5/' -match '(?<=/)\d+(.\d+){2,}(?=/)'; $matches[0]
True
<IP_ADDRESS>.5
C:..\Dropbox\PowerShell> '/<IP_ADDRESS>.5.6/' -match '(?<=/)\d+(.\d+){2,}(?=/)'; $matches[0]
True
<IP_ADDRESS>.5.6
For completeness, a simple 3 part (or more) version match regex could simply look like this: \d+(.\d+){2,}
Thanks,
Iain


remove uncompressed from filops snapshots

Summary of changes

Changes introduced in this pull request:

FILOps is no longer serving uncompressed snapshots and their latest is redirecting to a compressed one. Adapted Forest logic to this.

Reference issue to close (if applicable)

Closes
Other information and links

Change checklist

[x] I have performed a self-review of my own code,
[x] I have made corresponding changes to the documentation,
[x] I have added tests that prove my fix is effective or that my feature works (if possible),
[x] I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

Maybe we should toggle the flag, fetching compressed by default and use --uncompressed to fetch uncompressed. Or maybe drop the flag and let users decompress on their own

there's already a tracking issue for this https://github.com/ChainSafe/forest/issues/2873


Split override 水里

水里
Reference: https://www.grimmstories.com/zh/grimm_tonghua/yufu_he_ta_de_qizi#:~:text=请把我放回水里

Yes this is a good one.  ABC has "水里[-裡] shuǐli p.w. in the water" but I'm really not sure it makes sense to join in most contexts, and even in contexts where it does (水里的鱼) it'll still work without...


[GSB] Add a requirement source modeling the binding of a concrete type.

When a potential archetype refers to a concrete (non-associated) type
declaration, we bind to that concrete type. Add a new requirement
source kind for this case that is always derived, separating it from
the nested-type-name-match source.
One important aspect of this is that typealiases in protocols that
"override" an associated type an inherited protocol will generate the
same requirement signature as the equivalent protocol that uses a
same-type constraint, making the suppression of the "hey, this is
equivalent to a same-type constraint now!" warning an ABI-preserving
change.
With this, remove a now-unnecessary hack for nested-name-match
requirement sources.

@swift-ci please smoke test and merge


Support for z.refine

Seeing the following error. I don't think z.refine() is supported
UnknownZodTypeError {
  message: 'Unknown zod object type, please specify `type` and other OpenAPI props using `ZodSchema.openapi`.',
  data: {
    currentSchema: {
      schema: [ZodObject],
      typeName: 'ZodEffects',
      effect: [Object],
      openapi: [Object]
    },
    schemaName: 'Object'
  }
}```

Hello @blade2005,
Thank you for using asteasolutions/zod-to-openapi and reporting your problem. Yes, refine options are not currently handled. It would be a straight forward feature to implement. I'll add it to a new release tomorrow morning.
In the meantime you can provide a type by using  .openapi({ type: 'object' }) to avoid the overall error.

Added in the v1.2.0 release.

Can we also add support for  ZodEffects to RouteConfig.request options please?
Would be nice to be able to use .transform() for request.body for example - directly, and not add it only after passing schema to .registerPath()

@elmeister there are a couple of things that I get from your request:

Support for ZodEffects in request.body. I believe this one is already present.
Support for .transform - this request we've labeled impossible (also mentioned in the README.md
Overall it wouldn't be correct to support transform for your body. Let's say you have an API that has the following body schema:

const schema = z.object({ id: z.string().transform(val => Number(val)) })

in that case the actual API accepts a string and this is what the documentation should be as well, isn't it?
And finally - if you feel like there is still something that we can improve on based on my comments - please feel free to open up an issue.


changeDate not called when  navigating with TAB after inputing the date and

Hello,
When the date is inserted manually, e.g. typing 10.10.2010, after hitting tab (to go to next field), changeDate does not called.

I have the same problem. Is there a more clever solution than using focus-out systematically?


Log spam with candy threshold messages

Expected Behavior
Not sure
Actual Behavior
Got spammed with messages about candy amount over threshold every second, without knowing what to do.
Amount of candies for Kakuna is 1994, greater than threshold 400

But then what? what am I supposed to do?
Your FULL config.json (remove your username, password, gmapkey and any other private info)
http://pastebin.com/qWRy6i4e
Output when issue occurred
http://pastebin.com/CYUCR1D8
Steps to Reproduce
Other Information
OS:
Mac
Branch:
dev
Git Commit:
f02ce439aa4e6f6c14c9a2aafb8fea848ac6a6ca

It is in your config: "any": {"candy_threshold" : 400, "catch_above_cp": 0, "catch_above_iv": 0, "logic": "or"}

@Anakin5 indeed

@Anakin5 sorry but why closing this? the problem is with that log message appearing every second.

Ok

Wow, this is definitely an issue. Why on earth are we displaying this event????

#5604 fixes this.


Better Error handling

:tada: This PR is included in version 5.8.7 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


Country option

Issue #6
This PR add the country option

Thanks for the PR. I applied your changes outside of this PR as I had to do more changes for the builds not failing. I kept you as author in the commit history.


Fix grammar in docs: communication-in-microservice-architecture.md

Title
Fix grammar in communication-in-microservice-architecture.md
Summary
Rephrase 'not' => 'Neither' + 'nor'

@mairaw Thanks for the suggestion, I agree w/ the phrasing you proposed for that sentence. I've added the requested changes and force-pushed to the remote branch.
ping @CESARDELATORRE


LND and CoreLN should function for onchain

You should be able to just use a lightning node to handle both ln and onchain payments

You mean - using CLN / LND built-in wallet? As usually you will run bitcoind anyway.

Forgot about this issue but had dream while sleeping last night that this should be implemented. :) Yes, people will likely run bitcoind alongside CLN / LND, but it can have wallet functionality disabled.


please provide patch release for #552

without a release the problem described in #552 is still broken in the latest release.
would you mind releasing a patch release that includes the necessary fix?
thanks in advance!

v2.3.5 is out

thank you very much :)


Make automatic rollover optional (#103)

This adds a new option to control whether or not the rollover happens automatically upon file creation, or whether it must be manually triggered. This will resolve #103, and should make this plugin easier to use in conjunction with Templater.

Thank you for your PR, I agree in order to mitigate the issues with Templater we have to make the automatic rollover optional. Although I would argue, that the default behaviour until now was, that it rolled over automatically, so we should keep it true by default.
I realized that there is already a PR, I just created a second one. Please see #112
If it is alright with you, I would like to take the changes you made to the README and add it to #112.


Microsoft.Azure.EventHubs vs Microsoft.ServiceBus.Messaging

There seem to be two different EventHubClient classes, and it's not obvious which one to use. One is in the Microsoft.Azure.EventHubs namespace, which can be found in the Microsoft.Azure.EventHubs.dll assembly that ships in the https://www.nuget.org/packages/Microsoft.Azure.EventHubs/ NuGet package, and the other is in the Microsoft.ServiceBus.Messaging namespace, found in the Microsoft.ServiceBus.dll that ships in the https://www.nuget.org/packages/WindowsAzure.ServiceBus/ NuGet package.
As far as I can tell, the former is newer, but this article tells you to use the latter. It is not clear why both exist. Both appear to be under active development. The source code for the former is easier to find: it's at https://github.com/Azure/azure-event-hubs-dotnet whereas I've not been able to find the EventHubClient source code for the WindowsAzure.ServiceBus package. It doesn't seem to be in https://github.com/Azure/azure-service-bus-dotnet/ which purports to provide the .NET client for Azure Service Bus. That turns out to be yet another NuGet package, https://www.nuget.org/packages/Microsoft.Azure.ServiceBus
That last one describes itself as a 'next generation' client library for Service Bus. The implication seems to be the the WindowsAzure.ServiceBus package recommended by this page is the 'old' library, and that it has been superseded by newer libraries in which Service Bus's queue and topic handling has been separated out into one library (Microsoft.Azure.ServiceBus) with the Event Hub handling moved into a more specialized library (Microsoft.Azure.EventHubs).
And that would certainly be consistent with the fact that with Azure client libraries, the presence of the name WindowsAzure tends to indicate something older than Microsoft.Azure. (This is somewhat obscured by the ongoing support for old libraries, meaning that sometimes an 'old' library's most recent release has a more recent timestamp than the 'new' one.)
So this would suggest that if you're writing new Event Hub client code today, you should use the Microsoft.Azure.EventHubs package.
And yet this page is recommending the WindowsAzure.ServiceBus package. (It doesn't explicitly say that, but it's implied because it points to the EventHubClient in the Microsoft.ServiceBus.Messaging namespace, and that particular EventHubClient is found in that package.)
Which should we use? Is one preferred? Or does each library offer its own distinct pros and cons, meaning that the choice should be driven by your application's particular requirements?

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

ID: b109d8b1-4a76-6c2c-b7a1-f473c3723a68
Version Independent ID: 2ffb9a42-52e2-8aa1-86cc-d1033c42ec49
Content: Programming guide for Azure Event Hubs
Content Source: articles/event-hubs/event-hubs-programming-guide.md
Service: event-hubs
Product: unspecified
GitHub Login: @sethmanheim
Microsoft Alias: sethm

@idg10 Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@idg10 Hi and thank you for reaching out. The libraries are a bit confusing, but that's due to legacy and backward compatibility reasons. At one time Azure Service Bus and Azure Event Hubs were one product, so the WindowsAzure.ServiceBus library/NuGet  package contain types for both services. Because of backward compat, this older (closed source) library has to live on. Unfortunately the 2 libraries do not yet have 1:1 feature parity.
You are also right in that this article (the programming guide) needs to be updated. It's not technically incorrect but gives the impression that the old library is the default, and/or we recommend using it. We do not -- whenever possible we recommend using the newer, open source library (Microsoft.Azure.EventHubs). This article and the ones under it contain some explanation of the different types of APIs available.
In addition, although we also continue to publish the older tutorials that use the older library, you will also see that the newer ones  higher up in the table of contents use the newer libraries, and we recommend those as good practice.
We will update the programming guide as soon as possible to clear up some of the confusion. In the meantime, you might find some good advice on using .NET Framework vs. .NET Core in similar posts on Stack Overflow.
Thank you again for the feedback!

Please let us know if you have further questions. #please-close

@idg10 We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and tag me in your reply. We will gladly continue the discussion.


Invariant Violation within

I'm using Jest for snapshot testing within my application. Drugin my test:
 it('should match snapshot', () => {
    const tree = renderer.create(<DocumentView {...props} />).toJSON();
    expect(tree).toMatchSnapshot();
  });

My component:

    <Element name={`document-${id}`}>

{name}

    </Element>
    {...}

I'm getting this error because of wrong findDOMNode call:
Invariant Violation: getNodeFromInstance: Invalid argument.

      at invariant (node_modules/fbjs/lib/invariant.js:44:15)
      at Object.getNodeFromInstance (node_modules/react-dom/lib/ReactDOMComponentTree.js:162:77)
      at Object.findDOMNode (node_modules/react-dom/lib/findDOMNode.js:49:41)
      at Object.registerElems (node_modules/react-scroll/lib/mixins/Helpers.js:228:32)
      at Object.componentDidMount (node_modules/react-scroll/lib/mixins/Helpers.js:217:14)
      at node_modules/react-test-renderer/lib/ReactCompositeComponent.js:265:25
      at measureLifeCyclePerf (node_modules/react-test-renderer/lib/ReactCompositeComponent.js:75:12)
      at node_modules/react-test-renderer/lib/ReactCompositeComponent.js:264:11
      at CallbackQueue.notifyAll (node_modules/react-test-renderer/lib/CallbackQueue.js:76:22)
      at ReactTestReconcileTransaction.close (node_modules/react-test-renderer/lib/ReactTestReconcileTransaction.js:36:26)
      at ReactTestReconcileTransaction.closeAll (node_modules/react-test-renderer/lib/Transaction.js:206:25)
      at ReactTestReconcileTransaction.perform (node_modules/react-test-renderer/lib/Transaction.js:153:16)
      at batchedMountComponentIntoNode (node_modules/react-test-renderer/lib/ReactTestMount.js:69:27)
      at ReactDefaultBatchingStrategyTransaction.perform (node_modules/react-test-renderer/lib/Transaction.js:140:20)
      at Object.batchedUpdates (node_modules/react-test-renderer/lib/ReactDefaultBatchingStrategy.js:62:26)
      at Object.batchedUpdates (node_modules/react-test-renderer/lib/ReactUpdates.js:97:27)
      at Object.render [as create] (node_modules/react-test-renderer/lib/ReactTestMount.js:125:18)
      at Object.it (src/components/__tests__/DocumentView.test.js:74:72)

I looked into Helpers.Element code and it seems all right so I'm lost right now because I want to send PR with fix if this is error with library itself, but I have no idea what's wrong.

This is error with react-test-renderer not supporting findDOMNode. They discourage findDOMNode in favour of refs.

Is there anything agains updating react-scroll to JSX and current React conventions?
/cc @fisshy