eos_cli_config_gen: nac

Enhancement summary
We are implementing nac config and some missing variables. We need to generate the following config
!
management api gnmi
 no shutdown
!
router segment-security
 no shutdown

to work around it it we might have to use the following config:
for management api grmi we do not have the option to shutdown.
eos_cli: |
!
management api gnmi
 no shutdown
!
router segment-security
 no shutdown

Which component of AVD is impacted
eos_cli_config_gen
Use case example
please detail your use caseto work around it it we might have to use the following config:
eos_cli: |
!
management api gnmi
 no shutdown
!
router segment-security
 no shutdown

Describe the solution you would like
If model can be extended to support above that will be very useful
https://avd.arista.com/4.7/roles/eos_cli_config_gen/docs/input-variables.html?h=dot1x#__tabbed_22_2
Describe alternatives you have considered
eos_cli: |
!
management api gnmi
 no shutdown
!
router segment-security
 no shutdown

Additional context
nac configuration
Contributing Guide

[X] I agree to follow this project's Code of Conduct

Hello @duddis1. Thanks for opening the issue
for
router segment-security
 no shutdown

You have already: https://avd.arista.com/devel/roles/eos_cli_config_gen/docs/input-variables.html#__tabbed_148_2
router_segment_security:
  enabled: true

that will generate the config you need.
For the gnmi part, we have no key to generate the no shutdown today indeed. I have just checked on some cEOS device and a  7280 and cannot see the option:
host2(config-mgmt-api-gnmi)#no shutdown
% Incomplete command
host2(config-mgmt-api-gnmi)#show active
host2(config-mgmt-api-gnmi)#show cli commands
[no|default] APPEND [ COMMENT ]
[no|default] comment
do CMD
exit
[no|default] operation set persistence
[no|default] provider eos-native
show active
show active all [ detail ]
show comment
[no|default] transport grpc TRANSPORT_NAME
[no|default] transport grpc-tunnel TRANSPORT

can you please confirm the syntax and the platform?

Hi @gmuloc
I agree, no shutdown option available for 750x platform either.
@duddis1 This was an error on our part, no shutdown is not an option. I will remove it from current configlet.
See switch config below.
!
management api gnmi
   transport grpc default
!

Thanks @lateefwalana for confirmation
So @duddis1, as mentioned my previous comment, you have already: https://avd.arista.com/devel/roles/eos_cli_config_gen/docs/input-variables.html#__tabbed_148_2
router_segment_security:
  enabled: true

that will generate the config you need for router segment security
for the config from @lateefwalana, I think this would do: https://avd.arista.com/4.9/roles/eos_cli_config_gen/docs/input-variables.html#management-api-gnmi
management_api_gnmi:
  transport:
    grpc:
      - name: default

If this does it for you then we can probably close this issue. Please let us know

@gmuloc  We have to adopt new arista AVD version to test these changes, we will test and update you if any issues.
You can close this request if you want now.


[UBS Orders Admin] Size coursor doesn't work for 'Order's number' and 'Order's status' fields

Environment: Windows 10, Google Chrome 100
Reproducible: always
Build found: 23.04.2022
Preconditions
1.Go to https://ita-social-projects.github.io/GreenCityClient/#/ubs
2.Log in as admin
Steps to reproduce

Go to 'UBS-admin'
Open 'Orders' table
Hover the mouse on the 'Order's number' and 'Order's status' borders of tables and try to change the size of the columns

Actual result
The column size is not changed
Expected result
The size of the colums are changed

First four columns should be sticky.


Add monitor of queues

Currently there are nothing to indicate that a queue is getting fill faster than it getting consume. I suggest a simple function that check every second all the queues and notify if one is beyong 50% fill.

We can add that in the ReceiverBaseClass run function.
if queue.qsize() > 0.5 * queue.max_size:     self.logger('Queue size is beyond 50% capacity')

implemented in #feature/queues_monitoring


interpolateTransform* can't interpolate rotation from 0 to 360 deg

Hello
interpolateTransform*  interpolate rotation with shortest path. So, looks like it's imposible to make interpolation from 0 to 360 deg. I think this is an issue.
https://github.com/d3/d3-interpolate/blob/255231b98906040648eab089f4f1cdce3f489b9b/src/transform/index.js#L21

@iseeyou911 this behavior matches the CSS spec

Duplicate of #44.


Memory Setting No Longer 512Mi

We lost that default in the transition away from gcloud. I have a better fix in progress.

Ouch, I expected this would happen somewhere. Let me know if you need help.

I actually need to see why some of my stuff exceeds that, cause it shouldn't.  But the PR is here:
https://github.com/GoogleCloudPlatform/cloud-run-button/pull/175


Segfault upon calling vedo.show on server

Hi,
I'm currently implementing some reg tests on an application that uses Vedo for visualization purposes. The test is very simple, just trying to make sure that my object gets created properly. I set up Vedo objects, call show (must not be very clever), that's it. Tests run properly on my laptop, both on Windows & WSL2. Using Python 3.11 & Pytest, Vedo 2024.5.1
When i tried to run CI on our Gitlab server, I got a segmentation fault at test collection. For some reason, upon collecting tests that include a vedo.show, Pytest segfaults immediately. After some testing, running the following piece of code on our sever (Ubuntu 22.04 LTS) generates a segfault, even though it takes a bit longer to get it. Thus my current workaround is to skip these reg tests when running CI.
import vedo

def test_show():
    pts = vedo.Points([[1, 2, 3]])
    vedo.show(pts).close()
    print("success")

if __name__ == "__main__":
    test_show()

The logs I get are below. The visualization libraries (libGL) are installed on the server. As i don't get this failure in other platform i assume it's related to the absence of X11 forwarding or something (I know nothing about it sorry). I tried to track what happens in VTK, but couldn't find a better minimal example.
vedo_test.py Fatal Python error: Segmentation fault

Current thread 0x00007f87749e7000 (most recent call first):
  File "~/vedo_test/.venv/lib/python3.10/site-packages/vedo/plotter.py", line 892 in initialize_interactor
  File "~/vedo_test/.venv/lib/python3.10/site-packages/vedo/plotter.py", line 3373 in show
  File "~/vedo_test/.venv/lib/python3.10/site-packages/vedo/plotter.py", line 344 in show

I understand that the procedure i followed has several caveats, from the reg test running show to the server not having display tools. Do you have any improvement to suggest ? I tried to turn off the interactivity of show, but that had no impact. More generally, do you have any suggestion for nice reg tests with Vedo ?
Sorry for the very unprecise question, and happy friday

Hi @ldouteau
yes - it's related to X11 forwarding
have you already had a look at https://vedo.embl.es/autodocs/content/vedo/vedo.html#running-on-a-server ?
From inside a python script you can also call:
import vedo
vedo.settings.start_xvfb()
# vedo.settings.initi_colab()

# ...

Hope this helps!

Hi Marco,
Thanks for the answer & the reference to the docs, i missed it. It solves the issue i have with segfault at test collection.
However, i'm still getting seg faults with the minimal example provided (screenshot of a cube). I tested both the python & bash versions. I get the following log, that is not very helpful. I tested that on Ubuntu 22.04 LTS with Python 3.10 & a fresh new virtual environment
/usr/bin/Xvfb
starting xvfb (can take a minute) ... xvfb started.
Aborted (core dumped)

Hi Marco. Sorry for the late answer. Yes this script crashes too, with the following logs:
2024-03-12 11:57:47.543 (   0.181s) [    7F9ABA305000]vtkXOpenGLRenderWindow.:456    ERR| vtkXOpenGLRenderWindow (0x56447770bfc0): bad X server connection. DISPLAY=
Aborted (core dumped)

Hi, I' afraid then it's a problem with the server not starting.. unrelated to vedo.
I would manually check on your server  the individual steps in
https://github.com/marcomusy/vedo/blob/9e68ef2a7ae7f3632067590319875fcf9fce9ebc/vedo/settings.py#L728

Ok, that's kind of what i expected when i tested your suggestion earlier today. As it's not critical for me i guess i won't investigate more on this. Thanks for your efficient support, as usual !


Fix the Ner index bug

FoolNLTK is a handy library, but there is a small bug in ner, I have fixed it and verified it on open source large data sets.

I had fix this in version 0.1.7


clearFix related options

Hello,
from the changelog:

Inject clearFix into 'body' to work around CSS floats preventing the height being correctly calculated.

As far as I can see now injectClearFixIntoBodyElement is called regardless and there is no option to customise it / not have it.
For example, when using taggedElement, couldn't the clearFix div also have the data-iframe-height attribute?
Or if for some reason I have my own element having data-iframe-height that already have the "clear" style applied to it, then the clearFix would not needed.
Another edge case would be if for some (evil) reason there was a global style setting a margin or min-height to all divs, then the clearFix one may end up creating an extra space at the bottom.
I hope this makes sense. My suggestion would be to have a "injectClearFix" option set to true by default and a "useClearFixAsTaggedElement" set to false by default.
Thanks

Hi,
I try no to have too many options as it makes things to complicated for people. I've never seen a real world issue where this has created a problem.


Uncaught ValueError in utils.py line 143

Aider version: 0.56.0
Python version: 3.11.4
Platform: macOS-10.16-x86_64-i386-64bit
Python implementation: CPython
Virtual environment: No
OS: Darwin 23.6.0 (64bit)
Git version: git version 2.46.0
An uncaught exception occurred:
Traceback (most recent call last):
  File "aider", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "main.py", line 698, in main
    coder.run()
  File "base_coder.py", line 735, in run
    self.run_one(user_message, preproc)
  File "base_coder.py", line 778, in run_one
    list(self.send_message(message))
  File "base_coder.py", line 1223, in send_message
    shared_output = self.run_shell_commands()
                    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "base_coder.py", line 1945, in run_shell_commands
    output = self.handle_shell_commands(command, group)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "base_coder.py", line 1971, in handle_shell_commands
    exit_status, output = run_cmd(command, error_print=self.io.tool_error)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "run_cmd.py", line 13, in run_cmd
    return run_cmd_pexpect(command, verbose)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "run_cmd.py", line 87, in run_cmd_pexpect
    child.interact(output_filter=output_callback)
  File "pty_spawn.py", line 793, in interact
    self.__interact_copy(escape_character, input_filter, output_filter)
  File "pty_spawn.py", line 822, in __interact_copy
    r, w, e = select_ignore_interrupts(
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "utils.py", line 143, in select_ignore_interrupts
    return select.select(iwtd, owtd, ewtd, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: filedescriptor out of range in select()

Thank you for filing this bug report.
How did you install aider?

Thanks for trying aider and filing this issue.
The fix is available in the main branch. You can get it by installing the latest version from github:
aider --install-main-branch

If you have a chance to try it, let me know if it works better for you.
I'm going to close this issue for now, but feel free to add a comment here and I will re-open. Or feel free to file a new issue any time.


remove duplicate environment functions

Codecov Report

Merging #129 (474be60) into main (26b4cca) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #129   +/-   ##
=======================================
  Coverage   95.60%   95.60%
=======================================
  Files           4        4
  Lines         387      387
=======================================
  Hits          370      370
  Misses         17       17

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 26b4cca...474be60. Read the comment docs.


Tether CDN

So using tether via CDN is good, also explained here:
https://cdnjs.com/libraries/tether/1.3.7
You say in your README.md this:
<script src="//cdnjs.cloudflare.com/ajax/libs/tether/1.3.7/js/tether.min.js"></script>
But, what about integrity & crossorigin? jQuery & Bootstrap has these elements filled in for security reasons. Hopefully you will do the same as well?
Thanks!

Melroy

@danger89 I created a pull-request.
Please confirm that it does what you ment.

Sorry I didn't react.


Update dependency javax.xml.ws:jaxws-api to v2.3.1

This PR contains the following updates:

Package
Update
Change
References

javax.xml.ws:jaxws-api
patch
2.3.0 -> 2.3.1
homepage, source

Release Notes

javaee/jax-ws-spec
v2.3.1
Compare Source

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR is stale, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


adding audio to an image sequence

Is your feature request related to a problem? Please describe.
i'm trying to open an image sequence, add the audio and save it as movie-file
but i'm failing to add the audio - so this might be a bug report
i'f i just drag the audio into mrv i get the error message
WARN : [ffmpeg] (wav) Could not find codec parameters for stream 1 (Video: png, none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
ERROR: [] /Users/xyz/Projekte/Video/2024/zzz/myfile.wav: /Users/xyz/Projekte/Video/2024/zzz/myfile.wav: No video codec found

if i use the "open with seperate audio"  function i get this
`ERROR: [] /Users/xyz/Projekte/Grafik/3D/Blender/2024/render/zzz/zzz/v003/myFile.wav: /Users/xyz/Projekte/Grafik/3D/Blender/2024/render/zzz/zzz/v003/myFile.wav: No such file or directory`

wich is interesting as this is the path to image-sequence.. the audio file is not there
Describe the solution you'd like
preferably i'd be able to open the image sequence via drag n drop and then just drag n drop the audio
Describe alternatives you've considered
Additional context

Unfortunately, you cannot drag the audio, as you found out.
You have to use the "Open with separate audio" or the "-a <audio_file>" from the command-line.
But indeed these were broken.  You can find a fix in v1.2.2 at:
https://sourceforge.net/projects/mrv2/files/beta/

i hate to say it but it still seems broken
i used 1.2.2 and the "Open with separate audio" .. set the .png sequence for video and the .wav as audio
WARN : [ffmpeg] (wav) Could not find codec parameters for stream 1 (Video: png, none): unspecified size
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
ERROR: [] /Users/xyz/Projekte/Video/2024/fortklang/fortklang_Angst24-48.wav: /Users/xyz/Projekte/Video/2024/fortklang/fortklang_Angst24-48.wav: No video codec found
ERROR: [] //Users/xyz/Projekte/Video/2024/fortklang/fortklang_Angst24-48.wav: //Users/xyz/Projekte/Video/2024/fortklang/fortklang_Angst24-48.wav: No video codec found

It is working for me.  It seems in your case the .wav file is being loaded as video for some reason.
Can you upload one .png of your sequence and the .wav file to some place on the cloud and post the link to them?

hi.. sorry for the delay
here's a short png sequence and the .wav  - let me know when you downloaded it, so i can erase it
https://e.pcloud.link/publink/show?code=XZ1SSgZOLNRPV0MoX8Te5L3Lz8t2bBTUPHV

You can delete it now.

@verstaerkermusic I understand what is happening.  Your .wav file contains an embedded PNG image and mrv2 expects only audio tracks.  The option in FFmpeg (the video library mrv2 uses) to support embedded images is by default turned off as it is really a corner case and makes compiling it slower.  So, at this moment in time, I am going to label this issue as won't fix.
You can get a working .wav file if you:
a) Save out a .wav file without a PNG image.
b) Extract the .wav file alone with ffmpeg, like (on the terminal):
brew install ffmpeg
ffmpeg -i fortklang_Angst24-48.wav -c:v none -c:a copy fixed.wav

Actually, I found a way to support the .wav file with embedded PNGs, except for the warnings.
It will be there on v1.2.2.  Now it is compiling the beta builds.  Once it finishes (about an hour or so), you will find it at:
https://sourceforge.net/projects/mrv2/files/beta/


node-sass not found

Hi,
I know this has been asked before but using linux here and on a bamboo agent. npm install works if I run it on a local ubuntu setup but trying to run it as part of a build I receive the following:
09-Dec-2019 17:52:02 Downloading binary from https://github.com/sass/node-sass/releases/download/v4.9.4/linux-x64-72_binding.node
09-Dec-2019 17:52:03 Cannot download "https://github.com/sass/node-sass/releases/download/v4.9.4/linux-x64-72_binding.node":
09-Dec-2019 17:52:03 HTTP error 404 Not Found
I have had a look at the github project and no binary linux-x64-72_binding.node exists for v4.9.4 Only for v4.13.0. On my local Ubuntu installation the binary https://github.com/sass/node-sass/releases/download/v4.9.4/linux-x64-57_binding.node is downloaded and exists.
What determines which binary is being downloaded from a release?
Thanks for the assistance.

Your server is running an older version of Node that is incompatible with Node 13 https://github.com/sass/node-sass/blob/master/TROUBLESHOOTING.md#404s


Many VirusTotal vendors flagging GYB as Trojan

The issue tracker is for reporting product deficiencies. How do I questions should be posted to the discussion forum at https://groups.google.com/group/got-your-back. When in doubt, start at the discussion forum and return here only when instructed to do so.
Please confirm the following:

I have upgraded to the latest GYB release from https://github.com/jay0lee/got-your-back/releases and I still have this issue. Yes
I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/got-your-back/wiki Yes

Full steps to reproduce the issue:

Download gyb-1.70-windows-x86_64.zip, gyb-1.70-windows-x86_64.msi and/or gyb-1.70-linux-aarch64-glibc2.35.tar.xz
Upload each of them to https://www.virustotal.com
Observe the results

Expected outcome (what are you trying to do?):
Get 2-3 accusations at max, but hopefully 0.
Actual outcome (what errors or bad behavior do you see instead?):

Get up to 14 complains - see this, that and also this.
Get your Internet connection blocked if you use SentinelOne.

I know it's similar to #341 but this time it's much worse.
Why so many complaints and why trojan?
This program largely appeals to workplaces which might stop using it because if it, even though we all love the program. Actual outcome 2 was a very unpleasant experience.

This isn't something GYB can totally control, AV vendors are simply overly aggressive in identifying these free tools as malware. However some tweaks in 1.71 may at least reduce the frequency of detection here.

Yeah I'm getting the same thing I went back to 1.62 and I'm not having as
many virus deletions from virus software. Absolutely love this software
he's at all the time.
On Mon, Oct 3, 2022, 10:25 Jay Lee @.***> wrote:

Closed #396 https://github.com/GAM-team/got-your-back/issues/396 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/GAM-team/got-your-back/issues/396#event-7509383590,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI2EB6PDVPEEAOYX77VZS4LWBMJJXANCNFSM6AAAAAAQECCS6Y
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I indeed see less detections now, thanks! Workplaces don't care if it's outside the control of GYB, they just block the entire workstation. If more detections come up, you can always approach each and every of these vendors and submit a false positive report. It's not nice but that's reality.

I had to add gyb as an exception in TotalAV as it quarantined it.


Set mouse action key binding without using macros

Is your feature request related to a problem? Please describe.
Can't set mouse action key binding. ASUS mice doesn't support macros, but they support keyboard key bindings.
I have seen it in internal API - https://github.com/libratbag/libratbag/blob/1e3a85433af41955424f237af1975243edeabefa/src/libratbag-private.h#L371 but looks like it wasn't exposed to ratbagctl/ratbag-command or I could be wrong.
I have used this API in my ASUS driver, it seems work, but it needs some ways to actually use it.
Describe the solution you'd like
Add a command line option for ratbagctl/ratbag-command like:
button N action set key B
for example:
button 7 action set key KEY_A
Describe alternatives you've considered
Implement it using single key macros, but it would be too complicated for such a trivial task.

merged


cannot open the existing loom file

Describe the bug
cannot open the existing loom file with different methods
Steps to reproduce

create a loom file, adding couple columns which is named with english letters
click the loom file through core plugin, file, or commnunity plugin, file tree, then no any reaction
ctrl+O to find the recently created loom file and click it. no reaction
drag the loom file to tab area, a new tab is created showing 'no file is open'

Expected behavior
file opened
Are you using the mobile app?
 If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.
Relevant log output
u are loading @emotion/react when it is already loaded. Running multiple instances may cause problems. This can happen if multiple versions are used, or if multiple builds of the same version are used.
<EMAIL_ADDRESS>@ plugin:notion-like-tables:27045

Hi @specterlala. Could you give me a video of this behavior?

No need. i have found the killer, which is the plugin 'external link opener'. delete it, the existing dataloom file can be opened smoothly. anyway, thank you for your brilliant work!!!

Glad to hear that the issue was able to be resolved. Let me know if anything else isn't working as intended :)


Move the OIDC discovery endpoint under the root issuer/.well-known/openid-configuration

According to the spec [1] the discovery endpoint should be located in the path /.well-known/openid-configuration.
OpenID Providers supporting Discovery MUST make a JSON document available at the path formed by concatenating the string /.well-known/openid-configuration to the Issuer.
Currently in IS server, the document is located in "oidcdiscovery/.well-known/openid-configuration".
[1] [https://openid.net/specs/openid-connect-discovery-1_0.html#IssuerDiscovery]

@DMHP Is this fixed now with above PR?

It appears to still occur on WSO2 5.11: the default oidc discovery endpoint is under https:///oauth2/oidcdiscovery/.well-known/openid-configuration


fix(controller): ensure cleanup of "deis run" fleet units

If a controller task times out during deis run, the cleanup code to destroy its fleet unit isn't called. This wraps the important code in a try/finally to ensure the unit is destroyed even when the code doesn't follow the happy path.
I tested by first setting the worker timeout to 20, then running deis run sleep 30, waiting until it fails and then looking at the output of fleetctl list-units. Before this change, a deis run unit was orphaned each time; after the change, the unit is removed.
In conjunction with #3084 (merged), closes #3022.

I'm not sure why this diff is so hard to read. All this does is add the try: and finally: statements and indent their blocks by four spaces.

I'm not sure why this diff is so hard to read. All this does is add the try: and finally: statements and indent their blocks by four spaces.

Thanks - I was trying to figure out what changed. Code LGTM.

:shipit:


RuntimeError: PyNaCl

RuntimeError: PyNaCl library needed in order to use voice

ubuntu?

Realized someone upgraded to 16.04. Uninstalled the library and installed it back. Works fine.


propfind + getwebpart

Rationale
Use standard parameter validation

don't throw unhandled exception
bad xml formatting

One more question: as currently written, you could end up with a <propstat><prop> block with no properties. (If all propertiesNotFound are malformed.) Is that a problem? Solution would be to filter the list before checking the size, of course.


feat: implement inference server by using vllm

Reason for Change:

Requirements

[ ] added unit tests and e2e tests (if applicable).

Issue Fixed:

Notes for Reviewers:

testing code
from openai import OpenAI

# Modify OpenAI's API key and API base to use vLLM's API server.
openai_api_key = "EMPTY"
openai_api_base = "http://localhost:5000/v1"

client = OpenAI(
    # defaults to os.environ.get("OPENAI_API_KEY")
    api_key=openai_api_key,
    base_url=openai_api_base,
)

models = client.models.list()
model = models.data[0].id

completion = client.chat.completions.create(
    model=model,
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {
            "role": "user",
            "content": "What is kubernetes?"
        }
    ],
    n=10000,
)

print(completion.choices[0].message)

link #608


Allow override of configuration options via the CLI

Currently, Ruff includes many configuration options that are only available via a configuration file. These options should be available via the CLI as well so users can either:

Provide configuration options without defining a configuration file
Override configuration options per invocation of Ruff without modifying files

There have been previous requests for this, but I could not find them. If you know where they're at please share so we can have more historical context here.
Proposals
There are a few options for exposing this capability.
Environment variables
Add environment variable overrides for all settings. Environment variables would take precedence over all persistent configuration options but not CLI flags.
A repeatable CLI option with key value pairs
A  CLI option for overriding settings e.g. --setting <NAME>=<VALUE>
Alternative names include --settings, --override-setting, --override-config, --set-config, --configure, --override, --option, --options

Ruff already uses --config <CONFIG> to provide a path to a configuration file.
Cargo uses --config for both overriding options and providing the path to a configuration file.

A CLI option with JSON support
A  CLI option for overriding settings in bulk e.g. --settings {...}
This has been requested for programmatic use of Ruff previously e.g. you can use jq to pass a configuration file in bulk. However, this is not a very user-friendly approach for most use cases.
Dedicated CLI options
A dedicated CLI option generated for each setting e.g. --set-<name> VALUE.
We would probably omit enumerating these in the help menus and document the pattern instead. We could omit the set- prefix but then we need to worry about collisions between configuration options and existing CLI flags. Additionally, this option does not work well with the <section>.<name> syntax used in our configuration.

For what it's worth, I think that --config NAME=VALUE matching Cargo's design is reasonable.

Loved these proposals, here are examples and cons of each:
Environment variables
RUFF_FORMAT_LINE_LENGTH=120 ruff format .

cons:

All words capitalized and - replaced by _
Problem with <section>.<name> settings
Long, less user friendly because they may be varied by different shells/OSs.

A repeatable CLI option with key value pairs (e.g. --config)
ruff format . --config line-length=120

cons:

it's long and it may not preferable where e.g. --line-length already available to choose.

A CLI option with JSON support (e.g. --config)
ruff format . --config {"line-length":120}
ruff format . --config eyJsaW5lLWxlbmd0aCI6MTIwfQ==

cons:

it's not clear it should merge with already loaded settings or reset it.
it's not clear what should happen when using it multiple times.

Dedicated CLI options (without any prefixes)
ruff format . --line-length=120

cons:

Collisions with existing CLI flags
Problem with <section>.<name> settings


FileCollisionError: Two or more packages are trying to provide the same file with different contents

uv add live-progress
then nix build
❯ nix build
error: builder for '/nix/store/b3zn0jk61xlcp901yy75xhlrqb1nwiaz-default-venv.drv' failed with exit code 1;
       last 20 log lines:
       > Sourcing pyproject-make-venv-hook
       > Using pyprojectMakeVenv
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: installPhase
       > Executing pyprojectMakeVenv
       > Traceback (most recent call last):
       >   File "/nix/store/i8mhn4rh752br27d4ydsh6gkhn46p903-make_venv.py", line 277, in <module>
       >     main()
       >     ~~~~^^
       >   File "/nix/store/i8mhn4rh752br27d4ydsh6gkhn46p903-make_venv.py", line 270, in main
       >     merged = merge_inputs([out_root, *dependencies])
       >   File "/nix/store/i8mhn4rh752br27d4ydsh6gkhn46p903-make_venv.py", line 103, in merge_inputs
       >     return {k: merge_inputs(v) for k, v in entries.items()}
       >                ~~~~~~~~~~~~^^^
       >   File "/nix/store/i8mhn4rh752br27d4ydsh6gkhn46p903-make_venv.py", line 107, in merge_inputs
       >     raise FileCollisionError(inputs)
       > FileCollisionError: Two or more packages are trying to provide the same file with different contents
       >
       >         Files: /nix/store/76fd84qmzg7n9w5yif61cmv5rr80i686-alive-progress-3.2.0/LICENSE /nix/store/r4hn0hx1bjdrshik3cw9f6h33vwk7iii-about-time-4.2.1/LICENSE
       For full logs, run 'nix log /nix/store/b3zn0jk61xlcp901yy75xhlrqb1nwiaz-default-venv.drv'.

please help me take a look at how this issue can be fixed?

This is caused by upstream packaging bugs in alive-progress & about-time.
I've created an issue https://github.com/pyproject-nix/pyproject.nix/issues/220 that explains the background, how to work around it, and solutions that should be implemented in pyproject.nix's venv creation.


[WIP] Parse datetime on dynamic dictionary value the same as model biding

Prerequisites

[x] I have written a descriptive pull-request title
[x] I have verified that there are no overlapping pull-requests open
[x] I have verified that I am following the Nancy code style guidelines
[ ] I have provided test coverage for my change (where applicable)

Description
This is dependent on #2438 being merged.
Addresses #2426 & #2427

Does it seem weird passing JsonConfiguration when parsing a QueryString value?

This should be closed on favour of #2454 ?


Improve IT8 detection

Mental note (stumbled upon this when googling ;) for when going back to IT8 detection (working on that) again:
What about splitting the image part (not the scale) in left and right and use http://stackoverflow.com/questions/11541154/checking-images-for-similarity-with-opencv to compare?

This would be for stereo card detection rather than IT8 Strip detection right ?

Yes, sorry - I was having to wrong thing in mind! Adopted the caption.
Can we use the color bar/scale detection (see https://github.com/pywikibot-catfiles/file-metadata/issues/62) for the stereo cards in the https://commons.wikimedia.org/wiki/Category:NYPL_stereoscopic_views set also?

The IT8 detection and Stereo cards are independent - IT8 can be for things that are not stereo cards, and stereo cards need not always have IT8 strips.
So, yeah both Stereo card detection and IT8 Detection would be applicable for NYPL_stereoscopic_views


Add migration.yml file to run product migration automation tests

This PR intends to add the migration.yml file in order to run migration automation tests among different IS versions with different database and OS combinations.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Support UBI-based image

In order to make it work better for OpenShift, we should support UBI-based images for both controller and runner.

Does it require any code changes or it can be simply documented how to build and change images for the controller and runners (I think we have docs about that), and just create an extra docs page on "How to use UBI based images" with an example workflow from build to use (yaml examples), and a disclaimer "if you build the image, your responsibility to keep it up to date".
Or do we want "official" UBI based images?


Add generated BuildConfig class containing version info instead of using a resource file

@optimizely/fullstack-devs

LGTM


Reduce redundancy in JSON/YAML step config for model type

Consider the YAML here:
https://serving.oss.konduit.ai/examples/python/tensorflow-model-serving/tf-mnist
steps:
  tensorflow_step:
    type: TENSORFLOW

This is redundant - why do I need to specify the type if I've already specified tensorflow_step?
Same thing here:
https://serving.oss.konduit.ai/examples/python/dl4j
steps:
  dl4j_mln_step:
    type: MULTI_LAYER_NETWORK

Hmm, one way to solve this is to have a list of objects instead of a dictionary for steps.

@ShamsUlAzeem Looking at your PR, I'm thinking maybe there was a misunderstanding on my part as to the format
I understood the format to be:
steps:
  <step_type_name>:
    type: <step_type_enum>
	...

where <step_type_name> actually corresponded to exactly one thing for DL4J, exactly one thing for TF, etc.
Hence specifying both <step_type_name> and <step_type_enum> being redundant as they would always have to align.
Whereas now, looking at ServingConfig.json again (which has List and hence no way to actually load/store the <step_type_name> part), I understand the <step_type_name> part to be an arbitrary user-defined name, that has no specific meaning beyond being a label for the user?
Is that correct?

@AlexDBlack Yeah that was only supposed to be a label for the step. We weren't really storing it anywhere internally. The actual data that was important was the type enum.
Is it important that we allow the user to put labels for the steps inside the config even though it's not used internally? Also, I wasn't sure if the steps dictionary was read in order while being read from the yaml or json config file so, by doing that the steps order could change without us knowing. So, having a list might be a better option here.
For labelling the steps the users might wanna add comments of their own.

Btw we can use the previous dictionary format as well here.

OK, so it's a user label only (not used).
I kind of do like the idea of having user defined labels (that we actually use), for a few reasons:

We can leverage them for improved UX (error messages, profiling, logging, etc)
Down the line, we'll want the ability to graph-style pipelines - i.e., multiple branches (input->X, input->Y, (X,Y)->Z)

But even so, that doesn't need to be as a wrapper object.
Thinking about this, one option I like here is to use a "wrapper object" style (like what I thought it originally was):
steps:
  ModelStep:
    step_name: "my model step"
    model_loading_path: ../data/myModel.pb
    ....
  PythonStep:
    step_name: "my postprocessing step"
    ...

i.e., where "ModelStep" and "PythonStep" are one of a set of predefined names that identify the type - {ModelStep, PmmlStep, PythonStep, TransformProcessStep, ...}.
We should be able to do that with Java/Jackson using "subtypes encoded as wrapper object" functionality.
I think that would be clearer for users while allowing a fairly straightforward extension to graph style pipelines later.
I'm also thinking we should flatten the configuration heirarchy a bit to make it easier for users to use.
At present, at least in Java, we have ModelStep, which has a ModelConfig, which in turn has a ModelConfigType. That's 3 layers deep.
Why not flatten all of that into a
i.e., instead of this:
.step(ModelStep.builder().modelConfig(DL4JConfig.builder().modelConfigType(ModelConfigType.computationGraph("/my/model/path.bin")).build()).build())

do this:
.step(DL4JStep.builder().path("/my/model/path.bin").build())

I'm also kind of confused about the difference between the YAML I see in the docs and the YAML I see generated from Java.
For example this:
InferenceConfiguration conf = InferenceConfiguration.builder()
 .step(ModelStep.builder().modelConfig(DL4JConfig.builder().modelConfigType(ModelConfigType.computationGraph("/my/model/path.bin")).build()).build())
.servingConfig(ServingConfig.builder().httpPort(12345).logTimings(true).build())
.build();

Produces this:
---
servingConfig:
  ... [ommitted for brevity]
steps:
- !<ModelStep>
  inputColumnNames: {}
  inputNames: []
  inputSchemas: {}
  modelConfig: !<DL4JConfig>
    modelConfigType:
      modelLoadingPath: "/my/model/path.bin"
      modelType: "COMPUTATION_GRAPH"
  outputColumnNames: {}
  outputNames: []
  outputSchemas: {}
  parallelInferenceConfig:
    batchLimit: 32
    inferenceMode: "BATCHED"
    maxTrainEpochs: 1
    queueLimit: 64
    workers: 1

Which is very different to this: https://serving.oss.konduit.ai/examples/python/dl4j (under "Configure the step")
steps:
  dl4j_mln_step:
    type: MULTI_LAYER_NETWORK
    model_loading_path: ../data/multilayernetwork/SimpleCNN.zip
    input_names:
    - image_array
    output_names:
    - output
    input_data_types:
      image_array: FLOAT
    parallel_inference_config:
      workers: 1

@ShamsUlAzeem are the Java and Python YAML representations even compatible at this point?
I think that's something need tests for - Java -> Python -> Java -> Python - and ensure the same at each point


Support 5.1.3?

Hi there
Just curious if there was anu chance of this plugin being updated to 5.1.3?
Appreciate it
Take care
Andrew

is planned, see https://github.com/survanetwork/Worlds/issues/112#issuecomment-1623771497 for details


public-vm(ts): Implement transaction state getter opcodes

#Overview
Part of general implementation (and testing) of all of the VM instructions.
### Tasks
- [x] Chain ID
- [x] Block number
- [x] Timestamp
- [ ] Coinbase
- [ ] BlockL1GasLimit
- [ ] BlockL2GasLimit
- [ ] Refundee
- [x] Origin
- [x] Fee per L1 gas
- [x] Fee per L2 gas
- [x] Caller
- [x] Address
- [x] Portal
- [x] Calldepth
- [x] Version

After sprint planning with david, we decided to break this into smaller subtickets that are not fully required.
Coinbase requires some work to be integrated with the global variables within kernel circuits / smart contract.
Block Gas limit opcodes may be put on hold as they do not appear to be super useful

As new tickets exist to track the unknowns, this can be closed as completed with #4203


Delete Until operator

Place cursor on line (cursor is on the first /)
_ = require '**/**usr/share/atom/resources/app/node_modules/underscore-plus'

Keydown 'dtu'

EDIT: The probleme here is that the dtu command considers that the u is next, so there is nothing to delete. Which is false, because it should normally delete at least the /.
Atom Version: 0.188.0
System: linux 3.16-3-amd64
Thrown From: vim-mode package, v0.43.0
Stack Trace
Uncaught NotFoundError: Failed to execute 'remove' on 'Element': The node to be removed is no longer a child of this node. Perhaps it was moved in a 'blur' event handler?
At /home/romgrk/.atom/packages/vim-mode/lib/view-models/view-model.coffee:8

Error: Failed to execute 'remove' on 'Element': The node to be removed is no longer a child of this node. Perhaps it was moved in a 'blur' event handler?
  at Error (native)
  at /home/romgrk/.atom/packages/vim-mode/lib/view-models/view-model.coffee:8:43
  at Emitter.module.exports.Emitter.emit (/home/romgrk/.atom/packages/vim-mode/node_modules/event-kit/lib/emitter.js:71:11)
  at VimState.module.exports.VimState.pushOperations (/home/romgrk/.atom/packages/vim-mode/lib/vim-state.coffee:209:18)
  at atom-text-editor.commands.(anonymous function) (/home/romgrk/.atom/packages/vim-mode/lib/vim-state.coffee:192:45)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app/src/command-registry.js:242:29)
  at /usr/share/atom/resources/app/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:558:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app/node_modules/atom-keymap/lib/keymap-manager.js:396:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/usr/share/atom/resources/app/src/window-event-handler.js:180:20)

Commands
  2x -0:05.2 window:toggle-full-screen (atom-text-editor.editor.vim-mode.is-focused.command-mode)
     -0:02.9 vim-mode:delete (atom-text-editor.editor.vim-mode.is-focused.command-mode)
     -0:02.4 vim-mode:till (atom-text-editor.editor.vim-mode.is-focused.command-mode)
  2x -0:02.1 blur (atom-text-editor.editor.mini.is-focused)
     -0:01.5 vim-mode:delete (atom-text-editor.editor.vim-mode.is-focused.command-mode)
     -0:01.2 vim-mode:replace (atom-text-editor.editor.vim-mode.is-focused.command-mode)
  3x -0:01.1 blur (atom-text-editor.editor.vim-mode.is-focused.command-mode)
     -0:00.4 vim-mode:undo (atom-text-editor.editor.vim-mode.is-focused.command-mode)

Config
{
  "core": {
    "themes": [
      "one-dark-ui",
      "jellybeans-syntax"
    ],
    "autoHideMenuBar": true,
    "disabledPackages": [
      "symbols-view"
    ]
  }
}

Installed Packages
# User
atom-ctags, v2.6.1
autocomplete-plus, v2.7.1
color-picker, v1.6.0
file-icons, v1.5.4
jellybeans-syntax, v0.3.0
project-manager, v1.15.5
vim-mode, v0.43.0
vim-surround, v0.5.0

# Dev
No dev packages

#623


Audit Java frameworks for warnings in the test verifications

[x] play1 - not returning array of objects for multiple queries. Not limiting result to 500 records. Also bump play to the last release in 1.5.x: https://downloads.typesafe.com/play/1.5.2/play-1.5.2.zip (4685 in the parent repository);

[ ] ninja-standalone - problem with returning the date header string formatted twice. Created a bug report in their source code repository (number 656);

[ ] gemini - warning about one byte more than need for plaintext - I've tried to track it down but it requires deep dive in the object hierarchy. Giving up.

I'll crate separate issue to track ninja-standalone.


Added tools/slo-rules-generator

Adding tool to generate SLO recording rules with metadata for domains.
The original motivation was adding a new recording rule - slo:burn_rate_threshold in addition to already existing slo:stable_version and slo:violation_ratio_threshold. Introduction of SLO domain configuration lets us to automatically generate the metrics mentioned above and allows us further modify burn_rate alerts on per-domain basis.
*In future we will probably be generating custom burn-rate alerts for each domain,class,type instead of customizing the alerts via recording rules, but we are not there yet and this PR basically just sync our current internal state of tooling to github :) *

Also, I'd consider mentioning it in the CHANGELOG marked as experimental just to let people know what direction we are heading

Thanks for the review @FUSAKLA, I'm merging it in order to move this forward.
I agree that remaining comments should be addressed, however leaving them to a future refactor.


parse_requirements fails on requirements.txt files with multiple line continuations.

pip files with hashes, as generated by for instance the pip-compile command in pip-tools, are currently not parseable by parse_requirements in pkg_resources/__init__.py. It looks like the issue is multiple line continuations, as for instance here:
certifi==2020.6.20 \
    --hash=sha256:5930595817496dd21bb8dc35dad090f1c2cd0adfaf21204bf6732ca5d8ee34d3 \
    --hash=sha256:8fc0819f1f30ba15bdb34cceffb9ef04d99f420f68eb75d901e9560b8749fc41 \
    # via sentry-sdk

I think this:
https://github.com/pypa/setuptools/blob/master/pkg_resources/__init__.py#L3074
should be
while line.endswith('\\'):
    ...

rather than if.
I may have missed some subtle reason why this is not already the case, but it solved the issue I was running into locally where python setup.py [any command] was failing because I had a requirements.txt with hashes generated by pip-tools. (I think it's a fairly unusual edge case because we also use pbr, which I think is what's triggering the parsing of the requirements to happen when calling setup.py).
I'd like to get a reading on how likely a patch is to be accepted before I write up the PR and tests, but I'd be happy to do so.
If it's not something that's likely to get in, I'll probably dump pbr as a dependency instead.

I'd like to get a reading on how likely a patch is to be accepted

Thanks for the offer and taking the time to get an early read... and your caution is warranted.
Although historically, this project and much of the Python packaging tools would develop de-facto standards, often in isolation from the other tools, these days we're aiming to avoid the pitfalls that creates.
What that means for a problem like the one you've described is that rather than accept the output of pip-compile as correct, we'd instead want to develop and drive to acceptance a standard for requirements files on which all tools can rely.
In the case of parse_requirements, PEP 440 seems to be the closest specification we have, and in my brief scan of it, it doesn't appear to address a format with line continuations.
If we can find some reference that line continuations are a supported format, then by all means Setuptools should support it. If such a reference doesn't exist, then we have a bigger barrier ahead, which is to create that standard.
A change of this magnitude may not require a PEP (a documented reference is sufficient) or it may require a PEP or modification to one.
@pradyunsg Do you know who owns the requirements.txt format spec and are you aware of any documentation that specifies the syntax?

Nope, there isn't really a spec for it. It's purely implementation defined.
There have been some efforts toward designing a "requirements 2.0" that'll make things nicer on that front -- but that's not happened yet.

That's what I thought might be the case, since nothing related to packaging is ever simple. ;) I've solved my immediate problem, but I could argue that since a single line continuation is accepted, but not a double one, it feels more like an oversight, rather than a conscious decision not to allow continuations, but I definitely do understand it's best to be very cautions in making any changes in something so central.

According to pip's requirements file format:
A line ending in an unescaped \ is treated as a line continuation and the newline following it is effectively ignored.
It is useful in Hash-Checking Mode.
Is it enough to accept a patch for parsing multiple line continuations in requirements?

Encountered this same issue.
If/until this issue is ever addressed, setuputils should handle Exception, from the error message from vendored pyproject_hook package, gracefully. Something like,
To pip-tool/pip-compile users, generate_hashes was supported and now isn't as of setuptools 69.0.x. Set generate_hashes to false then try again
pyproject.toml can be successfully parse,
validate-pyproject pyproject.toml
While build fails, often swallowing the Exception. Since it's running the backend in a subprocess, the Exception isn't propagated.
python -m build
Save the Exception
Hacked a hack so as to log the Exception. Here is the original. Again this is a hack to diagnose the issue, otherwise the log file would be written to a sane location.
pyproject_hooks/_in_process.py
def main():
    if len(sys.argv) < 3:
        sys.exit("Needs args: hook_name, control_dir")
    hook_name = sys.argv[1]
    control_dir = sys.argv[2]
    if hook_name not in HOOK_NAMES:
        sys.exit("Unknown hook: %s" % hook_name)
    hook = globals()[hook_name]

    hook_input = read_json(pjoin(control_dir, 'input.json'))

    json_out = {'unsupported': False, 'return_val': None}

    # begin: added
    import io
    from pathlib import Path
    path_log_file = Path(__file__).parent / "log.txt"

    with io.StringIO() as f_out:
        try:
            json_out['return_val'] = hook(**hook_input['kwargs'])
        except Exception as e:
            is_except = True
            f_out.write(f"Exception: {e}\n")
            import traceback
            traceback.print_tb(e.__traceback__, file=f_out)
            path_log_file.write_text(f_out.getvalue())
        else:
            is_except = False

    if is_except:
        # end: added
        try:
            json_out['return_val'] = hook(**hook_input['kwargs'])
        except BackendUnavailable as e:
            json_out['no_backend'] = True
            json_out['traceback'] = e.traceback
        except BackendInvalid as e:
            json_out['backend_invalid'] = True
            json_out['backend_error'] = e.message
        except GotUnsupportedOperation as e:
            json_out['unsupported'] = True
            json_out['traceback'] = e.traceback
        except HookMissing as e:
            json_out['hook_missing'] = True
            json_out['missing_hook_name'] = e.hook_name or hook_name
    else:  # pragma: no cover
        pass

    write_json(json_out, pjoin(control_dir, 'output.json'), indent=2)

Turn off the hashes and regenerating requirements.txt and requirements-[group].txt then python -m build works. Then revert pyproject_hooks/_in_process.py removing the hack.
[tool.pip-tools]
no_header = true
resolver = "backtracking"
no_allow_unsafe = true
generate_hashes = false  # <-- Set to false


sync with master

Current coverage is 100% (diff: 100%)

Merging #597 into v22.3.2 will not change coverage

@@           v22.3.2   #597   diff @@
=====================================
  Files           29     29
  Lines          439    439
  Methods        111    111
  Messages         0      0
  Branches         0      0
=====================================
  Hits           439    439
  Misses           0      0
  Partials         0      0

Powered by Codecov. Last update d318bdc...92923a9


Is there a way to add tooltips to Parallel Coordinates?

Do I just port over the relevant hint code in this file: https://github.com/uber/react-vis/blob/master/showcase/axes/dynamic-hints.js
to my Parallel Coordinates component?

That sounds right? I'm going to be taking a look at parallel coordinates sometime this week i think (once my brushing pr lands) and I can add a demo of that functionality.

Looking at the code a little more carefully I'm less sure of my initial answer, as the parallel coordinates doesn't really support mouse interaction. That said, I'm not really sure how exactly that interaction would work? Do you have an example from the internet?


fix: Teleport bridge is showing incorrect balances

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] Closes #6433
[ ] Requires deployment <snek/rubick/worker>

Did your issue had any of the "$" label on it?

[x] Fill up your DOT address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI;
/rmrk/teleport

Copilot Summary

🤖 Generated by Copilot at 219f99a
Improved KSM balance display in Teleport.vue component. Used nativeBalance for cross-chain compatibility and simplified balance calculation.

🤖 Generated by Copilot at 219f99a

To show KSM balance with ease
We updated chainBalances keys
We used nativeBalance
And simplified balance
To make it consistent across chains, please

Welcome!
i was not able to reproduce the error, but seems to be working fine for me.
@helloitsdamsky could you check using https://deploy-preview-6446--koda-canary.netlify.app and tell us if it is fixed for you?

Pinged Damsky through DM

Welcome! i was not able to reproduce the error, but seems to be working fine for me. tried multiple accounts, two different wallets, 2 browsers
@helloitsdamsky could you check using https://deploy-preview-6446--koda-canary.netlify.app and tell us if it is fixed for you?

everything seems fine!

everything seems fine! Only.. in one instance we are using , and in other instance we are using .

That's more how component handles it vs how we handle displaying currencies

pay 20 usd

😍 Perfect, I’ve sent the payout
💵 $20 @ 5.48 USD/DOT ~ 3.65 $DOT
🧗 16faLfsywwNATaEfbH2ah75dn6ZmctQWpMS5G4KFhbmj5hnD
🔗 0x934a36ff6370e02e19ac2edbc188af29ed0c1ccf0f71d222d8516a8dd04f6ec1
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Update access panel browser support

Added Edge on list of browsers supported by access panel extension.

@jaszperez,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@jaszperez : Thanks for your contribution to the Azure documentation! The author, @MarkusVi, has been notified to review your proposed change.

#sign-off


Help my code won't run

I have checked my csv file and it has been read before why do I keep getting this error.
File /Applications/Spyder.app/Contents/Resources/lib/python3.9/spyder_kernels/py3compat.py:356 in compat_exec
exec(code, globals, locals)
File ~/Documents/FYP File/FYP Data Python/Anomaly Detection .py:4
from scipy.spatial.distance import cdist
File /Applications/Spyder.app/Contents/Resources/lib/python3.9/scipy/init.py:67
from scipy._lib import _pep440
File /Applications/Spyder.app/Contents/Resources/lib/python3.9/scipy/_lib/init.py:12
from scipy._lib._testutils import PytestTester
File /Applications/Spyder.app/Contents/Resources/lib/python3.9/scipy/_lib/_testutils.py:21
_tags = list(sys_tags())
File packaging/tags.pyc:561 in sys_tags
File packaging/tags.pyc:227 in cpython_tags
File packaging/tags.pyc:418 in mac_platforms
File subprocess.pyc:528 in run
CalledProcessError: Command '['/Applications/Spyder.app/Contents/MacOS/python', '-sS', '-c', 'import platform; print(platform.mac_ver()[0])']' returned non-zero exit status 1.
Could not find platform independent libraries
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to [:<exec_prefix>]
Python path configuration:
PYTHONHOME = (not set)
PYTHONPATH = (not set)
program name = '/Applications/Spyder.app/Contents/MacOS/python'
isolated = 0
environment = 1
user site = 0
import site = 0
sys._base_executable = '/Applications/Spyder.app/Contents/MacOS/python'
sys.base_prefix = '/Users/runner/hostedtoolcache/Python/3.9.14/x64'
sys.base_exec_prefix = '/Users/runner/hostedtoolcache/Python/3.9.14/x64'
sys.platlibdir = 'lib'
sys.executable = '/Applications/Spyder.app/Contents/MacOS/python'
sys.prefix = '/Users/runner/hostedtoolcache/Python/3.9.14/x64'
sys.exec_prefix = '/Users/runner/hostedtoolcache/Python/3.9.14/x64'
sys.path = [
'/Users/runner/hostedtoolcache/Python/3.9.14/x64/lib/python39.zip',
'/Users/runner/hostedtoolcache/Python/3.9.14/x64/lib/python3.9',
'/Users/runner/hostedtoolcache/Python/3.9.14/x64/lib/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00007ff8584f4340 (most recent call first):

Hey @beatriceSin, thanks for reporting. I have a couple of questions for you:

Do you have an M1 or Intel Mac?
Did you use the right Spyder installer for your architecture?

hello sorry for the late response my issue has been resolved, it was because i did not have spyder on my conda enivronment thank you

Ok, thanks for letting us know about it. And glad to know you're able to use Spyder without issues again.


Create new Release for K8s Patch releases

What would you like to be added:
I'd kindly like to ask for a new release including the latest k8s patch releases
Why is this needed:
To satisfy the update god

New patch versions are available:

https://github.com/gardener/hyperkube/releases/tag/v1.22.4
https://github.com/gardener/hyperkube/releases/tag/v1.21.7
https://github.com/gardener/hyperkube/releases/tag/v1.20.13

/close