Material: display input length as hint

I'm submitting a ...  (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[X] feature request
[X] support request

Current behavior
Indication about input length does not exist
Expected behavior
Usually, when we specify a maxLength for an input, we display the length and the maxLength as a hint below the input:
<form class="example-form">

  <mat-form-field class="example-full-width">
    <input matInput #message maxlength="256" placeholder="Message">
    <mat-hint align="start">Don't disclose personal info </mat-hint>
    <mat-hint align="end">{{message.value.length}} / 256</mat-hint>
  </mat-form-field>

</form>

Is it working with your material implemention of the input ?

right now the material implementation is very light we planned to provide more functionalities once material2 solve some several issues see my comment https://github.com/formly-js/ng-formly/issues/335#issuecomment-338225216 for more details.
In the meantime you can create you own input type.

Ok, thx for your answer !
I'll create my own component so

Good afternoon,
do you have any example on how to create such a custom field or wrapper ?
thanks in advance
Arnaud

here is a simple example for displaying input length as hint: https://stackblitz.com/edit/angular-bvfka4

and for custom wrapper, you may check the doc https://ngx-formly.github.io/ngx-formly/guide/custom-formly-wrapper

Hi Abdellatif,
many thanks for your (very) fast answer. I was looking for a hint aligned on left side. this is for displaying units (€,$, m²,...) do you have any advice on it ?
To present myself, i'm 43 years old guy, with 30 years of IT know-how and 21 years of actual "professional" IT experience, mainly in Java/C#.
I'm always looking for new things so I started to use Angular 3 years ago and I'm very keen of using existing good frameworks (like Formly is). I must admit I'm still a beginner in deep details of Ng components/packages but i'll be pleased to help in any way
Kind regards
Arnaud

De : Abdellatif Ait boudad<EMAIL_ADDRESS>Envoyé : jeudi 25 avril 2019 19:57
À : ngx-formly/ngx-formly
Cc : arnaudval; Comment
Objet : Re: [ngx-formly/ngx-formly] Material: display input length as hint (#556)
here is a simple example for displaying input length as hint: https://stackblitz.com/edit/angular-bvfka4
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/ngx-formly/ngx-formly/issues/556#issuecomment-486775561, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AL5M7DXO33O57DYHXX47IRTPSHWHBANCNFSM4ECYRFGQ.

aligned on right side, sorry

De : arnaud vallette<EMAIL_ADDRESS>Envoyé : jeudi 25 avril 2019 22:11
À : ngx-formly/ngx-formly
Objet : RE: [ngx-formly/ngx-formly] Material: display input length as hint (#556)
Hi Abdellatif,
many thanks for your (very) fast answer. I was looking for a hint aligned on left side. this is for displaying units (€,$, m²,...) do you have any advice on it ?
To present myself, i'm 43 years old guy, with 30 years of IT know-how and 21 years of actual "professional" IT experience, mainly in Java/C#.
I'm always looking for new things so I started to use Angular 3 years ago and I'm very keen of using existing good frameworks (like Formly is). I must admit I'm still a beginner in deep details of Ng components/packages but i'll be pleased to help in any way
Kind regards
Arnaud

De : Abdellatif Ait boudad<EMAIL_ADDRESS>Envoyé : jeudi 25 avril 2019 19:57
À : ngx-formly/ngx-formly
Cc : arnaudval; Comment
Objet : Re: [ngx-formly/ngx-formly] Material: display input length as hint (#556)
here is a simple example for displaying input length as hint: https://stackblitz.com/edit/angular-bvfka4
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/ngx-formly/ngx-formly/issues/556#issuecomment-486775561, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AL5M7DXO33O57DYHXX47IRTPSHWHBANCNFSM4ECYRFGQ.

To present myself, i'm 43 years old guy, with 30 years of IT know-how and 21 years of actual "professional" IT experience, mainly in Java/C#.

Welcome to the new world :smiley:

I was looking for a hint aligned on left side. this is for displaying units (€,$, m²,...) do you have any advice on it ?

:thinking: I think you're looking for https://ngx-formly.github.io/ngx-formly/examples/other/material-prefix-suffix


Bug - in create Itens

bugs in start-up (on create new itens whit AE)

Thanks for the notice. Just creating an item throws this error. It is a simple fix and will be rolled into the next release. It should not impact anything negatively (other than the annoying error), but let me know if it does and I will escalate a fix.
Noting this for later
line 718 should read:
if (game.settings.get('dnd5e-helpers', 'autoProf') && (item.parent?.data.type === "character")) {

Auto proficiency has been removed in v3 as it will be integrated into core soon(ish)


Adding Struct Deletion Using the del Keyword

This adds functionality to the ArtifactDict of Structs that allows us to do something like del deci.structs['struct_name'] and have the respective decompiler remove the struct supplied as well as call the struct_changed callback with deleted=True. Also the skeleton for similar functionality of other Artifacts is added to the DecompilerInterface to be implemented whenever.

@mahaloz So this PR adds new features but they are added for a bug fix, so would I increment the libbs version to 1.10.2 or 1.9.3. I was thinking 1.10.2 because its a new feature for libbs, but its being used to patch a bug in binsync, so i think it would be update the minor version for libbs but the patch number on binsync

Also I can try to add struct del for binja but I couldn't really test it


Standard config to disable impersonation app-wide

Certain apps might not wish to support Hoist's standard mechanism for impersonation. It might not be desirable or make sense from a business perspective, or the JS client might be directly calling and authenticating to remote APIs which do not support impersonation, making the Hoist-level impersonation misleading/incorrect.
We could turn off impersonation in these cases to avoid confusion. A likely option is a new xhEnableImpersonation config - added in hoist-core Bootstrap and referenced on both server and client.
It's possible a config might seem too lightweight (i.e. it could be turned on/off), and maybe we really want to have a hard in-code switch. But I would propose the config to start unless we thought this was a real concern.

I think this is a good idea.  Could imagine leaving this off by default, and generally having it live in an off state in production environments.

Agree on having the client-side impersonation method just return quietly with a console warning if disabled.
Happy if we get this done - it's not a big one but provides a nice extra level of control over impersonation and communicates how seriously we take it. 👍


Openxr Error Message

Windows 10
ASUS 3080 ti
Ryzen 9 5900
HP Reverb G2
I have run Asseto Corsa Competizione successfully in OpenXR after setting up and tweaking with Open XR toolkit. Suddenly today it has fatal error and I get the attached error message. I also attach log file. Works fine if I switch back to Steamvr. OpenXR still works ok for Automobilista 2
Solution would be greatly appreciated.
Thanks
Martin
Screenshots
If applicable, add screenshots to help explain your problem. Use the Companion app to enable screenshots, then use Ctrl+F12 to capture. The file is placed in %LocalAppData%\OpenXR-Toolkit\screenshots.

XR_APILAYER_NOVENDOR_toolkit.log

Somebody mentioned on the OpenComposite Discord that this issue is due to the latest OpenXR for WMR update, and for now can be avoided by turning off use of the Preview runtime in the OpenXR Tools for WMR.

Brilliant many thanks, that fix worked
B Regards
Martin
Martin Bailey
+44 7879 605018
Sent from my iPhone

On 3 Sep 2022, at 21:21, Matthieu Bucchianeri @.***> wrote:

Somebody mentioned on the OpenComposite Discord that this issue is due to the latest OpenXR for WMR update, and for now can be avoided by turning off use of the Preview runtime in the OpenXR Tools for WMR.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.


UNMET PEER DEPENDENCY<EMAIL_ADDRESS>

Subj.
<EMAIL_ADDRESS>installed but npm did not trust me

should be fixed in 0.0.9, thanks to @19majkel94


tests: net: Fix misspelled CONFIG_DNS_NUM_CONCUR_QUERIES assignments

CONFIG_DNS_NUM_OF_CONCUR_QUERIES doesn't exist.
Signed-off-by: Ulf Magnusson<EMAIL_ADDRESS>

Codecov Report

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

@@           Coverage Diff           @@
##           master    #7790   +/-   ##
=======================================
  Coverage   55.01%   55.01%
=======================================
  Files         483      483
  Lines       53946    53946
  Branches    10493    10493
=======================================
  Hits        29678    29678
  Misses      19982    19982
  Partials     4286     4286

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 fcc56e3...3736cf9. Read the comment docs.


Node Package?

What about upload it to npm?
for install it with: npm install sda-terminal or something?
another improvment would be better docs for building custom themes and more...

Great idea

v1.0.3 has been published to npm


Different mouse icon for - Offline mode icon

There is a different type of mouse icon for Offline mode icon and for example for Zen Mode icon. When the user is trying to click on ZEN MODE icon the mouse icon is in shape of a hand with a finger pointing on the Zen Mode icon and its the same for all click-able buttons in whatsapp enviroment . But for Offline Mode the mouse icon is not a hand but a basic arrow icon. This should be changed to the hand mouse icon so we have the same mouse icon for all click-able areas.

@liatzionimorad
estimate 10-15 minutes

@CptFatBu11et  approved

Tested, Everything is working fine.


Appstudio update mvp-test-component

Pipelines as Code configuration proposal

Pipelines as Code CI/mvp-test-component-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
15 seconds
init

✅ Succeeded
16 seconds
clone-repository

✅ Succeeded
2 minutes
build-container

✅ Succeeded
22 seconds
deprecated-base-image-check

✅ Succeeded
22 seconds
sanity-inspect-image

✅ Succeeded
17 seconds
sbom-json-check

✅ Succeeded
35 seconds
clair-scan

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
8 seconds
sanity-label-check

✅ Succeeded
7 seconds
sanity-optional-label-check

✅ Succeeded
7 seconds
show-summary


Uncaught TypeError: editor.destroyEditor is not a function

In https://github.com/pydanny/django-wysiwyg/blob/fc20980dbdb94d6b5e6a3098b112a46406265b8d/django_wysiwyg/templates/django_wysiwyg/redactor/includes.html#L36
I am getting this error: editor.destroyEditor is not a function
Changing that line to editor.remove() seems to resolve it? I am using Redactor v10.0.9
We still need to save the HTML somehow, similar to https://github.com/pydanny/django-wysiwyg/blob/master/django_wysiwyg/templates/django_wysiwyg/tinymce/includes.html#L51

From http://imperavi.com/redactor/docs/api/core/#api-destroy, editor.redactor('core.destroy') looks like the correct replacement for editor.destroyEditor().

Released as 0.7.1: https://pypi.python.org/pypi/django-wysiwyg


Handle Eigen Alignement parameter correctly depending on Eigen version

This PR fixes #10 .
It also setups the CI to test Eigen 3.2.0, 3.2.10 and 3.3.1

Sorry, but I think that we should use Aligned8 to be on the safe side.
From the python docs:

An array is considered aligned if the memory offsets for all elements and the base offset itself is a multiple of self.itemsize.

import numpy as np
A = np.asanyarray(np.random.random((2000, 50)), dtype=np.double)
A.itemsize # -> 8

Moreover, I should probably change the np.asanyarray call to a np.require to ensure that alignment is respected.


[incubator-kie-issues-1622] Drools DISCLAIMER-BINARY lists files that…

… are no longer in the source release
Issue:

https://github.com/apache/incubator-kie-issues/issues/1622

I cancelled and aborted GHA and Jenkins jobs as this certainly doesn't require build tests.


APIConnectionError

I am running this code:
from skllm.config import SKLLMConfig
SKLLMConfig.set_openai_key("my key")
SKLLMConfig.set_azure_api_base("my url")

from skllm import ZeroShotGPTClassifier
from skllm.datasets import get_classification_dataset

X, y = get_classification_dataset()

clf = ZeroShotGPTClassifier(openai_model="azure::gpt-35-turbo")
clf.fit(X, y)
labels = clf.predict(X)

And i get this error:
1%|          | 1/109 [00:27<49:23, 27.44s/it]
Could not obtain the completion after 3 retries: `APIConnectionError :: Error communicating with OpenAI: HTTPSConnectionPool(host='gen-ai-sweden.openai.azure.com', port=443): Max retries exceeded with url: //openai/deployments/gpt-35-turbo/chat/completions?api-version=2023-05-15 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000018D602595D0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))`
None
Could not extract the label from the completion: 'NoneType' object is not subscriptable

I am using openai version 0.28.0

@FlavioLaManna do you still have the same issue with the latest Scikit-LLM release ? I could not reproduce the issue.

No thanks, it was a problem with my internet connection. Changing it solved the problem


node.js module?

flow-node.js is so great, it helps me handle upload without changing one line of code. I think it should become a node module.

There are already a flow.js(https://www.npmjs.com/package/flow.js) in npm registry, but that won't be a big problem, just using another name will be OK. Now I'm using "npm install flowjs/flow.js --save" to install flow.js. But I found that the "main" in package.json should be "dist/flow.js", not "src/flow.js", because src/flow.js is development version

I am using this js in my core php project, all this are working fine I have given target path as well but after getting completed status I am finding file in target folder, can you help where I was wrong to use this js.
or any other configuration I have to do.


Speech Synthesis using nv-wavenet on jetson TX2

Is there a reference implementation of a end-to-end TTS based on nv-wavenet which can be deployed on a NVIDIA Jetson TX2 GPU to get synthesis done within a second or two? Any input to deploy a wavenet implementation to perform real time inference on a TX2 configuration would be really helpful.

A reference implementation for the Jetson Nano would also be welcome.


Synchronization gets stuck

when i want to sync my packages from gitlab or add new packages the sync gets stuck. Unfortunately I can't cancel the synchronization because there are no actions listed under "Actions". I don't have any logs either, because the packages are managed in your public instance. The last successful synchro took place about 7 days ago. Since then, I have not changed anything in my packages in terms of access.

What can I do to fix the problem ?
I know that there was a similar issue #73 but I don't host it myself, so I cant dig further into it.

I have a similar problem, I released a new update to my Composer package and Repman hasn't picked it up. I've been waiting for several hours and I've clicked on 'Rescan' and 'Update' actions in the UI.
I get the feeling that the repman website's queue system has stopped processing anything at all

We have a replay of what happened last week. #565

Same here :'(
Can't sync since 2 days and my new versions are not showing up anymore after a release.

Sorry again, disk run out of space, I increased the instance, the queue started to work just now, pleas give it some time to consume all task in queue.

It's fixed. Thanks

It's fixed. Thanks

New error now. See #568

I'm seeing this for one of my packages. Is there a backlog?

I just ran into this problem yesterday and the problem still exists today, that the package is stuck in the "Synchronizing" state.
Creating a new organisation or try a different package does not work.
@akondas might this be the same problem as you replied here on Feb 20, 2022?
Thanks for you help

As of today the syncing works again :)


On start, allow etcd backend to try reconnect if error

I have not heard any more issues related to this. Closing.


Hang on shutdown/reboot

Bug
Overview
Default Ubuntu install hangs on shutdown/reboot unless you kill uwsgi beforehand (use -11; SIGTERM seems to have no effect).
Specifications

LogESP version (in LogESP/__init__.py): 0.2-dev10
Operating system: Ubuntu
Operating system version: 16.04
Deployment info

WSGI name/version: uwsgi 2.0.17
Web server name/version: nginx 1.10.3-0ubuntu<IP_ADDRESS>

Testing branch: Make update now uses kill -1 to restart uwsgi, instead of stopping and restarting. More options added to uwsgi config. We'll see if they fix the problem.

Created systemd services to cleanly shut down logesp daemons and uwsgi. Should fix the problem, currently working out the kinks on the dev branch.


How to handle error response codes with fetch?

What are the steps to reproduce this issue?

I have a simple get endpoint. Orval generated this function:

export const getApiJobSearchJobs = async (params?: GetApiJobSearchJobsParams, options?: RequestInit): Promise<JobResponse[]> => {
  const res = await fetch(
    getGetApiJobSearchJobsUrl(params),
    {
      ...options,
      method: 'GET'

    }
  )
  console.log(res.status);

  return res.json()
}

If the user is not logged in my api throws a 401. And that is console logged.
I tried a try catch but that doesn't get triggered. How do I handle error values?

Using with svelte 4.
This is my config:
import { defineConfig } from 'orval';
import { API_URL } from './src/lib/constants';

export default defineConfig({
	doc: {
		output: {
			baseUrl: API_URL,
			mode: 'tags-split',
			target: 'src/lib/types/server/api.ts',
			schemas: 'src/lib/types/server/models',
			client: 'fetch',
			mock: false
		},
		input: {
			target: '../swagger.json'
		}
	}
});

We have no way of accepting it at the moment.
However, I'm considering expanding the response type as follows:
https://gist.github.com/anymaniax/44c1331a5643081a82da070e45f405f0#file-http-instance-ts-L68-L72

I gonna update generate code to bellow:
// add response type
export type listPetsResponse = {
  status: number;
  data: Pets;
};

export const listPets = async (
  params?: ListPetsParams,
  options?: RequestInit,
): Promise<listPetsResponse> => {
  const res = await fetch(getListPetsUrl(params), {
    ...options,
    method: 'GET',
  });
  const data = await res.json();

  return { status: res.status, data: data };
};

@melloware @taha-astera
What's do yo think?

sounds good to me.

related #1387


Update docs usage and output

cc @ehazlett
Updated usage and output where I saw fit for the 0.3.0 release.
Signed-off-by: Nathan LeClaire<EMAIL_ADDRESS>

LGTM

@moxiegirl PTAL

Merging as this is aesthetic changes and is required for release.

+1 Thanks @ehazlett


Preview

Maybe you should deploy this on Amazon and put a preview link on the description of the repo. You could use serverless architecture with Lambda. I’d recommend using aws-cdk.

It's deployed here: https://amazon-next.now.sh/

I deployed it with Zeit but some styles from the slick library are not being applied. That's why the home it's really weird right now.
I gonna fix it!

We've already experienced problems deploying Next.js apps into Now, which is weird because both are Zeit products.

I had some problems trying to import the styles of the react-slick lib from node_modules. Now the styles are set via cdn so the product list from home isn't buggy anymore.
Link for the preview: https://amazon-next.now.sh/


Bug report: Git Stash; spelling mistake of stash followed by a yes prints character 'y' infinite times.

Hi,
I am a corporate user of git. I noticed that when you switch between the branches and do a git stash ( I miss spelled it as git stahs). Git asked if i meant git stash. and i entered yes. and git printed the character y infinite times.
Below are the steps to reproduce.

create a local branch and make some code changes in the same branch.
now checkout another branch. git says Your local changes to the following files would be overwritten by checkout.
Now do git stahs ( spelling mistake )
Now git says git: 'stahs' is not a git command. See 'git --help'.
Did you mean this?

stash

Now types yes. and you will see character 'y' getting printed infinite times!.

Though this is not a major bug, I thought notifying this would be a good idea. The above mentioned issue is reproducible in Mac Yosemite in git version 2.4.5

Before opening an issue, please read the issue template next time.  Specifically:

[ ] This is not an issue about
[...]

Git itself, which should also be raised with the community, or

Just to help you:
The question was not meant to request an answer from you. It was more an help with respect to spelling mistakes. Obviously, you did not interpret as that, which could be described as (yet another) user interface bug in Git suite.
As for the "y", when you replied with "yes", in fact you invoked the command "yes" that prints "y"s on the lines and is used in pipes to autoreply questions of other commandes, e.g.
 $ yes | rm a_file

use man yes for further information.


feat(create): lint project after creation

Current dependencies on/for this PR:

main

PR #69

PR #70

PR #72
PR #71

PR #73

PR #74

PR #75

PR #76

PR #77

Current dependencies on/for this PR:

main

PR #69

PR #70

PR #72
PR #71

PR #73

PR #74

PR #75

PR #76

PR #77

@pevisscher queued this pull request to merge with Graphite.

Graphite rebased this pull request as part of a merge.

@pevisscher merged this pull request with Graphite.


FEATURE: LLM presets for model creation

Previous to this users needed to look up complicated settings
when setting up models.
This introduces and extensible preset system with Google/OpenAI/Anthropic
presets.
This will cover all the most common LLMs, we can always add more as
we go.
Additionally:

Proper support for Anthropic Claude Sonnet 3.5
Stop blurring api keys when navigating away - this made it very complex to reuse keys

thanks @martin-brennan still have a few more mins will see if I can add a system spec, worst case will add it next week.


.Net Core 2.0 Nuget packages not being restored on build server

.Net Core 2.0 Nuget packages not being restored on build server
Local Machine: Windows 7, Visual Studio 2017 Professional 15.5.6, dotnet core 2.1.4
Build Server:  Windows Server 2012 R2, msbuild <IP_ADDRESS>428, dotnet core 2.1.4, nuget <IP_ADDRESS>79
Solution with 20+ dotnet core projects and one third-party developed project on framework 4.5.2. The solution compiles fine locally, but fails on build server. Various errors on nuget packages e.g.
Running msbuild /t:rebuild gives (truncated but lots more)
Startup.cs(3,32): error CS0234: The type or namespace name 'Builder' does not exist in the namespace 'Microsoft.AspNetCore' (are you missing an assembly reference?)
Startup.cs(5,32): error CS0234: The type or namespace name 'Configuration' does not exist in the namespace 'Microsoft.Extensions' (are you missing an assembly reference?)
also
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\bin\Microsoft.Common.CrossTargeting.targets(141,3): error MSB4019: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\CommonExtensions\Microsoft\NuGet\NuGet.targets" was not found. Confirm that the path in the  declaration is correct, and that the file exists on disk.
Looked at  issue  #1006 and that helped, but still getting nuget failures, running combinations of nuget restore, dotnet build, msbuild etc, gives different errors each time, but all nuget related.
I've tried clearing caches etc. multiple times, basically trying to find root cause. other core 2.1.4 solutions all build fine and all are the same mix of web, web api and class libraries. I found Visual Studio Community edition on the build server so updated it to latest version and built the solution with that. It built successfully, but still fails at command line.
If I run Get-package in the console manager I only see the packages for the framework 4.5.2 project from a packages.config file, I see no projectreferences and the UI has the yellow warning on each one. If I do the same on the local machine, I see all the packages including the projectreferences listed (I also waited for package console to initialise before loading solution as that was a reported issue).
I compared the caches on the local and build server, there is a projectreference to \microsoft.aspnetcore.mvc 2.0.2, it is on the local machine (along with 2.0.0), but is not in the cache on the build server, it only has 2.0.0. I can't understand how it can build in VS community edition without that package in cache unless VS has another cache it accesses (assume C:\Program Files\dotnet\sdk\NuGetFallbackFolder). My next attempt will be to manually copy missing packages to the cache from local to build server, while this might allow builds to work, if the cache is cleared, the situation will occur again. Any ideas on how to resolve this would be appreciated. I'm thinking the VS Community Edition shouldn't be on the server and may be causing an issue with build tools and will uninstall it, but I'd guess they should work side-by-side.

Issue moved to dotnet/cli #8649 via ZenHub


Allow optional oauth2 access_token encryption

I'm trying to get my head around a full authentication flow with a frond-end app up to a backend api through kong using oauth2.
The way I see this is with the following:

FrontApp request login on Backend given username/password
Backend validate credentials
Backend request oauth2 token on Kong
Kong validate client id/secret and provision_key
Kong return access_token & refresh_token to Backend
Backend return raw response to FrontApp

Later:

FrontApp request some resource through Kong given access_token
Kong validate access_token and proxy request to Backend
Backend respond with resource

But that means we have to store access_token & refresh_token on front-app side right? What happens in an attacker get them using some XSS trick?
Reading this interesting post it seems that it would be more secure if we encrypt the access_token before sending it to the front-end application. Then the front-end application can request resources by sending the encrypted access_token and let Kong decrypt the token before proxy the request to the backend app.
Is that something that could be possible on Kong side? To allow encryption/decryption of the access_token & refresh_token?
Am I getting the flow right? Or am I missing something?

Hey @gottfrois I think you got it pretty close, but it's off a little.  Here's the steps as I've implemented them see them.

Client App (Bob's Bait) wants to use you (AwesomeProvider) for user authentication and authorization
Bob's Bait redirects end-user to AwesomeProvider's Authorization Page with client_id, scopes, and response_type.
End-user is not authenticated with AwesomeProvider so end-user is redirected to AwesomeProvider's Login Page and they login via normal means using username and password.
Upon successful Login end-user is redirected back to AwesomeProvider Authorization Page with previous parameters of client_id, scope, and response_type.
The end-user authorizes the use of scopes by Bob's Bait on end-user's behalf.
Upon authorization (server-side) AwesomeProvider POSTs to Kong using /oauth2/authorize with client_id, response_type=code, scope, provision_key (only for AwesomeProvider & Kong trust relationship), authenticated_user (end-user id or username).
Kong returns you the redirect_uri defined in Kong for Bob's Bait along with code=XXXX (authorization_code).
End-user is redirected to Bob's Bait using the redirect_uri and authorization_code.
Bob's Bait receives the authorization_code and contacts Kong via /oauth2/token with client_id, client_secret, grant_type=authorization_code, and code (code value from /oauth2/authorize).
On success Bob's Bait will receive a access_token, refresh_token, expires_in, and token_type.
Bob's Bait now can make a request to AwesomeProvider using the access_token to get data made available by the end-user authorization.

Now to your point and also listed in issue #1014 is instead of Kong added identity headers for AwesomeProvider's upstream api to use for identity verification use a JWT instead which signed and guaranteed immutable.

Hey @ambrons thanks for sharing. You are illustrating the implicit grant flow here right? That's great for 3rd party applications but for 1st party application (owned by us) we can freely use the password grant flow (no need to redirect the user back and forth).
Now my main issue is the access_token stored on the front-end application. Kong will generate the token and the front-end will need to store that somewhere (session, local or cookie).
I don't know how a JWT token play in that game, can you elaborate a bit on this please?

@gottfrois I'm illustrating the authorization code grant flow, not implicit.  The different there is that implicit wouldn't require the end-user to press the button, it would be assumed and upon authentication you would POST to kong's /oauth2/authorize.  Also the implicit grant doesn't use the authorization_code and instead returns the access token for immediate use.
So I guess we might be talking different things.

@gottfrois So to elaborate on JWT.  My personal taste would be to use JWT over the following headers supplied to my microservices in it's current implementation.  It concerns me that the microservice's user identity is contengent on the trust of that mutable headers added by Kong.
So the headers added by Kong for the upstream API are:

X-Consumer-ID, the ID of the Consumer on Kong
X-Consumer-Custom-ID, the custom_id of the Consumer (if set)
X-Consumer-Username, the username of the Consumer (if set)
X-Authenticated-Scope, the comma-separated list of scopes that the end user has authenticated (if available)
X-Authenticated-Userid, the logged-in user ID who has granted permission to the client

Contrast that with a (JWT)[http://jwt.io/], which is signed and therefore immutable.  You can guarantee that from the time the access_token was verified to the time the upstream service received the request that was zero tampering to the identity information.
To your point about using Password Grant assuming it's still passing through a server other than Kong you could encrypt / decrypt the access_token there.  Are you saying you are storying your access token and refresh token on the end-user browser?  If you're storing it server-side you can use anything to associate to the refresh and access tokens from the server-side.  Session, encryption, etc, etc.

@ambrons ah thanks for the clarification about JWT. I did not understand it could replace those headers. Is it something possible with current kong version yet?

Are you saying you are storying your access token and refresh token on the end-user browser?

Yes, that's what I see people doing all around the internet. I don't feel confortable with it since an XSS security breach might be enough to still those tokens.

you're storing it server-side you can use anything to associate to the refresh and access tokens from the server-side.

But that's the thing, if I want to encrypt the tokens "server-side" I need to put a server between the end-browser and kong to encrypt/decrypt the tokens. And this is the purpose of this issue, would it be possible that Kong performs encryption/decryption?

@gottfrois Sorry for the delay in response, busy, busy.

Is it something possible with current kong version yet?
Not to my knowledge.  I've considered looking at it.  I think it would be idea for the existing access_token as a by reference token, and instead of the added X- headers convert that into a by value token, IMHO a JWT.  Obviously this probably needs to be configurable.

access token and referesh token on the end-user browser.... Yes that's what I'm seeing
Yes I agree if it's going to be stored there it really should be encrypted.  I guess I've not had the issue of implementing a completely client-side application using a grant-type other than authorization_code where I wasn't able to have an intermediary encrypt the token for me.

However I wonder if the token was encrypted before being sent to the client and it's opaque, meaning the client never decrypts the access or refresh tokens, wouldn't the encrypted token in essence be the very token you're trying to protect if it happens automagically?
Meaning if I could pass the encrypted version of a token to a service via Kong and it auto-decrypts before being sent to the service protected by oauth2 tokens, how am I making it more secure then having passed the token back itself?

Yes I agree if it's going to be stored there it really should be encrypted.

Just read a very interesting blog post about JWT token client-side

Meaning if I could pass the encrypted version of a token to a service via Kong and it auto-decrypts before being sent to the service protected by oauth2 tokens, how am I making it more secure then having passed the token back itself?

Yeah I think you are right here. Whether it's the plain access_token or an encrypted version of it, stored client-side, if an attacker get its hand on the value, it does not matter whether it was encrypted or not since he just need to pass the value to the server (kong or whoever is responsible for auth).

@gottfrois Thanks for the blog post it was a good read.  From the post here's an excerpt which states that using JWT for b2b for oauth2 is fine.

They’re great for replacing OAuth solutions for communicating between services, storing authentication tokens for mobile devices, or when performing API requests. The key here is that they are stateless

I would check out this blog post on (How To Control User Identity Within Microservices)[http://nordicapis.com/how-to-control-user-identity-within-microservices/]
This talks about using by reference and by value tokens.  I think in both cases they're using JWT for their example or allude to it, however it could be something entirely different for the front end.

@gottfrois I ran across this repo the other day, which might help.  It expects you're using authorization_code grant type, but does remove the browser from knowing it ALL.
https://github.com/prose/gatekeeper

@ambrons thanks for links :)

@ambrons Are you working already on a plugin to use JWT for your micro-services. We begon last week with a header2jwt plugin in order to provide what you are about to say in your post to upstream services. For us this is a Lua - learning - track, in order to get a grip on the plugin system.

@ambrons in the end, have you implemented something similar to Nordic API link you posted above?


Small fixes (typos, comments) found running through the tutorial

Great job on the tutorial!
Here are the small typos/markdown stuff I ran against while following it (my markdown linter did most of the work).
I took some notes on what went through my mind / potential improvements, take them with a grain of salt but I hope it can be useful to make it even better:
General
The Edit on Github links don't seem to work (probably because you expect to move the tutorial inside the cosmos-sdk repo).
Start your application
"Commit if the ABCI message is DeliverTx" -> isn't this a bit misleading? DeliverTx should only be adding to the tx pool right? If DeliverTx is rejected or found invalid at block commit time bad things might happen.
 Later you introduce dep, but maybe it's worth introducing it at the start?
Codec not defined at that point so project not building, maybe it makes sense to start with the x/nameservice module and then create the app.go (because MakeCodec() isn't defined).
BuyName
Bid.IsPositive() doesn't exist anymore. I replaced by Bid.IsAllPositive()
Codec File
Maybe explain why the WhoIs struct doesn't need to be registered (because it's not included in any transaction and doesn't need canonical marshalling, it's just used in CLI RPC).
Building and running the application
This part has some redundant parts with the previous ones (about dep, building and installing).
I think they can be removed.
Conclusion
Maybe a small conclusion paragraph that lists some potentially interesting apps that can be built?
Or a list of known projects building on top of the Cosmos SDK?

Sure I'll re-configure my editor and remove the whitespace changes, it makes more sense to be in a dedicated PR of its own.

Thank you for fixing that @t-bast!


The included gcc compiler is broken

it seems that the included GCC compiler does not properly work. I tried compiling linux(skipping the bootstrapping step at first) and got this error:

After that, I tried bootstrapping the packages first, but it gave me an error right away when automake checks for a c99 compatible compiler(for which gcc returns false).
The last thing I tried was recompiling gcc itself via kiss build gcc but I also had no luck there. It returned the same internal compiler error: Illegal instruction. Do you guys run into the same problem or have any idea on how to fix this?

Yes, it's a confirmed bug, I'm trying to work on it.

Building a new chroot as we speak.

Sweet! Can't wait to try it out.

Please try 0.0.9-musl.
The easiest package to test this with is busybox so you may want to start there.

It hasn't uploaded yet. It's almost done however.

Uploaded: https://github.com/kissx/packages/releases/tag/0.0.9-musl

Just tried it again, but still doesn't seem to work. I'll provide some additional information about my setup here:
Running Alpine Linux live on bare metal
(don't think cpu specs/memory matter really)
The error is now different, the problem when building the kernel now seems to be with m4.
Here is the kernel build output:

screenshot

I tried rebuilding the m4 utility but also had no luck there:

screenshot

I also tried busybox as suggested and gave one last shot at gcc but again, same errors about illegal instructions.

Just tried with the latest build(0.0.13). Now it looks like the flex package is missing the libintl library, although the header file for libintl is available. Here are some outputs:

$ kiss build linux

/ # kiss build linux
=> Resolving dependencies...
=> Building: linux.
=> Continue?: [y/n].
y
=> Checking to see if any dependencies have already been built...
=> Installing any pre-built dependencies...
=> [linux]: Checking repository files...
=> [linux]: Downloading sources...
=> [linux]: Found cached source 'linux-5.1.16.tar.xz'.
=> [linux]: Found local file 'files/.config'.
=> [linux]: Generated/Verified checksums.
=> [linux]: Extracting sources...
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/confdata.o
  HOSTCC  scripts/kconfig/expr.o
  LEX     scripts/kconfig/lexer.lex.c
Error loading shared library libintl.so.8: No such file or directory (needed by /bin/flex)
make[2]: *** [scripts/Makefile.lib:194: scripts/kconfig/lexer.lex.c] Error 127
make[1]: *** [Makefile:552: syncconfig] Error 2
Makefile:639: include/config/auto.conf.cmd: No such file or directory
make: *** [Makefile:657: include/config/auto.conf.cmd] Error 2
!> [linux]: Build failed.

Then I tried recompiling flex which seems to require calling flex itself(WTF) and then I did some research and found that the libintl module comes from gettext. So I rebuilt gettext and once again, broken gcc I'd say.
gist

Yup. It’s still broken. We’re still trying to get GCC to compile generically. I’ll fix the flex error, thanks for picking up on that (this was caused by recreating the chroot from Void).

Try the latest chroot. The issue should be fixed.
https://github.com/kissx/packages/releases/tag/0.0.14-musl

I'm currently building the kernel, and it's taking a fair while. But for now, all ok, I've gotten to the compilation of drivers which is (as I remember) one of the latest steps! So for now, all good.

Closing this as a further two people with the same issue have confirmed it is fixed. Will await your reply. Feel free to reopen this if the issue still occurs. :+1:


Order of downloaded files

First of all thank you for putting the time and effort to make this tool and share it with the community.
One of the main issues I see is to be able to follow the chapters from the compressed file. Obviously we don’t have a way to sort the files e.g by download time as the time stamp will likely be all the same.
So I am thinking if you have had considered to make something for this,
Many thanks,
Kind regards,
Federico.

@federico22285 Sorry, I don't really understand what you mean by "follow the chapters form the compressed file". Could you elaborate on this a little more?
Thanks alot for your help!


[REEF-559] Tighten previous evaluator ID checks by using entire set of evaluator IDs

This addressed the issue by

Keeping the set of evaluator IDs that are expected to report back to the driver on restart as well as the set of evaluator IDs that have reported back.
Use the set mentioned to determine whether restart is completed or not.

JIRA:
REEF-559

@markusweimer Updated. Thanks!

This looks good, I will merge it.


rs_get_device_usb_port_id differences within hardware?

Required Info

Camera Model
SR300

Firmware Version
<IP_ADDRESS> & <IP_ADDRESS>

Operating System & Version
Ubuntu 16.04

Kernel Version (Linux Only)
4.4.0-62

Build System
Makefile

This issue might be impossible to solve. I have two SR300 cameras, one with <IP_ADDRESS> firmware and another with <IP_ADDRESS>. I tried plug each camera into two separate ports. The one with the lower firmware reports two separate ports (7-1 and 7-2). Whereas the one with the higher firmware reports the same for both (7-1 and 7-1). I get this ports by calling rs_get_device_usb_port_id (which internally calls libusb). I understand ports are not guaranteed to be unique however this is on the same hardware with only slightly different cameras.
In addition, running v4l2-ctl --list-devices gives two different formats (this is on hub-port 7-2):
<IP_ADDRESS>
Intel(R) RealSense(TM) Camera S (usb-0000:00:10.0-2):
/dev/video0
/dev/video1
<IP_ADDRESS>
Intel(R) RealSense(TM) Camera S (usb-0000:00:10.0-2.1):
/dev/video0
/dev/video1
Any idea why this behaviour is different and how to resolve it?

@nwestbury, perhaps I didn't understand the issue correctly. Different models of SR300 are reporting port_id differently because some manufacturers choose to include internal USB hub inside the camera case, and some don't. The goal of get_port_id is to distinguish between devices based on physical location and not concrete serial numbers. On-board USB-hubs certainly complicate things a bit, but we can't know from code if the USB-hub is part of the device or not (hope this makes sense).
Could you please clarify your question, perhaps add the output from lsusb -t for both devices?

@dorodnic Yes, you are correct it was just USB hub inside the camera case.


spark-worker-1     | /usr/bin/env: ‘bash\r’: No such file or directory

I have a problem after clone and follow your Readme

when I "docker compose up"

I check in docker desktop and saw many container Exited. Please Help me.

here.

all spark are the same.

I'm not change anything.

@RamesChan can you rebuild the image? And re-compose? If it does not work. You might need to debug what’s inside your built image (shell into the container).

@athanan I already fix this issue. the root cause is about types of line-ending characters. when I open .sh file type is CRLF (image below)

Maybe CRLF is the type for window that why it's have a problem when copy and run it in Linux or Unix-based systems (I'm not sure sorry).
I solved this problem by simply changing the file type.
Thank you so much for your support and sharing with us.

@RamesChan thanks for sharing tour findings and good to hear that the problem was solved~


fix: correct name for parachain id

This rename is good. However, I am confused by the env file in general:

why are there two different environments in the same env file? wouldn't the settings of the first bunch be overwritten by the second?
Why is the testnet named kusama? We shouldn't confuse our public testnet setup with the kintsugi main chain. Something like "Rococo Local Testnet" would be better. NOt sure what this variable is used for though
Is the second setup for the westend environment? If so, then REACT_APP_RELAY_CHAIN_NAME should be westend.

This rename is good. However, I am confused by the env file in general:

why are there two different environments in the same env file? wouldn't the settings of the first bunch be overwritten by the second?

These are just the config settings, not the env files. We copy them over to env.development.local which is ignored in source control.

Why is the testnet named kusama? We shouldn't confuse our public testnet setup with the kintsugi main chain. Something like "Rococo Local Testnet" would be better. NOt sure what this variable is used for though

not testnet :) this is used to switch between kusama/kintsugi and polkadot/interlay in the UI

Is the second setup for the westend environment? If so, then REACT_APP_RELAY_CHAIN_NAME should be westend
good question and I don't know - we'll need to configure that properly before making this available for interlay, but we'll pick that up after the kBTC launch.


Question - Is there some unwritten maximum number of devices you can have on a network?

Issue description: Even after changing the configs to not require energy (wanted to rule out that is was an energy related problem), there is still a point where if I add another device to the network it shuts it off. To be clear, the lights on the transmitters and all grids and controller go off and I cannot access the grids at all. At first, I thought this might be an energy issue because I have a bunch of compact machine blocks with receivers in them to automate various processes.
What happens: Eventually, you cannot add more devices because it will shut the entire network down.
What you expected to happen: More devices than present (although there are quite a few) able to be added before a network issue like I mention.
Steps to reproduce:

Create a basic system
Add a bunch of transmitters and receivers along with import, export, constructor, destructor, etc.
Eventually the system shuts down
...

Version (make sure you are on the latest version before reporting):

Minecraft: 1-12-2
Forge: 2611
Refined Storage:  1.5.31

Does this issue occur on a server? [yes/no] Single Player World
If a (crash)log is relevant for this issue, link it here:
No crash log as the game doesn't crash, and nothing evident in the logs to show what the issue is either.

Well there is no limit on the devices. Do you have a sufficient power generation?

Try switching out the controller for a creative controller to eliminate that its some weird problem with energy.

Energy mode is off controler should not effect it.

OK, further information. Must have missed something about power in configs because cheating in a creative controller solves the issue. HOWEVER, this does present another problem. Before doing that, I had 8 RF tool energy cells connected on 5 sides of the survival controller with the maximum flux ducts available (can't remember the name but it's the big ones requiring cryotheum in the crafting). The creative cells were set to output on all sides as well, and output, I believe 40k rf per tick if memory serves me correctly.
However, 8 of these attached to 5 sides of the controller with max size fluxduct was not able to keep the thing powered to stay on. I was at a point where when I added one more device, the network would shut off.
I have one more thing I want to try to nail this issue down, but will be a bit before I can do it. I want to change the energy storage amount in the survival controller after looking at the present energy requirements to see if that might be the cause of the issue. I will report back after I can test the idea,

So, at defauls the controller will store like 32000 rf. It would seem that I was at a point where maintenance power upkeep required 33k plus. As such, the controller could not get enough energy to maintain the system. Although I know this is an edge case (I have well over 100 exporters at this point and at least 50 transmitters), something to indicate a bit more easily to people that their present system exceeds the controller capacity might be in order. However, the other downside with this is how many are going to know to change a config to fix the issue? Wonder if there might be some other solution to this potential issue.

You can increase the controller energy capacity in the configs. The controllers have a max throughput of the max energy capacity, so you can insert only 32k at a time by default (since that's the capacity).
Furthermore, changing the controllerUsesEnergy config entry to false will also fix this issue.

Yeah, I didn't want to cheese it like that though. Already set the controller input to 100k for now. If I run into it again, I'll know to look at the maintenance use and see if it's over 100k =) Thanks again for the mod and your work on it. =)


Dependent rule executes if parent rule is ignored by a "when"

    [TestMethod]
    public void TestMethod1()
    {
        var validator = new TestValidatorA();

        var result = validator.Validate((Person)null);
        Assert.IsTrue(result.IsValid);
    }
    public class TestValidatorA : AbstractValidator<Person>
    {
        public TestValidatorA()
        {
            When(o => o != null, () =>
            {
                RuleFor(o => o.Age).LessThan(1)
                .DependentRules(d =>
                {
                    d.RuleFor(o => o).NotNull();
                });
            });
        }
    }

I've just committed a fix for this and pushed out a nuget pre-release build (6.2.1-beta1)
Thank you for including a unit test to reproduce the problem- not many people do that, and it makes things much easier for me!

Maintenance / cleanup: closing this as the bug appears to be fixed per Jeremy's comment.


won't work for me

I am using:
uvicorn==0.20.0
starlette==0.25.0
fastapi==0.92.0
httpx==0.23.3
pytest==7.0.1
bump_testclient==0.3.0
I am following the instructions and just nothing happens.  My tests are not updated

How are you using the tool?

Yeah, for me it is also doesn't work.
I have the code:
    def test_upload_file_bad_type(self):
        file = io.BytesIO(str.encode(CSV_FILE_STR))

        response = self.client.post(
            f"{settings.API_V1_STR}/importer/configuration/{self.ipc_id}/files/"
            "building_config_file",
            files={"file": ("file", file, "image/png")},
            headers=auth_header(USER_READ_WRITE),
        )

        assert response.status_code == status.HTTP_415_UNSUPPORTED_MEDIA_TYPE
        assert "File must be one of the following formats" in (
            response.json().get("detail", {}).get("message")
        )

and it isn't adjusted when run you script with this file as a param @Kludex

Finally biting off the update for an older project myself, and finding the same thing: absolutely nothing happens when running this against a very simple test.  I somewhat suspect it's because we're injecting our client as a pytest fixture; perhaps the tool can't tell what's a client and what isn't?


Add update and delete functionality

This PR aims to add update and delete functionality to the module. See issue #7.
There may be room for improvement before this should be merged. Let me know what you think @AbdullahAli @fabienjuif

@Peter-Van-Drunen I haven't forgotten this PR but I have some work to do on my own. And this PR is quite big 😅

@fabienjuif Thanks for the feedback, I will resolve these problems when I get the chance.

Any news about merging this PR?


Unable to connect docker via SSH

Hi there!
I have completed steps to use ssh connecting docker container in the manual until /usr/sbin/sshd -D.
Then came an error like this:

Anyone can solve this problem?
I have tried to modify the sshd_config with
PubkeyAuthentication = yes
AllowRootLogin = yes
Port = 22

but the error still exists.

In the screenshot, you used service ssh start instead of /usr/sbin/sshd -D. Even if you want to use service, you may need to start sshd service instead of ssh service. So please try the three commands:
/usr/sbin/sshd -D
or
service sshd restart
or
systemctl sshd restart
I succeeded with the first command in the container yesterday.

I have tried to use the compressed package in the cluster. I use systemctl start ssh to start ssh because it shows bash: service: command not found when I try to use service. However, the result is the same.
 Your identification has been saved in /etc/ssh/ssh_host_rsa_key. Your public key has been saved in /etc/ssh/ssh_host_rsa_key.pub. The key fingerprint is: SHA256:dWFGPhfBt7QK78K0u4D1P4uuVy1d9RgxMmFcfkKr9Ek root@2dc2da7a1e5e The key's randomart image is: ...
Give correct authentication: chmod 600 /etc/ssh/ssh_host_*
You will be ok after that folloing the doc by TAs


Undefined method 'user_url'

Same issue than discuted here
https://github.com/heartcombo/devise/issues/5439
I had to add this in devise.rb after installing your gem
config.navigational_formats = ['/', :html, :turbo_stream]
Before everything was working. Do you have any idea why installing your gem caused this bug?
Anyway, thanks, love it, so useful!!

If it's the same as https://github.com/heartcombo/devise/issues/5439 then it'll have to be fixed in devise. Once fixed there, it should be fixed here as well. We don't deviate from what devise does.


Added support for the Mermaid diagrams in the fenced code.

Hi,
I've added support for creating Mermaid diagrams in wiki content. Using a simple syntax located in the fenced code, you can create Flowcharts, Sequence diagrams and Gantt diagrams. In the case of a misspelled syntax, this is indicated by a red outline and a description in the popup window (works in the Preview and Show).
Here are some previews:

Hi @vozkych
thank you very much for this integration. I think this will be useful for sure for some Jingo user out there!
I thought about it but at the end I decided not to merge this feature into the main Jingo repository, because the changes are quite substantial and add a bit of complexity on top of the Jingo structure for a feature which is – I guess – not used by 99% of the users.
This would be a fantastic integration to be added as a "plugin" but unfortunately Jingo doesn't support a plugin system (yet...).
Thank you very much for the PR!


Dragging class

Hey, I noticed that in the original CSS there's a declaration for a class named 'dragging'. However in the script it doesn't come up at all.
I assume the following needs to be added to swipeStart / swipeEnd respectively: _.$list.addClass('dragging'); / _.$list.removeClass('dragging');
EDIT:
Also, by adding the following will prevent the dragging event from cancelling when hovering over the navigation buttons (not dots) while dragging.
.slick-list {
    &.dragging {
        ~ button {
            pointer-events: none;
        }
    }
}

The dragging was class based, but was switched to a variable. The drag event purposefully cancels when exiting the slide area for stability with the swipe math

So is the .dragging class not used anymore?  I see it referenced in the css, but I don't see it applied to the slider when dragging.  I would like to change the pointer icon to hand like http://www.lushusa.com/ does with their slider, but I don't see how you can style this with css.

On http://www.lushusa.com they use cursor: -webkit-grab; and cursor: -webkit-grabbing;


Apply XML syntax highlighting to .xsd files by default

XML syntax highlighting should be applied to XML Schema files with .xsd extension.

.xsd files will automatically be highlighted as XML in Release 1.5
Closing.

Thanks for the quick turnaround.


New API version 2019-07-01 for ANF

First commit contains previous 2019-06-01 as 2019-07-01.
Then updated with new API changes.
Main changes

volume property renaming NFSv4 to NFSv4.1
snapshot property renaming creation_date to created.

Replaces https://github.com/Azure/azure-rest-api-specs/pull/7012
Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

Can one of the admins verify this patch?

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go

Hi @anthony-c-martin , can you please review this PR?


Typing/clearing text changes the size and position of the search bar

[x] I am on the latest Cerebro.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: Windows 10 64-bit
Cerebro.app version: 0.3.0
Relevant information from devtools (See above how to open it): N/A

Issue
Typing on the search bar and clearing it both increments the bar's width and shifts its position up by a few pixels.
http://i.imgur.com/BMkhjkD.gifv
Not quite sure what the cause is, since this hasn't happened on my Arch installation.
The display is set at a custom scaling size of 120, in case that matters. http://i.imgur.com/cxqlUfg.png

I'm closing this issue as outdated. I seems to be resolved in v0.9.0
Give it a try and, if the problem persists, feel free to open a new issue.


File structure

Could you please list the folder structure, especially regarding the use of Mano

You should first make a dir named template, and move MANO_RIGHT.pkl, template.ply, transform.pkl into it.

Thank you for your reply. If I want to replace resnet18 with resnet50, do the following commands need to be changed?
python main.py --split train --batch_size 64 --epochs 38 --decay_step 30 --backbone resnet18 --out_channels 64 128 256 512
An error message is displayed when I run the python main.py --split demo --resume $path to trained model$,
··
$path to trained model$is replaced with resnet50-checkpoint-38-77330/state_dict,Is it the reason for setting out_channels? And how do we determine epochs=38?

If you want to train the model with resnet50, I recommend using the commands as:
python main.py --split train --batch_size 64 --epochs 38 --decay_step 30 --backbone resnet50 --out_channels<PHONE_NUMBER> 2048  .
The demo commands should also be changed to backbone resnet50 and other settings 'python main.py --split demo --resume $path to trained model$ --backbone resnet50'.
The epochs are set according to handmesh paper, which is the codebase of my code, you can change the epochs and other hyper-parameters.

After your recommendation, I readCamera-Space Hand Mesh Recovery via Semantic Aggregation and Adaptive 2D-1D Registration. How do you design your encoder and decoder?
In addition, the following results were obtained by evaluating freihand locally

After your recommendation, I read Camera-Space Hand Mesh Recovery via Semantic Aggregation and Adaptive 2D-1D Registration. How do you design your encoder and decoder?
In addition, the following results were obtained by evaluating freihand locally
xyz_mean3d: 217.759575 xyz_auc3d: 0.000000 xyz_al_mean3d: 0.798449 xyz_al_auc3d: 0.841464 mesh_mean3d: 217.756331 mesh_auc3d: 0.000000 mesh_al_mean3d: 0.804143 mesh_al_auc3d: 0.840033 f_score_5: 0.000000 f_al_score_5: 0.650010 f_score_15: 0.000000 f_al_score_15: 0.969127 How did you get the PA-MPJPE and PA-MPVPE that you displayed in the project space?
Look forward to your reply and have a nice day！

The encoder and decoder designs are re-produced from this paper[https://arxiv.org/abs/2004.01946].
The xyz_al_mean3d and mesh_al_mean3d mean the PA results


fixes the way we add security groups to an instance (aws)

What this PR does / why we need it: prevents  machine controller to enter a loop in which it fails to attach an instance to an empty security group and destroys the instance immediately after.
NONE

/retest

/approve
/lgtm
/release-note-none

/test pull-machine-controller-e2e


Consider adding control to handle failed responses

In my specific scenario (SPA) I have a custom sw-toolbox route that specific handles page requests, and would like to serve an offline resource when a page request fails (no network, no cache)
Ex.: networkFirst "just" returns the originalResponse:
https://github.com/GoogleChrome/sw-toolbox/blob/master/lib/strategies/networkFirst.js#L71

Instead of adding this specific functionality to the sw-toolbox strategies I ended up adding it to the projects client-side codebase by setting up toolbox.precache and catching the failing response.


 Charger light not even lighting.
I tried everything but no response. Tried even removing the battery and keep it away for a day. But won't work

This is a hardware issue, you'll need to contact your seller for a replacement.


feat: Catch more unsafe numbers

Prerequisites checklist

[x] I have read the contributing guidelines.

What is the purpose of this pull request?
Catch subnormals, numbers that are flushed to zero,
and overly-large integers in no-unsafe-values.
What changes did you make? (Give an overview)
Added three numeric cases to no-unsafe-values.js:

Flushed to zero: the parsed value is zero, but the original text implies that zero was not intended.  Example: 1e-400
Overly-large integers: the original text looks like an integer (no decimal point or exponent), but the value is outside the range [Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER].  Example:<PHONE_NUMBER>740992
Subnormals: these are numbers that have reduced precision in an IEEE-754 f64.  Example: 2.2250738585072009e-308

Related Issues
Refs #68
Is there anything you'd like reviewers to focus on?
Please double-check my error messages for your preferences.

Sorry forgot to fix the value issue also.  On it.

I made the rest of the errors consistent at the same time.  Tests modified.


Bug Report: LangChain Metrics issues

I see that we are adding custom attributes to metrics, However, TRACELOOP_ENTITY_NAME (traceloop.entity.name) is a very high cardinality attribute - https://github.com/traceloop/openllmetry/pull/2154/files#diff-caff857eafc9121a585e40cdac1c0815d97f474cd3d0bf1a23755572e3b38105R473

Most destinations would have limits on such fields with very high cardinality for metrics.
I feel this kind of information is best understood with traces/spans instead or at-least some control should be given to enable/disable this metric as required or limit attributes.

Seeing this error generated for gen_ai.response.model when invoked as a agent.

Failed to encode key gen_ai.response.model: Invalid type <class 'NoneType'> of value None
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/opentelemetry/exporter/otlp/proto/common/_internal/__init__.py", line 113, in _encode_attributes
    pb2_attributes.append(_encode_key_value(key, value))
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/opentelemetry/exporter/otlp/proto/common/_internal/__init__.py", line 94, in _encode_key_value
    return PB2KeyValue(key=key, value=_encode_value(value))
                                      ^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/opentelemetry/exporter/otlp/proto/common/_internal/__init__.py", line 90, in _encode_value
    raise Exception(f"Invalid type {type(value)} of value {value}")
Exception: Invalid type <class 'NoneType'> of value None

I do not see gen_ai.client.token.usage being generated when used like below, I do see it generated with simple LLMChain but not when invoked via agent.

    llm = AzureChatOpenAI(
        openai_api_version=os.environ.get("AZURE_OPENAI_VERSION"),
        azure_deployment=os.environ.get("AZURE_OPENAI_DEPLOYMENT"),
        azure_endpoint=os.environ.get("AZURE_OPENAI_ENDPOINT"),
        api_key=os.environ.get("AZURE_OPENAI_KEY"),
        model="gpt-4"
        )
    event_message = "this is a test"
    tools = [Tool().useless_tool]

    agent_template = categorise_event_prompt
    input_template = "{input}"

    prompt = ChatPromptTemplate.from_messages([
        ("system", agent_template),
        ("human", input_template),
        MessagesPlaceholder("agent_scratchpad")
    ])
    agent = create_openai_tools_agent(llm=llm, tools=tools, prompt=prompt)
    agent_executor = AgentExecutor(agent=agent, tools=tools, verbose=True)
    result = agent_executor.invoke({"input": event_message})

Originally posted by @nitin302 in https://github.com/traceloop/openllmetry/issues/2154#issuecomment-2418772694

@nitin302 - 1 and 2 are resolved. 3 is a bit more tricky, there seem to be a bug with LangChain specifically for agents. I've printed everything that is returned on the callback mechanism and apparently they're not returning any token usage data for some reason:
response generations=[[Generation(text=" I should use the Search tool to search for the artist's name and their album in the FooBar database.\nAction: Search\nAction Input: tool_input: 'Union[str, dict[str, Any]]' = 'The Storm Before the Calm'", generation_info={'finish_reason': 'stop', 'logprobs': None})]] llm_output={'token_usage': {}, 'model_name': 'gpt-3.5-turbo-instruct'} run=None type='LLMResult'
response.llm_output {'token_usage': {}, 'model_name': 'gpt-3.5-turbo-instruct'}

This is when running this for example. I'll continue investigating so keeping this open (and merging the PR that solves 1 and 2).

@nirga could you do it, I think you can give more context on the exact line of the issue.

Sorry for the delay here @nitin302 was about to do that but I see you've already done that. Let's see if they follow up there


IOS build ,XCode report:ClassID 100000(int) conflicts with that of another class (int)

When building ios, a title error occurs, and the program crash；
The solution：
1、click #import "UnityUtils.h" and jump to Definition to "UnityUtils.h";
2、click function InitUnity() and jump to Definition to "UnityUtils.mm";
3、Find dispatch_async and locate to dispatch_async "dispatch_get_main_queue(),...});"
4、Add code before " InitUnity ()" : if(_isUnityReady){
completed();
                                        return;
}
5、add code after " bool unity_inited=false;",about  at 12 lines:"static bool player_created=false;"
6、Replace code
" if (UnityIsInited()) {
return;
}
"
in method "+(void)createPlayer" with code :
" if (UnityIsInited()||player_created) {
return;
}
player_created=true;
"

Please properly format your issue and also help us understand your problem :)

this is about the issue in / a duplicate of #132


Updating @JLayer Docstring

PR Checklist
If you are contributing to Javis.jl, please make sure you are able to check off each item on this list:

[ ] Did I update CHANGELOG.md with whatever changes/features I added with this PR?
[x] Did I make sure to only change the part of the file where I introduced a new change/feature?
[ ] Did I cover all corner cases to be close to 100% test coverage (if applicable)?
[ ] Did I properly add Javis dependencies to the Project.toml + set an upper bound of the dependency (if applicable)?
[ ] Did I properly add test dependencies to the test directory (if applicable)?
[x] Did I check relevant tutorials that may be affected by changes in this PR?
[x] Did I clearly articulate why this PR was made the way it was and how it was made?

Link to relevant issue(s)
Closes #382
How did you address these issues with this PR? What methods did you use?
This fixes some issues with the JLayers docstring. I started by fixing the example that is within the docstring itself. @Sov-trotter - feel free to add the rest of your changes here to address issue #382

We might just wanna merge this as this fixes one part of the docstring and just keep #382 open though to fix the others

@TheCedarPrince can we merge this?

Yes, I think there was more I wanted to do here, but I can open other issues to review docs later.
Merging now.

Yes, I think there was more I wanted to do here, but I can open other issues to review docs later.
Merging now.


ACME V2 Integration

What does this PR do?

This PR allows Træfik to use the new ACME version.
It uses the new lego branch to access to the ACME V2 API.
ACME V2 API main features :

Suppression of TLS-SNI-01 challenge
Adding wildcard certificates generation with DNS-02 challenge

Motivation

Fix #2674
Allowing users to do ACME wildcard certificates
More

[x] Added/updated tests
[x] Added/updated documentation

Additional Notes

For the moment, wildcard domains can only be defined with the ACME domains option.
SANs are not allowed in wildcard certificates.
Another PR with end-to-end tests for wildcard domains will come ASAP.

thanks! literally much awaited feature in my project!
I just have one question, trying to defined it like so:
[[acme.domains]]
  main = "mydomain.com"
  sans = ["*.mydomain.com"]

and getting error Error getting ACME certificate for domain [mydomain.com *.mydomain.com]: cannot obtain certificates map[*.mydomain.com:acme: Error 400 - urn:acme:error:malformed - Error creating new authz :: Wildcard names not supported],
so who then should I define wildcard?

Hello @sarkistlt ,
Many thanks for your feedback.
For the moment, we do not support wildcard certificates with/in SANs.
Moreover, the error seems to come from ACME library.
You can use the configuration described below :
[[acme.domains]]
  main = "mydomain.com"
[[acme.domains]]
  main = ["*.mydomain.com"]

If you still have problems, I suggest you to open an issue or  to join our Slack workspace for more community #support.

actually just saw version 1.6 deployed on docker hub 10hr ago and it works, thanks!

getting another error unable to generate a wildcard certificate in ACME provider for domain \"*. mydomain.com\" : ACME needs a DNSChallenge, looks like it doesn't generate .well-known/acme-challenge
And for the main domain: Unable to obtain ACME certificate for domains \"mydomain.com\" : cannot obtain certificates map[mydomain.com:acme: Error 400 - urn:ietf:params:acme:error:connection - Fetching http://mydomain.com/.well-known/acme-challenge/some_hash: Timeout], should I open new issue?

You can find info on how to configure the wildcard certs here: https://docs.traefik.io/v1.6/configuration/acme/.
Let's Encrypt uses a DNS challenge for issuing wildcard certificates, which requires setting a DNS TXT record. Traefik can automate this via the API of your DNS provider (if it is supported), for which it requires an API key.

:warning: For all those who have problems with this feature, please open a dedicated issue. :warning:
You can also join our Slack workspace for more community #support.
Remember, we dedicate the issue tracker to bug reports and feature requests only


Dynamic Option Creation is not working on iPad

STOP!
Before you open an issue:

Make sure that your issue is a BUG or FEATURE REQUEST.  General usage and troubleshooting questions should be directed to the forums or Stack Overflow.  Issues asking for general support WILL BE CLOSED automatically.
Search the current issues, both open and closed, for a similar issue. If the bug is still present but the relevant issue has been closed, you may ask us to reopen the issue. Duplicate issues will be closed automatically.
Make sure that you are using the latest stable version of Select2 (see the release history). Old minor/patch versions will not be supported.

If you are CERTAIN that it is appropriate to open a new issue, you must:

Create and link to a minimal, complete, and verifiable example by cloning our JSBin template. Code dumps, zip files, etc are NOT acceptable.
Any additional code snippets should be formatted using Markdown code fences and properly indented. Poorly formatted code is difficult to read and reflects badly on you as a programmer.
Include relevant screenshots or animations, if possible. Drag your screenshots directly into this text box. They will automatically be uploaded and the Markdown to display them will be generated.  Avoid third-party image hosts, or links which require extra clicks to view the image.
If you are not conversationally proficient in English, do NOT just post a machine translation (e.g. Google Translate) to GitHub. Get help in crafting your question, either via the forums or in chat. If all else fails, you may post your bug report or feature request in your native language, with a machine translation below that. We will tag it with translation-needed so that others who speak your language can find it.
State the steps needed to reproduce the problem.
Mention your version of Select2, as well as the browser(s) and operating system(s) in which the problem occurs.
Clear out this placeholder text.

Issues that ignore these rules will be closed without further comment!

Dynamic Option Creation works fine on desktop and mobiles, but on iPad it isn’t allowing to create new option. When I’m trying to add an option in iPad, just after typing two letters, the iPad’s default drop down also opens up and the keyboard disappears, not allowing to add option. Attached is the screenshot of how it looks on iPad. Can someone help me with the solution please.


Gqw/count op

算子统计的功能：
通过环境变量  DIPU_COUNT_OP = True，实现统计算子（跑单iter即可）：
diopi实现的算子 写在"impl_Ops.txt";
dipufallback的算子写在"fallback_Ops.txt";

 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.


Added Writing new tasks and Custom law.cfg file section to docs

Side note: This should probably be merged after PR #366

Update:
added small API correction for the DotDict class in columnflow.util


support for Traefik 2

cf: https://github.com/guillaumebriday/traefik-docker-ansible/issues/4

done! https://github.com/guillaumebriday/selfhosted-services/commit/a731e2159749d7b009a124bbf6dd2d4c35619b93


If the daemon times out the same video could get published twice

And if both of them are synced within the same block, a double claim will show up.
Solution:
when ytsync tool detects a time out it should restart the daemon (and thus wait a block too)

This issue was worked around rather than solved by extending the timeout from 5 minutes to 40 minutes (thus covering every failed attempt so far) and by not retrying the publication.


RuntimeError: multi_feat_2_conv_1x1_conv_bias is not presented when I use the VGG16 which downloaded from the homepage

Hello. I try to use the VGG16 to run demo. but I failed with errors. When I use the resnet50 to run demo, it successed. Error details about using VGG16 show below.

root@15d198e46951:/source-code/mxnet-ssd# python demo.py --gpu 0 --network vgg16_reduced --data-shape 512
Using mxnet as:
<module 'mxnet' from '/usr/local/lib/python2.7/dist-packages/mxnet/init.pyc'>
Warning: using pre-installed version of mxnet may cause unexpected error...
(export MXNET_EXAMPLE_SSD_DISABLE_PRE_INSTALLED=1) to prevent loading pre-installed mxnet.
[09:52:33] src/nnvm/legacy_json_util.cc:190: Loading symbol saved by previous version v0.9.5. Attempting to upgrade...
[09:52:33] src/nnvm/legacy_json_util.cc:198: Symbol successfully upgraded!
[09:52:36] src/operator/././cudnn_algoreg-inl.h:112: Running performance tests to find the best convolution algorithm, this can take a while... (setting env variable MXNET_CUDNN_AUTOTUNE_DEFAULT to 0 to disable)
[09:52:38] src/operator/convolution.cu:119: This convolution is not supported by cudnn, MXNET convolution is applied.
Traceback (most recent call last):
File "demo.py", line 121, in
ctx, len(class_names), args.nms_thresh, args.force_nms)
File "demo.py", line 38, in get_detector
detector = Detector(net, prefix, epoch, data_shape, mean_pixels, ctx=ctx)
File "/source-code/mxnet-ssd/detect/detector.py", line 40, in init
self.mod.set_params(args, auxs)
File "/usr/local/lib/python2.7/dist-packages/mxnet/module/module.py", line 337, in set_params
allow_extra=allow_extra)
File "/usr/local/lib/python2.7/dist-packages/mxnet/module/module.py", line 296, in init_params
_impl(desc, arr, arg_params)
File "/usr/local/lib/python2.7/dist-packages/mxnet/module/module.py", line 287, in _impl
raise RuntimeError("%s is not presented" % name)
RuntimeError: multi_feat_2_conv_1x1_conv_bias is not presented

root@15d198e46951:/source-code/mxnet-ssd# python demo.py --gpu 0 --network resnet50 --data-shape 512
Using mxnet as:
<module 'mxnet' from '/usr/local/lib/python2.7/dist-packages/mxnet/init.pyc'>
Warning: using pre-installed version of mxnet may cause unexpected error...
(export MXNET_EXAMPLE_SSD_DISABLE_PRE_INSTALLED=1) to prevent loading pre-installed mxnet.
[09:53:23] src/nnvm/legacy_json_util.cc:190: Loading symbol saved by previous version v0.10.1. Attempting to upgrade...
[09:53:23] src/nnvm/legacy_json_util.cc:198: Symbol successfully upgraded!
[09:53:25] src/operator/././cudnn_algoreg-inl.h:112: Running performance tests to find the best convolution algorithm, this can take a while... (setting env variable MXNET_CUDNN_AUTOTUNE_DEFAULT to 0 to disable)
Detection time for 1 images: 0.1128 sec
hello

So thanks for your help.

use --network xxx for different networks

@zhreshold  I used python demo.py --gpu 0 --network vgg16_reduced --data-shape 512 when run VGG16net and python demo.py --gpu 0 --network resnet50 --data-shape 512 for resnet

I trained a model that pretrained by vgg16_reduced_300, and then use that model what I trained to run demo, it succeeded.
python demo.py --gpu 0 --network vgg16_reduced --epoch 400 --prefix ./model/ssd --data-shape 300 --image ./data/demo/street.jpg

i meet the same problem that  "multi_feat_2_conv_1x1_conv_bias is not presented", when i use vgg16_reduced network for evaluation, and I try  vgg16_reduced_300 pretrained mode, which also display this error, how to solve this problem?


After upgrade to version 3.x, json files are broken

It works well in 2.4.4, but after I upgrade to the latest 3.x.x, it seems that it will lint all .json as js/ts file
In 2.4.4:

In 3.0.8 and 3.0.10:

I tried to reproduce this but failed. A GitHub repository to clone is highly appreciated.

I'm using a payed VUE template, so I can't push all of them. I will try to provide a demo later.

@dbaeumer
I have done. You can clone this repo:
https://github.com/yp05327/eslinterror
Reproduce:

Open it in dev container
Run pnpm install in terminal
Reload window (press F1 and select Developer: Reload Window)

Then you can see this issue:

I notice that the following two things effect this issue:

You should run pnpm install
You should not delete .eslintrc.cjs

I have tested it in my local PC in a clean space again, so I'm sure you can reproduce it.
I didn't modify .eslintrc.cjs, but I removed several custom commands in packages.json which will cause error during the installation as not all files are uploaded, and this is not related to this issue

I was able to reproduce, however the same errors seem to be reported on the command line as well (see screen shot).

So there seems to be a more general problem with the setup since this happens independent of the ESLint extension.

So this issue comes from eslint self but not the extension?
One thing I don't understand, why after I downgrade the extension, it worked.
And eslint's version is hard coding (in package.json), so eslint version and configs are all the same.
The only difference between these are the extension's version. This seems strange. 🤔

It sounds strange. May be the extension doesn't work when downgraded :-). Does it work in general?

These two conditions are required.

I followed these steps and still see the errors both in the editor AND when running eslint directly in the terminal. Since these errors are present in the terminal it is IMO correct that they are shown in the extension as well.

If I downgrade the extension, you will see nothing happened, but eslint still reports errors.

Maybe it is better to report this issue to eslint not here. 🤔

I confirmed that this is partly caused by https://github.com/microsoft/vscode-eslint/pull/1787
In this PR, json files are added. So in 2.x, json files will not be triggered, but in 3.x, it will.
And then because of the bad logic here:

If user didn't even enable the plugins in .eslintrc.cjs, extension will still validate these files.
In my case, this project don't use json lint, but it will be detected by the extension.
Maybe a fix can be checking whether user enabled the plugin in eslint config file, then mark settings.validate to on or off.

Happy to hear you could get it to work
Actually the code checks if the plugin is enabled by loading the configuration of the file. In your setup the following plug-ins are available according the the eslint npm package.

I don't check config files since configuration can come from many many place. So I check what ESLint tells me the configuration looks like.
I think the problem is that .eslintrc.cjs files are only honored when running inside a module package. This is why you need to pass it on the command line since it is not the case in the setup of the example repository.

I double checked the code and IMO it does the right thing.
I will close the issue. Please ping if you think somethings should be done.

Are you sure eslint.plugins means the plugins that user has installed and enabled, but not eslint is providing these plugins?

I clean the node_modules, and runned pnpm install again. It will install eslint-plugin-jsonc for you, even it is not listed in packages.json, that's why jsonc is in eslint.plugins list.

Maybe it is required by some packages, so installed automatically.
But I don't think it is right to get plugins from the installed plugins list, as in some cases it is not expected.

But ESLint does the same thing on the command line. Since I use the same code (and I don't want to do my own parsing of config files) I get the same result.
What I can think of is to  enforce the validate setting. If a user has defined it and the file type is not in the list it will not validate the file. This would be an equal behavior as specifying things on the command line.

I opened https://github.com/microsoft/vscode-eslint/issues/1892 for the validate setting


improve addon-manager chart

enable replica override
limit rbac for addon-manager

Signed-off-by: Ian Zhang<EMAIL_ADDRESS>

/lgtm


Error with CommandPanels plugin

Hi, if i use your Plugin together with CommandPanel some things didn't work

the /cpc - command to close a panel
the placeholders like msg= console= etc.

More info here:
https://github.com/rockyhawk64/CommandPanels/issues/222

Test this version:
PerWorldPlugins-<IP_ADDRESS>.zip

Hi, if i use your Plugin together with CommandPanel some things didn't work

the /cpc - command to close a panel
the placeholders like msg= console= etc.

More info here: rockyhawk64/CommandPanels#222
Test this version:
PerWorldPlugins-<IP_ADDRESS>.zip

Hi, if i use your Plugin together with CommandPanel some things didn't work

the /cpc - command to close a panel
the placeholders like msg= console= etc.

More info here: rockyhawk64/CommandPanels#222

Hello?

I will test it...


Create git tags when releasing a new (major) version

Can you create a new tag whenever a new version released?

@kroitor, do we follow Semantic Versioning (http://semver.org/)? Could be interesting.

Ok, but there has been only one major version for now. We will do that for 2.0.x. Or did you mean the minor version (the digit in the middle) ?

Whatever suits you :+1:

No problem, thanks for the hint!


weather: no wind direction

I keep meaning to look into this. As far as I can it's an issue on the GadgetBridge end of things.

There seem to be issues on both ends :-(

The BangleJS weather app handles the format as specified on on https://www.espruino.com/Gadgetbridge:

t:"weather", temp,hum,txt,wind,loc - weather report

wind would be wind speed, there is no wind direction field listed, so the app wouldn't handle it anyway

The GadgetBridge code won't send windDirection, only windSpeed: https://codeberg.org/Freeyourgadget/Gadgetbridge/src/commit/75a0415f5d26a52fed8712225e5d0ad1b3268ae2/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/banglejs/BangleJSDeviceSupport.java#L503

I logged GB messages, and wind is exactly zero, even though the "Weather notification" app on my phone (where GadgetBridge gets these values) says it should be "4 km/h":
{"t":"weather","temp":288,"hum":94,"txt":"Light rain","wind":0,"loc":"Hengelo"}

Opened issue at https://codeberg.org/Freeyourgadget/Gadgetbridge/issues/1974

Gadgetbridge was fixed: https://codeberg.org/Freeyourgadget/Gadgetbridge/commit/8599d2f8dbc6cf65dcb2e14e0ef6dd5da5b25d77
it now sends wind direction in wdir (looks like degrees, not sure how granular though, saw 90 so far), and wind contains the correct speed.
So wind speed now works, need to look into adding direction to the app+widget.


Cdi 420 2

 as discussed during the face2face meeting.

as discussed during the face2face meeting.

@struberg as you yourself stated here, this PR should be based on what we agreed on during the f2f. And I am pretty sure there was no notion of @Scope. As far as I recall it as was Antoine said above; that it should "behave like annotated mode except all AnnotatedTypes are discovered"
I think you should adjust the PR accordingly.

It was. And of course we support @Scope scopes. See 6.3. Why would we define how JSR-330 scopes do behave if we do not support them? If we would not support them then we would not have mentioned them at all or even explicitly defined that we do not support them.
Again: @Scope are not part of BeanDefiningAnnotations because there have been problems with it's use in implicit bean archives (jars without any beans.xml). Iirc it was about spring and guice jars.
But IF there is a beans.xml then we perfectly support them since CDI-1.0. And not by accident but very intentionally!

An example of code which explicitly uses @Scope (and not @NormalScoped)
https://github.com/vaadin/cdi/blob/master/vaadin-cdi/src/main/java/com/vaadin/cdi/UIScoped.java
The reason according to Vaadin guys is that they had problems with equals and hashCode (due to our proxies) and thus they opted for non-normalscoped.

Mark, I think we should rather update the 12.4.1. Type discovery section and say something like: If an AnnotatedType fired for a type from a trimmed bean archive is not annotated with ... it is automatically vetoed.

@struberg in this PR, can you also include a beans_2_0.xsd with your addition to it?  Or should someone else introduce the xsd so that it can be modified in this PR?

you're right @johnament. I added https://issues.jboss.org/browse/CDI-638 to track this new xsd


Make a pull request to Gym Retro to add support for Python 3.9

Proposal
Your project has the required updates to support Python 3.9, 3.10, and 3.11.
I propose you make a pull request to Gym Retro to add support for at least Python 3.9
https://github.com/openai/retro
Motivation
Gym Retro is a great project that allows to use classic games from consoles like Sega Genesis or SNES for machine learning. Currently it only supports Python 3.8 which is a problem because even conservative distros like Debian stable are already using Python 3.9.
Pitch
Make a pull request to Gym Retro to enable support for at least Python 3.9
Alternatives
No response
Additional context
No response
Checklist

[X] I have checked that there is no similar issue in the repo

Hi, the farama foundation is not OpenAI nor currently helping support RetroStable. Therefore, I would raise an issue on either of those projects not on gymnasium.

Thank you for your answer. I already raised an issue with Gym Retro project but no answer:
https://github.com/openai/retro/issues/274
https://github.com/openai/retro/issues/274

I would put an issue on the stable retro repo or make a PR to solve the issue. I don't know a good reason why they cannot be supported as python versions

Ok, thank you! :)


keyboardintterupt fix.

i think this should fix it, please test it!

Do keyboard interruptions exit standard shells (bash,zsh)? No. Also I got confused.