MRG, DOC, ENH: new frequency-tagging tutorial

What does this implement/fix?
we propose a new tutorial for basic analysis of frequency-tagging data.
it comes with an example dataset from visual stimulation with inverting checkerboards.
Reference issue
no fixes, but loosely related to discussion about a new spectra class (#7671)
authors
@dominikwelke  @kalenkovich

thx @dominikwelke !
how big are the files? can we add this to the doc build to see it rendered on circleci?

hi @agramfort, thanks for the quick response!

how big are the files?

its about 40mb. i published the data on osf and the script fetches them from there

can we add this to the doc build to see it rendered on circleci?

locally it builds fine. how do i add it to the doc build?

if you call your tutorial plot_ssvep.py it will be automatically rendered on the website.
Can you try here while fixing the conflicting file?
thanks

@dominikwelke can you rename your tutorial to plot_ssvp.py ?

FYI @jundurraga

thank you @larsoner , i was unable to track this problem..

Another example is that in ASSRs we typically use F-tests and Hotelling T^2 tests, whereas you seem to use a t-test.

Hey, @rob-luke! Could you please tell us what kind of questions would you try answering with an F-test or a Hotelling T²? This would help us incorporating these tests into the tutorial.
From a brief look at the paper you cited I gathered that you would use an F-test to compare the power at the stimulation frequency to the sum of the power at the neighboring frequencies. This would tell you whether there is a peak above the noise. I don't think that we need this here. Considering the size of the peaks, it seems a bit gratuitous to test what we already know to be true. That said, if this is a common test done in practice we should probably add it anyways. Is it common to test for the presence of the peak this way? How would one interpret a non-significant value? Did I understand correctly that an F-test would be used to test for the presence of the peak?
The use of the Hotelling T² is somewhat less intuitive: a) it treats complex and real part of the Fourier coefficients as two variables, b) it compares their average squares to the squares of their averages (total power vs. stimulus-locked power). Again, as far as I can tell, this is used to check if there is a peak at a given frequency bin. Is that correct?

this is really a toy dataset

Its a great toy dataset. But this example is also going to become the basis of peoples analysis so its important to make sure its correct. You've addressed one common mistake people make of including neighbouring noise frequencies using noise_skip_neighborfreqs. The other common mistake I see when reviewing papers is people including the initial transient response in their evaluation of the steady state component. Ideally you could plot the average epoch and illustrate how long the transient response duration, and remove this from the start of the epoch by adjusting tmin. Or at least mention it, particuarly given you explore trial length at the end of the document.

Hey, rob-luke! Could you please tell us what kind of questions would you try answering with an F-test or a Hotelling T²? This would help us incorporating these tests into the tutorial.

I don't suggest we add these tests to this tutorial. It would be a major addition. Honestly I think I just created noise for you here. I was just so excited to see a great steady state tutorial that I started thinking out loud. At most you could add a comment saying "This tutorial doesn't address determining the presence of a neural response, an F-test or Hotelling T² would be more appropriate for these purposes." But only if you want.

Is it common to test for the presence of the peak this way? How would one interpret a non-significant value? Did I understand correctly that an F-test would be used to test for the presence of the peak? ... the Hotelling T² is somewhat less intuitive. as far as I can tell, this is used to check if there is a peak at a given frequency bin. Is that correct?

You're interpretation of the tests is correct, they are used to detect the presence of a neural response. These tests are very widely used in the auditory field. Most commonly they are used in objective audiometry or newborn hearing screening to objectively determine if someone can hear a sound. In this case, the absence of a response indicates that someone may have some hearing loss and should be refered for further testing (or a cable isnt plugged in, or they have auditory neuropathy). An F-test compares the frequency of interest to neigbouring frequencies to determine an SNR and presence of a response, but can be biased due to the 1/f structure of the EEG signal. The HT2 test uses the variability within the frequency bin across trials as the noise estimate to determine the SNR and overcomes the 1/f issue. But having read your tutorial again I assume you are coming from a more BCI perspective.

Do you see places where it could be cut down a bit?

I think you could remove the bonus exercises. You could also remove the notch filter as you dont examine this frequency.

Thank you for the explanation, @rob-luke!

Ideally you could plot the average epoch and illustrate how long the transient response duration, and remove this from the start of the epoch by adjusting tmin. Or at least mention it, particuarly given you explore trial length at the end of the document.

We'll have to check whether we can get a decent ERP from a single participant in order to assess the early visual response duration. We can mention it, of course. Also, we can see what cutting a bit at the beginning of a trial does to SNR. My guess is that it won't matter for 20s-long epochs but will have an effect on, say, 5s-long ones.

I don't suggest we add these tests to this tutorial. It would be a major addition. Honestly I think I just created noise for you here. I was just so excited to see a great steady state tutorial that I started thinking out loud. At most you could add a comment saying "This tutorial doesn't address determining the presence of a neural response, an F-test or Hotelling T² would be more appropriate for these purposes." But only if you want.

Adding a note with a reference to an article makes total sense.

Do you see places where it could be cut down a bit?

I think there was a misunderstanding. This was just a technical question about the tutorial taking too long to build, not too long to read 😄

See rendered tutorial https://25218-1301584-gh.circle-artifacts.com/0/dev/auto_tutorials/time-freq/plot_ssvep.html#sphx-glr-auto-tutorials-time-freq-plot-ssvep-py
i see a few formatting issues

(...) including the initial transient response in their evaluation of the steady state component.

just a note: at the moment we use welch's method with a 10s window and little overlap for the spectrum estimation. hence with 20s trials the first half of each trial (potentially including the transient response) contributes only 50% to the final SNR measure.
i would maybe even increase the overlap, which would further decrease the relative influence of an impaired segment.
of course we could also use plain fft and the full trial for the frequency spectrum.
using welch rather reflects our personal decision for a bit more robustness vs. the highest possible snr value - correct me if i'm wrong but in my experience these values are not very informative in themselves anyway, not across participants..
but i wouldnt even know another paper that uses welch from the top of my head :)

The runtime on CircleCI is over a minute..

@rob-luke 's suggestion to cut parts of the bonus exercise would probably work. this part takes the longest, computation wise, since it a series of loops with psd estimation + snr extraction cylces for each single bar in the boxplots.
also i think it wouldn't hurt, since there is some redundancy in there..
@rob-luke @larsoner : any opinion on what exactly to cut, and what to keep here?

i wouldnt even know another paper that uses welch from the top of my head

My recollection is that this affects the false positive rate when detecting the presence of responses. But I'm not 100% on this. However, if FFT is the common approach then I'd stick to it for a demo. But if you want to keep as is, is it just a one line change to switch to FFT? If so, it might be informative to demonstrate how both could be done (just in a comment, don't repeat the whole analysis).

these values are not very informative in themselves anyway, not across participants

Supra-threshold responses (in the auditory field) across participants are related to modulation perception [1] and speech reception [2].

@rob-luke 's suggestion to cut parts of the bonus exercise would probably work. this part takes the longest, computation wise, since it a series of loops with psd estimation + snr extraction cylces for each single bar in the boxplots.

also i think it wouldn't hurt, since there is some redundancy in there.. @rob-luke @larsoner : any opinion on what exactly to cut, and what to keep here?

I would say give it a try and see if it speeds things up

there were some new commits:
re: ci runtime
we have removed one of the sections towards the end that had become obsolete anyway. this should reduce runtime quite a bit..
re: transient response
@rob-luke  we now exclude the first second of each trial from the main analysis.
this seems to be often done, also in VSSR.
here is a plot of the ERP from the roi channels.

this is the 12hz case, but 15hz looks quite similar..
only 10 trials but there is a strong VEP at the beginning, and the 12hz modulation on top seems to be already there..
re: switching to FFT
we switched to using plain FFT. i did it as a special case of psd_welch.. i hope i got this correct, or is there some subtlety in MNE's implemenation that i missed?!
adding paper references
we also included some references to basic review papers. @rob-luke i usually used the picton 2003 paper as a basic review for assr. please let us know if there is a better one from your perspective!
re: reference to F- and t2 tests

"This tutorial doesn't address determining the presence of a neural response, an F-test or Hotelling T² would be more appropriate for these purposes."
added.

general structure
please feel free to comment whether the general structure and flow makes sense to you.

You need to add your new function to doc/datasets.rst

this file doesnt exist in our branch yet. it's very new, right?
do we need to rebase to the dev status first to solve this, or is there another way?

You can locally merge with master and push. I can take care of it if you're unsure of the commands

Sorry, main not master

You can locally merge with main and push. I can take care of it if you're unsure of the commands

thanks, i hope it worked..

The CIs will tell us :)
Also the linux 3.9 and pip pre Azure Windows job will both fail for reasons unrelated to your code, those are safe to ignore

rendrred links
https://25281-1301584-gh.circle-artifacts.com/0/dev/overview/datasets_index.html#ssvep-dataset
https://25281-1301584-gh.circle-artifacts.com/0/dev/auto_tutorials/time-freq/plot_ssvep.html

Were the epochs actually 20 s and the stimulus frequencies exactly 12 and 15 Hz? For ASSRs its not recommended to use integer second epochs because the line noise adds constructively, and this then means that to ensure integer number of modulation cycles you end up with a stimulus frequency of something like 12.125 Hz. However, its common to then talk about the stimuli using the rounded number. The dataset is great either way, but I just wondered if the rounded numbers in the dataset description were correct or approximated?
And then on that note... I don't think the notch filter is required and only adds unnecessary complication to the tutorial. You don't analyse the content of the frequency bin later (because there is no stimulation at that rate), so the notch filter is just superfluous. I ran the analysis locally without it and it made no difference to the remaining results.
Also the legend in the final plot is confusing. Could you add a legend item for each trial or make the color scheme continuous?

Were the epochs actually 20 s and the stimulus frequencies exactly 12 and 15 Hz? For ASSRs its not recommended to use integer second epochs because the line noise adds constructively, and this then means that to ensure integer number of modulation cycles you end up with a stimulus frequency of something like 12.125 Hz. However, its common to then talk about the stimuli using the rounded number. The dataset is great either way, but I just wondered if the rounded numbers in the dataset description were correct or approximated?

we used exactly 12.0 and 15.0 Hz stimulation (as accurate as the display gets) and exactly 20s trial duration.
thanks for the hint, though, I'll keep it in mind for potential future collections :)

And then on that note... I don't think the notch filter is required and only adds unnecessary complication to the tutorial. You don't analyse the content of the frequency bin later (because there is no stimulation at that rate), so the notch filter is just superfluous. I ran the analysis locally without it and it made no difference to the remaining results.
Similarly, the low pass filter is not required and removing it simplifies the tutorial and does not change results.

true, both were removed

Also the legend in the final plot is confusing. Could you add a legend item for each trial or make the color scheme continuous?

changed to greyscale

So now in addition to pip pre we have https://github.com/conda-forge/pyface-feedstock/pull/27 causing problems on Linux and Windows conda builds. Looks like we should just rely on macos + linux pip + windows pip.

So now in addition to pip pre we have conda-forge/pyface-feedstock#27 causing problems on Linux and Windows conda builds. Looks like we should just rely on macos + linux pip + windows pip.

Sorry for being a bit slow: we should just ignore the failed Linux and Windows conda builds, right? In addition to

Also the linux 3.9 and pip pre Azure Windows job will both fail for reasons unrelated to your code, those are safe to ignore

Yes for now, hopefully it'll be cleared up in the next couple of days!

@rob-luke @agramfort the latest rendering is here:
https://25353-1301584-gh.circle-artifacts.com/0/dev/auto_tutorials/time-freq/plot_ssvep.html
@dominikwelke can you add a conditional like https://github.com/mne-tools/mne-python/blob/main/tools/circleci_download.sh#L90-L92 ? It would get rid of the download inside the example rendering.

@dominikwelke can you add a conditional like https://github.com/mne-tools/mne-python/blob/main/tools/circleci_download.sh#L90-L92 ? It would get rid of the download inside the example rendering.

the conditional alone didnt work.. the ci sais 'no such file'
i guess the dataset has to be listed somewhere else too. can you direct me to the spot?

the ci sais InputError: (...) no such file or directory

Fun! We've hit another release-related error, as PyQt5 5.15.3 came out 3 hours ago:
https://pypi.org/project/PyQt5/#history
I'll make a hotfix in main to pin us to !=5.15.3 and hopefully that fixes things for you

hope this worked

If you have all doc-building dependencies installed (e.g., with pip install -r requirements_doc.txt) and do:
$ cd doc
$ PATTERN=ssvep make html_dev-pattern
...
$ make show

it will build the docs plus your specific example. Locally when I do this on your branch and wait a few minutes for the built to complete I see:

So clearly I got the syntax wrong. :) Changing it to:
.. contents:: Outline
   :depth: 2

and re-running PATTERN=ssvep make html_dev-pattern produces:

If you have all doc-building dependencies installed

it was running but stopped working when the theme was changed (no theme named 'pydata_sphinx_theme' found (missing theme.conf?))
i'll update my environment

So clearly I got the syntax wrong. :) Changing it to:
.. contents:: Outline
   :depth: 2

great. i actually wondered whether this would be correct, but i blindly trusted you :)
changed

do you have a good reference for this @rob-luke ?

Don't bother unless you can find one easily. Youve changed it to 15.0 now, so its clear to the reader. Thanks for the extra info. Its a great addition to the tutorials.

ok, all CIs are green @agramfort @larsoner @rob-luke @kalenkovich
il push a last commit with the changelog

Other than two minor remaining issues, LGTM +1 for merge!
https://25558-1301584-gh.circle-artifacts.com/0/dev/auto_tutorials/time-freq/plot_ssvep.html

Committed your suggestions.

@dominikwelke can you merge main branch here to make sure CIs are green?

@dominikwelke can you merge main branch here to make sure CIs are green?

@agramfort  all CIs are green now

thx a lot @dominikwelke and @kalenkovich !


Return query_type for all SQL based plugins

https://www.notion.so/Return-query_type-for-all-SQL-based-plugins-e740fca28e124f9a8db517a54a475e4f

changed direction, not valid anymore link


rancher  start  stop  Loading config-defaults

06:29:00.460 [main] INFO  ConsoleStatus - [1/6] [0ms] [1ms] Loading config-bootstrap
06:29:00.745 [main] INFO  ConsoleStatus - [2/6] [288ms] [283ms] Loading base-config
06:29:01.023 [main] INFO  ConsoleStatus - [3/6] [566ms] [278ms] Loading config
06:29:01.030 [main] INFO  ConsoleStatus - [4/6] [573ms] [6ms] Starting config-bootstrap
06:29:01.342 [main] INFO  ConsoleStatus - [5/6] [885ms] [312ms] Starting base-config
06:29:01.342 [main] INFO  ConsoleStatus - [6/6] [885ms] [0ms] Starting config
2016-08-26 06:29:01,832 INFO    [main] [ConsoleStatus] [1/32] [0ms] [0ms] Loading bootstrap
2016-08-26 06:29:02,025 INFO    [main] [ConsoleStatus] [2/32] [193ms] [189ms] Loading config-defaults

docker :1.12.1
rancher: 1.1.12
os: ubuntu 14.04

is this a fresh install or upgraded setup?

yes，use an external database to run Rancher server, happened

I updated today my setup as well and I now have this issue as well :(

@SantoDE @Dreampie  can you give more details?
what is your setup? where is the DB?
what version are you upgrading from and to?
can you share your upgrade commands?

@deniseschannon I just pulled a new docker image. However, I fixed it. My LOCK table was blocked, so rancher could not accquire a lock. Releasing a previous lock solved my issue and rancher was able to boot up again :)

@Dreampie have you implemented the workaround @SantoDE mentions?

closing this out.

I have the same problem with externel DB. @SantoDE can you describe what do you do to solve this problem?

Have it resolved with https://github.com/rancher/rancher/issues/6334
docker exec -it rancher-server bin/bash

mysql

use cattle;

UPDATE DATABASECHANGELOGLOCK SET LOCKED=FALSE, LOCKGRANTED=null, LOCKEDBY=null where ID=1;


Issue with Markdown Here docs

As far as I can tell, the docs for Markdown Here are still accurate. If you think you've discovered a bug with the Markdown Here extension, you can report that in the Markdown Here repository.


fix(server) remove header_filter and body_filter handling for now

Remove filter phases for now, because those can't be handled efficiently by the Kong side: one cannot open non-blocking sockets in header_filter and body_filter so we avoid those phases when doing Go plugins to avoid using blocking sockets.
In the future, one option to reenable those phases would be by enabling buffered proxying for Go plugins.

my first idea about "not doing filter phases yes" was to filter from the Lua side, because the issue is openresty.  but that would mean adding code there, while doing it here means removing code.  which is always a big plus, even if it's just a couple lines here and there

Are there any alternatives available for manipulating the response body using go plugins in the absence of these filters?


Bookstore: initialize project with components

In this stage:

[ ] I set up a new React application using Create React App

[ ] I created a directory for reusable components in /components.

[ ] I installed React Router V6.

[ ] I set up the router inside of App.

[ ] I added 2 routes into the application, each should render a page component: / (home) & /categories.

[ ] I created components inside of the /components directory:

[ ] Book component contains individual book state, as well as a button to delete the book.

[ ] BooksList component will contain a list to renders individual books.

[ ] NewBook component will contain a form to create new books.

[ ] Navbar component contains a navigation to link to the 2 routes created before.

Thanks for your suggestions, dear partner @AbayomiOlaoye 🤝🤝🤝🙂🙂🙂


Emails are rendered using post-processed markdown, not raw text

When turning a PR description into a cover letter, GGG appears to convert the post-processed Markdown's text into the message, instead of putting the raw PR description's text. However, I'd expect that the raw text to be sent instead.
Caveat: I'm mostly going off my memory here; I haven't been burned by this in a while, because I've been checking that the Markdown accurately reflects what I want to send. I'm also having trouble finding good examples where I got affected by this - I think the mangled table in<EMAIL_ADDRESS>is one.
Concretely, I believe this means that if I have
# FOO

in my PR description [1], it gets rendered as:
FOO

in the cover letter, but I'd want the literal # .

Not to get too meta about this, but this also means that the contents of the ``` code block get inserted literally into cover letter and the literal ``` gets dropped.

Well, the PR description is Markdown, but emails are plain text...
And with the Markdown-averse/AsciiDoc-loving Git crowd, a # HEADER would maybe not be understood.
Therefore I don't think it would be a good idea to paste the PR description verbatim. We may want to hack up the md2text renderer to present headers differently instead, I can see that. But pasting Markdown verbatim? We don't want to do that.


Applying classifications + glossary terms to columns via excel

Hi again. Is it possible to add a classification and/or glossary term to columns using the excel_bulk_entities_upload method? I see the sample has a classifications column. I have tried populating this with an existing classification and it runs without error but nothing shows up in the interface for the column. Other fields like description/data_type update fine. Thanks.

Below are the rows as they appear in the spread and the actual data sent. Do I need to include a row for the classification (like I do for the table)? If so what fields are required?

typeName
name
qualifiedName
classifications
[Relationship] table
data_type
description

mssql_table
my_table
XXXXXXXXXXX

mssql_column
Active
XXXXXXXXXXX
my_classification
XXXXXXXXXXX
char
testing

{   "entities": [     {       "typeName": "mssql_table",       "guid": -1001,       "attributes": {         "name": "my_table",         "qualifiedName": "XXXXXXXXXXXXX"       },       "relationshipAttributes": {}     },     {       "typeName": "mssql_column",       "guid": -1002,       "attributes": {         "data_type": "char",         "description": "testing",         "name": "my_field",         "qualifiedName": "XXXXXXXXXXXX"       },       "relationshipAttributes": {         "table": {           "typeName": "mssql_table",           "guid": -1001,           "qualifiedName": "XXXXXXXXXXXX"         }       },       "classifications": [         {           "typeName": "my_classification",           "attributes": {},           "propagate": false         }       ]     }   ] }

For now I am using the _classify_entity_adds and upload_relationship methods to upload classifications and glossary terms respectively. It works fine but requires two extra calls. Basically I am wondering if there is a way to upload attributes (descriptions), glossary, and classifications to a column all at once? Thank you.

Sorry, I didn't see this @zsponaugle !  I've labeled it as a bug. You should definitely be able to get classifications uploaded.  Glossary terms are on my todo as part of #74.

@zsponaugle Can you try doing a classification again from the excel spreadsheet with the latest version on github (not on PyPi)?
Using the below example, I'm able to create a single or multiple classifications on a given column.  I just want to confirm that your scenario works with the latest changes.

typeName
name
qualifiedName
classifications
[Relationship] table
type

hive_table
hivetable01
pyapacheatlas://localtest

hive_column
columnA
pyapacheatlas://localtest#A
MICROSOFT.GOVERNMENT.CHILE.CDI_NUMBER
pyapacheatlas://localtest
string

For installing the latest version, is this the correct command --
pip install git+https://github.com/wjohnson/pyapacheatlas

Fixed with the most current version :-)


Option to ignore if no secret for type found

Is your feature request related to a problem? Please describe.
The plugin tries to find secrets by appending the resource type to the path_perfix. If, however, you have no secrerts for a particular resource/resource type then you get errors like the following (using a namespace as the example):
Error making API request.

URL: GET http://<vault_server>/v1/namespace
Code: 403. Errors:

* 1 error occurred:
	* permission denied

Describe the solution you'd like
For the plugin to ignore resources that have no secrets templated and simply output them as they aer
Describe alternatives you've considered
N/A
Additional context
N/A

Hi,
To confirm, you believe that in the scenario where you have a YAML like:
kind: ConfigMap
data:
 hello: world

in a folder that you are processing via the plugin, and there is no Vault secret at ${PATH_PREFIX}/configmap the plugin should simply output the file as-is, right? If so, that makes sense to me.
But what about this scenario? A YAML like:
kind: ConfigMap
data:
 hello: <world>

where someone forgets to create the Vault secret at ${PATH_PREFIX}/configmap - then I guess you'd want to see an explicit 4xx where the plugin tried to replace <world>, instead of seeing an error trying to apply a YAML with <world> literally in it. Right?
If so, I think the desired behavior altogether is:

If a given Template (YAML) has placeholders, and Vault returns an error trying to retrieve data for it, return that error so the user has a hint on how to fix it (create an entry in Vault for that resource or remove the <placeholder>'s)

If a given Template has no placeholders, emit the YAML as-is

Sorry if the above seems long-winded, I'm trying to keep in mind the exact logic the code needs to follow after fixing this

Yes, that's exactly what I think the behaviour should be also:
No templated variables, no secret = no error and output as-is
Templated variables, no secret = error (4xx)
Currently I'm working around it by putting all resources with secrets in a
different application in argocd, but it's not ideal in terms of project
structure.
On Mon, 8 Feb 2021, 15:37 Josh Kayani<EMAIL_ADDRESS>wrote:

Hi,
To confirm, you believe that in the scenario where you have a YAML like:
kind: ConfigMap
data:
hello: world
in a folder that you are processing via the plugin, and there is no Vault
secret at ${PATH_PREFIX}/configmap the plugin should simply output the
file as-is, right? If so, that makes sense to me.
But what about this scenario? A YAML like:
kind: ConfigMap
data:
hello:
where someone forgets to create the Vault secret at
${PATH_PREFIX}/configmap - then I guess you'd want to see an explicit 4xx
where the plugin tried to replace , instead of seeing an error
trying to apply a YAML with  literally in it. Right?
If so, I think the desired behavior altogether is:

If a given Template (YAML) has placeholders, and Vault returns an
error trying to retrieve data for it, return that error so the user has a
hint on how to fix it (create an entry in Vault for that resource or remove
the 's)
If a given Template has no placeholders, emit the YAML as-is
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/IBM/argocd-vault-plugin/issues/54#issuecomment-775235002,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACCKTWEDKLBCM7X62SYO7FTS6AAK7ANCNFSM4XI5NGMQ
.

I'm getting the same kind of error
Error making API request.
URL: GET https://<vault server>/v1/namespace
Code: 403. Errors:
  * 1 error occurred:
      * permission denied

The templated value is an environment variable inside a Deployment ressource.
Can somebody explain to me why the plugin would want to render a Namespace resource where there is no placeholder defined for that resource? And why there is a call to https://<vault server>/v1/namespace ?
Before finding this issue I thought the plugin was trying to read the Vault namespaces (enterprise feature)

@vmwiz The way the code was originally written was to take the AVP_PATH_PREFIX environment variable and then append the resource kind to that to create an opinionated path for putting secrets. https://<vault server>/v1/AVP_PATH_PREFIX/namespace. And this runs for all resource. We see that we should take into account resources that do not have placeholders and not try to pull anything from Vault. This is a fix that we are currently working on. Please bear with us 🙂

Currently I'm working around it by putting all resources with secrets in a
different application in argocd, but it's not ideal in terms of project
structure.

Until we fix this (which should be soon), @jamesmmchugh has provided the above workaround. The comment before that explains the logic we will implement to fix the problem:

If so, I think the desired behavior altogether is:
If a given Template (YAML) has placeholders, and Vault returns an error trying to retrieve data for it, return that error so the user has a hint on how to fix it (create an entry in Vault for that resource or remove the 's)
If a given Template has no placeholders, emit the YAML as-is

Please be patient!

A fix has been published in https://github.com/IBM/argocd-vault-plugin/releases/tag/v0.4.0


RAD tool for senernity

Hi, do you have a RAD tool for serenity, which also has FK object keys with it, similar ABPzero RAD

Hi, I just looked at the documentation for ASPnetzero here: https://docs.aspnetzero.com/documents/zero/latest/Rapid-Application-Development
What it basically does is the same as the sergen tool for Serenity, including foreign keys.
Main difference is that with Serenity you creatie the DB first.

hi @koenmd  thanks for the response, I did a search and it said dont use it as graphical GUI for asp core.

Do you have a link to the latest version. I am happy to try and generate it from the DB.
thanks

read the guide.

Isnt that what I did from the posted picture. Those comments are from your check-in! but i get your point.
Regardless, for any commercial purchase, if I want to recommend to my client, you have me wondering, about the quality of support you would provide.


Remove Tims name from the "Impressum"

Plz ;)

Go @shiftyseaotter 🦦
File you need to change
https://github.com/jug-mz/backend-proxy/blob/master/src/main/resources/META-INF/resources/index.html
Or give me all the info and assign me again ^^

cough 😁


Active Scroll Intermittently Breaks Not Sure Why

I can't figure out what's breaking this.  And it's extremely intermittent.  At times, active class won't work on a DirectLink after you refresh a few times.
https://www.youtube.com/watch?v=rPM3_QOe9jo&feature=youtu.be
https://youtu.be/9hohdy9ZLfQ

@dschinkel  did you ever figure this out? Running into the same issues.


Add support for Python 3.8

Python 3.8 was released in October 2019.
And the Travis workaround for 3.7+ is no longer needed because Xenial is now the default.

Thanks @hugovk for this!  Everything LGTM, and the coverage decrease seems to be unrelated.  I think we can merge this unless there are objections.


Push image to public GitHub Container Registry

GitHub has just announced a public registry for container images, where users can pull anonymously:
https://github.blog/2020-09-01-introducing-github-container-registry/
Change the Build+Push workflow to push there.
https://docs.github.com/en/packages/getting-started-with-github-container-registry/migrating-to-github-container-registry-for-docker-images

Related to #106 and #97.
I'd like students to be able to pull the image anonymously and run it themselves.
They probably won't, but they should have the opportunity nevertheless :-D

The image can be found here:
https://github.com/users/rolandweber/packages/container/pityoulish%2Fserver/


migrate data from one contract to another with same baseline code

Hi There,
My problem statement is i want to migrate data from an old contract to new contract with same baseline code. I want to deprecate the old contract. Is there any way to migrate data?

It's a public chain and it may contain large data i am not sure about it.
Thanks for your help i will look into it.


Extension crashes when registering duplicate connection name

Describe the bug
The new option to save passwords on vscode's keystore is registering the connection using only it's name as a unique identifier.
So by creating two connections that uses the SQLTools Driver Credentials, and have the exact same name, database and driver, the extension won't work until one connection is manually erased from the config file

I think the extension should either prevent duplicate connection names, or add a unique identifier to the connection ID.

This problem existed before 0.27.0 and is unrelated to the new capability for drivers to store passwords in the keystore. See https://github.com/mtxr/vscode-sqltools/issues/668#issuecomment-991088634


Question about usage

On the wiki it appears to support either the global API key or custom API tokens. We tried creating a custom token that I have confirmed works using postman, however it does not work when we use it in the plugin.
Looking at the code, it appears to only support the api key method which requires a Key/Email combination and does not use the Authorization header that the tokens use.
        private Dictionary<string, string> GetCustomHeaders(Settings moduleSettings)
        {
            var newHeaders = new Dictionary<string, string>
            {
                {"X-Auth-Key", moduleSettings.ApiToken},
                {"X-Auth-Email", moduleSettings.Email}
            };

            return newHeaders;
        }

Am I missing something? If it weren't for the docs I would have assumed it doesn't currently support the token method, however since the docs not only mention the token method but recommend it I feel like I've missed something obvious.

I didn't fully look into the other method of authorization in this one.  Nice find and PR.  Thanks!


Support for host resolver

The current state of this PR has issues with forwarding dns queries from linux to custom port in host.


Updated readme.md to fix a syntax error

There was a comma missing in one example that produced syntax error

Whoops, thanks for the fix @musahaidari!


Option to ignore folders on sync remote->local / local->remote / upload / download

Is this a similar or duplicate feature request?

[x] No.

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

After updating our wordpress plugins on the staging sites I usually open an new git branch and sync the whole remote sftp site with local. All changes are downloaded and I can commit the updates if everything is working.
However the whole /uploads/ folder is copied too. Luckily we offload our images to an CDN so there are not tons of images. If they would be, sync would copy 1 gb of data.

Describe the solution you'd like

Allow us to [ignore] folders(!) from downloading / uploading / syncing remote->local / local->remote.

Describe alternatives you've considered

I could change my workflow and commit from the linux staging site on the command line. But that would go a bit too far.

https://github.com/liximomo/vscode-sftp/wiki/config

I tried that but its definately not working as intended.
"ignore": [".vscode", ".git", ".DS_Store", ".production", "wp-config-production.php", "wp-config-local.php", "README.md", "/wflogs", "/upload/"]

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Run command '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. Mac, Win, Linux]
VSCode Version [e.g. 1.27.0]
Extension Version [e.g. 1.7.0]

Extension Logs from Startup - required

Open User Settings.

On Windows/Linux - File > Preferences > Settings
On macOS - Code > Preferences > Settings

Set sftp.debug to true and reload vscode.

Reproduce the problem, get the logs from View > Output > sftp.

Ok, please close this one I will make a bug report.


Shared Account

Description of the new feature / enhancement
Have an account to keep parameters for all the pc which use this application with this account
Scenario when this would be used?
For people who have more than 1 computer
Supporting information
No response

There is already an implemented feature to manually import/export settings.
Duplicate issue for sync settings across account is /dup #3381


Removed appCookie stickiness support

As haproxy 1.6 no longer supports it. Should use lbCookie (create new
cookie) option instead
https://github.com/rancher/rancher/issues/3489

LGTM


Picture-in-picture

Summary
Introduces basic implementation of the programmatic picture-in-picture experience.
https://user-images.githubusercontent.com/433570/145827436-6ab7e85c-25db-4149-86c8-ab0191b11550.mp4
To-dos

[x] Figure out the UI. †

† Do we design and implement fully custom video player UI that would allow us to provide users with single controls UI and also allow us to be in control of which buttons are rendered in the UI? Or do we rather keep the PiP button as a control separate from the default video player controls?

Fixes #53

I've requested design help internally.

Implemented a design update:

Custom unified inline overlay when video is playing PiP.
New style for the floating button + styles that allow us to add more buttons in the future (e.g. casting).

Screencast:
https://user-images.githubusercontent.com/433570/147752420-aaf7d788-2e93-4323-ba7e-c2d18a5c469c.mp4

You may want to use https://jakearchibald.github.io/svgomg/ to compress the svg html.

@beaufortfrancois I usually do that every time, but the "Enter PiP" icon seems to have slipped through. Thanks for noticing! Updated in 8e34fda.

This PR looks good! Thank you @dero!

Bug related to this feature was found: https://github.com/GoogleChrome/kino/issues/178

LGTM. PiP displays one video at a time, and if a second video start on PiP, the first one stops.


traverse_flat not the same as [] operator

from jina import DocumentArray, Document

da = DocumentArray([Document(text='Hello. World! Go? Back')])
da['@r']
da.traverse_flat('@r')

this fails with
Traceback (most recent call last):
  File "/home/cristian/.config/JetBrains/PyCharm2021.3/scratches/scratch_16.py", line 5, in <module>
    da.traverse_flat('@r')
  File "/home/cristian/.virtualenvs/executors30/lib/python3.7/site-packages/docarray/array/mixins/traverse.py", line 120, in traverse_flat
    return self._flatten(leaves)
  File "/home/cristian/.virtualenvs/executors30/lib/python3.7/site-packages/docarray/array/mixins/traverse.py", line 159, in _flatten
    return DocumentArray(list(itertools.chain.from_iterable(sequence)))
  File "/home/cristian/.virtualenvs/executors30/lib/python3.7/site-packages/docarray/array/mixins/traverse.py", line 46, in traverse
    yield from self._traverse(self, p, filter_fn=filter_fn)
  File "/home/cristian/.virtualenvs/executors30/lib/python3.7/site-packages/docarray/array/mixins/traverse.py", line 56, in _traverse
    cur_loc, cur_slice, _left = _parse_path_string(path)
  File "/home/cristian/.virtualenvs/executors30/lib/python3.7/site-packages/docarray/array/mixins/traverse.py", line 164, in _parse_path_string
    _this = g.group(1)
AttributeError: 'NoneType' object has no attribute 'group'

docarray==0.7.2

traverse_flat is not a supported Public function in docarray


Build and publish multi-arch wheels separately from main wheels

Right now, building wheels is failing because it tries to upload an artifact for the multi-arch wheels with the same name as the regular wheels. Previously this worked silently and one was dropped. This fixes that issue by appending -aarch64 to the multi-arch wheels and makes sure that it gets uploaded to gcs as well.
Example succeeding now - https://github.com/apache/beam/actions/runs/7266076148

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

R: @jrmccluskey


Validation failed.

We have valid json which valid against schema.
http://www.jsonschemavalidator.net/  shows that validation OK, but "gojsonschema" failed.
Json:
{"id":8021929379916255508,"version":14,"ppid":"001N","event_type":108,"event_name":"GAME1","time":1438387197195,"date":"2015.07.31 23:59:57:195","uid":2876123,"sid":217821637863217869,"seq":3828,"conn":"38ge62g6g26gd6g23eg676d2","accounts":{"1":{"balance":567748580,"available":521648580,"children":{"111005166":{"balance":36600000,"amount":-1000000},"111012365":{"balance":9500000}}},"2":{"balance":59}},"server":111,"server_state":"ALIVE","buildno":"2.9.16","params":{"login":"login","nick":"nick","desk":{"id":111005166,"game":"GAME1","hand":16094218,"gip":false,"dealer_place":0,"places":[{"place":1,"reserved":false,"player":46966470,"amount":36600000,"stake":1000000,"fold":false},{"place":3,"reserved":false,"player":17898625,"amount":9000000,"stake":0,"fold":false},{"place":5,"reserved":false,"player":58429925,"amount":0,"stake":0,"fold":false},{"place":7,"reserved":false,"player":23778346,"amount":9000000,"stake":0,"fold":false},{"place":9,"reserved":false,"player":54497914,"amount":44000000,"stake":500000,"fold":false}],"category":500000,"zone":"C0","type":"STANDARD","level":0,"limit":"NL","speed":"FAST","placesCount":5,"vip":false,"pot":0},"type":"BIG_BLIND","amount":1000000}}
Schema:
https://gist.github.com/wizard580/ec6e7c859296b53a9df3

What are the validation error messages ?

The document is not valid. see errors :

(root): Must validate one and only one schema (oneOf)
event_type: event_type must be one of the following: 100
place: place is required
id: Invalid type. Expected: integer, given: integer
sid: Invalid type. Expected: integer, given: integer

I think you can test it. Just use example in your docs.

gojsonschema uses ECMA MAX_SAFE_INTEGER<PHONE_NUMBER>740991) and MIN_SAFE_INTEGER(-9007199254740991) to validate the minimum and maximum allowed values of an integer.
Both "id" and "sid" are expected to be integers, but their values are too big, resulting in errors.

Can it be increased? It's important, other libs supports this.

int64 max =<PHONE_NUMBER>3709600000
so,<PHONE_NUMBER>740991 - too small

Could be, we just need to put some thoughts on it.

I've made dirty hack for issue (for float64 to int64)
But still get error:

(root): Must validate one and only one schema (oneOf)

I think it's completly different issue

The integer boundaries is definitely one issue.
I tried with your document and schema, with smaller "id" and "sid", and it validates.

I also tried my own dirty hack,
I edited https://github.com/xeipuuv/gojsonschema/blob/master/utils.go#L64-L78 and removed the following checks :
|| f < min_json_float || f > max_json_float"
The validation passes with your original document and schema.

Strange. I've set very short id and sid and it's still show error
(root): Must validate one and only one schema (oneOf)
Now I'll test your patch... yes, it validates. I think it will lost id and sid values, but it ok.

Will you make a good patch for this issue? Sure I'm not alone

I will think about it and see what needs to be done when I have some free time.

I've found one more issue:
same schema, different json with "event_type: 1", now I see errors:

params.lat: Must not validate the schema (not)
params.lon: Must not validate the schema (not)

You can search schema for this part.
"lat":{  "type":"number", "not":{ "type":"integer" }}
"lon":{"type":"number","not":{ "type":"integer" }}

If you you'll give me your private email I'll show full json string that failed.

what are the values of "lat" and "lon" ? and what version of gojsonschema are you using ? patched one ?

lat and lon == 0.0 (numeric, not integer)
sure, without "|| f < min_json_float || f > max_json_float"

I have the found the issues, i will include these in a future path.

Please... It's the best Go json validator, but this issue blocks my work. Can you say when I should expect fix? I can test patch for you :)

I have honestly no idea, it requires a good amount of work and tests;
Also, i dont have a lot of free time these days.
The first patch seems to solve your first issue,
and as a temporary solution you can disable from your schema:
"not":{ "type":"integer" }

Alter schema - impossible. It's from other system and I can't control it. I need to make it work with this schema and with a huge count of jsons.

I created a new branch https://github.com/xeipuuv/gojsonschema/tree/json.Number that seems to solve the issues, this is a work in progress and requires more cleanup and testing before going to the master branch. Let me know if that works on your side.

yes!
this validates! Now I'll test validation of all my jsons.
Thanks!

Another failures:
{"id":7447063907,"version":14,"ppid":"001N","event_type":137,"event_name":"EVENTNAME","time":1438387198553,"date":"2015.07.31 23:59:58:553","uid":4366263,"sid":256165381,"seq":1,"conn":"eacd88a1889e70ff4eb8efff395f","accounts":{},"server":103,"server_state":"ALIVE","buildno":"2.9.5","params":{"login":"100002","nick":"mynickname","fb":{"fbId":20010026588,"first_name":"Fn","last_name":"LName","gender":"male","locale":"en_US","name":"Fn LName","age_min":21,"link":"http://mylink.com","timezone":8,"updated_time":1433917742000,"verified":true}}}
Errors:

(root): Must validate one and only one schema (oneOf)
event_type: event_type must be one of the following: 229
1: 1 is required

Fixed in master branch


Use Test Proxy in azure-storage-queue

Description
Updates azure-storage-queue to use Test Proxy instead of the in-process PlaybackHttpClient. As part of this change azure-storage-queue was moved from using Groovy/Spock for testing to JUnit 5.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.

/azp run java - storage - tests

/azp run java - storage - tests

/azp run java - storage - tests


After Adding Custom Theme my Material Components Aren't Functioning

My dev environment:
@angular/cli: 1.0.0-rc.1
node: 7.4.0
os: darwin x64
I am using less compilation in my Angular-cli app. But, from my understanding, as long as I have a custom theme with an scss extension, that should still work when creating a custom theme. My custom theme, located in my src folder, looks like this:
@include md-core();

$app-primary: md-palette($md-indigo);
$app-accent:  md-palette($md-green, 500);
$app-warn:    md-palette($md-red);

$app-theme: md-light-theme($app-primary, $app-accent, $app-warn);

@include angular-material-theme($app-theme);

And I am importing this file in my root styles.css file, like this:
 @import 'custom-theme.scss';
And in my angular-cli.json file, I've addd this:
"styles": [
  "styles.css",
  "custom-theme.scss"
]

After making the switch to this custom theme, my material components aren't working at all - neither the functionality nor the styling.

Your problem is likely due to styling prefixes being renamed from md- to mat-. For example, md-core is now mat-core.
Closing since this is more of a question on setup rather than issue with the library. If you need more help, feel free to reach out to our great community on gitter, Google Groups, stack overflow, and others.


Support for 8266 nodemcuv2

Rebased against main branch and reopened the PR.

Getting some errors in Visual Studio Code on mac:
include/mode/clock.h:19:6: error: default argument given for parameter 2 of 'bool getLocalTime(tm*, uint32_t)' [-fpermissive]
fix: remove  = 5000
src/mode/weather.cpp:44:15: error: call to 'HTTPClient::begin' declared with attribute error: obsolete API, use ::begin(WiFiClient, url)
fix:
#include <WiFiClient.h>
WiFiClient wifiClient;
...
http.begin(wifiClient,weatherApiString);

(see: https://stackoverflow.com/questions/67702822/error-call-to-httpclientbegin-declared-with-attribute-error-obsolete-api )
More Bugs:
src/screen.cpp:146:10: error: reference to 'byte' is ambiguous
src/screen.cpp:147:10: error: 'bits' was not declared in this scope; did you mean 'bit'?
src/screen.cpp:149:10: error: reference to 'byte' is ambiguous
src/screen.cpp:153:46: error: 'counter' was not declared in this scope
src/screen.cpp:156:3: error: 'counter' was not declared in this scope

fix (line 146 + 149)
  static ::byte bits[ROWS * COLS / 8] = {0};
  static ::byte counter = 0;

After that I get a multiple definiton of getLocalTime - so removing that function from /src/mode/clock.cpp
Okay, now upload works - but after connection to LED Display nothing lights up and ESP 8622 does not connect to network...
...and here I can't get any further because I'm just a little playchild who can google well ;)

I pushed a new commit, indeed the code also crashed for me, it seemed to be related to the timer. I removed this and am using SPI pins now instead to push the data from the regular main loop(). I do see some artifacts now and then in some animations. The clock animation is working fine so far however.

Regading getLocalTime you are right, it should be in esp8266/time.cpp. I cannot see it in my package however.

okay, it works better now (clock, big clock, circle, draw, stars) but there are still some bugs:

speed: seems to be some kind faster as my ttgo
weather: crashes sometimes
snake: point sometimes not visible
breakout: top lines dissapear before ball reaches
rain: just the first point is visible
game of life: cant explain - start looks kind a crazy

i think this has something to do with the darker dots...

Maybe the refresh rate is not high enough to make it work for pIdema with lower brightness. I need to work a bit further to see if I can run the SPI from an interrupt as well. At fitst everything was Ran through main loop but there was no per pixel brightness setting either.
You could try to fix the brightness to highest value to see if that works.

@cixio I have now a basic per pixel brightness working using the timer1 interrupt on esp8266

Enabling the timer only worked at first for a longer interval, so using a 256 prescaler and 320microsecond interval. This seemed not enought to have the brightness working correctly.
It seems that using the interrupt crashed when it is called while something is being read from flash, so the storage option needs to be disabled
Also the analogWrite seems to use the timer1 as well, so once the brightness is set globally when the interface boots, then after the refresh cycle seemed to freeze
After disabling these two I was able to lower the interrupt cycle to 30microseconds. The brightness looks better now.

So to enable this feature you have to disable two others. Also sometimes I still get a random crash, especially when running some of the heavier animations. There might still be something interfering with the interrupt handler. I read that all methods need to finish quickly enough (300ms) and that ideally all code that is ran on the interrupt is inline using IRAM_ATTR macro, which is not the case for SPI write..

@ph1p I have tested this branch on esp32 now and it works fine as well, so ready to be merged?


[Blocked by #6370] Refactor base profilers 2/4

What does this PR do?

Introduce Abstract interface
Clean up logic and inheritance
Implement setup instead on_train_start and have users call it if used outside of PL
(proposed in https://github.com/PyTorchLightning/pytorch-lightning/pull/6349/files/6f2258f5d07c919cd9b7b040d8cb52e630cd4c62#r598072732)
Change output_fname for dirpath + filepath
(proposed in https://github.com/PyTorchLightning/pytorch-lightning/pull/6349/files/6f2258f5d07c919cd9b7b040d8cb52e630cd4c62#r598366936)

TODO

Allow files per stage

Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Hello @carmocca! Thanks for updating this PR.

In the file pytorch_lightning/trainer/trainer.py:

Line 520:9: E265 block comment should start with '# '


Kotlin internal error exposed by the API

When a login request is issued to the Wallet API without correctly filling in the required parameters, the API returns an internal Kotlin error.

For the sake of API semantics, wouldn't it be better if we encapsulated this internal language error in an error more related to the authentication process?
[]s

should be fixed with this pr : #597


kubevirt.io/schedulable=false for all nodes because device plugins fail

What happened:
Hi all,
I installed kubevirt on a bare metal k8s cluster (Debian), but my nodes are not available for running VMIs. virt-handler and kubelet logs state problems with kvm, tun and vhost-net device plugins.
What you expected to happen:
Working kubevirt
How to reproduce it (as minimally and precisely as possible):
Install kubevirt according to the user guide on a Debian bare metal machine running kubernetes and containerd.
additional context:
I see the relevant *.sock files appearing and disappearing in /var/lib/kubelet/device-plugins/
Environment:

KubeVirt version (use virtctl version):

Client Version: version.Info{GitVersion:"v0.56.0", GitCommit:"b1dbd1bccc882282690331ca84e97ddf83555611", GitTreeState:"clean", BuildDate:"2022-08-18T20:19:27Z", GoVersion:"go1.17.8", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{GitVersion:"v0.57.1", GitCommit:"4c08bf090387743b2e2c8037c941102f11e6b031", GitTreeState:"clean", BuildDate:"2022-09-14T14:05:11Z", GoVersion:"go1.17.8", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.0", GitCommit:"a866cbe2e5bbaa01cfd5e969aa3e033f3282a8a2", GitTreeState:"clean", BuildDate:"2022-08-23T17:44:59Z", GoVersion:"go1.19", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.0", GitCommit:"a866cbe2e5bbaa01cfd5e969aa3e033f3282a8a2", GitTreeState:"clean", BuildDate:"2022-08-23T17:38:15Z", GoVersion:"go1.19", Compiler:"gc", Platform:"linux/amd64"}

VM or VMI specifications: N/A
Cloud provider or hardware configuration: N/A

Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   46 bits physical, 48 bits virtual
CPU(s):                          12
On-line CPU(s) list:             0-11
Thread(s) per core:              2
Core(s) per socket:              6
Socket(s):                       1
NUMA node(s):                    1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           45
Model name:                      Intel(R) Xeon(R) CPU E5-2640 0 @ 2.50GHz
Stepping:                        7
CPU MHz:                         1382.993
CPU max MHz:                     3000.0000
CPU min MHz:                     1200.0000
BogoMIPS:                        4999.87
Virtualization:                  VT-x
L1d cache:                       192 KiB
L1i cache:                       192 KiB
L2 cache:                        1.5 MiB
L3 cache:                        15 MiB
NUMA node0 CPU(s):               0-11
Vulnerability Itlb multihit:     KVM: Mitigation: VMX disabled
Vulnerability L1tf:              Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
Vulnerability Mds:               Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable
Vulnerability Meltdown:          Mitigation; PTI
Vulnerability Mmio stale data:   Not affected
Vulnerability Retbleed:          Not affected
Vulnerability Spec store bypass: Vulnerable
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:        Mitigation; Retpolines, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopo
                                 logy nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm pti tpr_shadow vnm
                                 i flexpriority ept vpid xsaveopt dtherm ida arat pln pts

OS (e.g. from /etc/os-release): N/A

Distributor ID: Debian
Description:    Debian GNU/Linux 11 (bullseye)
Release:        11
Codename:       bullseye
root@gondor2013:~# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Kernel (e.g. uname -a): N/A

Linux <hostname> 5.10.0-17-amd64 #1 SMP Debian 5.10.136-1 (2022-08-13) x86_64 GNU/Linux

virt-handler logs:
{"component":"virt-handler","hostname":"<hostname>","level":"info","pos":"virt-handler.go:197","timestamp":"2022-09-16T11:16:45.682159Z"}
W0916 11:16:45.683725  337764 client_config.go:617] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
{"component":"virt-handler","level":"info","msg":"set verbosity to 2","pos":"virt-handler.go:470","timestamp":"2022-09-16T11:16:45.703396Z"}
{"component":"virt-handler","level":"info","msg":"setting rate limiter to 5 QPS and 10 Burst","pos":"virt-handler.go:479","timestamp":"2022-09-16T11:16:45.703423Z"}
{"component":"virt-handler","level":"info","msg":"set verbosity to 2","pos":"virt-handler.go:470","timestamp":"2022-09-16T11:16:45.703440Z"}
{"component":"virt-handler","level":"warning","msg":"host model mode is expected to contain only one model","pos":"cpu_plugin.go:98","timestamp":"2022-09-16T11:16:45.721827Z"}
{"component":"virt-handler","level":"info","msg":"node-labeller is running","pos":"node_labeller.go:110","timestamp":"2022-09-16T11:16:45.723133Z"}
{"component":"virt-handler","level":"info","msg":"setting rate limiter to 5 QPS and 10 Burst","pos":"virt-handler.go:479","timestamp":"2022-09-16T11:16:45.723232Z"}
{"component":"virt-handler","level":"info","msg":"set verbosity to 2","pos":"virt-handler.go:470","timestamp":"2022-09-16T11:16:45.723273Z"}
{"component":"virt-handler","level":"info","msg":"Starting domain stats collector: node name=gondor2013.bin.bioinf.nl","pos":"prometheus.go:531","timestamp":"2022-09-16T11:16:45.724204Z"}
{"component":"virt-handler","level":"info","msg":"STARTING informer vmiInformer-sources","pos":"virtinformers.go:330","timestamp":"2022-09-16T11:16:45.724348Z"}
{"component":"virt-handler","level":"info","msg":"STARTING informer vmiInformer-targets","pos":"virtinformers.go:330","timestamp":"2022-09-16T11:16:45.724380Z"}
{"component":"virt-handler","level":"info","msg":"STARTING informer extensionsKubeVirtCAConfigMapInformer","pos":"virtinformers.go:330","timestamp":"2022-09-16T11:16:45.724407Z"}
{"component":"virt-handler","level":"info","msg":"STARTING informer CRDInformer","pos":"virtinformers.go:330","timestamp":"2022-09-16T11:16:45.724433Z"}
{"component":"virt-handler","level":"info","msg":"STARTING informer kubeVirtInformer","pos":"virtinformers.go:330","timestamp":"2022-09-16T11:16:45.724459Z"}
{"component":"virt-handler","level":"info","msg":"metrics: max concurrent requests=3","pos":"virt-handler.go:494","timestamp":"2022-09-16T11:16:45.724511Z"}
{"component":"virt-handler","level":"info","msg":"certificate with common name 'kubevirt.io:system:client:virt-handler' retrieved.","pos":"cert-manager.go:198","timestamp":"2022-09-16T11:16:45.724738Z"}
{"component":"virt-handler","level":"info","msg":"certificate with common name 'kubevirt.io:system:node:virt-handler' retrieved.","pos":"cert-manager.go:198","timestamp":"2022-09-16T11:16:45.724947Z"}
{"component":"virt-handler","level":"info","msg":"Updating cluster config from KubeVirt to resource version '16641747'","pos":"configuration.go:320","timestamp":"2022-09-16T11:16:45.728944Z"}
{"component":"virt-handler","level":"info","msg":"set verbosity to 10","pos":"virt-handler.go:470","timestamp":"2022-09-16T11:16:45.729030Z"}
{"component":"virt-handler","level":"info","msg":"setting rate limiter to 5 QPS and 10 Burst","pos":"virt-handler.go:479","timestamp":"2022-09-16T11:16:45.729073Z"}
{"component":"virt-handler","level":"info","msg":"set verbosity to 10","pos":"virt-handler.go:470","timestamp":"2022-09-16T11:16:46.001981Z"}
{"component":"virt-handler","level":"info","msg":"setting rate limiter to 5 QPS and 10 Burst","pos":"virt-handler.go:479","timestamp":"2022-09-16T11:16:46.002040Z"}
{"component":"virt-handler","level":"info","msg":"set verbosity to 10","pos":"virt-handler.go:470","timestamp":"2022-09-16T11:16:46.002186Z"}
{"component":"virt-handler","level":"info","msg":"setting rate limiter to 5 QPS and 10 Burst","pos":"virt-handler.go:479","timestamp":"2022-09-16T11:16:46.002206Z"}
{"component":"virt-handler","level":"info","msg":"Starting virt-handler controller.","pos":"vm.go:1386","timestamp":"2022-09-16T11:16:46.045606Z"}
{"component":"virt-handler","level":"info","msg":"Starting a device plugin for device: tun","pos":"device_controller.go:57","timestamp":"2022-09-16T11:16:46.045706Z"}
{"component":"virt-handler","level":"info","msg":"Starting a device plugin for device: vhost-net","pos":"device_controller.go:57","timestamp":"2022-09-16T11:16:46.045808Z"}
{"component":"virt-handler","level":"info","msg":"Starting a device plugin for device: kvm","pos":"device_controller.go:57","timestamp":"2022-09-16T11:16:46.045839Z"}
{"component":"virt-handler","level":"info","msg":"refreshed device plugins for permitted/forbidden host devices","pos":"device_controller.go:320","timestamp":"2022-09-16T11:16:46.045876Z"}
{"component":"virt-handler","level":"info","msg":"enabled device-plugins for: []","pos":"device_controller.go:321","timestamp":"2022-09-16T11:16:46.045900Z"}
{"component":"virt-handler","level":"info","msg":"disabled device-plugins for: []","pos":"device_controller.go:322","timestamp":"2022-09-16T11:16:46.045924Z"}
{"component":"virt-handler","level":"info","msg":"set verbosity to 10","pos":"virt-handler.go:470","timestamp":"2022-09-16T11:16:46.045921Z"}
{"component":"virt-handler","level":"info","msg":"setting rate limiter to 5 QPS and 10 Burst","pos":"virt-handler.go:479","timestamp":"2022-09-16T11:16:46.045953Z"}
{"component":"virt-handler","level":"info","msg":"refreshed device plugins for permitted/forbidden host devices","pos":"device_controller.go:320","timestamp":"2022-09-16T11:16:46.045982Z"}
{"component":"virt-handler","level":"info","msg":"setting rate limiter to 5 QPS and 10 Burst","pos":"virt-handler.go:479","timestamp":"2022-09-16T11:16:46.046004Z"}
{"component":"virt-handler","level":"info","msg":"enabled device-plugins for: []","pos":"device_controller.go:321","timestamp":"2022-09-16T11:16:46.046015Z"}
{"component":"virt-handler","level":"info","msg":"disabled device-plugins for: []","pos":"device_controller.go:322","timestamp":"2022-09-16T11:16:46.046040Z"}
{"component":"virt-handler","level":"info","msg":"set verbosity to 10","pos":"virt-handler.go:470","timestamp":"2022-09-16T11:16:46.046047Z"}
{"component":"virt-handler","level":"info","msg":"Heartbeat sent","pos":"heartbeat.go:124","timestamp":"2022-09-16T11:16:46.061895Z"}
{"component":"virt-handler","level":"info","msg":"No VMIs detected","pos":"scraper.go:153","timestamp":"2022-09-16T11:16:50.725360Z"}
{"component":"virt-handler","level":"info","msg":"No VMIs detected","pos":"scraper.go:153","timestamp":"2022-09-16T11:16:55.725228Z"}
{"component":"virt-handler","level":"info","msg":"Heartbeat sent","pos":"heartbeat.go:124","timestamp":"2022-09-16T11:16:56.088497Z"}
{"component":"virt-handler","level":"error","msg":"Error starting tun device plugin","pos":"device_controller.go:69","reason":"error registering with device plugin manager: rpc error: code = Unknown desc = failed to dial device plugin: context deadline exceeded","timestamp":"2022-09-16T11:16:57.049960Z"}
{"component":"virt-handler","level":"error","msg":"Error starting kvm device plugin","pos":"device_controller.go:69","reason":"error registering with device plugin manager: rpc error: code = Unknown desc = failed to dial device plugin: context deadline exceeded","timestamp":"2022-09-16T11:16:57.049985Z"}
{"component":"virt-handler","level":"error","msg":"Error starting vhost-net device plugin","pos":"device_controller.go:69","reason":"error registering with device plugin manager: rpc error: code = Unknown desc = failed to dial device plugin: context deadline exceeded","timestamp":"2022-09-16T11:16:57.079142Z"}
W0916 11:16:58.329866  337764 client_config.go:617] Neither --kubeconfig nor --master was specified.  Using the inClusterConfig.  This might not work.
{"component":"virt-handler","level":"info","msg":"No VMIs detected","pos":"scraper.go:153","timestamp":"2022-09-16T11:17:00.725389Z"}
{"component":"virt-handler","level":"info","msg":"Updating cluster config from KubeVirt to resource version '16642235'","pos":"configuration.go:320","timestamp":"2022-09-16T11:17:03.535746Z"}
{"component":"virt-handler","level":"info","msg":"refreshed device plugins for permitted/forbidden host devices","pos":"device_controller.go:320","timestamp":"2022-09-16T11:17:03.535863Z"}
{"component":"virt-handler","level":"info","msg":"enabled device-plugins for: []","pos":"device_controller.go:321","timestamp":"2022-09-16T11:17:03.535939Z"}
{"component":"virt-handler","level":"info","msg":"disabled device-plugins for: []","pos":"device_controller.go:322","timestamp":"2022-09-16T11:17:03.535998Z"}
{"component":"virt-handler","level":"info","msg":"setting rate limiter to 5 QPS and 10 Burst","pos":"virt-handler.go:479","timestamp":"2022-09-16T11:17:03.536144Z"}
{"component":"virt-handler","level":"info","msg":"set verbosity to 10","pos":"virt-handler.go:470","timestamp":"2022-09-16T11:17:03.536252Z"}
{"component":"virt-handler","level":"info","msg":"No VMIs detected","pos":"scraper.go:153","timestamp":"2022-09-16T11:17:05.725106Z"}

journalctl -e -u kubelet:
Sep 16 13:18:18 kubelet[162674]: I0916 13:18:18.065840  162674 server.go:142] "Got registration request from device plugin with resource" resourceName="devices.kubevirt.io/kvm"
Sep 16 13:18:18 kubelet[162674]: I0916 13:18:18.065970  162674 server.go:142] "Got registration request from device plugin with resource" resourceName="devices.kubevirt.io/tun"
Sep 16 13:18:18 kubelet[162674]: I0916 13:18:18.217465  162674 server.go:142] "Got registration request from device plugin with resource" resourceName="devices.kubevirt.io/vhost-net"
Sep 16 13:18:28 kubelet[162674]: E0916 13:18:28.066602  162674 client.go:65] "Unable to connect to device plugin client with socket path" err="failed to dial device plugin: context deadline exceeded" path="/var>
Sep 16 13:18:28 kubelet[162674]: E0916 13:18:28.066661  162674 handler.go:73] "Failed to connect to new client" err="failed to dial device plugin: context deadline exceeded" resource="devices.kubevirt.io/tun"
Sep 16 13:18:28 kubelet[162674]: I0916 13:18:28.066691  162674 server.go:158] "Error connecting to device plugin client" err="failed to dial device plugin: context deadline exceeded"
Sep 16 13:18:28 kubelet[162674]: E0916 13:18:28.066685  162674 client.go:65] "Unable to connect to device plugin client with socket path" err="failed to dial device plugin: context deadline exceeded" path="/var>
Sep 16 13:18:28 kubelet[162674]: E0916 13:18:28.066761  162674 handler.go:73] "Failed to connect to new client" err="failed to dial device plugin: context deadline exceeded" resource="devices.kubevirt.io/kvm"
Sep 16 13:18:28 kubelet[162674]: I0916 13:18:28.066803  162674 server.go:158] "Error connecting to device plugin client" err="failed to dial device plugin: context deadline exceeded"
Sep 16 13:18:28 kubelet[162674]: E0916 13:18:28.217910  162674 client.go:65] "Unable to connect to device plugin client with socket path" err="failed to dial device plugin: context deadline exceeded" path="/var>
Sep 16 13:18:28 kubelet[162674]: E0916 13:18:28.217995  162674 handler.go:73] "Failed to connect to new client" err="failed to dial device plugin: context deadline exceeded" resource="devices.kubevirt.io/vhost->
Sep 16 13:18:28 kubelet[162674]: I0916 13:18:28.218044  162674 server.go:158] "Error connecting to device plugin client" err="failed to dial device plugin: context deadline exceeded"

I'd be more than happy to help debugging this, but beyond these logs I have no idea where to look.

There is a known issue with the device plugin on k8s 1.25. I think this should be fixed by https://github.com/kubevirt/kubevirt/pull/8451. Please try with 1.24. The fix is pretty fresh, so I am not sure if there is a KubeVirt release that includes it.

"merged yesterday". I think "pretty" fresh is an understatement xD
Either way, thanks for the quick reply! Do you have any idea about the kv release cycle? I can probably just wait for it.

KubeVirt has a monthly release cycle. The latest v0.57.0 was released 4 days ago. The next release will be roughly in mid Oct.
But this exact fix can potentially be cherry-picked to some current release, and then a patch version will be cut. But here I cannot say about the timeline.

Thanks. I'm still in the "playing around" phase, so I can patiently wait for that.
Should this issue be closed since it's fixed in main? Or wait for a release that includes the fix?

As an option you can try to build locally :) its not that difficult. But yeah, feel free to close the issue if you think its fine for you.

I'm not that brave :)
Especially considering I'm far from an expert on k8s, go, or virtualisation.


Performance fix in TranslatableListener

Throwing an exception is really slow compared to an if-statement.
For example: In our application this exception was throwed 300 times (loading 300 entities without locale), after this change the page loads 50ms faster.

I suggest creating a private method isValidLocale and using it in both places instead of duplication the validation logic

@stof true, I changed it

thanks ;)


First large image on wall pixelates.

Yes! I no this issue, i have to take the bigger profile picture from twitter and not the standard one... I will try to do it before tomorrow...


Create AWS Cloudwatch Synthetics Canary scripts for testing RPC endpoints

Description
Create AWS Cloudwatch Synthetics Canary scripts for every RPC method and workflow. See UI example here. This bounty only requires the creation of the syn-nodejs-puppeteer scripts.
Context
To continuously monitor the health of the Harmony API endpoints, we need a set of syn-nodejs-puppeteer synthetics scripts to issue requests to the endpoints and analyze the response to ensure the data and schema structure is correct. As well as creating individual tests for individual methods, some endpoints will require multiple requests. Such as creating a transaction, then looking up that new transaction info through a subsequent request.
Acceptance Criteria

Complete nodejs scripts for testing every RPC method.
Provide a screen recording of all of the canaries inside the AWS Cloudwatch console to show the scripts are working.

Reward
$500 in ONE tokens

Hello, I did some research on this and I feel confident that I can do it. I'd like to confirm that my approach is the right one:
I had a first successful test deploying the Canary with the AWS CDK and the nodejs script. I'm thinking about generating all the templates from an array that specifies the method, params, and result, this would be a CDK stack, easy to deploy, change and destroy.
I'm asking because the notes only ask for the final scripts, which I can ultimately provide, but I think this approach could be faster and easier to modify later.

With regards to the bounty, it seems like the price of the ONE token has dropped since the issue was posted. Is this still 8182.7617 ONE? Or will it be adjusted?
Thanks in advance!

@givp Can I take it up? I hv experience in both AWS & Nodejs

@Zerquix18 you can go ahead and start the bounty via gitcoin. AWS CDK could be a nice way to manage the canary tests! Regarding reward amount. This value will be adjusted based on current ONE market price.

@quantum-guy7 absolutely. But multiple folks can start working on the same bounty. A winner will be selected based on the quality of delivery.

Question regarding the bounty:

Can I use Terraform to create the CloudWatch canaries?
Should I create one canary for each method call or one canary for all methods call? Not sure how will that affect the integration with the status page and that's why I am asking. :slightly_smiling_face:

@zheli yes you can use Terraform. We need a separate canary for each method so we can monitor the status of each endpoint. But like I mentioned above, some canaries could contain multiple requests to test transactions.

Just submitted my work :) Thought I would explain a little bit of what I did:
This file contains all the RCP methods to be tested: https://github.com/Zerquix18/harmony-cloudwatch/blob/master/lib/methods.ts
Includes their params, host and what the result should be.
The CDK then builds all canaries for all methods, including a bucket for the logs and alarms: https://github.com/Zerquix18/harmony-cloudwatch/blob/master/lib/harmony-cloudwatch-stack.ts
Each canary gets the method item (from the original file) as an env bar and runs it: https://github.com/Zerquix18/harmony-cloudwatch/blob/master/canary/index.ts
3 of the endpoints were not working: 2 were not working (including the cURL example) and one had a warning of being WIP.
As a plus, I added all types for Synthethics, which don't seem to be anywhere online! I'll probably submit that to DefinitelyTyped. https://github.com/Zerquix18/harmony-cloudwatch/blob/master/models/synthetics.ts
Thanks to that, the entire project uses Typescript, including the Canary script.{
To make everything work just set up the CDK locally or with an action and you're ready!
Had a lot of fun! Thanks for the opportunity. Best of luck to everybody.

Just submitted my work as well. It's doesn't have the alert or S3 bucket creation part, but that can be added easier later.
Some implementation details are written here: https://github.com/zheli/harmony-cloudwatch-synthetic-canary-scripts/blob/main/README.md
I will improve some of the test scripts some time today.

Thank you. I will review shortly.

Fixed some mistakes in my README to make it more clear.


BUG: Navbar not aligned properly

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
After navigating to the benefits page when clicked on the read more in the benefits section, the navbar is not aligned to the top of the page.

I would like to fix this issue.
Please assign this to me with the labels: gssoc-extd, hacktoberfest, hacktoberfest-accepted
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

assign this to me .


Skip incompatible tests with HPU

I've made an analysis of all tests in vLLM project. Status is that some tests, e.g. attention or cache tests, have been enabled for HPU, however most of the failing tests have been skipped. I've tried to make as little changes as possible to be facilitate upstream the code.

@kzawora-intel and @madamczykhabana can any of you do a review?


Proposal: Create RFC project under zig-lang

If you do a search, there are a lot of proposals here. That's great for zig! It's also clogging up the issues list for zig itself. This should be an area for bug reports.
Rust has the https://github.com/rust-lang/rfcs repository. It's very official, and formal, and I'm not suggesting it has to be that polished, but I think it would help zig to have something similar.

I personally find it convenient to have everything in one place. Are GitHub's label searching features insufficient? Did you try to search for something and couldn't find it?

No. I haven't had any issues, it's more a personal preference I suppose.
I will add that I think the difference between an "Enhancement" and a "Proposal" is arguably nonexistent. You could argue that every proposal is an enhancement, otherwise it wouldn't be proposed.

I would assume proposal issues have not yet been accepted, while enhancement issues have. If any of the enhancement issues have not been accepted, then it seems like they should get the proposal tag too.

behavior changes are either enhancements or bugs.
if it's doing something against how it's documented to work, or at least how it would be documented to work if it were documented, then it's a bug. otherwise it's an enhancement.
proposals are proposing to change how something is documented to work.

Sounds like a maintenance headache. You'd have to specify a format and spend a lot of time writing things up and make it very formal, etc.
Suitable for organizations with many maintainers, maybe. I don't think it makes sense for Zig.


[Str] Grapheme support

Just like Psl\Str\Byte component, we want to add Psl\Str\Grapheme that wraps grapheme_str* function in a nicer API that is consistent with our Psl\Str and Psl\Str\Byte components.

He @azjezz
I can take care of this if you want

Sure! that would be great!


SOLR-16331: add xml suffix to remaining managed schema files

https://issues.apache.org/jira/browse/SOLR-16331
Description
Converting remaining managed-schema to managed-schema.xml.
Solution
Please provide a short description of the approach taken to implement your solution.
Tests
ran tests and manually tested bin/solr start commands.

I think this is ready.  I left one managed-schema example.   @dsmiley, I would love a review  since you reviewed the related issue.  ;-)


EKS Fargate pods with storage needs delay to start a pod

Description:
When deploying a pod with storage in an EKS Fargate cluster, the pod will not start because pv/pvc needs to be bound before it starts as described in this article.
Issue:
When deploying Traefik Enterprise with the Helm chart both controller and registry will be in pending mode until K8s loop and restart (nearly 1hr), when deploying for the first time user will need to rollout restart the stateful set just after deploying.

Following FarGate current limitations, I understand that the PVC needs to created first, with the expected name, before installing with the Chart.

Yes, I did test it out with a quick and dirty change on the chart, and creating PV and PVC before the statefulset did the trick.
The stateful pods can start immediately by creating the PV and the PVC before the statefulset in the chart (removing the volumeClaimTemplates part).

Will retry Monday for a full deployment with the volumeClaimTemplates and adapt my pv YAML accordingly.

@NEwa-05 Anything left to do on this issue ?

Yes, sorry, I'll close this issue, the documentation will have an EKS Fargate annotation to cover this need.
Thanks.


Add gao as an instrument option for apply_oe

Just add gao to the list of SUPPORTED_SENSORS and an elif clause to extract datetime and fid from a GAO/CAO radiance map. I've been meaning to do this for a while to save me having to re-implement each time I pull.

New sensors always welcome; thanks Nick!

@jammont - can you check the linting on this and merge in?


Update helmclient to v2.1.0 with Helm v3.3.0

Towards https://github.com/giantswarm/giantswarm/issues/11748
Checklist

[x] Update changelog in CHANGELOG.md.

Testing overnight on godsmack.

Overnight test was fine on godsmack. Going with a ping.


Feature:Online Query and Dynamic Modification of Table-level RocksDB Options

What problem does this PR solve?
Feature:Online Query and Dynamic Modification of Table-level RocksDB Options (#1488)
https://github.com/apache/incubator-pegasus/issues/1488
Complete the dynamic setting function of num_levels and write_buffer_size option.I use rocksdb.write_buffer_size as a dynamically modifiable parameter and rocksdb.num_levels as a non-dynamically modifiable parameter to test my idea.
What is changed and how does it work?

Providing online modification functionality for Pegasus table-level RocksDB configuration:

The common RocksDB options can still be configured through the config.ini file.
For the RocksDB options that support dynamic modification, they can be modified using the create or set_app_envs command.
For the RocksDB options that do not support dynamic modification, they can be modified using the create command.

Providing online query functionality for Pegasus table-level RocksDB configuration:

Following the design principle of app environment (app env), only the RocksDB options set through the create or set_app_envs command will be available for online querying.
The remaining RocksDB option information is located in the [pegasus.server] section of the config.ini file.

Tests

Unit test
Unit test is add in meta_app_envs_test.update_app_envs_test
Manual test (add detailed scripts or steps below)
Pegasus shell case:
create lpf -e rocksdb.num_levels=12,rocksdb.write_buffer_size=100
create lpf -e rocksdb.num_levels=5,rocksdb.write_buffer_size=100
create lpf -e rocksdb.num_levels=5,rocksdb.write_buffer_size=33554432
set_app_envs rocksdb.write_buffer_size  67108864
set_app_envs rocksdb.num_levels 4
get_app_envs

This is the specific creation process of replica, including my two modifications. Respectively deal with creating a new rocksdb and restarting rocksdb.
Key Process：

new replica ： Create a replica, which contains env information num_levels=5, and the actual rocksdb has not been created
store_app_info(_app_info) ： Persist app_info information to .app_info file
_app.reset(replication_app_base::new_storage_instance(_app_info.app_type, this)); ：Construct pegasus_server_impl. Parameter this pointer is replica*, which contains env information num_levels=5.
pegasus_server_impl::pegasus_server_impl ：Construct pegasus_server_impl. Initialize rocksdb option via FLAGS_rocksdb_*
update_app_envs_before_open_db(envs); ：Make the env information effective before creating the rocksdb instance.
reset_usage_scenario_options ： Load rocksdb option from OPTION-XXXXX file.

I show the set_app_envs procedure using the write_buffer_size option. My third modification solves the online modification of dynamic rocksdb options.


feat: comments that can be skipped in a file at once

Created based on discussion of #469
You can completely ignore the file by placing ### SkipFileForDocs ### at the beginning of the file like this.
### SkipFileForDocs ###

GET      /api/hidden/a                 controllers.hiddenEndPointA()
GET      /api/hidden/b                 controllers.hiddenEndPointB()
GET      /api/hidden/c                 controllers.hiddenEndPointC()

Looking at SBTSubProjects, the routes file splitting seemed to be a feature for subprojects, but it actually works, so it may be useful for semantic file splitting.
/conf/routes:
GET /index                  controllers.Application.index()

->  /admin admin.Routes

GET     /assets/*file       controllers.Assets.at(path="/public", file)

/conf/admin.routes
GET /index                  controllers.admin.Application.index()

GET /assets/*file           controllers.admin.Assets.at(path="/public/lib/myadmin", file)

@kailuowang
Please, review 🙏

@kailuowang
I understand you are very busy, but I deeply desire a review of this PR and the release of a version that includes everything.
If you are unable to work on it for the time being, it would be greatly appreciated if you could let us know when you expect to be able to start work on it.

@kailuowang
Thanks

Sorry I was travelling on my vacation last 3 weeks. Just got back home. This looks great! Thanks so much!

@kailuowang
By the way, how do I know that a new version has been released?

Sorry i have no idea. but I know this bot seems have a way to get notified
with new releases.  https://github.com/scala-steward-org/scala-steward
On Mon, Aug 8, 2022 at 8:51 AM Kazuma Iemura @.***>
wrote:

@kailuowang https://github.com/kailuowang
By the way, how do I know that a new version has been released?
—
Reply to this email directly, view it on GitHub
https://github.com/iheartradio/play-swagger/pull/491#issuecomment-1208087700,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAUKOJQBCJANXTZAVTTWRTVYD7GTANCNFSM544ISV5A
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Kai

@kailuowang
This method is not yet available for my project because of the pending implementation of play-swagger, but I would like to use it in the future.


Different of carmera intrinsic parameters

Hi, when I download the NYUv2 dataset, there is a toolbox. Where I found the RGB intrinsic parameters is as follow
% RGB Intrinsic Parameters
fx_rgb = 5.1885790117450188e+02;
fy_rgb = 5.1946961112127485e+02;
cx_rgb = 3.2558244941119034e+02;
cy_rgb = 2.5373616633400465e+02;

But in nyu_dataset.py, the cam_k(which I think is the intrinsic parameters) is np.array([[518.8579, 0, 320], [0, 518.8579, 240], [0, 0, 1]]). Is there any transformation between these two parameters?

Hello, the fx, fy, cx, cy is indeed from the intrinsic matrix param as following:
np.array([[fx, 0, cx],
[0, fy, cy],
[0, 0, 1]])

yep, I know, this is from https://github.com/astra-vision/MonoScene/blob/6ba72f9c27cabcb910eee82db1c72d112c5163f6/monoscene/data/NYU/nyu_dataset.py#L40
but, when I check the NYUv2 dataset in the offical website, in Download part, there is a Toolbox, where in it, a file named camera_params.m indicate the  parameters as I metioned. I do not know what cause these difference.

They are the same?  5.1885790117450188e+02 == 518.8597
the cx and cy is slightly smaller because the image is cropped (cx, cy are half image size).

Thanks for your reply, what I am not understanding is the fy value, it is different and fy is the same with the fx XD

I think probably it doesn't really change anything, You can set to the original value. I use the value from the other works like 3DSketch and AICNet.

thanks for your reply! I guess it won't change anything. Thanks a lot!


Cannot flash SCW NF101 switch

Did you have issues getting a device to flash?
I was not able to flash a SCW NF101 switch. It reacts on the Smart Wifi sequence, stopps flashing the LED and connects to the AP. That's all. Nothing more in the logs.
MAC is 68:57:2d:13:12:be.

Need more information. Can't help without your logs.

@kueblc as I wrote no logs at all beside the lines from starting the tuya-convert components.

Sorry I can't help much if I have nothing to go on. Try to make sure all the services started properly.
Are you sure this device contains an ESP82xx? I don't see one in the pictures you shared. I don't recognize the chip in the second picture.

From the MAC address it does not look like an Espressif device, so we can't install ESP firmware.

Then I guess that's a bad buy. Thank you for your support.

You're welcome, sorry it didn't work out. Hope you can exchange these for something more hackable!


Magento CE 2.2.4?

When will this work with Magento CE 2.2.4?
Failing in my testing.
Thanks!

Nevermind, it working!  Closed.


Basic Android plugin causes exports to fail

Godot version
4.0.2
System information
Manjaro Linux, Samsung Galaxy S8
Issue description
My custom Android plugins cause Android exports to fail with the error
  editor/export/editor_export_platform.h:173 - Export: Building of Android project failed, check output for the error. Alternatively visit docs.godotengine.org for Android build documentation.
  Cannot remove non-existent file or directory: $HOME/.cache/godot/tmpexport.1681767053.apk

For some reason, this only occurs with my own plugins. Ones other people have made that have even worked in Godot 3 still work in Godot 4, some with minor tweaking. My plugin worked just fine until I realized it wasn't being detected by Engine.get_singleton_list(). I tried making a bare-bones plugin and exports fail to launch with the aforementioned error upon enabling it.
Steps to reproduce
I followed FinePointCGI's tutorial on how to make an Android plugin along with the documentation, https://www.youtube.com/watch?v=kwf8SFfH4s8
Nothing is required in the engine aside from setting up Android exports and enabling the plugin.
Minimal reproduction project
N/A

I got the same error on v4.0.3.stable.official.
on TUXEDO OS 2 based on Ubuntu 22.04
@blurrred do you find any solution?

I ran into the same problem and my solution was to change the project directory to full English.

@Abab-bk
What do you mean by project directory? I've only been using English this entire time.

@monstrum
Sorry, no solution yet. It's kind of taxing to keep doing the same process over and over again with no results while not getting any actual real work done.

@monstrum Sorry, no solution yet. It's kind of taxing to keep doing the same process over and over again with no results while not getting any actual real work done.

I have now fixed all the issues with the Android plugin in the current version. The 173 error indicates that your Android plugin is not compliant, regardless of the reason. It could be a missing semicolon in your Java file, missing dependencies, etc. Anyway, it's difficult to pinpoint the exact cause. Android Studio may alert you about some unexpected errors during compilation.

@blurrred
In summary, the cause of this error is the failure to compile. In fact, this is more like a Gradle issue.

@Abab-bk
Thanks a ton for the info. I went through the video again and the issue that I was having was with the 'res' folder. Deleting it caused my plugin to (finally) start working again.
Closing this now.

For those encountering a similar issue, here's some additional information. Specifically, I was trying to run the official template Godot XR Template on Oculus Quest 2.
As @Abab-bk correctly pointed out, the problem lies in Gradle. At least in my case, all XR projects started to build (but not yet successfully launch!) as soon as I identified and corrected an incorrect Gradle setting. Here's how I did it:

Checked the Gradle version in the automatically generated directory %your_project%/android/build by entering ./gradlew --version in the console within that directory. I found out that the Gradle version was 7.4.2.
Next, I checked my Java version by entering java --version in the console. At that time, I was using Java version 20.
I discovered that there is a compatibility table between Gradle and Java versions – Compatibility Table. It turned out that my version was only compatible with Gradle version 8 or higher. A global upgrade of Gradle yielded no results – you'll have to manually upgrade gradlew in each project you're interested in. So I chose to downgrade Java to version 17, which resolved the version incompatibility problem.

As I mentioned above, after these manipulations, all XR projects in Godot began to build and install on my Oculus Quest 2. However, they would launch for a couple of seconds and then crash. In the logs, there were two errors, one of which was: Attempt to open script 'res://components/persistent/persistent_config.gd' resulted in error 'File not found'. I checked, and indeed, this file was missing. I didn’t understand how to solve this problem, so I tried creating a new project and repeated the steps from the official documentation – Godot XR Deployment Guide. This worked – the project not only built and installed on Oculus Quest 2 but also launched and did not crash. I don't want to jump to conclusions, but I suspect the issue may lie in the project settings of Godot XR Template. Otherwise, I don't know how to explain why it didn't launch for me, but a clean project did.
Also, if you've launched the project on Oculus Quest and it doesn't crash but everything is black and it's impossible to interact with anything, you probably forgot to add a script to your Node3D where XROrigin3D is declared. Below is the basic code that allows you to get rid of the black screen and finally launch your project fully:
extends Node3D

# Called when the node enters the scene tree for the first time.
func _ready():
    var xr_interface: XRInterface = XRServer.find_interface('OpenXR')

    if xr_interface and xr_interface.is_initialized():
        var vp: Viewport = get_viewport()
        vp.use_xr = true

# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta):
    pass

I hope this information helps you successfully launch your first VR project on Oculus Quest.

I will also add a few words about deleting certain directories in an attempt to solve the problem. Deleting res located in %your_project%/android/build did not help me at all, and neither did deleting the Gradle cache. Essentially, none of this should help you in such a situation. The only deletions that are sometimes necessary are to delete the android folder in your project directory. Godot itself will even require this from you if you try to install a new Android build template. I had to do this while I was experimenting with Gradle to somehow get the project to launch.


add docker image: Python 3.6.1

contains the following components:

Python 3.6.1
Nginx 1.10.0
uWSGI 2.0.15
Psycopg2 2.7.1
Pip 9.0.1
SSH

Closing this PR since the PR was submitted to a different repo.


feat(Dropdown): add clearable prop

Refs #560.

Why to separate props?
clearable sets the behavior, while clearIndicator allows to customize the slot.

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

  Generated by :no_entry_sign: dangerJS


Support for excluding packages in devDependencies

Is it supported already?

@dwiyatci Can you please describe further what you want to achieve! Thx.

@mojoaxel Suppose that I have, in my bower.json, something like:
{
  "dependencies": {
    "angular": "1.5.8"
  },
  "devDependencies": {
    "angular-mocks": "1.5.8"
  }
}

Currently bower-licence will list both licenses for angular and angular-mocks. I'd like to list licenses of the packages in dependencies only, and not in devDependencies(thus, license of angular only in my example).
Cheers! 🧀

Hm, surprisingly this is not supported...I could've sworn that it was.
PR's welcome :)


Default avatar voicer

Set default voicer for each avatar.
I define the default voicer myself for now, so maybe update later.

Closing this PR, please apply changes onto thenexuscity/z-targeting