chore: change workspace update from save to update object (#22549)

Description

This is a helper migration PR which contains the following changes:

#22549 (This contains the changes which will only update the required fields in the workspace and not the entire workspace document. This is needed for the Migration 102 in EE PR.)

Fixes # (issue)

if no issue exists, please create an issue and ask the maintainers
about this first

Media

A video or a GIF is preferred. when using Loom, don’t embed because it
looks like it’s a GIF. instead, just link to the video

Type of change

Chore (housekeeping or task changes that don't impact user perception)

/ok-to-test


[ADD] Adding a Code of conduct

📚 Documentation
Please add a Code of conduct for the project. Use the email<EMAIL_ADDRESS>for the Contact method.

May I work on this?

/assign


Adding Resourceful Routes to Guitars Controller

Adding resourceful routes to Guitars controller, with the remaining CRUD operations that don't have a template
Removing the get routes that the resourceful routes have
This PR is Blocked by: https://github.com/LiorKGOW/My-Guitar-Store/pull/32

I have included the content of this PR in #32


net-mgmt/zabbix-agent: cannot add custom user parameters

Hi,
I use  os-zabbix-agent 1.4 on OPNsense 19.1.4-amd64 and would like to add custom user parameters (Services => Zabbix Agent => Advanced  => User Parameters). My problem is that my inputs are checked by the ui before submit and are rejected. Even though my inputs are totally valid for the zabbix agent the ui's form validation won't accept the input.
This is what I want to add:
Key = opnsense.cpuTemperature
===> Error Message: Should be a string between 1 and 255 characters.
Command = sysctl -n dev.cpu.0.temperature | grep -o '[0-9]?[0-9][0-9].[0-9]'
===> Error Message: Should be a string between 1 and 4096 characters.
My suggestion would be to turn off the form validation for special characters like dots, pipes and so on because we need to be able to input any os commands there. The special characters seem to be the problem because when I don't have a dot in the key name it is ok for the ui.

@gec0 Thanks for your report! The following patch should fix this issue:
opnsense-patch -c plugins 13332d3a

This fix will also be available in the upcoming OPNsense 19.1.5 / os-zabbix-agent 1.5.

I'm facing a similar issue to this where I get the key error message.
An example of what I am trying to add:
Key:             unbound.flag[*]
Command:  sudo /usr/sbin/unbound-control stats_noreset | grep num.query.$1= | cut -d= -f2
I think it is tripping up on the 'asterix' which is used as a parameter - I can work around by defining all the keys without an asterix but that would add a whole lot to the config.


Subsetting CFF font requires unused character to be included for correct rendering

Subsetting Noto Sans CJK JP to U+3084, U+304d, U+306b without U+302B leads to unexpected pixel positioning artefacts in vertical layout.

repro.zip
Repro:

Unpack zip
Open vertical.html in Chrome Linux (Edit: Easiest to repro on Linux)
Observe positioning of third ideograph

Expected: Red overlay should appear in the same position as the black underlying glyph and not be positioned further down.
The subsetted font is produced with:
$ pyftsubset --output-file=notosanscjkjpsub.otf notosanscjkjp.otf --unicodes=3084,304d,306b
If I add U+302B to the subsetted file, the rendering and positioning look correct. "Correct" because I would not expect an unused character to have an effect on the output.
$ pyftsubset --output-file=notosanscjkjpsub.otf notosanscjkjp.otf --unicodes=3084,304d,306b,302b

TTX Diff: https://gist.github.com/drott/fcec7ea929282dfb20e03404fc2b33bb

I don't think this is a subsetter bug. See https://github.com/harfbuzz/harfbuzz/issues/3486#issuecomment-1074224102


Plugin is downloaded but does switch on (mac)

I did everything but when i hit the switch to turn on the plugin, it just switches off again after freezing briefly

RLHD does not currently have support for MacOS due to limited hardware access.
See: https://twitter.com/117scape/status/1437145612298895368

Closed by https://github.com/RS117/RLHD/pull/59


Passing Mnemonic through local .env

I was trying to build and deploy the WASM binary to Osmosis Testnet. I am reffering to the dev .env file (https://github.com/oraichain/cw-ide-vscode/blob/master/.env.development) but it doesn't show the exact field name to pass the Wallet mnemonic.
What would be the exact field name that we have provide in the .env file?

You should only put mnemonic in it, no need to put any key or something

the .env content in the root workspace can be: foo bar hello world

@ducphamle2
When you refer to only putting the mnemonic in local .env without any key, do you something like the following:
WDS_SOCKET_HOST=localhost
WDS_SOCKET_PORT=3000
PORT=3001
BROWSER=false
"<mnemonic string>"

Or have I misunderstood the approach?

@ducphamle2
When you refer to only putting the mnemonic in local .env without any key, do you something like the following:
WDS_SOCKET_HOST=localhost
WDS_SOCKET_PORT=3000
PORT=3001
BROWSER=false
"<mnemonic string>"

Or have I misunderstood the approach?

The .env is not related to the one written in the .env.development in cw-ide-vscode
it is a completely new .env in the root workspace of your contract directory
like this:
<mnemonic-string>

Thanks @ducphamle2, it worked. I would suggest you to add this instruction here: https://github.com/oraichain/cw-ide-docs/blob/master/installation-usage/local-tutorial.md

Thanks for your suggestion. I'll add it in the local-tutorial.md


Launches Screenshot on Ubuntu

When I hit the screenshot button on the app, Ubuntu launches the system screenshot - there is no option to capture text. What am I missing?

Hey! That is totally OK, the app uses portals as an interface to system wide screenshot tools and after it gets the image it will extract text if any presents on the shot.


Link to style guide

Link to the inrupt atomic style guide - which resolves #28

Ignore this - will resubmit from a branch of develop.


fix this url please

https://github.com/openservicemesh/osm)

Hello! Can you clarify? That is the URL for this GitHub repo (which works).

I noticed a ) at the end of the url which breaks the link. It works without
the )
On Wed, Apr 20, 2022, 9:15 AM Thomas Stringer @.***>
wrote:

Hello! Can you clarify? That is the URL for this GitHub repo (which works).
—
Reply to this email directly, view it on GitHub
https://github.com/openservicemesh/osm/issues/4674#issuecomment-1103919434,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AESXYUKGHLZH77MIX3ARAO3VF77QDANCNFSM5T35FPSQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Where do you see this URL though? I'm having a hard time understanding the location of the issue.

here it is
https://release-v1-0.docs.openservicemesh.io/docs/getting_started/install_apps/
On Thu, Apr 21, 2022, 9:04 AM Thomas Stringer @.***>
wrote:

Where do you see this URL though? I'm having a hard time understanding the
location of the issue.
—
Reply to this email directly, view it on GitHub
https://github.com/openservicemesh/osm/issues/4674#issuecomment-1105181344,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AESXYUI5NDTJ6AQPXTZXEM3VGFG6TANCNFSM5T35FPSQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Ah ok, I totally understand. I've opened up a PR to fix this. Thank you!

Awesome, thanks!
On Thu, Apr 21, 2022, 12:21 PM Thomas Stringer @.***>
wrote:

Ah ok, I totally understand. I've opened up a PR to fix this. Thank you!
—
Reply to this email directly, view it on GitHub
https://github.com/openservicemesh/osm/issues/4674#issuecomment-1105436666,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AESXYUKJYNFLX4F72V5P2GTVGF57XANCNFSM5T35FPSQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Skip Music Tweaks

If vote count is set to voice channel user count and a user voted but left the channel it could cause potential bugs
Example Scenario

Music playing
Vote count is set to voice channel size
There are 6 people in the voice channel so 6 votes are needed to skip (excluding bot itself)
A user voted and left the channel (the user is now part of the vote but 5 votes are needed now)
Another user joins that voice channel
This means it needs 6 votes again but it'll still require only 5 because of the user who left

Hence, kind of a bug. The best way to fix this is to remove the user who left the voice channel from the votes.

Fixed in commit ced77a8


Problem using pyalgs : ImportError: No module named 'pyalgs.algorithms' , ImportError: No module named 'pyalgs.data_structures'

Hi there,
I'm installing pyalgs, the installation succeed but when I would use it, the followings errors appear :
ImportError: No module named 'pyalgs.algorithms'
ImportError: No module named 'pyalgs.data_structures'
I've searched but it seems there is no solution and no commend about pyalgs

Still not working

Please accept the pull request

I solved this problem.
1-Go to https://github.com/chen0040/pyalgs and click on the 'Code' button to download pyalgs-master.zip
2-Copy the pastes 'data_structures' and 'algorithms' from the zipped file
3-Paste this two directories into the pyalgs paste of your installation
Please upvote if it helped you.


could not validate provider configuration

new cloudflare.PageRule('root', {
  actions: {
    cacheLevel: 'cache_everything',
    edgeCacheTtl: 3600, // 1 hour
  },
  priority: 1,
  target: `https://acme.com`,
  zone: 'acme.com',
})

with the cloudflare:token, cloudflare:email, and cloudflare:zone set results in the following when running pulumi preview:
  cloudflare:index:PageRule (root):
    error: could not validate provider configuration: 2 errors occurred:
        * : invalid or unknown key: domain
        * : invalid or unknown key: zone

I had to manually instantiate the cloudflare provider and pass it.  While that's ok, it seems like there is a bug here that might trip up others.
This is a pulumi preview working example:
const cloudflareConfig = new Config('cloudflare')
const [email, token, zone, domain] = ['email', 'token', 'zone', 'domain'].map(key =>
  cloudflareConfig.require(key),
)

const cloudflareProvider = new cloudflare.Provider('cloudflare-provider', {
  email,
  token,
})

new cloudflare.PageRule(
  'root',
  {
    actions: {
      cacheLevel: 'cache_everything',
      edgeCacheTtl: 3600, // 1 hour
    },
    priority: 1,
    target: `https://acme.com`,
    zone: 'acme.com',
  },
  { provider: cloudflareProvider },
)

If it is no longer reproducible then I'm not concerned.

👍

I'm still facing this issue even after expose the environment variables above on the ubuntu OS.
Here is the code to create provider.
const cfProvider = new cf.Provider('cloudflare', {
    apiToken: getSecret('cf-token'),
  });


CMakefile should include Ctests

The test code should be driven by CTest and should be regression tested via a GitHub Action

Added a basic CTest wrapper (but will implement tests separately)


Problem with Thundebird 30.0

What steps will reproduce the problem?
1. Install icedove/thunderbird 30.0
2. Go to add-on preferences
3. Trying to change something do not work, thus nostlagy is not working

What is the expected output? What do you see instead?
Nostalgy would work flawlessly as usual

What version of the product are you using? On what operating system?
Nostlagy 0.2.31 on Debian Sid

Please provide any additional information below.
Tell me how I could help, I love/need this extension, it saves me so much time,
and my INBOX is growing way to fast now !!

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 11 Jun 2014 at 9:16

Cannot reproduce with 0.3 and TB 68, the add-on preferences can be accessed and modified as expected, also after resetting all preferences (in about:config).


Sort the select options after converting to local time

The current implentation leaves the original order (UTC) but just
changes the labels so it appears out of order to the user. The
proposed change is not amazing code, but seem effective to order based
on the user's local time.
Advantages: quick, easy, effective
Disadvantages: not the prettiest code, breaks handlers I believe (but
there are none that I see)
I thought this might be a good time to pick a time as the default. It
seems unlikely that midnight UTC is many people's first choice, so I
figured after work-ish (7PM local) would be a reasonable default.
References:

jquery select sort: https://stackoverflow.com/a/7466196

Resolves #721.

Thanks!

You’re killing it with these PRs!


Add mechanism to fetch nightly/latest pipeline payload

Add mechanism to fetch nightly/latest pipeline payload for nightly builds
Update update-to-head.sh to use openshift/release/fetch-pipeline.sh script
Signed-off-by: Nikhil Thomas<EMAIL_ADDRESS>

/lgtm
/approve


Made the controls be correct to the angle

With these changes the control feeling has to be checked again and probably reconfigured.

Big angles seems to give no or very small movement changes for me. Don't know if this is intended, but in the current state it is quite cumbersome to control the player


Capacity pool reservation/extension UI/UX

Currently when a user reserves a new or extends an existing capacity pool, he gets a screen like this:

It is not immediately clear what the units are for the values in the CU or SU field. Since there is mention of CU and SU usage of workloads, a user might (mistakenly) think that he needs to enter the CU and SU values his workload will consume here, which is wrong.
In reality the low level reservation works with cu seconds and su seconds, i.e. an amount of seconds for which 1CU/SU can be deployed with the pool. The problem is that for an end user, who is likely now familiar with the intimate details of how this works under the hood, this quickly results in large and unnatural numbers being required. For instance, deploying a workload worth 1 CU or 1 SU for an entire day already consumed 86400 CUs or SUs.
A solution to this would be to add a "duration" field where a user can specify how long the workload should live, in a sufficiently large period such as day or even week or month. Then in the existing CU and SU field the user can just enter the estimated values of the CU and SU his workload will consume. Under the hood the chatflow can simply fill in the right reservation values using multiplication.
Example:

CU: 20
SU: 10
Days: 30

This would lead to the creation of a reservation with 20 * (60 * 60 * 24 * 30) CUs and 10 * (60 * 60 * 24 * 30) SUs
To make this even more flexible, the time field could be accompanied by a dropdown where the user himself can choose if he wants to reserve for x amount of Days or weeks or months (instead of having to fill in everything as X amount of days)

also, please rewrite the page's description as mentioned here
https://github.com/threefoldtech/js-sdk/issues/893

verified


Quiz for age does not have an option for < 13

Hi,
My kid started CodeCombat this weekend but is under 13. I created the account, and that seems to have worked fine. We love it. Thanks a lot for the work that has gone into it =)
The one bit of confusion was the daily quiz or bonus question that asked for an age, and we didn't see an option for < 13.
I did a quick search through the history, and I can see that the change to require a minimum age of 13 on signup was intentional. I also see that the ageRange enum was subsequently changed.
My questions are

Is there PG-13+ content that prompted the age restriction, or was this for other reasons (e.g., I think I saw a check for 18+ before what looked like an add-on / upsell prompt)? I played with my kid this weekend and haven't seen anything questionable yet, but just want to check before we get too far.
Should the age question consider the possibility of younger players who got an account through a parent, guardian, etc.?
This question may answer itself the next time we play, but is my kid "stuck" on this question unless or until we lie about the age? Or is there a way to skip this question that we're missing? Or does this feature cycle to a new question each day (as opposed to this being the first, and has to be answered before getting to the second)?

I'd be happy to help make any relevant changes here, but I didn't want to jump in too fast before confirming the goals and directions around age requirements.
Thanks!

Hi @druttka, great questions. We did initially change the age range on the quiz when we didn't have the age check with parental consent on the signup form that we have now. There's no PG-13+ content in the game, but we just needed to be careful around compliance with COPPA and making sure we didn't store any personal identification of players under 13 in the US without parental consent.
Perhaps we will update the quiz option again in the future, but for now, just put your age in for the quiz, and then you and your kid will be able to get to the next quizzes to earn more gems.


Plot abundance

Now the list is turned into single plot.

I agree with @TuomasBorman but now investigated this in more detail.
The very first implementation by @FelixErnst (see commit history seems to include a case for combining plots, with @importFrom cowplot plot_grid. Hence, it is intended that plots are combined internally. We can keep the original version and dependency on that, if there is no reason to change.
The problem was reported in issue #44 and the problem is that the function does not work as expected in a certain case as it returns two plots that are plotted separately, and not a single combined plot for the sample labels are shown below the main figure (in contrast to what the documentation says).
Can we update this PR so that it solves the problem that is described in issue #44 so that the function will return, for that example, the intended type of plot as explained on the manpage? If this appears to be challenging, we can discuss more online.

It has been updated to match what is explained in the man page. PR can be merged.

Doesn't solve the issue and forces combination of plot reducing massively the flexibility of the function

Yes. The best solution could be to open an entirely new PR that addresses the issue described in #44

The issues in #44 are addressed and solved. Nothing to do anymore or did I overlook something?


[BACKLOG-15748] Adding pentaho-kerberos-jaas capability only if

ael-security marker feature is installed.

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -fn -f plugins/pdi-engine-configuration/impl/pom.xml clean install && mvn -B -f plugins/pdi-engine-configuration/impl/pom.xml site

Cleanup Commands
mvn -B -f plugins/pdi-engine-configuration/impl/pom.xml build-helper:remove-project-artifact

Changed files
  plugins/pdi-engine-configuration/impl/src/main/java/org/pentaho/di/engine/configuration/impl/spark/SparkRunConfigurationExecutor.java

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.engine.configuration.impl.spark.SparkRunConfigurationExecutor

Branch Change: -16.67%:small_red_triangle_down:
Complexity Change: -16.67%:small_red_triangle_down:
Instruction Change: -6.45%:small_red_triangle_down:
Line Change: -3.54%:small_red_triangle_down:

Checkstyle violations
The code submitted is not complying with one or more of our guidelines. To perform these checks locally, please use this tool.
/home/buildguy/project/plugins/pdi-engine-configuration/impl/src/main/java/org/pentaho/di/engine/configuration/impl/spark/SparkRunConfigurationExecutor.java

:heavy_exclamation_mark: '(' is not followed by whitespace. at Line: 79 Column: 11

@CodeOnCoffee @bmorrise @pentaho/rogueone  - Please review

There will be separate PR to add the ael-security karaf feature

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
mvn -B -fn -f plugins/pdi-engine-configuration/impl/pom.xml clean install && mvn -B -f plugins/pdi-engine-configuration/impl/pom.xml site

Cleanup Commands
mvn -B -f plugins/pdi-engine-configuration/impl/pom.xml build-helper:remove-project-artifact

Changed files
  plugins/pdi-engine-configuration/impl/src/main/java/org/pentaho/di/engine/configuration/impl/spark/SparkRunConfigurationExecutor.java

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.engine.configuration.impl.spark.SparkRunConfigurationExecutor

Branch Change: -16.67%:small_red_triangle_down:
Complexity Change: -16.67%:small_red_triangle_down:
Instruction Change: -6.45%:small_red_triangle_down:
Line Change: -3.54%:small_red_triangle_down:

Build Completed
:white_check_mark: This pull request has passed all validations.
Build Commands
mvn -B -fn -f plugins/pdi-engine-configuration/impl/pom.xml clean install && mvn -B -f plugins/pdi-engine-configuration/impl/pom.xml site

Cleanup Commands
mvn -B -f plugins/pdi-engine-configuration/impl/pom.xml build-helper:remove-project-artifact

Changed files
  plugins/pdi-engine-configuration/impl/src/main/java/org/pentaho/di/engine/configuration/impl/spark/SparkRunConfigurationExecutor.java
  plugins/pdi-engine-configuration/impl/src/test/java/org/pentaho/di/engine/configuration/impl/spark/SparkRunConfigurationExecutorTest.java

Unit test coverage change
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.
org.pentaho.di.engine.configuration.impl.spark.SparkRunConfigurationExecutor

Branch Change:  + 11.11%
Instruction Change:  + 2.02%
Line Change:  + 2.01%


MM-36708 Ensure that date is in yyyy-MM-dd format

Summary
Changing date format from yyyy-M-dd to yyyy-MM-dd when trying to set status till a custom time
Ticket Link
Fixes https://github.com/mattermost/mattermost-server/issues/19358
Screenshots

Before
After

Release Note

Changed date's format to fr-CA in order to make the formatting yyyy-MM-dd

Hello @RKRohk,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

I have made some changes to the component and used formatDate prop

Hey it looks much better, But can you look at passing the format instead of localized french date format
https://momentjs.com/docs/#/displaying/format/
date.format('YYYY-MM-DD')

I was under the assumption that adding another library should be avoided, but yeah, momentjs will make this way cleaner

The code for this looks good to me, but I'm going to hold off approving until we can get a test server running for it

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

Hi @RKRohk. Are you able to take a look at fixing those failing E2E tests? We have docs about running those here.
Let us know if you have any questions or need any help with that.

Hey @hmhealey I'll look into the failing e2e tests and update the PR. Thanks for linking the docs

Successfully triggered e2e testing!
https://git.internal.mattermost.com/qa/cypress-ui-automation/-/pipelines/218123


Selection of OCR boxes

Hi ,
I want to remove only some text parts instead of all , I already have co-ordinates for the OCR boxes I would like to remove from images, can you please tell what changes do we make to apply it

Added in 2.0


fix: directory typos

The directories had their prefixes removed but README.md files never got updated. Also fixed a few other typos.

Ah yeah it looks like we updated the links but not the text. Thanks for fixing that!
The tutorial should generally still be useful, but yes, it needs updating, especially for MPL v0.5 which has much better performance with no granularity control.


Better handle data fetching errors

It just crashes if it can't get the file, or has problems parsing it.

Done via 3f468bdd66dd5b573571691e285468bb1804c963


azfile: Upload range from URL using OAuth tests

[x] The purpose of this PR is explained in this or a referenced issue.
[x] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[x] Tests are included and/or updated for code changes.
[x] Updates to module CHANGELOG.md are included.
[x] MIT license headers are included in each file.

/azp run go - azfile


Added skeleton to call fis API to get hearing data

Before creating a pull request make sure that:

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)

Please remove this line and everything above and fill the following sections:
JIRA link (if applicable)
Change description
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ ] No

Closing this as these changes are already placed as part of other ticket


Present international addresses as separate fields in the API

Context
We've recently parsed and updated the single international address line into separate address lines. (See https://github.com/DFE-Digital/apply-for-teacher-training/pull/3597 for how)

Changes proposed in this pull request

Present multiple address fields containing international address for a single application in the API.

Guidance to review
I've included a fall-back to using ApplicationForm#international_address when there's an international address with no address individual fields, this is possible as we don't automatically parse the single line into multiple fields.
Once we start validating field length on multiple international addresses we can remove this fallback.

Link to Trello card
https://trello.com/c/gz9VJ1wj/3093-resolve-international-non-uk-address-structures-for-api-integration

Things to check

[x] This code does not rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

@mnacos yes that's still a possibility until we validate input for international addresses, not sure of the best way to mitigate against this, we could just periodically clean up the data but this will mean periods of bad data being presented in the API.
In production there were 150 records with an international address, which seems like a lowish quantity, @george-bit is working on Support UI enhancements to allow us to amend addresses, this might be the best way to manage incoming data until we iterate how the addresses are saved.


New Submission

Prediction File: Prediction_XXX_Final.csv
Notebook: https://github.com/Alfo5123/2016-ml-contest/blob/New/LA_Team/Facies_classification_LA_TEAM_08.ipynb

Hello! This one is 0.606. Not too shabby.


ISSUE IN TUTORIAL BY MICROSOFT

System Information (please complete the following information):

Model Builder or CLI Version: CLR v4.0.30319
Visual Studio Version (if applicable): 16.9.4

**System.TypeInitializationException
HResult=0x80131534
Message=The type initializer for 'MLAlgorithmML.Model.ConsumeModel' threw an exception.
Source=MLAlgorithmML.Model
StackTrace:
at MLAlgorithmML.Model.ConsumeModel.Predict(ModelInput input) in Z:\WORK DRIVE\Studies\LAB SESSIONS\Practical\Sem 4\ASP.NET MINI PROJECT USING MYSQL\Source Code\MLAlgorithm\MLAlgorithmML.Model\ConsumeModel.cs:line 25
at MLAlgorithm.Program.Main(String[] args) in Z:\WORK DRIVE\Studies\LAB SESSIONS\Practical\Sem 4\ASP.NET MINI PROJECT USING MYSQL\Source Code\MLAlgorithm\MLAlgorithm\Program.cs:line 21
Inner Exception 1:
FileNotFoundException: Could not load file or assembly 'Microsoft.ML.Data, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
**

On which page of the tutorial did you run into an issue (URL): https://dotnet.microsoft.com/learn/ml-dotnet/get-started-tutorial/consume
Clear description of the problem:

To Reproduce
Steps to reproduce the behavior:
Run myMLApp ( in my case MLAlgorithm app) (select Ctrl+F5 or Debug > Start Without Debugging). You should see the following output, predicting whether the input statement is positive or negative.
Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.
A given tutorial by microsoft is not working for me guys please let me know if i missed a step thanks in advance

@JoyPikaX Sorry you ran into this problem and thanks for reporting! Is your project a .NET Framework project? If so, we have troubleshooting instructions here
Let me know if that helps!

Any luck with the above?

Similar issue had occurred when I was doing the Tutorial. Please add the ML.Net NuGet package to your project. I had to install the NuGet package for Microsoft.ML and all it's dependencies. It worked after selecting the Solution Platform (x86 or x64).
Please refer the now Closed Issue "System.TypeInitializationException #1411" raised by me, for more details.

Unfortunately we don't have enough information on this issue. Please try the above suggestions. If you're still seeing a problem, please re-open and provide additional information. Thanks for reporting!


[surround] Add insert mode surround mappings

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md

Module(s)
mini.surround
Description
I recently migrated to mini.surround from nvim-surround. First of all, good job with the plugin, the dot-repeat works great!
The only thing I'm currently missing, is an insert mode mapping for surrounding things. nvim-surround had <C-g>s for inline-surround and <C-g>S for line-surround. Could this functionality please be added to mini.surround?

Thanks for the suggestion!
I hoped that something making a mapping to <C-o>sa would work, but it does not due to complications of how mapping are implemented.
Unfortunately, properly adding Insert mode mappings would require a lot of user configuration to be useful (like keys for Insert mode mapping for every action). Reading more about what <C-g>s and <C-g>S do in 'kylechui/nvim-surround', they can be replicated with the following user mappings (because thankfully surrounding visual selection after <C-o> works):
vim.keymap.set('i', '<C-g>s', '<C-o>vsa', { remap = true })
vim.keymap.set('i', '<C-g>S', '<C-o>Vsa', { remap = true })

Closing as not planned.

Understandable that you don't want to add it. The mappings work nicely, thank you.


No PHP version set in composer.json

There is no PHP version set in composer.json, meaning any PHP version can install this package.
We should set this to the minimum version we are willing to support (currently, via Travis, PHP 7.2).

That's a good idea, I'm happy to accept another PR if you like


use a single buffer in vulkan

at the end of https://vulkan-tutorial.com/Vertex_buffers/Index_buffer it states, that you should only use a single buffer for vulkan.
that is understandable, so sooner or later, this should affect the design of my graphics frame

this may be a huge undertaking

scrapped, because this is an optimization. best handled very late in development, years down the line


Update FadeMenu.js

The complete page in the browser gets stuck as I open this menu popup. After removing this line from the code it works fine.

It's a duplicate of #11729


Add forceRefresh/forceRenewal to CredentialsManager.credentials() call

Checklist

[X] I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
[X] I have looked into the API documentation and have not found a suitable solution or answer.
[X] I have searched the issues and have not found a suitable solution or answer.
[X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
[X] I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved
There are scenarios were we would like to renew the access token regardless of how much time is left on it.  Right now the only way to accomplish this via the CredentialsManager is to pass in a minTtl that is greater than the current active token's TTL but less than the TTL of a newly generated token otherwise we will get an error.  Right now with the SDK it's very awkward because there is no way to get the token life (unless I've missed something) except by taking the credentials.expiresAt value at time of generation and doing some time math.
Describe the ideal solution
There are a few solutions that could work.

Add a Bool parameter to the credentials call with a default value of false such as forceRefresh or forceRenewal or ignoreCache .
Create a separate call on the CredentialsManager like you all have already done in iOS and Android SDKs: https://github.com/auth0/Auth0.Android/pull/637 , https://github.com/auth0/Auth0.swift/pull/772
Make it easier to get the access token life by storing it in the credentials object as something like tokenLife to match minTtl parameter we need to pass

Alternatives and current workarounds
As a work around for now we can do as I described in the problem description by calculating the token life of a newly generated token from the credentials.experiesAt and subtracting the current time and passing that into the minTtl parameter of the CredentialsManager.credentials() method.
Another work around would be to use api.renewCredentials call which doesn't require minTtl or any calculations.  The problem is this bypasses the local auth/biometrics feature tied to access the credentials via the CredentialsManager.
Additional context
Thanks for your consideration!

Hi @almusto, thanks for raising this.
While I don't have an ETA to share, I'll leave this open for future planning and reference.

@Widcket may I ask if theres any new update to this ?


wish listed items should be labeled by move to cart instead of add to cart if product already added in cart

Bug report
Title
wish-listed items should be labeled by a move to cart instead of add to cart
Issue Description
wish-listed items should be labeled by the move to cart instead of add to cart
Preconditions
1. framework Version- master

Steps to reproduce
1. step1- wish list a product which is already added into cart
2. step2- go to wishlist page, check the label just below the product image

Expected result
In wish list page, items added in the cart should be shown as a move to cart
Actual result

Fixed


Make docs searchable

In visiting the docs at https://wildbit.github.io/postmark.js/index.html, there was no way for me to find a method I already knew the name of: sendEmailWithTemplate
Searching the page through the browser's functionality yields no results. I had to resort to googling for it, and picking the ~fifth result.

Hi @tyrw
Thank you for reporting this as a feature. Unfortunately docs page is generated by typedoc and pushed to Github, so search is out of our control. We will keep this in mind though for future updates.


Need help with scrcpy recording error and disconnected device issue

[x]  I have read the FAQ.
[x]  I have searched in existing issues.

Environment

OS: Windows 11
scrcpy version: 2.0
installation method: Windows release
device model: UMIDIGI A5_Pro
Android version: 9

Describe the bug
I was trying to use scrcpy to record my Android screen but ran into an error. The tool was unable to encode the recording to the matroska file and it looks like my device was disconnected in the process. Do you have any experience with this issue or suggestions on how to overcome it ?
The window with the display of the phone appears 1 second and it disappears then in the terminal its tells me that the device is disconnected while I did not touch anything I changed usb cable, port but nothing changes.
adb logcat not relevant.
Terminal logs
C:\Users\probu\Desktop\scrcpy-win64-v2.0>scrcpy
scrcpy 2.0 <https://github.com/Genymobile/scrcpy>
ERROR: Could not find any ADB device
ERROR: Server connection failed

C:\Users\probu\Desktop\scrcpy-win64-v2.0>adb devices
List of devices attached

C:\Users\probu\Desktop\scrcpy-win64-v2.0>scrcpy
scrcpy 2.0 <https://github.com/Genymobile/scrcpy>
C:\Users\probu\Desktop\scrcpy-win64-v2.0\scrcpy-server: 1 file pushed, 0 skipped. 93.1 MB/s (52867 bytes in 0.001s)
[server] INFO: Device: UMIDIGI A5_Pro (Android 9)
[server] WARN: Audio disabled: it is not supported before Android 11
INFO: Renderer: direct3d
WARN: Demuxer 'audio': stream explicitly disabled by the device
INFO: Initial texture: 1080x2280
[server] ERROR: Encoding error: java.lang.IllegalStateException: null
[server] INFO: newMaxSize = 1920
[server] INFO: Retrying with -m1920...
[server] INFO: Retrying...
WARN: Device disconnected

C:\Users\probu\Desktop\scrcpy-win64-v2.0>scrcpy --no-audio --record=file.mkv
scrcpy 2.0 <https://github.com/Genymobile/scrcpy>
ERROR: Device could not be connected (state=offline)
ERROR: Server connection failed

C:\Users\probu\Desktop\scrcpy-win64-v2.0>scrcpy --no-audio --record=file.mkv
scrcpy 2.0 <https://github.com/Genymobile/scrcpy>
ERROR: Device could not be connected (state=offline)
ERROR: Server connection failed

C:\Users\probu\Desktop\scrcpy-win64-v2.0>scrcpy
scrcpy 2.0 <https://github.com/Genymobile/scrcpy>
ERROR: Device could not be connected (state=offline)
ERROR: Server connection failed

C:\Users\probu\Desktop\scrcpy-win64-v2.0>scrcpy
scrcpy 2.0 <https://github.com/Genymobile/scrcpy>
ERROR: Device could not be connected (state=offline)
ERROR: Server connection failed

C:\Users\probu\Desktop\scrcpy-win64-v2.0>adb devices
List of devices attached
A5PRO1906093720 offline

C:\Users\probu\Desktop\scrcpy-win64-v2.0>adb devices
List of devices attached
A5PRO1906093720 offline

C:\Users\probu\Desktop\scrcpy-win64-v2.0>adb devices
List of devices attached
A5PRO1906093720 offline

C:\Users\probu\Desktop\scrcpy-win64-v2.0>scrcpy --prefer-text --turn-screen-off --stay-awake
scrcpy 2.0 <https://github.com/Genymobile/scrcpy>
ERROR: Device could not be connected (state=offline)
ERROR: Server connection failed

C:\Users\probu\Desktop\scrcpy-win64-v2.0>scrcpy --prefer-text --turn-screen-off --stay-awake
scrcpy 2.0 <https://github.com/Genymobile/scrcpy>
C:\Users\probu\Desktop\scrcpy-win64-v2.0\scrcpy-server: 1 file pushed, 0 skipped. 131.9 MB/s (52867 bytes in 0.000s)
[server] INFO: Device: UMIDIGI A5_Pro (Android 9)
[server] WARN: Audio disabled: it is not supported before Android 11
INFO: Renderer: direct3d
WARN: Demuxer 'audio': stream explicitly disabled by the device
INFO: Initial texture: 1080x2280
[server] INFO: Device screen turned off
[server] INFO: newMaxSize = 1920
[server] INFO: Retrying with -m1920...
[server] INFO: Retrying...
[server] ERROR: Encoding error: java.lang.IllegalStateException: null
WARN: Device disconnected

C:\Users\probu\Desktop\scrcpy-win64-v2.0>scrcpy --no-audio --record=file.mkv
scrcpy 2.0 <https://github.com/Genymobile/scrcpy>
ERROR: Device could not be connected (state=offline)
ERROR: Server connection failed

C:\Users\probu\Desktop\scrcpy-win64-v2.0>scrcpy --no-audio --record=file.mkv
scrcpy 2.0 <https://github.com/Genymobile/scrcpy>
C:\Users\probu\Desktop\scrcpy-win64-v2.0\scrcpy-server: 1 file pushed, 0 skipped. 131.8 MB/s (52867 bytes in 0.000s)
[server] INFO: Device: UMIDIGI A5_Pro (Android 9)
INFO: Recording started to matroska file: file.mkv
INFO: Renderer: direct3d
INFO: Initial texture: 1080x2280
[server] ERROR: Encoding error: java.lang.IllegalStateException: null
[server] INFO: newMaxSize = 1920
[server] INFO: Retrying with -m1920...
[server] INFO: Retrying...
INFO: New texture: 912x1920
WARN: Device disconnected
INFO: Recording complete to matroska file: file.mkv

C:\Users\probu\Desktop\scrcpy-win64-v2.0>scrcpy --no-audio
scrcpy 2.0 <https://github.com/Genymobile/scrcpy>
ERROR: Device could not be connected (state=offline)
ERROR: Server connection failed

C:\Users\probu\Desktop\scrcpy-win64-v2.0>scrcpy --no-audio
scrcpy 2.0 <https://github.com/Genymobile/scrcpy>
C:\Users\probu\Desktop\scrcpy-win64-v2.0\scrcpy-server: 1 file pushed, 0 skipped. 160.2 MB/s (52867 bytes in 0.000s)
[server] INFO: Device: UMIDIGI A5_Pro (Android 9)
[server] ERROR: Encoding error: java.lang.IllegalStateException: null
ERROR: "adb reverse --remove" returned with value 1
ERROR: Could not retrieve device information
ERROR: Server connection failed

C:\Users\probu\Desktop\scrcpy-win64-v2.0>adb devices
List of devices attached
A5PRO1906093720 offline

C:\Users\probu\Desktop\scrcpy-win64-v2.0>adb devices
List of devices attached
A5PRO1906093720 device

C:\Users\probu\Desktop\scrcpy-win64-v2.0>scrcpy --no-audio --record=file.mkv
scrcpy 2.0 <https://github.com/Genymobile/scrcpy>
C:\Users\probu\Desktop\scrcpy-win64-v2.0\scrcpy-server: 1 file pushed, 0 skipped. 125.1 MB/s (52867 bytes in 0.000s)
[server] INFO: Device: UMIDIGI A5_Pro (Android 9)
INFO: Recording started to matroska file: file.mkv
INFO: Renderer: direct3d
INFO: Initial texture: 1080x2280
[server] ERROR: Encoding error: java.lang.IllegalStateException: null
[server] INFO: newMaxSize = 1920
[server] INFO: Retrying with -m1920...
[server] INFO: Retrying...
WARN: Device disconnected
INFO: Recording complete to matroska file: file.mkv

It seems your adb connection get closed for some reason.
You might try with another USB cable or USB port: https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#device-disconnected
Or it might also be a bug in your device ROM.


NotebookAPI breaking changes

Breaking change: registerNotebookCellStatusBarItemProvider will be changed to take a viewType instead of a NotebookSelector
Breaking change: onDidChangeCellExecutionState will be renamed to onDidChangeNotebookCellExecutionState

Validated.


sauerbraten can't connect to game servers

Describe the bug
Says "illegal network message type" when you try and connect.
To Reproduce
Steps to reproduce the behavior:

install sauerbraten
run it with sauerbraten_client
click server browser
try and connect to one
sometimes it works, but most times it does not (probably needs an upgrade)

Expected behavior
connects to server no problem
Screenshots

Additional context
Add any other context about the problem here.
Notify maintainers

I don't know how to find this
Metadata

system: "x86_64-linux"
host os: Linux 5.4.118, NixOS, 20.09.4132.52090c613ad (Nightingale)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.11
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Cannot reproduce.

feel free to reopen @vigilancetech-com


right to left languages alignment issue

Describe the bug
Right-to-left languages display aligned to left (they should align to right).
To Reproduce
Steps to reproduce the behavior:
paste some arabic text in a project description, you will see the issue in the editor and also after saving, when viewing the project description
Expected behavior
Languages should align by defaut to their usual reading direction.
Screenshots
If applicable, add screenshots to help explain your problem.
Device:

OS: [e.g. iOS 8, Android 9, Windows 10, Ubuntu 20.04]
Browser: [e.g. chrome 22, safari 10]

Additional context
Add any other context about the problem here.

Can confirm the issue, the rich text editor is clever enough to add a dir="rtl" on the content but we're then stripping out this information when saving:
https://github.com/user-attachments/assets/888e9699-e64a-4961-af72-d96a725a25a5
We'll try a fix in https://github.com/opencollective/opencollective-api/pull/10552.

@epageperron Fix deployed, you should get it to work by editing the description and saving it again. Thanks for reporting the issue!


prepare for the new kiali that will support istio 1.0

Kiali and Istio are currently not on the same release schedule. This causes some pains. To help alleviate some of this, this  PR has been introduced. I would like to hear from the Istio team if this is OK.
This PR changes the helm and ansible scripts so it no longer pulls down Kiali v0.5.0. That version of Kiali only supports Istio 0.8.0 - to be more specific, it is broken for Istio 1.0.
Kiali is going to release soon, but is not ready yet. However, to avoid people pulling down a broken Kiali into their Istio 1.0 system, this PR will pull down an not-yet-existing Kiali image label "istio-release-1.0". In a few weeks time, Kiali will officially release its Istio 1.0-supported version, at which time its image will be labeled with "istio-release-1.0" (and thus these helm/ansible installers will pull down the proper binary).
This does 2 things:

avoids a bad user experience by prohibiting Istio 1.0 users from installing Kiali v0.5.0 which won't work with Istio 1.0

and

allows users to immediately pick up the new Kiali once it is released (thus allowing Istio 1.0 installations to still get Kiali even though they were not on the same release schedule and thus we don't have to wait for an Istio 1.1 to be released before Kiali can be pulled down via these Helm/Ansible installers).

How does this proposal sound?
@gbaufake please look at the changes in this PR and make sure I didn't miss anything.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: jmazzitelli
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: costinm
If they are not already assigned, you can assign the PR to them by writing /assign @costinm 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:

install/OWNERS

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

Hi @jmazzitelli. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@douglas-reid What do you think about the proposal in this PR? Is this reasonable? We are close to releasing Kiali for Istio 1.0, but still needs time in the oven. We really don't want Istio 1.0 to be released with its helm/ansible installer pulling down Kiali v0.5.0 because it won't work due to the changes in telemetry that Istio introduced in 1.0. And since  Istio 1.0 is about to be born, we should get this PR in ASAP if this is a reasonable thing to do.

@jmazzitelli I guess I'm fine with this change. I want to understand how we will document to users that they shouldn't attempt to use Kiali with Istio 1.0 yet, however.

@jmazzitelli I guess I'm fine with this change. I want to understand how we will document to users that they shouldn't attempt to use Kiali with Istio 1.0 yet, however.

@gyliu513 what are your thoughts on this?

/ok-to-test

@jmazzitelli good to see this in Istio 1.0, thanks!

@jmazzitelli when the image be ready for Istio 1.0 release? People will not able to use Kiali if it cannot be ready today.


setting up a wifi extender using a raspberry pi

Article checklist
Pre-submission checks

Please ensure that you have only one open topic suggestion (issue) + in-review article (linked pull request) at a time. This will ensure that we complete the review process in a timely manner from inception to publishing

If you have not already, please go over our Resources Page for more tips and tricks on how to improve your overall technical writing so reviews are swifter, increase the chance of a payout and provide more value to our readers.

For first-time contributors and for more details on our submission guidelines, see our Contributing Guidelines.

Formatting and structure checks

[x] Have you used the correct folder and file structure? - see Contribution Guidelines

[x] Is your article properly formatted in Markdown? - see Github Markdown guide

[x] Have you used our preferred heading structure? - H3 (###) and up

[x] Does your article follow any of the suggested structure formats? - see example formats

[x] Is your article over 750 words? - Tool: Wordcounter.net

[x] Is the article you are submitting an in-depth and unique article? Does it go beyond what is in the official docs and what is covered in other blog sites. See these articles as examples.

[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.

[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.

[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid - Grammarly
[x] Please place your article through a 3rd party plagiarism checker. We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide
[x] Have you checked your code runs correctly and you've highlighted all necessary dependencies for installation?
[x] Are the software programs and packages you're highlighting in your article up to date, using current versions and not deprecated?

Topic suggestion this closes

Remove the backticks and add the issue number below to link and close your Topic Suggestion (issue) when your article has been published (PR has been merged). See this video for more details.

This closes #issue-number

Finally, delete the article checklist notes in blockquotes and submit your PR. We look forward to reviewing your article.

👋 Good afternoon  @eunice-wanjiku
There appear to be many sentences in this article that are taken verbatim from third-party sources. We can't publish any content that is not original or properly cited/referenced.
There are many free online tools where you can check this (such as quetext.com, and if you're uncertain about the definitions around plagiarism, this is a good resource to reference.
We're really looking for unique/original content.
cc @M0nicah
setting up a wifi extender using a raspberry pi

👋 Good afternoon @eunice-wanjiku
There appear to be many sentences in this article that are taken verbatim from third-party sources. We can't publish any content that is not original or properly cited/referenced.
There are many free online tools where you can check this (such as quetext.com, and if you're uncertain about the definitions around plagiarism, this is a good resource to reference.
We're really looking for unique/original content. The similarity score is > 40%.
cc @M0nicah
setting up a wifi extender using a raspberry pi

Hi @ahmadmardeni1 ,I understand your concern but as I look at this Plagiarism report and I cannot help but notice that most of the plagiarism is because of linux  commands which are universal.
For instance :
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install dnsmasq
The other cause of Plagiarism is configuration settings for the hostapd and DHCP both of which are also universal.
I am unsure how I can make such commands/configurations unique. Kindly give your thoughts on this. Thanks cc @M0nicah


Provide package changelogs

As discussed before (https://github.com/toltec-dev/toltec/pull/88#issuecomment-701514368, https://github.com/toltec-dev/toltec/pull/63#issuecomment-698758156, and on Discord) it would be useful to maintain changelogs. They could be presented to end-users at upgrade time, and used by testers to know what features to focus on. There are two main questions to answer:
How to store and maintain the changelogs
I propose having a changelog file in each recipe folder in a format derived from the Debian changelog format. Each changelog entry would contain:

The package name (in the case of split package recipes, this determines which sub-package is concerned by the current changelog entry).
The package version.
A list of changes, incorporating the main changes from upstream and the packaging changes.
The name and email address of the person who prepared the release (not necessarily the same as the maintainer= value).
The package release date (not the same as the timestamp= value, which is the upstream release date).

Here’s an example of how that could look like for the vnsee package.
vnsee (0.3.0-1)

  * Rename from rmvncclient to VNSee.
  * Update libvncserver to 0.9.13.
  * Add --help flag to show a help message.
  * Add --version flag to show the current version number.
  * Add --no-buttons, --no-pen and --no-touch flags to disable interactions with the respective input devices.
  * Improve repaint latency (thanks @asmanur!)
    + Periodically trigger repaints during long update batches instead of waiting for the end of each batch.
    + Repaint continuously in DU mode when using the pen.

 -- Mattéo Delabre<EMAIL_ADDRESS>2020-10-23T13:57:35Z

vnsee (0.2.0-1)

  * Add support for pen input.
    + Do not support pressure and tilt sensitivity yet.
  * Allow refreshing the screen manually by using the Home button.
  * Allow quitting the app by using the Power button.

 -- Mattéo Delabre<EMAIL_ADDRESS>2020-04-12T23:52:37Z

We would need to add recipe lint rules to check that each version has a properly-formatted package entry.
How to distribute the changelogs
The changelogs could be used to automatically generate release notes for stable merges, by diffing the merge branch’s changelogs with the existing stable changelogs. As for how the changelog entries should be presented to end-users, there is currently no support for that in opkg. We could implement something using post-install and post-upgrade hooks however.

for recipes that support multiple packages, i'd like to keep one changelog file - how could that work?

for recipes that support multiple packages, i'd like to keep one changelog file - how could that work?

We could have a single changelog file with each entry in that file specifying which package of the recipe it applies to. Would that work for you?

We could have a single changelog file with each entry in that file specifying which package of the recipe it applies to. Would that work for you?


StyleCI

Hi there. I'm a little bit confused as to why you've enabled StyleCI on this repo when it doesn't contain any PHP code. StyleCI only analyses PHP files.
Is this because you plan to add PHP code to this repo in the future?

Yes, planning to add PHP too.

:)


How to use the output of the Stored Proc activity

Can you include how to use the output of the Stored Proc activity, if the SP has an Output parameter. I am using @activity('Call SProc name').output, but it is not of the right data type.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 45e0996a-5a15-b03a-f204-b8725579109d
Version Independent ID: 6c8ed85a-8e40-a7b2-c13a-81123aa499d4
Content: Transform data by using the Stored Procedure activity - Azure Data Factory
Content Source: articles/data-factory/transform-data-using-stored-procedure.md
Service: data-factory
GitHub Login: @nabhishek
Microsoft Alias: abnarain

@Joe8908 Thanks for your feedback! We will investigate and update as appropriate.

@Joe8908 Here's an article that talks in detail about the same :
https://social.technet.microsoft.com/wiki/contents/articles/53275.azure-data-factory-stored-procedures-with-output-parameters.aspx
I will now proceed to close this issue. If you have any questions on the same, please create a thread on MSDN/Stack Overflow which is a better suited audience for these questions.


support output topics for functions

this will likely require changing the "topic" field of the current Function resource (e.g. to "input")

done


Prepare for Eventual Protocol Migrations.

Fixes CODY-2830
At the moment we rely on manually written protocol messages and server/client implementations. This is a first step towards making sure that we can migrate towards auto generated bindings.
More importantly this was done now because for the "Fix It" feature a few new protocols need to be implemented. So rather than digging a deeper hole this now allows to implement those in a way that will make migrating easier once all the other messages have been converted as well.
So to summarize, this isn't so much about migrating everything now; rather making sure that everything new added doesn't make the work to migrate larger. I created a placeholder project for it so I can collect issues for the actual migration there.
For now I've only "migrated" a few low-hanging messages that were easy to do more as an example than anything else. No functionality should have changed. Couldn't quite verify though given the e2e test flake. Also added a simple helper to make working with Enums a bit nicer.
Right now there's no rigid testing / verification yet that the copied protocols are of the exact version mentioned etc. Instead there's a ad-hoc task/script that you can run with ./scripts/copy-protocol.sh that will copy the protocols from CODY_DIR (or by default <git_root>/../cody/ )
Test plan

No functionality should have changed. Existing tests pass
Added a test to ensure that for the "SubsetOfGeneratedProtocolMessages" that we have migrated they are kept identical to the generated protocol.

Superseded by https://github.com/sourcegraph/jetbrains/pull/1921


Appendix sectioning incompatibility with existing appendix

I'm using theoremrep to put my proofs in the appendix, but I have other things in the appendix as well. The two don't seem to get along: my own appendix sections start with A, B, C, ..., and so on, but then the proof appendix starts with A, B, C, ... and so on. That is, I have two appendix sections A, two appendix section B, etc.
Is there any way I can force the proof sectioning to not start over at A? Or alternatively to put my own appendix after the proof appendices?

It should work if you use \begin{toappendix} ... \end{\toappendix} around your appendix material instead of using \appendix manually. Can you see if this behaves as you want it to? If not, can you please provide a minimal complete example?

Well, that's embarrassing: it works perfectly! Thanks.

Oops, perhaps I spoke too soon. When I use \begin{toappendix} ... \end{toappendix}, it makes appendix sections even for sections that do not have any proofs in them. The proof-less sections do not have any corresponding appendix section when using \appendix.
Here's an example. Replace \begin{toappendix} ... \end{toappendix} with \appendix (or merely comment out \begin{toappendix} ... \end{toappendix}) to see the difference (exhibits this behavior on Overleaf, anyway).
\documentclass[12pt]{article}

\usepackage{apxproof}
\newtheoremrep{prop}{Proposition}

\begin{document}

\section{Introduction to Goats}
Goats are cool. Here's proof.
\begin{proprep}
	If a goat can float, then a goat has no need for a boat in a moat.
\end{proprep}
\begin{proof}
We find this proposition to be self-evident.
\end{proof}

\section{Conclusion}
Goats are pretty neat.

\begin{toappendix}
\end{toappendix}

\end{document}

Add \nosectionappendix before the \begin{toappendix}; alternatively, if the content of \begin{toappendix} starts with a \section command, there should not be an empty section created.

Thank you, both do the trick. (Even having an empty line between \begin{toappendix} and \section will lead to the creation of an appendix section for the proof-less section.)


Slow cold starts

Hi there, I'm using the project, with the api gateway for AWS, still Api gateway only admits 29,000 ms as maximum delay, but I'm getting loading times over 30s, for a simple 5 classes project:
https://gist.github.com/newalopez/7c11acc11ba730891e8f470b812f8271
Is there something I could add to make it faster?
(the warmed up calls are fast, 20ms).
yml:
spring:
profiles:
active: "prod"
main:
banner-mode: "off"
jpa:
database-platform: org.hibernate.dialect.MySQLDialect
show-sql: true
generate-ddl: false
hibernate:
ddl-auto: none
temp:
use_jdbc_metadata_defaults: false
spring:
profiles: prod
datasource:
url: jdbc:mysql://xxx.cluster-xxx.us-west-2.rds.amazonaws.com:3306/xxxx
driver-class-name: com.mysql.jdbc.Driver
tomcat:
max-idle: 1
initial-size: 1
min-idle: 1
jmx-enabled: false

Maybe could you try another container instead of Tomcat?
Em ter, 12 de dez de 2017 às 15:21, newalopez<EMAIL_ADDRESS>escreveu:

Hi there, I'm using the project, with the api gateway for AWS, still Api
gateway only admits 29,000 ms as maximum delay, but I'm getting loading
times over 30s, for a simple 5 classes project:
https://gist.github.com/newalopez/7c11acc11ba730891e8f470b812f8271
Is there something I could add to make it faster?
(the warmed up calls are fast, 20ms).
yml:
spring:
profiles:
active: "prod"
main:
banner-mode: "off"
jpa:
database-platform: org.hibernate.dialect.MySQLDialect
show-sql: true
generate-ddl: false
hibernate:
ddl-auto: none
temp:
use_jdbc_metadata_defaults: false
spring:
profiles: prod
datasource:
url: jdbc:mysql://xxx.cluster-xxx.us-west-2.rds.amazonaws.com:3306/xxxx
driver-class-name: com.mysql.jdbc.Driver
tomcat:
max-idle: 1
initial-size: 1
min-idle: 1
jmx-enabled: false
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/spring-cloud/spring-cloud-function/issues/132, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACYd_vrVkVdzeZ9_8POgUzrLNxzjjMX3ks5s_rYTgaJpZM4Q_Vkq
.

Hi there Ruben
I'm using tomcat dbcp only, tried also hikari cp, same results, as you can see in the log, there are two places where it tooks more than 10s to continue, ApplicationContext load and Hibernate Annotations.
Tried the same code on an EC2 instance on the same VPC:
Started Config in 4.797 seconds (JVM running for 5.028)
Regards

I was just wondering that @ComponentScan(lazyInit = true) could help..
http://dolszewski.com/spring/faster-spring-boot-startup/
On Tue, Dec 12, 2017 at 3:43 PM newalopez<EMAIL_ADDRESS>wrote:

Hi there Ruben
I'm using tomcat dbcp only, tried also hikari cp, same results, as you can
see in the log, there are two places where it tooks more than 10s to
continue, ApplicationContext load and Hibernate Annotations.
Tried the same code on an EC2 instance on the same VPC:
Started Config in 4.797 seconds (JVM running for 5.028)
Regards
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/spring-cloud/spring-cloud-function/issues/132#issuecomment-351128144,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACYd_raqpBDMsx92paCdRMjXZrcUJQr7ks5s_rsbgaJpZM4Q_Vkq
.

Thanks Ruben, already tried that one, and some others.
@EnableAutoConfiguration(exclude = {JmxAutoConfiguration.class, AopAutoConfiguration.class,
HttpMessageConvertersAutoConfiguration.class, SpringApplicationAdminJmxAutoConfiguration.class, WebClientAutoConfiguration.class })
@EntityScan("com.is4tech.asebay.commons.bo")
@ComponentScan(lazyInit = true, basePackages = {"com.is4tech.asebay"})
@SpringBootApplication(scanBasePackages = {"com.is4tech.asebay"})
@EnableJpaRepositories(basePackages = {"com.is4tech.asebay.commons.repository"})
@EnableConfigurationProperties(Properties.class)
But can't get to lower the 30s time.

I guess you are running your code on AWS Lambda and not on AWS ApiGateway?
It happens because the classloader needs a lot of time on the smallest lambda config. I guess your jar ended up being 10MB+ (that's normal for a boot app).
You can do two things:

Raise the instance's memory limit to something higher. This works because on AWS Lambda allocates more CPU based on the memory allocated. With the highest memory settings, you will be able to get 2-5 seconds of cold start time.
Chop down the jar's size. I did this and was able to reduce the size of the jar to around 4-5mb by excluding things I don't really need from spring boot. Be very cautious however because you can break your app if it doesn't find something on the classpath that should be there.

Both of these things are suboptimal but this is all that we get until either AWS provides a way to boost the CPU for the app in the first 30-60 seconds (some kind of cold start boost) or JEP-295 is out.

I'm running lambdas, exposed at AWS API Gateway.
Thanks for you help.  JAR size is about 27mb, tried to reduce, but just hibernate and spring use like 90% of the dependencies, a little hard to reduce, still 27mb to 20mb, wouldn't make big difference.
Interesting fact about the CPU/MEM, I'll check, the only thing I don't like, it's the effect on price by executions, still a nice way to try.
API gateway limits request to 29s, so atm, I can't wait more than that.
Nice thing to hear about JEP-295, I appreciate a lot your help.
For the moment, we have a cron trigger to warm up every 15 minutes, it's working like a charm.

From 27MB to 20 MB would actually still make a pretty big difference (2 digit percentage improvement I think) but if it threatens the stability of your app then avoid it (especially if you go with the cron approach).

API gateway limits request to 29s, so atm, I can't wait more than that.

I didn't know about that, thanks for the info.


home assiatnt rebooting after configure with map ( dreame z10 pro)

Describe the bug
Hello, i have the dreame Z10 pro and i cant install this, after login with option map , the home assistant spot working and it is always rebooting
To Reproduce
Steps to reproduce the behavior.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional Information (please complete the following information)

Model Name [e.g. dreame.vacuum.p2028]:
Firmware Version [e.g. 1156]:
Home Assistant Version:
Configuration Type [With or without map support]:
Errors or warnings shown in the HA logs (if applicable):

@Tasshack Do yoy know which dependency cause the issue?
It's such a shame not to be able to take advantage of the integration.


Support the new Photon Add‑ons frontend

Right now, AMO (Addons.Mozilla.Org) uses a new Photon‑based responsive frontend, whereas ATN (Addons.Thunderbird.Net) uses the older Australis‑based desktop‑only frontend.
I’d like it if ATN would support the new Photon‑based responsive frontend, as I personally prefer it to the older Australis‑based one.

My POV unless the work required to do this aligns with some other priority, I doubt this will be a priority given other more serious functional and strategic issues on our plate. But I'm sure sancus will weigh in.

Yeah, there's just no way. addons-server was designed with TB and SM in mind. addons-frontend was not designed for any application to use it other than Firefox, and it's missing many things we would need. We don't have anyone with nodeJS/react experience, and while I am certainly capable of doing the necessary modifications and deployment, it would take me months. There is no good business case for spending so much time changing the look of the addons website right now.
Eventually, we will start work on our own front-end, which makes much more sense than trying to adapt Mozilla's Firefox-specific site. I do want to replace the Addons Manager pages and Discovery Pane with a better looking solution, but the website is a much lower priority, given it has an order of magnitude fewer users and is full of extremely complex admin, reiviewer, and developer functionality that even AMO has not replaced yet.


Align quickstarts and include icons and add missing services and whatnot

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/fabric8-quickstarts-master-pullreq/573/
Test PASSed.


fix: Don't pass an empty doc rev into ietf.doc.views_doc.document_bibtex

Fixes #4878

OBE by #4887


fix: do not wrap registering event listeners under effect

Before:
  _effect(() => {
    _on(n7, "click", _ctx.inc);
  });
  _effect(() => {
    _on(n8, "click", _ctx.dec);
  });

After:
  _on(n7, "click", _ctx.inc);
  _on(n8, "click", _ctx.dec);

@sxzz Do you mean reactive event handler?

@ydcjeff Yes

Interesting! I didn't happen to see in the Vue docs tho.

I tried reactive event handler in the Vue SFC playground, and found that Vue wraps that handler with inline function.
    onClick: _cache[0] || (_cache[0] = (...args) => (handler.value && handler.value(...args)))

So I still think we do not need wrap under effect.

Hi! I'm the autofix.ci troubleshooter bot.
It looks like you correctly set up a CI job that uses the autofix.ci GitHub Action, but the autofix.ci GitHub App has not been installed for this repository. This means that autofix.ci unfortunately does not have the permissions to fix this pull request. If you are the repository owner, please install the app and then restart the CI workflow! 😃


sw-cli: investigate support for generate:foo pattern

Library Affected:
sw-cli
Browser & Platform:
Google Chrome v51.0.1 for Android, or "all browsers"
Issue or Feature Request Description:
The CLI currently uses the sw-cli generate-a, sw-cli generate-b pattern. I propose we switch to sw-cli generate:a, sw-cli generate:b, which gives generation a namespace and might better support chaining in the future.

I'm fine with this - at the moment the logic for the CLI is
sw-cli
So we can change to generate:sw and generate:manifest if @addyosmani @jeffposnick are ok with that?


How to select from two backends with the same storage driver?

Describe the solution you'd like
We would like a volume to be able to choose betweens different backends with the same storage driver.
AFAIK, if two storage classes have the same backendType parameter, their volumes will end up in the same backends.
We have two ontap-san-economy backends named like iscsi-west and iscsi-east. Is there some trick to define two different storage classes trident-west and trident-east, each storage class using one specific backend?
Describe alternatives you've considered
We could rely on CSI topology, but this would restrict each worker to one of the two backends. In this case, we want that all workers have access to both backends.
Additional context
A similar problem arises when we want to use both iSCSI and NVMe with the same backend type. Today NVMe only supports ontap-san, but as soon as it supports ontap-san-economy, how to define trident-iscsi and trident-nvme storage classes both with backend type ontap-san-economy?

Multiple ways to approach this, but I'd say the easiest for your use case is the use of storage pools. Trident discovers them automatically, for an Ontap backend they are in the form of "backend-name:aggregate-name". Regular expressions are allowed, so if you only want it to point to a specific backend, but not a specific aggregate, just use ".*" for the aggregate.
Based on your example above, a storage class could look like this:
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: trident-west
provisioner: csi.trident.netapp.io
parameters:
  fsType: ext4
  backendType: "ontap-san-economy"
  storagePools: 'iscsi-west:.*'
reclaimPolicy: Delete
volumeBindingMode: Immediate
allowVolumeExpansion: true

You can also use labels in the backend definition
labels:
  location: iscsi-east

and label selectors in the storage classes
parameters:
  selector: "location=iscsi-east"

Both solutions work. I'll go with labels.


cannot eval wikitext2

I met the following error when I eval Llama2 7B on wikitext2-raw-v1:
Generating test split: 0 examples [00:00, ? examples/s]
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/datasets/builder.py", line 1726, in _prepare_split_single
    for key, record in generator:
  File "/root/.cache/huggingface/modules/datasets_modules/datasets/wikitext_document_level/fd2b48221bb0d1e01acb17a9dc22e7278c03f8ff32e9147a39c701d5a7749435/wikitext_document_level.py", line 238, in _generate_examples
    with open(data_file, encoding="utf-8") as f:
  File "/usr/local/lib/python3.10/dist-packages/datasets/streaming.py", line 75, in wrapper
    return function(*args, download_config=download_config, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/datasets/download/streaming_download_manager.py", line 507, in xopen
    return open(main_hop, mode, *args, **kwargs)
NotADirectoryError: [Errno 20] Not a directory: '/root/.cache/huggingface/datasets/downloads/94be2a7b3fff32ae7379658c8d3821035b666baddad3a06d29b55ab3a4ab3115/wikitext-2-raw/wiki.test.raw'

the run command is:
accelerate launch -m lm_eval --model hf --model_args pretrained="/workspace/model/Llama-2-7b-chat-hf",dtype="bfloat16" --task wikitext

Looking forward to your reply.

Hello, is there any update?

Hi! The original hosting for Wikitext is no longer accessible. Looking into making the zip files directly in that HF repo, or else sourcing from somewhere else such as https://huggingface.co/datasets/wikitext/tree/main .

Hi, I've updated the wikitext dataset on Huggingface to use the new hosted location of the wikitext files: https://huggingface.co/datasets/EleutherAI/wikitext_document_level/commit/3ad9e13102af0ea3a47d6b0907694d908f01be05.
Let me know if there are any problems!

@haileyschoelkopf I still see the issue with loading the dataset:
from datasets import load_dataset
self.dataset = load_dataset(
    path='EleutherAI/wikitext_document_level',
    name='wikitext-2-raw-v1',
    data_dir=None,
    cache_dir=None,
    download_mode=None,
)

ConnectionError: Couldn't reach https://wikitext.smerity.com/wikitext-2-raw-v1.zip (SSLError(MaxRetryError("HTTPSConnectionPool(host='wikitext.smerity.com', port=443): Max retries exceeded with url: /wikitext-2-raw-v1.zip (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1131)')))")))

Could you try

entering this url (https://wikitext.smerity.com/wikitext-2-raw-v1.zip) into your browser and seeing if you can access it? Works for me
does your machine have internet connection?

Thanks! @haileyschoelkopf. There was some issue with proxy.


App hangs indefinitely when attempting to batch queries using createBatchingNetworkInterface

So I updated my ApolloClient.js to use createBatchingNetworkInterface instead of createNetworkInterface, and my app now hangs with the following responses:
Retrying action APOLLO_OFFLINE_QUEUE with delay 1000
middleware.js:50 Retrying action APOLLO_OFFLINE_QUEUE with delay 5000
middleware.js:50 Retrying action APOLLO_OFFLINE_QUEUE with delay 15000
middleware.js:50 Retrying action APOLLO_OFFLINE_QUEUE with delay 30000
middleware.js:50 Retrying action APOLLO_OFFLINE_QUEUE with delay 60000
middleware.js:50 Retrying action APOLLO_OFFLINE_QUEUE with delay 180000

My code is as follows:
const logErrors = {
  applyBatchAfterware({ response }, next) {
    if (!response) {
      response.clone().text().then((bodyText) => {
        console.log('...', `Network Error: ${response.status} (${response.statusText}) - ${bodyText}`);
        next();
      });
    } else {
      response.clone().json().then(({ errors }) => {
        if (errors) {
          console.log('...', 'GraphQL Errors:', errors.map(e => e.message));
        }
        next();
      });
    }
  },
};

const authMiddleware = {
  applyBatchMiddleware(req, next) {
    if (!req.options.headers) {
      req.options.headers = {};  // Create the header object if needed.
    }

    getStoredState({ storage: localForage }, (err, state = {}) => {
      req.options.headers['authorization'] = state.auth ? `Bearer ${state.auth.token}` : null;
      next();
    });
  }
}

// Create WebSocket client
const wsClient = new SubscriptionClient(SubscriptionClient_URL, {
  reconnect: true,
});

export const { enhancer, networkInterface } = offline(
  createBatchingNetworkInterface({
    uri: networkInterface_URL,
    batchInterval: 10,
    opts: {
      credentials: 'include',
    }
  }),
);

export const enhancer2 = enhancer(config);

networkInterface.use([authMiddleware]);

if (process.env.NODE_ENV !== 'production') {
  networkInterface.useAfter([logErrors]);
}

const networkInterfaceWithSubscriptions = addGraphQLSubscriptions(
  networkInterface,
  wsClient
);

const client = new ApolloClient({
  networkInterface: networkInterfaceWithSubscriptions,
  dataIdFromObject: (o) => o.id,
  addTypeName: true,
  shouldBatch: true,
});

networkInterface.setClient(client);

export default client;

What is the issue here?

Hey @TheoMer,
the console output you included suggests that successfully delivering a query/mutation to your backend repeatedly failed.
Please give me some time to take a look at how this is caused by using a batching network interface. It may have something to do with the way middleware is currently handled, but I can not confirm that yet.

Alright @TheoMer,
I did some tests using the batching network interface and they all seemed to work just fine...
Maybe you could provide some additional information on your exact setup.
Did you just swap the default network interface for the batching one and your app immediately stopped working (no other changes)?
Have you ruled out any problems that could arise from sending credentials in a cross-origin request, etc.?
Also: From what I can tell, you can safely remove the shouldBatch option in your Apollo client config. It is not listed in the API reference and doesn't really seem to do anything.


CI: split up engine publish and CLI publish

Sometimes the engine publish job needs to re-run independent of the CLI publish, but right now because it all happens in the same job you can't run one without the other, which can create headaches where a re-run results in partial success (re-running engine publish) but failure during CLI publish.
If the jobs were separate but dependent this could be a lot cleaner to deal with.
cc @gerhard, creating issue for what we mentioned during the last release process

Looks like this got done in some point during https://github.com/dagger/dagger/pull/7483:
https://github.com/dagger/dagger/blob/83f29933a90cc530b2a9bcd8e9431ff37af39bff/.github/workflows/engine-and-cli-publish.yml#L42-L85


fix: update success event was missing for js edit for loader to top

Description
when js object is edited loading state goes into infinite loading state. The reason was entity saving state was not getting event for js object success
Fixes #11529
Type of change

Bug fix (non-breaking change which fixes an issue)

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

/ok-to-test sha=ac0432c


replication - metrics pod is pending

Ran the mariadb_replication_full.yaml - all the pods come up EXCEPT - repl-metrics, which stays in a pending state.
Am I missing something?

Hey @n7qnm ! This is a duplicate of:

https://github.com/mariadb-operator/mariadb-operator/issues/442

A fix has been merged already and will be released in v0.0.28, stay tuned!


Capturing coverage of vmdkops service

Adding extra target to capture coverage.
Modifying drone script to call the target on ESX

CI ESX box is patched to have python coverage package.
Testing: Done locally.
Following is the end of:  make build-all deploy-all test-all coverage
PASS
coverage: 40.6% of statements
/Library/Developer/CommandLineTools/usr/bin/make --directory=vmdk_plugin coverage
Makefile:152: warning: overriding commands for target `clean'
../plugin/Makefile:87: warning: ignoring old commands for target `clean'

=> Running target coverage Thu Jun 15 13:25:26 PDT 2017

/Library/Developer/CommandLineTools/usr/bin/make  --directory=../esx_service coverage
python coverage package exists.
ssh  -kTax -o StrictHostKeyChecking=no<EMAIL_ADDRESS>'/etc/init.d/vmdk-opsd stop ; coverage combine .coverage* ; coverage report ; rm .coverage*'
Stopping vmdkops-opsd with PID=674977
675010
vmdkops-opsd is not running
Name                                                Stmts   Miss  Cover
-----------------------------------------------------------------------
/usr/lib/vmware/vmdkops/Python/__init__.py              0      0   100%
/usr/lib/vmware/vmdkops/Python/auth.py                323     90    72%
/usr/lib/vmware/vmdkops/Python/auth_api.py            657    182    72%
/usr/lib/vmware/vmdkops/Python/auth_data.py           623    203    67%
/usr/lib/vmware/vmdkops/Python/auth_data_const.py      23      0   100%
/usr/lib/vmware/vmdkops/Python/cli_table.py            82      1    99%
/usr/lib/vmware/vmdkops/Python/convert.py              14      2    86%
/usr/lib/vmware/vmdkops/Python/error_code.py           57      0   100%
/usr/lib/vmware/vmdkops/Python/kvESX.py               189     56    70%
/usr/lib/vmware/vmdkops/Python/log_config.py           57     17    70%
/usr/lib/vmware/vmdkops/Python/test_utils.py           94     12    87%
/usr/lib/vmware/vmdkops/Python/threadutils.py          52      4    92%
/usr/lib/vmware/vmdkops/Python/vm_listener.py         109     21    81%
/usr/lib/vmware/vmdkops/Python/vmdk_utils.py          211     35    83%
/usr/lib/vmware/vmdkops/Python/vsan_info.py            44      6    86%
/usr/lib/vmware/vmdkops/bin/__init__.py                 0      0   100%
/usr/lib/vmware/vmdkops/bin/vmdk_ops.py               994    278    72%
/usr/lib/vmware/vmdkops/bin/vmdkops_admin.py          564    163    71%
/usr/lib/vmware/vmdkops/bin/volume_kv.py               65     19    71%
/usr/lib/vmware/vmdkops/bin/vsan_policy.py            161     72    55%
-----------------------------------------------------------------------
TOTAL                                                4319   1161    73%

Fixes #404

@pshahzeb Please trigger the CI run for this PR.

Testing: Done locally.

Good to have some information from local run target.
A quick question: what happens incase of error while capturing the coverage data (fail the PR test run or ignores silently)?

CI ESX box is patched to have python coverage package.

Where are changes documented? What additional configuration is required if I need to run this on my local ESX.

Testing: Done locally.

Please add details like target compiled, output of coverage etc.

@shuklanirdesh82 @pdhamdhere

Updated the PR description for a sample output end section.
Updated contributing.md to  document the changes to setup the esx box

A quick question: what happens incase of error while capturing the coverage data (fail the PR test run or ignores silently)?

If the tests passed, coverage capture should not fail. If ever it does, that means
call to  ./misc/drone-scripts/deploy-and-test-wrapper.sh coverage failed.
I think it will fail PR. We can only verify in on CI once it actually fails for any PR.

From CI https://ci.vmware.run/vmware/docker-volume-vsphere/565.
Build failed due to volume access test fail due to #1371
Name                                                Stmts   Miss  Cover
-----------------------------------------------------------------------
/usr/lib/vmware/vmdkops/Python/__init__.py              0      0   100%
/usr/lib/vmware/vmdkops/Python/auth.py                329     93    72%
/usr/lib/vmware/vmdkops/Python/auth_api.py            657    182    72%
/usr/lib/vmware/vmdkops/Python/auth_data.py           623    203    67%
/usr/lib/vmware/vmdkops/Python/auth_data_const.py      23      0   100%
/usr/lib/vmware/vmdkops/Python/cli_table.py            82      2    98%
/usr/lib/vmware/vmdkops/Python/convert.py              18      5    72%
/usr/lib/vmware/vmdkops/Python/error_code.py           58      0   100%
/usr/lib/vmware/vmdkops/Python/kvESX.py               208     68    67%
/usr/lib/vmware/vmdkops/Python/log_config.py           57     19    67%
/usr/lib/vmware/vmdkops/Python/test_utils.py           94     12    87%
/usr/lib/vmware/vmdkops/Python/threadutils.py          52      4    92%
/usr/lib/vmware/vmdkops/Python/vm_listener.py         109     21    81%
/usr/lib/vmware/vmdkops/Python/vmdk_utils.py          211     35    83%
/usr/lib/vmware/vmdkops/Python/vsan_info.py            44      6    86%
/usr/lib/vmware/vmdkops/bin/__init__.py                 0      0   100%
/usr/lib/vmware/vmdkops/bin/vmdk_ops.py               994    249    75%
/usr/lib/vmware/vmdkops/bin/vmdkops_admin.py          564    156    72%
/usr/lib/vmware/vmdkops/bin/volume_kv.py               65     19    71%
/usr/lib/vmware/vmdkops/bin/vsan_policy.py            161     72    55%
-----------------------------------------------------------------------
TOTAL                                                4349   1146    74%

https://ci.vmware.run/vmware/docker-volume-vsphere/582 pass with coverage indicated.. Merging this.


feat: Add copy image in context menu

Closes #2205
Closes #1279
Closes #1368

A menu item with name 'Copy image' is added in context menu to make it possible to copy images to clipboard. So, it's not necessary to save the image first if you just want to copy it.

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

@radiokang congratulations for your contribution, I will merge it right now

Tested it - works good!
Copied and then pasted in chat - all perfect!
Thanks for contribution!

Thank you, works.

Thanks :)


Last step results in "Connection refused" errors

File: docs/tutorials/aws/ec2-webserver.md
curl $(pulumi stack output publicHostName)
Hello, World!

Example Output:
curl: (7) Failed to connect to ec2-3-87-190-213.compute-1.amazonaws.com port 80: Connection refused

User error - still need to make that section of the tutorial a bit clearer.

The error occurs when you fail to add this line.

user_data=user_data, # <-- ADD THIS LINE


Possible to set a metadata key within an it block?

This works, but not very nice, to set an id tag from within an it block:
self.class.instance_variable_set(:@describe_metadata, metadata.merge({id: 100}))
Is there a better way?

Not sure what your goal is.

I have a need to set the status of a group of tests as an aggregate to report to an external server.   When the last it block of the group executes, I set a metadata key from within the it block indicating pass or fail for the entire group.  I want to see each individual it block execute so I get individual results reporting as well as this aggregate result.

I suppose you could use the setter method self.class.describe_metadata = {id: 100} instead of instance_variable_set.
Not sure I would use metadata for what you're doing, though. If you're tracking the result of tests and want an aggregate of them, take a look at Minitest::Reporter and make one of your own. That's what they're meant to do.


Mixing of CRLF and LF causing rendering issues

When CRLF and LF characters are mixed in a single file (which can easily currently occur due to newline inserting a LF character in a CRLF file, #290 , or due to backspacing breaking it #289 , but could also occur due to simply opening a mixed-case file), the rendering appears to break in certain ways. See:
(Video showcasing the issue)
https://user-images.githubusercontent.com/13157904/160234251-aee2f517-6da5-480e-a04f-bff5d3c94d44.mp4

I tested PR #293. This seems to have resolved this issue.


esp-idf可以用来开发ESP8266芯片吗? (IDFGH-2329)

请问一下:
esp-idf是否只是用来开发ESP32芯片, 能否用来开发ESP8266芯片?
如果要开发ESP8266芯片, 是否需下载另外的开发包, 如: ESP8266_RTOS_SDK-3.2
ESP8266芯片的SDK包新老版本配置都不一样,  搞得迷糊得很. 请指点, 谢谢!

Hi @hscxg,
Currently ESP-IDF doesn't have support for ESP8266. This may change in the future, but I can't give you a firm timeline when this might happen. For now, to develop for the ESP8266 you need to use the ESP8266_RTOS_SDK.
The ESP8266 RTOS SDK has been significantly refactored since version 2.0, more information on this here: https://github.com/espressif/esp8266_rtos_sdk#roadmap. If you find something in the documentation of the ESP8266 RTOS SDK which is confusing, please open an issue at https://github.com/espressif/esp8266_rtos_sdk/issues.


policyfile_zero provisioner does not support the cookbook_files_glob config option

ChefDK::PolicyfileServices::ExportRepo calls out to Chef::Cookbook::CookbookVersionLoader, which hardcodes a whitelist of files and folders, in order to determine what files to upload to a testkitchen box.  This prevents other files and folders in a cookbook from being uploaded.  Other kitchen provisioners provided by testkitchen use the cookbook_files_glob kitchen configuration option to control what files will be uploaded, but the policyfile_zero provisioner doesn't even look at this config option, instead relying completely on CookbookVersionLoader to figure out what to upload.

What kind of other files do you need? It's more likely that we'll solve this at the CookbookVersionLoader level which would make this technically a Chef issue but we can track it here as well.

In our particular case, our cookbooks expose integration tests so that those tests can be run by downstream cookbooks.  This is particularly helpful for policy-level acceptance & integration testing. See https://github.com/test-kitchen/test-kitchen/issues/843.
Though I could imagine a use-case for any non-standard cookbook repo layout, for whatever reason.
I would also argue that this issue should be categorized as a "bug" rather than "enhancement" - in the previous release of ChefDK (0.10.0), the policyfile_zero provisioner simply uploaded all files in a cookbook, which allowed for the workflow I've described, and this workflow is now broken in ChefDK 0.11.2.

The plan is to fix this via https://github.com/chef/chef/pull/4629 The end result would be that everything that isn't either explicitly ignored or contained in a dotdir at the cookbook root would be exported (see the pull request and code comments therein for more about that).
If you specifically want cookbook_files_glob option, I'd consider that an enhancement, but the other way should get you back the behavior you had before (while still respecting chefignore, which is why the change was made in the first place).

I see what you're saying now - yes, there's a difference between adding support for cookbook_files_glob and the fixing problems introduced by switching to CookbookVersionLoader. The latter problem is what I'm more interested in and I had assumed it was more closely connected with the non-support of cookbook_files_glob than was actually the case. Thanks for looking into this and helping to solve!

I put up a PR for this here: https://github.com/chef/chef-dk/pull/716
Will be on vacation next week, but I will look into it after if no one finishes that up.


No bulk API support in SAI thrift RPC generator

To test bulk DASH API via SAI level (SAI RPC server), the bulk API supports need to be added into SAI thrift RPC generator
https://github.com/opencomputeproject/SAI/tree/master/meta/rpc

Hi @vmytnykx please see https://github.com/sonic-net/DASH/pull/246. This capability is waiting to be merged. We'd held the PR up until at least a simple test-case was written to prove the code-gen works. If you want to help us move this along, you could try the PR locally and write some PTF test cases to complete it, then add those to the PR (write a PR against @marian-pritsak's dev branch or whatever process you prefer). Thanks.


[Feature] Configure SonarCloud as the backend for SonarLint

What projects is this feature for?
No response
Description
This is also known has enabling the "connected mode" of SonarLint.
See instructions here.
Anything else?
No response
Code of Conduct

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

Here is how to connect to the SonarCloud org sage-bionetworks.

Open VS Code and the Sage Monorepo dev container
Open the VS Code extension "SonarLint" from the vertical menu on the left side of VS Code
Select the menu "Connected Mode"
Select "New SonarCloud Connection"
Follow the instructions. Enter the organization key sage-bionetworks.
Click on "Save Connection"
If you are asked to "bound" the directory to a SonarCloud project, cancel the dialog.

You should now be connected to SonarCloud and tapping into the org-wide database of rules for different programming languages!


Input.IsKeyPressed does not behave as intended.

It seems to rely on the Windows keyboard "Repeat rate" setting.
If you hold a key down; whenever Windows will output the key, the input.iskeypressed will return true.

From what I can read in the code (https://github.com/xenko3d/xenko/blob/master/sources/engine/Xenko.Input/Windows/KeyboardWinforms.cs) it seems to rely on low-level Win32 API.
That said it is possible that the "Repeat rate" setting simulates up and down events which will explain what you described (I don't know much about that feature). Were that the case, I don't think there is much we can do (since it means it is affecting low-level Win32 API).
We need to investigate more...

@Kryptos-FR You were right; changing windows' keyboard repeat rate changes the rate at which it is repeated in-engine.
Based on this page we can see that the second to last bit on the LParam provides us a filter which would help us to ignore repeating messages. I added logging code to InputSourceWinforms's HandleKeyDown / HandleKeyUp and here's the content of the lParam IntPtr casted to an int32 and converted to bit representation in the console :

As you can see on line 'A', the first down event for the key starts with a zeroed second bit, which, on the following event while holding the key, turns to one.
On line 'B' and 'C', you can see that the previous key was released and another one pressed but no up event occurred. We are actively sampling the API, It isn't interrupting with messages right ? If that's the case then this is just an editor side sample issue.
You can also see a variant of that issue crop up on line 'D' were the first down event wasn't caught but the following repeating events were.
I could push a fix for this since I already had a couple of other minor fix in other parts of the input system but just to be sure, can I safely filter out those repeated inputs based on what I found or am I forgetting something ? And is the issue shown on line B, C and D expected behavior ?

I agree with your analysis, it shouldn't trigger IsKeyPressed multiple time if it's a single long keypress.
Would gladly accept a PR fix, thanks!

A Console.Writeline made it through https://github.com/xenko3d/xenko/commit/7b2659b27a706e6f83d6a45ccab493a217255235#diff-d811585b0ddab8979281627eaf126832R144


Add Support For Alpine Linux

Per discussion in slack with Maxime David this extension does not currently support Alpine Linux.
Unsure of why this is, but let me know if there is anything I can do to help get this working.

@maxday any known workaround?

Hi @lonnylot, we've released new images of the extension supporting Alpine Linux (47-alpine or latest-alpine, see here). Give them a try, and please let us know if you have any other issues.


Super simple usage example?

Hi Juakob!
A super simple usage example of BehaviorTreeHaxe would be cool!
/ Jonas

ok  Im going to try to do a small example. im working in a UI so it easier create the trees and Im trying in an entity system that can use the tree. I didnt made any tutorials because the API might change to integrate the other two projects. But I don't see why not create a small example. The lib is based in a talk that describes a behavior tree in http://aigamedev.com but not exactly

Cool!


Update the follower count with a badge

That way it stays uptodate.

That's a great update @Jogai . Really appreciate it.