WIP: Use reactors to notify Velum of important events

Work in progress, please do not review yet.

[x] Use SSL/TLS for callbacks and pillar
[ ] Use API auth for callbacks and pillar (basic auth?)
[ ] Implement pillar caching locally, so if Velum does not respond or is temporarily unavailable we still render the latest pillar we had.

Depends on:

https://github.com/kubic-project/velum/pull/299
https://github.com/kubic-project/caasp-container-manifests/pull/100

From my understanding of this PR, the reactor is basically used for filtering the events we are interested in. But those events are transformed in HTTPS calls that, at the end, will be stored in the database after going through Velum, all the the Ruby stack and so. Wouldn't it be easier just to write our own returner that filters the events we are interested in and saves them to the database?

From my understanding of this PR, the reactor is basically used for filtering the events we are interested in. But those events are transformed in HTTPS calls that, at the end, will be stored in the database after going through Velum, all the the Ruby stack and so. Wouldn't it be easier just to write our own returner that filters the events we are interested in and saves them to the database?

I would like to discuss this in a broader approach of the whole architectural point of view of the system:

A returner writing to mysql doesn't separate concerns (salt will still need to have mysql access directly)
A returner writing to mysql is very reduced on what it can do, only modify the database. It cannot trigger further actions or run logic that we might need
The pillar will be fetched from Velum (we already need basic auth here at least) -> we would have auth for the internal-api of Velum for fetching the pillar and the mysql credentials
Important changes on the mysql schema in Velum will require us to modify the returner to be in sync while this schema design is internal to Velum
A returner that only saves what we want misses to save the rest of the events -> a reactor will notify us of what we are interested in, while saving all events

In general, the whole idea of two different components writing/reading with internal representations of the other in a third component (mysql in this case) is something I would like to avoid at all costs. Two different components should talk to each other with their designed API to do so instead, IMHO. This gives us a lot more power, concern separation, better maintanability in the long run.

A returner writing to mysql doesn't separate concerns (salt will still need to have mysql access directly)

It would separate things quite well in my view. I don't quite understand the point about having mysql access.

A returner writing to mysql is very reduced on what it can do, only modify the database. It cannot trigger further actions or run logic that we might need.

This returner could just save things to the database, and actions can be done from the Velum side of things by querying the database.

The pillar will be fetched from Velum internal API (we already need basic auth here at least) -> we would have auth for the internal-api of Velum for fetching the pillar and the mysql credentials
Important changes on the mysql schema in Velum will require us to modify the returner to be in sync while this schema design is internal to Velum.

I don't think the schema changes so often, and changes are usually not so big. We are not talking about a database with 50 tables. Keeping in sync both things doesn't seem such a big deal to me...

A returner that only saves what we want misses to save the rest of the events -> a reactor will notify us of what we are interested in, while saving all events

You can use multiple returners if you want. We would use our own for the interesting events, but we could use another one for saving all the other events.
As you said, this is a broader architectural decision. I think this path will lead to much more complexity (ie, authentication will not be accepted to be just "basic auth", and we will need more certificates and more security stuff), while adding more load on Velum and the (slow) Ruby stack...

This PR is being splitted in different PR's. I will close this one when the whole functionality has been correctly splitted, so we can discuss smaller parts of it.

 Reactor callbacks

we can close here :japan:

closing as discussed


Add a collection to the index

Collection name
brigit
Maintainer name
brigit
Maintainer contact link (i.e. repo issues link, email)
github.com
Repository URL
github.com
OCI Reference
github.com
I acknowledge that this collection provides new functionality, distinct from the existing dev container collections part of this index

[x] Confirm

#sign-off


update Database seeding script for Next.js

Describe this PR
The seeding script mentioned in the docs, doesn't work  for Next.js + TS projects and threw an error.  For more details, check out this issue
Changes
Update seeding script to work with Next.js
This script doesn't work anymore with Prisma 3
 "prisma": {
     "seed": "ts-node --compiler-options \"{\\\"module\\\":\\\"commonjs\\\"}\" prisma/seed.ts"
   },

After
   "prisma": {
      "seed": "ts-node -O {\"module\":\"CommonJS\"} prisma/seed.ts"
   },

What issue does this fix?
Fixes this issue

Did you test this script on Windows?
Did you talk to the team responsible for this script?
There were multitudes of bugs because previously the example used a script that did not work on some platforms. Just replacing this without any conversation or review is not very nice.

@janpio oh I'm really sorry I didn't know that this issue was related to something cross platform, I thought it was something generic. 😬
Should I revert the change?

All good. I now realize my response sounded a lot more terse than I wanted it to - too many issues in to short amount of time :D Lets finish this via Slack and see where we end up.

https://github.com/prisma/prisma/issues/9211 contained a link to a reproduction repository, and we could confirm this change makes it work on Windows as well - so seems all good.


loruki-group-1,AgileDevelopment,4 weeks

[x] repo (with a complete README)
[x] live demo (GitHub Pages, not Netlify)
/planning

[x] constraints
[x] communication plan
[x] user personas
[x] backlog
[x] design
[ ] development strategy
[ ] retrospective

[x] project board

please correct to links, so they actually point to the repo and the live demo

@danielhalasz Thank you Daniel. Links updated.


APEXMALHAR-2069:  moved creation of scanService to setup,

@vrozov  pls review.

Curious about what the advantage is to having it in setup versus the constructor. Since it is a transient field, it's not going to be checkpointed anyway.

There are more operational on top of scanService that can and should be moved to setup().

@vrozov  pls review

Please check the test failure.

@vrozov I am looking at the failure and it's confusing. It doesn't fail in my workspace but it fails on travis. The failure is as follows:
Failed tests:
FileSplitterTest.testRecursive:426 window 2: files expected:<2> but was:<3>
Any suggestions about how I can troubleshoot this?

@sanjaypujare it may be a timing issue. Usually, travis-ci is slower compared to a development environment. Do test code review as a quick check, if you don't see anything wrong with the test, try reproducing in your environment by running the test multiple times.

Closing after talking to vrozov (created another pull request 333 from a different branch)


"registry.terraform.io/hashicorp/aws" does not offer a Terraform provider registry.

When I ran the "terraform init" command, got bellow error:
root@alireza-virtual-machine:/home/alireza/aws-localstack-lab# terraform init
Initializing the backend...
Initializing provider plugins...

Finding hashicorp/aws versions matching "~> 5.0"...
╷
│ Error: Invalid provider registry host
│
│ The host "registry.terraform.io" given in provider source address "registry.terraform.io/hashicorp/aws" does not offer a Terraform provider registry.
╵

Hello
It seems that this issue is because of Sanctions problems, So I close this issue.
Thanks


Add support for media keys and touchbar

See https://help.rescuetime.com/article/59-how-do-i-enable-accessibility-permissions-on-mac-osx


  Now we correctly error showing
which file was not found.

We did a bunch of sync and async file operations while in the async
functions.  This is now all moved to a single large spawn_blocking
call avoiding the many small spawn_blocking calls the async
operations give us as well as the potential blocking of the sync
file operations.

We did not check the maximum size of the serialised collection.

A few other smaller cleanups:

The CollectionOrBlob::Blob variant is now directly a struct, the
indirection of Data was not used anywhere to any effect and only
distracted.

The collection creation code is moved to it's own module now,
provider is still huge.

Hm, on my incremental branch I went the other way. I got this:
#[derive(Debug, Clone, PartialEq, Eq, From)]
pub(crate) enum BlobOrCollection {
    Blob(BlobData),
    Collection(CollectionData),
}

so I guess I am in more merge hell than before. But I guess I will probably have to start from scratch anyway and copy over changes...

Hm, on my incremental branch I went the other way. I got this:
#[derive(Debug, Clone, PartialEq, Eq, From)]
pub(crate) enum BlobOrCollection {
    Blob(BlobData),
    Collection(CollectionData),
}

That's also a reasonable way to go, but having just the one as simply Data was too weird to handle.

Hm, on my incremental branch I went the other way. I got this:
#[derive(Debug, Clone, PartialEq, Eq, From)]
pub(crate) enum BlobOrCollection {
    Blob(BlobData),
    Collection(CollectionData),
}

That's also a reasonable way to go, but having just the one as simply Data was too weird to handle.

Yeah, the inconsistency annoyed me as well...


Cow: Watch stillorgangas.ie

Cow requests the watch of the watch_keyword stillorgangas\.ie. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

stillorgangas\.ie has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


As a CIF administrator, I want to see the parameters of the report generation after I generated reports, so that I still have context on how those reports were generated

Description:
On both Annual and Quarterly reports, when the reports are generated, we hide the start and end dates used for the generation. This removes the context for the user, and
Acceptance Criteria:
Given I am a CIF administrator
When I generate Annual or Quarterly reports
And I click 'Generate Reports'
Then I can still see the dates used for the generation
Development Checklist:

[ ] Show the report generator component - without the generate button (maybe a read-only prop on it?)
[ ] Meets the DOD

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[ ] User story is included
[ ] User role and type are identified
[ ] Acceptance criteria are included
[ ] Wireframes are included (if required)
[ ] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)

·Definition of Done (Note: If any of these points are not applicable, mark N/A)

[ ] Acceptance criteria are tested by the CI pipeline
[ ] UI meets accessibility requirements
[ ] Configuration changes are documented, documentation and designs are updated
[ ] Passes code peer-review
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Ticket is ready to be merged to main branch
[ ] Can be demoed in Sprint Review
[ ] Bugs or future work cards are identified and created
[ ] Reviewed and approved by Product Owner

Notes:

Hey team! Please add your planning poker estimate with Zenhub @pbastia @Sepehr-Sobhani @gurjmatharu

Thank you @Sepehr-Sobhani - looks great and meets the acceptance criteria!


TOSA quant model memory usage regression

person_detect model execution results in 30% more memory usage from [snapshot 697]{https://github.com/google/iree/releases/tag/snapshot-20211208.697} to [snapshot 709]{https://github.com/google/iree/releases/tag/snapshot-20211214.709}
memory stats @ 697
[INFO] [[ iree_hal_allocator_t memory statistics ]]
[INFO]   HOST_LOCAL:            0B peak /            0B allocated /            0B freed /            0B live
[INFO] DEVICE_LOCAL:        93730B peak /        93730B allocated /        93730B freed /            0B live

memory stats @ 709
[INFO] [[ iree_hal_allocator_t memory statistics ]]
[INFO]   HOST_LOCAL:            0B peak /            0B allocated /            0B freed /            0B live
[INFO] DEVICE_LOCAL:       121602B peak /       121602B allocated /       121602B freed /            0B live

Note that TOSA quant flow was broken in between those two snapshots.
The generated mlir out of iree-import-tflite is also 2kB more for snapshot 709
person_detect_mlir.tar.gz
The regression also happens in other quant models, such as mobilenetV1; but floating version of mobilenetV1 is not affected.

Since snapshot 731, the hal memory for this model further grows to 241kB
[INFO] [[ iree_hal_allocator_t memory statistics ]]
[INFO]   HOST_LOCAL:            0B peak /            0B allocated /            0B freed /            0B live
[INFO] DEVICE_LOCAL:       241186B peak /       241186B allocated /       241186B freed /            0B live

So the optional decomposition was removed during this period of time. It would be useful to have a method to test the memory changes. It is possible the decomposition was benefiting and these regressions are unrelated to TOSA/TFLite specific work.

Reopened until we can validate

Validated that its in. Assigning back to @hcindyl to validate whether memory usage is reasonable.

the new -iree-scheduling-dump-statistics-format=pretty flag can be used on iree-translate to see the transient memory usage (for these simple static models) - may be useful for these kind of things as no need to run

Awesome! I thought we couldn't discover the runtime hal buffer usage in the codegen time. It would be fantastic to know ahead of time to see if we blow heap or not.

It's a different number than what the runtime can give - the runtime gives you the peak memory usage while the compiler can only give you an estimated cumulative sum of transients that could be allocated, so if you had this:
if (cond) { run_model_subgraph_a(alloca(1000)); }
else { run_model_subgraph_b(alloca(3000)); }

The runtime would give you 1000 or 3000 depending on cond while the compiler stats will give you 4000 (1000+3000). Loops and other things will make it skew even further.
It can be useful, though, for relative comparisons: so something like "the cumsum of the transient allocations at revision T was 4000 and at revision T+1 was 6000, so we are probably allocating more memory in some cases" - it may not even change the peak consumption at runtime but does indicate that we have more live transients in the program (what all of these regressions have been).
We could refine the statistic in some cases but it's a halting problem situation: at the point that we have to effectively run the program within the compiler it's better just to run the program, and having a robust number that won't break if an if or for shows up in the model is nice.
TLDR: it'll let you compare transient memory growth revision to revision but to get the actual memory consumption you'll need to still run the model. Should still be a useful signal, though, and something we could track on a dashboard (so long as we didn't put units next to it and claim it was the actual memory consumption :)

Was this triaged? Still issue?

There are major compiler and runtime changes since January. With the latest release candidate-20220630.189
[[ iree_hal_allocator_t memory statistics ]]
  HOST_LOCAL:         9216B peak /         9216B allocated /         9216B freed /            0B live
DEVICE_LOCAL:       141570B peak /       141570B allocated /       141570B freed /            0B live

We can close this issue for now. There are extra efforts to track the memory usage in the benchmark framework (https://github.com/iree-org/iree/issues/7972) so hopefully we can catch the regression sooner once it is landed.

Great, thanks


How can i use custom ui for Firebase auth ui

Hoe can i use a completely new ui for FIrebase auth ui. I customized theme using your guide, but now i need to use a new UI Like this .

I want to Change Up Background and Put some logo.

@MalindaWMD @yudhir right now you have the following options:

We support a custom logo, it's part of the intent builder
You can definitely add custom colors by modifying the theme and passing it to the intent builder

Putting an image in the background or moving the UI elements around right now involves some unsupported hacks, sorry!  You can look around in the other issues to see what people have come up with.
Closing this issue since the information is duplicated elsewhere.

OK. thank you

We have a proposal to consider more customization inf #1477 if anyone would like to comment.


feat: add tauri-schema-worker

ref: https://github.com/tauri-apps/create-tauri-app/issues/725#issuecomment-2185859045

this is just a beauty


search (and choco list) does not return anything for podman

while podman-desktop seems to have an approved package, it does not show in search or choco list.
> choco list podman-desktop
Chocolatey v1.2.0
Using the list command with remote sources is deprecated and will be made
to only list locally installed packages in v2.0.0. Use the search, or find,
command to find packages on remote sources (such as the Chocolatey Community
Repository).
0 packages found.

> choco install podman-desktop
Chocolatey v1.2.0
Installing the following packages:
podman-desktop
By installing, you accept licenses for the packages.
podman-desktop v0.9.1 already installed.
 Use --force to reinstall, specify a version to install, or try upgrade.

Chocolatey installed 0/1 packages.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Warnings:
 - podman-desktop - podman-desktop v0.9.1 already installed.
 Use --force to reinstall, specify a version to install, or try upgrade.

>choco list --pre podman
Chocolatey v1.2.0
Using the list command with remote sources is deprecated and will be made
to only list locally installed packages in v2.0.0. Use the search, or find,
command to find packages on remote sources (such as the Chocolatey Community
Repository).
podman-machine 0.17 [Approved] Downloads cached for licensed users
1 packages found.

podman-machine only recently appeared in the search for me (while reporting this bug)

This is a caching issue. See #8.


Allow us to add placeholders to FakePlayers

I'm not sure but is it possible to make like yml file with all the fake players, and allow us to assign placeholders values for each fake player?
For example: I can add the following placeholder with its value to a fake player named Josh in fake player yml database
Placeholders:
{Player_world} = "survival_world"
Then other plugins would think Josh is in survival_world.
Also we can maybe add a command:
/fakeplayer placeholder
Ex: /fakeplayer placeholder Josh {player_world} survival_world

how do you think to use these placeholders? what is the other plugins?

Thank you for the quick reply, plugins like advancedtaboverly (tablist llugin that uses placeholders to show players in certain tab) and dynmap.

I think it should work with the current version, did you try PlaceholderAPI plugin for created fake players?


aligned container count

this is needed after the introduction of redis to the enterprise stack

Changelog: None
Signed-off-by: Manuel Zedel<EMAIL_ADDRESS>

Exactly... see https://github.com/mendersoftware/integration/pull/1496#discussion_r673824431


REST API PATCH Repository Configuration within Organisation

Gitea version (or commit ref):

Gitea Version: 1.13.0+rc2

Git version:

2.26.2

Database (use [x]):

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

OS: Linux / Docker Container.

I have created a repository within an organisation and afterwards I've tried to change the settings of that repository.
This change is being done via REST API. In particular I'm trying to change the entries:

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

[X] Yes (provide example URL)
[ ] No

Example from within IDEA IntelliJ:
PATCH https://try.gitea.io/api/v1/repos/khmtestorga/testrepo
Authorization: Basic khmarbaise PASSWORD
accept: application/json
Content-Type: application/json

{
  "allow_merge_commits": false,
  "allow_rebase": false,
  "allow_rebase_explicit": false,
  "allow_squash_merge": false,
  "archived": false,
  "default_branch": "master"
}

The answer I got from the request:
PATCH https://try.gitea.io/api/v1/repos/khmtestorga/testrepo

HTTP/1.1 200 OK
Content-Length: 1294
Content-Type: application/json; charset=UTF-8
Date: Wed, 18 Nov 2020 15:59:33 GMT
Set-Cookie: lang=en-US; Path=/; Max-Age=2147483647
Set-Cookie: i_like_gitea=d98defc8aa9674ca; Path=/; HttpOnly
Set-Cookie: _csrf=vSQjaJTg6nzcl5Lqkh4bLjFaoJI6MTYwNTcxNTE3Mjg2NTg1NDgyNg; Path=/; Expires=Thu, 19 Nov 2020 15:59:32 GMT; HttpOnly
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN

{
  "id": 21480,
  "owner": {
    "id": 42394,
    "login": "khmtestorga",
    "full_name": "",
    "email": "",
    "avatar_url": "https://try.gitea.io/user/avatar/khmtestorga/-1",
    "language": "",
    "is_admin": false,
    "last_login": "1970-01-01T00:00:00Z",
    "created": "2020-11-18T15:57:08Z",
    "username": "khmtestorga"
  },
  "name": "testrepo",
  "full_name": "khmtestorga/testrepo",
  "description": "",
  "empty": true,
  "private": false,
  "fork": false,
  "template": false,
  "parent": null,
  "mirror": false,
  "size": 17,
  "html_url": "https://try.gitea.io/khmtestorga/testrepo",
  "ssh_url": "git@try.gitea.io:khmtestorga/testrepo.git",
  "clone_url": "https://try.gitea.io/khmtestorga/testrepo.git",
  "original_url": "",
  "website": "",
  "stars_count": 0,
  "forks_count": 0,
  "watchers_count": 1,
  "open_issues_count": 0,
  "open_pr_counter": 0,
  "release_counter": 0,
  "default_branch": "master",
  "archived": false,
  "created_at": "2020-11-18T15:57:37Z",
  "updated_at": "2020-11-18T15:59:33Z",
  "permissions": {
    "admin": true,
    "push": true,
    "pull": true
  },
  "has_issues": true,
  "internal_tracker": {
    "enable_time_tracker": true,
    "allow_only_contributors_to_track_time": true,
    "enable_issue_dependencies": true
  },
  "has_wiki": true,
  "has_pull_requests": true,
  "has_projects": true,
  "ignore_whitespace_conflicts": false,
  "allow_merge_commits": true,
  "allow_rebase": true,
  "allow_rebase_explicit": true,
  "allow_squash_merge": true,
  "avatar_url": "",
  "internal": false
}

Response code: 200 (OK); Time: 967ms; Content length: 1294 bytes

So as you can see that the entries: allow_merge_commits, allow_rebase, allow_rebase_explicit and allow_squash_merge have not been changed at all.
Desription
The question is if I'm doing the change at the correct API endpoint or do I need to use a different one...

The issue here is the API is a little misleading.
On the Swagger page it states Edit a repository's properties. Only fields that are set will be changed.
However, when you view the model, all the PR-related changes have a small disclaimer has_pull_requests must be true
Basically, because you didn't specify "has_pull_requests": true the API skipped the PR-related values entirely. 🙃
https://github.com/go-gitea/gitea/blob/5a991ec519e5dd309dd42859fb4e43eb4a5f4f79/routers/api/v1/repo/repo.go#L684-L728

Thanks for your reply and the solution with the details. I've checked that on try.gitea.io and simply it works. Great.


Validation issue?

While debugging an issue, I noticed that it doesn't look like validation is happening when a user passes in a value without units, instead the value is coerced to the unit.

from openff.models.models import DefaultModel
from openff.models.types import FloatQuantity
from openff.units import unit

class Atom(DefaultModel):
    mass: FloatQuantity["atomic_mass_constant"]

# This should error but works
atom=Atom(mass=12)
print(atom)
# This works as expected
atom_units=Atom(mass=12*unit.amu)
print(atom_units)
# This fails as expected, so wrong units are checked, but not no units/missing units
atom_units_wrong=Atom(mass=12*unit.kelvin)
print(atom_units_wrong)

I expected to hit this code branch https://github.com/mattwthompson/openff-models/blob/main/openff/models/types.py#L39-L43
Instead we are hitting this bit https://github.com/mattwthompson/openff-models/blob/main/openff/models/types.py#L64-L65 which just adds the units to the value.

This seems to be limited to the python API, as when I try to create a class from JSON without units, I get errors like I expect:
E   pydantic.error_wrappers.ValidationError: 6 validation errors for Settings
E   forcefield_settings -> vdW -> cutoff
E     Cannot convert from 'dimensionless' (dimensionless) to 'nanometer' ([length]) (type=type_error.dimensionality; units1=dimensionless; units2=nanometer; dim1=dimensionless; dim2=[length]; extra_msg=)

Okay so something weird seems to happen when we nest these objects. I had though the validation with JSON was working but it seems to have a bug somewhere:
from openff.models.models import DefaultModel
from openff.models.types import FloatQuantity
from openff.units import unit

class Atom(DefaultModel):
    mass: FloatQuantity["atomic_mass_constant"]

class Bar(DefaultModel):
    atom: Atom

# This works
with open("atom.json") as fd:
    atom = Atom.parse_raw(fd.read())
    print(atom)

# This works, but should fail IMHO
with open("atom-no-unit.json") as fd:
    atom = Atom.parse_raw(fd.read())
    print(atom)

# This fails, but should work
with open("bar.json") as fd:
    Bar.parse_raw(fd.read())

I've created a zip of the 3 json files, but the tl;dr is

atom.json is Atom(mass=12 * unit.amu
atom-no-unit just has {"mass": 12}
bar.json has an atom nested in bar

json_files.zip

Sounds like an actual issue, I'll have a look later today

Okay, having another look at this, I'm not sure this is unintended behavior. My memory is hazy but I recall this
# This should error but works
atom=Atom(mass=12)

being the design. The idea is that the annotation FloatQuantity["atomic_mass_constant"] prevents the field from taking any other value than a Quantity with these specific units, so it's safe to up-convert from a primitive. (In the case that somebody wants a unit.Quantity(..., unit.dimensionless) I think they could use the annotation FloatQuantity["dimensionless"] ... if a bit strange.) That field can't be something in non-mass units, it can't be something unitless, etc. so as a convenience to users it should be safe to just give the model a number and let it wrap the unit around it.
Thanks for the reproduction and including the files, I'm getting the same behavior that you are (modulo differences in expectations). The last block is concerning, I'd expect that to work whether or not the up-conversion is in place.

This is the issue:
https://github.com/mattwthompson/openff-models/blob/main/openff/models/types.py#L129
the tl;dr is when we have a "flat" dictionary
out={'mass': '{"val": 12.0, "unit": "atomic_mass_constant"}', 'charge': '{"val": -1, "unit": "elementary_charge"}'}
out={'mass': <Quantity(12.0, 'atomic_mass_constant')>, 'charge': <Quantity(-1, 'elementary_charge')>}

The json loader is happy to convert things into Quantity objects.
When we have something nested:
out={'atom': {'mass': '{"val": 12.0, "unit": "atomic_mass_constant"}', 'charge': '{"val": -1, "unit": "elementary_charge"}'}}
out={'atom': {'mass': '{"val": 12.0, "unit": "atomic_mass_constant"}', 'charge': '{"val": -1, "unit": "elementary_charge"}'}}

It throws a validation error, since (I think) it doesn't know how handle the nested dict for validation. I've got a fix for json_loader but I'm working to make it more general.
I've got an idea to make strict checking something we can turn on in the base config.


Some problem with light on stairs

maybe a problem in the core ?

Might be related to the stairs model, since it doesn't have face normals light computation might be wrong.
(Side node: Winblows 10, eww. Enjoy your NSA OS.)

yep for NSA :(

This bug is knowed like a very long time, and im my memories, we can't fix this because it's a core shaders bug
Indeed, the light parameters is handled in a strange way for all stairs/slabs and that's the point... This problem is already reported in the core dev team :)
So, it's a core bug and we can't do anything (server side).
I closed the issue. Anyway, thank you for your report !


Support databases

Right now we don't support databases--the EPOC data format is gnarly. Unfortunately they were very easy to use in OPL so many programs make use of them and at some point we'll want to try adding support again. This issue is intended to track the work and capture programs we know require database support.

LogJam by Adam's Software (/library/epocgames/logjam).

@kapfab For sure. I'll try to page it back in and write it up.

https://web.archive.org/web/20041130063903/http://home.t-online.de/home/thomas-milius/Download/Documentation/EPCDB.htm

While initial work on supporting databases is now merged, there is doubtless a long tail of minor parsing issues to be addressed. These should be raised as separate issues.


index.html 404 (Not Found)

This is a self hosted Web Api and I have followed the installation procedure as described in the docs.
When I try to navigate to http://localhost:8080/swagger/ui/index.html it returns with the following message:
{"Message":"An error has occurred.","ExceptionMessage":"Mapping not found - index.html","ExceptionType":"Swashbuckle.SwaggerUi.AssetNotFound","StackTrace":"   at Swashbuckle.SwaggerUi.EmbeddedAssetProvider.GetAsset(String rootUrl, String path)\r\n   at Swashbuckle.Application.SwaggerUiHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)"}
My startup is like this.
public class Startup
{
    public void Configuration(IAppBuilder app)
    {
        var config = new HttpConfiguration();

        ConfigureHttpRoutes(config);
        config.MapHttpAttributeRoutes();
        config.Formatters.Clear();
        config.Formatters.Add(new JsonMediaTypeFormatter());
        config.EnableSwagger(c => c.SingleApiVersion("v1", "TEST")).EnableSwaggerUi();
        app.UseWebApi(config);

    }

    private static void ConfigureHttpRoutes(HttpConfiguration config)
    {
        config.Routes.MapHttpRoute(
            name: "API Default",
            routeTemplate: "api/{controller}/{id}",
            defaults: new { id = RouteParameter.Optional }
        );
    }
}

My packages config
<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="Microsoft.AspNet.WebApi.Client" version="5.2.3" targetFramework="net451" />
  <package id="Microsoft.AspNet.WebApi.Core" version="5.2.3" targetFramework="net451" />
  <package id="Microsoft.AspNet.WebApi.Owin" version="5.2.3" targetFramework="net451" />
  <package id="Microsoft.AspNet.WebApi.OwinSelfHost" version="5.2.3" targetFramework="net451" />
  <package id="Microsoft.Owin" version="2.0.2" targetFramework="net451" />
  <package id="Microsoft.Owin.Host.HttpListener" version="2.0.2" targetFramework="net451" />
  <package id="Microsoft.Owin.Hosting" version="2.0.2" targetFramework="net451" />
  <package id="Newtonsoft.Json" version="6.0.4" targetFramework="net451" />
  <package id="Owin" version="1.0" targetFramework="net451" />
  <package id="Swashbuckle.Core" version="5.0.1" targetFramework="net451" />
</packages>

Navigating to http://localhost:8080/swagger/docs/v1 returns the raw json as expected
{"swagger":"2.0","info":{"version":"v1","title":"TEST"},"host":"localhost:8080","schemes":["http"],"paths":{"/api/Values":{"get":{"tags":["Values"],"operationId":"Values_Get","consumes":[],"produces":["application/json","text/json"],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Object"}}},"deprecated":false}}},"definitions":{"Object":{"type":"object","properties":{}}}}

This is where it breaks
    public Asset GetAsset(string rootUrl, string path)
    {
        if (!_pathToAssetMap.ContainsKey(path))
            throw new AssetNotFound(String.Format("Mapping not found - {0}", path));

the path is "index.html", but the key in pathToAssetMap is "index"
If I change the path from "index.html" to "index" in the debugger and continue, the ui loads as expected.
Any idea what I'm doing wrong here?

As of v 5.0, SB serves up the swagger-ui via extension-less URL's. This removes the need to have runAllManagedModuledForAllRequests set in your web.config which was causing perf. concerns for many people.
So, you've really answered this yourself ... just navigate to swagger/ui/index to view the UI. If you already have your docs published at index.html and don't want to break live links, you should just add a permanent redirect to your web server

That makes perfect sense. Thanks a lot for your help
On Wed, Feb 25, 2015 at 4:09 PM, domaindrivendev<EMAIL_ADDRESS>wrote:

Closed #203 https://github.com/domaindrivendev/Swashbuckle/issues/203.
—
Reply to this email directly or view it on GitHub
https://github.com/domaindrivendev/Swashbuckle/issues/203#event-241753223
.

I get a 404 when I look at "swagger/ui/index", but "swagger/docs/v1" shows JSON.
Any idea of what I might be able to look at?


Ethereum Support

Are there any plans to support Ethereum and ERC-20 tokens?

Hi! To add support of any coin, electrum fork for that coin should exist or be created.
But as far as I know Ethereum is different. But if there is an alternative light client (better written in python), then alternative daemon implementation can be written.
I haven't found electrum fork for ethereum. If you know one, please let me know.

Well, actually I found web3py, but it is not using multiple servers, so not sure. BitcartCC is considered lightweight, and it works via electrum as it is SPV and uses multiple nodes.
But web3py seems to be using only one node only. I think it doesn't fit into BitcartCC philosophy of being light but decentralized still. As a library web3py is good, but as for security and decentralization concepts - not sure.
Will continue searching, something that uses SPV would be the best.

Another possible option is to wait for poket network to add it's web3py provider and use it.
This pull from myetherwallet can be used as a reference.

Ok, regarding payment processing for eth, I've found 4 possible ways, 2 of them requiring hot wallet and some deployment fees (from network, not us), and the other 2 requiring only watch-only wallet, but with their own downsides

Deploy a contract via factory which will do the forwarding to merchants' target address (entered in settings). Requires small gas fees to be paid for each new invoice to deploy the contract, so hot wallet is required. Also if no money was sent it still takes a fee to just deploy the new address. Theoretically though we could just re-use the expired address for a new invoice. For example BitcartCC could deploy 20 addresses (something like a gap limit in electrum), then if invoice has expired it would just take the used address again.
Use one address, also with a contract, which could help to detect payments in a reliable way. Requires to pay once to be deployed per wallet. In this case the contract would contain all the funds which could be withdrawn, or maybe it could auto-forward to the target address too. The only difference with previous method is that we will use one address for all invoices of a wallet, which might be not so good for privacy.
Use one address, but instead store order id in last digits of amount to be paid. Not sure if it is reliable enough, but there are no deployment costs
One address per invoice, as we do in btc-based chains. The problem is that, if someone pays you in USDT for example, you won't be able to withdraw from that address without sending eth to it first, also most wallets seem to work on just 1 address only, so you would manually? need to track all your addresses

If someone knows some better ways, let us know. I can't seem to find the ideal solution without downsides yet, maybe we'll have to pick from those 4

https://t.me/bitcartcc/6514
Eth support is being implemented in #268, the critical thing to choose now is how to handle the addresses thing. If you have any ideas let me know

@Lrss Ethereum support have been added in BitcartCC <IP_ADDRESS>!
Please test it out!
ERC-20 tokens will be added after testing that ETH support works as expected

That's amazing, great work! Will test it right away.

ERC20 support was added in the <IP_ADDRESS> release! Everyone please help testing it out!

Closing this issue as ETH, BNB, ERC20 and BEP20 support was added


Fix README badges

Use latest URLs/syntax from https://shields.io

Not sure why it's complaining

Ah there's no latest tag, I'll fix to use 1.15.


BAI-22 Support uploading '.tar.gz' files to /upload

A user should be able to upload a .tar.gz file and receive a built image, in the same way as uploading the same .zip file.  The program should automatically determine whether the file is a .tar.gz or a .zip file and unpack it as specified.
To complete this:

The UI should accept files other than .zip (src/UploadFlow/UploadFile.tsx & src/common/FormFlow/FormFlow.tsx)
server/routes/v1/upload.ts should accept .tar.gz files.
server/utils/build.ts should be able to unzip .tar.gz files.

You can use the default zlib library to uncompress, and tar-stream to parse the tar file.

Hi, can I have a go at this?

Ah, sorry @shawshankkumar, didn't see your message here.  :(


PointcutLatch should work with IPointcut.

PointcutLatch should work with IPointcut.

Working branch: https://github.com/hapifhir/hapi-fhir/tree/2513-pointcutlatch-should-work-with-ipointcut


Button color no longer changes on hover

The button used to change color when hovering over it. This doesn't happen anymore.

The source of the problem was the used color in src/assets/config/theme.json not having the "#" symbol at the start of the color.


Copy a file as evidence setting isn't working.

"If you want to have a copy of the file (evidence) when Write access happens, set right Options in your removable storage access policy rule in the XML file, and then specify the location where system can save the copy.
In the Add Row pane, enter:
Name as Evidence folder location
OMA-URI as ./Vendor/MSFT/Defender/Configuration/DataDuplicationRemoteLocation
Data Type as String"
I did a test by setting the value to "C:\DLP" but it's not working, can you help to check if the instruction of this setting is correct? What kind of location is valid? Do we need to use a SMB share?

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

ID: 19b5fda8-c875-aac3-385d-43c88feed731
Version Independent ID: 19b5fda8-c875-aac3-385d-43c88feed731
Content: Deploy and manage Removable Storage Access Control using Intune
Content Source: microsoft-365/security/defender-endpoint/deploy-manage-removable-storage-intune.md
Service: defender-endpoint
Sub-service: asr
GitHub Login: @Dansimp
Microsoft Alias: dansimp

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


I don't understand these unmet dependencies

Trying to install the adapter, and get all of these. Don't know that it causes a problem, but don't understand how to eliminate them.
wilsone123 [20:28:34] $ npm i --save-dev ember-django-adapter
npm WARN unmet dependency /Users/wilsone123/code/titlematch_web/node_modules/ember-cli/node_modules/tiny-lr/node_modules/body-parser requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /Users/wilsone123/code/titlematch_web/node_modules/ember-cli/node_modules/tiny-lr/node_modules/qs,
  npm WARN unmet dependency which is version 2.2.5
npm WARN unmet dependency /Users/wilsone123/code/titlematch_web/node_modules/ember-cli/node_modules/npm/node_modules/npm-registry-client/node_modules/concat-stream requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /Users/wilsone123/code/titlematch_web/node_modules/ember-cli/node_modules/npm/node_modules/readable-stream,
  npm WARN unmet dependency which is version 1.0.32
npm WARN unmet dependency /Users/wilsone123/code/titlematch_web/node_modules/ember-cli/node_modules/testem/node_modules/express requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /Users/wilsone123/code/titlematch_web/node_modules/ember-cli/node_modules/testem/node_modules/commander,
  npm WARN unmet dependency which is version 2.5.1
npm WARN unmet dependency /Users/wilsone123/code/titlematch_web/node_modules/ember-cli/node_modules/testem/node_modules/express requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /Users/wilsone123/code/titlematch_web/node_modules/ember-cli/node_modules/mkdirp,
  npm WARN unmet dependency which is version 0.5.0
npm WARN unmet dependency /Users/wilsone123/code/titlematch_web/node_modules/ember-cli/node_modules/testem/node_modules/tap requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /Users/wilsone123/code/titlematch_web/node_modules/ember-cli/node_modules/testem/node_modules/glob,
  npm WARN unmet dependency which is version 3.1.21
npm WARN unmet dependency /Users/wilsone123/code/titlematch_web/node_modules/ember-cli/node_modules/testem/node_modules/tap requires nopt@'~2' but will load
npm WARN unmet dependency /Users/wilsone123/code/titlematch_web/node_modules/ember-cli/node_modules/nopt,
  npm WARN unmet dependency which is version 3.0.1
npm WARN unmet dependency /Users/wilsone123/code/titlematch_web/node_modules/ember-cli/node_modules/testem/node_modules/glob requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /Users/wilsone123/code/titlematch_web/node_modules/ember-cli/node_modules/minimatch,
  npm WARN unmet dependency which is version 1.0.0
npm WARN unmet dependency /Users/wilsone123/code/titlematch_web/node_modules/ember-cli/node_modules/testem/node_modules/fileset requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /Users/wilsone123/code/titlematch_web/node_modules/ember-cli/node_modules/minimatch,
  npm WARN unmet dependency which is version 1.0.0
npm WARN unmet dependency /Users/wilsone123/code/titlematch_web/node_modules/ember-cli/node_modules/testem/node_modules/fireworm requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /Users/wilsone123/code/titlematch_web/node_modules/ember-cli/node_modules/minimatch,
  npm WARN unmet dependency which is version 1.0.0
<EMAIL_ADDRESS>node_modules/ember-django-adapter
~/code/titlematch_web

Which version of ember-cli are you using?

@benkonrath I'm using 0.1.6 now. I think that I was using 0.1.5 at the time that I posted this. I still see it, in any case.

I am not getting this at all.  @ewilson, how are you installing the adapter?

I've included the command in the original post:
wilsone123 [20:28:34] $ npm i --save-dev ember-django-adapter

I think that I installed node/npm with brew, if that matters ...

Can you try doing a clean reinstall of all dependencies?
rm -rf node_modules bower_components dist tmp
npm install
bower install

Since the --save-dev flag should have added ember-django-adapter to your package.json, it should be installed along with everything else now.  Try this and see if you still get those errors.

Executed those commands, they work without error or warning.
If I try again:
npm i --save-dev ember-django-adapter

I get the same warnings again. (Feel free to close is this doesn't seem important, nothing is actually broken as far as I can tell.)

ok, i still can't reproduce.  please feel free to open a new issue if this becomes problematic in the future.


pip install error

Orion version: 0.5.1
Python version: Python 3.8.2
Operating System: MacBook Pro (13-inch, M1, 2020) ,macOS Big Sur 11.5.2 (20G95)

Description
pip install orion-ml   An error occurred
Collecting orion-ml
Obtaining dependency information for orion-ml from https://files.pythonhosted.org/packages/38/38/103c115f0ffc488e52f3df4bd50f3f143f4902a966875f54e0b7a4ef3638/orion_ml-0.5.1-py2.py3-none-any.whl.metadata
Using cached orion_ml-0.5.1-py2.py3-none-any.whl.metadata (23 kB)
Collecting s3fs<0.5,>=0.2.2 (from orion-ml)
Using cached s3fs-0.4.2-py3-none-any.whl (19 kB)
Collecting mlblocks<0.5,>=0.4.1 (from orion-ml)
Using cached mlblocks-0.4.1-py2.py3-none-any.whl (25 kB)
Collecting ml-stars<0.2,>=0.1.1 (from orion-ml)
Obtaining dependency information for ml-stars<0.2,>=0.1.1 from https://files.pythonhosted.org/packages/39/06/c97e2375fe65742303fd57c81c4fc4ff4942efc9724f4ba0c2298612d50f/ml_stars-0.1.2-py2.py3-none-any.whl.metadata
Using cached ml_stars-0.1.2-py2.py3-none-any.whl.metadata (7.4 kB)
Collecting numpy<1.19,>=1.17.4 (from orion-ml)
Using cached numpy-1.18.5.zip (5.4 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [56 lines of output]
warning: _philox.pyx:19:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
warning: /private/var/folders/v8/gk_4t45j1nsdpk0rkg56hbgw0000gn/T/pip-install-09jru_i9/numpy_a61a53fde6b74227a9aa0258630ff913/numpy/init.pxd:17:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
  Error compiling Cython file:
  ------------------------------------------------------------
  ...
              self.rng_state.ctr.v[i] = counter[i]

          self._reset_state_variables()

          self._bitgen.state = <void *>&self.rng_state
          self._bitgen.next_uint64 = &philox_uint64
                                     ^
  ------------------------------------------------------------

  _philox.pyx:195:35: Cannot assign type 'uint64_t (*)(void *) except? -1 nogil' to 'uint64_t (*)(void *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to type 'uint64_t (void *) except? -1 nogil'.
  /private/var/folders/v8/gk_4t45j1nsdpk0rkg56hbgw0000gn/T/pip-install-09jru_i9/numpy_a61a53fde6b74227a9aa0258630ff913/tools/cythonize.py:75: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    required_version = LooseVersion('0.29.14')
  /private/var/folders/v8/gk_4t45j1nsdpk0rkg56hbgw0000gn/T/pip-install-09jru_i9/numpy_a61a53fde6b74227a9aa0258630ff913/tools/cythonize.py:77: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    if LooseVersion(cython_version) < required_version:
  Processing numpy/random/_bounded_integers.pxd.in
  Processing numpy/random/_philox.pyx
  Traceback (most recent call last):
    File "/private/var/folders/v8/gk_4t45j1nsdpk0rkg56hbgw0000gn/T/pip-install-09jru_i9/numpy_a61a53fde6b74227a9aa0258630ff913/tools/cythonize.py", line 238, in <module>
      main()
    File "/private/var/folders/v8/gk_4t45j1nsdpk0rkg56hbgw0000gn/T/pip-install-09jru_i9/numpy_a61a53fde6b74227a9aa0258630ff913/tools/cythonize.py", line 234, in main
      find_process_files(root_dir)
    File "/private/var/folders/v8/gk_4t45j1nsdpk0rkg56hbgw0000gn/T/pip-install-09jru_i9/numpy_a61a53fde6b74227a9aa0258630ff913/tools/cythonize.py", line 225, in find_process_files
      process(root_dir, fromfile, tofile, function, hash_db)
    File "/private/var/folders/v8/gk_4t45j1nsdpk0rkg56hbgw0000gn/T/pip-install-09jru_i9/numpy_a61a53fde6b74227a9aa0258630ff913/tools/cythonize.py", line 191, in process
      processor_function(fromfile, tofile)
    File "/private/var/folders/v8/gk_4t45j1nsdpk0rkg56hbgw0000gn/T/pip-install-09jru_i9/numpy_a61a53fde6b74227a9aa0258630ff913/tools/cythonize.py", line 80, in process_pyx
      subprocess.check_call(
    File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/subprocess.py", line 364, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['/Users/erioe/PycharmProjects/cloud-ability-orion/venv/bin/python', '-m', 'cython', '-3', '--fast-fail', '-o', '_philox.c', '_philox.pyx']' returned non-zero exit status 1.
  Running from numpy source directory.
  <string>:461: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
  Cythonizing sources
  Traceback (most recent call last):
    File "/Users/erioe/PycharmProjects/cloud-ability-orion/venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
    File "/Users/erioe/PycharmProjects/cloud-ability-orion/venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/Users/erioe/PycharmProjects/cloud-ability-orion/venv/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel
      return hook(metadata_directory, config_settings)
    File "/private/var/folders/v8/gk_4t45j1nsdpk0rkg56hbgw0000gn/T/pip-build-env-g0go6hb3/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 396, in prepare_metadata_for_build_wheel
      self.run_setup()
    File "/private/var/folders/v8/gk_4t45j1nsdpk0rkg56hbgw0000gn/T/pip-build-env-g0go6hb3/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 507, in run_setup
      super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
    File "/private/var/folders/v8/gk_4t45j1nsdpk0rkg56hbgw0000gn/T/pip-build-env-g0go6hb3/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 341, in run_setup
      exec(code, locals())
    File "<string>", line 488, in <module>
    File "<string>", line 469, in setup_package
    File "<string>", line 275, in generate_cython
  RuntimeError: Running cythonize failed!
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Hi @erioe-m, thank you for opening an issue
I tested the environment from my side and everything is working correctly. Can you try installing it in a new environment as to not clash with existing package versions?

Hi Sarah, I am facing a similar issue while installing orion-ml in my Windows machine using pip install orion-ml. Please find the snapshot of the error obtained. I tried installing in two different Windows machines from PyCharm using a new virtual machine. But am getting the same error in both the cases.
Could you please help with the same.
Collecting mongoengine<0.17,>=0.16.3
Downloading mongoengine-0.16.3.tar.gz (149 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 149.0/149.0 kB 4.5 MB/s eta 0:00:00
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
error in mongoengine setup command: use_2to3 is invalid.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
[notice] A new release of pip available: 22.3.1 -> 23.2.1
[notice] To update, run: python.exe -m pip install --upgrade pip

Thanks Sarah. I downloaded to Python 3.8 and was able to install the package
On Thu, Sep 7, 2023, 2:30 PM Sarah Alnegheimish @.***>
wrote:

Hi Sarah, I am facing a similar issue while installing orion-ml in my
Windows machine using pip install orion-ml. Please find the snapshot of the
error obtained. I tried installing in two different Windows machines from
PyCharm using a new virtual machine. But am getting the same error in both
the cases.
Could you please help with the same.
Collecting mongoengine<0.17,>=0.16.3 Downloading mongoengine-0.16.3.tar.gz
(149 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 149.0/149.0 kB 4.5 MB/s
eta 0:00:00 Preparing metadata (setup.py) ... error error:
subprocess-exited-with-error
× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [1
lines of output] error in mongoengine setup command: use_2to3 is invalid.
[end of output]
note: This error originates from a subprocess, and is likely not a problem
with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for
output.
note: This is an issue with the package mentioned above, not pip. hint:
See above for details.
[notice] A new release of pip available: 22.3.1 -> 23.2.1 [notice] To
update, run: python.exe -m pip install --upgrade pip
In this error message, an old version of orion-ml is being installed which
I suspect is because the virtual environment is in python 3.9 or older. I
can tell because mongoengine is being installed and we have long since
removed this dependency.
To check the python version run python --version and to force the latest
release of Orion pip install orion-ml==0.5.1. If the python version is
[3.6, 3.7, or 3.8] it will download the latest release by default.
—
Reply to this email directly, view it on GitHub
https://github.com/sintel-dev/Orion/issues/456#issuecomment-1710668682,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6R4W5S7U6SICNIWGXENFKTXZIOFZANCNFSM6AAAAAA4NAFIYQ
.
You are receiving this because you commented.Message ID:
@.***>

Hola @sarahmish , I'm creating a new conda env with Python 3.8.18 on MacOS 13.5.1, running pip install orion-ml==0.5.1 and getting the same error as @erioe-m → any suggestions will be highly appreciated 😇
Collecting orion-ml==0.5.1
  Obtaining dependency information for orion-ml==0.5.1 from https://files.pythonhosted.org/packages/38/38/103c115f0ffc488e52f3df4bd50f3f143f4902a966875f54e0b7a4ef3638/orion_ml-0.5.1-py2.py3-none-any.whl.metadata
  Using cached orion_ml-0.5.1-py2.py3-none-any.whl.metadata (23 kB)
Collecting s3fs<0.5,>=0.2.2 (from orion-ml==0.5.1)
  Using cached s3fs-0.4.2-py3-none-any.whl (19 kB)
Collecting mlblocks<0.5,>=0.4.1 (from orion-ml==0.5.1)
  Using cached mlblocks-0.4.1-py2.py3-none-any.whl (25 kB)
Collecting ml-stars<0.2,>=0.1.1 (from orion-ml==0.5.1)
  Obtaining dependency information for ml-stars<0.2,>=0.1.1 from https://files.pythonhosted.org/packages/fc/75/79c9b3f1bb5e5891c3a4541c14ae380a8fdce59245b2185bcda262d47ae0/ml_stars-0.1.3-py2.py3-none-any.whl.metadata
  Using cached ml_stars-0.1.3-py2.py3-none-any.whl.metadata (7.6 kB)
Collecting numpy<1.19,>=1.17.4 (from orion-ml==0.5.1)
  Using cached numpy-1.18.5.zip (5.4 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [56 lines of output]
      warning: _philox.pyx:19:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310
      warning: /private/var/folders/kc/hw29d49j3gg3dw2whdsr2cm40000gn/T/pip-install-fh_f0295/numpy_c9730c8441884b94b57032596bb7d0e1/numpy/__init__.pxd:17:0: The 'DEF' statement is deprecated and will be removed in a future Cython version. Consider using global variables, constants, and in-place literals instead. See https://github.com/cython/cython/issues/4310

      Error compiling Cython file:
      ------------------------------------------------------------
      ...
                  self.rng_state.ctr.v[i] = counter[i]

              self._reset_state_variables()

              self._bitgen.state = <void *>&self.rng_state
              self._bitgen.next_uint64 = &philox_uint64
                                         ^
      ------------------------------------------------------------

      _philox.pyx:195:35: Cannot assign type 'uint64_t (*)(void *) except? -1 nogil' to 'uint64_t (*)(void *) noexcept nogil'. Exception values are incompatible. Suggest adding 'noexcept' to type 'uint64_t (void *) except? -1 nogil'.
      /private/var/folders/kc/hw29d49j3gg3dw2whdsr2cm40000gn/T/pip-install-fh_f0295/numpy_c9730c8441884b94b57032596bb7d0e1/tools/cythonize.py:75: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
        required_version = LooseVersion('0.29.14')
      /private/var/folders/kc/hw29d49j3gg3dw2whdsr2cm40000gn/T/pip-install-fh_f0295/numpy_c9730c8441884b94b57032596bb7d0e1/tools/cythonize.py:77: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
        if LooseVersion(cython_version) < required_version:
      Processing numpy/random/_bounded_integers.pxd.in
      Processing numpy/random/_philox.pyx
      Traceback (most recent call last):
        File "/private/var/folders/kc/hw29d49j3gg3dw2whdsr2cm40000gn/T/pip-install-fh_f0295/numpy_c9730c8441884b94b57032596bb7d0e1/tools/cythonize.py", line 238, in <module>
          main()
        File "/private/var/folders/kc/hw29d49j3gg3dw2whdsr2cm40000gn/T/pip-install-fh_f0295/numpy_c9730c8441884b94b57032596bb7d0e1/tools/cythonize.py", line 234, in main
          find_process_files(root_dir)
        File "/private/var/folders/kc/hw29d49j3gg3dw2whdsr2cm40000gn/T/pip-install-fh_f0295/numpy_c9730c8441884b94b57032596bb7d0e1/tools/cythonize.py", line 225, in find_process_files
          process(root_dir, fromfile, tofile, function, hash_db)
        File "/private/var/folders/kc/hw29d49j3gg3dw2whdsr2cm40000gn/T/pip-install-fh_f0295/numpy_c9730c8441884b94b57032596bb7d0e1/tools/cythonize.py", line 191, in process
          processor_function(fromfile, tofile)
        File "/private/var/folders/kc/hw29d49j3gg3dw2whdsr2cm40000gn/T/pip-install-fh_f0295/numpy_c9730c8441884b94b57032596bb7d0e1/tools/cythonize.py", line 80, in process_pyx
          subprocess.check_call(
        File "/opt/homebrew/anaconda3/envs/orion/lib/python3.8/subprocess.py", line 364, in check_call
          raise CalledProcessError(retcode, cmd)
      subprocess.CalledProcessError: Command '['/opt/homebrew/anaconda3/envs/orion/bin/python', '-m', 'cython', '-3', '--fast-fail', '-o', '_philox.c', '_philox.pyx']' returned non-zero exit status 1.
      Running from numpy source directory.
      <string>:461: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
      Cythonizing sources
      Traceback (most recent call last):
        File "/opt/homebrew/anaconda3/envs/orion/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/opt/homebrew/anaconda3/envs/orion/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/opt/homebrew/anaconda3/envs/orion/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel
          return hook(metadata_directory, config_settings)
        File "/private/var/folders/kc/hw29d49j3gg3dw2whdsr2cm40000gn/T/pip-build-env-mfpakfwz/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 396, in prepare_metadata_for_build_wheel
          self.run_setup()
        File "/private/var/folders/kc/hw29d49j3gg3dw2whdsr2cm40000gn/T/pip-build-env-mfpakfwz/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 507, in run_setup
          super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
        File "/private/var/folders/kc/hw29d49j3gg3dw2whdsr2cm40000gn/T/pip-build-env-mfpakfwz/overlay/lib/python3.8/site-packages/setuptools/build_meta.py", line 341, in run_setup
          exec(code, locals())
        File "<string>", line 488, in <module>
        File "<string>", line 469, in setup_package
        File "<string>", line 275, in generate_cython
      RuntimeError: Running cythonize failed!
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.```


Skill issue

https://github.com/JSALT2024/sdaia-demo/commit/b0af0a12fc477faea5ebf129091a29ff142a1285

Thank you


Update pybind11 to latest.

This fixes a build failure of the Python bindings on Windows. We were testing Python 3.10.8, but now we are testing Python 3.11.0.

Old 3.10.8 success: https://github.com/iree-org/iree/actions/runs/3452338984/jobs/5762178428
Old 3.11.0 failure: https://github.com/iree-org/iree/actions/runs/3461697554/jobs/5779634638

New successful run on Python 3.11.0: https://github.com/iree-org/iree/actions/runs/3463493036/jobs/5783809576

Do we need to raise the version of pybind in our pip installs also? https://github.com/iree-org/iree/blob/03190c689ae29bca4bd5ea71d5793811c47a90a2/runtime/bindings/python/iree/runtime/build_requirements.txt#L7

Do we need to raise the version of pybind in our pip installs also?
https://github.com/iree-org/iree/blob/03190c689ae29bca4bd5ea71d5793811c47a90a2/runtime/bindings/python/iree/runtime/build_requirements.txt#L7

Only if using Python 3.11.0 (on Windows?). Looks like 2.8.0 from that file was released Oct 4, 2021: https://pypi.org/project/pybind11/#history. I'm not sure what our policy is / should be for dependencies in bindings/python/iree/runtime/build_requirements.txt - should we include minimum versions for some configuration, or bump them regularly?

Okay, bumped a few other files to pybin11 2.10.1
https://pybind11.readthedocs.io/en/latest/changelog.html

Version 2.10.1 (Oct 31, 2022)
This is the first version to fully support embedding the newly released Python 3.11.

Yeah I don't know :thinking: I think generally we should try to be more permissive in cases where it's harder for people to update. If someone depends on another project that needs pybind, it might be annoying to force them onto a later version. I think the pip package must server a slightly different purpose than the source dependency. Do they have a canonical correspondence?

Ok, yeah it looks like there is a direct correspondence. Can we use a commit from the stable branch or their latest release instead of just the head commit? I think we can also configure our .gitmodules file to indicate that for pybind11 we track the stable branch (though I'm not sure how much we ever use submodules' magic updating features)

[sorry for triple-posting]

Only if using Python 3.11.0 (on Windows?)

I think you can actually express these constraints with pip requirements specifiers: https://pip.pypa.io/en/stable/reference/requirement-specifiers/
We can't really do that with our source dependency though, so probably not a good idea.

Closing this in favor of https://github.com/iree-org/iree/pull/11175. We can update pybind11 to >=2.10.1 when we next rebuild our Docker images.


SyntaxError: multiple exception types must be parenthesized at installation

On Mac OS 13.2.1, Apple silicon, using pip in a fresh pipenv (via pipenv shell):
$ pip3 install jinja
Collecting jinja
  Using cached Jinja-1.2.tar.gz (252 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [7 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/private/var/folders/bm/80tk36qx7n39khrmvplw_lf00000gn/T/pip-install-vqqfaq40/jinja_f2db7fe72f424717ba603b1d64781aea/setup.py", line 28
          except DistutilsError, e:
                 ^^^^^^^^^^^^^^^^^
      SyntaxError: multiple exception types must be parenthesized
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

A workaround would be appreciated in the meantime.

I've just noticed that: https://github.com/pallets/jinja/issues/1724.
My bad.


Game path notification PR

If you don't have your game path set, there is now a notification that tells you to do that

your language files have conflicts

You have lots of random merge-related stuff in this. I would probably just purge your master and recreate the changes on a fresh branch off cultivation/master haha.


Add ability to query nominatim with "details.php"

When extracting data from nominatim, sometimes a user knows the exact osmid of an entity. The current state of osmnx.downloader.nominatim_request allows for search, reverse, or lookup, but not for details. When I try to feed the response to osmnx.geocode._geocode_query_to_gdf, It does not work, due to the different structure of the response.
I believe that adding the details request_type to nominatim_request, and adding the parsing of its output in _geocode_query_to_gdf make a good solution.

Can you provide an example nominatim request url to do this?

import osmnx as ox
import requests
import collections
params = collections.OrderedDict()
params['osmtype'] = 'R'
params['osmid'] = '2192363'
params['format'] = 'json'
params['polygon_geojson'] = '1'
headers = ox.downloader._get_http_headers()
url = ox.settings.nominatim_endpoint.rstrip("/") + "/" + "details"
response = requests.get(url, params=params, timeout=ox.settings.timeout, headers=headers)
response_json = response.json()

Other folks have previously asked about the possibility of querying by OSM ID, and in theory I like the idea of this. But I believe it violates the Nominatim terms of use, as stated here:

Warning
The details page exists for debugging only. You may not use it in scripts or to automatically query details about a result. See Nominatim Usage Policy.

So, I don't believe OSMnx can query the details endpoint without running afoul of their terms of use. I think the best we can do is point interested users to the code snippet you've provided here to let them roll their own solution with a few lines of code.

Ok. What about doing the same using overpass api? Implementing it in the current flow is a bit messy, but as far as I know, it does not breach terms of use.
This is a similar approach:
[out:json][timeout:25];
// gather results
(

  relation(2192363);

);
// print results
out body;
>;
out skel qt;

I'm not sure. I suppose the wider question is what would be the specific purpose of this functionality? Is it to pull in the details themselves of the element with that OSM ID? Is it, rather, to just get a polygon geometry within which to query for other elements (using the geometries and graph modules)?

My understanding is that this is essentially about geocoding by OSM ID rather than place name. The biggest problem with using Overpass rather than Nominatim for pseudo-geocoding tasks is that we don't get geometry back. Nominatim provides polygon geojson data in the response, but Overpass doesn't. So if you query something like in your example:
[out:json][timeout:25];(relation(2192363););(._;>;);out;

You get a list of elements in response, comprising (potentially) nodes, ways, and relations. You'd then have to reconstruct a (multi)polygon from that. This makes this a much larger and more complex project than simply adding a new geocode_osmid function to query Nominatim.
Currently, if someone knows the OSM ID of the boundary entity within which they wish to query, they can look up its name then query by that. For example, to use your query, one could pull up that OSM ID then query by the corresponding name (Københavns Kommune) like:
import osmnx as ox
gdf = ox.geocode_to_gdf('Københavns Kommune')
geom = gdf['geometry'].iloc[0]
G = ox.graph_from_polygon(geom, network_type='drive')

The drawback is that it's not fully automatic. However, if a user wants to query by many OSM IDs, they could do it programmatically using the details endpoint as you demonstrated in your earlier code snippet, though this usage may run afoul of the API's terms of use.

Ok, here's a proposed solution that I think satisfies the spirit of your initial proposal using Nominatim but without hitting the "details" endpoint.
import osmnx as ox
from collections import OrderedDict

params = OrderedDict()
params["format"] = "json"
params["polygon_geojson"] = 1
params["osm_ids"] = "R2192363"
rj = ox.downloader.nominatim_request(params, request_type="lookup")

This uses OSMnx's existing ability to query the "lookup" Nominatim endpoint. Wrapping that code in a new geocode_osmid function should provide you what you're looking for. I might try to whip up a quick demo PR.

@idshklein see #626 for proposed solution


Contribution Icon appears blurry

We are using vector assets, and yet icon appears blurry

Does it appears blurry for the smaller ones too?

No, small ones are fine but I guess that's because they aren't big enough :wink:

Ironically appears crisp on 4.4 which has no support of vector drawables :stuck_out_tongue_winking_eye:

i want to work on this issue, please assign it to me

@vennelakoilada362 sure, go ahead!
Do you have a fix in mind? I seem to have no idea what the problem here seems to be.


Hm/fake labels

Checklist
GitHub

[ ] I've given this PR a concise, self-descriptive, and meaningful title
[ ] I've linked relevant issues in the PR body
[ ] I've applied the relevant labels to this PR
[ ] I've assigned a reviewer

PR contents

[ ] I've consulted ivadomed's internal developer documentation to ensure my contribution is in line with any relevant design decisions
[ ] I've added relevant tests for my contribution
[ ] I've updated the relevant documentation for my changes, including argparse descriptions, docstrings, and ReadTheDocs tutorial pages

Description

Linked issues

https://github.com/ivadomed/ivadomed/issues/392

Pull Request Test Coverage Report for Build 687334709

8 of 23 (34.78%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.004%) to 75.626%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

testing/functional_tests/t_utils.py
3
18
16.67%

Files with Coverage Reduction
New Missed Lines
%

ivadomed/preprocessing.py
1
88.89%

Totals

Change from base Build 686790450:
-0.004%

Covered Lines:
5464

Relevant Lines:
7225

💛  - Coveralls


Update version of assembly

Reflection does not get the proper package version due to these properties not being updated.

It may need to be investigated weather these properties are needed at all or if the <Version> tag alone is sufficient.

I think updating the statically defined versions is fine for now until the automation is solved for in a different feature.

Actually, if we want to update them in a bug and then have the existing automation work, we should probably bump them all to the same one.. i.e.
<Version><IP_ADDRESS></Version>
<AssemblyVersion><IP_ADDRESS></AssemblyVersion>
<FileVersion><IP_ADDRESS></FileVersion>


Depfile path parsing broken for some characters

Paths in depfile containing [, ], % (and possibly some other characters) are not parsed properly.
 The braces were treated as separators. Same thing happens with the % and @ characters.

Note that there are paths in Chromium repository that fail to be properly parsed due to this bug, mainly in test_data folders.


Initial pass at Metrics support in ILogger

This implements #708. It's got some naive elements, like the way we handle filters (which involves some locking). I want to clean that up but wanted to get this into a PR first.

Closing this, we're going to look at using EventCounters for our metrics needs.


Feature Suggestions

-Listen to device audio by selecting audio device, such as from a microphone or desktop audio, perfect for monitoring.
-Offline keylogger with custom formatting (this has already been suggested but it's awesome)
-Tray notifications for the client / status of the application
-Multiple remote desktops at once

@llamatoes the client already supports multiple remote desktops at once, if your interested in seeing them all at once however, either use thumbnails or modify the RemoteDesktop form deactivate void to stop the stream from pausing. I could make this a setting if enough people are interested. Offline Keylogger is in the works already. I also love the idea of tray notifications for the client and will very likely make this a setting in the builder in a pull request. what kind of notifications would you like? i am open to suggestions. as for audio you would have to ask @NYAN-x-CAT about that, hardware interfacing such as video and audio isnt my expertise unfortunately
Now if only @NYAN-x-CAT  would acknowledge my Pull Requests... :(


no message

Codecov Report
Base: 70.47% // Head: 70.46% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (8251ede) compared to base (c0f3af7).
Patch coverage: 50.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #363      +/-   ##
============================================
- Coverage     70.47%   70.46%   -0.02%
  Complexity     1377     1377
============================================
  Files           196      196
  Lines          4454     4455       +1
  Branches        550      550
============================================
  Hits           3139     3139
- Misses         1135     1136       +1
  Partials        180      180

Impacted Files
Coverage Δ

.../seedu/address/logic/parser/AddressBookParser.java
78.94% <0.00%> (-2.14%)
:arrow_down:

...dress/logic/commands/editcommands/EditCommand.java
85.71% <100.00%> (ø)

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

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


Extend user unit

Adds new methods for UserUnit:

GetInterpolatedPosition returns position of a unit interpolated by current frame
GetFractionComplete returns float from 0 to 1
requires PR

Outdated.


fix: 5033 - updated to work with firebase 8.0.0

Description
Replace this paragraph with a description of what this PR is doing. If you're modifying existing behavior, describe the existing behavior, how this PR is changing it, and what motivated the change.
Related Issues
Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR. Note that you'll have to prefix the issue numbers with flutter/flutter#.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[x] No, this is not a breaking change.

#5033 was fixed so as far as I'm aware this is no longer required.
If it is then let me know. Thanks


Use conformance image entrypoint by default

With Kubernetes moving to use entrypoint when invoking conformance test,
we should follow with using entrypoint mechanism to retrieve list of
images.
What this PR does / why we need it:
Changes in kubernetes/kubernetes#99178 deprecates /run_e2e.sh invocation in favor of setting explicit entrypoint. We should not override it unless necessary.
Which issue(s) this PR fixes:
None, preemptive refactor before needing a fix 😄
Special notes for your reviewer:
Release note:
None

The one concern about this is backwards compatibility. If someone uses the new sonobuoy for a slightly older cluster (we explicitly support 3 versions at a time) then there would be a problem.
Just making sure; in the linked PR you said the image would have the existing script/gorunner removed in 1.25? So that gives us plenty of time and we shouldnt have a problem right?
We just wouldn't want to merge this until 2-3 versions from now or else we need to split our logic based on the version, right?

If someone uses the new sonobuoy for a slightly older cluster (we explicitly support 3 versions at a time) then there would be a problem.

You're right. I think this PR needs to be split into two.
First is the change to explicitly call e2e.test for --list-images. This should be done now and should not have any side effects between past versions and future versions. In fact, if we don't do this now, Sonobuoy won't work with Kubernetes 1.22 because entrypoint has been defined.
- e2eImages, err := client.RunImage(conformanceImage, "e2e.test", "--list-images")
+ e2eImages, err := client.RunImage("e2e.test", conformanceImage, "--list-images")

The other is changes to Kubernetes manifest, which should happen later, like you suggested, once we find ourselves with 1.22 being the oldest release we support.
- Command:         []string{"/run_e2e.sh"},
...
-     {Name: "E2E_USE_GO_RUNNER", Value: "true"},


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/445 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target.git

Docs Build status updates of commit 5047239:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Release_Archive_master_2020-04-07-02-55-52 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2020-04-07-02-55-52

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


query POI markers from Firebase by geohash as needed

Should speed up retrieval of markers in multiple pages because we'll only request them for the part of the map we're actually looking at. POI data can now be requested from the marker store for a country using loadPoiWithinCountry or a bounding box using loadPoiWithinBounds.
Just as I review the pull request I'm noticing getting the POI markers for a user might be broken - it seems we don't query those from Firestore but from state.landMarkers in the markers store. That object is no longer guaranteed to include all POI markers by the current user with these changes. We'll have to add a method on the markers store that queries POI markers for a user from Firebase, won't we @bidsinga ?
Also this pull request does not yet optimize anything about the way host information is queried for display on a map.

The slowness of loadPoiByIds is the reflection of that corner you painted yourself into that I was talking about on Slack. There is no intelligent fast search criterion I can use in Firestore to get the POI we need for that page; we can only query the IDs from Firebase and then get the documents with those IDs from Firestore. And Firestore doesn't seem very good at retrieving documents given a set of IDs.
I do think we can speed it up roughly 10x by fetching them 10 by 10 instead of 1 by 1 using .where(..., 'in', ...) instead of .where(..., '==', ...).
Can you make a new issue about this slowness? Otherwise I can do it tonight.

created a new issue #88


Readd override for guh-libjs.

Refer to this link for build results (access rights to CI server needed):
http://jenkins.guh.guru/job/guh-webinterface-pull-request/82/


soop integrates simple-schema

Hi, I would like to tell you about my new package soop, Simple Object Oriented Programming, where I integrate simple-schema and collection2 validations.
I tell you if you had an opinion about the integration of your packages.
I'm still not sure if that kind of programming is useful with Meteor, but I want to give it a try. Thanks for your attention.

Interesting @miguelalarcos. It reminds me a little of peerdb. I have not used that, and I have not used OOP for DB operations in Meteor, but I'm interested in the idea of it. Someday I may try to write an app in that way to see how it compares.


Image upload should accept png files

I'm not able to upload a file with .png extension as space avatar

@bonustrack I can't reproduce this, am I testing it wrong?
https://user-images.githubusercontent.com/69431456/146365903-bb155b87-5011-4954-923d-ffb91c1ec624.mov

Yep, PNG works perfectly fine. I think those two issues (this and #1279) can be closed. @bonustrack the issue must have been something else.


A couple of improvements of getDestination (unit-test included)

Please refer to the individual commit messages.

/botio unittest

Do you happen to have one or more PDF files that can be used for testing this? It looks good, but especially the second commit would be good to test with a file that has named destinations in a Dict.

Do you happen to have one or more PDF files that can be used for testing this? It looks good, but especially the second commit would be good to test with a file that has named destinations in a Dict.

Apart from basicapi.pdf, which is already covered by existing (and added) tests, there's e.g. hmm.pdf.

/botio-linux preview

/botio test

/botio-linux preview

/botio test

/botio test

Nice work, thank you!


[terra-show-hide] Shift keyboard focus to newly revealed content with focus indicator

Summary
When Show Hide component expands the content, the screen reader users have to navigate back in order to read that content. In order to fix that issue the focus moves to the newly revealed content so that screen readers read that content out without user having to back navigate. The focus indicator has been added to the content when focused.
What was changed:
The current implementation doesn't allow programmatically detect what portion of the hidden content was previously displayed in preview. The hidden content is implemented via  component and while in general it's possible to detect the first child node of the hidden content to assign focus, it poses a threat of changes to  component breaking the logic of assigning focus to the first child node. The safest way is to wrap a  element into  container and assign the focus to it. That would allow the screen reader to read the content and get a visual focus indicator around the content while on focus.
The cons: the whole content container is on focus rather than it's first child node.
The pros: changes to  component won't affect the ShowHide component content
Why it was changed:
To fix the accessibility issue for the screen reader users.
Testing
This change was tested using:

[ ] WDIO
[x] Jest
[ ] Visual testing (please attach a screenshot or recording)
[ ] Other (please describe below)
[ ] No tests are needed

Reviews
In addition to engineering reviews, this PR needs:

[x] UX review
[x] Accessibility review
[ ] Functional review

This PR resolves:
UXPLATFORM-8542

@adoroshk - Good start on this component. As I went through the examples, I observed some odd screen reader behavior that is probably an issue with the examples and not the component itself. Here is how I tested with JAWS and the Edge browser:
Default Show/Hide
Used the H key to navigate to the header of the example text.  👍
Pressed Down Arrow. 👍
JAWS announced the text visually displayed in the example. There was no visual focus indicator (which I expected since the text is not interactable). 👍
Pressed Down Arrow to navigate to the Show/Hide control. 👍
JAWS announced "Show/Hide button, collapsed. To activate press Enter." 👍
Pressed Enter to activate the control. 👍
Full text displayed with dashed border visual focus indicator around it. 👍
JAWS announced the text from the beginning. 👍
When JAWS got to the end of the example text, I pressed Down Arrow again. 👍
JAWS began announcing the text again, but began at the phrase "...less compared to a hospital outpatient department." This is an issue that needs to be fixed. 👎
Pressed Tab and focus went to the Hide control. 👍
Pressed Enter and the initial truncated text displayed. 👍
Custom Button Text ShowHide
Used the H key to navigate to the header of the example text.  👍
Pressed Down Arrow. 👍
JAWS announced the text visually displayed in the example. There was no visual focus indicator (which I expected since the text is not interactable). 👍
Pressed Down Arrow and JAWS announced the second line of text. 👍
Pressed Down Arrow to navigate to the Show/Hide control. 👍
Pressed Enter to activate the control. 👍
Full text displayed with dashed border visual focus indicator around it. 👍
JAWS announced "Show 2 more sentences button, collapsed. To activate press Enter." 👍
Pressed Enter to activate the control. 👍
Full text displayed with dashed border visual focus indicator around it. 👍
Pressed Down Arrow; JAWS announced header of the example text. 👍
Pressed Down Arrow; JAWS announced next line of text. Repeated until all lines were read. 👍
JAWS announced "Hide 2 sentences button, expanded. To activate press Enter." 👍
Pressed Enter to activate the control. 👍
Full text displayed with dashed border visual focus indicator around it. 👍
Pressed Tab. JAWS announced "Show 2 more sentences button, collapsed. To activate press Enter." 👍
This example worked as expected.
Initially Open ShowHide
There were points where JAWS stopped announcing. Pressing Down Arrow caused JAWS to continue reading. This may be a problem because a blind user may not know that there is more text to read.
Used the H key to navigate to the header of the example text.  👍
Pressed Down Arrow. 👍
JAWS announced the text visually displayed in the example. There was no visual focus indicator (which I expected since the text is not interactable). 👍
Pressed Down Arrow to navigate to the "Hide" control. 👍
Pressed Enter to activate the control. JAWS announced "collapsed" and button label changed to "Show More" 👍
Pressed Enter to activate the control. 👍
Full text displayed with dashed border visual focus indicator around it. 👍
JAWS announced the full text. 👍
When it got to the end, Pressed Down arrow.
Here is where the example got strange. JAWS announced the text beginning at the phrase, "and follow-up regimens. 👎
I tested the other examples and got similar results.

@mjpalazzo

JAWS began announcing the text again, but began at the phrase "...less compared to a hospital outpatient department." This is an issue that needs to be fixed.

I think this is a result of JAWS's up/down arrow keys being for "Read next line". This doesn't happen in VoiceOver where that behavior doesn't exist.
Focusing the entire content is only going to be fallback behavior after UXPLATFORM-9213 is implemented, which should resolve this issue. Since this is an issue with AT and one that won't exist when consumers have properly consumed the component, it's probably okay.
Interested to get @brooksienoodlesoup 's take though.

Hi @eawww and @mjpalazzo ,
I just tested the Default Show/Hide using:

Chrome 114.0.5735.106 (Official Build) (arm64)) + VO (Ventura 13.2.1) and
Edge 114.0.1823.58 (Official build) (64-bit) + JAWS 2023.2303.144

In Chrome+VO (Ctrl+Opt+Right arrow):

After I activated the Show More button, focus shifted to the full text and Chrome+VO read it correctly.
When I tried to move forward to the Hide button, Chrome+VO re-read the full text again.
When I tried to move forward to the Hide button for the second time, Chrome+VO announced "end of," then re-read the full text for a third time.
On my third attempt to move forward to the Hide button, I was able to navigate to it successfully without a repeat of the full text.

In Edge+Jaws (arrowing down in Jaws Virtual PC Cursor mode with red focus indicator):

After I activated the Show More button, focus shifted to the full text and Edge+Jaws read it correctly.
When I tried to move forward to the HIde button, Edge+Jaws started re-reading the full text block, but it started to read at the words "less compared to a hospital outpatient department" and continued to read the rest of the full block as I arrowed down.
When I tried to move forward to the Hide button for a second time, I was able to navigate to the it successfully without a repeat of the full text.

@adoroshk - Since there is more work to do with component, I will not add the accessibility approved label at this time.

The problem with Voice Over + Right Arrow was fixed and tested to work as expected in Safari, Chrome, Edge and Firefox.
As this PR's scope is intended as a first step to prepare for UXPLATFORM-9213 and does not resolve the accessibility issue in it's entirety (UXPLATFORM-9213 would), the Accessibility Review and UX review labels will be removed.


Update MD file on new branch 2017-22-09_07-11-45

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Coordinator->worker connection needs adjustment for 8.1 upgrade

Why are we implementing it? (sales eng)
The new version changes citus.node_conninfo from sslmode=prefer to sslmode=require when citus is compiled against a postgres with ssl compiled in.
This impacts new users onboarding to citus as well as existing users upgrading.
Communication goals (e.g. detailed howto vs orientation)
Good locations for content in docs structure
Installation section: no change needed for pg10,11 but on pg9.6 the user is required to restart postgres as it can only enable ssl during boot.
Upgrade section: review the situation in linked PR that would cause people problems on upgrades. Reproduce the problem, verify that I can fix it, then update the docs.
How does this work? (devs)
Example sql
Corner cases, gotchas
Are there relevant blog posts or outside documentation about the concept/feature?
Link to relevant commits and regression tests if applicable
https://github.com/citusdata/citus/pull/2503

Asked Jason and Marco for steps to reproduce SSL problems on upgrade.

We no longer support 9.6. We revert to sslmode=prefer for users who are upgrading and did not have ssl enabled yet. When adding new nodes to the cluster those nodes will have ssl enabled and sslmode=require. This mostly becomes relevant for inter-node communication (shard move, shard repair, re-partitioning)


Increment error metric

Recent PR accidentally removed the increment call from the gql.error metric. Fixed bug and improved tests to ensure metric count is incremented.

@kilink are we able to cut a new release with this change? This issue is impacting observability for us in production.

This is impacting our teams in production as well. Any timelines on release?

Same here! I want to fix our metrics!

@deweyjose @evanmalmud v8.3.1 is releasing right now!

Thank you @Emily !


scheduler not working in production environment with Nginx/Passenger

I have a Rails app running on Nginx/Passenger. It has a rufus-scheduler cron job that runs in the background and sends out notifications via email.
When I start up the app in production on Nginx/Passenger, the emails don't get sent. In the production logs it doesn't show any logs for rufus-scheduler.
I'm stuck in this problem. Not able to debug the scheduler.
But after reading some issues & articles, I am sure that scheduler thread is kill on production by passenger.
Kindly help me on the conf for the passenger/nginx that allow the scheduler thread to run & trigger the mails.

Please read the faq linked documentation about Passenger https://github.com/jmettraux/rufus-scheduler#faq and have a look at Stack Overflow for that http://stackoverflow.com/questions/tagged/passenger+rufus-scheduler

Closing since you've already asked for help on Stack Overflow: http://stackoverflow.com/questions/42204718/rufus-scheduler-not-running-in-production-nginx-passenger


Example: RedwoodJS

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


M2 wrap update

This issue serves as placeholder and discussion point for general wrap for the M2 milestone. It should be the last ticket closed for the milestone, and have attached in comment the final build. Any specific problems found in the build should be taken up in the feature request issue it pertains to, otherwise general comments can be made here. The milestone is only complete when @Slimmy82 closes this issue.

A little late, as I had a few compiler issues (a number of which have been dumped for better faster methods). Here's the basics for this weeks update: PancakeCreator_m2_0.3.0

Mainly, this update includes the flexible vector based drawing area, two tools (drawing & selection), and Gcode Export (through a new menu item), available via Cmd/Ctrl+e
The draw area is based directly off the design files for the griddle & drawing area, with a gradient added. It's small and scales perfectly.
Drawing Tool:

Icon looks like a pencil, we call it a pen... we likely should get a better design for the toolbar, icon and cursor, but this is workable.
Click once in the draw area to start rubber-band style polygonal line creation.
Click and drag to draw a realtime path (when completed, it will be smoothed out).

Selection Tool:

Hover to see what path will be selected (path nodes will show up)
Click to select, then a selection rectangle will appear around the path, allowing you to scale 1:1 (grab corners), and grab top square to rotate the path.
Hover over the path itself to see individual nodes, click and drag to reposition an existing node, click where a node isn't to add one, shift+click to remove a node.

Gcode Export:

Creates the text for gcode export, based on the "truth" template given
You can test this by making a polygon cube to each corner and see the positions near the following:

Top right [42, 0]
Top left [485, 0]
Bottom left [485, 210]
Bottom right [42, 210]

I have proof that the drawing tool's been tested, so I'm going to go ahead and close this wrap issue.


Only authenticated user can register the recipe

https://github.com/fredsonchaves07/foodfy/pull/151


Use outlines in high contrast

#27580
@aeschli I can't find a way to make the outline show only in high contrast mode. Using dark: { outline: 'none' } also hides it for high contras. There doesn't seem to be a separate override for high contrast. Could you take a look?

That was a bug in our code border/outline styles should only be set if the color is set.
You can now add
				outlineStyle: 'solid',
				outlineWidth: '1pt',
				outlineColor: new vscode.ThemeColor('contrastBorder'),

to your decorations (no need for light or dark, that comes all from the theme color).
Using the contrastBorder is a bit fishy. Better define your own colors:
merge.currentContentBorder, merge.incomingContentBorder.
They would be used for both header and content.

@aeschli I can't use border/outline decoration for the content, because that applies borders/outlines to each line. We would want a single box. So I've instead used an outline decoration for the splitter, but that only works if the incoming and current colors are the same because the splitter can have only a single color.
Using three colors might be an option, but that seems like overdoing it. High contrast might benefit from not using too much color coding, so I'll go with one additional color: merge.border.

@chrmarti A single option is even better!


Use HighLevelGraph optimizations in delayed

This PR updates the default graph manipulation for delayed objects to use HighLevelGraph.cull instead of the low-level (dict) graph cull routine. This allows us to maintain annotations through our optimization pipeline (xref https://github.com/dask/dask/issues/7036).
cc @ian-r-rose @madsbk

[x] Closes https://github.com/dask/dask/issues/7294
[ ] Tests added / passed
[ ] Passes black dask / flake8 dask

Ah, thanks for pointing that out and providing a nice code snippet (the last assert does indeed fail with the changes here). I'll have to think about this a bit more


Add remote data loading and display for public https datasets and supported data formats

Use Open Data File prompt added in #48 for testing it

Example loading remote data file:

Covid-19 aggregate country data loaded from this public dataset: https://pkgstore.datahub.io/core/covid-19/countries-aggregated_csv/data/0c89569a53f7f104c4b2197575713a8d/countries-aggregated_csv.csv