Upload retry logic throws exception: "The request message was already sent. Cannot send the same request message multiple times."

Sending the same HTTP message instance is exactly what the retry logic attempts to do: https://github.com/coryrwest/B2.NET/blob/5876301d12cb97258afaa22d958b0d341ace2a28/src/Files.cs#L207
Stack trace:
System.InvalidOperationException: The request message was already sent. Cannot send the same request message multiple times.
   at System.Net.Http.HttpClient.CheckRequestMessage(HttpRequestMessage request)
   at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
   at B2Net.Files.Upload(Byte[] fileData, String fileName, B2UploadUrl uploadUrl, String contentType, Boolean autoRetry, String bucketId, Dictionary`2 fileInfo, CancellationToken cancelToken)
   at B2Net.Files.Upload(Byte[] fileData, String fileName, B2UploadUrl uploadUrl, Boolean autoRetry, String bucketId, Dictionary`2 fileInfo, CancellationToken cancelToken)

Fixed in 0.7.5

Haven't run into this issue recently (had 42,000 files to upload over the weekend so I hit many of the B2 failure cases), but the fix looks good. 👍


Enabling other editions of msvc

I'll probably use self hosted runners in a project and the Community version of Visual Studio will be installed on those. This enable your script to check for Community and Professional editions in addition to the Entreprise one offered by github.
The modification generate a kinda search map ordered by version then by edition. It generate the batch script that runs vcvarsall.bat on the fly given that search map.

Hi @NicoG60!
I welcome improvements that add more supported systems.
And I like your 'metaprogramming' approach to generating the batch file and the ordering trick to optimize the search. These are little things that nevertheless matter. Now it will be trivial to add new versions when they come out, which is awesome.
I'm sorry for somewhat late response. Thank you for your interest and your contribution! ❤


Add empty list view to WhatsApp extension

Description

To avoid some users confusion on why WhatsApp extension appears to be empty I added a empty screen to give some context.
Screencast

https://user-images.githubusercontent.com/36263538/160252020-789d6ab5-bb1e-40c9-8115-8c235dc0943a.mp4
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed in the metadata folder

nice! 🎉


Celery error with StateIO

When attempting to run StateIO export, receiving following error:
combine-celery_1      | [2019-06-16 22:08:00,528: INFO/MainProcess] Received task: core.tasks.stateio_export[ea93c1c8-3cd9-48aa-933b-9cef9cded499]
combine-celery_1      | [INFO] 2019-06-16 22:08:00,534 core.tasks.stateio_export (1385): using CombineBackgroundTask: Export State, ID #4, Celery Task ID #ea93c1c8-3cd9-48aa-933b-9cef9cded499
combine-celery_1      | [2019-06-16 22:08:00,534: INFO/ForkPoolWorker-1] using CombineBackgroundTask: Export State, ID #4, Celery Task ID #ea93c1c8-3cd9-48aa-933b-9cef9cded499
combine-celery_1      | [2019-06-16 22:08:00,538: ERROR/ForkPoolWorker-1] Task core.tasks.stateio_export[ea93c1c8-3cd9-48aa-933b-9cef9cded499] raised unexpected: TypeError('isinstance() arg 2 must be a type or tuple of types',)
combine-celery_1      | Traceback (most recent call last):
combine-celery_1      |   File "/opt/conda/envs/combine/lib/python3.5/site-packages/celery/app/trace.py", line 385, in trace_task
combine-celery_1      |     R = retval = fun(*args, **kwargs)
combine-celery_1      |   File "/opt/conda/envs/combine/lib/python3.5/site-packages/celery/app/trace.py", line 648, in __protected_call__
combine-celery_1      |     return self.run(*args, **kwargs)
combine-celery_1      |   File "/opt/combine/core/tasks.py", line 1397, in stateio_export
combine-celery_1      |     compression_format='zip')
combine-celery_1      |   File "/opt/combine/core/models/stateio.py", line 341, in export_state
combine-celery_1      |     'jobs':[Job.objects.get(pk=int(job)) if isinstance(job, [int, str]) else job for job in jobs],
combine-celery_1      |   File "/opt/combine/core/models/stateio.py", line 341, in <listcomp>
combine-celery_1      |     'jobs':[Job.objects.get(pk=int(job)) if isinstance(job, [int, str]) else job for job in jobs],
combine-celery_1      | TypeError: isinstance() arg 2 must be a type or tuple of types

Might be related to changes here:
https://github.com/MI-DPLA/combine/pull/411/commits/69b877f574c469616ae81cb5195907ea398d0831#diff-c2112e0bd0f4b442bcfc8897da15277eL329

While fixing that, encountered another:
combine-celery_1      | [2019-06-17 11:29:38,184: ERROR/ForkPoolWorker-1] Task core.tasks.stateio_export[8b39ab1b-d7df-462a-91c9-d2a873b68c16] raised unexpected: ValueError('too many values to unpack (expected 2)',)
combine-celery_1      | Traceback (most recent call last):
combine-celery_1      |   File "/opt/conda/envs/combine/lib/python3.5/site-packages/celery/app/trace.py", line 385, in trace_task
combine-celery_1      |     R = retval = fun(*args, **kwargs)
combine-celery_1      |   File "/opt/conda/envs/combine/lib/python3.5/site-packages/celery/app/trace.py", line 648, in __protected_call__
combine-celery_1      |     return self.run(*args, **kwargs)
combine-celery_1      |   File "/opt/combine/core/tasks.py", line 1397, in stateio_export
combine-celery_1      |     compression_format='zip')
combine-celery_1      |   File "/opt/combine/core/models/stateio.py", line 407, in export_state
combine-celery_1      |     self.package_export()
combine-celery_1      |   File "/opt/combine/core/models/stateio.py", line 811, in package_export
combine-celery_1      |     for _key, val in self.export_dict:
combine-celery_1      | ValueError: too many values to unpack (expected 2)

Oops :flushed: merged your PR

Excellent!


[FEATURE] Add support for KCM and KSH metrics

Is your feature request related to a problem? Please describe.
Yes, it'd be ideal to understand the scheduling latencies in the cluster, scheduler retries, and other controllers related metrics.
Describe the solution you'd like
Scrape the ksh and kcm metrics and show in observability platform
Describe alternatives you've considered
N/A
Additional context
N/A

Thankyou Ashok for the ticket. Looking forward for your PR with updated collector config. Please reachout for any questions or needing help.


Cherry pick from staging to master

Add litmuschaos/litmus to the github links on website main page
Signed-off-by: Uma Mukkara<EMAIL_ADDRESS>

Fixes https://github.com/litmuschaos/litmus/issues/1638


Documentation links given in README.md are dead links (404)

Go to https://github.com/gisaia/ARLAS-server#documentation
and click on the Documentation links -> 404

Links were outdated, thanks for your help @est-seb


wis2box-ui: turn clustered markers on/off via ENV variable or map toggle

question/feedback from Iran:
_In the previous version (1.0b4), all the stations are displayed on the map at the same time and the status of data reception
can be easily seen, but in the new version, the stations are displayed in a clustered form ( related figures attached to the email).
And to see the reception status, you need to zoom in on each cluster on the map.
Is there any config to display all stations like the previous version? Since, it was more user friendly.
Best Regards,
Zeinab_

Implemented in wis2box-1.0b6 as follows:

New environment-variables WIS2BOX_UI_CLUSTER=false controls the default section


Update the BMI Air Mouse app for the SDK version 0.97 f7

Hello!
Your BMI Air Mouse app version 1.0 fails to build with the SDK version 0.97.0-rc f7. Please update the app in your repository and create a new pull request to the catalog repository with the updated manifest file.

IMPORTANT: Don’t forget to update the app version and commit version in the manifest file.

View logs
Flipper Team

Welp, it's either 0.99 or 0.97, not both...


[Task]: Add an option to render custom ECharts option in chart type dropdown

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks

Users should be able to select custom echarts option from chart type dropdown.
The custom fusion chart should appear as a deprecated option and that it will be phased out soon.

Designs: https://www.figma.com/file/yLnYf2QslxjgSKbsIWrs4w/Fusion-Charts-->-E-Charts?type=design&node-id=121-5356&mode=design&t=ALzL4fDG4DqruHWy-4

@rajatagrawal I added the link to designs here.

@rajatagrawal this issue has moved for 3 sprints? Are we really working on this?

@rajatagrawal this issue has spilledover 3 sprints? Are we really working on this?

@somangshu yes, I am picking it up this sprint.


Fix failing tests that used real HTTP requests

A couple of the HTTP requests were stubbed with the previous gem version causing
a mismatch that triggered a real network request. This commit simply updates the
fixtures to use the newer version of the gem as the user agent.

Coverage increased (+0.6%) to 75.706% when pulling ffb4a922350ccffe456b8e5ab73096cdfcba0342 on bugs/fix-webmock-error into e328024c9d74de9eebeee79b7436c0f13beec353 on master.


Bug: Import from UI bad behavior on branch names "_imported"

There are currently 2 unexpected behaviors for these branches:

for Branches "x_imported_y" where "x_y" branch doesn't exist:
The imported data is being committed into branch x_imported_y and when advancing to the compare window we get an error since the ref "x_y" doesn't exist
for Branches "x_imported_y" where "x_y" branch exists:
The imported data is being committed into branch x_imported_y and when advancing to the compare window shows a merge from "x_imported_y" into "x_y"

Since this pattern is a valid branch naming the expected behavior should be that a new branch created called "_x_imported_y_imported" and the imported data will be committed to it and that the merge compare will suggest merging "_x_imported_y_imported" into "x_imported_y"

1:

2:

3:

Example compare window of no existing x_y branch:

I think that the users aren't expecting to have an import branch created from another import branch. When they are in the context of an import branch and click on the import button, the expected behaviour should be to use the same import branch again. We do need to fix all the edge cases which currently fail, as you rightfully mentioned.

I think that the users aren't expecting to have an import branch created from another import branch. When they are in the context of an import branch and click on the import button, the expected behaviour should be to use the same import branch again. We do need to fix all the edge cases which currently fail, as you rightfully mentioned.

I find this behavior very confusing. As a user I would not understand the flow and will in a high chance make mistakes which result in unwanted behavior


Remove comments on production build in a web part

Remove some comments from used libraries and own code in minimized production build.

What kind of comments are you talking about? By default Uglify must remove comments in code, except license comments.
Please, add some examples of removed comments.

Oh, ok. My bad.
If you need to keep them, then close the pr :)


Fix bugs, remove 2pc transactionID input, simplify 2pc methods and limit 'one console one transaction'.

Codecov Report

Merging #106 into release-rc5 will decrease coverage by 0.06%.
The diff coverage is 0.00%.

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


Server configuration to limit the visibility distance of pings [FEATURE REQUEST]

What it might look like:
Ping data is sent to all players. However, if the server specifies a max distance, players that are farther than that distance from a ping, won't be shown and they will not be notified.
Also maybe a way to have a ping cool down where if a players pings more than X number of times in Y amount of time, they will get a Z seconds time out before they can ping again.

This already is a client-side feature for everyone to set for themselves.
Please visit the config menu by writing /pingwheel config or visiting the modmenu-integration.
If players want to see further away pings, they should be able to decide for themselves.
Restricting the players by enforcing a server-wide limit is not a planned feature.


failed test on client side

frontend testing is a  headache for me but test is really important for a successful project.
hope we can fix the failed tests at client side.  http://localhost:4200/tests?nojshint

i agree with you, i've been letting this sit, because at my workplace we are establishing a pattern to test with ember-cli which i was hoping to use here too, i'll take a look at these failures, we've had them all succeeding, but they keep breaking

https://travis-ci.org/mgenev/how-to-sane
Now that you fixed the client tests, I added the web hook for travis and we're green for both client and server. Awesome! Now we just have to write some actual tests :D


Add SO_BROADCAST to Sys::Socket::Constant

Add SO_BROADCAST to Sys::Socket::Constant

Fixed.
https://github.com/yuki-kimoto/SPVM-Sys/commit/259bd7284983fe1c5025626b7dde36bfae3553f5


Solidify API for 1.0

Current API is quite verbose, I'm considering using common short names to save some key strokes and cut back on the the verbosity. Things such as value -> val, etc. There are also several method names which have several synonyms that would fit. Once this is stabilized I will start considering a 1.0 release (along with a Rust 1.0).
This would ultimately be a breaking change (if names are changed), but legacy methods will be left in until a proper deprecation period has passed.
If anyone has ideas of overly verbose method names that should be changed, let's here it :)
Main methods I'm considering are those of ArgMatches but those of Arg and App could also change if needed. I'm also not apposed to leaving all method names as is, I believe being too verbose is better than too short.

1.0.0-beta has just been uploaded to crates.io It will stay in beta for short bit to find any last minute bugs, then 1.0 will be cut


Helm chart improvements

Make service account name configurable
Add option to create service account
Add option to reference existing secret. Often used if you deploy with GitOps method For example for External Secrets or SealedSecrets

@schlapzz Thank you for this contribution!  I've added team members to review 🙏

Thanks for this one @schlapzz!
Want to fix the DCO failing check? FWIW: https://github.com/dagger/dagger/blob/6e92c208b3753fa249584046fb00b359eae126ba/CONTRIBUTING.md#dco

Sorry, messed up the branches. I'm going to create a new PR


If caught Throwables such as OutOfMemoryError need more handling than logging

In some cases Throwables which are not Exceptions such as OutOfMemoryError are being caught then handled only by logging which is inadequate. For example see org.jboss.netty.channel.socket.nio.AbstractNioWorker.
Java programs are generally not intended to carry on normally after such failures. although some error handling before they exit may sometimes be appropriate when possible. Netty should either exit the Java process itself in these circumstances, or at least defer the decision to the enclosing application.
In my case the customer reported a large number of ClosedSelectorExceptions being logged by netty. Trawling back through many hours of logs in turned out that an earlier series of OutOfMemoryErrors had put Netty into a strange state, but there was no way for the enclosing application to determine or handle this. If the process had exited then existing failure detection mechanisms would have caused it be restarted.

Ideally Netty shouldn't even be catching Throwables it has no adequate mechanism for handling. Arguably all the "catch (Throwable t)" should be "catch (Exception e)" and let the JVM exit with other Throwables such as OutOfMemoryError.

I couldn't agree more on this.... please don't call System.exit yourself rather don't catch throwable all apps can do the System.exit call in their code or handle it in different ways ie. log stuff or whatever

I'm going to close this issue as a duplicate of https://github.com/netty/netty/issues/6096. https://github.com/netty/netty/issues/6096#issuecomment-264574221 includes more up to date and I think more concrete discussion on a path forward.


Use single file (.pem) certificate.

Propagate up to BaseClient and APIClient the ability to use single file certificate (a '.pem' file, containing the private key and the certificate). Keep and prefer the existing crt/key file pair, but use tuple instead of list as keep more similar as used in the requests library.

Coverage increased (+0.05%) to 95.37% when pulling ca1f3f5a3eabf84f1654f190df4821e269756d39 on beci:master into f370d111d2e7adf1ca4221fc8cc4b028e4b2b2f8 on liampauling:master.


Implement PUT for upload-link

Implement PUT /curation/collections/{collection_uuid}/datasets/upload-link so that curators can submit Datasets by giving us download links from which we can source the datafile.
Refer to the spec

Unassigned - assigning to @Bento007


Update FiltersBucket.cs

Needed a way to access all the buckets in the result. The named bucket is great for single bucket access but in certain cases you may want to just loop all the buckets with the name and the bucket content in the output. See here for example.
Just made the Accessibility Level Public to allow this.

Thanks for the PR @RobinRieger - LGTM.  I can't remember why we made them private to begin with, but thinking about it now, there's no reason they should be.


Telegram api error exit status 1

package main

import (
    "os"
    "github.com/go-chat-bot/bot/telegram"
)

func main() {
    telegram.Run(os.Getenv("telegram__tokenhere"), os.Getenv("DEBUG") != "")
}

The result I received is:
exit status 1

My api token is working on other frameworks.

@romanornr if you pass the second parameter as true, does it print out any other info?

Not sure what you mean.
Can you type the line in here?

@romanornr I think I know what you are doing wrong, notice that in the example you don't put the telegram token in the code, instead you put it in a environment variable and use the variable in the code.
Try this just to see if it works:
telegram.Run("telegram__tokenhere", true)


Basic fix for stereo rendering without a display device

Fixes stereo rendering when a display device isn't present, reproducing similar behaviour to before the Oculus DK2 changes.

http://i.imgur.com/7Z6QkPu.jpg works

:+1:

Thanks!


how to use contextual compression in a ConversationalRetrievalChain

Issue you'd like to raise.
how to use contextual compression in a ConversationalRetrievalChain
Suggestion:
No response

resolved


How about adding a discriminator to the Fastspeech2 to improve the naturalness of the spectrum？

How about adding a discriminator to the Fastspeech2 to improve the naturalness of the spectrum？

I have done related relevant work and got some results, what's your accout? @MrYANG23


Add FAQ to readme.

Since customer facing content is now part of FAQ, refer to it from README.md

I'd change the whole line to: To read more about code development and testing please read
CONTRIBUTING.md as well as the FAQ on the wiki

Sounds good.

Oh, I added a typo. We need a period at the end of that sentence. Once that's in LGTM.


core: subgraph might continue processing to next block when an error occurred on a revert

The continue in the instance_manager run loop are actually doing a continue that continue to the next block in the stream.
That meant to be breaks instead so they actually go up to the outer loop which restart the subgraph.

@mangas This is a case that we missed in https://github.com/graphprotocol/graph-node/pull/3085, what would happen if one of these continues were hit is that the block stream would believe that the revert for block number n was processed, when actually failed to process. It would then either:

Emit a revert for n - 1, which implicitly reverts n so it's fine.
Emit a new block n, which could lead to inconsistencies but thankfully in fn forward_block_ptr we would catch the attempt to process the same block number twice.


Handle failures when building better.

set -e at top of bash script
determine best way to handle error in python


Re-organize Code Structure

Clean up the structure of the code and files to make more sense. Move things into services? directives? for example?

Completed..


Z Wave configuration tool display problem

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
V0.59.1
Python release (python3 --version):
python 3.6.3
Component/platform:
configurator
Description of problem:
Going into the Zwave section of the configuration area. When you click on the drop down beside the "nodes" in the "z wave node management" section the list builds in the up direction and then the top most items are blocked by the blue header across the top. You can't select the upper most selections because you can't get to them.
Expected:
drop down list should actually "drop down"
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):

Additional info:

I see the same issue

Same

Is this a duplicate of this issue?
https://github.com/home-assistant/home-assistant/issues/10433

yes


SampledProperty.interpolationAlgorithm should be labelled read-only

If you read the docs: https://cesiumjs.org/Cesium/Build/Documentation/SampledProperty.html?classFilter=Sampled#interpolationAlgorithm you might be encouraged to go around setting this property in your applications, trusting that everything will work as intended.
The docs give you false hope however, since this property does not have a setter:
https://github.com/AnalyticalGraphicsInc/cesium/blob/1.54/Source/DataSources/SampledProperty.js#L287
You'll get:
TypeError: setting getter-only property "interpolationAlgorithm"

Also, EasingFunction links to TweenCollection which doesn't seem to exist:
https://cesiumjs.org/Cesium/Build/Documentation/TweenCollection.html
I ran into all this trying to have a SampledProperty do an easing instead of just linearly interpolating. Is there no easy way to do this?

@OmarShehata TweenCollection is a private class, so EasingFunction should probably either be private as well, or shouldn't link to TweenCollection.
Currently SampledProperty supports Linear, Lagrange, or Hermite interpolation.  See https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=Interpolation.html

I feel like we should expose TweenCollection as public. Given that we ship our library with TweenJS, it'd be nice to expose it. Otherwise, a user would have to include their copy of it to do some of this common operations.
This came up in this thread on tweening some entity properties on user interaction:
https://groups.google.com/d/msg/cesium-dev/shXInRucRtY/9nne8r4PBwAJ
In this case, it's things like having a billboard fade in/out on mouse over for example, which I think is conceptually different from time-dynamic data that should be tied to the timeline.

@OmarShehata Users might need additional API to implement some use case, but simply exposing TweenCollection and calling it a day would be a leaky abstraction.
That being said, this issue is about fixing the documentation, so let's not get sidetracked with other things (especially if this is going to be labeled good first issue.  Please write up a new issue if you feel there needs to be a feature request to do something.

Fixed in #8821

Congratulations on closing the issue! I found these Cesium forum links in the comments above:
https://groups.google.com/d/msg/cesium-dev/shXInRucRtY/9nne8r4PBwAJ
If this issue affects any of these threads, please post a comment like the following:

The issue at https://github.com/CesiumGS/cesium/issues/7597 has just been closed and may resolve your issue. Look for the change in the next stable release of Cesium or get it now in the master branch on GitHub https://github.com/AnalyticalGraphicsInc/cesium.


NewsRecommendation contex vectors generator

It seems that NewsRecommendation generates the same context vector for each arm.
Reading LinUCB(2011 Li et al.) paper I have the impression that the context vector should be different (at least at some extend depending the arms features) for each arm. I am mistaken? Or the the implementation is that just for convenience?
https://github.com/iosband/ts_tutorial/blob/3e229f72d5c939d23804e971de3c82b770513c2f/src/news_recommendation/env_recommendation.py#L39-L44

Thanks for raising this!
Yes I think you are right, and this looks incorrect to me.
I am now checking if there is any disconnect between this public repo and the code we ran for the experiments.

Any update on the issue?

Abbas Kazerouni has been managing this section of the code/experiment and we've discussed this.
He's having a look at this now - apologies for the delay.

Hello @DemirTonchev. Thanks for raising the question and apologies for delayed response.
The variable 'context_vector' in the code here represents only the user's context vector (z_t in  7.1 of the TS tutorial). As such, it will be generated once a user arrives and the rewards associated to different arms (i.e., articles) is computed for the same user with his/her contexts being fixed.
In our formulation, the characteristics of different arms are captured by unknown \theta_x vectors which are different across x's.

@abbas-kazerouni  thanks for clarifying that. I though it was the z_{t, x} vector in TS tutorial. Do you have any code/simulation examples with the later type of characterizing the contextual vector?
Thanks for the TS tutorial paper :)

In the paper and the codes, we have considered a version of the problem where the context z_t only changes over time and is the same for all arms. Although, generalizing the algorithms to the more complex setting of Li et al. (2010) should be straightforward.


Create HandAgent version of AndroidPlaytime scenario

Describe the new feature you'd like
We should add a HandAgent version of the playtime scenario.

Added Playroom-Hand scenario in BYU-PCCL/holodeck-configs/pull/12


fix close button on safari

it may still differ a little bit and may not be pixel-perfect centered but that's better than before

Chrome:

Safari:

oh ok. Fixed. The default font family is not the same for Safari and Chrome. Not font-family was specified, so I forced Arial.


monitor: error while fetching metadata for committees service

This issue was automatically created by the knesset-data health monitor, please do not modify the title or remove any labels
unexpected error while trying to fetch metadata for committees service
url=http://www.google.com/
error=request exception
error content...

Encountered the error again
unexpected error while trying to fetch metadata for committees service
url=http://www.google.com/
error=request exception
error content...

Encountered the error again
unexpected error while trying to fetch metadata for committees service
url=http://www.google.com/
error=request exception
error content...


Sample1 and Sample2 : transcription runs ahead of playback

This looks 'magical' - we transcribe even before hearing the audio - makes it look like the whole thing is canned -:).  Can we pace the audio for our samples so that transcription follows the audio playback?  This is only for 'sample 1' and 'sample 2' (for all 6 models), not for general file upload where we do not know the sampling rate.

@vaibhavagoel make sure you add a label so that I know if is a bug or an enhancement.

Ok, will do.  Could we pl. look at this one soon.  Folks have been asking, this morning Manish Goyal was also saying he's been giving demos and it looks odd for the text to come before audio is played.  Thanks!

Sorry @vaibhavagoel but I'm working on bugs right now.
I rather prefer to fix the 500 forwarding error bug in the nodejs wrapper.

You think Dani can take a look ?

Will ask Dani.  Can I somehow include him on this ticket?

@daniel-bolanos can you help me with this?

This is done already :)


Optimizations and simplifications

Optimizations made:

Replaced the hash command with command -v, which is more portable and POSIX compliant.
Combined the apt update and apt install commands into a single command to reduce the number of commands executed.
Simplified the command to retrieve the system's IP address by using the ip -4 addr show command and filtering the output with grep and awk.
Removed the redundant grep command in the condition for checking the number of IPv4 addresses on the system.
Simplified the command for selecting the user's desired IPv4 address by using sed instead of grep and cut.
Use a case statement instead of multiple if/elif statements when detecting the OS for better code readability.
Use a function + case statement to print the error messages and exit when a required OS version is not met.

I've taken liberties with the format as I haven't look at your code guidelines/requirements for PRs but hope you'll consider this one.

I do not remember specifics now, but there is a reason to use hash instead of command in that context.
The apt change does not reduce the number of commands executed. And why use apt instead of apt-get in a script like this?
It makes no sense to "simplify" already robust and tested approaches which have been used over the years. For example, your commit introduces the use of awk. While being a powerful tool, I intentionally avoided dependance on awk (and other commands) as it is not present in every system. Your pull request breaks the script in every system where awk is not present.


Improved LinkIt styling

Fields were too close without a margin.
Before

After

Much appreciated @joshuabaker !

:v::grin:


Platformatic db auth

/// <reference path="../global.d.ts" />
import { FastifyInstance, FastifyPluginOptions } from 'fastify';
import auth from '@platformatic/db-authorization';

export default async function (fastify: FastifyInstance, opts: FastifyPluginOptions) {
  await fastify.register(auth, {
    roleKey: "X-PLATFORMATIC-ROLE",
    anonymousRole: "anonymous",
    rules: [{
      role: 'user',
      entities: ['movie'],
      find: true,
      delete: false,
      save: false
    }]
  });
}

Is the @platformatic/db-authorization supposed to be registered inside a plugin? https://docs.platformatic.dev/docs/db/authorization/rules
I am currently getting an error

{"statusCode":500,"error":"Internal Server Error","message":"request.setupDBAuthorizationUser is not a function"}

Are you already using Platformatic DB?
Could you include a repository to reproduce?

Was trying to create a reproduce only to find out that when i pass below config, where i mention auth.ts it fails, but if i remove the specific file mention it works fine
BREAKS
...
    "plugins": {
        "typescript": true,
        "paths": [
            {
                "path": "./plugins/auth.ts",
                "encapsulate": false
            }
        ]
    }
...

WORKS
...
    "plugins": {
        "typescript": true,
        "paths": [
            {
                "path": "./plugins",
                "encapsulate": false
            }
        ]
    }
...


[ci:component:github.com/gardener/autoscaler-v0.10.0:v0.10.0->v0.12.0]

*Release Notes:
Autoscaler avoids scaling down the machines which are already being terminated.

MCM provider now also returns unregistered nodes to Autoscaler. This change enables autoscaler to pick up an alternate worker-pool if the chosen one can't be scaled-up.

@hardikdr @AndreasBurger , could you please check why the ci/cd created this PR with no changed files?
/close

This repository's images.yaml defines autoscaler twice (https://github.com/gardener/gardener/blob/master/charts/images.yaml#L75-L83) which the component-descriptor script translates to two dependencies for the autoscaler-component (one for v0.10 and one for v0.12) since the repositories start with eu.gcr.io/gardener-project.
So this component now recieves update-PRs twice. This one was for the v0.10.0 autoscaler.
We've added an additional env-var (as of yet undocumented) LOCAL_DEPENDENCY_NAME that contains the local name of the component that is being updated to distinguish between components that are present multiple times. Unfortunately that name defaults to <component name>-<component version> which is unique, but also changes with every new version.
So we'd either need to change the component-descriptor-script to not add autoscaler twice or give the instances explicit names so we can properly handle them during upgrade-PR-creation. Let's talk about that on Monday.

@AndreasBurger - We see this happens with every CA release. Any ideas on how we could avoid this? Could modify something in the chart itself?


wiremock.reset-mappings-after-each-test does not work on nested class test

Example: in given form the test pass
When nested class is uncommented, test fails
@SpringBootTest(properties = "wiremock.reset-mappings-after-each-test=true")
@TestMethodOrder(MethodOrderer.OrderAnnotation.class)
@AutoConfigureWireMock(port=0)
class WiremockApplicationTests {

	@Value("${wiremock.server.port}")
	String port;

	private WebTestClient webTestClient ;

	@BeforeEach
	void initWebtest() {
		webTestClient = WebTestClient.bindToServer()baseUrl("http://localhost:" + port).build();
	}

//	@Nested
//	class NestedClass {

		@Test
		@Order(1)
		void test200() {
			WireMock.stubFor(WireMock.get("/").willReturn(WireMock.aResponse().withStatus(200)));

			webTestClient.get().exchange().expectStatus().isOk();
		}

		@Test
		@Order(2)
		void test404() {
			webTestClient.get().exchange().expectStatus().isNotFound();
		}
//	}

'springCloudVersion', "2020.0.1"

I wonder if it's not related to Spring as such. In Contract we're leveraging the Spring's TestExecutionListener. If you run the tests with logs to DEBUG do you see any Contract logs being printed or the WireMockTestExecutionListener is not being called at all?

On nested case I see the following:

WireMockTestExecutionListener  : No @AutoConfigureWireMock annotation found on [class deleteme.wiremock.WiremockApplicationTests$NestedClass]. Skipping

Ah, so we should check for annotations also on the parent class too. We're not supporting nested classes for the time being then.

@marcingrzejszczak
I started looking into this one. So far I have found that the AnnotationUtils.findAnnotation does not work in the nested case as it uses SearchStrategy.TYPE_HIERARCHY and we need to use SearchStrategy.TYPE_HIERARCHY_AND_ENCLOSING_CLASSES. There is no current way to override the strategy in AnnotationUtils but this code does the trick to get past this first issue:
private boolean annotationMissing(TestContext testContext) {
  Annotation annotation = MergedAnnotations
      .from(testContext.getTestClass(), MergedAnnotations.SearchStrategy.TYPE_HIERARCHY_AND_ENCLOSING_CLASSES,
          RepeatableContainers.none())
      .get(AutoConfigureWireMock.class).withNonMergedAttributes().synthesize(MergedAnnotation::isPresent)
      .orElse(null);
  ...

It still is not working as I am sure there are other pieces of code doing the same. I will get back to this sometime today but just wanted to drop some status.

It still is not working as I am sure there are other pieces of code doing the same.

This was just a side effect of the way that my test was structured. The nested and outer had slightly different configs so the context was not being shared and wiremock port was different in nested class.


Rule proposal: disallow aria-live="assertive"

I've heard the advice that assertive should almost never be used. One example of where it is appropriate is in the case of an actual emergency where the person needs to be interrupted so they can evacuate the area. I wonder if it would be useful to have a rule that restricts its usage?

I like it.


Add test materials

Material repr and eq methods have been updated so that the following
will work: mat == eval(repr(mat)).
This is a standard way to test repr methods, since they should be
unambiguous to help debug.
Closes #230

Codecov Report

Merging #263 into master will increase coverage by 0.21%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #263      +/-   ##
==========================================
+ Coverage   69.41%   69.63%   +0.21%
==========================================
  Files           9        9
  Lines        2750     2753       +3
==========================================
+ Hits         1909     1917       +8
+ Misses        841      836       -5

Impacted Files
Coverage Δ

ross/materials.py
85.39% <100%> (+6.32%)
:arrow_up:

Continue to review full report at Codecov.

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


Retries per file

Proposed changes
This PR resolves #2484.
I took commits from PR 2930 which was closed due to migration v4 to a separate repository.
Types of changes

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)
[ ] I have proposed the same patch to the new v5 repository

Further comments
Reviewers: @christian-bromann

Given the situation that this PR isnt' merging to boneyard master soon, I need to use this feature by make my own package...
QUESTION: If I fork and do npm package, anything/steps I need to modify/add to make it work in order to have it work the same as webdriverio out of box(simply just npm install solving the problem)?
What I tried, pack this and remove the previous webdriverio and install the newly made package. It throws message as : Error: Cannot find module '../build/lib/cli.js'
Much appreciated for any help!


fix rewrite regex number choice "curly bracket" case.

fix the case that "Curly Bracket" in the rewrite case below:
rewrite "^/a/([\d]{2})_(\d+).html$" /a/0$1/$1$2.html last;

fix multiline ; in one line case  and rewrite regex curly bracket case.

@slomkowski   add some test , please check.


⚠ SkipTheCommericals has degraded performance

In bd5bd37, SkipTheCommericals ($STC) experienced degraded performance:

HTTP code: 200
Response time: 1821 ms

Resolved: SkipTheCommericals performance has improved in acaa6da.


GCE Persistent disks never used

Hi,
it seems the created pd is never used.
gcloud compute disks create --size 8GB --type pd-ssd pd-ssd-disk-8g-$i
this creates a persistent disk, however, later when creating persistentVolumeClaim and pod requesting a persistent volume, it creates its own persistentVolume with autogenerated name and the former pd just hangs there.
I believe the point was to have a persistentVolume (to not lose the data) which will be named like pd-ssd-disk-8g-$i and that doesn't work.
I may submit a PR if you want. Just tell me if you prefer naming the pds as intented or its not important and we can just delete the loops with pd creations.
Thanks for the repo and blog btw! It was really helpful.

Hi, thanks for the notes. I should be using the disks I create. What is actually redundant is the line "kubectl apply -f ../resources/gce-ssd-storageclass.yaml" in genrate.sh to craete a storage class. This is only needed if the Dynamic PVCs, but in my example I create the disks explicitly (partly to ensure XFS is used - may not be required anymore?). I've commented out that line with an explanation (I've left it in with a comment though as its a useful reference point for people to see). Both methods do result in persistent volume claims which are tolerant of recycling statefulset pods, I've just made it more explicity whihc method I'm using (Static PVs vs Dynamic PVs). Thanks Paul
kubectl get pv NAME               CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS    CLAIM                                                               STORAGECLASS   REASON    AGE data-volume-4g-1   4Gi        RWO            Retain           Bound     default/mongo-configdb-persistent-storage-claim-mongod-configdb-2   fast                     2m data-volume-4g-2   4Gi        RWO            Retain           Bound     default/mongo-configdb-persistent-storage-claim-mongod-configdb-0   fast                     2m data-volume-4g-3   4Gi        RWO            Retain           Bound     default/mongo-configdb-persistent-storage-claim-mongod-configdb-1   fast                     2m data-volume-8g-1   8Gi        RWO            Retain           Bound     default/mongo-shard1-persistent-storage-claim-mongod-shard1-0       fast                     2m data-volume-8g-2   8Gi        RWO            Retain           Bound     default/mongo-shard2-persistent-storage-claim-mongod-shard2-2       fast                     2m data-volume-8g-3   8Gi        RWO            Retain           Bound     default/mongo-shard2-persistent-storage-claim-mongod-shard2-0       fast                     2m data-volume-8g-4   8Gi        RWO            Retain           Bound     default/mongo-shard3-persistent-storage-claim-mongod-shard3-1       fast                     2m data-volume-8g-5   8Gi        RWO            Retain           Bound     default/mongo-shard1-persistent-storage-claim-mongod-shard1-1       fast                     2m data-volume-8g-6   8Gi        RWO            Retain           Bound     default/mongo-shard2-persistent-storage-claim-mongod-shard2-1       fast                     2m data-volume-8g-7   8Gi        RWO            Retain           Bound     default/mongo-shard3-persistent-storage-claim-mongod-shard3-2       fast                     2m data-volume-8g-8   8Gi        RWO            Retain           Bound     default/mongo-shard1-persistent-storage-claim-mongod-shard1-2       fast                     2m data-volume-8g-9   8Gi        RWO            Retain           Bound     default/mongo-shard3-persistent-storage-claim-mongod-shard3-0       fast                     2m

what kubernetes version are you using?
because it works completely different for me..
root@vps:~/gke-mongodb-shards-demo/scripts# k get pv
NAME                                       CAPACITY   ACCESSMODES   RECLAIMPOLICY   STATUS      CLAIM                                                               REASON    AGE
data-volume-4g-1                           4Gi        RWO           Retain          Available                                                                                3d
data-volume-4g-2                           4Gi        RWO           Retain          Available                                                                                3d
data-volume-4g-3                           4Gi        RWO           Retain          Available                                                                                3d
data-volume-50g-1                          50Gi       RWO           Retain          Available                                                                                3d
data-volume-50g-2                          50Gi       RWO           Retain          Available                                                                                3d
data-volume-50g-3                          50Gi       RWO           Retain          Available                                                                                3d
data-volume-50g-4                          50Gi       RWO           Retain          Available                                                                                3d
data-volume-50g-5                          50Gi       RWO           Retain          Available                                                                                3d
data-volume-50g-6                          50Gi       RWO           Retain          Available                                                                                3d
pvc-4934d8ee-d5be-11e7-a4b9-42010a8401b3   4Gi        RWO           Delete          Bound       default/mongo-configdb-persistent-storage-claim-mongod-configdb-0             3d
pvc-49a57c43-d5be-11e7-a4b9-42010a8401b3   50Gi       RWO           Delete          Bound       default/mongo-shard1-persistent-storage-claim-mongod-shard1-0                 3d
pvc-501bc8b4-d5be-11e7-a4b9-42010a8401b3   50Gi       RWO           Delete          Bound       default/mongo-shard2-persistent-storage-claim-mongod-shard2-0                 3d
pvc-5600bd65-d5be-11e7-a4b9-42010a8401b3   4Gi        RWO           Delete          Bound       default/mongo-configdb-persistent-storage-claim-mongod-configdb-1             3d
pvc-56851c5b-d5be-11e7-a4b9-42010a8401b3   50Gi       RWO           Delete          Bound       default/mongo-shard3-persistent-storage-claim-mongod-shard3-0                 3d
pvc-5bc633d4-d5be-11e7-a4b9-42010a8401b3   50Gi       RWO           Delete          Bound       default/mongo-shard2-persistent-storage-claim-mongod-shard2-1                 3d
pvc-61dd56df-d5be-11e7-a4b9-42010a8401b3   50Gi       RWO           Delete          Bound       default/mongo-shard3-persistent-storage-claim-mongod-shard3-1                 3d
pvc-63215897-d5be-11e7-a4b9-42010a8401b3   4Gi        RWO           Delete          Bound       default/mongo-configdb-persistent-storage-claim-mongod-configdb-2             3d
pvc-87c17743-d60a-11e7-a4b9-42010a8401b3   50Gi       RWO           Delete          Bound       default/mongo-shard1-persistent-storage-claim-mongod-shard1-1                 3d

I'm just using current GKE defaults.

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.2", GitCommit:"bdaeafa71f6c7c04636251031f93464384d54963", GitTreeState:"clean", BuildDate:"2017-10-24T19:48:57Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"7+", GitVersion:"v1.7.8-gke.0", GitCommit:"a7061d4b09b53ab4099e3b5ca3e80fb172e1b018", GitTreeState:"clean", BuildDate:"2017-10-10T18:48:45Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
$ gcloud container get-server-config
Fetching server config for europe-west1-b
defaultClusterVersion: 1.7.8-gke.0

Are you running the project on a Kubernetes platform that is not GKE?

# kubectl version
Client Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.2", GitCommit:"08e099554f3c31f6e6f07b448ab3ed78d0520507", GitTreeState:"clean", BuildDate:"2017-01-12T04:57:25Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"7+", GitVersion:"v1.7.8-gke.0", GitCommit:"a7061d4b09b53ab4099e3b5ca3e80fb172e1b018", GitTreeState:"clean", BuildDate:"2017-10-10T18:48:45Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}

# gcloud container get-server-config
Fetching server config for europe-west1-d
defaultClusterVersion: 1.7.8-gke.0

could it be the client version?

I upgraded my client kubectl version
Client Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.4", GitCommit:"9befc2b8928a9426501d3bf62f72849d5cbcd5a3", GitTreeState:"clean", BuildDate:"2017-11-20T05:28:34Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"7+", GitVersion:"v1.7.8-gke.0", GitCommit:"a7061d4b09b53ab4099e3b5ca3e80fb172e1b018", GitTreeState:"clean", BuildDate:"2017-10-10T18:48:45Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
r

and the persistentVolumes are created as intented.
We can close this issue now :) Thanks.

Great, thanks for testing!


Send correct buttons when using a left-handed mouse

If you connect to a Windows server which is set up to use the left button as primary, from an X.org client which is also configured this way, the mouse buttons will appear switched in the RDP session!
This is because RDP expects physical button values to be sent whereas the client currently sends the X.org button event argument which are logical buttons values. The buttons are thus mapped twice.
This changeset implements an indirection where the logical buttons are first unmapped/reverse mapped back to the physical buttons, which are then sent over the wire and can then be mapped by the server. This enables a user to keep the same configuration at both the console and in a remote session.
I have enabled this mapping by default since a remote session should ideally behave like a console session. Left-handed server administrators that only configured their workstation but didn't bother to set the option at the server can use an option to get the back the old behaviour.
For those using a right-handed mouse (at both client and server), there should be no changes.
Tested with Ubuntu Precise 12.04 connecting to Windows 7 SP1.

@freerdp-bot test.

Reduced patch footprint, hopefully without reducing readability. There should be no effective change, but to be on the safe side: @freerdp-bot test

@freerdp-bot test.

The logic of the flag was inverse of the wording; updated and squashed into the commit.

LGTM +1

Looks like this PR doesn't apply cleanly anymore. @RolKau any chance that you could update it ?

@hardening Rebased onto 1b177fa (current master)

@RolKau I have reviewed again the patch, and I feel like the UnmapButton should be in the ABI stable part of settings, probably in the Input Capabilities section. @akallabeth any comment on this ?

@RolKau @hardening Yes, I agree. Would suggest the section labeled /* Miscellaneous */.

@akallabeth @hardening Like 6f6f0b0?


Legend Shapes not reflecting custom Marker Shapes

I had tried adding different shapes for Markers in Scatter chart with below code for 2 data series,

markers: {

  shape: ['circle', 'square']

}

I am able to view markers as expected. But the legend is still both series names prefixed with circle in contrary to display 1st series name with circle shape and 2nd series name with square shape.
Screenshots

Reproduction Link
https://codepen.io/moreturkey/pen/LYjrWax

Fixed with version 3.50.0


feat: Allow Provider State Parameters for MessagePactBuilder

Problem to solve
MessagePactBuilder does not allow key/value parameters to be specified as part of a provider state.
Proposed changes
Overload MessagePactBuilder.given to also accept a provider state with parameters or a ProviderState object.
NOTICE
This software was produced for the U. S. Government under Contract No. FA8702-20-C-0001, and is subject to the Rights in Noncommercial Computer Software and Noncommercial Computer Software Documentation Clause DFARS<PHONE_NUMBER> (FEB 2014)
Approved for Public Release; Distribution Unlimited. Case Number 19-3203.
(c) 2020 The MITRE Corporation. All Rights Reserved.

Can you confirm what the effect of apply the Noncommercial Computer Software and Noncommercial Computer Software Documentation Clause DFARS<PHONE_NUMBER> is? I have a brief look, and it seems ok but I'm not a lawyer.

My understanding is that it shouldn't impose any limitation, but I'll check back with my legal department to confirm.

Generally speaking, it is to let third parties know that MITRE developed this code using DoD funding and our U.S. Government sponsors have a access to a copy of the code.
The notice is really more applicable to noncommercial and closed-source software, but is still contractually required.

Rebased since PR was stale

4.0.6 has been released with this fix


Plugin unavailable in Raspbian GNU/Linux 10 (buster)

zabbix_server (Zabbix) 5.0.5
grafana-server Version 7.3.3 (commit: 2489dc4d3a, branch: HEAD)
Raspbian GNU/Linux 10 (buster)

I'm facing the same problem in a different system, see:
zabbix5-server (5.0.4)
grafana-server (7.3.4)
FreeBSD 12.2-RELEASE-p1
I've added that too:
allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource
Waiting for a possible solution :-)

Same for me. New install of Grafana v7.3.4 (14c494085e) on Raspberry Pi 4 running Zabbix 5.2.2

I managed to get this working for me. I found this issue here:
https://github.com/alexanderzobnin/grafana-zabbix/issues/1028
I checked the plugin directory at /var/lib/grafana/plugins/alexanderzobnin-zabbix-app and the arm version of the plugin wasn't there, so I dowloaded the zip file https://github.com/alexanderzobnin/grafana-zabbix/files/5623127/alexanderzobnin-zabbix-app-4.0.2.zip and copied the two arm files into the plugin directory, restart Grafana and all working now.

I'm facing the same problem in a different system, see:
zabbix5-server (5.0.4)
grafana-server (7.3.4)
FreeBSD 12.2-RELEASE-p1
I've added that too:
allow_loading_unsigned_plugins = alexanderzobnin-zabbix-datasource
Waiting for a possible solution :-)

I think I found something relevant... check the log:
t=2020-12-09T08:32:52-0300 lvl=eror msg="Failed to start plugin" logger=plugins.backend pluginId=alexanderzobnin-zabbix-datasource error="fork/exec /var/db/grafana/plugins/alexanderzobnin-zabbix-app/zabbix-plugin_freebsd_amd64: no such file or directory"
It seems to me that in this version there is the need of a specific binary for each architecture....
zabbix-plugin_darwin_amd64:      Mach-O 64-bit x86_64 executable
zabbix-plugin_linux_amd64:       ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, Go BuildID=yO6v6WdNLrXQdtF9K7ZL/kIZ-od62bPy7jdIipyLE/xmraMuk0R7m5JiwTu1YP/tf5dOjFJKf6GHNu9GLHc, stripped
zabbix-plugin_windows_amd64.exe: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows

It seems to me that in this version there is the need of a specific binary for each architecture....

Yes, if you copy the arm files from the link in my previous post and put them in the plugin directory, it solved the problem for me.

Yes, if you copy the arm files from the link in my previous post and put them in the plugin directory, it solved the problem for me.

I understand... but my problem is that I am running on FreeBSD and not on Raspberry Pi

I managed to get this working for me. I found this issue here:
#1028
I checked the plugin directory at /var/lib/grafana/plugins/alexanderzobnin-zabbix-app and the arm version of the plugin wasn't there, so I dowloaded the zip file https://github.com/alexanderzobnin/grafana-zabbix/files/5623127/alexanderzobnin-zabbix-app-4.0.2.zip and copied the two arm files into the plugin directory, restart Grafana and all working now.

Big man, i did it and nothing, check it out

Hmmm... The only other thing I did was to change the permissions on the alexanderzobnin-zabbix-app directory to 777 and also. Don't know if that helps?

Hmmm... The only other thing I did was to change the permissions on the alexanderzobnin-zabbix-app directory to 777 and also. Don't know if that helps?

Duplicates #1028

Yes, if you copy the arm files from the link in my previous post and put them in the plugin directory, it solved the problem for me.

I understand... but my problem is that I am running on FreeBSD and not on Raspberry Pi

Same problem here. Solved?

Yes, if you copy the arm files from the link in my previous post and put them in the plugin directory, it solved the problem for me.

I understand... but my problem is that I am running on FreeBSD and not on Raspberry Pi

Same problem here. Solved?


Added Rotate bits program

Have you read the Contributing Guidelines on Pull Requests?
YES
Description
Added rotate bits program in C++
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
Fixes #3572

@Apoorve73 @gat786  @atarax665 Kindly review my PR


Portal review - Recommend to add confirmation=True for delete.

We should consider having an option to enable it?
Recommend to add confirmation=True for delete.
Originally posted by @fengzhou-msft in https://github.com/Azure/azure-cli-extensions/pull/1428

Need confirm with Cli team

This needs further discussion. @MyronFanQiu who drived the discussion for related linter rule.


gh-61 Update search user guide

Supports descriptions and screenshots that are relevant for MauroDataMapper/mdm-ui#574
Resolves #61

I am so sorry, @pjmonks, I completely forgot this was still outstanding.  I've now merged - thank you for this contribution!


Failed to initialize container storage

Required information

Distribution: Ubuntu
Distribution version: 16.04
The output of "lxc info":
`config:
core.https_address: '[::]:8443'
core.trust_password: true
api_extensions:

storage_zfs_remove_snapshots
container_host_shutdown_timeout
container_syscall_filtering
auth_pki
container_last_used_at
etag
patch
usb_devices
https_allowed_credentials
image_compression_algorithm
directory_manipulation
container_cpu_time
storage_zfs_use_refquota
storage_lvm_mount_options
network
profile_usedby
container_push
container_exec_recording
certificate_update
container_exec_signal_handling
gpu_devices
container_image_properties
migration_progress
id_map
network_firewall_filtering
network_routes
storage
file_delete
file_append
network_dhcp_expiry
storage_lvm_vg_rename
storage_lvm_thinpool_rename
network_vlan
image_create_aliases
container_stateless_copy
container_only_migration
storage_zfs_clone_copy
unix_device_rename
storage_lvm_use_thinpool
storage_rsync_bwlimit
network_vxlan_interface
storage_btrfs_mount_options
entity_description
image_force_refresh
storage_lvm_lv_resizing
api_status: stable
api_version: "1.0"
auth: trusted
public: false
environment:
addresses:

ip:8443
<IP_ADDRESS>:8443
<IP_ADDRESS>:8443
architectures:
x86_64
i686
certificate_fingerprint: 04bc0dfcce282506419a26a3e21f5483de6e3dfcb0bb530b38e6191605825759
driver: lxc
driver_version: 2.0.8
kernel: Linux
kernel_architecture: x86_64
kernel_version: 4.4.0-77-generic
server: lxd
server_pid: 29767
server_version: "2.14"
storage: ""
storage_version: ""
`

Issue description
After upgrading lxd I can not do anything with containers.
Steps to reproduce

Install lxd from ubuntu repos (2.0.9)
Init to use zfs, lauch some containers
Add stable ppa and upgrade lxd to 2.14

Information to attach (at time of upgrading)
journalctl --unit=lxd
systemd[1]: Stopped LXD - main daemon.
systemd[1]: Stopped LXD - main daemon.
systemd[1]: Starting LXD - main daemon...
lxd[29298]: lvl=warn msg="CGroup memory swap accounting is disabled, swap limits will be ignored." t=2017-06-06T09:09:19+0200
lxd[29298]: lvl=warn msg="Failed to unmount ZFS filesystem via zfs unmount. Trying lazy umount (MNT_DETACH)..." t=2017-06-06T09:09:31+0200
lxd[29298]: lvl=eror msg="Error initializing storage pool "lxd": no storage driver was provided. Correct functionality of the storage pool cannot be guaranteed." t=2017
systemd[1]: Started LXD - main daemon.
systemd[1]: Stopping LXD - main daemon...
systemd[1]: Stopped LXD - main daemon.
systemd[1]: Starting LXD - main daemon...
lxd[29767]: lvl=warn msg="CGroup memory swap accounting is disabled, swap limits will be ignored." t=2017-06-06T09:09:32+0200
lxd[29767]: lvl=eror msg="Error initializing storage pool "lxd": no storage driver was provided. Correct functionality of the storage pool cannot be guaranteed." t=2017
systemd[1]: Started LXD - main daemon.

[ ] container log (lxc info NAME --show-log)
If i try to restart container
lxc<PHONE_NUMBER>2449.816 WARN     lxc_commands - commands.c:lxc_cmd_rsp_recv:177 - Command get_cgroup failed to receive response: Connection reset by peer.
lxc<PHONE_NUMBER>4219.954 ERROR    lxc_conf - conf.c:run_buffer:416 - Script exited with status 1.
lxc<PHONE_NUMBER>4219.954 ERROR    lxc_start - start.c:lxc_init:450 - Failed to run lxc.hook.pre-start for container "testopen".
lxc<PHONE_NUMBER>4219.955 ERROR    lxc_start - start.c:__lxc_start:1314 - Failed to initialize container "testopen".
lxc<PHONE_NUMBER>4219.955 WARN     lxc_commands - commands.c:lxc_cmd_rsp_recv:177 - Command get_cgroup failed to receive response: Connection reset by peer.

[ ] main daemon log (/var/log/lxd.log)
if i try lauch container
ephemeral=false lvl=eror msg="Failed to initialize container storage" name=test123 t=2017-06-06T09:22:40+0200

sqlite3 /var/lib/lxd/lxd.db "SELECT name FROM storage_pools"
lxd
zpool list
NAME   SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
lxd    168G  7.19G   161G         -    12%     4%  1.00x  ONLINE  -

sqlite3 /var/lib/lxd/lxd.db
sqlite> select * from storage_pools;
1|lxd||zfs
sqlite> select * from patches;
1|invalid_profile_names|1494763860
2|leftover_profile_config|1494763860
3|network_permissions|1496732959
4|storage_api|1496732971
5|storage_api_v1|1496732971
6|storage_api_dir_cleanup|1496732971
7|storage_api_lvm_keys|1496732971
8|storage_api_keys|1496732971
9|storage_api_update_storage_configs|1496732972
10|storage_api_lxd_on_btrfs|1496732972
11|storage_api_lvm_detect_lv_size|1496732972

@iyakimavetc, can you run
lxc storage show lxd

?

@brauner
ilya# lxc launch ubuntu: test3
Создание test3
error: no storage driver was provided
ilya# lxc storage show lxd
description: zfs
config:
size: "19193135104"
source: /var/lib/lxd/disks/lxd.img
name: lxd
driver: ""
used_by:

/1.0/containers/test
/1.0/containers/test1
/1.0/containers/test2
/1.0/containers/test3
/1.0/images/8fa08537ae51c880966626561987153e72d073cbe19dfe5abc062713d929254d
/1.0/profiles/default

sudo sqlite3 /var/lib/lxd/lxd.db 'UPDATE storage_pools SET driver="zfs", description="" WHERE id=1;'

This will fix your database.
@brauner is working on fixing the upgrade code to deal with this regression.

Thanks, it works

Perfect, re-opening the issue to track the proper bug fix.


The filters

I attach an implementation of filters which matches ARIA near perfectly. (when implemented there)
It uses some very generic resonant filters, it showed to be quite easy to reproduce them.
Current:
sfz-filters
~sfzfilters.dsp.gz~
Reference:
https://sfzformat.com/opcodes/fil_type
https://sfzformat.com/opcodes/fil2_type

2 pole filters, cascaded for 4 pole and 6 pole
https://shepazu.github.io/Audio-EQ-Cookbook/audio-eq-cookbook.html

Status:

[x] lpf_1p
[x] hpf_1p (buggy in current Plogue ARIA, reported and fixed)
[x] lpf_2p
[x] hpf_2p
[x] bpf_2p
[x] bpf_1p
[x] brf_1p (equivalent of brf_2p in Plogue ARIA)
[x] brf_2p
[x] lpf_4p
[x] hpf_4p
[x] lpf_6p
[x] hpf_6p

New ARIA extensions:

[x] lsh
[x] hsh
[x] peq

Not implemented by ARIA:

[x] apf_1p
[x] lpf_2p_sv
[x] hpf_2p_sv
[x] bpf_2p_sv
[x] brf_2p_sv
[ ] pkf_2p
[ ] comb
[x] pink

Implemented by us, not in specification:

[x] bpf_4p
[x] bpf_6p

Let's move this into the release, thanks alot!


chore: rename template correctly and remove empty space

📑 Description
role binding and role templates were named cluster role and cluster role binding which can cause confusion, so I renamed that and also did remove some empty spaces.

@pehlicd closed since a lot of changed since then, if its still relevant feel free to re-open.


Unsafe behavior in function normaliseStyleClassProps()

Environment
node: v20.11.1
@unhead/shared: 1.9.4
Nuxt: 3.11.2
Reproduction
I dunno, can't find source of problem
Describe the bug
I'm using Nuxt which have unhead as dependency. Today was tried to upgrade Nuxt from 3.10.3 to 3.11.2 and my project won't start because of problem.
I made quick research and found what month ago function normaliseStyleClassProps() was changed and now it accept style in addition to class.
Additional context
I change
return (Array.isArray(v) ? v.join(sep) : v).split(sep).filter((c) => c.trim()).filter(Boolean).join(sep);

to
 return (Array.isArray(v) ? v.join(sep) : v)?.split(sep).filter((c) => c.trim()).filter(Boolean).join(sep);

and my project works without any mistakes. I don't have any visual changes in comparison with previous version.
Can you make optional chaining fix? Is it possible or you expect this behavior (error)?
Logs
ERROR  [nuxt] [request error] [unhandled] [500] Cannot read properties of undefined (reading 'split')
  at normaliseStyleClassProps (./node_modules/.pnpm/@unhead+shared@1.9.4/node_modules/@unhead/shared/dist/index.mjs:526:47)
  at normaliseProps (./node_modules/.pnpm/@unhead+shared@1.9.4/node_modules/@unhead/shared/dist/index.mjs:531:18)
  at normaliseTag (./node_modules/.pnpm/@unhead+shared@1.9.4/node_modules/@unhead/shared/dist/index.mjs:493:18)
  at ./node_modules/.pnpm/@unhead+shared@1.9.4/node_modules/@unhead/shared/dist/index.mjs:556:42
  at Array.map (<anonymous>)
  at ./node_modules/.pnpm/@unhead+shared@1.9.4/node_modules/@unhead/shared/dist/index.mjs:556:27
  at Array.forEach (<anonymous>)
  at normaliseEntryTags (./node_modules/.pnpm/@unhead+shared@1.9.4/node_modules/@unhead/shared/dist/index.mjs:554:109)
  at Object.resolveTags (./node_modules/.pnpm/unhead@1.9.4/node_modules/unhead/dist/index.mjs:312:35)
  at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Hey, thanks for the issue. A reproduction would be useful but maybe it's an integration you're using causing it?
Did you want to send a PR for this? You've already done 95% of the work 😄

Ok, after another 5 minutes of research I found the problem: I'm using optional styles in Vue composable, and it can return undefined.
useHead(() => ({
  htmlAttrs: {
    style: isOpen.value ? 'overflow: hidden' : undefined,
  },
}));

I just deleted this code and everything fine.
Optional chaining is necessary, in my opinion

I agree, undefined is a valid input per the types


#380 - Add option for escape key to close popup

Option added: filterClosedOnEscPressed
Off by default to preserve existing behavior.

Resolves issue #380
Please let me know if you're willing to merge it in.

looks almost fine, but when i mentioned having it as an option, i meant as an option to the popup service. so it would be used always for the filters, but the option would be there not not have it on if the popup service was to be used someplace else in the future. if you can fix, that would be welcome, however i'm happy to fix it also. i think the gridOptions options is overkill, possibly confusing the gritOptions unnecessarily. my apologies if i confused things trying to explain the optional property.

@ceolter I've applied your feedback. Do you think it's OK to merge in now?

cool. thanks.


Replace /config to /userlib for sharedLib Section 4.3.2

Fhir User Guide has incorrect jar location mentioned to keep custom interceptors jar for Persistence interceptors.
Steps to reproduce the behavior:

Go to 'https://ibm.github.io/FHIR/guides/FHIRServerUsersGuide/#432-implementing-a-persistence-interceptor'
Under 4.3.2 Implementing a persistence interceptor step 3, Copy your jar to the <WLP_HOME>/usr/servers/fhir-server/config. This path should be <WLP_HOME>/usr/servers/fhir-server/userlib

closing PR need to add reviewer

@rgupta3349 I can add the reviewer if you reopen the PR

Reviewer added.
PR reopened for review


VideoOverlayProvider.cs - m_emulationTexIdCaptureTextures does not exist

I get this error when I open up the UnityProject from the latest SDK .unitypackage download (Okul) or when I open the UnityExamples project from this Github.
Indeed, the property "m_emulationTexIdCaptureTextures" does not exist in VideoOverlayProvider.cs, and that class does not extend another class so it seems like it's missing altogether.

I get the same error.

@wederw - thanks, that allows a compile if VideoOverlayProvider never gets called, but it trips an error if it does, since m_emulationTexIdCaptureTextures is never allocated.
I've tried allocating it on line 166 of VideoOverlayProvider.cs, but I only get static in my Unity Editor.
m_emulationTexIdCaptureTextures = new YUVTexture(m_emulatedExpId_Y.width, m_emulatedExpId_Y.height, m_emulatedExpId_Y.width, m_emulatedExpId_Y.height, TextureFormat.RGBA32, false);

I believe we fixed this a while back. Please reopen if this is still happening.


String#index and String#rindex with Regex

Includes specs.
Allows you to do things like "ab d 64 aef".index(/\d+/).

Fixed, also improved the readability of the code (thanks @RX14).

Added String#rindex with Regex.

@zatherz Thank you for your contribution and for your patience! :-)


Add AlmaLinux ecosystem

Hi! We've prepared a tool to convert AlmaLinux errata information into shared OSV format. Serving shared format here. Could you review the data files we initialized out repository with? We tried to comply with OSV schema as much as possible, but would be pleased to receive any feedback.
The PR reserves ID tags and ecosystem name that AlmaLinux is aimed to use for OSV database.

@Roo4L heads up that AlmaLinux/errata2osv 404s (private repo?).


chore: test-python-jenkins to 0.0.19

chore: Promote test-python-jenkins to version 0.0.19

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/approve


Pathfind option is bypassed when mobs are not in a 1x1 space

Spaces such as this return a valid path for the mobs, resulting in them bypassing checks regularly
Ideas for addressing this: check surrounding blocks.
Possible issues with this idea: might cause mobs to not drop things when they are not actually blocked, but just get knocked behind something in a fight.

Ideally, if the mob is blocked, somehow, it should be nerfed
I am not sure how to do the math for this
Original plan was to check if 50% of the space was taken by blocks
but then you can have this

Might be able to get away with checking the head height but then you get into a situation of accidentally knocking them behind something

Similar issue pulled from Issue #14 from @Wuffeh.
This specific exploit is a towering exploit, looking at implementation by MagmaGuy in EliteMobs' PreventTowerExploit
Closing issue #14 as duplicate.

After trying the second jar, the issue is the same when here ^

After trying the second jar, the issue is the same when here ^
Edited by Peashooter101: Making picture width 50% to preserve space.

This is not an issue that is feasibly fixable without introducing other possible issues.
The feasibility of this anti-exploit was tested with EliteMobs and was shown to not nerf the mob in a similar situation.
Red X denotes example kill locations where mob drops were not nerfed due to anti-exploit.

This issue should be fixed as of v0.2.0-beta, closing issue


feat(eos_cli_config_gen): Added support for snmp v1 and snmp v2c

Change Summary
Implement changes discussed in issue 1033.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[X] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes)
[X] Documentation content changes
[ ] Other (please describe):

Related Issue(s)
Fixes #1033
Component(s) name
arista.avd.roles.eos_cli_config_gen.templates.eos.snmp-settings.j2
Proposed changes
Added support for SNMPv1 and SNMPv2c trap receivers by updating the schema formerly found in snmp_v3.yml, moving to snmp.yml, and updating snmp-settings.j2.  The primary change was to deal with the schema modification which put the version key under the host instead of under the username where it was only relevant for SNMP v3.
Old Schema:
 hosts:
    - host: <host>
      vrf: <vrf>
      users:
        - username: <username>
          authentication_level: < auth | noauth | priv >
          version: < 1 | 2c | 3 >

New Schema:
  hosts:
    - host: <host>
      vrf: <vrf>
      version: < 1 | 2c | 3 >
      communities:
        community: <community>
      users:
        - username: <username>
          authentication_level: < auth | noauth | priv >

How to test
Added SNMP intent data in YML to group_vars, manually ran playbook to generate configs and validated syntax was as expected and manually validated against EOS switch running 4.26.1.  Additionally verified that  arista/avd/molecule/eos_cli_config_gen/intended/configs/snmp.cfg was appropriately generated after running make converge.
Checklist:

[X] My code has been rebased from devel before I start
[X] I have read the CONTRIBUTING document.
[X] My change requires a change to the documentation.
[X] I have updated the documentation accordingly.
[X] I have updated molecule CI testing accordingly
[X] All new and existing tests passed (pre-commit, make linting and make sanity-lint).

@rainmanatee Please excuse the long lead time. I like your idea about defaulting to 2c or 3 depending on other keys. This will make it safer for existing deployments. The generated CLI was not valid, so I took the liberty of updating it, and while I was at it, I added some extra variable checks and logic. I also refactored the snmp documentation template, so it creates optimal output and follows the same logic as the config template.
I will let someone else review before we merge it in.

Tested with v2c and output is the expected.
I believe indentation should be checked on eos/snmp-settings.j2. Lines 109, 110, 114, 129, 132 have 3 spaces difference compared to previous line, while 137 has 5.
Otherwise, LGTM

Tested with v2c and output is the expected.
I believe indentation should be checked on eos/snmp-settings.j2. Lines 109, 110, 114, 129, 132 have 3 spaces difference compared to previous line, while 137 has 5.
Otherwise, LGTM

The special spacing there is because those lines are actually part of the line above, and just wrapped down to make it more readable. I agree that this does not look very intuitive, so we will discuss the guidelines and come back.

Todo:

[ ] Update rdocs/release-notes/3.x.x.md with data model changes


Using memento with Phoenix releases

Hello
Im trying to build a release of an application that uses Memento.
When running the app with mix phx.server everything works as expected.
When I try to create a production release, I get an error when trying to access the store.
%Memento.Error{message: "Transaction Failed with: {:no_exists, Sigfox.DeviceState}"}
Any help would be much appreciated.
Thanks

Similar problem over here, have you find any solutions @ghost?

I'm just getting started with Memento, and so have not made it to production yet. My guess, though, is that you have not called Memento.Table.create/1 as a part of your release process.
Depending on where you're deploying, you might need to add some release code in the same way that you would run Ecto migrations.
I like to use Application start phases, which require adding start_phases to the application callback in mix.exs. So I'm planning to add start_phases: [memento: []], and then create my tables in my application callback.


grpc dns解析中的GRPC_DNS_RESOLVER这个参数的作用是什么，可以设置哪些值 ？

PLEASE DO NOT POST A QUESTION HERE.
This form is for bug reports and feature requests ONLY!
For general questions and troubleshooting, please ask/look for answers at StackOverflow, with "grpc" tag: https://stackoverflow.com/questions/tagged/grpc
For questions that specifically need to be answered by gRPC team members, please ask/look for answers at grpc.io mailing list: https://groups.google.com/forum/#!forum/grpc-io
This issue will be closed down once seen by the repo managers.

Take a look at https://github.com/grpc/grpc/blob/master/doc/environment_variables.md:
GRPC_DNS_RESOLVER Declares which DNS resolver to use. The default is ares if gRPC is built with c-ares support. Otherwise, the value of this environment variable is ignored. Available DNS resolver include:
* ares (default on most platforms except iOS, Android or Node)- a DNS resolver based around the c-ares library
* native - a DNS resolver based around getaddrinfo(), creates a new thread to perform name resolution

Next time, please use English, and fill out the description.


resourcedetector: Return empty DefaultScopes if default service account is not set.

Description
Return empty DefaultScopes if default service account is not set in the metadata server.
Related issue
When the confgenerator runs the resourcedetector in a VM without any default service account the following error will show :
2022/11/30 21:58:46 The agent config file is not valid. Detailed error: can't get resource metadata: metadata: GCE metadata "instance/service-accounts/default/scopes" not defined

How has this been tested?

Checklist:

Unit tests

[ ] Unit tests do not apply.
[ ] Unit tests have been added/modified and passed for this PR.

Integration tests

[ ] Integration tests do not apply.
[ ] Integration tests have been added/modified and passed for this PR.

Documentation

[ ] This PR introduces no user visible changes.
[ ] This PR introduces user visible changes and the corresponding documentation change has been made.

Minor version bump

[ ] This PR introduces no new features.
[ ] This PR introduces new features, and there is a separate PR to bump the minor version since the last release already.
[ ] This PR bumps the version.

There are a couple of integration test failures that seem unrelated to this change :

SLES12 tests are failing due to an unrelated reason to this PR.
Windows tests flake.
Focal test didn't run, but passed in previous attempt (before rebasing).


Design update v3

WIP for updating Design System to new styles in GOV.UK Frontend v3

You can preview this change here:
Built with commit 95ea065cb51dd3c9cc68e189ebe46131c1c125f6
https://deploy-preview-921--govuk-design-system-preview.netlify.com

Looks good @dashouse 👍 Noticed that the tab headings when they're "current" but not focused (because they're open on page load) look maybe a bit odd as they're black and without the underline

Also, the mobile menu button has poor contrast when it's focused.

That's the case for tabs component too so I think it's ok.
For non-text contrast purposes it can't have an underline because it needs to be different from the unselected tab because the border doesn't meet contrast.
Good call on mobile styles, I'm not actually sure I looked at the mobile nav at all yet

Closing this now as I believe the changes have been made in:

Update navigation focus styles #977
Update the header #978
Update examples to use new design and focus states #983
Design tweaks #989


Updated public interface

Updated public interface to match CoolProp/IF97.
Added unit tests for public interface.
Added public interface implementations status for regions to README.md

Heho @marciorvneto,
Should I change things to get this merged?
Greetz Michael


Delivery delay

User story #4.1: Delivery delay
As a delivery receiver I want to know if there are any delays on the delivery so that I expect it.
Acceptance criteria:

The mail man can send a notification to inform about the delay when the car is on manual control mode
The car should send a notification if the delay is more than 2 minutes when it's on autonomous mode

This issue is out of scope, this feature is useful in the autonomous mode that we won't be implementing because of lack of time.

The mailman will send  a notifitcation to the reciever  once the car outside the door ,so the reciver do not need to calculate the delay time


Support for Multi-Domain Locale Detection in Angular SSR

Description
Currently, Angular SSR does not provide built-in functionality to detect the domain in a multi-domain setup and serve the appropriate localized version of the application. This feature would allow Angular SSR to dynamically render pages with the correct locale based on the domain.
Use Case:

Applications serving different localized versions (e.g., example.com, fr.example.com, example.de) need SSR to serve the appropriate locale.
Example:

example.com → English content
fr.example.com → French content
example.de → German content

Describe the solution you'd like
Allow SSR to use the detected domain to select the corresponding locale configuration. Which simplifies multi-language deployment without relying on path-based locales (e.g., /en, /fr).
Describe alternatives you've considered
No response

Just my two cents: I had to do that for a backend (not using Angular SSR), and I found it rather elegant to do it by relying on the Accept-Language header.
The reverse-proxy in front of the backend would be configured to set the appropriate Accept-Language header value based on the domain. This limits the configuration that needs to be done on the backend side.
And relying on the Accept-Language header could also be a good thing for simpler deployments where there is a single URL to serve the app, and where the Accept-Language header coming from the browser is used to decide which locale to use.


Error: Cannot find module 'execSync'

Followed readme, running Grunt 0.4.2
Output :
Loading "preload_assets.js" tasks...ERROR
>> Error: Cannot find module 'execSync'
Warning: Task "preload_assets" not found. Use --force to continue.

this issue had to do with execSync not being a dependency when you npm installed the package.  However, this package will soon use sync-exec to be compatible with node versions 0.12 and above so this issue can be closed.


update webxdc.js and webxdc.d.ts

with the addition of the new import/export API the webxdc.js file that serves as a simple emulator needs to be updated
related: https://support.delta.chat/t/planned-webxdc-apis-for-processing-files/2570
once webxdc.js is updated here, it should go to at least the webxdc-test and calendar repos.

prior work:
https://github.com/webxdc/webxdc_docs/pull/44 contains types (not updated to newest api (move from File to just base64) as of today, so needs to wait a bit or also update there)
https://github.com/webxdc/calendar/pull/11 contains an updated simulator for import (api not settled 100% yet) and export (still File). So it can serve as a base for working on this issue.

with the addition of the new import/export API the webxdc.js file that serves as a simple emulator needs to be updated
related: https://support.delta.chat/t/planned-webxdc-apis-for-processing-files/2570
once webxdc.js is updated here, it should go to at least the webxdc-test and calendar repos.

Q

I blocked the spammer.

I blocked the spammer.

?
i think, i missed sth :)

i think, i missed sth :)

Some random user made random junk posts and the post got deleted after I reported them. All is good. @r10s Feel free to continue your spamming ;)

thanks for explanation!
/me yum yum, spam


error: aesop/linkProofs: internal error: reconstructed proof of goal 19 is type-incorrect

import Aesop.Main

inductive Even : Nat → Prop
| zero : Even Nat.zero
| plus_two {n} : Even n → Even (n + 2)

attribute [aesop safe] Even.zero Even.plus_two

example : Even 1000 := by aesop

gives
error: aesop/linkProofs: internal error: reconstructed proof of goal 19 is type-incorrect

Thanks! This was apparently already fixed in (my local) master.


Can't locate module locally

Installation details

PyCharm 2019.1.1 (Professional Edition) Build #PY-191.6605.12, built on April 3, 2019
JRE: 11.0.2+9-b159.34 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
intellij-hcl plugin version: v0.6.14
Terraform version: v0.11.13

Terraform Configuration Files
module vmhost {
  source = "git::https://bitbucket.somedomain.net/scm/magic/project.git//magic/modules/vmhost"
}

Exception
module is highlighted yellow and the error "Can't locate module locally: Terraform Module 'vmhost' with source "git::https://bitbucket.somedomain.net/scm/magic/project.git//magic/modules/vmhost"  directory not found locally, use 'terraform get' to fetch modules.
Expected Behavior
It should handle the sub folder checkout from git
Actual Behavior
It reports it is unable to find the directory
Steps to Reproduce
Please list the steps required to reproduce the issue, for example:

check code into git/bitbucket with multiple folders for modules
reference one folder as per above as a source

Does it work after invoking terraform get in console or from quick fix?
Please run terraform get and include content of .terraform/modules/modules.json here.

Thought I had mentioned it, but I have ran it multiple times. content of the json is
{"Modules":[{"Source":"git::https://bitbucket.somedomain.net/scm/magic/project.git//magic/modules/vmlinux","Key":"1.vmlinux;git::https://bitbucket.somedomain.net/scm/magic/project.git//magic/modules/vmlinux","Version":"","Dir":".terraform/modules/b5c8bc6b1ec57ed2bd2f5fc20e6f5cd5","Root":"magic\modules\vmlinux"}]}

Does "Root" in modules.json have \m/\v or \\m/\\v? Just trying to understand what's wrong with escaping.

Ok. Seems it's related to file path separators, API I'm using to resolve relative path expect forward slashes only, will fix and release update ASAP

I'm experiencing this issue with:
GoLand 2019.2.3
Intellij-hcl plugin 0.7.7
Terraform 0.12.10
Even when I run a terraform get in the directory I still get:
Can't locate module locally: Terraform Module 'vpc1' with source 'terraform-aws-modules/vpc/aws' directory not found locally use terraform get to fetch modules.

Here is my modules.json if that helps:
{"Modules":[{"Key":"","Source":"","Dir":"."},{"Key":"vpc1","Source":"terraform-aws-modules/vpc/aws","Version":"2.17.0","Dir":".terraform/modules/vpc1/terraform-aws-modules-terraform-aws-vpc-5358041"}]}

I'm still seeing what appears to be the same issue.
I ran terraform get using Quick Fix. My .terraform/modules/modules/json file looks like:
{"Modules":[{"Key":"support-auto-tag","Source":"../../modules/rsg/project","Dir":"../../modules/rsg/project"},{"Key":"support-auto-tag-dataflow-extras","Source":"git::https://git.rsglab.com/rsg/datascience-tf-dataflow-extras.git?ref=v2.0","Dir":".terraform/modules/support-auto-tag-dataflow-extras"},{"Key":"support-auto-tag-extras","Source":"../../modules/rsg/datascience/project-extras","Dir":"../../modules/rsg/datascience/project-extras"},{"Key":"support-auto-tag-extras.bigquery-readers","Source":"../bigquery-readers","Dir":"../../modules/rsg/datascience/bigquery-readers"},{"Key":"","Source":"","Dir":"."},{"Key":"constants","Source":"../../modules/rsg/datascience/constants","Dir":"../../modules/rsg/datascience/constants"}]}

I am using PyCharm with version 0.7.7 of the plugin, released October 9, 2019.

Ditto, same problem on macos using:
Terraform v0.12.24

provider.aws v2.56.0
HCL plugin 0.7.7
PyCharm CE 2019.3.4

@barrywhart @zswanson If you're using PyCharm please ensure you don't have 'attached' projects or wait to plugin 0.7.8

@VladRassokhin Ok that's probably my issue, I have multiple terraform 'projects' (all related to our system) that I have open in a single view.

I have a bunch of projects open as well. One or two are Terraform and the rest are Python.

Thanks for the update!

This worked for me, though I do like to have all of the TF projects in one Pycharm project....It's nice to have this functionality.  Would be a great fix.

Hi @VladRassokhin
I am having the same problem with Pycharm professional and HCL plugin 0.7.10 on Unix.
{"Modules":[{"Key":"","Source":"","Dir":"."},{"Key":"cluster","Source":"git::ssh://git@github.com/myproject.git//modules/cluster/?ref=my_branch","Dir":".terraform/modules/cluster/modules/cluster"}]}

Paths seem correct to me, but the interpreter is not able to locate the modules, unfortunately.
Could you please help? Thank you very much.

I still have this issue. This seems to have started recently:
Webstorm: Build #WS-213.5744.224, built on November 27, 2021
Plugin 0.7.14
OS: Arch Linux
Error Cannot locate module locally: Unknown reason
module "gce-container-c1" {
  source = "terraform-google-modules/container-vm/google"
  version = "~> 2.0"
  container = {
    image = "eu.gcr.io/XXXX"
  }
  restart_policy = "Always"
}

Any workarounds?

I still have this issue. This seems to have started recently:
Webstorm: Build #WS-213.5744.224, built on November 27, 2021 Plugin 0.7.14 OS: Arch Linux Error Cannot locate module locally: Unknown reason
module "gce-container-c1" {
  source = "terraform-google-modules/container-vm/google"
  version = "~> 2.0"
  container = {
    image = "eu.gcr.io/XXXX"
  }
  restart_policy = "Always"
}

Any workarounds?

which terraform version? It's happening to me too. I've 1.1.0

which terraform version? It's happening to me too. I've 1.1.0 right now, but I was using 1.0.11 and had no issues

I can confirm an upgrade from 1.0.11 to 1.1.0 triggered this issue for me. I'm going to walk through each version to see where the break is.

same issue with 1.1+, works fine on 1.0.11

Same same

Any news on this issue? Seems like terraform has changed the "Source" entry in modules.json moving from 1.0.11 to 1.1+. E.g.:
1.1.2
{
      "Key": "some_sg",
      "Source": "terraform-aws-modules/security-group/aws",
      "Version": "4.7.0",
      "Dir": ".terraform/modules/some_sg"
}

1.0.11
{
      "Key": "some_sg",
      "Source": "registry.terraform.io/terraform-aws-modules/security-group/aws",
      "Version": "4.7.0",
      "Dir": ".terraform/modules/some_sg"
}

A solution for the above issue can be found here:
https://github.com/VladRassokhin/intellij-hcl/issues/365#issuecomment-996019841


ERC 7721: Lockable ERC1155 with Token Based Approval

When opening a pull request to submit a new EIP, please use the suggested template: https://github.com/ethereum/EIPs/blob/master/eip-template.md
We have a GitHub bot that automatically merges some PRs. It will merge yours immediately if certain criteria are met:

The PR edits only existing draft PRs.
The build passes.
Your GitHub username or email address is listed in the 'author' header of all affected PRs, inside .
If matching on email address, the email address is the one publicly listed on your GitHub profile.

@piyush-chittara need to rename the filename to erc-7721.md

thanks @abcoathup, it's done!


Bank Filler Icon With Spellbooks

Sorry I am not adept with coding; but if it is easy to give a spellbook icon to bank fillers? With Standard, Ancient, Lunar, and now the Arceuus rework, its hard to keep what spell set I need to go to. Having the icon of that book in the bank doesnt seem game breaking or (without any knowledge) abusive. I know I am bad and dumb but if its an easy addition I would appreciate it.

This is not a feature we plan to add to the core client. Something like the Inventory Setups hub plugin should satisfy your use case, as it can have a specific spellbook selected.


Fix trends not working because of timeout error

first load is still very slow in prod, maybe related to cache?

better ticket #2903


Fix bug #18852 .dropdown-menu-right position

The .dropdown and .dropup classes have been given display property of
inline-block to set their width to that of the button and hence align the edges of the
dropdown menu and button.

#18852 is a bug in Bootstrap v4 (branch v4-dev). Your pull request is for Bootstrap v3 (branch master).
Feel free to resubmit a new PR against the correct branch.


checkov: 2.4.29 -> 2.4.30

Diff: https://github.com/bridgecrewio/checkov/compare/refs/tags/2.4.29...2.4.30
Changelog: https://github.com/bridgecrewio/checkov/releases/tag/2.4.30
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 253897 run on x86_64-linux 1

2 packages built:

checkov
checkov.dist


Occassionally not triggering a data collection end

https://ispyb.diamond.ac.uk/dc/visit/cm31105-5/dcg/8293826 did not get any results. After discussion with analysis this seems to be because we did not trigger an end in zocalo.
Acceptance Criteria

The root cause of the issue is discovered
A fix is implemented

Root issue here was the following:
Traceback (most recent call last):
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/bluesky/preprocessors.py", line 575, in contingency_wrapper
    ret = yield from plan
  File "/dls_sw/i03/software/artemis/src/artemis/fast_grid_scan_plan.py", line 96, in run_gridscan
    yield from do_fgs()
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/bluesky/utils/__init__.py", line 1147, in dec_inner
    return (yield from plan)
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/bluesky/preprocessors.py", line 952, in stage_wrapper
    return (yield from finalize_wrapper(inner(), unstage_devices()))
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/bluesky/preprocessors.py", line 528, in finalize_wrapper
    yield from ensure_generator(final_plan_instance)
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/bluesky/preprocessors.py", line 946, in unstage_devices
    yield Msg('unstage', d)
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/bluesky/run_engine.py", line 1583, in _run
    new_response = await coro(msg)
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/bluesky/run_engine.py", line 2352, in _unstage
    result = obj.unstage()
  File "/dls_sw/i03/software/artemis/src/artemis/devices/eiger.py", line 76, in unstage
    self.odin.nodes.wait_for_filewriters_to_finish()
  File "/dls_sw/i03/software/artemis/src/artemis/devices/eiger_odin.py", line 63, in wait_for_filewriters_to_finish
    await_value(node_pv.writing, 0).wait(30)
  File "/dls_sw/i03/software/artemis/.venv/lib/python3.10/site-packages/ophyd/status.py", line 412, in wait
    raise WaitTimeoutError("Status has not completed yet.")
ophyd.utils.errors.WaitTimeoutError: Status has not completed yet.

This didn't get passed to GDA as the GDA timeout for Artemis < the timeout for the filewriters to finish. We should increase the GDA timeout to significantly larger than any timeouts Artemis could be waiting on.
I can't find the odin logs in graylog right now, have asked @GDYendell about that. It may be worth if this happens again getting Artemis to check the error messages from odin and putting these into the exception too

After https://github.com/DiamondLightSource/python-artemis/pull/381 we should always be sending the end message to zocalo, even if we fail

I'm not 100% sure of what happened here but I think it could be a very rare race condition. It looked like we created the subscription on the file writers finishing at almost the exact same time as the PV transitioned to finished. It looks like the subscription does do a check on the value when it is first created so I can't see where this would cause an issue but I'm going to move the creation of the subscription earlier just in case.


Update call to pykob.morse to use new parameters.

Closes #220

This works fine. I downloaded Feed 1.8 from GitHub to the new AC server, used 'configure' to set the host name, and launched a couple of test feeds to the ES server. They're running there now (see mtc-es.dyndns.org).
@AESilky It would be okay with me if you ever want to create a new version of Feed.py (Feed 2.0?) that uses different command line options, even if that would make it incompatible with older versions of Feed.

This works fine. I downloaded Feed 1.8 from GitHub to the new AC server, used 'configure' to set the host name, and launched a couple of test feeds to the ES server. They're running there now (see mtc-es.dyndns.org).
@AESilky It would be okay with me if you ever want to create a new version of Feed.py (Feed 2.0?) that uses different command line options, even if that would make it incompatible with older versions of Feed.


How to change the circle color only

how to change the circle ring color only , around the tab icon

The last version of the package contains circleStrokeColor in TabItem you can change the circle ring color only with this property.


The "id" argument must be of type string

I'm on Angular 10 and used the latest version deployed on npm 10.0.0-beta.1.  I'm just trying to setup a very basic example. Getting the following error. Am I missing something?
TypeError [ERR_INVALID_ARG_TYPE]: The "id" argument must be of type string. Received an instance of Array
    at validateString (internal/validators.js:117)
    at Module.require (internal/modules/cjs/loader.js:1016)
    at require (internal/modules/cjs/helpers.js:77)
    at onGotAmdLoader (ngx-monaco-editor.js:34)
    at ngx-monaco-editor.js:51
    at new ZoneAwarePromise (zone-evergreen.js:960)
    at EditorComponent.ngAfterViewInit (ngx-monaco-editor.js:25)
    at callHook (core.js:3105)
    at callHooks (core.js:3075)
    at executeInitAndCheckHooks (core.js:3027)
    at resolvePromise (zone-evergreen.js:798)
    at new ZoneAwarePromise (zone-evergreen.js:963)
    at EditorComponent.ngAfterViewInit (ngx-monaco-editor.js:25)
    at callHook (core.js:3105)
    at callHooks (core.js:3075)
    at executeInitAndCheckHooks (core.js:3027)
    at refreshView (core.js:7391)
    at refreshEmbeddedViews (core.js:8421)
    at refreshView (core.js:7344)
    at refreshComponent (core.js:8467)

Did you ever find the answer to this question? I'm having the same issue.

same issue

Same issue.
Any update? workaround?


Refine concepts of profileList + profileInstanstanceList

I would find it helpful if the document Concepts of ProfileList and ProfileInstanceList would contain some example for what is described there - it doesn't necessarily have to be the actual code. Maybe just some overview picture which makes the relationship between both clearer.
E.g. something like

Thanks for providing the picture.
Just added it to Concepts of ProfileList and ProfileInstanceList.