lowest-direct resolution error with constraints

The following dockerfile is the minimum reproducible example of a situation I met in a real project CI.
The Dockerfile runs with python 3.10 but there is a setuptools dependency for python 3.12+ in pyproject.toml.
The other dependency in pyproject.toml is pycountry, on its 22.1.10 version, and it has a loose dependency to setuptools.
In this situation I would expect setuptools to not be a direct dependency. However uv --resolution=lowest-direct appears to resolve at the minimum setuptools available, that is 0.7.2. Of course, this is an old incompatible version, and the installation fails.
Removing the python_version>='3.12' constraint on the setuptools dependency appears to solve the issue, so I suppose this is a cause of the bug.
pyproject.toml
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "foobar"
version = "0.0.1"
requires-python = ">=3.10"

dependencies = [
    "pycountry >= 22.1.10",
    "setuptools >= 50.0.0; python_version>='3.12'"
]

Dockerfile
FROM ghcr.io/astral-sh/uv:0.4-python3.10-bookworm-slim
WORKDIR /foobar
COPY foobar pyproject.toml /foobar/
RUN uv sync --resolution=lowest-direct

docker build .
[+] Building 11.3s (8/8) FINISHED                                                                                docker:default
 => [internal] load build definition from Dockerfile                                                                                0.1s
 => => transferring dockerfile: 185B                                                                                0.0s
 => [internal] load metadata for ghcr.io/astral-sh/uv:0.4-python3.10-bookworm-slim                                                    0.0s
 => [internal] load .dockerignore                                                                                0.1s
 => => transferring context: 2B                                                                                0.0s
 => [1/4] FROM ghcr.io/astral-sh/uv:0.4-python3.10-bookworm-slim                                                                      0.0s
 => [internal] load build context                                                                                0.1s
 => => transferring context: 326B                                                                                0.0s
 => CACHED [2/4] WORKDIR /foobar                                                                                0.0s
 => [3/4] COPY foobar pyproject.toml /foobar/                                                                                0.3s
 => ERROR [4/4] RUN uv sync --resolution=lowest-direct                                                                               10.5s
------
 > [4/4] RUN uv sync --resolution=lowest-direct:
1.423 Using CPython 3.10.15 interpreter at: /usr/local/bin/python
1.423 Creating virtual environment at: .venv
1.425 warning: No `requires-python` value found in the workspace. Defaulting to `>=3.10`.
8.149 Resolved 4 packages in 6.72s
9.249 error: Failed to prepare distributions
9.249   Caused by: Failed to download and build `setuptools==0.7.2`
9.249   Caused by: Build backend failed to determine requirements with `build_wheel()` (exit status: 1)
9.249
9.249 [stdout]
9.249 --- build/src/tests/api_tests.txt	(original)
9.249 +++ build/src/tests/api_tests.txt	(refactored)
9.249 @@ -39,7 +39,7 @@
9.249      >>> dist.py_version == sys.version[:3]
9.249      True
9.249
9.249 -    >>> print dist.platform
9.249 +    >>> print(dist.platform)
9.249      None
9.249
9.249  Including various computed attributes::
9.249 @@ -199,7 +199,7 @@
9.249  You can ask a WorkingSet to ``find()`` a distribution matching a requirement::
9.249
9.249      >>> from pkg_resources import Requirement
9.249 -    >>> print ws.find(Requirement.parse("Foo==1.0"))    # no match, return None
9.249 +    >>> print(ws.find(Requirement.parse("Foo==1.0")))    # no match, return None
9.249      None
9.249
9.249      >>> ws.find(Requirement.parse("Bar==0.9"))  # match, return distribution
9.249 @@ -212,7 +212,7 @@
9.249      ...     ws.find(Requirement.parse("Bar==1.0"))
9.249      ... except pkg_resources.VersionConflict:
9.249      ...     exc = sys.exc_info()[1]
9.249 -    ...     print(str(exc))
9.249 +    ...     print((str(exc)))
9.249      ... else:
9.249      ...     raise AssertionError("VersionConflict was not raised")
9.249      (Bar 0.9 (http://example.com/something), Requirement.parse('Bar==1.0'))
9.249 @@ -222,7 +222,7 @@
9.249  once for each existing distribution in the working set, and then is called
9.249  again for new distributions added thereafter::
9.249
9.249 -    >>> def added(dist): print "Added", dist
9.249 +    >>> def added(dist): print("Added", dist)
9.249      >>> ws.subscribe(added)
9.249      Added Bar 0.9
9.249      >>> foo12 = Distribution(project_name="Foo", version="1.2", location="f12")
9.249 @@ -338,52 +338,52 @@
9.249      >>> from pkg_resources import invalid_marker as im, evaluate_marker as em
9.249      >>> import os
9.249
9.249 -    >>> print(im("sys_platform"))
9.249 +    >>> print((im("sys_platform")))
9.249      Comparison or logical expression expected
9.249
9.249 -    >>> print(im("sys_platform=="))  # doctest: +ELLIPSIS
9.249 +    >>> print((im("sys_platform==")))  # doctest: +ELLIPSIS
9.249      unexpected EOF while parsing (...line 1)
9.249
9.249 -    >>> print(im("sys_platform=='win32'"))
9.249 -    False
9.249 -
9.249 -    >>> print(im("sys=='x'"))
9.249 +    >>> print((im("sys_platform=='win32'")))
9.249 +    False
9.249 +
9.249 +    >>> print((im("sys=='x'")))
9.249      Unknown name 'sys'
9.249
9.249 -    >>> print(im("(extra)"))
9.249 +    >>> print((im("(extra)")))
9.249      Comparison or logical expression expected
9.249
9.249 -    >>> print(im("(extra"))  # doctest: +ELLIPSIS
9.249 +    >>> print((im("(extra")))  # doctest: +ELLIPSIS
9.249      unexpected EOF while parsing (...line 1)
9.249
9.249 -    >>> print(im("os.open('foo')=='y'"))
9.249 +    >>> print((im("os.open('foo')=='y'")))
9.249      Language feature not supported in environment markers
9.249
9.249 -    >>> print(im("'x'=='y' and os.open('foo')=='y'"))   # no short-circuit!
9.249 +    >>> print((im("'x'=='y' and os.open('foo')=='y'")))   # no short-circuit!
9.249      Language feature not supported in environment markers
9.249
9.249 -    >>> print(im("'x'=='x' or os.open('foo')=='y'"))   # no short-circuit!
9.249 +    >>> print((im("'x'=='x' or os.open('foo')=='y'")))   # no short-circuit!
9.249      Language feature not supported in environment markers
9.249
9.249 -    >>> print(im("'x' < 'y'"))
9.249 +    >>> print((im("'x' < 'y'")))
9.249      '<' operator not allowed in environment markers
9.249
9.249 -    >>> print(im("'x' < 'y' < 'z'"))
9.249 +    >>> print((im("'x' < 'y' < 'z'")))
9.249      Chained comparison not allowed in environment markers
9.249
9.249 -    >>> print(im("r'x'=='x'"))
9.249 +    >>> print((im("r'x'=='x'")))
9.249      Only plain strings allowed in environment markers
9.249
9.249 -    >>> print(im("'''x'''=='x'"))
9.249 +    >>> print((im("'''x'''=='x'")))
9.249      Only plain strings allowed in environment markers
9.249
9.249 -    >>> print(im('"""x"""=="x"'))
9.249 +    >>> print((im('"""x"""=="x"')))
9.249      Only plain strings allowed in environment markers
9.249
9.249 -    >>> print(im(r"'x\n'=='x'"))
9.249 +    >>> print((im(r"'x\n'=='x'")))
9.249      Only plain strings allowed in environment markers
9.249
9.249 -    >>> print(im("os.open=='y'"))
9.249 +    >>> print((im("os.open=='y'")))
9.249      Language feature not supported in environment markers
9.249
9.249      >>> em('"x"=="x"')
9.249
9.249 [stderr]
9.249 RefactoringTool: Skipping optional fixer: buffer
9.249 RefactoringTool: Skipping optional fixer: idioms
9.249 RefactoringTool: Skipping optional fixer: set_literal
9.249 RefactoringTool: Skipping optional fixer: ws_comma
9.249 RefactoringTool: Refactored build/src/tests/api_tests.txt
9.249 RefactoringTool: Files that were modified:
9.249 RefactoringTool: build/src/tests/api_tests.txt
9.249 root: copying setuptools/tests/indexes/test_links_priority/external.html -> build/src/setuptools/tests/indexes/test_links_priority
9.249 root: copying setuptools/tests/indexes/test_links_priority/simple/foobar/index.html -> build/src/setuptools/tests/indexes/test_links_priority/simple/foobar
9.249 root: copying docs/conf.py -> build/src/docs
9.249 root: copying docs/formats.txt -> build/src/docs
9.249 root: copying docs/index.txt -> build/src/docs
9.249 root: copying docs/easy_install.txt -> build/src/docs
9.249 root: copying docs/python3.txt -> build/src/docs
9.249 root: copying docs/using.txt -> build/src/docs
9.249 root: copying docs/setuptools.txt -> build/src/docs
9.249 root: copying docs/merge.txt -> build/src/docs
9.249 root: copying docs/roadmap.txt -> build/src/docs
9.249 root: copying docs/pkg_resources.txt -> build/src/docs
9.249 root: copying docs/merge-faq.txt -> build/src/docs
9.249 root: copying docs/_theme/nature/theme.conf -> build/src/docs/_theme/nature
9.249 root: copying docs/_theme/nature/static/pygments.css -> build/src/docs/_theme/nature/static
9.249 root: copying docs/_theme/nature/static/nature.css_t -> build/src/docs/_theme/nature/static
9.249 root: copying docs/Makefile -> build/src/docs
9.249 root: copying docs/_templates/indexsidebar.html -> build/src/docs/_templates
9.249 root: copying _markerlib/markers.py -> build/src/_markerlib
9.249 root: copying _markerlib/__init__.py -> build/src/_markerlib
9.249 root: copying ez_setup.py -> build/src
9.249 root: copying release.py -> build/src
9.249 root: copying setup.py -> build/src
9.249 root: copying distribute_setup.py -> build/src
9.249 root: copying pkg_resources.py -> build/src
9.249 root: copying easy_install.py -> build/src
9.249 root: copying CHANGES.txt -> build/src
9.249 root: copying CONTRIBUTORS.txt -> build/src
9.249 root: copying DEVGUIDE.txt -> build/src
9.249 root: copying README.txt -> build/src
9.249 root: copying MANIFEST.in -> build/src
9.249 root: copying launcher.c -> build/src
9.249 Traceback (most recent call last):
9.249   File "<string>", line 14, in <module>
9.249   File "/root/.cache/uv/builds-v0/.tmpiFWFBR/lib/python3.10/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel
9.249     return self._get_build_requires(config_settings, requirements=[])
9.249   File "/root/.cache/uv/builds-v0/.tmpiFWFBR/lib/python3.10/site-packages/setuptools/build_meta.py", line 303, in _get_build_requires
9.249     self.run_setup()
9.249   File "/root/.cache/uv/builds-v0/.tmpiFWFBR/lib/python3.10/site-packages/setuptools/build_meta.py", line 521, in run_setup
9.249     super().run_setup(setup_script=setup_script)
9.249   File "/root/.cache/uv/builds-v0/.tmpiFWFBR/lib/python3.10/site-packages/setuptools/build_meta.py", line 319, in run_setup
9.249     exec(code, locals())
9.249   File "<string>", line 34, in <module>
9.249 AttributeError: module 'distutils.util' has no attribute 'run_2to3'
------
Dockerfile:4
--------------------
   2 |     WORKDIR /foobar
   3 |     COPY foobar pyproject.toml /foobar/
   4 | >>> RUN uv sync --resolution=lowest-direct
   5 |
--------------------
ERROR: failed to solve: process "/bin/sh -c uv sync --resolution=lowest-direct" did not complete successfully: exit code: 2

Ah interesting... I do think this is a bug. We consider anything listed in the pyproject.toml to be direct for all environments, even if it's only listed as direct in a specific environment.

(I assume this is not urgent / blocking since you can just remove the marker or add a [tool.uv.constraint-dependencies].)

Thank you for the quick fix!


Add a HEDLEY_ASSUME macro

Given the discussion in #15, I think there is an appetite for a HEDLEY_ASSUME macro instead of just relying on HEDLEY_UNREACHABLE.  Several compilers support a variant of assume (at least MSVC, clang, and TI. Probably ICC, too).
GCC is the big holdout, but I think something like (untested) this would work:
#define HEDLEY_ASSUME(expr) ((void) ((expr) ? 1 : (__builtin_unreachable(), 1)))

That would let us do this without relying on an if block.

Just added a rough draft to dev branch.


Schematic and PCB

Hi
Great project, i can made schematic and PCB, but if you can draw diagram on a piece of paper , I can do
Thanks :D

Please email me. You can find my address in LICENSE file.
On Aug 30, 2016 10:20 AM, "sabas1080"<EMAIL_ADDRESS>wrote:

Hi
Great project, i can made schematic and PCB, but if you can draw diagram
on a piece of paper , I can do
Thanks :D
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/amilkovich/snes-rd/issues/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/ARw4960q5SRjmhYOgdutHL-tuBS_6eJ4ks5qlGZdgaJpZM4JwxIA
.

Done

Any data here yet?

I've added a schematic.  I just need help compiling.  Can anyone help me with compiling and loading into Teensy?    schematic is in closed issues.

So you still need help with the Firmware? Ich can send you some Details or the compiled Hex File.

I got it figured out. Had to download an older version of one of the files.  Works now.  Thanks!

Hi guys, any progress with the schematic? I loved this project!!!

I have completed the schematic awhile ago... Just looked at the closed issues.

The original author is Andrew Milkovich and he passed away in 12/March/2017.
Rest in Peace

Sad to hear


Add UBUMLaaS into the documentation - Report

UBUMLaaS should be described (to a greater or lesser extent), or at least mentioned, in the technical section, in the techniques and tools...

Duplicate of #86


Write hooks to update the license notes

The license note should have the form
Copyright (C) year1, year2, year3 copyright-holder
Where each year in which the file was modified is added to the list.

Closed by #250


Updated the title of a section in the README

Just a quick update to a title in the readme.

@nhooyr Thanks!
Ready?

ready.


Bring back stats reporting.

Not finished yet - this brings back the anonymous reporting feature from the v0.8.x series.

I see this is using the client. Maybe we should be writing to the old 0.8 instance we have running right now? At least until 0.9 settles a bit and we get that server upgraded.

Yeah, I was wondering about that. You think we should just do a POST to the old server for now?

Yeah, probably the easiest thing. We can change the reporter to post to a
new server later
On Mon, Feb 9, 2015 at 1:00 AM, Todd Persen<EMAIL_ADDRESS>wrote:

Yeah, I was wondering about that. You think we should just do a POST to
the old server for now?
—
Reply to this email directly or view it on GitHub
https://github.com/influxdb/influxdb/pull/1529#issuecomment-73461219.

Don't you also need to check that the user has not disabled this? You may have to add those flags back to the config.

Yeah, I still need to add that back in. I'll probably end up doing that part last.

Ignore this for the moment.

@pauldix @otoolep How's this look to you guys now?

Seems sensible. Obviously this only cover the data node (server) case.

@otoolep @pauldix Ok, cleaned up based on your feedback and pointed at the live database - ready to merge on green?

Looks good.


WIP: Scrape json metrics from nginx vts

This PR add the ability to ingress scrape nginx-vts and convert json format to prometheus.  I'm still working on this, it's one of my firsts golang codes so reviews are welcome.
Screenshot

TODO

[ ] review ingress docs
[ ] write tests

Fixes #72, #305, #239

This change is

@gianrubio we need two implementations, one for the default nginx status info and another for vts. This must be optional. We cannot force users to use the vts module and the default information does not contains all the information vts provides.

@aledbf got it! I'll do that

Don't know if this is related, but we're using this as a sidecar container here: https://github.com/hnlq715/nginx-vts-exporter
So my question is, wouldn't be simplier to create a example deployment POD, with ingress + the vts exporter?

@rikatz we already discussed this, take a look on #72

Coverage decreased (-1.3%) to 44.452% when pulling 8eced17aca208af5fab12e7dab3813a9c498f60d on gianrubio:ngx-vts-prometheus into 0aabfba84832fc7de5dc347ac56eb12a84fb1a0b on kubernetes:master.

Coverage decreased (-1.4%) to 44.416% when pulling 645509e80102a5c295029e3d66cea033cca6f23a on gianrubio:ngx-vts-prometheus into 0aabfba84832fc7de5dc347ac56eb12a84fb1a0b on kubernetes:master.

@aledbf could you review again?

Coverage decreased (-1.2%) to 45.082% when pulling 6db5c9e8f1ce1b9c93cffdd5316407abd8336f0d on gianrubio:ngx-vts-prometheus into db96c9d574ec4c312538c47f112b1348879df573 on kubernetes:master.

Coverage decreased (-1.3%) to 45.047% when pulling 6db5c9e8f1ce1b9c93cffdd5316407abd8336f0d on gianrubio:ngx-vts-prometheus into db96c9d574ec4c312538c47f112b1348879df573 on kubernetes:master.

Coverage decreased (-1.2%) to 45.082% when pulling 6db5c9e8f1ce1b9c93cffdd5316407abd8336f0d on gianrubio:ngx-vts-prometheus into db96c9d574ec4c312538c47f112b1348879df573 on kubernetes:master.


Filtering out ping access logs

Do you want to request a feature or report a bug?

Feature
What did you expect to see?
I would like for the option of filtering out calls to /ping in the access log.
My readiness checks in Kubernetes are called very frequently, so having all these calls to /ping in the access log clutters the view.
A possible solution is adding additional filtering of access logs, for example based on RequestPath (e.g.: /ping), RouterName (e.g.: ping@internal), or RequestPort (e.g.: 8080).
I cannot find any issue mentioning this, and only a dead community post: https://community.containo.us/t/is-there-a-way-to-filter-out-ping-requests-in-access-logs-output/4356

Hi Mikael, thank you for the feature request.
One possible solution to this would be to add a regex filter to the access.log configuration provider.
(idea stolen from https://docs.nginx.com/nginx/admin-guide/monitoring/logging/#enabling-conditional-logging)

Hi Mikael, thank you for the feature request.
One possible solution to this would be to add a regex filter to the accesslog configuration provider.
(inspired by: https://docs.nginx.com/nginx/admin-guide/monitoring/logging/#enabling-conditional-logging)

That would do the trick. :)

I have the same problem but with prometheus /metrics endpoint, will be nice to filter it out.

the same request

This would be a very valuable feature. On top of hiding useful information in a flood of irrelevant logs it also dramatically increases the cost of monitoring traefik. On my AKS cluster, monitoring the traefik logs with Azure Monitor is by far my biggest monitoring cost to the point where I will probably have to turn off access logs entirely.

xref: #6059

I use Traefik behind an AWS ALB. The ALB is configured to hit Traefik's /ping endpoint every 15 seconds. Since I always have at least 3 different ip's, this can fill my logs quickly. Would love to filter this somehow. I've managed to use --accesslog.filters.minduration as these requests take usually less than 1 ms but this also means that all internally produced codes (without any route request) will also not show, like 429 http codes on requests triggered by rate limiting. Ideally, a filter on /ping path or even the router name ping@internal would be great. Thanks.

Hi, I have the same problem and same request.
I would like this option, could be configurable per service with annotation ?
Thanks for your support

Hey, I recently encountered the following issue.
It seems websockets can only use GET requests, meaning every time the bitwarden extension in my browser calls the websocket URL that's proxied by traefik, it also sends an access token in the GET request, which effectively saves the token in traefik's log files. I thought it would be a great idea to use some sort of log filtering mechanism by traefik, to ignore specific routers, or to ignore logs based on some other type of filtering.
Issue for reference

Hello,
We want to address this (as well as #9170, including also the metrics) for the next major version (v3).
So far we are planning to remove the access logging for internal services completely.

@rtribotte

So far we are planning to remove the access logging for internal services completely.

Found this issue because my evaluation of Traefik is flooded with /metrics. Is this feature still planned?
Should be extended to individual log configuration per virtual hosts/services for chatty apps or apps, where 4xx or no log are enough. An argument "We recommend that you leave the task of processing logs to a dedicated log manager software" doesn't sound plausible, because /ping or /metrics can be also processed on a dedicated log manager ;)

I'm closing this issue because PR #9633 has been merged and seems to address this issue.
Don't hesitate to ask for reopening if you think this is not the case.


add Emacs bindings for Word

Some bindings in Word are different from Emacs.
This patch corrects them.

Thanks!


Error: Building package msmpi:x86-windows failed with: BUILD_FAILED

C:\Users\Som\Downloads\vcpkg-master\vcpkg-master>vcpkg install msmpi
Computing installation plan...
The following packages will be built and installed:
msmpi[core]:x86-windows -> 10.1
Detecting compiler hash for triplet x86-windows...
Could not locate cached archive: C:\Users\Som\AppData\Local\vcpkg\archives\74\74d859824bfe9fb2047577beffbf528b6fd38f21.zip
Starting package 1/1: msmpi:x86-windows
Building package msmpi[core]:x86-windows...
-- Using cached C:/Users/Som/Downloads/vcpkg-master/vcpkg-master/downloads/msmpisdk-10.1.12498.msi
-- Using cached C:/Users/Som/Downloads/vcpkg-master/vcpkg-master/downloads/msmpisetup-10.1.12498.exe
CMake Error at ports/msmpi/portfile.cmake:59 (message):
Could not find:
C:\Program Files/Microsoft MPI/Bin/mpiexec.exe
Please install the MSMPI redistributable package before trying to install this port.
The appropriate installer has been downloaded to:
C:/Users/Som/Downloads/vcpkg-master/vcpkg-master/downloads/msmpisetup-10.1.12498.exe
Call Stack (most recent call first):
scripts/ports.cmake:136 (include)
Error: Building package msmpi:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: msmpi:x86-windows
Vcpkg version: 2020.11.12-nohash
Additionally, attach any relevant sections from the log files above.
C:\Users\Som\Downloads\vcpkg-master\vcpkg-master>vcpkg update
Using local portfile versions. To update the local portfiles, use git pull.
No packages need updating.

No other package is downloading as well. I tried to google it and the solutions didnt work. What can be done? Why is this happening?

No other package is downloading as well. I tried to google it and the solutions didnt work. What can be done? Why is this happening?


chore: fixed gw 3.8.0 tests

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 27.58%. Comparing base (7910db9) to head (f7650ae).

Additional details and impacted files
@@            Coverage Diff            @@
##           kong-3.8    #1474   +/-   ##
=========================================
  Coverage     27.58%   27.58%
=========================================
  Files            61       61
  Lines          6285     6285
=========================================
  Hits           1734     1734
  Misses         4423     4423
  Partials        128      128

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Embedded Registration

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.32.1
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
2.1.2
Public or Confidential Client?
Public
Description
We have implemented the embedded registration in out application as a feature. we have configured the headers and were able to load the registration inside the iframe.
after a success full registration azure b2c redirects to the redirect uri inside the iframe and then we reload the parent frame to continue the flow. after this the application redirects one more time before we get authenticated.
Is there a way to get the authentication details in a single redirection?
MSAL Configuration
auth: {
        clientId: clientId,
        authority: "B2C_1A_SIGNUP_SIGNIN",
        redirectUri: '/',
        navigateToLoginRequestUrl: false
    },
    cache: {
        cacheLocation: "LocalStoarage",
        storeAuthStateInCookie: false
    }

Relevant Code Snippets
<iframe
    id="embeddedRegisterIframe"
    frameborder="0"
    scrolling="no"
    [src]=" uri"
    style=" width: 100%; height: 100%;"></iframe>

Identity Provider
Azure B2C Custom Policy
Source
External (Customer)

Just to be clear, are you talking about embedding the Azure AD B2C sign-in user interface in your application?

https://learn.microsoft.com/en-us/azure/active-directory-b2c/embedded-login?pivots=b2c-custom-policy
we  have implemented this but, after window.top.location.reload(); we are getting too many redirection before we are actually logged into the app. we want to reduce this redirections.

Can you please share network logs and MSAL verbose logs from the console? We have documentation on Logging.


Add examples for all scaffolder actions

Each scaffolder action can be supplied with examples. These examples appear in the installed actions page in the backstage ui.
Feature Suggestion
It would be great for these examples to be complete to make it easier for writers of templates.
Possible Implementation
If you look at this pull request in the backstage repo, you can see how examples can be added to the actions provided in this repo:
https://github.com/backstage/backstage/pull/18831
Context
By adding these examples, it allows the template writer a reference for what can be done with a template.

[ ] roadiehq:utils:jsonata
[ ] argocd:create-resources
[ ] roadiehq:aws:ecr:create
[ ] argocd:create-resources
[ ] roadiehq:aws:s3:cp
[ ] roadiehq:aws:secrets-manager:create
[ ] http:backstage:request
[ ] roadiehq:utils:fs:append
[ ] roadiehq:utils:fs:parse
[ ] roadiehq:utils:fs:replace
[ ] roadiehq:utils:fs:write
[ ] roadiehq:utils:jsonata:json:transform
[ ] roadiehq:utils:sleep
[ ] roadiehq:utils:zip
[ ] roadiehq:utils:serialize:yaml
[ ] roadiehq:utils:serialize:json
[ ] roadiehq:utils:merge
[ ] roadiehq:utils:json:merge
[ ] roadiehq:utils:jsonata:yaml:transform
[ ] roadiehq:utils:jsonata

Hi, @punkle Can you please assign this issue to me? I can help out with this

Thanks @Stroller15 !
Assigned.

@Stroller15, of course. Done. Let me know if I can help in any way.

@punkle
Is there any communication channel I can join for communication?

@Stroller15 we have a public discord server. https://discord.com/invite/DUS3u7sP

@Stroller15 we have a public discord server. https://discord.com/invite/DUS3u7sP

Thank you @punkle , I will contact there if I encounter any difficulties in the project.

Thanks @Stroller15

hey @punkle I tried many time but not able to setup locally this project, can you help me with this or any suggestion

@Stroller15 what challenge are you running into?

Not stale


Add login subcommand

Resolves: #393
Early preview, needs unit testing.

Yes, that looks great.

Unit tests added.

PTAL @twaugh


Smoke for the TEST Environment

Anand is working on Function code deployment once it is done will work on Smoke test for TEST environment.

Functions has been deployed for the TEST Environment.
I am able top send the ELR and CASE messages successfully and the message has been passing through all the function apps. while running the jobs on databricks the MMG-SQL has been failing due to job aborted. I have pinged raman to check with this issue and will follow up tomorrow.

We do have some issues with the MMG SQL and MMG based jobs. For resolving those issues we have updated the path and parameter on Task Job and also created a new branch for the test for to pull the latest code. After updating these the jobs ran successful. Need to send CASE AND ELR messages to see the jobs are running success and getting the data or not.

Tested the TEST and DEV environments, it was successful.. I have uploaded the results to the teams channel.
https://cdc.sharepoint.com/:w:/r/teams/CDC-Data-Exchange/_layouts/15/Doc.aspx?action=edit&sourcedoc={fe8d526e-2c00-40d8-abf0-453ae05a4128}&wdOrigin=TEAMS-ELECTRON.teamsSdk.openFilePreview&wdExp=TEAMS-CONTROL&web=1


Initial commit for fortify collector

@rvema Heard that all the collectors are moving to separate repo. Can you please create a new repo for fortify collector. So, that I can raise a PR against the new repo.

@Booma-Baskaran Here is the link to the new repository - https://github.com/Hygieia/hygieia-codequality-fortify-collector

@rvema Thank you!!!

@Booma-Baskaran @Satheesh-Balachandran Do we still need this PR? now that we have a seperate repository for this collector?

@rvema Sure. Thanks for merged the PR in the separate fortify repository.

@rvema Sure. Thanks for merging the changes in the separate repo.

closing the PR after confirmation from the creators.


Cannot migrate if you have "View::share"

Laravel Version: 5.6.*
PHP Version: 7.1.14
Database Driver & Version: irrelevant

Description:
In my AppServiceProvider I have this code:
View::share('languages', Language::all());

I tried to do the migrations and this is the error I get even though it shouldn't have anything to do with views:
In Connection.php line 664:

  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'vnbase.languages' doesn't exist (SQL: select * from `languages` where `languages`.`deleted_at` is null)

In PDOConnection.php line 82:

  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'vnbase.languages' doesn't exist

In PDOConnection.php line 80:

  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'vnbase.languages' doesn't exist

Note that this is a fresh copy of my project and this migration is supposed to create the languages table.

This would be expected, since you're trying to share data from a table that doesn't exist.

Comment that code, run the migration and then uncomment the code.

@shadoWalker89 of course that's what I did, I thought I should report this since this doesn't make sense. Thanks anyway for your answer.
@devcircus That's the thing, I'm not loading any views. Why should Laravel even try to share a variable with views that I'm not creating? I'm just trying to migrate my tables, so it seems reasonable that Laravel should only be doing database work here. Right?

It has nothing to do with views or View::share. When your AppServiceProvider is loaded, you attempt to load all Languages to pass them as a parameter to a function, but the base table doesn't exist.

@36864 oh silly me! I thought I'm passing a closure and the share function should be smart enough not to try to run it.
Thank you.


Light2D mask breaks with TileMaps with YSort enabled

Godot version:

3.2.4.rc2
OS/device including version:

Windows 10
Issue description:

Light2D mask seems to mask some tiles and not mask other tiles on a TileMap with YSort enabled.
Steps to reproduce:

Make TileMap

Enable YSort

Put down some tiles

Make Light2D

Add texture and set mode to Mask

Move Light2D around tiles

Minimal reproduction project:

Test.zip

This is a batching regression, it disappears with batching off. Will investigate. :+1:

Fixed by #46163.

So I cloned and compiled the latest commit in the 3.2 branch, and... it's still broken?

@ShatReal Please open a new issue with a minimal reproduction project attached.

So I cloned and compiled the latest commit in the 3.2 branch, and... it's still broken?

I just retested with your test project, and it's working fine on mine. Maybe someone could independently verify this, or there could be a problem in your build where it isn't using the latest version for everything.

I tested the MRP and can confirm that the bug is reproduced in 3.2.4 RC 2 and not reproduced in<PHONE_NUMBER>111b0bbb66c6ab57a0f42869b0e182 (Mageia 8, testing with Intel HD Graphics 630).

Sorry, I should have clarified. Yes, the issue is solved in the test project, but in my actual project, I still have the issue. I will try to recreate the issue again in another test project.

Sorry, I should have clarified. Yes, the issue is solved in the test project, but in my actual project, I still have the issue. I will try to recreate the issue again in another test project.

Just as a hint, if you are still getting it, one possibility is that it is reordering commands within an item, which might be another case that needs disabling when light_masked is set. It's quite easy to fix but easier to find / test with a project.

Okay, so once the Light2D mask didn't work out I started using a shader. Here is the new test project.
Shader-Test.zip
Instructions: flip ysort on the tilemap on and off and watch as the shader stops and starts working. The shader should make all tiles with y pos > 500.0 partially transparent.
Light2D seems to be working though.

Okay, so once the Light2D mask didn't work out I started using a shader. Here is the new test project.
Shader-Test.zip
Instructions: flip ysort on the tilemap on and off and watch as the shader stops and starts working. The shader should make all tiles with y pos > 500.0 partially transparent.
Light2D seems to be working though.

This turns out to be a different issue. It isn't related to batching, it occurs with batching on or off, so would need a separate issue (we try and work with one bug per issue, also it affects who will investigate it, if it is not a batching bug).

Okay, I will submit another issue.


Add search

As list of examples will grow it'll be handy to have a search field to filter list.

Might be good, but how do you imagine the UI for this?
In other words, what would work better than simply searching for text in the page?

It is more user-friendly I think. Also it will limit text search to only needed area.

So, I didn't realise there was discussion about this; last time I checked, #97 was just an open issue, so I thought I'd go ahead make a simple solution:
» Demo (may need a hard-refresh if you can't see a search button)
I've tried to make it perform well.

Thanks @wnda!
I really like what you've done here, and I really appreciate the effort, but I think it's hard to make the 'simple version' worthwhile. Problem is, it can only find stuff in link text, or whatever, and I don't use anything like searchable tags.
I do like the idea of using the GitHub repo search API, though I understand the problems you describe. One option might be simply to add a repo search at the top, which would open a page like https://github.com/samdutton/simpl/search?q=image. Not sure this adds much though.
I'd love to have an organisation for simpl.info (sadly github.com/simpl is taken, and seems to be active) but using a repo for each demo as you say could be overkill :).

I understand what you mean. On the homepage, the search thingy I made doesn't really do anything that ctrl+f / ⌘+f can't do faster.
If used in example pages, I suppose it would save the user from going to home page to navigate from one example to another — but on a fast network the cost of loading the homepage is negligible, and on a slow network the difference between loading the homepage and XHRing the homepage to get the search results is equally negligible.
And as you say, the repo search doesn't add a great deal either.
Not to worry though, I mostly just wanted to make the search widget anyway regardless of whether it would be used or not.

Thanks again @wnda.


auto-opening

When you open 0, it should open all of its neighbors

I will look at this tomorrow! :D

I will look at this tomorrow! :D

Currently it's drawing button_image_pressed on top of already opened squares, and that makes the numbers not visible:

I would suggest making a function open_square() that works like this:
if the square has not been opened already:   # use list of already opened squares for this
    draw button_image_pressed
    add number
    if added number was zero:
        call `open_square()` for each neighbor square

Currently it's drawing button_image_pressed on top of already opened squares, and that makes the numbers not visible:

I would suggest making a function open_square() that works like this:
if the square has not been opened already:   # use list of already opened squares for this
    draw button_image_pressed
    add number
    if added number was zero:
        call `open_square()` for each neighbor square

I just realized that it doesn't display numbers.. It should only display the number if it's not 0 though.

I just realized that it doesn't display numbers.. It should only display the number if it's not 0 though.

If you want to undo your last commit and start from scratch, you can run git revert HEAD.

If you want to undo your last commit and start from scratch, you can run git revert HEAD.

I also see that the numbers look like they cross the bottom square edge on your system. They don't on mine

I also see that the numbers look like they cross the bottom square edge on your system. They don't on mine

They don't look like that for me either. That screenshot is cropped to not include the entire window.

They don't look like that for me either. That screenshot is cropped to not include the entire window.

I'm on ##learnpython now in case you need help. I will also be there tomorrow at about the same time.

I'm on ##learnpython now in case you need help. I will also be there tomorrow at about the same time.

fixed in 63b678120b612ce350cd03a17dee4840e8d47b16

fixed in 63b678120b612ce350cd03a17dee4840e8d47b16


Convert project to netstandard/net6.

Migrate to SDK style project structure.
Fix tests, assembly reflection loading among a few other things.

Thanks for your contribution @Rivsoft. Are you somehow connected to @Nico-1987 who created the issue #26?
As I mentioned in the issue, I am not able to review these changes (not enough time and knowledge).
@swiebertje do you have the capacity to review these changes?

Thanks for your contribution @Rivsoft. Are you somehow connected to @Nico-1987 who created the issue #26?
As I mentioned in the issue, I am not able to review these changes (not enough time and knowledge).
@swiebertje do you have the capacity to review these changes?

Hi @PMudra, that's fine, I will have a look at it.
@Rivsoft, @Nico-1987 and me actually work at the same company 😃

Hi all:
Thanks for the reply. Regarding the PR I think the only issue I noticed atm
is the appveyor build failing trying to restore the fake app (using the
build.bat script). I never worked with appveyor before but I assume this
should be a simple fix to implement. If someone can take a look at it that
would be great, otherwise let me know and I will see if I can take a stab
at it.
Thanks in advance
On Wed, 16 Nov 2022 at 17:43, swiebertje @.***> wrote:

Thanks for your contribution @Rivsoft https://github.com/Rivsoft. Are
you somehow connected to @Nico-1987 https://github.com/Nico-1987 who
created the issue #26 https://github.com/PMudra/ApiCheck/issues/26?
As I mentioned in the issue, I am not able to review these changes (not
enough time and knowledge).
@swiebertje https://github.com/swiebertje do you have the capacity to
review these changes?
Hi @PMudra https://github.com/PMudra, that's fine, I will have a look
at it.
@Rivsoft https://github.com/Rivsoft, @Nico-1987
https://github.com/Nico-1987 and me actually work at the same company 😃
—
Reply to this email directly, view it on GitHub
https://github.com/PMudra/ApiCheck/pull/27#issuecomment-1317324215, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMQQHB3ODFWEYYKLILC7R3WIUFMPANCNFSM6AAAAAASAZY5AI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi all: Thanks for the reply. Regarding the PR I think the only issue I noticed atm is the appveyor build failing trying to restore the fake app (using the build.bat script). I never worked with appveyor before but I assume this should be a simple fix to implement. If someone can take a look at it that would be great, otherwise let me know and I will see if I can take a stab at it. Thanks in advance
…

I updated the AppVeyor build environment from VS2015 to VS2022. Build is passing now.

Ok, makes sense. This breaking change will probably mean then we might need
a better way to integrate the library with NUnit.
On Thu, 17 Nov 2022 at 16:16, Philipp Mudra @.***>
wrote:

@.**** commented on this pull request.
In ApiCheck.NUnit/ApiTest.cs
https://github.com/PMudra/ApiCheck/pull/27#discussion_r1025327539:

namespace ApiCheck.NUnit
{

public abstract class ApiTest

public static class ApiTest

To be honest I am not even entirely sure what's the purpose of that
project, seems to be the base for the unit tests only ? If so should we
just migrate it to the Tests projects ? Could definitely use some guidance
here.
The purpose of the ApiCheck.NUnit project is to offer a simple
integration for unit test framworks (NUnit in that case). The idea is that
an author of a library is able to easily add the api check to the existing
unit tests of the library. For each check in the api check, a unit test
will be generated. Failing tests will indicate changes in the api. Many
library projects already have CI set up, so adding the NUnit integration
was designed as an easy integration without the need of another CI step.
—
Reply to this email directly, view it on GitHub
https://github.com/PMudra/ApiCheck/pull/27#discussion_r1025327539, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMQQHEIMHVDHKPGRY7XWBDWIZD4NANCNFSM6AAAAAASAZY5AI
.
You are receiving this because you were mentioned.Message ID:
@.***>

I published the NuGet package containing these changes: 2.0.107


DS-2381 sitemap generator skip unreadable items

see DS 2381
added a new Console appender in log4j.properties such that all log DEBUG calls from org.dspace/app appear on the console as well as  dspace.log
personally I find the standard command line utilities rather quiet - I like tracing to assure me that what is happening is actually what I think should be happening

This likely has conflicts with the Service Architecture work.  It will need rebasing and repair.

This needs rebasing on the latest master, because of merge conflicts

Closing as this was replaced by #1289 (see DS-2381 ticket for more details)


Dependency calls over HTTPS are not detected on Node 8.x

Seems like any dependency call that goes over HTTPS is not tracked.
For example I have a demo app which makes two backend API calls to different REST APIs, only the HTTP one is appearing in App Insights. Anything over HTTP is not getting picked up. See screenshot
In addition any Cosmos DB calls are not detected either, which naturally go over HTTPS
This is with Node 8.9.1 running in a Azure App Service

EDIT: This seems to be a problem with Node 8.x. I've switched my app to run on Node 6.9.1 and the HTTPS dependencies started coming through! :)

This is interesting. It sounds like there's something special going on in the request library.
The following short snippet shows dependencies generated for native https calls)
var appInsights = require("applicationinsights");
appInsights.setup("IKEY").start();
appInsights.defaultClient.channel.send = console.log; // Send telemetry to console rather than AI

var https = require("https");
https.get("https://google.com");

Interesting. However I'm not sure it is related to the request library, as none of my Cosmos DB calls were detected until I switched to Node 6.9.1. Looking in the Cosmos DB client library source code, they don't use request, they use the native https method

This was due to internal changes in node on 8.9. If you update your SDK to 1.0.1 you should be able to use Node 8.9 and still retain autocollection.
Please feel free to reopen if you're still experiencing this!


checks the PR title according to semantic rel(#31)

Pull Request description

Thanks for your comment. This is correct?

That looks better. It is missing 2 things:

ensure you have pre-commit installed and  install the pre-commit hooks locally: pre-commit install
change your PR title to fit the standard used by semantic release. You can check the standard defined here: https://github.com/arxlang/arx/blob/main/CONTRIBUTING.md#commit-message-format ..  probably something starting with chore(ci) would be enough


fix(react-email): upgrade cpy to 9.0.1

fix issue #447.
#428 is Great PR but it was not keep emails directory.
The reason is In<EMAIL_ADDRESS>copied directory structure was broken (Always flatten). But<EMAIL_ADDRESS>keep it.
So I updated it.
develop directory

copied directory

Note cpy is switched pure ESM since version 9 so this fix is dynamic import for cpy.

I know that version uses ESM, right?

@bukinoshita Yes, I know.
If you have any concern for using ESM, or roadmap for support ESM, please tell and I'll respect it.

#460 adopted. Thank you


CSS Values and Units Function Notations

Some browsers have already added support for min() and max() even though it's barely documented anywhere.  (Added to Webkit here - https://github.com/WebKit/webkit/commit/b6e6b5db9259fffeb38061a5b4748152336765b9#diff-518f9771ccd63924645e1713a5875265)
IMO it would make sense to include the function notations from that spec as a specific group of support - https://drafts.csswg.org/css-values-4/#functional-notations, since it appears that browsers are not implementing the entirety of CSS Values 4 all at once. Then there can be specific notes of which functions (min(), max(), clamp(), toggle()) have support in which browser.
Note that the Webkit implementation which, by its documentation, seems to suggest min() and max() are only allowable within calc() is undoubtedly incorrect.

Math functions now available at https://caniuse.com/#feat=css-math-functions


Does this lib do some cocurrent test?

I want to use this lib to implement rtmp over quic, but I found that some packet is lost when concurrent test.but when I decrease the concurrent count, the problem dismissed.
I am wonder if this is my own problem or the library's problem, could this library be used in concurrent environment?

I write a client that send 4096 bytes data, every 4 bytes of 4096 bytes is a 'int' data, and the 'int' is increased every 4096 bytes.
and a server to receive data from quic connection, and if it has received 4096 bytes, it will check if the 4096 bytes is right, if the
data is not right, it will report an error.
i start use 40 client to send data concurrently.And after running about 10s, the server print error that lost data. so I'm confused about what happened.


Fix missing dependencies in EiffelEvents.RabbitMq.Client.nuspec

Description
Add the following dependencies in .nuspec file for EiffelEvents.RabbitMq.Client package:

Newtonsoft.Json (>= 13.0.1)
RabbitMQ.Client (>= 6.2.2)

Benefits
To be able to pack that library with a proper dependency tree and to avoid any exceptions.

Closed here #78


opt_rmdff with init attribute

I am using yosys to handle some verilog code generated from Vivado HLS. The code has some weird style for FSM, and there is a reg with an initial value. After processing the code, I find there is a $dff cell with constant input, and this constant input is equal to the initial value. So I think the cell should be removed by opt_rmdff, but that is not the case. I dive in the code and see that opt_rmdff will skip the dff with init attribute, regardless of whether or not the initial value is equal to the constant. Is there any reason not to do so? If not, I suggest a simple fix to it as
diff --git a/passes/opt/opt_rmdff.cc b/passes/opt/opt_rmdff.cc
index 5f52bb8..20966fd 100644
--- a/passes/opt/opt_rmdff.cc
+++ b/passes/opt/opt_rmdff.cc
@@ -122,7 +122,7 @@ bool handle_dff(RTLIL::Module *mod, RTLIL::Cell *dff)
                goto delete_dff;
        }

-       if (sig_d.is_fully_const() && !sig_r.size() && !has_init) {
+       if (sig_d.is_fully_const() && !sig_r.size() && (!has_init || (has_init && val_init == sig_d.as_const()))) {
                RTLIL::SigSig conn(sig_q, sig_d);
                mod->connect(conn);
                goto delete_dff;

Thanks for the patch! Fixed this and a few similar cases in commit 9041f34233a0bfeb10f98bbbed297614487c2d11.


Make it clear for the next user

cc @xster

cc @hterkelsen for review

some information about the upcoming DI package would be great ;-)

lgtm but I don't have merge rights

Push. I wasted a few hours integrating di in my flutter app to find out it doesn't work.

@matanlurey for review

@kevmoo needs to merge this.

The wording in this change is not accurate. DI has a transformer that generates a "static" (no mirrors) injector... that injector by itself is not great, but it doesn't use mirrors.


What an awesome Package!  Any chance you'll update the dependencies?

Greetings,
Thank you for an awesome QR Code Scanner!  So easy to use, thank you.
Any chance you'll update the package dependencies to the latest?
Thank you and have a great day,
Karl

Hi @longtimedeveloper !
Thanks so much!
I'm on vacation at the moment.
I will update this package when back to work.

Updated! version 0.7.4 available


fix: added space between value and text

This PR was deployed with mocked data in the following URLs for your appreciation:

Frontend: https://fabric8-launcher-frontend-pr-1267-app.surge.sh
Welcome App: https://fabric8-launcher-frontend-pr-1267-welcome-app.surge.sh
Storybook: https://fabric8-launcher-frontend-pr-1267-storybook.surge.sh


What is the style recommendation for offset on multi line annotations?

This is on a file/configuration with standard 2 space indents.
Google Java Format (2 space offset)
  @Annotation(
    string1 = "abcdefghijklmnopqrstuvwxyz",
    string2 = "zyxwvutsrqponmlkjihgfedcba",
    boolean1 = true
  )

Checkstyle configured with google-checks (4 space offset)
  @Annotation(
      string1 = "abcdefghijklmnopqrstuvwxyz",
      string2 = "zyxwvutsrqponmlkjihgfedcba",
      boolean1 = true
  )

It's quite possible google_checks.xml included with checkstyle doesn't configure this explicitly and it's just falling back to something else?
Just wondering what the right answer is here.

Waiting for an answer on this issue too. Thanks


Issue with Master Language for $ABAP_OO_PATTERNS 'EN' different from 'DE'

Issue with Master Language for $ABAP_OO_PATTERNS 'EN' different from 'DE'
Run Advanced Open in Master Language
returns
Error: Could not aquire lock REPO<PHONE_NUMBER>13

please try to login with language 'DE'. original language for the repository is 'DE'

For sake of convenience we will try to offer all repositories in the future with original language EN and also convert this repository


Filtering by = ALL on float types does not work

CrateDB version
latest
CrateDB setup information
No response
Problem description
Please see steps reproduce.
Steps to Reproduce
cr> create table t (a float[], b float);
CREATE OK, 1 row affected (0.237 sec)
cr> insert into t values ([1.1], 1.1);
INSERT OK, 1 row affected (0.041 sec)
cr> select * from t where 1.1 = all(a);
+---+---+
| a | b |
+---+---+
+---+---+
SELECT 0 rows in set (0.004 sec)
cr> select * from t where b = all([1.1]);
+---+---+
| a | b |
+---+---+
+---+---+
SELECT 0 rows in set (0.009 sec)

Actual Result
Nothing returned
Expected Result
The single row should be returned.

Firstly, the generic function queries generated does not work. Secondly, cannot generate optimized lucene query with https://github.com/crate/crate/pull/16502 probably due to inapplication of MoveReferenceCastToLiteralCastOnAnyOperatorsWhenRightIsReference.

This caught my attention while working on https://github.com/crate/crate/issues/16581. The buggy query results in a GenericFunctionQuery unexpectedly but it should be functionally correct with slow performance. The cause turned out to be the precision error from float > double.

the generic function queries generated does not work

expected behaviour see https://github.com/crate/crate/pull/16623.
Otherwise, fixed by #16622, closing.


Fix generateEntropyArray() to not overwrite current time

The latest version of generateEntropyArray() on master (at least as of bc6f65b) discards the current time from the entropy array.  The for loop that populates the entropy array with random data overwrites the current time value previously pushed to the array at element 0.  I don't believe that was the original intention.
This pull request simply moves the push after the for loop to ensure the entropy array contains the intended data.  The modified test fails without the proposed change and passes when it is applied.
Not sure if the modified test is the best realization of the intent of this PR.  Obviously, it's possible for the native Math engine to produce the value returned from the stubbed getTime() function.  But keeping the expectation that the stubbed Date constructor function was called should provide enough confidence that the current time is actually present in the entropy array.

Well, I think the more appropriate solution would have been to start i at 1 instead of 0, but your solution works just as well.

Thanks, Cameron!


No module named "importlib.metadata" with Python 3.7

When I import SNPmanifold under Python 3.7, there is one errorNo module named "importlib.metadata". However, with Python 3.8, everything works well. Manual (the Installation part) may need to be updated about the Python requirement.

Updated, thank you very much Xianjie!


Attachments (file)names are not correctly decoded

Describe the bug
In some cases, the attachments (file)names are not correctly decoded and contain invalid characters. This happens for names encoded like this: ISO-8859-1''caf%E9.txt. Note that it's not using encoded-words (btw, I cannot find the name of this encoding, do you know it?). The ISO-8859-1 encoding is simply ignored.
Used config
    'options' => [
        'decoder' => [
            'message' => 'iconv',
            'attachment' => 'iconv',
        ],
    ],

Code to Reproduce
$clientManager = new \Webklex\PHPIMAP\ClientManager();

$clientManager->setConfig([
    'options' => [
        'decoder' => [
            'message' => 'iconv',
            'attachment' => 'iconv',
        ],
    ],
]);

$email = file_get_contents(__DIR__ . '/email.txt');

$message = \Webklex\PHPIMAP\Message::fromString($email);

foreach ($message->getAttachments() as $attachment) {
    $name = $attachment->getName();
    echo "Attachment: {$name}\n";
}

You can find an example of problematic email: email.txt (generated with Gnome Evolution).
Expected behavior
The attachment name should be café.txt, but it is caf�.txt.
Desktop / Server (please complete the following information):

OS: Docker image php:8.1-fpm (Debian I guess?)
PHP: 8.1
Version: 5.5.0
Provider: Gnome Evolution

Additional context
I was able to spot the issue.
In Attachment::decodeName, you test that $name contains the string '' and get the "real" name from it, but you drop the encoding. In my example, ISO-8859-1''caf%E9.txt becomes caf%E9.txt.
Few lines later, you urldecode() the name. Unfortunately, in my case, %E9 is ISO-8859-1 for the character é, while it would be %C3%A9 in UTF-8. Meaning that we still need to convert the string from ISO-8859-1 to UTF-8 with EncodingAliases::convert($name, $encoding) ($encoding being $parts[0] extracted earlier).

I had the same problem but with another config.
$clientManager->setConfig([
    'options' => [
        'decoder' => [
            'message' => 'utf-8',
            'attachment' => 'utf-8',
        ],
    ],
]);

My solution is to convert the name of the attachment lik this:
echo mb_convert_encoding($attachment->getName(), 'UTF-8', 'ISO-8859-1');

I did something similar too. The problem with this solution is that we don't know the encoding of the initial string. Meaning that if it's not ISO-8859-1, we end with the same issue (the unsupported characters � being replaced by question marks, which may look nicer). This has to be done at the PHP-IMAP level to work properly. Or can we access the raw name (e.g. ISO-8859-1''caf%E9.txt) to extract the encoding ourselves?
Side note: the issue happens also with the UTF-8 decoder indeed. I've been back to this decoder: the issues that I had with it have been fixed after installing the PHP ldap extension. It would be worth a separated issue in GitHub but I don't have much time these days. Don't hesitate to get back to me on this subject after the holidays :)


Setup.py won't run

The error that comes up is:
Traceback (most recent call last):
File "C:\Users\Alex\Desktop\Python\snapbot\SnapchatBot-master\setup.py", line 24, in
license=open('LICENSE').read()
File "C:\Python32\lib\distutils\core.py", line 109, in setup
_setup_distribution = dist = klass(attrs)
File "C:\Python32\lib\distutils\dist.py", line 257, in init
warnings.warn(msg)
File "C:\Python32\lib\idlelib\PyShell.py", line 59, in idle_showwarning
file.write(warnings.formatwarning(message, category, filename,
AttributeError: 'NoneType' object has no attribute 'write'

You might want to update all your python install, can't reproduce. Also, please note that this repo is dead, the bots don't work anymore.

but what about https://github.com/agermanidis/SnapchatBot/issues/6#issuecomment-75419682 ??? have you made any progress on the project


Remove the old client depdendency from jimdo

Codecov Report

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

@@            Coverage Diff            @@
##             master      #16   +/-   ##
=========================================
  Coverage     94.93%   94.93%
  Complexity       44       44
=========================================
  Files             6        6
  Lines           158      158
=========================================
  Hits            150      150
  Misses            8        8

Continue to review full report at Codecov.

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

Pull Request Test Coverage Report for Build 130

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.2%) to 94.771%

Totals

Change from base Build 127:
-1.2%

Covered Lines:
145

Relevant Lines:
153

💛  - Coveralls

Pull Request Test Coverage Report for Build 130

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-1.2%) to 94.771%

Totals

Change from base Build 127:
-1.2%

Covered Lines:
145

Relevant Lines:
153

💛  - Coveralls


Empty SCP from wiped disk results in a Python error

Marcus provided me with a disk image from a wiped/empty disk (i.e. no flux) created by a real Supercard Pro. This leads to a Python error:
** FATAL ERROR: unpack requires a buffer of 4 bytes
The disk image is attached, I was using v0.22.
empty.scp.zip

Ah yes I can reproduce this. I think the parser is a bit broken. I'll fix it tomorrow. Thanks!


This commit adds two more units of frequency: Beats Per Minute and Be…

…ats per Hour. Unit tested and passed.
Needed some more units. Added and tested them just like in my last contribution.
Thanks again for a great library :)

Thanks yourself, almost happy to pull this in, but I just realized there are probably many variations of beats per minute and the like.
https://en.wikipedia.org/wiki/Category:Units_of_frequency
According to this, I'm thinking maybe beat is too domain specific. How about counts per minute? Or ticks?

I think "ticks per minute" might be easy to confuse with .NET's TimeSpan.Tick (where a tick == 100 ns).
"Counts per minute" sounds rather specific to radiation: https://en.wikipedia.org/wiki/Counts_per_minute
I think "Cycles per minute" would be good naming.

I agree with ticks, I had the same association. I didn't have any association with counts per minute as being specific to radiation, but I'm not familiar with that domain. Cycles per minute is good by me.

Pushed a new commit with the units renamed, hopefully everything should be good now :)

Cool, thanks. Nuget 3.16 is now out.


Examples run phases in expected order

Description
Changes the order how phases are run in the examples and templates for benchmarks. Making it to run vacuum, solvent and complex phases in that order.
Motivation and context
Resolves #1121
How has this been tested?
Tested locally
Change log

Examples and benchmarks template input files now run vacuum, solvent and complex phases in order.

Interestingly, I'm seeing failures here:
=========================== short test summary info ============================
FAILED perses/tests/test_relative_setup.py::test_relative_setup_charge_change - AssertionError: charge diff is -1 but should be zero.
assert False
 +  where False = <function isclose at 0x7f79e2bf2430>(-1, 0)
 +    where <function isclose at 0x7f79e2bf2430> = <module 'numpy' from '/usr/share/miniconda/envs/test/lib/python3.8/site-packages/numpy/__init__.py'>.isclose
====== 1 failed, 97 passed, 21 skipped, 119 warnings in 681.62s (0:11:21) ======

@dominic-rufa @zhang-ivy : Any idea why this test might be failing?

Oddly enough, the failures are with OpenMM 7.6 and the nightly build, but not OpenMM 7.7.

@jchodera just for the record, we are tracking that error here:
https://github.com/choderalab/perses/issues/1113


Setting commentstring to something else

I've been trying to change the commentstring for Vue syntax (since I usually want to comment/uncomment JS and not HTML). I can't seem to get it to work. I assume it's because of the load order, but I may be wrong. Any ideas?

What plugin do you use for commenting?

I use vim-commentary.

Commentary only supports one filetype at a time. You may want to use something like tcomment or nerdcommenter to be able to comment different filetypes in one file.
See also https://github.com/tpope/vim-commentary/issues/60#issuecomment-183060569.

Ahhhh, it all makes sense now. Switching to tcomment worked beautifully, thanks!


docs: Added a note that RSA keys are not supported by Cosign

Summary
Closes #23

Release Note

Documentation

Hello @ltagliaferri , I'm interested in GSoD this year in this project. What will I have to do next for a successful application? I can't able to find your email. So I have written here. Thank you.


Softdeleteable related updates

closes #739
closes #554
fixes #754
Handles softdeleted slug uniqueness checks implicitly. Here is some minnor BC break if addManagedFilter($name) was used explicitly for sluggable.
Points of improvement

[x] make filter ignorance available at base listener class, to share common behavior between listeners
[x] implicitly manage softdeleteable filter for sluggable listener without any user intervention.
[x] update tree lft rgt values, when nodes were softdeleted
[x] handle translations related to an entity, do not remove them

Is this still unmanaged ?


devices not responding

Devices are not responding
Hi! I have a lot of devices connected to SmartThings, and many of them aren't working properly, some of them are not responding, and some of them, like shades, show that they're closing but in my house, nothing happens and I didn't make any interaction
with homekit at all
Logs:
[2/12/2023, 12:36:03 PM] [homebridge-smartthings-ik] This plugin generated a warning from the characteristic 'Target Temperature': characteristic was supplied illegal value: number 0 exceeded minimum of 10. See https://homebridge.io/w/JtMGR for more info.
[2/12/2023, 12:36:03 PM] [homebridge-smartthings-ik] This plugin generated a warning from the characteristic 'Target Temperature': characteristic was supplied illegal value: number 0 exceeded minimum of 10. See https://homebridge.io/w/JtMGR for more info.
[2/12/2023, 12:36:07 PM] [homebridge-smartthings-ik] This plugin generated a warning from the characteristic 'Target Temperature': characteristic was supplied illegal value: number 0 exceeded minimum of 10. See https://homebridge.io/w/JtMGR for more info.
[2/12/2023, 12:36:07 PM] [homebridge-smartthings-ik] This plugin generated a warning from the characteristic 'Target Temperature': characteristic was supplied illegal value: number 0 exceeded minimum of 10.   You can try increasing the poll times for your device types to reduce the load going out to SmartThings.  You may have so many devices that the polling process is overwhelming your connection to SmarrThings.  For that, I am working on a way for the plugin to make use of SmartThings web hooks which will eliminate polling and replace it with inbound events.  That will be available soon for a small subscription fee.


terraform plan fails for examples

trying to do a simple deployment of one of examples. When running terraform plan -var-file .\examples\cosmos_db\100-simple-cosmos-db-sql\sql_databases.tfvars I receive error below:
Error: Provider configuration not present
│
│ To work with azurerm_virtual_hub_connection.vhub_connection its original provider configuration at
│ provider["registry.terraform.io/hashicorp/azurerm"].vhub is required, but it has been removed. This occurs when a provider configuration
│ is removed while objects created by that provider still exist in the state. Re-add the provider configuration to destroy
│ azurerm_virtual_hub_connection.vhub_connection, after which you can remove the provider configuration again.

hi @niroland - When you go into /examples, you should be able to get some inspiration. As mentioned in the https://github.com/aztfmod/terraform-azurerm-caf/blob/main/UPGRADE.md#550, you need to add
provider "azurerm" {
  alias = "vhub"
}


7.4.0 failing with Error: Cannot read properties of undefined (reading 'status')

Hi, I just upgraded from 7.2.0 to 7.4.0, and code that was previous working now fails with the following error:
[Error] Error: Cannot read properties of undefined (reading 'status')
    at $n.<anonymous> (https://esm.sh/v134/cohere-ai@7.4.0/esnext/cohere-ai.mjs:13:3937)
    at Generator.next (<anonymous>)
    at f (https://esm.sh/v134/cohere-ai@7.4.0/esnext/cohere-ai.mjs:12:122188)
    at eventLoopTick (ext:core/01_core.js:197:13)

This is the code sample:
    const embeddingResponse = await cohere.embed({
      texts: [text],
      model: "embed-multilingual-v3.0",
      inputType: isQuery ? "search_query" : "search_document",
      truncate: isQuery? "START" : "END", // for queries, we truncate start, since the last message is the most recent one
    });

    let tokenCount;
    tokenCount = (await cohere.tokenize({
      text: embeddingResponse.texts[0]!,
      model: "embed-multilingual-v3.0",
    })).tokens.length;

I can't see from the stack trace which API call caused this (unrelated, I just released that I can get the input token count with embeddingResponse.meta.billed_units.input_tokens instead of a separate call :) )

Hey @d-e-h-i-o thanks for flagging, this looks like a bug with our service rather than the sdk and we're looking into it for you!

Hey @d-e-h-i-o thanks for flagging, this looks like a bug with our service rather than the sdk and we're looking into it for you!

@billytrend-cohere Thank you! Just to clarify: Downgrading the SDK did solve the problem.

 I can't repro at either version but still investigating

Oh interesting, do you mind trying again with 7.4.0 just to confirm that it wasn't a transient issue? I can't repro at either version but still investigating

You're right, it was due to the upgrade. I upgraded again, and it's working now.

Ok that's great. We are definitely going to improve the error messaging on this though. Thanks for trying out the different scenarios.

Logging should be better as of<EMAIL_ADDRESS>


feat: migrate IVF_PQ indices when vector column is casted

When a user calls alter_columns() to change the data type of a vector column, we can attempt to migrate the vector index to the new data type as part of the same transaction. This will allow users to easily migrate from f32-based vectors to f16 ones.
Closes #1978

Codecov Report
Attention: Patch coverage is 68.11024% with 81 lines in your changes are missing coverage. Please review.

Project coverage is 80.95%. Comparing base (944aca8) to head (42d63da).
Report is 3 commits behind head on main.

Files
Patch %
Lines

rust/lance/src/index/vector/pq.rs
47.22%
18 Missing and 1 partial :warning:

rust/lance/src/index/vector/ivf.rs
81.81%
9 Missing and 9 partials :warning:

rust/lance/src/index.rs
66.66%
6 Missing and 5 partials :warning:

rust/lance/src/index/vector/hnsw.rs
0.00%
9 Missing :warning:

rust/lance/src/dataset/transaction.rs
76.66%
7 Missing :warning:

rust/lance/src/index/vector/fixture_test.rs
0.00%
5 Missing :warning:

rust/lance/src/index/vector.rs
20.00%
4 Missing :warning:

rust/lance-index/src/scalar/btree.rs
0.00%
3 Missing :warning:

rust/lance-index/src/scalar/flat.rs
0.00%
3 Missing :warning:

rust/lance/src/dataset.rs
93.10%
1 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2102      +/-   ##
==========================================
- Coverage   81.07%   80.95%   -0.12%
==========================================
  Files         160      160
  Lines       47328    47466     +138
  Branches    47328    47466     +138
==========================================
+ Hits        38370    38427      +57
- Misses       6768     6835      +67
- Partials     2190     2204      +14

Flag
Coverage Δ

unittests
80.95% <68.11%> (-0.12%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Closing this, since it got very stale. We might try this again in the future.


FINERACT-122 added clientId, officeId, and groupId.

Description
Describe the changes made and why they were made. Ignore if these details are present on the associated Jira ticket
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[x] Commit message starts with the issue number from https://issues.apache.org/jira/projects/FINERACT/. Ex: FINERACT-646 Pockets API.

[x] Coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions have been followed.

[x] API documentation at https://github.com/apache/fineract/blob/develop/api-docs/apiLive.htm has been updated with details of any API changes.

[x] Integration tests have been created/updated for verifying the changes made.

[x] All Integrations tests are passing with the new commits.

[x] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the list.)

Our guidelines for code reviews is at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide

@vorburger ...one of Mifos Outreachy Applicant sending her first PR. CC @edcable
Thanks for your contributions @nnatarajan . This will be reviewed  and merged or feedback provided withing the next 48 hours. We hope you stay with us and keep learning and making contributions on Apache Fineract and Mifos.

Thank you, @awasum! That is very kind of you! Let me know if I need to make any changes to this one or to other PR - FINERACT-538.


error deploying custom UI

I followed the instructions but found an error when linking the custom UI
The resource 'https://my-site/resources/custom-ui.html' contains script errors preventing it from being loaded.
Links work fine, cors is correct, not quite sure why it fails, will update when I figure it out
Regards
Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 36c209d9-c15f-87a4-a7ee-bb2bd3416961
Version Independent ID: 2f76d983-a940-fa5f-abe0-4c851e377608
Content: Tutorial: Customize the user interface - Azure AD B2C
Content Source: articles/active-directory-b2c/tutorial-customize-ui.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@Grahamworth Thanks for your question. We are checking on this and will respond to you soon.

Could you check if there is any error on the browser console?

@Grahamworth, Just wanted to follow up with you to check if you got a chance to check for the errors in the browser's console, so that we can help you better.

@Grahamworth, Closing this thread for now since no response.


[Feature] InterlockedIncrement/InterlockedIncrement

Background
InterlockedIncrement & InterlockedDecrement are required to implement connectivity_windows via dart:ffi, according to connectivity_plus_windows

Referenced connectivity_plus_windows implementation:

  ULONG STDMETHODCALLTYPE AddRef() { return InterlockedIncrement(&lRef); }

  ULONG STDMETHODCALLTYPE Release() {
    LONG lAddend = InterlockedDecrement(&lRef);
    if (lRef == 0) {
      delete this;
    }
    return lAddend;
  }

Refereced connectivity_windows in https://github.com/flutter/plugins/pull/3714

final _AddRef_Dart onAddRef = (Pointer obj) {
  // TODO InterlockedIncrement(obj.value);
  return 0;
};

final _Release_Dart onReleaseRef = (Pointer obj) {
  // TODO InterlockedDecrement(obj.value);
  return 0;
};

Problem
Add InterlockedIncrement/InterlockedDecrement to win32api.json doen't work
    "InterlockedDecrement": {
        "prototype": "LONG _InterlockedDecrement(\n        LONG *Addend\n      );",
        "dllLibrary": "kernel32",
        "comment": "Decrements (decreases by one) the value of the specified 32-bit variable as an atomic operation."
    },
    "InterlockedIncrement": {
        "prototype": "LONG _InterlockedIncrement(\n        LONG *Addend\n      );",
        "dllLibrary": "kernel32",
        "comment": "Increments (increases by one) the value of the specified 32-bit variable as an atomic operation."
    },

According to InterlockedIncrement and InterlockedDecrement, they are Microsoft-specific Compiler intrinsics

This is beyond my expertise, but I don't think concurrency is an issue here. Dart uses single-threaded isolates, and presumably you're not creating a free-threaded COM server? I don't think there's a risk of reentrancy in an apartment model object. But I'll bet @csells can speak to this with more authority than I have.

Do you mean I don't have to implement AddRef/Release as https://github.com/flutter/plugins/pull/3714 shows?

The underbar versions of these functions are compiler intrinsics, but I believe there are Win32 kernel APIs that do the same thing, e.g. https://docs.microsoft.com/en-us/windows/win32/api/winnt/nf-winnt-interlockedincrement.
For the STA thread, which you decide by the argument you pass to CoInitializeEx, you can use a simple ++ and -- for AddRef and Release implementations, since COM will queue calls from other apartments via the message queue. If you start passing around objrefs between threads yourself, you'll have trouble but Dart makes that extremely difficult.
tl;dr; try the kernel InterlockedDecrement/InterlockedIncrement if you're worried and fall back on --/++ for STA implementations otherwise.

Unfortunately, the kernel APIs are just a #define for the underlying intrinsic. So there's nothing available to project in my package. So like Chris said, I think the best approach is to fall back on the language increment / decrement.

I'll try ++/-- for STA, thanks a lot


Fixed: parameter type for  Sys::ProcTable.ps() when checking if cockpit process alive

Fixed parameter type in  Sys::ProcTable.ps invocation from named to "regular"
BEFORE:
[----] E, [2020-05-08T11:26:32.277801 #12161:2b14f456a5c0] ERROR -- : MIQ(MiqCockpitWsWorker::Runner) ID [1000000000241] PID [12161] GUID [c613f92d-aada-498a-8e39-058cc7393a56] An error has occurred during work processing: TypeError
/opt/rh/cfme-gemset/gems/sys-proctable-1.1.5-universal-linux/lib/linux/sys/proctable.rb:112:in `ps'
/var/www/miq/vmdb/app/models/miq_cockpit_ws_worker/runner.rb:131:in `process_alive?'
/var/www/miq/vmdb/app/models/miq_cockpit_ws_worker/runner.rb:121:in `cockpit_ws_alive?'

AFTER:
[----] I, [2020-05-11T13:00:03.810130 #2495:2ab0b00d65c0]  INFO -- : MIQ(MiqCockpitWsWorker::Runner#process_alive?) MIQ(MiqCockpitWsWorker::Runner) process_struct:  #<struct Struct::ProcTableStruct cmdline="/usr/libexec/cockpit-ws --port 9002 --address <IP_ADDRESS> --no-tls", cwd="/var/www/miq/vmdb", environ={"XDG_CONFIG_DIRS"=>"/var/www/miq/vmdb/config", "DRB_URI"=>"drbunix:///tmp/cockpit20200511-2495-yng7qc"}, exe="/usr/libexec/cockpit-ws", fd={"0"=>"pipe:[1509646]", "1"=>"pipe:[1509648]", "2"=>"pipe:[1509648]", "3"=>"pipe:[1509647]", "4"=>"anon_inode:[eventfd]", "5"=>"socket:[1509658]", "6"=>"anon_inode:[eventfd]"}, root="/", pid=2558, comm="cockpit-ws", state=“S”…

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1834288
@miq-bot add-label bug

LGTM, cc @djberg96, when was this version change to sys proctable added?  It looks like we missed this change.

@jrafanie, @yrudman I switched to named params in version 1.2, which we should already be on. Plus, it has some OSX efficiency updates that @NickLaMuro added.

See also: https://github.com/ManageIQ/manageiq/pull/19767

yes, I saw new way to pass parameter was introduced in 1.2.*.
We would need fix it in ivanchuck and jansa.
I was not sure what is the best way, backport code change or Gemfile

I vote to backport, but I thought it already was in Jansa, 1.2 was released about 2 years ago.

in 5.11 :  sys-proctable (~> 1.1.5)

@djberg96 ok, so, it make sence to apply changes in this PR only to ivanchuck (5.11) branch, right ?

@yrudman If we're not going to backport, then yes.

closing this PR since changes needed only on 5.11

I was observing error on CFME <IP_ADDRESS>, going to get latest (<IP_ADDRESS>) and check it

No issue here, sorry for confusion,
I messed-up with my CFME environment when manually applying changes from another cockpit related PR :(


Upgraded gb to 3.3.2 gmon frozen

Hello,
Just upgraded gunbot to 3.3.2 and now the gmon doesn't update any info to the gmon. I don't know what to do.

I had an error in my ALLCONFIGS, please disregard. Everything is fine now. Thanks.


Sanfrancisco map exists a problem with SORA-SVL on Windows 10 version[issue]

Hello， I have tested the SanFrancisco_correct map, but the issue happened when simulating it on Windows 10 version. Particularly, from the beginning of the simulation (or even after clicking Start), LGSVL on Windows only showed EV with gradient background, and without any objects such as buildings, roads.
-SVL OS：Windows 10

Apollo OS: Ubuntu
Version of SVL 2021.03

DreamView seems to be normal, but there still exists a problem with LGSVL, no matter whether I modify the time in LGSVL.

Hi @meng2180 , thanks for posting the issue!
I am not sure what is going on with your specific case and I am unable to diagnose this problem at this moment.
I have been using https://github.com/MingfeiCheng/AV-Fuzzer and I believe he is also using SanFrancisco_correct. I haven't run into problems running this implementation of AV-Fuzzer.

Hi @meng2180 , thanks for posting the issue!
I am not sure what is going on with your specific case and I am unable to diagnose this problem at this moment. I have been using https://github.com/MingfeiCheng/AV-Fuzzer and I believe he is also using SanFrancisco_correct. I haven't run into problems running this implementation of AV-Fuzzer.

Thanks for your reply!  I just used a simple code to run the SanFrancisco_correct map (OS：Windows 10), below is the code I run :
from datetime import datetime
from environs import Env
import random
import lgsvl
'''
LGSVL__AUTOPILOT_0_HOST             IP address of the computer running the bridge to connect to
LGSVL__AUTOPILOT_0_PORT             Port that the bridge listens on for messages
LGSVL__AUTOPILOT_0_VEHICLE_CONFIG   Vehicle configuration to be loaded in Dreamview (Capitalization and spacing must match the dropdown in Dreamview)
LGSVL__AUTOPILOT_HD_MAP             HD map to be loaded in Dreamview (Capitalization and spacing must match the dropdown in Dreamview)
LGSVL__MAP                          ID of map to be loaded in Simulator
LGSVL__RANDOM_SEED                  Simulation random seed
LGSVL__SIMULATION_DURATION_SECS     How long to run the simulation for
LGSVL__SIMULATOR_HOST               IP address of computer running simulator (Master node if a cluster)
LGSVL__SIMULATOR_PORT               Port that the simulator allows websocket connections over
LGSVL__VEHICLE_0                    ID of EGO vehicle to be loaded in Simulator
'''
env = Env()
SIMULATOR_HOST = env.str("LGSVL__SIMULATOR_HOST", "<IP_ADDRESS>")
SIMULATOR_PORT = env.int("LGSVL__SIMULATOR_PORT", 8181)
BRIDGE_HOST = env.str("LGSVL__AUTOPILOT_0_HOST", "<IP_ADDRESS>")
BRIDGE_PORT = env.int("LGSVL__AUTOPILOT_0_PORT", 9090)
LGSVL__AUTOPILOT_HD_MAP = env.str("LGSVL__AUTOPILOT_HD_MAP", "SanFrancisco")
LGSVL__AUTOPILOT_0_VEHICLE_CONFIG = env.str("LGSVL__AUTOPILOT_0_VEHICLE_CONFIG", 'Lincoln2017MKZ')
LGSVL__SIMULATION_DURATION_SECS = 1800.0
LGSVL__RANDOM_SEED = env.int("LGSVL__RANDOM_SEED", 5472)
vehicle_conf = env.str("LGSVL__VEHICLE_0", lgsvl.wise.DefaultAssets.ego_lincoln2017mkz_apollo6_modular)
scene_name = env.str("LGSVL__MAP", '12da60a7-2fc9-474d-a62a-5cc08cb97fe8')
sim = lgsvl.Simulator(SIMULATOR_HOST, SIMULATOR_PORT)
try:
print("Loading map {}...".format(scene_name))
sim.load(scene_name, LGSVL__RANDOM_SEED) # laod map with random seed
except Exception:
if sim.current_scene == scene_name:
sim.reset()
else:
sim.load(scene_name)
sim.set_date_time(datetime(2020, 3, 22, 19, 0, 0, 0), True)
spawns = sim.get_spawn()
spawn_index = LGSVL__RANDOM_SEED % len(spawns)
state = lgsvl.AgentState()
state.transform = spawns[spawn_index]  # TODO some sort of Env Variable so that user/wise can select from list
print("Loading vehicle {}...".format(vehicle_conf))
ego = sim.add_agent(vehicle_conf, lgsvl.AgentType.EGO, state)
print("Connecting to bridge...")
ego.connect_bridge(BRIDGE_HOST, BRIDGE_PORT)
def on_collision(agent1, agent2, contact):
raise Exception("{} collided with {}".format(agent1, agent2))
sys.exit()
ego.on_collision(on_collision)
dv = lgsvl.dreamview.Connection(sim, ego, BRIDGE_HOST)
dv.set_hd_map(LGSVL__AUTOPILOT_HD_MAP)
dv.set_vehicle(LGSVL__AUTOPILOT_0_VEHICLE_CONFIG)
destination_index = LGSVL__RANDOM_SEED % len(spawns[spawn_index].destinations)
destination = spawns[spawn_index].destinations[destination_index] # TODO some sort of Env Variable so that user/wise can select from list
default_modules = [
'Localization',
'Transform',
'Routing',
'Prediction',
'Planning',
'Control',
'Recorder'
]
dv.disable_apollo()
dv.setup_apollo(destination.position.x, destination.position.z, default_modules)
print("adding npcs")
sim.add_random_agents(lgsvl.AgentType.NPC)
sim.add_random_agents(lgsvl.AgentType.PEDESTRIAN)
sim.run(LGSVL__SIMULATION_DURATION_SECS)`

Hi @meng2180 .
Looks like you are using the right map id. Unfortunately, I am not sure about how to deal with this because I didn't run into this problem. I have been using Ubuntu but I don't know why it wouldn't work on Windows.


Examples of interactive buttons, UI controls and prototyping components. (Dev/interactivebuttons)

Here are some components that have evolved over a few projects and demonstrate some broader concepts of app development and UX.
The InteractiveElements collection provides some input foundations for rapidly hooking up input events, as well as a set of 3D input controls that demonstrate some basic UI feedback for things like buttons, toggles and sliders. These controls are not meant to be an official set of controls, but they are rudimentary examples of the type of interaction feedback we can expect from modern UI in 3D space. The idea being, we should always be pushing farther as we discover what 3D UI means in the holographic space.
The prototyping section is more focused on building click-through demos and sample UI panels. For designers, they can connect graphics and interactive components to build a wireframe based click-through in a few hours. The click-through can be iterated on quickly and is a powerful tool for scoping and design.

Wow, this is amazing! Thanks!

@StephenHodgson thanks.


Add ruby version

The simple version is by me, and the optimized version is a direct translation of the python.
It's important to know that "" and 0 are falsy in ruby, so the if !... checks are correct in this version even though ruby returns 0 for an rindex where the last instance is the first character.
To profile, use gem install profile, then:
$ ruby -r profile optimized.rb < kjvbible.txt > /dev/null
  %   cumulative   self              self     total
 time   seconds   seconds    calls  ms/call  ms/call  name
 60.39    15.04     15.04   885507     0.02     0.02  nil#
 17.55    19.41      4.37       68    64.26   356.91  Array#each
  6.23    20.96      1.55   821133     0.00     0.00  Hash#[]
  6.21    22.51      1.55   821133     0.00     0.00  Hash#[]=
  5.81    23.96      1.45   821200     0.00     0.00  Integer#+
  0.85    24.17      0.21    32187     0.01     0.01  IO#puts
  0.84    24.38      0.21    32187     0.01     0.01  Kernel#puts
  0.72    24.56      0.18        1   179.53   455.24  Hash#each
  0.66    24.72      0.16       67     2.44     2.44  String#split
  0.24    24.78      0.06    32187     0.00     0.00  IO#write
  0.22    24.83      0.05    32187     0.00     0.00  Integer#to_s
  0.22    24.89      0.05    32187     0.00     0.00  Integer#-@
  0.01    24.89      0.00        1     3.47   458.71  Enumerable#sort_by
  0.01    24.90      0.00       67     0.05     0.05  String#downcase
  0.00    24.90      0.00       67     0.01     0.01  String#+
  0.00    24.90      0.00        1     0.64     0.64  TracePoint#enable
  0.00    24.90      0.00      134     0.00     0.00  String#[]
  0.00    24.90      0.00       68     0.01     0.01  IO#read
  0.00    24.90      0.00      135     0.00     0.00  BasicObject#!
  0.00    24.90      0.00       67     0.00     0.00  String#rindex
  0.00    24.90      0.00        1     0.02     0.02  Class#new
  0.00    24.90      0.00        2     0.00     0.00  IO#set_encoding
  0.00    24.90      0.00        1     0.00     0.00  TracePoint#disable
  0.00    24.90      0.00        1     0.00     0.00  Integer#*
  0.00    24.90      0.00        1     0.00     0.00  Monitor#mon_owned?
  0.00    24.90      0.00        1     0.00     0.00  Kernel#respond_to?
  0.00    24.90      0.00        1     0.00     0.00  Hash#initialize
  0.00    24.91      0.00        1     0.00 24906.31  #toplevel

The #nil call stands out to me, but to be honest I'm not sure exactly where that's coming from.

"" and 0 are truthy

@nhh I meant truthy where I said falsy! sheesh, thanks for the catch

Also I stole each_line from your answer, the map was stupid when we don't need the result

Thank you muchly!


Not specifying a filter for an Image tag

Issue Summary
Adding an {% image %} tag without specifying a resize rule will cause a very confusing error:
wagtail.wagtailimages.exceptions.InvalidFilterSpecError: Unrecognised operation:
which is caused by:
        if op_spec_parts[0] not in self._registered_operations:
            raise InvalidFilterSpecError("Unrecognised operation: %s" % op_spec_parts[0])

(wagtail\wagtailimages\models.py", line 360, in operations)
Steps to Reproduce
Inserting an {% image %} tag to a template without a resize rule like so:
{% image page.cover_image  class="cover-image" %}
or:
{% image page.cover_image %}
The exception thrown here must be much more explanatory, and also this must be documented in here:
http://docs.wagtail.io/en/v1.13/topics/images.html?highlight=wagtailimages_tags
Technical details
Python version: 3.6
Django version: 1.11.7
Wagtail version: 1.13
Browser version: Irrelevant.

@lirlocker what are your thoughts on these suggestions?
1. Documentation Update
File: /docs/topics/images.rst
Current
The syntax for the tag is thus:
{% image [image] [resize-rule] %}
For example:
...
Suggested Update
The syntax for the tag is thus:
{% image [image] [resize-rule] %}
Both the image and resize rule must be passed to the template tag.
For example:
...
2. Clearer Error Message
Current
            if op_spec_parts[0] not in self._registered_operations:
                raise InvalidFilterSpecError("Unrecognised operation: %s" % op_spec_parts[0])

Update
Note: we use the terminology 'resize rule' and 'image tag', plus throw a more specific error if no resize rule is provided.
            if not op_spec_parts[0]:
                raise InvalidFilterSpecError("No resize rule in image tag")
            if op_spec_parts[0] not in self._registered_operations:
                raise InvalidFilterSpecError("Unrecognised resize rule in image tag: %s" % op_spec_parts[0])

@lb-
Looks great.


0.0.2-alpha-SNAPSHOT has no description

Describe the bug
https://github.com/num-codex/odm2fhir/packages/496804 doesn't show any description or usage information.
To Reproduce
Steps to reproduce the behavior:

Go to https://github.com/num-codex/odm2fhir/packages/496804
See no description

Expected behavior
A clear and concise description.

Fixed!


Windows Defender tags PCHunter as a CoinMiner

Windows Defender is tagging PCHunter as a CoinMiner
https://i.imgur.com/iCXuiFF.png
Cheers

this is a Microsoft issue. false positive
Sent via Dr. Ray mobile

On Apr 30, 2020, at 07:54, Pedro Miranda<EMAIL_ADDRESS>wrote:

Windows Defender is tagging PCHunter as a CoinMiner
https://i.imgur.com/iCXuiFF.png
Cheers
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks for letting us know, but @dr-raypc is right, it's an MS issue, not much we can do about it other than just mark it as a false positive.


Remove the misleading type annotations for in the metric descriptors (uptrain/deepeval integrations)

Those are not being used for type checking the init parameters, so let's just switch to a list of strings.

Closing as the integration was transferred to https://github.com/uptrain-ai/uptrain


Readds the power console to ce locker

About the PR

Added the power console again
Why / Balance

Its useful
Technical details

Yaml files only
Media

Requirements

[x] I have read and am following the Pull Request and Changelog Guidelines.
[x] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

:cl:

fix: The handheld power console can be found in CE's locker again.

Summary by CodeRabbit

New Features

Introduced a new item, BaseHandheldStationMapPowerCe, to enhance the catalog of available resources.

Pls do


Assertion failure on wlr_texture_is_gles2(wlr_texture)

A GTK application crashing due to https://gitlab.gnome.org/GNOME/gtk/-/issues/3296 just took down sway on the assertion
sway: render/gles2/texture.c:25: gles2_get_texture: Assertion `wlr_texture_is_gles2(wlr_texture)' failed.

I have seen this (or a similar) crash once before, but I don't have a reproducer unfortunately (and hence also no more verbose log). In any case, it's unfortunate if a segfaulting client can bring down the compositor. I'll update this issue if I get a better log.

Smells like memory corruption.


fix: update help modal

Description
This PR fixes # #1765
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

@singh1203 Thank you for your contribution.
Let's discuss this on Websites call on Monday. Adding this as an agenda item into the meeting minutes


Update rand requirement from 0.7 to 0.8

(no, I don't know why dependabot missed this one. Yes I'm using their PR format.)
Updates the requirements on rand to permit the latest version.

Changelog
Sourced from rand's changelog.

[0.8.0] - 2020-12-18
Platform support

The minimum supported Rust version is now 1.36 (https://github.com/rust-random/rand/issues/1011)
getrandom updated to v0.2 (https://github.com/rust-random/rand/issues/1041)
Remove wasm-bindgen and stdweb feature flags. For details of WASM support,
see the getrandom documentation. (https://github.com/rust-random/rand/issues/948)
ReadRng::next_u32 and next_u64 now use little-Endian conversion instead
of native-Endian, affecting results on Big-Endian platforms (https://github.com/rust-random/rand/issues/1061)
The nightly feature no longer implies the simd_support feature (https://github.com/rust-random/rand/issues/1048)
Fix simd_support feature to work on current nightlies (https://github.com/rust-random/rand/issues/1056)

Rngs

ThreadRng is no longer Copy to enable safe usage within thread-local destructors (https://github.com/rust-random/rand/issues/1035)
gen_range(a, b) was replaced with gen_range(a..b). gen_range(a..=b) is
also supported. Note that a and b can no longer be references or SIMD types. (https://github.com/rust-random/rand/issues/744, https://github.com/rust-random/rand/issues/1003)
Replace AsByteSliceMut with Fill and add support for [bool], [char], [f32], [f64] (https://github.com/rust-random/rand/issues/940)
Restrict rand::rngs::adapter to std (https://github.com/rust-random/rand/issues/1027; see also https://github.com/rust-random/rand/issues/928)
StdRng: add new std_rng feature flag (enabled by default, but might need
to be used if disabling default crate features) (https://github.com/rust-random/rand/issues/948)
StdRng: Switch from ChaCha20 to ChaCha12 for better performance (https://github.com/rust-random/rand/issues/1028)
SmallRng: Replace PCG algorithm with xoshiro{128,256}++ (https://github.com/rust-random/rand/issues/1038)

Sequences

Add IteratorRandom::choose_stable as an alternative to choose which does
not depend on size hints (https://github.com/rust-random/rand/issues/1057)
Improve accuracy and performance of IteratorRandom::choose (https://github.com/rust-random/rand/issues/1059)
Implement IntoIterator for IndexVec, replacing the into_iter method (https://github.com/rust-random/rand/issues/1007)
Add value stability tests for seq module (https://github.com/rust-random/rand/issues/933)

Misc

Support PartialEq and Eq for StdRng, SmallRng and StepRng (https://github.com/rust-random/rand/issues/979)
Added a serde1 feature and added Serialize/Deserialize to UniformInt and WeightedIndex (https://github.com/rust-random/rand/issues/974)
Drop some unsafe code (https://github.com/rust-random/rand/issues/962, https://github.com/rust-random/rand/issues/963, https://github.com/rust-random/rand/issues/1011)
Reduce packaged crate size (https://github.com/rust-random/rand/issues/983)
Migrate to GitHub Actions from Travis+AppVeyor (https://github.com/rust-random/rand/issues/1073)

Distributions

Alphanumeric samples bytes instead of chars (https://github.com/rust-random/rand/issues/935)
Uniform now supports char, enabling rng.gen_range('A'..='Z') (https://github.com/rust-random/rand/issues/1068)
Add UniformSampler::sample_single_inclusive (https://github.com/rust-random/rand/issues/1003)

Weighted sampling

Implement weighted sampling without replacement (https://github.com/rust-random/rand/issues/976, https://github.com/rust-random/rand/issues/1013)
rand::distributions::alias_method::WeightedIndex was moved to rand_distr::WeightedAliasIndex.
The simpler alternative rand::distribution::WeightedIndex remains. (https://github.com/rust-random/rand/issues/945)
Improve treatment of rounding errors in WeightedIndex::update_weights (https://github.com/rust-random/rand/issues/956)
WeightedIndex: return error on NaN instead of panic (https://github.com/rust-random/rand/issues/1005)

Documentation

Document types supported by random (https://github.com/rust-random/rand/issues/994)
Document notes on password generation (https://github.com/rust-random/rand/issues/995)
Note that SmallRng may not be the best choice for performance and in some
other cases (https://github.com/rust-random/rand/issues/1038)
Use doc(cfg) to annotate feature-gated items (https://github.com/rust-random/rand/issues/1019)
Adjust README (https://github.com/rust-random/rand/issues/1065)

Commits visible in compare view.

Closes #1113.
We shouldn't merge this until uuid upgrades rand, to avoid pulling in two versions of rand.

I dig this, but we should hold off on merging until downstream dependencies like uuid to move off of the old rand version, otherwise we'll fracture deps / compile multiple versions:
https://github.com/uuid-rs/uuid/pull/504

Yep. (If you dig a little bit, I kicked off the movement to get the uuid update published.) Uuid is the only dep pulling in rand:0.7 once bevy internal crates update, and the uuid update should be published "soon".

Thanks for getting the ball rolling :smile:

Thanks for getting the ball rolling :smile:

uuid 0.8.2 with just the getrandom requirement has been published. Rebased; this should be good to merge.
cargo tree --duplicates after this change (and a cargo update) shows cfg-if as the only crate duplicated in-tree.

uuid 0.8.2 with just the getrandom requirement has been published. Rebased; this should be good to merge.
cargo tree --duplicates after this change (and a cargo update) shows cfg-if as the only crate duplicated in-tree.


[Feature Request] Move cassandra from Deprecate version to version cassandra from bitnami

Is your feature request related to a problem? Please describe.

This project is no longer supported.
https://github.com/helm/charts

The current Cassandra Helm chart repository is not supported.
Describe the solution you'd like
I suggest switching to bitnami's version of the chart, this will solve a lot of problems in support of working with Cassandra
https://bitnami.com/stack/cassandra/helm
Additional context

Definitely need to move to a maintained chart. I'm concerned about the impact this will have on existing users though...


Filter flexbile pricing admin by course/program

As an admin who is reviewing flexible pricing requests, I need to filter the list to only see a course/program that is relevant to me.
Acceptance Criteria:

[ ] Add a drop-down for choosing from existing courses/programs with financial aid requests

@pdpinch Just to clarify, Is this referring to Django admin https://rc.mitxonline.mit.edu/admin/flexiblepricing/flexibleprice/
or dashboard https://rc.mitxonline.mit.edu/staff-dashboard/flexible_pricing?


There's no way to preview FogVolumes without throw away WorldEnvironment nodes

Godot version
4.2.b4
System information
Win 10
Issue description
There's no way to see a FogVolume you create without creating a WorldEnvironment to enable volumetric fog which would clash if spawned in another scene.. so I end up putting a script on them to delete them as soon as possible as they're for editor only. Ideally, there would be an option in the preview environment dialog to both enable it and change the default density (as default is too dense for editing imo).
Steps to reproduce
Create a Node3D based scene. Add a FogVolume. Nothing is displayed on screen; at least there's a warning about it on the node (yellow triangle !).
Minimal reproduction project
n/a

We should likely add a setting to enable Volumetric Fog in the preview environment the same as we have buttons for AO, GI, etc.