Custom environment variables for each language-server.

I use LSP mainly with python and python-language-server.
The server uses sys.path of my local python 3.6 installation to look for modules to provide completions or tooltips for. I would like to extend the lookup paths, so python-language-server can provide completions for sublime.py and sublime_plugin.py (and others), too.
There are 2 options to do that:

Extend the workspace/didChangeConfiguration API to push custom environment variables to python-language-server. This requires both LSP and server changes.
Extend the os.environ passed to POpen by PYTHONPATH=C:\Apps\Sublime environment variable.

While PYTHONPATH could be added as global environment variable in Windows, it might be useful to be able to set different variables/values per project and/or language-server.
The following proof of concept just adds the ST install dir to the os.environ and passes the result to subprocess.POpen.
        env = os.environ
        env["PYTHONPATH"] = os.path.dirname(sublime.executable_path())
        process = subprocess.Popen(
            server_binary_args,
            stdin=subprocess.PIPE,
            stdout=subprocess.PIPE,
            stderr=subprocess.PIPE,
            cwd=working_dir,
            env=env,
            startupinfo=si)

Tada: LSP provides completions for sublime.py and sublime_plugin.py.
The question/request now is:
Could you/we add an "environment" key to the global/project specific client configuration, which contains a list of environment variables to add to os.environ?
Example:
      "pyls":
      {
        "command": ["pyls"],
        "environment": {
          "PYTHONPATH": "C:\\Apps\\Sublime;C:\\projects\\libs",
        },
        "scopes": ["source.python"],
        "syntaxes": ["Packages/Python/Python.sublime-syntax"],
        "languageId": "python"
      },

I think these kinds of extra vars should ideally be handled through experimental fields in the protocol. But it requires both the server (pyls) as well as the client (we) to set it up. There's an experimental field in the ClientCapabilities structure as well as in the ServerCapabilities structure. I'm imagining a dict for the experimental field with a key named extra_search_paths or something and whose value is a list of paths. But the environment variables method works too for now.

Using the protocol would be the cleanest solution - no question.

This looks immediately useful.
Sublime already makes an updated PATH available to launch subprocesses, is this not true for other environment variables?
If I launch
PYTHONPATH=/path/to/sublimepkg sublime

would the env inherited by the subprocess also have PYTHONPATH?
Either way, it seems reasonable to me that a parallel to the build system's env variable be exposed. If this means hardcoding the path to sublime.executable_path() in the project file that's probably ok?

You are correct. A globally created PYTHONPATH would be loaded and passed to POpen. The issue is, I do not want to generally publish ST's python3.3 libraries to my python 3.6 interpreter. It might cause conflicts and avoidable trouble. Therefore I need a way to locally send custom variables to pyls, so only Jedi knows about these paths - just to know where to look for completions. Maybe someone else who is writing comprehensive C programs, needs completions for files not within a global path variable. They may be required for single projects only.
But as LSP is not for python only, this issue tries to ask for a very general way to pass custom variables/configuration to a language-server. I don't know what other language-servers need.
The common question is: Is there a way to let the (each) language-server know about certain search paths to use for library lookups, which are not part of the current workspace.
My first idea therefore was the didChangeConfiguration API, but I do know too little about the protocol details to judge which solution is the best or is intended to be used. I just found the env thing working with little changes needed.
I even have a hacky little implementation, which adds the "environement" key to the client config, but this might interfere with your work on the configuration manager.

Anything you add under "settings" under a client key is sent to the server immediately after startup, see https://github.com/tomv564/LSP/blob/bb469648766ce5ae3606747811b643e666e3274d/main.py#L995-L999
You would have to agree with the python language server on the setting name and how it is to be used.
As you might imagine, LSP does not dictate how to override library lookups for all language servers

I never intended a "python" specific but a standard way of  passing configurations. 😉
If I understand correct, the pyls would get the configParams object with one settings child? All settings would be located in configParams["settings"]?
Looks very similar to Microsoft's example server.
https://code.visualstudio.com/docs/extensions/example-language-server
// The settings interface describe the server relevant settings part
interface Settings {
	lspSample: ExampleSettings;
}

// These are the example settings we defined in the client's package.json
// file
interface ExampleSettings {
	maxNumberOfProblems: number;
}

// hold the maxNumberOfProblems setting
let maxNumberOfProblems: number;
// The settings have changed. Is send on server activation
// as well.
connection.onDidChangeConfiguration((change) => {
	let settings = <Settings>change.settings;
	maxNumberOfProblems = settings.lspSample.maxNumberOfProblems || 100;
	// Revalidate any open text documents
	documents.all().forEach(validateTextDocument);
});

Sounds good.

@deathaxe , I like the idea of adding an env dict to the client settings for extending / overriding the current env. Would that solve your problem? Want to do up a PR?

I'll have a look on it. Should not be too complicated.
Btw.: I'd suggest to add all settings keys such as "settings", ... as empty objects to the default config so user's can quickly see available elements to work with.


Support ExternalAttributes for ZipArchives

Understanding that SharpCompress is not built on top of System.IO.Compression I only point out the .NET Core implementation as a point of reference.
This is currently available in .NET Core 2.x (not .NET Standard 2.x for some reason)
https://github.com/dotnet/corefx/pull/18565
https://github.com/dotnet/corefx/issues/17067
It's already somewhat accounted:
https://github.com/adamhathcock/sharpcompress/blob/master/src/SharpCompress/Writers/Zip/ZipCentralDirectoryEntry.cs#L85-L86

Yeah probably just needs fleshing out.  Some copy/paste from DNC's code would work too :)


need help in modifying code for 3D slice image

Dear All,
So I have some basic experience with frcnn and 3D CNN classifier. Wanted to try to create 3D frcnn code. Was able to modify the code for the purpose quite a bit. Having a hard time to modify the data_generator.py part and more specifically the calc_rpn function. I am trying to detect nodes in medical xray slices. Any help in where to look would also be much appreciated.

@SaurinRawal
Hi Saurin, I don't think you need to modify calc_rpn when trying 3D convolutions.
You should be able to pass the output of your 3D CNN to the rpn function..
def rpn(base_layers,num_anchors):

    x = Convolution2D(512, (3, 3), padding='same', activation='relu', kernel_initializer='normal', name='rpn_conv1')(base_layers)

    x_class = Convolution2D(num_anchors, (1, 1), activation='sigmoid', kernel_initializer='uniform', name='rpn_out_class')(x)
    x_regr = Convolution2D(num_anchors * 4, (1, 1), activation='linear', kernel_initializer='zero', name='rpn_out_regress')(x)

    return [x_class, x_regr, base_layers]

then small modification will be minimal.


GSG with kubeadm

Would be awesome to get a multicluster GSG into Cilium doc for kubeadm.

Link to official doc is here: https://cilium.readthedocs.io/en/stable/gettingstarted/k8s-install-kubeadm/


After ~5 seconds cannot save or open files from project tree sidebar

Prerequisites

[X] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
On only one of the many projects that I use atom for, when I open the editor (as I usually do) from the project directory with atom . it will open and appear to be fine, and I'll be able to open a file in the first few seconds and even edit it. Then, after that brief period ends, I cannot open files from the project tree sidebar. I will click on the files and they just won't open. Files that are open cannot be saved.
I thought this might be an issue where atoms state got corrupted somehow, so I ran with the --clear-window-state flag, tried in --safe mode, etc. I even tried cloning the repository of the project I'm trying to work on into a new directory and it still failed. I think it must have something to do with the project itself, and I have no idea how to troubleshoot that further.
When I've tried this on another computer (running Ubuntu) it runs fine and I see no problem, so it seems like some combination of the project, atom state, and the OS.
Steps to Reproduce
(can only reproduce on my machine)

Clone project repo
atom .
Try to edit a couple files

Expected behavior:
The edits to be saved
Actual behavior:
Files cannot be saved or opened after the first few seconds
Reproduces how often:
Every time I open the project on my Arch Linux machine.
Versions
Atom    : 1.38.1
Electron: 4.1.4
Chrome  : 69.0.3497.128
Node    : 10.11.0

OS: Arch Linux
Additional Information

Electron: 4.1.4

Thanks for reaching out!
We've determined that you are currently using an unofficial build or distribution of Atom. Often these customized versions of Atom are modified versions of the Stable branch of Atom with mismatched versions of built-in components. These updated components are taken from the Beta channel or master branch and then injected into the Stable version and a new Atom package is generated. Because of the way Atom is constructed, using these mismatched components can cause mysterious and hard-to-diagnose problems. You can find out more about why we chose to not support unofficial distributions here.
You can find instructions for installing an official version of Atom in the Flight Manual. If you are still seeing this problem on an official build please file a new issue, thanks!

Hello! Sorry, I had no idea I was using an unofficial build of atom. Is the version that's in the arch linux official repo not an official build?

I think I'm on an official build now, and I'm still seeing this problem.
atom --version gives
Atom    : 1.39.1
Electron: 3.1.10
Chrome  : 66.0.3359.181
Node    : 10.2.0


More flexibility if minView is hour

Thanks for the PR - closing because tests are failing, PR was submitted to master, and it's not clear why this change is needed.
See https://github.com/dalelotts/angular-bootstrap-datetimepicker/blob/master/contributing.md


As a user, I would like to have just one top menu across all the qiskit.org domain pages

Right now, the top menu under qiskit.org change between the home page and the documentation page. In addition, inside the documentation page, the top menu changes 12 times. We need to have just one top menu in order to improve the UX and also the maintainability (just one place to update instead of 13).
Needed tasks:

[x] [Design] Create a prototype for the top menu
[ ] [Dev] Implement the top menu as web component and serve it on a cdn
[ ] [Dev] Add the web component to the qiskit.org project
[ ] [Dev] Add the web component to the qiskit sphinx theme
[ ] [Dev] Remove top menu from the Qiskit/qiskit repo
[ ] [Dev] Remove top menu from the Qiskit/qiskit-nature repo
[ ] [Dev] Remove top menu from the Qiskit/qiskit-finance repo
[ ] [Dev] Remove top menu from the Qiskit/qiskit-optimization repo
[ ] [Dev] Remove top menu from the Qiskit/qiskit-machine-learning repo
[ ] [Dev] Remove top menu from the Qiskit/qiskit-metal repo
[ ] [Dev] Remove top menu from the Qiskit/qiskit-dynamics repo
[ ] [Dev] Remove top menu from the Qiskit/qiskit-experiments repo
[ ] [Dev] Remove top menu from the Qiskit/retworkx repo
[ ] [Dev] Remove top menu from the Qiskit-Partners/mthree repo
[ ] [Dev] Remove top menu from the Qiskit-Partners/qiskit-ionq repo

Transferring this issue here to build it into the next sprint for the Digital Team so that it has more visibility.


customizing colorbar range

It would be nice to have the possibility to customize the colorbar value range from the MSUI. There are of course possibilities to  use  different plot styles, but the possibility to set the colorbar range explicitly would enhance the usability. One could for example zoom into a region with some feature visible only by moderate number changes.
This may not be the  OGC standard, but one would only need to communicate two numbers (min, max) to the server.
Is this possible?

this means individual rendered plots per user and individual caching on the server. From the perspective of the server, this has not any users, only requests. I would suggest to  offer a selection so that not any number can be entered.

If caching would  be a problem for individual plots, could switch it off for such individual plots?

This would require adding a suitable user interface, adding custom fields to to the network transfer, and changing all existing plotting layers to use the new, optional parameters.
In principle straight forward with the exception of a useful UI option for this. But an astonishing amount of work.

This is postponed after implementation of https://open-mss.github.io/develop/GSOC/figure_objects


Milking cows not working in 1.10

Using turtle.place() with a bucket in the selected slot used to milk cows in front of the turtle. This don't work in 1.10

I'd presume this is a CC but but I'll have a look at fixing it in unborked.

Fixed in the latest version of Unborked. Should be released in the next couple of days.


Leaflet KML could not load icon

I tried to use Leaflet KML plugin the load the following simple place mark KML that has the href of the icon.  I have tried the following for the hrefs:
icon21.png
kmls/icon21.png
http://localhost:8086/app/c2/kmls/icon21.png
where: app/c2 is the codebase of the webapp.
kmls - is the directory where the kml and the icon are located
I saw the icon showed up on the map but it was the default icon and not the actual icon.  I have no ideas what is the problem.  Any help on this is greatly appreciated.
Regards,
Tam

please, reopen the bug
leaflet KML plugin does not understand placemark style placed within the Placemark element. Look at the simple example
http://katrine.lpi.ru/kalenkov/leaflet/style-kml.html
http://katrine.lpi.ru/kalenkov/leaflet/style.kml
There are two placemarks defined in the above KML file.

Placemark "place1"
Style of the placemark "place1" is defined outside the Placemark and the correct icon is shown on the map.

Placemark "place2"
Style of the placemark "place2" is defined within the Placemark and the leaflet shows default icon on the map instead of the icon defined in the KML file.

@kalenkov KML specs seems to disallow Style in Placemark tag :
https://developers.google.com/kml/documentation/kmlreference#placemark
https://developers.google.com/kml/documentation/kml_tut#placemarks
or am i wrong ? (closing it, feel free to open if needed)

Noooooo
KML specs allows StyleSelector in Placemark tag
https://developers.google.com/kml/documentation/kmlreference#placemark
According to StyleSelector description
https://developers.google.com/kml/documentation/kmlreference#styleselector
StyleSelector is an abstract element and cannot be used directly in a KML file. It is the base type for the Style and StyleMap elements.
So I conclude that the Style element can be used in Placemark.

ok my bad, so we have to handle style defined in features now... patch welcome

@kalenkov @tt5430 can you test issue_131 branch ? it works for me

Yes, now it works as expected
http://katrine.lpi.ru/kalenkov/leaflet/style-kml-131.html
Many thanks!


Implement support for cloning up to a recovery target specified by name

In all supported versions of PostgreSQL it is possible to specify the recovery_target_name option in recovery.conf to stop recovery when the named recovery point is reached. Such a point can be created with the call to pg_create_restore_point() on the master. Named recovery points are easier than precise timestamps to remember and interpret by humans .
Implementing support for named recovery points in the operator is easy, but constitutes only half of the deal: the Spilo docker image should be modified as well. Since WAL-E is currently called to fetch the specific base backup based on the timestamp passed to it, we need to figure out how to work around this timestamp requirement.
One idea is to take the assumption that the named recovery point always belongs to the latest basebackup; the other one is to specify both the recovery point and the approximate timestamp. Yet another one is to always start from the earliest available base backup, although that could make the recovery process significantly longer than necessary.

Sounds like WAL-e could use a feature here to allow specifying a named
recovery point in backup-push? If it were included in the backup metadata,
it could be selected easily. I guess it would have to be taken right after
taking the backup, though.
On Thu 5. Jul 2018 at 12:49, Oleksii Kliukin<EMAIL_ADDRESS>wrote:

In all supported versions of PostgreSQL it is possible to specify the
recovery_target_name option in recovery.conf to stop recovery when the
named recovery point is reached. Such a point can be created with the call
to pg_create_restore_point() on the master. Named recovery points are
easier than precise timestamps to remember and interpret by humans .
Implementing support for named recovery points in the operator is easy,
but constitutes only half of the deal: the Spilo docker image should be
modified as well. Since WAL-E is currently called to fetch the specific
base backup based on the timestamp passed to it, we need to figure out how
to work around this timestamp requirement.
One idea is to take the assumption that the named recovery point always
belongs to the latest basebackup; the other one is to specify both the
recovery point and the approximate timestamp. Yet another one is to always
start from the earliest available base backup, although that could make the
recovery process significantly longer than necessary.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zalando-incubator/postgres-operator/issues/335, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAvSvQyymZ57Uhae8XFCOKgtz2YBTjyrks5uDe9HgaJpZM4VDqjs
.

Right, but WAL-E has no way of figuring this out. I assume the label is stored internally in the WAL file and doesn't affect any visible properties of the file, such as its name.


Provide persisted model to unblock inference

Issue #, if available:
Description of changes:
Provide persisted model to unblock inference if user meet problem in training chapter.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@arun-gupta @dalbhanj

Can't we put this artifact into the workshop content, rather than building an external dependency?

@brentley, I'm guessing the size of model is big. This is temporary workaround until we figure out the intermittent issue with this chapter.

@brentley @dalbhanj
Good point. It would be better to host in the workshop. Otherwise, we have to maintain external sources. I will try to reduce the model size and then create a follow up PR.


fix(plugin): pass context in psql command

We were not passing the context from the kubectl cnpg plugin call to
the kubectl command executed when calling psql, this PR fix that by
adding a new variable to the plugin that has the Kubernetes context
used to call the plugin.
Closes #6227 #4332

/test deph=push

In addition to the context, there are several Kubernetes configuration flags that need to be included when calling the kubectl exec command. These flags are:
 kubectl options
The following options can be passed to any command:

    --as='':
        Username to impersonate for the operation. User could be a regular user or a service account in a namespace.

    --as-group=[]:
        Group to impersonate for the operation, this flag can be repeated to specify multiple groups.

    --as-uid='':
        UID to impersonate for the operation.

    --cache-dir='/Users/huyantian/.kube/cache':
        Default cache directory

    --certificate-authority='':
        Path to a cert file for the certificate authority

    --client-certificate='':
        Path to a client certificate file for TLS

    --client-key='':
        Path to a client key file for TLS

    --cluster='':
        The name of the kubeconfig cluster to use

    --context='':
        The name of the kubeconfig context to use

    --disable-compression=false:
        If true, opt-out of response compression for all requests to the server

    --insecure-skip-tls-verify=false:
        If true, the server's certificate will not be checked for validity. This will make your HTTPS connections
        insecure

    --kubeconfig='':
        Path to the kubeconfig file to use for CLI requests.

    --log-flush-frequency=5s:
        Maximum number of seconds between log flushes

    --match-server-version=false:
        Require server version to match client version

    -n, --namespace='':
        If present, the namespace scope for this CLI request

    --password='':
        Password for basic authentication to the API server

    --profile='none':
        Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex)

    --profile-output='profile.pprof':
        Name of the file to write the profile to

    --request-timeout='0':
        The length of time to wait before giving up on a single server request. Non-zero values should contain a
        corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests.

    -s, --server='':
        The address and port of the Kubernetes API server

    --tls-server-name='':
        Server name to use for server certificate validation. If it is not provided, the hostname used to contact the
        server is used

    --token='':
        Bearer token for authentication to the API server

    --user='':
        The name of the kubeconfig user to use

    --username='':
        Username for basic authentication to the API server

    -v, --v=0:
        number for the log level verbosity

    --vmodule=:
        comma-separated list of pattern=N settings for file-filtered logging (only works for the default text log
        format)

    --warnings-as-errors=false:
        Treat warnings received from the server as errors and exit with a non-zero exit code

@mnencia Do you think we should address this in this pull request, or a separate one?

More info
Global Flags for the CNPG Plugin Related to Kubernetes
--as string                      Username to impersonate for the operation. User could be a regular user or a service account in a namespace.
--as-group stringArray           Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
--as-uid string                  UID to impersonate for the operation.
--cache-dir string               Default cache directory (default "/Users/huyantian/.kube/cache")
--certificate-authority string   Path to a cert file for the certificate authority
--client-certificate string      Path to a client certificate file for TLS
--client-key string              Path to a client key file for TLS
--cluster string                 The name of the kubeconfig cluster to use
--context string                 The name of the kubeconfig context to use
--disable-compression            If true, opt-out of response compression for all requests to the server
--insecure-skip-tls-verify       If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
--kubeconfig string              Path to the kubeconfig file to use for CLI requests.
-n, --namespace string               If present, the namespace scope for this CLI request
--request-timeout string         The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests. (default "0")
-s, --server string                  The address and port of the Kubernetes API server
--tls-server-name string         Server name to use for server certificate validation. If it is not provided, the hostname used to contact the server is used
--token string                   Bearer token for authentication to the API server
--user string                    The name of the kubeconfig user to use

@mnencia Do you think we should address this in this pull request, or a separate one?

Let's open a new ticket for the other arguments.

/ok-to-merge kubectl plugin only code


Make link to service relative to environment

Currently the "view service" link in the admin app always points at live. It should be relative to the environment that the app is being used it (so that it can be tested).
Actual: https://www.digitalmarketplace.service.gov.uk/service/5126395806089216
Expected: https://preview.development.digitalmarketplace.service.gov.uk/service/5126395806089216
Similar to: https://www.pivotaltracker.com/story/show/94162812

The expected path doesn't match the code but it does redirect to that one so :+1:


Angular SDK: more type changes

@egilkh Can you please rebase the other PRs in order to continue with the approval/merging process?

hey @pablotransifex! On it :)


PolylinePipeline.generateArc accepts empty array

This fixes some minor issues with the PolylinePipeline I found while working on the measurement widget.

PolylinePipeline.generateArc works with positions = []
PolylinePipeline.removeDuplicates returns the input array if no duplicates were found instead of returning undefined.  (Every place where this function is called did this anyway.)

And while I was at it, I changed PolygonPipeline.removeDuplicates to call PolylinePipeline.removeDuplicates then check to see if the first and last points are equal.  This eliminates some duplicated code.

@hpinkos Looks good. Just the one comment.


Packages with $pkgAllowsFullContentSwap = true; not loading sample content

In concrete5 <IP_ADDRESS> packages with $pkgAllowsFullContentSwap = true; fail to load the sample content with the error:
Class application does not exist
The theme, blocks, single pages etc all install but not the content.

Thank you. This is fixed in release/<IP_ADDRESS>. https://github.com/concrete5/concrete5/commit/5ea4c4d9a6b2c5abed3303fb0629110c18d253fb

Wow, that was quick. Nice one.


Update gsheets.md

Gsheets fast follows
What are you changing in this pull request and why?

Checklist

[ ] Review the Content style guide so my content adheres to these guidelines.
[ ] For docs versioning, review how to version a whole page and version a block of content.
[ ] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

Adding or removing pages (delete if not applicable):

[ ] Add/remove page in website/sidebars.js
[ ] Provide a unique filename for new pages
[ ] Add an entry for deleted pages in website/vercel.json
[ ] Run link testing locally with npm run build to update the links that point to deleted pages

confirmed i can see the info button! shipping now and thank you s much @rpourzand and @DevonFulcher !


Form Modeller works

Fixed issue generating dynamic forms on third party components.

Added hability to add value change handlers on dynamic forms in order to do callbacks when a input value changes

Unbinding nested when master form is unbinded

Moved renderer to MVP

Added testing

Added CRUD Component

Fixed creation issue on CRUD component

Fixed UI issues on Field Rendering

Added support for ListBox on dynamic forms

Added ability to configure ListBoxes with static values or dynamic by configuring data provider

Added ability to configure SubForm / Multiple Subform nested forms

Added ability to configure Table Columns on Multiple Subforms

Fixed errors caused by some Errai API changes

Added multiple subform ability to be readonly

Added support to RadioGroups

Fixed NPE

Changed Field Label

Modifications to make static Livespark apps use generic crud

Refactoring to use the generic crud component on multiple subform for static forms.

Refactoring source creation to use CRUD Component

Fixed issue loading the workbench repos

Updated webapp

Moved CrudComponent to MVP

Fixed Issues

Added testing

Fixed tests

Adapting CRUD component to the new UF Table component

Fixed error on App StartUp

Fixed errors on static source generation (removed unused annotations, fixed ErraiApp.properties generation, fixed wrong classNames...)

new livespark showcase:

Added Form Modeller stuff
Fixed form validation error
Fixed on source generation Bugs
Removed unused modules
Refactored modules
Fixed source ErraiApp.properties generation
Fixed issue initializing MultipleSubformFields default table columns.

Backend classes where added as serializableTypes & bindableTypes

Restored LiveSpark app deployments

UF-295 - Upgrading lucene to 5.3.1

Changed modules order

+1, thanks, esp. for get master fixed up again!

master: 865914e4456b796328f27c1e1c5c8c25578c885d


get_dofs(nodes: Any)

Hi,
I am trying to call the get_dofs() function on listed meshes boundary nodes like:
basis.get_dofs(nodes={'bnodes_a','bnodes_b'})
The result is 'NotImplementedError()'
The bnodes are not on a trivial path; thus, extracting them by position query would be difficult.
I appreciate any suggestions.
Regards
MichaelT

We don't have a way to tag (give a name) seta of nodes and nodes kwarg is for extracting DOFs for single points at a time.
Perhaps you mean: facets={'bnodes_a', 'bnodes_b'}) ?

How is your basis defined?
Does ex28 work for you?  It loads a mesh from a file, where the mesh has named boundaries.
https://github.com/kinnala/scikit-fem/blob/44916dc9551dcf5a3b12586080d61e18dc39dabe/docs/examples/ex28.py#L72
then accesses a subset of those
https://github.com/kinnala/scikit-fem/blob/44916dc9551dcf5a3b12586080d61e18dc39dabe/docs/examples/ex28.py#L107

Oh I missed the bit about nodes.  Do you actually want nodes?  Or just to access predefined boundaries?

Thank you All for the prompt response. I have not expected them ... so fast!!!!
as per doc nodes kwarg is listed in the func description
get_dofs(facets: Any | None = None, elements: Any | None = None, nodes: Any | None = None, skip: List[str] | None = None)
I will try playing with ex28.py
Regards
MichaelT

Perhaps you can try also: help(basis.get_dofs)

Hi All,
@ D = basis["heat"].get_dofs([b for b in mesh.boundaries if b.endswith("-inlet")])
I use a similar syntax on the mesh. From a custom utility plot, I know it's every node, number, position, etc.
I must admit that  I am 2 weeks old skfem-infant still crawling on all four; thus, there are many mysteries at the front of my eyes.
One confusion is that the list of nodes from:
mesh.boundaries['bnodes_a']
produces a different list than the one from (for the ElementTriP1())
basis.get_dofs(['bnodes_a']).nodal_ix
... but hey!
basis.get_dofs(['bnodes_a']).facet_ix
... is the perfect match!!! … and even better for TriMorley() I have got _‘u_n’_s
basis.get_dofs(['bnodes_a']).facet[‘u_n’]
Thus, ... there are a lot of puzzles to put into place still ... in the skfem environment, which looks accommodating and promising!
Regards
MichaelT

In scikit-fem, you will need to carefully distinguish between different topological entities (e.g., nodes, facets) of the mesh AND "degrees-of-freedom" (DOF) which are, in general, different. Especially if you use an element such as ElementTriMorley which has both, nodal DOFs and facet DOFs.
For example, mesh.boundaries['bnodes_a'] does not produce a list of nodes but a list of facets. On the other hand, basis.get_dofs(['bnodes_a']).XXX produces a list of DOFs. Some discussion about this topic can be found from the documentation: https://scikit-fem.readthedocs.io/en/latest/advanced.html#indexing-of-the-degrees-of-freedom

Hi,
As per gdmcbain advice, I have played a little bit with ex28.
The extraction of boundaries has worked as a charm:
        _boundaryIdxes = basis.get_dofs([boundaryName]).nodal_ix
        ax.plot(*mesh.p[:, boundaryIdxes], color=boundaryColor, linewidth=2*boundaryLine, )_

However, while attempting to visualize subdomains … I encountered some problems I could not comprehend. I assumed that each subdomain index addresses facet holding indexes of two nodes (defining the facet segment). I used the code like:
domainIdxes  = mesh.subdomains[domainName]
sIdxes  = mesh.facets[0][domainIdxes]
eIdxes  = mesh.facets[1][domainIdxes]
seIdxes = [i for indexes in zip(sIdxes, eIdxes) for i in indexes]
ax.plot( *mesh.p[:, seIdxes], domainColor, markersize=domainMarker, label=domainName, linewidth=subdomainlinewidth )
The resulting plot … is a little bit messy! I do not know why. Is my assumption correct for organizing data? Is there a better/proper way of extracting subdomains? I am attaching ex28_basis_heat.png file with a visual representation of my test play.
Regards and HNY
MichaelT

Subdomains are element indices, not facet indices. This does not make sense since you are slicing facets using element indices:
domainIdxes = mesh.subdomains[domainName]
sIdxes = mesh.facets[0][domainIdxes]

ooohhhhh ! Thanks

uuuuuuFfffffff !!!
The code is ... well ... certainly not very efficient ... but it

works.
_for subdomain, domainColor in zip(mesh.subdomains, colLst):
Elements centroids
domain_mesh  = mesh.restrict(mesh.subdomains[subdomain])
domain_basis = Basis(domain_mesh, basis.elem)
domain_basis.get_dofs(elements= lambda x: ax.plot(x[0], x[1], domainColor,    markersize=markersizeM, label='elements'))
Elements facets
mesh_t2f      = mesh.t2f[:, mesh.subdomains[domainName]]domain_facets = mesh.facets[:,mesh_t2f]
sIdxes  = domain_facets[0]
eIdxes  = domain_facets[1]
seIdxes = [i for indexes in zip(sIdxes, eIdxes) for i in indexes]
ax.plot( *mesh.p[:, seIdxes], domainColor, markersize=domainMarker, label=domainName, linewidth=linewidthM )_
Thank you for the valuable advices.
Regards
MichaelT


Fixed some bugs

Fixed compilation bugs and some errors, found with the help of clang static analyzer.

Hi!
File me_shocked.pro.user.2.7pre1 has no use in this project, it is just qt
things :) So probably should have added it to .gitignore list. And In
canvaswidget - you are right, it makes no sense. Happy coding!
2016-11-26 2:41 GMT+03:00 Ihor Kroosh<EMAIL_ADDRESS>
@tilast requested changes on this pull request.
thanks a lot, @homesick94 https://github.com/homesick94, looks cool
you can add some compilations instructions readme as well
In svgfigureparser.cpp
https://github.com/tilast/courseWork/pull/1#pullrequestreview-10206480:

float c = delta / length;

//float c = delta / length; - unused variable

you can just remove them if they are unused
In me_shocked.pro.user.2.7pre1
https://github.com/tilast/courseWork/pull/1#pullrequestreview-10206480:

@@ -0,0 +1,255 @@
+

what is this file for?
In canvaswidget.cpp
https://github.com/tilast/courseWork/pull/1#pullrequestreview-10206480:

@@ -130,12 +130,16 @@ void CanvasWidget::mousePressEvent(QMouseEvent *event) {

 selected = NULL;
 transformation = NONE;

if (!shapes.size ())

 return;

this condition looks to do not have any sense b/c there will not be any
loop if size is 0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tilast/courseWork/pull/1#pullrequestreview-10206480,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARw_IAe23J011b9wCiS4qW62chvb7dy8ks5rB3IbgaJpZM4K6em9
.


linting improvements and misc fixes

fixes #120
fixes #121
adds an npm command to lint scss in vue files with npm run lint:css
adds in default configs for eslint and stylelint
fixes a number of small things that those linters were complaining about

yuck. failed Travis build. I'll have to check that out tomorrow.

@jcraitz Also, one other small thing. Several of the .js files have linting directives in them, like https://github.com/suma-project/Suma/pull/139/files#diff-154cb913287954bf5ce1c6897b725edeR26. These directives should be removed from the .js files and declared within the linting config so that we can get an easy global view of every directive being applied and so we can make sure we are applying them consistently across different files.
This is also related to the way that you can handle other kinds of declarations like globals.


Valid TX_ACKs are not decoded

The SX1302 PacketForwarder Semtech GWMP protocol defines all fields in the txpk_ack JSON-structure in the TX_ACK packet as optional. (source: https://github.com/Lora-net/sx1302_hal/blob/master/packet_forwarder/PROTOCOL.md#55-tx_ack-packet)
The result is that valid packets such as {"txpk_ack":{}} are not decoded and an error is thrown. In practice we also see {"txpk_ack":{"error":""}} but we can debate if that's a valid packet or not.
Test to show issue:
fn tx_ack_deser_minimal() {
    let json = "{\"txpk_ack\":{}}";
    let parsed: Data = serde_json::from_str(json).expect("Error parsing tx_ack");
    if let Err(_) = parsed.get_result() {
        assert!(false);
    }
}

resolved in #78


LangChain (JS) - RetrievalQAChain does not exist

In the RetrievalQAChain example (https://js.langchain.com/docs/modules/chains/index_related_chains/retrieval_qa) the code example imports RetrievalQAChain from "langchain/chains". However, RetrievalQAChain does not appear to exist in the langchain package.
Similarly, in the same code example, the method .asRetriever() is called on a vectorStore, yet ".asRetriever() is not a property of HNSWLib"
Here is the code from the example found at https://js.langchain.com/docs/modules/chains/index_related_chains/retrieval_qa:
import { OpenAI } from "langchain/llms";
import { RetrievalQAChain } from "langchain/chains"; // <--- Module '"langchain/chains"' has no exported member 'RetrievalQAChain'
import { HNSWLib } from "langchain/vectorstores";
import { OpenAIEmbeddings } from "langchain/embeddings";
import { RecursiveCharacterTextSplitter } from "langchain/text_splitter";
import * as fs from "fs";

export const run = async () => {
  // Initialize the LLM to use to answer the question.
  const model = new OpenAI({});
  const text = fs.readFileSync("state_of_the_union.txt", "utf8");
  const textSplitter = new RecursiveCharacterTextSplitter({ chunkSize: 1000 });
  const docs = await textSplitter.createDocuments([text]);

  // Create a vector store from the documents.
  const vectorStore = await HNSWLib.fromDocuments(docs, new OpenAIEmbeddings());

  // Create a chain that uses the OpenAI LLM and HNSWLib vector store.
  const chain = RetrievalQAChain.fromLLM(model, vectorStore.asRetriever()); // <--- Property 'asRetriever' does not exist on type 'HNSWLib'
  const res = await chain.call({
    query: "What did the president say about Justice Breyer?",
  });
  console.log({ res });
  /*
  {
    res: {
      text: 'The president said that Justice Breyer was an Army veteran, Constitutional scholar,
      and retiring Justice of the United States Supreme Court and thanked him for his service.'
    }
  }
  */
};

Initial example code e.g. the Quickstart worked without issue, has the library updated and caused the docs to be outdated?

What version of LangChain are you running?  I am on 0.0.45 and not getting that error.  I had something similar happen when ChainValues and deleted my node_modules and reinstalled to resolve the issue.

What version of LangChain are you running? I am on 0.0.45 and not getting that error. I had something similar happen when ChainValues and deleted my node_modules and reinstalled to resolve the issue.

Thanks Hillis, I'm on 0.0.39 so I'll try updating.

Yes this was only introduced recently, if you update it should be available, let us know if not.


VSCode + Live-Share + Omnisharp :: Intelllisense not working for .Net Core projects

VS Code 1.43.2
Windows 10 Pro
Live Share 1.0.1847
Using latest VSCode on Windows 10 Pro (Both Host and Guest)
Live-share is working via cloud relay. Everything works great apart from intellisense. Omnisharp fails with error:
[info]: OmniSharp.Cake.CakeProjectSystem
Detecting Cake files in ''.
[fail]: OmniSharp.WorkspaceInitializer
The project system 'OmniSharp.Cake.CakeProjectSystem' threw exception during initialization.
System.UnauthorizedAccessException: Access to the path 'C:\Documents and Settings' is denied.
Apparently, with live-share the temporary workspace folder is mapped as '/'. But when omnisharp server tries to run, it understands '/' as C root or something.
It means that as a collaborative guest, am unable to use intellisense or do any refactor activity like symbol rename.
Is this scenario not supported or am I missing something?

Thanks for reaching out. Can you give us more details about your scenario? So just to confirm, you are able to use Live share ( share and joining) but only intellisense is not working while in Live Share session ?
Also, your logs may provide us with helpful information. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.

@daytonellwanger assigning to you but feel free to reassign if it is not your area

Are you seeing Omnisharp fail to initialize on the host or the guest? (I'm guessing the guest).

The architecture of Live Share is that the host is responsible for servicing all language service requests, so in theory the guest language services shouldn't have any impact, and in fact, without anything installed on the guest (e.g. Omnisharp), the guest should still get language services. So my guess is that having Omnisharp installed on the guest is actually interfering in some way. So to trouble-shoot: could you try disabling the C# language extension on the guest and seeing if that resolves the issue?

Thanks for the issue. If you're still experiencing problems, please feel free to re-activate and we can take a look!


[Feature] Create login/sign up page

Description
We can create a login/signup page
Screenshots
No response
Checklist

[X] I have checked the existing issues
[X] I have read the [Contributing Guidelines]
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

It's not on the priority list for now since first, we want to create a public e-commerce platform and then will make it user-specific.
So, thanks for raising this issue but it can't be picked up at this time.

This issue can be worked upon now. It's open for contributions.

hey @ShwetKhatri2001
First of all Greateee project man
I would very much like to work on this issue
so can you please assign me the same under codepeak'23
Thank you for considering...... :)

Hey @Albert-2 ! Thanks for showing interest in contributing to this project.
Are you still open to work on this ?

hey @ShwetKhatri2001
yes I am free and intrested too

@ShwetKhatri2001
assign me this issue under codepeak'23
Thank you

Okay, Go ahead. You're assigned. Let me know whenever you need any help.

hey @ShwetKhatri2001
Posted on msg on discord please check it....

Any updates or issues @Albert-2 ? Today is the last day of Codepeak23.

hey @ShwetKhatri2001
Done with changes will make PR by the end of the day

hey @ShwetKhatri2001
i am so sorry you replied my message on discord but i failed to see it
resulting not able to even set up your project
once again so sorry...!

I'll look into this. Assign me

Sure, Go ahead.

it some one working on this issue

I would like to work on this under swoc 2024

Any updates or issues @hollermay ? Please try to complete your changes in the next 3 days.

@ShwetKhatri2001 can I work on this?

😮💨no updates yet..

If not done I can work on this issue

Let's give a chance to other contributors now. Assigning you @IrfanshaikH-7 as you commented next.

I'll give you updates of my works , thank you

Completed in PR #239


Not working well with jQuery Validation

Bootstrap-select doesn't play nicely with the jQuery Validation plugin. When the select element is left empty, the "error" class is properly added, but when the select element becomes valid (non-empty value), the "error" class is not removed. Here's a fiddle:
http://jsfiddle.net/10basetom/4402y5h1/

I found a solution that is acceptable, so closing...
  // Make Bootstrap-select play nicely with jQuery Validation
  $('select.selectpicker').change(function() {
    $(this).valid();
  });

Nice!! i spent some hours trying to find a solution for this issue. Thanks 👍


fix inconsistent search behavior between manage members & invite members

Details
on manage members page:

clear search on Invite button press
clear search on back button press

Fixed Issues
$ https://github.com/Expensify/App/issues/15661
PROPOSAL: https://github.com/Expensify/App/issues/15661#issuecomment-1471258663
Tests

Login with any account
Navigate to Settings > Workspaces > Select any workspace
Go to Manage members
Write something in search input
Click Invite button
Click back button on Invite members page
Verify that search value is cleared on Manage members page

(for web, mWeb)

Navigate to Manage members page directly from deep link (i.e. http://localhost:8080/workspace/F5217E9FAC978E32/members)

Write something in search input

Click back button

Navigate to Manage members page again from Workspace page

Verify that search value is cleared

[ ] Verify that no errors appear in the JS console

Offline tests
Same as Tests step
QA Steps
Same as Tests step

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

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

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://user-images.githubusercontent.com/108292595/228128550-2e26870f-a7fb-45c1-9841-57860c97849d.mov

Mobile Web - Chrome
https://user-images.githubusercontent.com/108292595/228128511-0293c801-c3b6-494c-a0cb-47165ba506ac.mov

Mobile Web - Safari
https://user-images.githubusercontent.com/108292595/228128490-fb86213a-a88e-4a85-bfc2-deff0eb21a3f.mp4

Desktop
https://user-images.githubusercontent.com/108292595/228128447-261f5abb-9e80-44e8-8562-ccd0efa4e8cc.mov

iOS
https://user-images.githubusercontent.com/108292595/228127258-8eed5bb8-54a3-4cdb-9bfc-d7e1760d0bb3.mp4

Android
https://user-images.githubusercontent.com/108292595/228127223-51e38fb3-9eab-4440-9a9d-f624e0793a96.mov

@iwiznia @sobitneupane One of you needs to copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@sobitneupane @iwiznia PR is ready for review

@iwiznia kindly bump for review

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/iwiznia in version: 1.2.92-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/luacmartins in version: 1.2.92-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


readme download links point to alpha5 release

Instead of the new beta2 release

Is this the README inside of the downloaded tarball?

No sorry here's the link - https://github.com/kubernetes/helm#install
Its in the main readme of the kube/helm repo

This must be a GitHub caching error. Mine shows up with Beta.2, and I even downloaded to check the version. I grabbed the source and it is showing Beta.2 in all of the links.

I might have just misread the link last night. Sorry bout that


Name offset and limit better in query params

Probably something like start and page_size ?

Would be good to align pagination API with what @willwhite's been working on. See https://github.com/mapbox/api-core/pull/4492#issuecomment-141131115

@rclark am finding the idea of passing the id of the last object received as start for the next page to be a bit messy / complex to implement in postgres (of course, I could be missing something). Do you think it's okay if I go with a simpler pagination implementation for now and revisit this later?

The API I linked you to was definitely inspired by what's straightforward to do to paginate dynamodb requests. Could you say more about how complex it would be to implement this on postgres? It may be worth the effort to keep consistent with our other APIs, but if its impossible, then its impossible...

@rclark hmm this would be a few separate queries in postgres -- to get object by id, find its position, and then make another offset / limit query using that position .. and I'm not quite sure how to get the position of an element in a query result .. from my knowledge of Postgres, this definitely seems quite awkward and inefficient to do.
/cc'ing @ian29 @geohacker in case I'm missing something and there is a good way to do this
To re-iterate the problem: we want to be able to pass the id of an element to start pagination for -- so for eg. I'd say start=ff56abcde33 and it would return results starting from the passed id.


Question: What about a swappable site model?

Hi, I really appreciate your work.
Having looked into finecms3 for a while now, I came to the conclusion that it suits my needs better than the available alternatives.
However, I would like to be able to swap the site model for a custom build one, possibly based on some AbstractSite model provided by this.
In that custom model I would then be able to add additional fields instead of monkey patching these into the original model and admin thereof, configuring the model in the settings via e.g. FEINCMS3_SITES_SITE_MODEL='app.CustomSite.
E.g. add mixins for standard meta tags or fields for site logo, favicon and whatnot.
Would you be interested in a WIP PR for that? And maybe we can then discuss additional implementation details and flesh out things together?

Hi, thank you! Nice to hear that it's useful.
You're talking about https://github.com/matthiask/feincms3-sites/ , right? Yes, I'm definitely interested in pull requests; maybe you can elaborate a bit what you want to achieve? Or sure, submit a PR if that works better for you!
I'm leaning more and more towards only providing abstract base classes (as you see), not extension frameworks or swappable models. feincms3-sites's Site model is the odd one. Our use cases are better covered by https://github.com/matthiask/feincms3-language-sites/ these days, so maybe there's even the possibility of adding your improvements directly to core if they seem useful to others as well.

Just added the WIP PR. Please have a look.
In my custom site model, I added one additional field for now
class Site(AbstractSite):
    title = models.CharField(
        max_length=100,
        blank=False,
        null=False
    )

What if you just submit a pull request to add the title field with blank=True etc. for now? This would solve the immediate problem and we could (re-)attempt to make the site model swappable later?
I searched a bit. Adding the site FK in a class_prepared signal handler when the field is part of unique_together may be hard. Maybe separating the functionality into helpers and abstract base classes works better, but I don't know for sure.


Piper/rename flavor to fork

What was wrong?

While flavor was a clever name, fork is more accurate.
The Chain subclasses were mixed in under the VM subclasses

How was it fixed?

Renamed flavor to fork for import paths.
Moves the MainnetChain and MainnetTesterChain to live under evm.chains since thats what they are.

Cute Animal Picture
TODO

This should be strictly code re-organization, but extra 👀 to sanity check it would be nice.  @gsalgado

:+1:


page.gobreaks on revisiting the same route, if we have navigated back to main page from that same route.

Description
Consider 2 named endpoints, such as /store and /profile.
After navigating back to / from /store if I click store button to go to /store again it is not working.
but it starts working as expected if I click to visit /store after navigating back from /profile
and same is the case with /profile or any route...
Code example to reproduce the issue:
import flet as ft

def main(page: ft.Page):
    page.title = "Routes Example"
    def go_to_store(e):
        page.go("/store")
        print('Go to Store')
    def route_change(route):
        print('on change start',len(page.views))
        if page.route == '/':
            page.views.append(
                ft.View(
                    "/",
                    [
                        ft.AppBar(title=ft.Text("Flet app"), bgcolor=ft.colors.SURFACE_VARIANT),
                        ft.ElevatedButton("Visit Store", on_click=go_to_store),
                        ft.ElevatedButton('Go to profile', on_click= lambda _: page.go('/profile'))
                    ],
                )
            )
        elif page.route == "/store":
            page.views.append(
                ft.View(
                    "/store",
                    [
                        ft.AppBar(title=ft.Text("Store"), bgcolor=ft.colors.SURFACE_VARIANT)
                    ],
                )
            )
        elif page.route == "/profile":
            page.views.append(
                ft.View(
                    "/profile",
                    [
                        ft.AppBar(title=ft.Text("Profile"), bgcolor=ft.colors.SURFACE_VARIANT)
                    ],
                )
            )
        page.update()
        print('on change end',len(page.views))
    def view_pop(e):
        page.views.pop()
        page.update()
        print('after pop',len(page.views))
    print()
    page.on_route_change = route_change
    page.on_view_pop = view_pop
    page.views.clear()
    page.go('/')

Describe the results you received:
Follow the instructions to reproduce issue by running below code:

Click "visit store" button
Navigate back using <- back button
Click "visit store" button - you should see it not working

But.. Follow below steps to see how to it works after break.

Click "visit store" button
Navigate back using <- back button
Click visit "go to profile" button.
Navigate back to main page.
Click "visit store" button now - you will see it working

Describe the results you expected:

Click "visit store" button
Navigate back using <- back button
Click "visit store" button - It should go to store page

Additional information you deem important (e.g. issue happens only occasionally):
I don't want to reload main page on navigating back, and that's why I replaced the below pasted lines of code with page.update() after pop line in view_pop method
top_view = page.views[-1]
page.go(top_view.route)

Flet version (pip show flet):
Name: flet
Version: 0.21.1
Summary: Flet for Python - easily build interactive multi-platform apps in Python
Home-page:
Author: Appveyor Systems Inc.
Author-email<EMAIL_ADDRESS>License: Apache-2.0
Location: /home/lekshman/bbb/bbb_env/lib/python3.11/site-packages
Requires: cookiecutter, fastapi, flet-runtime, packaging, qrcode, uvicorn, watchdog
Required-by:

Operating system:
Kali Linux - A Debian based OS

If you put print("after pop", len(page.views), "page.route:", page.route) you'll see that after clicking "Back" button route stays the same: /store.
You can do this:
    def view_pop(e):
        page.views.pop()
        top_view = page.views[-1]
        page.go(top_view.route, skip_route_change_event=True)

...but I'm unsure why animation is looking weird.
The reason it "route_change" should be called and view(s) redrawn because a user can start navigation into your app by providing URL to /store or changing that URL manually in the browser address string.

Okay...
skip_route_change_event=True is actually not skipping route_change_event...... I observed route_change method still getting executed.

But Still I managed to stop execution of route_change method with below implementation

import flet as ft

def main(page: ft.Page):
    page.title = "Routes Example"
    def go_to_store(e):
        page.go("/store")
        print('Go to Store')
    def route_change(e):
        print('on change start',len(page.views))
        if page.route == '/':
            if page.views[0].route != '/':
                page.views.clear()
                temp = page.client_storage.get('temp')
                page.views.append(
                    ft.View(
                        "/",
                        [
                            ft.AppBar(title=ft.Text("Flet app "+str(temp)), bgcolor=ft.colors.SURFACE_VARIANT),
                            ft.ElevatedButton("Visit Store", on_click=go_to_store),
                            ft.ElevatedButton('Go to profile', on_click= lambda _: page.go('/profile'))
                        ],
                    )
                )
                page.client_storage.set('temp',temp+1)
        elif page.route == "/store":
            page.views.append(
                ft.View(
                    "/store",
                    [
                        ft.AppBar(title=ft.Text("Store"), bgcolor=ft.colors.SURFACE_VARIANT)
                    ],
                )
            )
        elif page.route == "/profile":
            page.views.append(
                ft.View(
                    "/profile",
                    [
                        ft.AppBar(title=ft.Text("Profile"), bgcolor=ft.colors.SURFACE_VARIANT)
                    ],
                )
            )
        page.update()
        print('on change end',len(page.views))
    def view_pop(e):
        page.views.pop()
        top_view = page.views[-1]
        # page.update()
        page.go(top_view.route, skip_route_change_event= True)
        print('after pop',len(page.views), page.route, top_view.route)
    print()
    page.client_storage.set('temp',1)
    page.on_route_change = route_change
    page.on_view_pop = view_pop
    # page.views.clear()
    page.go('/')

ft.app(target=main)

Okay... skip_route_change_event=True is actually not skipping route_change_event...... I observed route_change method still getting executed.

May I close this issue, as it is not related to non-working of skip_route_change_event=True parameter


refactor: add new action 'release-cn-artifacts'

I hereby agree to the terms of the GreptimeDB CLA
What's changed and what's your intention?

Add new action 'release-cn-artifacts' to make the action of releasing artifacts to cn region idempotent(always can retry);

Refine naming: release-artifacts -> publish-github-release;

Please explain IN DETAIL what the changes are in this PR and why they are needed:

Summarize your change (mandatory)
How does this PR work? Need a brief introduction for the changed logic (optional)
Describe clearly one logical change and avoid lazy messages (optional)
Describe any limitations of the current code (optional)

Checklist

[ ]  I have written the necessary rustdoc comments.
[ ]  I have added the necessary unit tests and integration tests.

Refer to a related PR or issue link (optional)

This PR can be reviewed only after the official release of v0.4.0 to avoid potential failure of the v0.4.0 release due to insufficient testing.


switch etcd storage urls to be kube-apiserver args

Brings us closer in-line with kube-apiserver.  There's no value to a separate config option here.

/retest

/retest

Deletes a bunch of code, what's not to love?
/lgtm


Brotli-compress files with dynamically injected content on-the-fly

WIP

Looking much better. What about v0.mjs's CSE injections?

Didn't want to get started on it until we get amp-geo done right! Feels like this is close enough for me to get started on v0.[m]js now though


fix(wallet-mobile): remove duplicate title

Description / Change(s) / Related issue(s)
Ticket
YOMO-1899

USB should be listed only for Android, on iOS is not possible to use USB.

Also had to revert this change  to fix below issue

Ok


Results with Merlin and AhoCoder, (System is not getting trained well on Accoustic Model)

I used AhoCoder Vocoder instead of WORLD for generating wav. To adapt ahocoder with merlin, I set the BAP to 1, MGC to 40 and LF0 to 1. But acoustic model is converging to under-trained parameters.
So, For epoch 1, Validation error was 124.755600 and at the end of training Validation error was 124.873734. I am training the system with 7500 samples (train:test:validation 70:20:10).
I have trained the system with same data and configuration with WORLD vocoder and obtained good results.
Any help regards to tuning the parameter will be helpful !!
I am sharing log file contents,
2017-06-08 15:35:11,770     INFO           main: training DNN
2017-06-08 15:35:11,770    DEBUG main.train_DNN: Starting train_DNN
2017-06-08 15:35:11,770    DEBUG main.train_DNN: Creating training   data provider
2017-06-08 15:35:14,111    DEBUG main.train_DNN: Creating validation data provider
2017-06-08 15:35:44,810     INFO main.train_DNN: building the model
2017-06-08 15:35:47,192     INFO main.train_DNN: fine-tuning the DNN model
2017-06-08 16:34:41,895    DEBUG main.train_DNN: calculating validation loss
2017-06-08 16:36:19,725     INFO main.train_DNN: epoch 1, validation error 124.755600, train error 118.544495  time spent 3632.52
2017-06-08 17:35:52,687    DEBUG main.train_DNN: calculating validation loss
2017-06-08 17:37:31,993     INFO main.train_DNN: epoch 2, validation error 124.233429, train error 117.376945  time spent 3672.26
2017-06-08 18:37:23,636    DEBUG main.train_DNN: calculating validation loss
2017-06-08 18:39:04,533     INFO main.train_DNN: epoch 3, validation error 124.167480, train error 116.833282  time spent 3692.53
2017-06-08 19:39:00,001    DEBUG main.train_DNN: calculating validation loss
2017-06-08 19:40:41,272     INFO main.train_DNN: epoch 4, validation error 124.307854, train error 116.384827  time spent 3696.73
2017-06-08 19:40:47,345    DEBUG main.train_DNN: validation loss increased
2017-06-08 20:41:12,616    DEBUG main.train_DNN: calculating validation loss
2017-06-08 20:42:56,075     INFO main.train_DNN: epoch 5, validation error 124.414200, train error 115.943253  time spent 3728.72
2017-06-08 20:42:56,075    DEBUG main.train_DNN: validation loss increased
2017-06-08 21:43:36,342    DEBUG main.train_DNN: calculating validation loss
2017-06-08 21:45:19,690     INFO main.train_DNN: epoch 6, validation error 124.683731, train error 115.496056  time spent 3743.60
2017-06-08 21:45:19,715    DEBUG main.train_DNN: validation loss increased
2017-06-08 22:45:57,052    DEBUG main.train_DNN: calculating validation loss
2017-06-08 22:47:41,887     INFO main.train_DNN: epoch 7, validation error 124.897171, train error 115.040901  time spent 3742.17
2017-06-08 22:47:41,887    DEBUG main.train_DNN: validation loss increased
2017-06-08 23:48:31,414    DEBUG main.train_DNN: calculating validation loss
2017-06-08 23:50:17,122     INFO main.train_DNN: epoch 8, validation error 125.163406, train error 114.582947  time spent 3755.23
2017-06-08 23:50:17,122    DEBUG main.train_DNN: validation loss increased
2017-06-09 00:51:20,888    DEBUG main.train_DNN: calculating validation loss
2017-06-09 00:53:06,306     INFO main.train_DNN: epoch 9, validation error 125.482910, train error 114.136086  time spent 3769.18
2017-06-09 00:53:06,307    DEBUG main.train_DNN: validation loss increased
2017-06-09 01:54:14,362    DEBUG main.train_DNN: calculating validation loss
2017-06-09 01:56:00,493     INFO main.train_DNN: epoch 10, validation error 125.751518, train error 113.707466  time spent 3774.18
2017-06-09 01:56:00,494    DEBUG main.train_DNN: validation loss increased
2017-06-09 02:57:10,822    DEBUG main.train_DNN: calculating validation loss
2017-06-09 02:58:56,298     INFO main.train_DNN: epoch 11, validation error 126.665062, train error 115.106544  time spent 3775.80
2017-06-09 02:58:56,299    DEBUG main.train_DNN: validation loss increased
2017-06-09 04:00:06,978    DEBUG main.train_DNN: calculating validation loss
2017-06-09 04:01:52,987     INFO main.train_DNN: epoch 12, validation error 126.231293, train error 114.063744  time spent 3776.68
2017-06-09 05:03:08,415    DEBUG main.train_DNN: calculating validation loss
2017-06-09 05:04:54,512     INFO main.train_DNN: epoch 13, validation error 126.109924, train error 113.193024  time spent 3781.52
2017-06-09 06:06:12,841    DEBUG main.train_DNN: calculating validation loss
2017-06-09 06:07:58,990     INFO main.train_DNN: epoch 14, validation error 125.804138, train error 112.745514  time spent 3784.47
2017-06-09 07:09:14,384    DEBUG main.train_DNN: calculating validation loss
2017-06-09 07:11:00,796     INFO main.train_DNN: epoch 15, validation error 125.375961, train error 112.674545  time spent 3781.80
2017-06-09 08:12:32,620    DEBUG main.train_DNN: calculating validation loss
2017-06-09 08:14:19,672     INFO main.train_DNN: epoch 16, validation error 124.873734, train error 112.769409  time spent 3798.86
2017-06-09 08:14:19,709    DEBUG main.train_DNN: stopping early
2017-06-09 08:14:19,709     INFO main.train_DNN: overall  training time: 998.54m validation error 124.167480
2017-06-08 12:31:00,852     INFO           main: calculating MCD
2017-06-08 12:31:03,568     INFO           main: Develop: DNN -- MCD: 7.401 dB; BAP: 120.750 dB; F0:- RMSE: 14.645 Hz; CORR: 0.461; VUV: 15.763%
2017-06-08 12:31:03,568     INFO           main: Test   : DNN -- MCD: 7.222 dB; BAP: 118.436 dB; F0:- RMSE: 16.234 Hz; CORR: 0.470; VUV: 14.266%

I think with a few modifications you can extend the Merlin to aho-vocoder, for reference, please check how glotthmm vocoder was integrated with its extracted parameters. What are the BAP feats in the case of aho-vocoder? and did you check the copy-synthesis quality with extracted parameters? Some vocoders are highly sensitive to their analysis parameters, if you modify/compress them then you loose the quality significantly.

I was able to train a voice with Ahocoder recently. Mine got to 24 epochs but the results look similar to yours with a BAP around 100dB. I didn't investigate it further, but I hope you can figure it out because it would be nice to be able to try different vocoders.

@bajibabu  BAP dimension in case of AhoCoder is 1 . There are no issues regards to integration of AhoCoder with Merlin. The main problem is parameters are not getting trained well.
yes, I checked the copy-synthesis quality with extracted parameters and it was fine on that part.
@dreamk73 Do you know any other freely available vocoder which performs better than WORLD ?
Do you have any idea about what might be the issue here ?
Thanks for all your responses.

You can try min-max normalization for acoustic features instead of MVN.
The other thing is to fine-tune the learning rate -- default learning rate is too high for your data, try decreasing it.
Try keras version to train the acoustic models.

I just downloaded the ahocoder and run through copy-synthesis. What I find that values in bap represents the maximum voiced frequency and those values are similar to F0 values i.e. they have many zero values. The BAP values range is very high, perhaps that's the reason for high error rates. Can you interpolate the bap values as f0 values and use another binary value like 'vuv' .

@ajinkyakulkarni14 I have tried GlottHMM as well but all three only for one of our (female) TTS voices. I don't think any of them is fantastic or better than WORLD. I think our main problem is improving the parameter extraction and finding the optimal values for a particular voice. I am planning to spend more time this summer investigating this problem.

@dreamk73 good to know. We are also doing a large scale vocoders comparison (with four SOTA vocoders and four voices). We will let you know what are our conclusions in soon.

@bajibabu , Thank you for your important feedback. In case of AhoCoder, BAP  is optional value, and Speech can be synthesised with LF0 and MGC value.
Thus, I will try to train the Merlin with Ahocoder parameters LF0 and MGC only (excluding BAP value). I will repost the new results with this experiment
@ronanki  Thank you for advice, I will fine tune the network and repost the results with that experiments.
@dreamk73 I tried AhoCoder with HTS and it works better than HTS + WORLD at least for my speech corpus.

@bajibabu, I'll be very interested in your results.

I tried to tune the network with RNNs and got improved results. Though results are still not that good compared to WORLD vocoder. I am attaching the results. In future I will try to tune the network.
Merlin_exp.zip

@bajibabu I wonder if you have published any results for the vocoders comparison study that you mentioned.

The journal article is still in submission stage.. Once it's submitted we will share the results.


[HOW-TO] Add anullsrc audio

Describe what it is that you want to accomplish
With ffmpeg you can add a null-source for audio (ie. there's audio but there's no sound) by adding the following to the ffmpeg command:
-f lavfi -i anullsrc=sample_rate=48000:channel_layout=mono -c:a aac -b:a 128k
I want to be able to add to the output (FfmpegOutput) an audio source with no sound.
Describe alternatives you've considered
I've tried adding things to the FfmpegOutput string but get errors "Unknown decoder 'copy'" and not sure what that means.
I've also tried adding different things to FfmpegOutput audio_device with no luck. I just get the error message like:
anullsrc: No such process
I've also tried adding a mp3 file as audio but that did not work either.
Additional context
This might seem like a strange request, but the reason is that when live streaming to youtube it requires an audio source in the stream and I'm trying to build a pi that can stream directly from it's camera to youtube but only video.

I thought you could just set audio=True and run it with no microphone. Is that giving you the same No such process error? Can you say what kind of Pi you are using, and confirm that your OS is up to date? Thanks.

just using audo=True gives the following error: default: No such process.
Raspberry Pi 4 Model B Rev 1.2
uname -a: Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux
os version 11.8
I also just spent a few hours trying to set up a "snd-dummy" "fake soundcard" but can't get it to work either.

I'm seeing the same errors on some Pis here, but not on others, so I'm a bit confused. I'm guessing they may have different software versions. In fact, on the ones that don't work, it doesn't even work when a microphone is plugged in. So I think the problem isn't that you need "anullsrc", the audio system is just broken.
It's easy to test this in isolation with commands like
ffmpeg -f pulse -i default test.mp4

I don't know too much about the way audio works, but the date on your kernel looks rather old - are you running Bullseye? There is only critical support for that now, are you able to try Bookworm instead? I've verified that the above command fails with No such process on my "broken" Pis, but works happily on an out-of-the-box clean install of Bookworm (with all updates applied) on a Pi 4.

OK, I discovered rather by accident that I was getting this No such process error when I was logged into my Pi with X forwarding (ssh -X ...). When I didn't enable X forwarding, in fact it all works fine. Could that be the same thing you're seeing? I wonder if there are some issues with exactly where the audio is supposed to be coming from, and whether you are permitted to access it. So it sounds like there may be something that needs investigation there - possibly one of the more general forums would reach some folks who know more about this?

updating everything (and then reinstalling because I messed stuff up) yes it does work now.


Add the capability to provide arbitrary arguments to the java process.

Fixes #15

Grr it still auto-merged.


Change for CLM Minimap Button

Is your feature request related to a problem? Please describe.
Minimap button for CLM resets to original position after quitting the game.
Describe the solution you'd like
When the minimap button for CLM is moved it should remember the position, like minimap buttons for other addons.
Describe alternatives you've considered
An option in settings to hide the minimap button for CLM.
Additional context
n/a

Fixed in #72


Please add feature/module - LazyLibrarian

Would like to see LazyLibrarian added as a module to HTPC-Manager

Any update/progress?

Nope, i dont use LazyLibrarian. Problem with adding stuff is that you has to maintain it as well.. I will accept regarding this.
TIP:
Use the hp module as a base for you pr. It will save you alot of work as its based on hp.

Huh?

Lol wtf. Sorry. I have edited my response.


Discussion on the naming of sub-meetings

I mean this: https://github.com/bounswe/bounswe2018group6/wiki/Skype-Meeting-%231:-14.02.2018
It's like a sub-meeting and the name is this: Skype Meeting #1: 14.02.2018
The problem is this naming has no indication on the order of meetings. It can't be understood easily that the meeting is after the Meeting#2 and before the Customer Meeting.
Can we try something better for enumeration?
What about this one:
Meeting#2.1: 14.02.2018 (Skype)
or any ideas?

I agree with @cerob. Let's not enumerate with order of Skype meetings but with Weekly Meetings. I also propose:
Meeting#2.2: 14.02.2018 (Skype)
Even though we love starting from 0 as index, 1 is more descriptive in this case.

makes sense, we can do as @kirbiyik's offer too.

I thought that date indicated the week but your thought is better and easy to understand, right.

We decided on this and using it for next sub-meetings as well:
Meeting#2.2: 14.02.2018 (Skype)
I have already changed the names and fixed links in other pages as well.
Hence, I am closing this issue.


feat: add a help button throughout many parts of hub

Description
fix ZEN-343
https://github.com/zeno-ml/zeno-hub/assets/5690524/41823a49-29bd-4bea-b14b-58cbdc24bbcf

This is EPIC

I like it. Two opinions:

Can we make it a bit darker? Really hard to find right now if you don't know where to look. Left a suggestion
Another option is putting it next to the account button? Would add less clutter and easier to find? but not as distinctive. can go either way.

If we leave it on the bottom right, we should have the margin line up with the header on the home page and reports (especially x axis) it's bothering me a bit lol

I think I like this even better:

I prefer the "always tucked to the right edge of the browser one.
I tried next to the account button already yesterday as well but looked super ugly.

Love the circle one


Inidicator if Wallet was found or not missing

Link to minimal reproducible example
https://web3modal.com/
Summary
Using Brave Browser and having Metamask and Phantom installed doenst show "green indicator" if a wallet is available or not:

List of related npm package versions
using https://web3modal.com/ website

just so it makes sense from what I am talking about.


Add compability up to 2.6

please

up to 2.6.2 please

@seyfer do you have any problem with 2.6 ?
we  use it on redmine 2.6 without problem

Now 3.0.2 version released. Please update compatibility.
If it's ok with 3.* version than please update versions in http://pixel-cookers.github.io/redmine-theme/
and documentation. Thank you.

:+1:

no problem on redmine 3.2.1 for me


DRILL-7988: Add credentials provider support for API connections in HTTP plugin

DRILL-7988: Add credentials provider support for API connections in HTTP plugin
Description
See Jira ticket for details.
Documentation
Yes.
Testing
Updated one of the existing test configs to use credential provider.

@cgivre, thanks for the review, I'll create a PR with the doc updates to the gh-pages branch later.


Code 2210: Support the development of ramses_rf by reporting this packet

I updated my HA to the latest version

Core 2024.8.2
Supervisor 2024.08.0
Operating System 13.0

And also updated ramses to the latest version.
Tried latest non-beta 0.41.23
Logger: homeassistant.config_entries
Source: config_entries.py:604
First occurred: 7:58:30 AM (1 occurrences)
Last logged: 7:58:30 AM

Error setting up entry RAMSES RF for ramses_cc
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/ramses_cc/__init__.py", line 89, in async_setup_entry
    await broker.async_setup()
  File "/config/custom_components/ramses_cc/broker.py", line 146, in async_setup
    await self.client.start(cached_packets=cached_packets())
  File "/usr/local/lib/python3.12/site-packages/ramses_rf/gateway.py", line 184, in start
    load_schema(self, known_list=self._include, **self._schema)  # create faked too
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ramses_rf/schemas.py", line 378, in load_schema
    dev = _get_device(gwy, device_id)  # , **traits)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ramses_rf/schemas.py", line 343, in _get_device
    return gwy.get_device(dev_id, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ramses_rf/gateway.py", line 396, in get_device
    traits: dict[str, Any] = SCH_TRAITS(self._include.get(device_id, {}))
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/voluptuous/validators.py", line 259, in __call__
    return self._exec((Schema(val) for val in self.validators), v)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/voluptuous/validators.py", line 315, in _exec
    raise error if self.msg is None else AnyInvalid(self.msg, path=path)
  File "/usr/local/lib/python3.12/site-packages/voluptuous/validators.py", line 307, in _exec
    return func(v)
           ^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 205, in __call__
    return self._compiled([], data)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/voluptuous/validators.py", line 256, in _run
    return self._exec(self._compiled, value, path)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/voluptuous/validators.py", line 315, in _exec
    raise error if self.msg is None else AnyInvalid(self.msg, path=path)
  File "/usr/local/lib/python3.12/site-packages/voluptuous/validators.py", line 309, in _exec
    return func(path, v)
           ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 779, in validate_callable
    return schema(data)
           ^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 205, in __call__
    return self._compiled([], data)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 549, in validate_dict
    return base_validate(path, data.items(), out)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/voluptuous/schema_builder.py", line 382, in validate_mapping
    raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: not a valid value for dictionary value @ data['class']

And beta 0.42
Though, the update to 0.42.0 made my entities visible again, still this error
Logger: ramses_tx.message
Source: /usr/local/lib/python3.12/site-packages/ramses_tx/message.py:270
First occurred: 8:06:56 AM (1 occurrences)
Last logged: 8:06:56 AM

RP --- 32:160269 18:034927 --:------ 2210 042 00FF00FFFFFF0000000000FFFFFFFFFF00FFFFFF0000000000FFFFFFFFFFFFFFFF000000000000020800 < AssertionError(Support the development of ramses_rf by reporting this packet)
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/ramses_tx/message.py", line 255, in _validate
    result = parse_payload(self)
             ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ramses_tx/parsers.py", line 2938, in parse_payload
    result = _PAYLOAD_PARSERS.get(msg.code, parser_unknown)(msg._pkt.payload, msg)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/ramses_tx/parsers.py", line 1385, in parser_2210
    assert payload in (
           ^^^^^^^^^^^^
AssertionError: Support the development of ramses_rf by reporting this packet

and warnings
Logger: ramses_rf.dispatcher
Source: runner.py:190
First occurred: 8:06:56 AM (7 occurrences)
Last logged: 8:07:13 AM

RP --- 32:160269 18:034927 --:------ 22E5 004 0050C800 < PacketInvalid(RP --- 32:160269 18:034927 --:------ 22E5 004 0050C800 < Unexpected code for src (FAN) to Tx)
RP --- 32:160269 18:034927 --:------ 22E9 004 006EC800 < PacketInvalid(RP --- 32:160269 18:034927 --:------ 22E9 004 006EC800 < Unexpected code for src (FAN) to Tx)
RP --- 32:160269 18:034927 --:------ 22F2<PHONE_NUMBER>10641 < PacketInvalid(RP --- 32:160269 18:034927 --:------ 22F2<PHONE_NUMBER>10641 < Unexpected code for src (FAN) to Tx)
RP --- 32:160269 18:034927 --:------ 22F4 013 0040B000000000000000200000 < PacketInvalid(RP --- 32:160269 18:034927 --:------ 22F4 013 0040B000000000000000200000 < Unexpected code for src (FAN) to Tx)
RP --- 32:160269 18:034927 --:------ 3222 003 00EF00 < PacketInvalid(RP --- 32:160269 18:034927 --:------ 3222 003 00EF00 < Unexpected code for src (FAN) to Tx)

Weird warnings
Detected blocking call to open with args ('/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/bNumInterfaces',) inside the event loop by custom integration 'ramses_cc' at custom_components/ramses_cc/broker.py, line 146: await self.client.start(cached_packets=cached_packets()) (offender: /usr/local/lib/python3.12/site-packages/serial/tools/list_ports_linux.py, line 84: with open(os.path.join(*args)) as f:), please create a bug report at https://github.com/zxdavb/ramses_cc/issues For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#open Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module> sys.exit(main()) File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/setup.py", line 165, in async_setup_component result = await _async_setup_component(hass, domain, config) File "/usr/src/homeassistant/homeassistant/setup.py", line 461, in _async_setup_component await asyncio.gather( File "/usr/src/homeassistant/homeassistant/setup.py", line 463, in <genexpr> create_eager_task( File "/usr/src/homeassistant/homeassistant/util/async_.py", line 37, in create_eager_task return Task(coro, loop=loop, name=name, eager_start=True) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 752, in async_setup_locked await self.async_setup(hass, integration=integration) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 604, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/ramses_cc/__init__.py", line 94, in async_setup_entry await broker.async_setup() File "/config/custom_components/ramses_cc/broker.py", line 146, in async_setup await self.client.start(cached_packets=cached_packets())

Thanks for submitting, this...
It should really be multiple issues.

voluptuous.error.MultipleInvalid:
not a valid value for dictionary value @ data['class']

The above has been fixed on 0.42.0.

AssertionError: Support the development of ramses_rf by reporting this packet

This is 'nomral' behaviour for RAMSES RF - you should submit an issue here: https://github.com/zxdavb/ramses_rf/issues, unless there is already one for that packet code (2210).

Because the bug in RAMSES CC has been fixed, and the other issues are in RAMSES RF, I am closing this issue.

To progress this issue, please provide the additional information, as described above.

Thanks for submitting, this...
It should really be multiple issues.

sorry, for me it was one issue, with all the info I noticed.. and after I posted it, I noticed it was working again from the Beta

AssertionError: Support the development of ramses_rf by reporting this packet

This is 'normal' behaviour for RAMSES RF - you will get this in any recent version of the integration, including the latest, 0.42.0.
You should submit an issue here: https://github.com/zxdavb/ramses_rf/issues, unless there is already one for that packet code (in this case, 2210).
Unexpected code for src (FAN) to Tx)

The same applies to the above. I would provide a 24h packet log, including a description of teh make/model of you FAN.

There is LOTS of noice from my neighbors, every neighbor has the same FAN and CO2 sensors. I haven't configured my config to only use known devices though, call me lazy :)
See last packet logs added as zip
and my configuration
"18:034927":
class: HGI
"32:160269":
class: FAN
alias: Orchon 500 ExoMax
"37:097626":
class: REM
faked: true
alias: Orchon 15RF remote
commands:
request31DA: "RQ --- 37:097626 32:160269 --:------ 31DA 001 00 "
request10D0: "RQ --- 37:097626 32:160269 --:------ 10D0 001 00 "
away: " I --- 37:097626 32:160269 --:------ 22F1 003 000007"
low: " I --- 37:097626 32:160269 --:------ 22F1 003 000107"
medium: " I --- 37:097626 32:160269 --:------ 22F1 003 000207"
high: " I --- 37:097626 32:160269 --:------ 22F1 003 000307"
auto: " I --- 37:097626 32:160269 --:------ 22F1 003 000407"
auto2: " I --- 37:097626 32:160269 --:------ 22F1 003 000507"
boost: " I --- 37:097626 32:160269 --:------ 22F1 003 000607"
disable: " I --- 37:097626 32:160269 --:------ 22F1 003 000707"
bypass_open: " W --- 37:097626 32:160269 --:------ 22F7 003 00C8EF"
bypass_close: " W --- 37:097626 32:160269 --:------ 22F7 003 0000EF"
bypass_auto: " W --- 37:097626 32:160269 --:------ 22F7 003 00FFEF"
high_60: " I --- 37:097626 32:160269 --:------ 22F3 007 00123C03040404"
med_60: " I --- 37:097626 32:160269 --:------ 22F3 007 00123C02040404"
high_30: " I --- 37:097626 32:160269 --:------ 22F3 007 00121E03040404"
high_15: " I --- 37:097626 32:160269 --:------ 22F3 007 00120F03040404"
reset_filter: " W --- 37:097626 32:160269 --:------ 10D0 002 00FF"
"32:100470":
class: CO2
alias: Orchon CO2 woonkamer
"37:218902":
class: CO2
alias: Orchon CO2 slaapkamer
packet.log.zip

Oops, I moved the slider to the right and get an error

File "/usr/local/lib/python3.12/site-packages/ramses_rf/schemas.py", line 337, in check_filter_lists
    raise LookupError(
LookupError: Can't create 01:000730: it is in the schema, but not in the known_list (check the lists and the schema)

LookupError: Can't create 01:000730: it is in the schema, but not in the known_list (check the lists and the schema)

This is simply a corrupt packet.
I strongly recommend you implement a known list, which exists to handle such.

LookupError: Can't create 01:000730: it is in the schema, but not in the known_list (check the lists and the schema)

This is simply a corrupt packet.

I haven't configured my config to only use known devices though, call me lazy :)

I strongly recommend you implement a known list, which exists to handle such. There is no other way of handling corrupt (but valid) device ids.

The documentation doesn't say where to add the known list. I only use the "config_flow" and added all Known device IDs and wanted to slide the slider "Accept packets from known devices IDs only" to the right. Don't want to go to file browser and mix config.

I only use the "config_flow" and added all Known device IDs and wanted to slide the slider "Accept packets from known devices IDs only" to the right.

That's all you need to do.

I only use the "config_flow" and added all Known device IDs and wanted to slide the slider "Accept packets from known devices IDs only" to the right.

That's all you need to do.

created a new issue
https://github.com/zxdavb/ramses_cc/issues/202

Can we close this issue? I think it will be fixed in 0.50.0 - if not, raise an issue in ramses_cc.