docs(ui/button): use the setup script for exmple and docs

Checklist

[ ] Fix linting errors
[ ] Tests have been added / updated (or snapshots)

Change information

Codecov Report

Merging #506 (7b2a81e) into dev (5c6fb67) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev     #506   +/-   ##
=======================================
  Coverage   96.25%   96.25%
=======================================
  Files         217      217
  Lines        5151     5151
  Branches      945      945
=======================================
  Hits         4958     4958
  Misses        193      193

Continue to review full report at Codecov.

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


Changes to make building a request easier

#134

Looks okay apart from the fmt. statement

Looks okay apart from the fmt. statement

@peterdonald3 Yeah missed that, now been removed !


Proposal: Introduce wizard bootstrapping plugin

In addition to the Guided Graphical UI #3235, we should consider implementing a wizard CLI plugin. This plugin would walk users through bootstrapping a management / unmanaged cluster, right in the CLI.
But why?
Some users don't have access to a web browser (like in a headless environment or when on a remote server). Or their network configuration won't allow for easily tunneling a request to their bootstrapping machine (like deploying through a jumpbox).
This issue needs a formal proposal and is a placeholder

Examples:

AWS CLI configuration wizard
Powerlevel10k wizard

:+1: When it comes around to proposal let's reconsider the trade-offs of embedding this functionality alongside plugins that benefit from a wizard, vs doing a dedicated wizard plugin.


TTS & SST (Speech) configuration shows up a list of all models instead of configured ones

Hi , thank you very much for updating docs!
I now used azureOpenAI instead of azure in the speech section, but the problem still exists.
Originally posted by @cfshawnmaholick in https://github.com/danny-avila/LibreChat/issues/3360#issuecomment-2232818275

https://github.com/danny-avila/LibreChat/issues/3360#issuecomment-2232827708


Direct upload to Amazon S3: corrupted files

Hello everyone !
I'm currently trying to setup a direct upload from angular-file-upload to Amazon S3 bucket.
The upload process works fine, ex: If I upload an image of 3MB, the image is correctly transferred on my Amazon S3 bucket (located in Francfort btw, using the new AWS V4 signature)
The issue is the following one: The uploaded files cannot be opened and when I try to "cat" to see the binary content of the file, there are 3 lines added:
------WebKitFormBoundaryfOtaE6TQBF0hzBnw
Content-Disposition: form-data; name="file"; filename="01_-_Rock_Or_Bust.mp3"
Content-Type: audio/mp3
For each uploaded file, there is this "webkitformboundary" stuff added inside my file's binary content which is the reason of my issue I guess.
Does anyone know how to solve it?
I have a Node.js server that is basically generating pre-signed url and my app using this plugin to do the upload to S3.
I've been looking to solve this with my team for 24 hours now but no clue at moment.
Any ideas?
Best regards,

Did you solve this?

Yes, I've change the script angular-file-upload.js on the line "xhr.send(item.file)" , I've changed this line to "xhr.send(item._file)"
Hope it's gonna work for you !

@billyshena Are you sure you are using this plugin? There is no xhr.send(item.file) in angular-file-upload.js.

@billyshena Can you try to upload with older version of the plugin like 2.0.0 or 2.2.1 and see if it is working with that version?

I am uploading to S3 without any problem. I used the code in here https://github.com/nukulb/s3-angular-file-upload and I also have ------WebKitFormBoundary (s) in my payload.
I works like a charm. :)

Make sure you use fields instead of data to pass other data to the server. Since version 3.x the data is replaced with fields see the demo page code. https://angular-file-upload.appspot.com/

I am also uploading to s3 using this plugin without issue.
Here is the upload configuration i'm using in case it helps.
$upload.upload({
            url: 'https://s3.amazonaws.com/bucket.name',
            method: 'POST',
            fields: {
              key: S3_KEY,
              AWSAccessKeyId: 'ACCESS_KEY_ID',
              acl: 'public-read',
              policy: $scope.policy,
              signature: $scope.signature,
              'Content-Type': file.type
            },
            file: file
          })

I'm having the same corruption issue trying to upload to google cloud storage.  Is there a solution for this?

How your request look like?

'public-read'

I can't get the public-read acl to work
private works
what other changes did you make besides the public-read in the policy document
any specific changes - to buck policy/permissions that I am missing
I have changed - it to 'public-read' and I get a 403 error in the - I am not understanding the issue. There is not debugging info in the error message. Going in circles with a lot of trial an error-
any help would be great. S3 documentation - is hard to connect or make sense with using this angular directive.

cheers and thanks

Can you submit the request headers body being sent to the cloud server.

Headers/Body

I am following very closely your example or the sample code that you provided

uploading images:  the files that I am uploading are images for a blog feature on a firebase and angular app

images do not render - unless manually go into S3 and make each of the images (objects) public that are uploaded.

when 'private' it works (and change the policy and signature relative to private policy doc and header)
// Policy Document
$scope.policy = {
"expiration": "2020-01-01T00:00:00Z",
"conditions": [
{"bucket": "angular-file-upload-jh"},
["starts-with", "$key", ""],
{"acl": 'public-read'},
{"success_action_redirect":"#"},
["starts-with", "$Content-Type", ""],
["starts-with", "$filename", ""],
["content-length-range", 0, 524288000]
]
};
// Upload method and parameters
Upload.upload({
url: 'https://my-bucket-name.s3.amazonaws.com/',
method: 'POST',
fields: {
key: file.name,
AWSAccessKeyId: 'MY-ACCESS-KEY,
acl: 'public-read',
success_action_redirect: "#",
policy: myPolicy, // Base64 encoded
signature: mySignature,
"Content-Type": file.type != '' ? file.type : 'application/octet-stream',
filename: file.name
},
file: file
})
// Cors

*
GET
POST
HEAD
3000
*

// Bucket Policy
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "UploadFile",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::MY-ID:user/MY-USERNAME"
},
"Action": [
"s3:GetObject",
"s3:PutObject"
],
"Resource": "arn:aws:s3:::my-bucket-name/"
},
{
"Sid": "crossdomainAccess",
"Effect": "Allow",
"Principal": "",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::my-bucket-name/crossdomain.xml"
}
]
}

Hi, I am also experiencing this bug with version 5.0.9:
This is the code for file upload:
Upload.upload({                             url: Data.url,                             method: 'PUT',                             file: file                         })
This are the header data:
`General
Request URL:https://myCompany.s3-us-west-2.amazonaws.com/temp/151d18f0-8b8b-4284-b652-ea077a06826d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAJGLDC2AQI62C3TDQ%2F20160621%2Fus-west-2%2Fs3%2Faws4_request&X-Amz-Date=20160621T094934Z&X-Amz-Expires=600&X-Amz-SignedHeaders=host&X-Amz-Signature=eebca0f99a728c5476ceb46dae6e1e9be67e7546e957f8fbcc68e5f8a1e5f6b7
Request Method:PUT
Status Code:200 OK
Remote Address:<IP_ADDRESS>:443
Response Headers
Access-Control-Allow-Methods:HEAD, GET, PUT, POST, DELETE
Access-Control-Allow-Origin:*
Access-Control-Expose-Headers:ETag
Content-Length:0
Date:Tue, 21 Jun 2016 09:50:37 GMT
ETag:"44f374d3bc53abde78f35bffcbe06e70"
Server:AmazonS3
Vary:Origin, Access-Control-Request-Headers, Access-Control-Request-Method
x-amz-id-2:Zz8WDtFt96vtGsOMax+ukRJnogPs3l8i484VyDd4iNSctoxYp6P3kr9sofrSWkJZl7eAT+6MiQA=
x-amz-request-id:93193D44A1F60F72
Request Headers
Accept:application/json, text/plain, /
Accept-Encoding:gzip, deflate, sdch, br
Accept-Language:en-US,en;q=0.8,zh-CN;q=0.6,zh;q=0.4
Cache-Control:no-cache
Connection:keep-alive
Content-Length:8884
Content-Type:multipart/form-data; boundary=----WebKitFormBoundaryA7HBjIAYmweCTWBh
Host:myCompany.s3-us-west-2.amazonaws.com
Origin:http://localhost:8080
Pragma:no-cache
Referer:http://localhost:8080/app/dashboard/policies
User-Agent:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36
Query String Parameters
X-Amz-Algorithm:AWS4-HMAC-SHA256
X-Amz-Credential:AKIAJGLDC2AQI62C3TDQ/20160621/us-west-2/s3/aws4_request
X-Amz-Date:20160621T094934Z
X-Amz-Expires:100
X-Amz-SignedHeaders:host
X-Amz-Signature:eebca0f99a728c5476ceb46dae6e1e9be67e7546e957f8fbcc68e5f8a1e5f6b7
Request Payload
------WebKitFormBoundaryA7HBjIAYmweCTWBh
Content-Disposition: form-data; name="file"; filename="data.pdf"
Content-Type: application/pdf`

ng-file-upload uses multipart file upload, and it won't work with API that uses streaming.
If you are targeting HTML5 clients, you can just use XMLHttpRequest.send() to stream files to your file upload API. Here is what I did.
            var xhr = new XMLHttpRequest();
            xhr.open("POST", "https://my.api/fileupload/?filename=hello.txt");
            //xhr.setRequestHeader("Authorization", "Bearer "+jwt);
            xhr.upload.addEventListener("progress", function(evt) {
                console.log(evt.loaded / evt.total);
            }, false);
            xhr.addEventListener("load", function(evt) {
                console.log("done");
            }, false);
            xhr.send(file);


Updated README.md

README.md was missing a "cd ..." command.  Added other updates to make it MD compliant.
Me and my co-workers want to use your repo.  I have forked your repo to get changes in quickly.
Please accept the changes.  I will be adding more.  I see some of the changes that I will be making are already pull requests.
BruceRayWilson

@BruceRayWilson Thanks for your contribution!
I left a commend and Tanh, Range, Pow has already implemented in #21 .
To avoid conflicting, could you remove these parts in this PR?


logical or to conditional logical or

Nothing fancy, just changed a logical or to conditional logical or (as the rest of the statement is).

Thanks, good catch!


Spring tutorial not working

minikube version: v1.23.0
K8s version:  v1.22.1

MacOS Darwin 20.6.0 Darwin Kernel Version 20.6.0 RELEASE_X86_64 x86_64

The spring tutorial fails at the moment most likely due to the latest k8s version.
Running the command werf converge --repo <Docker Hub username>/werf-guide-app  causes an error.
Error: helm upgrade have failed: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Ingress" in version "networking.k8s.io/v1beta1"

According to this issue, the source of the issue seems to be the Ingress version specified in ingress.yaml file.
I changed the definition to this:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.class: nginx
  name: werf-guide-app
spec:
  rules:
  - host: werf-guide-app
    http:
      paths:
      - path: /
        backend:
          serviceName: werf-guide-app
          servicePort: 8000

However, the issue still persists with the error:
Error: helm upgrade have failed: unable to build kubernetes objects from release manifest: error validating
"": error validating data: [ValidationError(Ingress.spec.rules[0].http.paths[0].backend): unknown field "ser
viceName" in io.k8s.api.networking.v1.IngressBackend, ValidationError(Ingress.spec.rules[0].http.paths[0].ba
ckend): unknown field "servicePort" in io.k8s.api.networking.v1.IngressBackend, ValidationError(Ingress.spec
.rules[0].http.paths[0]): missing required field "pathType" in io.k8s.api.networking.v1.HTTPIngressPath]

I believe the source of the error is coming from deployment.yaml but i am not an expert so wanted to create a new issue here

To work with K8s v1.22+ Ingress resource should be:
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    kubernetes.io/ingress.class: nginx
  name: werf-guide-app
spec:
  rules:
  - host: werf-guide-app
    http:
      paths:
      - path: /
        pathType: Prefix
        backend:
          service:
            name: werf-guide-app
            port:
              number: 8000


Merge prTesting_201903131029 branch to master branch

OPS Build status updates of commit 4b7392b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestCon.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


fix root directory for installation in readme

The entire README file has references to reactjs.org in general. It would make sense to have all the changes, not one, reference to the updated name. However since the upstream repo to gujarati translation is reactjs.org, we might have conflicts if the main repo has any updates in README file. So let's just keep it the way it is for now.


Implement plan::validator_definition in wallet-next

I noticed that this module isn't being imported anywhere so we've probably got some compile-time errors in it still, but we can fix those later.
Closes #884

This has a dependency on #881 and will need to be changed to use the note positions properly after #881 is merged


Empty string in command.Option description

Summary
When you register a command with "" as description in command.Option parameters, the bot start, freeze and don't send any error
Reproduction Steps
Create a command with a commands.Option with a an empty string as description
Minimal Reproducible Code
@bot.command()
async def test(ctx, test: str = commands.Option(description="")):
    await ctx.send(f"test : {test}")

Expected Results
Raise an error
Actual Results
Freeze the bot
Intents
default
System Information

Python v3.9.6-final
discord.py v2.0.0-alpha

discord.py pkg_resources: v2.0.0a3661+g96153bb1

aiohttp v3.7.4.post0
system info: Windows 10 10.0.19043

Checklist

[X] I have searched the open issues for duplicates.
[X] I have shown the entire traceback, if possible.
[X] I have removed my token from display, if visible.

Additional Context
No response

I understand why this is an error, but not why it causes a hang without error. This should give an httpexception on startup.


[OpenVDB] update to v6.0

as per title, this PR updates OpenVDB to v6.0 and adds compatibility with latest OpenEXR release. During the update, I took the chance to remove hardcoded paths in the portfile, using cmake modules included inside the port itself. I think that a future update recycling vcpkg cmake modules will be even better.

will this make it before 7.0 is released?

I have many opened PR now here on vcpkg. I gave my full availability to fix problems if necessary. It is becoming a little bit frustrating to not see any progress...

I REALLY appreciate your update.  Hopefully "someone with write access" will merge it.  That was the target of my previous comment.  I wonder who we can light on fire to get any attention like the stuff that seems to get updates every other day.

closed in favor of #5417


add in pre-commit hook

adding in pre-commit hooks for ruff and vulture

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#219  👈
#218
#217
#216
#215
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @chrisaddy and the rest of your teammates on  Graphite


Generate entities from JDL fails with "formatAsApiDescription is not defined"

Describe the bug
JHipster-quarkus fails to generate an entity from JDL.
This is a greenfields implementation of jhipster-quarkus 3.2 on jhipster 8.5 and is the first entity to be generated.
The error is:
formatAsApiDescription is not defined

To Reproduce
Steps to reproduce the behaviour:
First: create the default application

Create new empty Ubuntu Jammy VM
Install nodejs and OpenJDK
Install jhipster 8.5 and jhipster-quarkus
Generate a new application and run it as generated:

sudo npm install -g<EMAIL_ADDRESS>sudo npm install -g generator-jhipster-quarkus
jhipster --blueprints quarkus

Start the application with ./mvnw and npm start
Run the end-to-end test npm run e2e
Stop the application and create a new entity from JDL in a file called database/refdata.jdl as follows:

/**
 * The gender identification of a person, such as male, female, other.
 */
entity Gender {
    code String required unique
    description String
}

Generate the entity:

npx jhipster --blueprints quarkus jdl database/refdata.jdl

The generation fails with:

ERROR! Unhandled promise rejection at:
FATAL! ReferenceError: /usr/lib/node_modules/generator-jhipster-quarkus/generators/quarkus/templates/src/main/java/_package_/_entityPackage_/domain/_persistClass_.java.ejs:146
    144| <%- entityJavadoc %>
    145| <%_ if (!dtoMapstruct) { _%>
 >> 146| @ApiModel(description = "<%- formatAsApiDescription(javadoc) %>")
    147| <%_ }_%>
    148| <%_ } _%>
    149| <%_ if (databaseType === 'sql') { _%>

formatAsApiDescription is not defined

Expected behavior
The JHipster run should generate a new data entity called gender
Screenshots
Not applicable
Desktop (please complete the following information):

Ubuntu 22.04 Jammy
nodejs: v18.20.4
npm: 10.7.0
jhipster: 8.5
jhipster-quarkus: 3.2
java: openjdk version "21.0.3" 2024-04-16 LTS

Smartphone (please complete the following information):
Not applicable
Additional context
This is a greenfields implementation and the application was generated from scratch.

Further investigation shows that two generators used by this version of jhipster-quarkus are missing from jhipster 8.5:

generators/generator-base-private.js:  formatAsApiDescription(text)
generators/generator-base-private.js:  formatAsFieldJavadoc(text)

They are both in the earlier version jhipster 7.9.4

@mshima @DanielFran Thank you colleagues for the prompt and successful assistance!


Pasting from clipboard

Make terminal paste things from clipboard (that you copied outside of the program) be able to paste inside the program with CTRL+V, or the paste function.
Currently, things copied to clipboard can be pasted inside the program with CTRL+SHIFT+V which is how you typically paste in a terminal. However, the format may sometimes be incorrect. Also, it is not possible to copy something from the program to the clipboard and paste it outside of the program.

ctrl + v should work (or, err, it works on Ubuntu and OSX for me).
Is it not working on a particular platform/terminal?

I'm using the default terminal in Ubuntu 16.04

Suggestions to track it down:
Try running with --log to see what key value is sent for ctrl+v (to see if we're getting the key).
Look in (add logging printout) in third_party/pyperclip/*.py to see if copy/paste handlers are being set up. (especially in third_party/pyperclip/__init__.py)
If you are able to workout what the issue is, it would be great to find out how to address it for other users (like maybe we can tell them they're missing xclip or kipper or similar and suggest something to fix it).

So the issue with my terminal is that when it sees CTRL_SHIFT_V, whatever is actually on my clipboard in the OS will be entered as a character. So for example, if I have the word hi there copied on my clipboard, when I enter the program and use CTRL_SHIFT_V, curses.getch() will get 'h', then 'i', then 't' etc until everything has been handled (at least I think this is the case from testing). This makes it difficult to handle because I think it's being handled by the terminal.
Oddly enough, CTRL_SHIFT_C doesn't seem to count as a character and doesn't do anything. It doesn't  even show a character code when I tried catching it.
Not really sure about a solution for this..

How about ctrl+v, will that paste the text as a unit? It should. That's the intended way to paste without the formatting getting misunderstood.
The ctrl+shift+v is working as expected, though I have considered improving it. There's no 'great' way to handle that. The hackey ways I've thought of involve timing the input and reasoning that at 120+ words-per-minute is a paste and not someone typing. But that's not foolproof on a remote connection.

Yeah CTRL + V works properly. It's just that you can't copy anything from outside the program and paste it inside the program since you're not directly accessing the OS's clipboard from the program.
There is a bug with the CTRL_SHIFT_V though. If you have a block of text like this:
test:
test

and copy those two lines and paste it into terminal with CTRL_SHIFT_V, the second line will be auto indented, whereas if you typed and copied the same line in ci_edit and paste it with CTRL_V, it won't be indented.

Is this a remove connection (like ssh)? pyperclip should try to connect to the OS clipboard (or pasteboard), but on a remote connection, that may not be accessible.
Yes on the CTRL_SHIFT_V, that's the problem I was alluding to (your example is much clearer that my explanation, thanks).

No, its not a remote connection. Ubuntu is my host OS. Ill have to try on other systems and OS later and see if it persists.

This also looks like it might be useful:
http://www.xfree86.org/current/ctlseqs.html#Bracketed Paste Mode
Apparently Bracketed Paste Mode is something to help detect a paste into the terminal.

Ohh thats cool.
Maybe we can use the subprocess module and call some commands to enable it and turn it off when we exit the program.
Here is what I found so far from a source https://cirw.in/blog/bracketed-paste :+1:

Enable bracketed paste: printf "\e[?2004h"
Wait for paste to start: you'll see \e[200~ on STDIN.
Wait for paste to stop: you'll see \e[201~ on STDIN.
Disable bracketed paste: printf "\e[?2004l"

I tested this on my terminal (default gnome-terminal 3.18.3 in ubuntu 16.04), and when I paste, the clipboard text is surrounded by 0~pastedText1~ . Not sure why this is happening, but maybe we'll just have to check these two and see if that works for most cases? Need testing done by more people on different OS and terminals though in order to gather more data.

fyi, I've started working on this.

I put up a rough implementation. Does it work for you?

Yeah, it's great! Works in and out of the program properly :+1:


Use ReactiveUI 10.2.2

What does the pull request do?

This is a yet another attempt to upgrade ReactiveUI. We were delaying due to System.Reactive preview versions containing bugs which reproduce only on MacOS causing Avalonia CI checks to fail. Another delay reason is that ReactiveUI 10.3.1 contains a bug causing RxApp.SuspensionHost to not get initialized. The purpose of this PR is to try ReactiveUI 10.2.2 which neither seems to rely on preview versions of System.Reactive nor contains an issue with RxApp.SuspensionHost.
What is the current behavior?

Currently, Avalonia.ReactiveUI depends on ReactiveUI 9.
What is the updated/expected behavior with this PR?

ReactiveUI 9 should be upgraded to ReactiveUI 10, only in case if the version is stable enough.
This is an early draft and I'll report back when it gets ready.
Please do not merge.

Intermediate results. The CI checks successfully passed two times with the following setup:

ReactiveUI - 9.0.1
System.Reactive - 4.1.6
System.Threading.Tasks.Extensions - 4.5.3
System.Runtime.CompilerServices.Unsafe - 4.6.0

From here we can assume that we succeeded in System.Reactive upgrade from 4.0.0 to 4.1.6. However, after I change ReactiveUI version from 9.0.1 to 10.2.2, the following test refuses to pass:
https://github.com/AvaloniaUI/Avalonia/blob/3dd5e3a4c28d532494f38fe3d1d95f8cadbe7a86/tests/Avalonia.Markup.UnitTests/Parsers/ExpressionObserverBuilderTests_AttachedProperty.cs#L110-L113
This happens only on MacOS and only when running with --framework net47, on .NET Core it passes.

Well, changed GC.Collect() in the Should_Not_Keep_Source_Alive test over to:
GC.Collect();
GC.WaitForPendingFinalizers();
GC.Collect();

And it fixed the issue. Probably the newer ReactiveUI version static constructor are spawning more objects, so the expressions aren't get collected instantly after the first GC iteration etc.


Assertions aren't throwing when they should

When I do the following, no errors are thrown:
require('should');
require('should-sinon');
var sinon = require('sinon');

var spy = sinon.spy();
spy.should.be.called;
spy.should.be.calledOnce;
spy.should.be.calledTwice;
spy.should.be.calledWith(1);
spy.should.be.calledWithExactly(100);
spy.should.be.alwaysCalledWith(500);

Hello. I just did update for latest should.js version. Try now pls.

Yes it is working now. Thanks!
However, the following:
spy.should.be.called;
spy.should.be.calledOnce;
spy.should.be.calledTwice;
// etc.

only work when written as:
spy.should.be.called();
spy.should.be.calledOnce();
spy.should.be.calledTwice();

I guess that just requires a documentation update.

Yep, correct in 7.x.x getters was dropped will update docs.

Updated


add awesome logo

https://github.com/mobtimeapp/awesome-mobbing/pull/2#issuecomment-1288216632

Not sure what to do here. How about we do it together one evening ?

If you want to have the link with an image to the awesome list : merge ; if you don't want : close =)

hahaha, too long since I did pull requests, I did not event see the change. Thanks !


Bloated DiscordBot class

The class is filled with methods and interface methods. These need to be split up in a neat and organized manner.

Since it's just me working on this at the moment, I decided to redo the entire discord part of the program. My previous implementation was made quickly and without care and I felt it was due for a rework.

The remake of the discord section will require many changes to the main section as well due to tight coupling.


Issue ignoring node_modules using tape binary

Node version: 6.10.3 (I am writing an AWS Lambda function)
OS: Mac OS X 10.13.3
The behaviour I desire is for tape to run through my project directory recursively and find all files with the suffix .spec.js and process these files.
tape *.spec.js: Selects files in the project root only.
tape **/*.spec.js: Selects files in subfolders only (not in the project root).
tape {**/*,*}.spec.js is the command I am using. (Is there a better glob pattern to use?)
Unfortunately the latter 2 of these commands also searches through node_modules too. In the case of the project I am working on, there is a module using this same convention *.spec.js and it attempts to run this too, only to find an undefined describe keyword (because this module obvs uses a diff test framework).
I'd like to submit a PR to tape to use glob's "ignore" option to optionally ignore the node_modules directory. Alternatively, is there another way around this I am not seeing?
Thanks!

Instead, put the path in quotes - that way your shell won't preemptively interpret the **.

Thanks! I ended up solving this issue with a combination of quotes as you suggested and my original solution but negating the node_modules dir:
tape '{,!(node_modules)/**/}*.spec.js' | tap-spec

Are your node_modules gitignored?

Yep!

Hm, I’d expect tape to respect gitignore; you shouldn’t need to explicitly exclude node_modules. Are you sure that with the path in quotes, that’s needed?

Yeah this is the case on Node 8.9.4 and 6.10.3, both on OS X.
Output of "test": "tape '**/*.spec.js'":
/path/to/project/node_modules/fast-deep-equal/spec/index.spec.js:8
describe('equal', function() {
^
ReferenceError: describe is not defined
    at Object.<anonymous> (/path/to/project/node_modules/fast-deep-equal/spec/index.spec.js:8:1)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at /path/to/project/node_modules/tape/bin/tape:38:9
    at Array.forEach (native)

ah, i see, you're colocating tests - that's an uncommon and recent enough practice that we probably haven't gotten issues about it before.
If you want to file a new issue for it, I think it'd be a good change to make it respect gitignore by default.

Ok thanks, I'll do that now


Rerhardened mgmt_core_wrapper to reduce antenna violators.

Rehardened mgmt_core_wrapper to reduce Antenna violations.
Current Antenna violations are 86. Threshold is 400.

60 violations have ratios between 400 and 500
23 violations have ratios between 500 and 600
1 violation has ratio of 723
1 violation has a ratio of 937
1 violation has a ratio of 1035

I attached the pull request to the project. Not sure if there is an associated issue in the issue tracker.


Feature/algorithms

Codecov Report

:exclamation: No coverage uploaded for pull request base (dev@8dd5aa5). Click here to learn what that means.
 Consider uploading reports for the commit 16a357d to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@          Coverage Diff           @@
##             dev      #36   +/-   ##
======================================
  Coverage       ?   95.76%
======================================
  Files          ?       27
  Lines          ?      803
  Branches       ?      132
======================================
  Hits           ?      769
  Misses         ?       34
  Partials       ?        0

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Need help debugging crash when clicking button

Which version of PhantomJS are you using? Tip: run phantomjs --version.

2.1.1

What steps will reproduce the problem?

Run my specs
PhantomJS crashes

Which operating system are you using?

OS X 10.11.6

Did you use binary PhantomJS or did you compile it from source?

Binary from Brew

Please provide any additional information below.

When running in debug mode I get the following output:
2016-11-15T13:30:26 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function() { return PoltergeistAgent.stringify((function (name, args) {\n      return __poltergeist.externalCall(name, args);\n    }).apply(this, PoltergeistAgent.JSON.parse(\"[\\\"nodeCall\\\",[9,\\\"position\\\",[]]]\"))) })(); })()"
2016-11-15T13:30:26 [DEBUG] WebPage - evaluateJavaScript result QVariant(QString, "{\"value\":{\"top\":529,\"right\":227,\"left\":116,\"bottom\":561,\"width\":111,\"height\":32}}")
2016-11-15T13:30:26 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function () {\n      return typeof __poltergeist;\n    })(); })()"
2016-11-15T13:30:26 [DEBUG] WebPage - evaluateJavaScript result QVariant(QString, "object")
2016-11-15T13:30:26 [DEBUG] WebPage - evaluateJavaScript "(function() { return (function() { return PoltergeistAgent.stringify((function (name, args) {\n      return __poltergeist.externalCall(name, args);\n    }).apply(this, PoltergeistAgent.JSON.parse(\"[\\\"nodeCall\\\",[9,\\\"mouseEventTest\\\",[171.5,545]]]\")))
 })(); })()"
2016-11-15T13:30:26 [DEBUG] WebPage - evaluateJavaScript result QVariant(QString, "{\"value\":{\"status\":\"success\"}}")
2016-11-15T13:30:26 [DEBUG] Mouse Event: "mousemove" ( QEvent::Type(MouseMove) ) QPoint(172,545) ) 0 0
2016-11-15T13:30:26 [DEBUG] Mouse Event: "mousedown" ( QEvent::Type(MouseButtonPress) ) QPoint(172,545) ) 1 1
2016-11-15T13:30:26 [DEBUG] Mouse Event: "mouseup" ( QEvent::Type(MouseButtonRelease) ) QPoint(172,545) ) 1 1
%c prev state color: #9E9E9E; font-weight: bold [object Object]
%c action color: #03A9F4; font-weight: bold [object Object]
%c next state color: #4CAF50; font-weight: bold [object Object]
%c prev state color: #9E9E9E; font-weight: bold [object Object]
%c action color: #03A9F4; font-weight: bold [object Object]
%c next state color: #4CAF50; font-weight: bold [object Object]
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.

I know there isn't enough to go here, but how can I debug this further? I don't get a crash dump file as per the crash reporting page. Is there a more verbose debug mode?

The minimal reproduce example would be helpful.


txt support?

txt support?

Currently we do not support txt files, because it rely on html files and css.
What kind of txt files you need exactly? Some kind of markdown?


add tolerations, affinity and nodeSelector to stackdriver-exporter

What this PR does / why we need it:
Fixes #11853.
Add support for tolerations, affinity and nodeSelect to stackdriver-exporter chart v0.0.6
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #11853

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x ] DCO signed
[x ] Chart Version bumped
[ x] Variables are documented in the README.md

Hi,
Could I get a review?
Thanks

/ok-to-test

/lgtm

thank you


fixing virtual plugins

https://github.com/bookshelf/virtuals-plugin
Now required to load virtual plugins as a different package.

I see that another pull request has been made for the same issue. closing this one


error when trying to dump the model into tmp file

Hi, thanks for this beautiful project. I am trying to run this code but have an issue: no such file or directory "/tmp\tmp20_08sb3crf_temp" when executing crf.py, line 176, in predict:
os_handle,tmp_file = tempfile.mkstemp(dir='/tmp', suffix="crf_temp")
thanks for your help

I notice that the mkstemp makes the path "/tmp\tmp20_08sb3crf_temp" with a \ path delimiter, which means I hadn't wrote that with windows in mind.
I just made a change to the code to use data/tmp (or data\tmp for windows) instead of assuming the system has a /tmp directory. It should work now. Let me know if there are any path issues from running it now (it's possible I added one too many dirname calls somewhere, though I think I got them right).
If that filepath issue resolves, let me know and I'll close this thread :)

thanks for your quick reponse, there is just a syntax error line 436 of model.py:
parameters['conll_like_result_folder']=eval_dir)
but once the ")" deleted i have a new issue line 181 of crf.py:
f.write(clf)  -> a bit like object is required, not str
i tried to change the wb to w and w+ but new error of encoding....
any idea?

I think I have the fix :) Can I create a PR @wboag ?

It does thanks but the ")" is still there line 436 ;)

Am unfortunately still experiencing the issue after removing the ")" in model.py, with error "UnicodeDecodeError: 'ascii' codec can't decode byte 0x85 in position 5: ordinal not in range(128)" from line 181 in crf.py


Info log got an error in listen.js module

In the listen.js module, the log message "Got answer in" line 71 generates a NaN error because the time difference calculation is not surrounded by a parenthesis.
It should be :
log.info("listen", "Got answer in " + (now - tmpPrev));
Thanks :)

It has been fixed

@hraph use Bleeding edge version (github)
npm uninstall facebook-chat-api
npm install https://github.com/Schmavery/facebook-chat-api

@hraph thanks for letting us know, I will publish to npm as soon as we get a little bit of stability on master


RPM on downloads page

Is your feature request related to a problem? Please describe.
Downloads page for version 1.3.2 (and forward) will need to support RPM for:

OpenSearch (bundle)
OpenSearch Dashboard (bundle)
OpenSearch-min
OpenSearch Dashboard-min

Describe the solution you'd like
For platform Linux
Add additional package type RPM and yum
This will result in the "Package" dropdown adding:

x64 / RPM
x64 / yum
arm64 / RPM
arm64 / yum

Each of these will have a downloadable artifact link via the "Download" button as well as a link the the documentation page and signature files.
Note: Whilst the artifact itself may not be distinct on different architectures, the download page is explicit about architecture support to give a positive indication of support and non-support (e.g. by providing an option for x64 and arm64 but not x86, we're being clear what is supported and what is not).
Describe alternatives you've considered
None yet.
Additional context
opensearch-project/opensearch-build#1550

Dependent on #776


HTTP headers in requests

Codecov Report

Merging #948 (b8cff71) into main (4934fef) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #948   +/-   ##
=======================================
  Coverage   84.36%   84.36%
=======================================
  Files         388      388
  Lines       40970    40970
=======================================
  Hits        34563    34563
  Misses       6407     6407

Continue to review full report at Codecov.

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


add parallel mode to cache warmer

1. Why is this change necessary?
The cache warmer calls each seo URL to warm up the cache. Calling one URL at a time is really slow on a big shopware installation (> 10k products, > 40k variants, 3 sub shops). Firing more than on request in parallel will speed things up.
2. What does this change do, exactly?
This change adds two options to the console command "sw:warm:http:cache".

-p let you use the parallel mode
-b let you change the batch size

Current behavior will not be touched. So no breaking changes.
I'd not include this option to the backend GUI. It should be available for pro's only, since one can easily block the whole webserver with a high batch size.
3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
5. Which documentation changes (if any) need to be made because of this PR?
I didn't find any page description the options for this command. Maybe a hint at https://developers.shopware.com/sysadmins-guide/shopware-5-performance-for-sysadmins/#shopware-http-cache would be usefull.
6. Checklist

[ ] I have written tests and verified that they fail without my change
[x] I have squashed any insignificant commits
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfil them.

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/SW-21577
Please use this issue to track the state of your pull request.

Hi @buddhaCode! Your PR got merged (https://github.com/shopware/shopware/commit/98f169561b26523925d56dc20c5b53310e6e4350) and will be part of the Shopware release 5.5.0! 🎉
Thank you for your help! 💙


[VS Code] Cannot read property 'getCollaboratorCount' of null

LiveShareLogs.zip

Error:
Cannot read property 'getCollaboratorCount' of null
Steps to Reproduce:

Version Data

extensionName
VSLS

extensionVersion
0.3.1256

protocolVersion
2.2

applicationName
VSCode

applicationVersion
1.31.1

platformName
MacOS

platformVersion
18.2.0

Hi thank you for reporting this. @legomushroom can you take a look ?

This issue has been closed due lack of any recent activity. We've made lots of improvements to Live Share since this issue. Please re-open the issue, if this problem persists.
🤖Live-Share-Clean-Up-Bot🤖


Created interactive_language_translator.py

Interactive Language Translator
Overview
This pull request introduces an interactive command-line translator tool that leverages the Google Translate API via the googletrans library. The application provides users with an easy-to-navigate interface for translating text between various languages. Users can display available languages, input text for translation, and select the target language by its corresponding code. The functionality is encapsulated within three primary functions: display_languages, translate_text, and main.
Function Details
display_languages
This function prints a list of available languages supported by the Google Translate API. It iterates through the LANGUAGES dictionary, outputting each language's code and corresponding name, allowing users to choose the desired target language for translation.
translate_text
This function handles the translation of a given text into a specified target language. It takes two parameters: the input text and the target language code. Using the Translator class from the googletrans library, it performs the translation and returns the translated text as a string.
main
The main function serves as the entry point of the application. It displays a welcome message and presents a menu with three options: displaying available languages, translating text, or exiting the application. Based on user input, it calls the appropriate functions. If the user opts to translate text, it gathers input for the text and desired target language, validates the language code, and displays the translated result. The loop continues until the user chooses to exit.
Demo

Btw it shows all languages, I avoided taking all screenshots cuz its just the language code with language. I took screenshots of only important parts that demonstrate the working of code.


User Group Policies for Authorization Services

This PR adds new functions to Create, Update and Delete User and Group Policies in the authorization services

Indeed, they are not in the official API reference doc.
I found them here: https://www.puppeteers.net/blog/keycloak-authorization-services-rest-api-paths-and-payload/
As said by the authro of the article:

This article shows how to manipulate authorization data for a Keycloak client using the Keycloak Admin REST API. This use-case is particularly "lightly documented", meaning that there used to be zero documentation about this topic. Unless, of course, you count use of tcpdump and browser developer tools as documentation.

Thanks, I'll merge this change now.
I usually try not to release to NuGet after every merged PR, and instead try to bundle a few changes together. Are you intending to open any additional PRs after this one, or should I prepare a release?

@sps-campbellwray can you please release package with thouse changes?

@Fildrance yes, I will do so now.


https://bestpractices.coreinfrastructure.org/en/projects/212 has a bad URL

Hey folks,
The page at https://bestpractices.coreinfrastructure.org/en/projects/212 lists the repo URL as
https://github.com/vmware/phon

where it should be
https://github.com/vmware/photon

So, s/hon$/hoton/ .
Simple fix, but I thought I'd get it logged.

I verified this. This page: https://vmware.github.io/photon/ clearly links back to https://github.com/vmware/photon/issues .
We normally let people fix their own pages, but this is such an obvious unintentional mistake that I'll just fix it to help them out.

Okay, I fixed their page. I'm also going to notify the owner; this should be an improvement, but I want to make sure I haven't messed up anything.


Where to ask questions

Hi can you tell me where to ask question or leave comments etc. ? can I just ask here ?
Btw. my question is regarding "SpriteFont"  can you please tell me how many instances of SpriteFont I can create ? Should I use one SpriteFont to render as many text sprites possible or can I create multiple SpriteFont instances ?

For general Q&A, you can still use the old CodePlex discussion threads. I'm likely to stop updating the CodePlex projects in favor of the GitHub versions in 2016, but they do still exist and I still monitor them.
You generally create one SpriteBatch per Direct3D 11 device context. You have one SpriteFont for each font style and point-size you want to render with. You can use multiple SpriteFont instances with the same SpriteBatch. You can also use the same SpriteFont instance with different SpriteBatch instances if desired.
See [[SpriteBatch]], SpriteFont, and the drawing text tutorial lesson.


What is the right way to handle user session?

We run an experiment before the user log in and after they log in. We initialize the client like so:
val config = ExperimentConfig.builder()
      .build()
val experiment = Experiment.initializeWithAmplitudeAnalytics(app, $API_KEY  config,)
val user = ExperimentUser.builder()
      .userId(userAuth0Id)
      .deviceId(deviceIdFromAnalytics)
      .build()
experiment?.start(user)?.get()

Before the user logs in, userAuth0Id is null and calling experiment?.variant(variantKey) returns the expected variant.
After logging in, we call the code above with a valid userAuth0Id. But the now logged-in user doesn't get the expected variant of the experiment that is assigned to their userId, the properties in the object returned in experiment?.variant(variantKey) are just null. I have tried calling experiment?.clear() after login but that doesn't fix it.
However, if you restart the app, they get the right values.
What is the right way to handle this?
I am using v1.11.0

Hi @wilburx9, many thanks for reaching out. In your implementation, after the user logs in, do you re-initialize the client as well, or just call experiment?.variant(variantKey) again? If it's the latter, you should use setUser() on the new user object (with valid userAuth0Id) before calling variant(). Let us know if this helps with your issue.

After the user logs in, I call:
val config = ExperimentConfig.builder()
      .build()
val experiment = Experiment.initializeWithAmplitudeAnalytics(app, $API_KEY  config,)
val user = ExperimentUser.builder()
      .userId(userAuth0Id)
      .deviceId(deviceIdFromAnalytics)
      .build()
experiment?.start(user)?.get()

And userAuth0Id is a valid non-null and non-empty string at this point.

This issue has been addressed in v1.11.1.


what's the ES3? Maybe can modified to ES5?

What happened
remark
How to reproduce
remark

Sorry, I don't follow your issue.
ES3 refers to the JavaScript version supported by browsers since 1999 https://en.wikipedia.org/wiki/ECMAScript#Versions


Fields First Name and Last Name do not accept length > 55

Description: According to requirements the "First Name" and "Last Name" fields are expected to accept string lengths ranging from 2 to 128 characters. However, attempts to update these fields with strings of length greater than 55 characters result in an internal server error, indicating a discrepancy between the implementation and the specified requirements.
Precondition: User is registered and authenticated.
Steps to Reproduce:

Send an HTTP PUT request to the user update endpoint at http://<IP_ADDRESS>:8083/api/v1/users.
In the request body, in "First Name" or "Last Name" input a string of 56, 64 characters, or 128 characters, using only Latin letters.
Observe the response.

Expected Result:  The fields "Last Name" and "First Name" accept lengths of 56,  64, or 128 characters.
The user profile is successfully updated with the new values.
HTTP status code 200 is returned, along with a response body containing the updated user information.
Actual Result: The app rejects the request to update "Last Name" and "First Name" fields with lengths greater than 55 characters.
The API response is { "message": "Internal server error" }.
HTTP status code returned is 500, indicating a server error.

fixed


Trainer stuck in infinite validation loop

Bug description
I am training a model with ---min_epochs flag and an early stopping callback.
After the early stopping is triggered but the trainer should continue due to the min_epochs flag. The trainer is stuck only performing validation run infinitely (not even increase in epoch count)
What version are you seeing the problem on?
v1.9
How to reproduce the bug
No response
Error messages and logs
# Error messages and logs here please

Environment

Current environment
#- Lightning Component (e.g. Trainer, LightningModule, LightningApp, LightningWork, LightningFlow):
#- PyTorch Lightning Version (e.g., 1.5.0):
#- Lightning App Version (e.g., 0.5.2):
#- PyTorch Version (e.g., 2.0):
#- Python version (e.g., 3.9):
#- OS (e.g., Linux):
#- CUDA/cuDNN version:
#- GPU models and configuration:
#- How you installed Lightning(`conda`, `pip`, source):
#- Running environment of LightningApp (e.g. local, cloud):

More info
No response
cc @carmocca @awaelchli

I've also noticed this. Additionally if you check the 'epoch' key in the the 'last' checkpoint, it seems to have reset to '0'. Something is very wrong somewhere when early stopping gets triggered before min_epochs. See also #18063

Btw, i think this is a duplicate of #15708, which got fixed by #16719

Thanks for the response @thesofakillers. I will test and close the issue.

@jaswanthbjk Were you able to check if the fixes in 1.9.5 work for you?


Fix possible NULL pointer de-references

In case API is used without proper initialization
NULL pointer are de-referenced.
CLA: trivial

Checklist

Will committers be a bit more careful with this please.

24 hours has passed since 'approval: done' was set, but as this PR has been updated in that time the label 'approval: ready to merge' is not being automatically set.  Please review the updates and set the label manually.

This PR has the label 'hold: cla required' and is stale: it has not been updated in 30 days. Note that this PR may be automatically closed in the future if no CLA is provided.  For CLA help see https://www.openssl.org/policies/cla.html

This PR has the label 'hold: cla required' and is stale: it has not been updated in 61 days. Note that this PR may be automatically closed in the future if no CLA is provided.  For CLA help see https://www.openssl.org/policies/cla.html

This PR has the label 'hold: cla required' and is stale: it has not been updated in 30 days. Note that this PR may be automatically closed in the future if no CLA is provided.  For CLA help see https://www.openssl.org/policies/cla.html

This PR has the label 'hold: cla required' and is stale: it has not been updated in 61 days. Note that this PR may be automatically closed in the future if no CLA is provided.  For CLA help see https://www.openssl.org/policies/cla.html

This PR has been closed.  It was waiting for a CLA for 90 days.


Inference

Could you provide an sample code or procedures for inference?

Hello @TNA8, we added a new inference script, please try it and let us know if anything goes wrong!

Could you tell me why I don't have to train the model on my own dataset with only 1 class?
I already started training, is the model from that training not useful?
In that case, I should use the pretrained model on PASCAL?

We created a model that learns from unlabeled images and generalizes to few-shot segmentation problem on arbitrary classes. Therefore it is very much likely that our pretrained model can generalize to your class as well. That is why you might be able to directly use a pretrained model and do not have to train the model yourself.
However, it is also very likely that, your class is not something our pretrained model is capable of predicting under few-shot segmentation setting. This depends on the training set and the nature of your class. So, I would not say that the model from your training is not useful. It is just that you might wanna try pretrained models as well to see which performs better.


Cherry-pick MM-47414 to v.75

Cherry pick of https://github.com/mattermost/mattermost-webapp/pull/11396

@amyblais @Afsoon

/release-note-none


Could you please provide Dynamic Calibration Print Target for A4 Size Paper?

Hi,
The current one given at the following URL belongs to US Letter size paper:
https://dev.intelrealsense.com/docs/calibration
While printing it on A4 size paper with  "Actual Size", I notice 3-4 mm difference. Therefore could you please provide Dynamic Calibration Print Target for A4 Size Paper?

Hi @ravijo  I loaded the PDF into Word, changed the page format to A4 and re-saved the PDF.  I have attached it to this message.  Could you print it and see whether it provides you with better results, please?
print-target-fixed-width-A4.pdf

Hi @MartyG-RealSense
Thank you very much for the quick response.
I tried many options today. Converting US Letter to A4 via MS Word and Acrobat. But faced a few mm difference.
Is it possible for you to check the attached file once please because I left my workplace already? Can you confirm the dimensions, please?

My PDF reader states that the modified document is 8.27x11.69 inches, which pretty much matches to A4 size.

Well, I did similar steps and page was shown A4 and used "Actual Size" in printing. But the output wasn't satisfactory. that 3-4 mm difference !!!

The Dynamic Calibration system offers alternatives to a printed paper target.  You can install an Android application that displays a calibration target on the android device's screen to point the camera at, or use target-less calibration (though this can be less accurate than target-based calibration).

@MartyG-RealSense
I will print PDF given by you above. If it doesn't work, I am gonna use the iPhone app. Though I am concerned about possible reflection on the phone screen.
Anyway, I don't wanna use target-less calibration, because my priority is all about depth accuracy.

You can significantly dampen glare from reflections by purchasing a physical thin-film linear polarization filter product and applying it over the camera lenses on the outside of the camera.  You can find out more about affordable linear polarization filters by going to Amazon and searching for linear polarization sheet.
Any thin-film polarizer that is linear should work - circular polarizers used in 3D glasses won't work.

@MartyG-RealSense

Hi @ravijo I loaded the US Letter calibration target PDF into Word, changed the page format to A4 and re-saved the PDF. I have attached it to this message. Could you print it on A4 paper and see whether it provides you with better results, please?
print-target-fixed-width-A4.pdf

I printed this file on A4 size paper. I found 1 mm difference in width (50 mm) and 2 mm at height (100 mm)

It sounds like an improvement on the 3-4 mm difference that you had at the beginning of this case, @ravijo

I printed this file on A4 size paper. I found 1 mm difference in width (50 mm) and 2 mm at height (100 mm)

Sorry, this is slightly wrong. The error in height is more than I said before. Please see the attached picture below:

The above picture is a print of print-target-fixed-width-A4.pdf
By the way, are you sure that you get the exact dimensions when printing on a US Letter page? Can you please print one and measure the dimensions?  If the original PDF doesn't have correct dimensions, then A4 paper will accommodate those errors too.

@MartyG-RealSense
I was able to print it perfectly. I used an A3 size page to print US Letter paper.

print-target-fixed-width (1).pdf

Please wait for some time, I can check the new file provided by you.

Thanks very much, @ravijo - I look forward to your next report.  Good luck!

Hi @ravijo  Do you have an update that you can provide about this case, please?  Thanks!

@MartyG-RealSense
Please give me a couple of days as it is new year vacation currently.

Okay, that's no problem at all, @ravijo - thanks!

@MartyG-RealSense

I tried a different approach. I copied the calibration image from the original US Letter PDF in Word, reformatted the page size in Word to A4 and then pasted in the original US Letter document's image. This should mean that the original image is used within the confines of the changed page margins.
print-target-fixed-width (1).pdf

Thank you for waiting. I printed the above PDF in A4 size paper and unfortunately, it doesn't look good to me. Please see attached picture below.

Instead of trying to adapt the original US Letter PDF to A4, an alternative approach would be to buy a pack of US Letter paper and adjust the border sliders in the printer tray to fit the US Letter size, then print off the US Letter PDF.  You could locate retailer sources in your country to purchase such paper by googling for 'buy us letter paper in '.  For example, buy us letter paper in uk or buy us letter paper in australia

@MartyG-RealSense
Thank you very much. As I said I could print it.

I was able to print it perfectly. I used an A3 size page to print US Letter paper.

At this point in time, may I request you to create a feature request (internally for the dev team), so that we can have the calibration target in A4 size too? It is not urgent but defiantly will help!

As your request to create an A4 version of the calibrartion target PDF document is of a documentation nature rather than engineering or SDK programming, I will place a Documentation tag on this case to highlight it to the RealSense team for future attention.  This case should now be kept open, but you do not need to take further action in regard to the request.  Thanks!


error: ‘strncat’ specified bound 1 equals source length [-Werror=stringop-overflow=]

GCC 11.1.0, Arch Linux x86_64.
[ 74%] Building C object src/ponyc/CMakeFiles/ponyc.dir/main.c.o
/build/ponyc/src/ponyc-0.43.0/src/ponyc/main.c: In function ‘main’:
/build/ponyc/src/ponyc-0.43.0/src/ponyc/main.c:94:5: error: ‘strncat’ specified bound 1 equals source length [-Werror=stringop-overflow=]
   94 |     strncat((char*)opt.all_args, " ", 1);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Ooops. I closed the wrong issue. Reopening this.

@jasoncarr0 would the fix from #3826 also work for this.
I thought it was for this at first until I looked closed.

No this is independent although the similarity tripped me up as well. It seems it may be GCC 11 only

I got the same problem at the same step/percentage. I'm also in Arch Linux using GCC  v11

This is fixed on main.


Calling socket.disconnect() when using xhr-polling caused an infinite loop on IE8

Calling socket.disconnect() when using xhr-polling caused an infinite loop on IE8. Changing one line helped to solve the issue. Is this a correct fix for this or are we breaking something?
In this part of the code.
Transport.prototype.onDisconnect = function () {
    if (this.close) this.close();
    this.clearTimeouts();
    this.socket.onDisconnect();
    return this;
};

Changed this.close to this.open.
    if (this.open) this.close();

Looks like a good fix to me. What do you think @guille

Great, we actually added the this.close check later. So it would be.
if (this.open && this.close) this.close();

Aha, socket.io-client, in socket.io.js:1336 - got it!


[Bug]: sdk version after update to new package name is 7.2

Telegram Application
Other
Describe the Bug
I just updated sdk from @tma.js/sdk to new @telegram-apps/sdk version 1.0.1 and getting error
Error: Method "web_app_setup_swipe_behavior" is unsupported in Mini Apps version 7.2

To Reproduce
Steps to reproduce the behavior:

npm i @telegram-apps/sdk
use swipeDebaviour.disableVerticalSwipe()
go to debug console
See error

Expected Behavior
No errors

Your Telegram client is not supporting this feature. Consider updating or wait for a new client release

Thanks, I was actually using mocked environment in the ordinary browser, and copied it from here https://docs.telegram-mini-apps.com/packages/telegram-apps-sdk/environment
Didn't looked what actual values are there


linkedService deletion loops endless if still used in dataset

if in one iteration both the dataset that is using a linkedService and the linkedService have to be deleted (with the option to delete missing objects) first the linkedService will be deleted which results in a endless loop of removing the linkedService (see screenshot) probably because the dataset that is using the linkedService is not yet deleted. Hopefully this is solved if the order of removal is changed into dataset first and after that the linkedService:

Probably, for some reason, the process can't see dependency.
Could you enable debug mode and share this part of log again?
I don't have enough information to recreate the scenario.

Hi Kamil,
I have already resolved it by first execute a release removing the datasets only.
And after that a separate release to delete the linkedService (now having 0 dependemcies)
For me it is a lot of work to reverse this again and I'm having some time pressure on the project so I'm not able to reproduce the debug logging any time soon.
The case to reproduce should be:
Create a linkedService
Create a dataset on it
Deploy
Delete both in the same release
Deploy again
And the looping should happen
If I find some time I will try to do the above in a separate environment (my own)!
With kind regards,
Jeroen
Outlook voor Androidhttps://aka.ms/AAb9ysg downloaden

Van: Kamil Nowinski @.***>
Verstuurd: woensdag 24 maart 2021 08:57
Aan: SQLPlayer/azure.datafactory.devops
Cc: jeroenski74; Author
Onderwerp: Re: [SQLPlayer/azure.datafactory.devops] linkedService deletion loops endless if still used in dataset (#38)
Probably, for some reason, the process can't see dependency.
Could you enable debug mode and share this part of log again?
I don't have enough information to recreate the scenario.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/SQLPlayer/azure.datafactory.devops/issues/38#issuecomment-805587858, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAQ6LP6YKSZLSAZOEWVVDADTFGLQBANCNFSM4ZWF437Q.

I have the same issue when trying to delete a Dataset :-(

@Joehannus , can you share your log and (more important) file of that Dataset?

I reproduced the steps you provided and can't reproduce the issue.
git clone https://github.com/SQLPlayer/azure.datafactory.examples.git

Install-Module 'azure.datafactory.tools' -MinimumVersion '0.61'
Import-Module 'az.datafactory'
Get-Module 'az*'

$rg = 'kamilnow-rg1'
$adf = 'adf-simpledeployment-2021'
$folder = ".\azure.datafactory.examples\adf-simpledeployment"

Publish-AdfV2FromJson -RootFolder $folder -ResourceGroupName $rg -DataFactoryName $adf -Location 'uksouth'

Remove-Item -Path ".\azure.datafactory.examples\adf-simpledeployment\dataset\*.*"
Remove-Item -Path ".\azure.datafactory.examples\adf-simpledeployment\pipeline\*.*"

$o = New-AdfPublishOption
$o.DeleteNotInSource = $true
Publish-AdfV2FromJson -RootFolder $folder -ResourceGroupName $rg -DataFactoryName $adf -Option $o

I'm closing the task, but feel free to open this up once you can provide the steps to reproduce the error. Thx.


Branch 121885139

Merge Google changes into open-source.

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

jenkins seems to be complaining about the change in the google/protobuf submodule hash. @petewarden , PTAL
http://ci.tensorflow.org/job/tensorflow-pull-requests-multijob/824/console

FATAL: Command "git submodule update --init --recursive" returned status code 1:
stdout:
stderr: Cloning into 'google/protobuf'...
fatal: reference is not a tree: f4c8a518c9f3123d144bafcac844cbba2a63d0f1
Unable to checkout 'f4c8a518c9f3123d144bafcac844cbba2a63d0f1' in submodule path 'google/protobuf'

ping for @petewarden

I'm investigating what's going wrong with our internal change porting process, and I'll update once I know more.


BCP035: "declaration is missing the following required properties" should provide a codefix.

I like that unlike snippets, the codefix will work even when you have filled in some of the required properties.


fixed extension infinite loading issue

Notes for Reviewers
This PR fixes #8043
The pr fixes the issue in which after loading the extension (when no extension adapter is deployed). The user was getting infinite loader.
Signed commits

[x] Yes, I signed my commits.

@vaibhav135 Let's discuss this on Meshery Dev call. Please add this as an agenda item in the meeting minutes if you would. :)

@Abhishek-kumar09 can you please have a look at this.


Removing deprecated @ExpectedExceptions annotation.

Fixes # .
Did you remember to?

[ ] Add test case(s)
[ ] Update CHANGES.txt

We encourage pull requests that:

Add new features to TestNG (or)
Fix bugs in TestNG

If your pull request involves fixing SonarQube issues then we would suggest that you please discuss this with the
TestNG-dev before you spend time working on it.

ping @cbeust - Please let me know if there's anything pending from my side to get this merged.


Disable backlight module if no backlights found

Also ignore other potential build directories
Fixes #196. @Robinhuett, could you confirm?

@ianhattendorf Works beautiful :+1:

Thansk!


Adding a BIDSification pipeline for an existing patchclamp data set

This is NOT ready for review! The code is in the state discussed yesterday... I will document it more when I come back from vacation...
But, here is what we decided with @JuliaSprenger yesterday... The current implementation cannot work. What's to be done is:

in the generate_csv_file function, add one column in the csv file, giving the filename (or file directory) where the excel file is

move the read_xls_file so that it is called in the generate_all_metadata function of this specific class (where the instance exists)

@SylvainTakerkart I fixed some error in the CI in master. You might need to merge the new master version here so the tests are passing also in this branch.


Fix bugs blocking extension upgrade

Fixes https://github.com/microsoft/azuredatastudio/issues/25819.  There are two issues, first is that the vscode & ads engine versions are being incorrectly checked during update scan and second the Copilot extension has inconsistent ID values in package.json and extensionsGallery.json files causing uninstall of current extension version to fail during update process.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 41.725%

Totals

Change from base Build<PHONE_NUMBER>7:
0.0%

Covered Lines:
30729

Relevant Lines:
68919

💛  - Coveralls

merging now, so I can port to release branch and start preparing hotfix test build


Add Kirill Stepanov to Contributors list

Incredible. ;)

Hi  @kvstepanov, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

Felt excited! Thanks for a good project.


Don't specify paramName for ArgumentNullException in properties

Follow-up #15604.

CodeFactor "complex method" new issues are false positives.

@xtqqczze Please add more information in the PR description for reviewers why we need the changes..

Framework design guidelines (2008) recommend this pattern however:

DO use value for the name of the implicit value parameter of property setters.

https://docs.microsoft.com/dotnet/standard/design-guidelines/using-standard-exception-types#argumentexception-argumentnullexception-and-argumentoutofrangeexception

Removing the paramName would also violate CA2208: Instantiate argument exceptions correctly


nametags

add an opponent's health display(nametags or targethud)

I agree with you

I'm trying to, it's easy to do on 1.8.9, but I didn't find a way to make it work on newer versions like 1.16.5 yet.
I might drop support for newer versions if I don't manage to implement new features.
Because right now the main thing slowing me down is that it needs to support completely different versions at the same time


react router v4, code is dated

./src/index.js
28:15-26 'react-router' does not contain an export named 'hashHistory'.
i googled a bit, apparently hashHistory is old, so what do we use now?

with react-router v4 all the routes have to be changed, in login.js "LINK" is not an export from react-router,
back inside index.js, it should be , also indexroute doesnt exist, apparently it should be Route exact path, what is the path for this component though?

link is in react-router-dom, change this please

when will support V4?

You can use this PR with React-Router V4:
https://github.com/gothinkster/react-redux-realworld-example-app/pull/80


ENH: fix dependency information for Eigen3

A prerequisite for https://github.com/Kitware/MetaIO/pull/76.
  Perhaps a find_package() call is missing for
  an IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  CMake/ITKModuleMacros.cmake:205 (itk_module_headertest)
  Modules/Core/Common/CMakeLists.txt:157 (itk_module_impl)

CMake Error at CMake/ITKModuleHeaderTest.cmake:92 (add_executable):
  Target "ITKCommonHeaderTest2" links to target "ITKInternalEigen3::Eigen"
  but the target was not found.  Perhaps a find_package() call is missing for
  an IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  CMake/ITKModuleMacros.cmake:205 (itk_module_headertest)
  Modules/Core/Common/CMakeLists.txt:157 (itk_module_impl)

CMake Error at CMake/ITKModuleHeaderTest.cmake:92 (add_executable):
  Target "ITKCommonHeaderTest4" links to target "ITKInternalEigen3::Eigen"
  but the target was not found.  Perhaps a find_package() call is missing for
  an IMPORTED target, or an ALIAS target is missing?
Call Stack (most recent call first):
  CMake/ITKModuleMacros.cmake:205 (itk_module_headertest)
  Modules/Core/Common/CMakeLists.txt:157 (itk_module_impl)

PR Checklist

[X] :no_entry_sign: Makes breaking changes
[X] :no_entry_sign: Makes design changes
[X] :no_entry_sign: Adds the License notice to new files.
[X] :no_entry_sign: Adds Python wrapping.
[X] :no_entry_sign: Adds tests and baseline comparison (quantitative).
[X] :no_entry_sign: Adds test data.
[X] :no_entry_sign: Adds Examples to ITKExamples
[X] :no_entry_sign: Adds Documentation.

I don't think this is the correct way to fix it. Working on a different fix. I'll reference the new PR here.

New PR #933

I just changed the commit message, to no longer imply it fixes the Eigen issue.


Ferdi Window Unsnaps when I click a Notification in Windows 10

Bug description:
When Ferdi is Snapped to the side of the screen in Windows 10 and I click on a notification in to go to it and see the service that initiated the notification, the Ferdi window unsnaps from the side of the screen.
Same bug as here https://github.com/meetfranz/franz/issues/1585
Steps to reproduce:

Dock Ferdi to the side of the screen with windows snap.
Trigger a Ferdi desktop notification, I mainly use WhatsApp
Click the notification.
Window unsnaps and resizes, to where it was prior to snap. Which can move it to a place where you have to move the window to see what you need to see.

or

Dock Ferdi to the side of the screen with windows snap.
Hide Ferdi by double clicking the tray icon.
Show ferdi by double clicking the tray icon.
Window unsnaps and resizes, to where it was prior to snap. Which can move it to a place where you have to move the window to see what you need to see.

Expected behavior
Stays snapped.
Environment:

Operating System: Windows 10 - 1909 (10.0.18363)
Ferdi Version: 5.5.0
Server: Self Hosted Ferdi

Any update on this, its really annoying 😂

This is not stale - the bug continues to exist for two years now. Please work on this dev team.

Just to bump this, it is still an ongoing issue.

Just to bump this, it is still an ongoing issue.

Bump

@mastercko, I had to stop using Franz, due to many bugs, the project feels little abandoned unfortunately, shame really.


Face and edge color in points layer incorrect if not all values in properties

🐛 Bug
The mapping of edge and face colors using face_color_cycle / edge_color_cycle is incorrect if
any of the possible property values is missing from the current property values.
This is due to the use of np.unique to determine the current property values:
https://github.com/napari/napari/blob/c04484fc08694d23b4790387c3618d9fb4fad00f/napari/layers/points/points.py#L288
https://github.com/napari/napari/blob/c04484fc08694d23b4790387c3618d9fb4fad00f/napari/layers/points/points.py#L1037
To Reproduce
Take this toy example, where I want to map points with value 1 to green, 2 to red, etc.
But where in the initial points the property 1 is not present.
points = np.array([[0, 0], [1, 1], [2, 2]])

# property to colors that I want to achieve:
color_map_expected = {1: 'green', 2: 'red', 3: 'blue', 4: 'white'}

# how to currently do it in napari
properties = {'my_colors': [2, 3, 4]}
face_color_cycle = ['green', 'red', 'blue', 'white']
viewer.add_points(points, face_color='my_colors', properties=properties)

This will show the points in green, red and blue instead of red, blue, white as intended.
Environment
Current napari master.
Additional context
To take a real world example, this happens in my code if for example the "unlabeled" property (value = 0) is missing:
https://github.com/hci-unihd/covid-if-annotations/blob/master/napari_covid_if_annotations/layers.py#L26-L44
In general, I find specifying the color_cycles via lists and then the mapping via zip(np.unique(values), color_cycle) not intuitive and think maps would make a lot more sense here.

Hey @constantinpape ! Thanks for the submitting an issue.
I am sorry about the color cycle mapping behavior. At the moment, we do not have a way in the init method to specify the mapping between the property value and color (it works something like zip(np.unique(values), color_cycle) as you mentioned). I agree that the ability to explicitly map the property values and color for the color cycles in the init method is an important feature.
A potential fix for now
In the meantime, you can specify the mapping between property value and color via the propertiesPoints.face_color_cycle_map or Points.edge_color_cycle_map. For example, using the sample code in your issue I think the following would work. This isn't really the "official" way to use the color cycle, but it should work for now.
points = np.array([[0, 0], [1, 1], [2, 2]])

# property to colors that I want to achieve:
face_color_cycle_map = {
    1: [0, 1, 0, 1],
    2: [1, 0, 0, 1],
    3: [0, 0, 1, 1],
    4: [1, 1, 1, 1]
}

# how to currently do it in napari
properties = {'my_colors': [2, 3, 4]}
points_layer = viewer.add_points(points, face_color='my_colors', properties=properties)

# set the face color cycle map
points_layer.face_color_cycle_map = face_color_cycle_map

# we have to refresh the colors to update them
points_layer.refresh_colors()

Note that when using this method, the colors need to be RGBA numpy arrays and we have to refresh the colors after setting the face_color_cycle_map. However, once you've done that you should be able to add/toggle points as you normally would. The one caveat that adding points with property values not in 'face_color_cycle_map' would result in those new points getting colors assigned from the face color cycle (if not specified, defaults to ['magenta', 'green'])
Potential improvement for the API
How would you prefer the API to be? Perhaps allowing the user to pass a dictionary to the color cycle to specify the mapping and a list to allow apply a color cycle to the unique properties (as it is now)?
points = np.array([[0, 0], [1, 1], [2, 2]])

# make a points layer using a specified property value to color mapping
color_map_specified = {1: 'green', 2: 'red', 3: 'blue', 4: 'white'}
properties = {'my_colors': [2, 3, 4]}
viewer.add_points(points, face_color='my_colors', face_color_cycle=color_map_specified, properties=properties)

# make a points layer applying a color cycle to the unique properties
face_color_cycle = ['green', 'red', 'blue', 'white']
viewer.add_points(points, face_color='my_colors', face_color_cycle=color_map_specified, properties=properties)

Thanks for the reply @kevinyamauchi. The work-around you proposed fixes the issue for now :).

How would you prefer the API to be? Perhaps allowing the user to pass a dictionary to the color cycle to specify the mapping and a list to allow apply a color cycle to the unique properties (as it is now)?

Yes, I think that would be a good solution!

Thanks for the reply @kevinyamauchi. The work-around you proposed fixes the issue for now :).

Great! We will keep you updated as we converge on the right way to expose this in the init method.

Yes, I think that would be a good solution!

Thanks for the feedback!

I just wanted to make a note that when we address this, we should leverage the work from @ziyangczi in #1339.

after reading the existing code and tried to patch in place, I start to feel we may need more drastic changes to make it more intuitive. right now there are 3 things involved in setting color as pointed out: property, face/edge_color, face/edge_color_cycle, I would propose that we do something similar to the label layer, where we consolidate them to one single dict as suggested: {1: 'green', 2: 'red', 3: 'blue', 4: 'white'} and set face_colors/edge_colors instead, and we would have the same behavior where the id would be incremental and would default to white when missing from the given map. This does mean the API would be different, so I want to confirm this is the direction we are going

@constantinpape out of curiosity, why would you include green in the color cycle if you wish not to see it? I am trying to understand the usecase in case I miss anything in my commit

This is closed by #1623


Base target variables

The challenge
Right now, a target can source variables either from under the target identifier in the yaml, or from the root config (lower priority). This is super nice for not having to repeat things that are used by all targets, because you can put them in the root. However, it's a bit...opaque.
Possible solution
What if instead of starting from the root and then updateing with the target-specific variables, we add in a base or base_target attribute under targets that specifies which target should be used as the base. This has 2 advantages:

it makes explicit something that was previously implicit: where the variables are coming from.
it increases flexibility because different targets could use different bases within the same file.

The only disadvantage is that it increases verbosity of the config file. But given that this can be confusing to figure out where variables are sourced from, I think this is a valuable tradeoff.

Implemented and tested in v1. I think this is a step forward.


issue regarding latest changes

Hi @axelmohnen
getting a few errors upon updating to latest commit.

also this table does not exist, in class Z2UI5_CL_TOOL_APP_SHLP_GEN
DATA: lt_dd07v  TYPE dd07v_t,

maybe dd07v_tab is the same ?? dont really know..

as of latest pull from a2ui5, client is not passed anymore to factory methods, and need to be removed from caller.

in class:Z2UI5_CL_TOOL_APP_VH_GEN
lines: DATA(lr_popup) = z2ui5_cl_xml_view=>factory_popup( ir_client ).
as in other factory methods in this implementation.
im running on abap 7.50 on-prem, btw if thats relevant i suppose.

i can try PR wlth fixes if thats ok by you

Hi @choper725,
I will have a look.... and provide an update soon.
Thanks,
Axel

Hi @choper725,
I issues should be fixed now.
I added a new demo app "Z2UI5_CL_TOOL_APP_12" in order to demonstrate the new "IV_USE_DEEP_SHLP" parameter.
The "deep search" is fully functional. In case the DDIC searchhelp contains search fields where the corresponding data element has a DDIC SHLP maintained or the corresponding domain has some fix values maintained, than if the "IV_USE_DEEP_SHLP" parameter is flagged it will open another generic SHLP or generic value help.
Just give it a try :-)
Thanks,
Axel

thx @axelmohnen  ill check it ou!

hi @axelmohnen
still getting error on views creation methods, regarding latest a2ui5 version

Hi @choper725,
I removed all erroneous factory calls, due to the latest 2UI5 version, from the demo apps.
I don't have the latest 2UI5 version in our system yet. That's the reason why I don't have the error....
The demo12 is working, but it was probably not a good example.
Explanation:
Demo12 was using searchhelp "H_T002". This searchhelp has the field "SPRAS" with data element "SPRAS". Data element "SPRAS" has the searchhelp "H_T002" assigned. This is exactly the same searchhelp. This means, for you it looks that you have to click twice.
I added now the company code searchhelp "H_T001_ME" to demo12. This has the field "BUKRS" and the data element "BUKRS".
The data element "BUKRS" has the searchhelp "C_T001" assigned.

ohh i see, thats why double clicking..
great ill check those !!
btw even in older versions client is not mandatory to pass to the view functions

table T001 does not exist in NPL / A4H MiniSAP, pull fails

Hi @AndreaBorgia-Abo,
could you please retry. I replaced the table t001 in all demos.

Pull now works, super fast, thanks.


Pure javascript version

Is there any plan to publish a ES5/6 version of this code?
As of now, I am not really interested in Typescript features.

Good community opportunity.

This example is deprecated. Use the language server samples in this repository instead: https://github.com/Microsoft/vscode-extension-samples
A corresponding feature request should be tracked there.


Pressing [e] cancels new reminder

Steps to reproduce

Have e key bound to "Access Menu" (AFAIK this is the default)
Open the "New Reminder" dialog (F2)
Set the focus / cursor to the "Reminder Message" field
Enter any message text that contains an e, e.g. 'island harvest ready'

Expected
The dialog accepts the message and waits for further input.
Actual
The dialog closes and the reminder is cancelled.
When I try again, sometimes I can successfully enter the message and create the reminder, but most of the time the reminder is inadvertently cancelled.

Hey. This issue was fixed in v1.2.1, so I'm not sure what's happening. Can you give me more info about:

the version of the mod you're using
the operating system you're on
Whether you're in a single-player, or co-op game (in which case whether you're the host or a farmhand)

Thanks.

I used CustomReminders v2.0.0-6215-2-0-0-1630752115.zip, which is currently the default file offered by nexusmods.
https://www.nexusmods.com/stardewvalley/mods/6215?tab=files&file_id=44792
Perhaps this is a regression in v2.0 resulting from the merger with RecurringReminders?
I'm on Win10, and am playing a single player game.

I tried reproducing the bug by using the downloaded version after deleting the current install, but I'm still not able to.
No button other than [Esc] closes the menu for me. I checked the code to suppress the inventory button when using the mod, it wasn't affected in the merger, and remains in place and functional.
Can you post you logs here through this: https://smapi.io/log
and maybe also embed your config here if you have made any changes to it.
Thanks.

Hmm that is interesting, thank you for testing.
I just tried again and the behavior remains the same. Here's the log.
https://smapi.io/log/86f6c3dbced74c77b6feabdebadbeca0
I literally just started the game, loaded a save, pressed F2 to create a new reminder, typed some random asdfddf, that worked fine, typed an e, the dialog closed. After that I closed the game.
I did not touch the config.json but I still attached it for completeness. (renamed since github doesn't allow .config)
config.json
As you can see I'm running some other mods as well, perhaps there's some conflict between two of them?

I see that you call Helper.Input.Suppress(Utilities.Globals.MenuButton) within the draw(…) method.
Looking at the docs for this function, it says that this method only suppresses a single button press.

This suppression will remain in effect until the player releases the button.

I believe that suppressing a button-press in the draw method is unreliable. I think this should be done in the event handler for ButtonsChanged or ButtonPressed to make it robust (docs).
Here's an example of some other mod that suppresses keys. It does the suppression in the ButtonsChanged event handler.
https://github.com/Deflaktor/KeySuppressor/blob/master/KeySuppressor/ModEntry.cs

It seems that the way the mod used to find the menu button to suppress might not be reliable anymore, possible due to changes to the savefile's content/structure.
I've release a v2.1.1-beta1 with a minor fix, please let me know if it fixes the issue.
Thanks!

Yeah according to another bug report, v2.1.1-beta1 fixed it. I'll release it shortly.
Thanks for bringing this up.


Feature/future proofing

Latter commit continues this, missed it
https://github.com/andreykaipov/goobs/pull/13/commits/554579bb1355e26893bbef2d5650dd4dc22a2b0b

Latter commit continues PR #13 (see https://github.com/andreykaipov/goobs/pull/13/commits/554579bb1355e26893bbef2d5650dd4dc22a2b0b)


Add to NPM

Create an npm module for this repository to allow easier integration into other projects

This project is now in npm as reactjs-calendar Woo!


Disable goreleaser build combinations for release

We cannot build on certain arch/os due to issues found in dependencies.
Maybe some of these issues can be fixed in time, but disabling for now so we can continue to produce releases.

Maybe, in future we can have a workflow to validate this config.
$ goreleaser check
   • loading config file       file=.goreleaser.yml
   • checking config:
   • config is valid


feat(cgroup): add cgroup version constant variables

feat(cgroup): add cgroup version constant variables

i have approved this pr, just wonder that will we modify all the implementation in katalyst-core to refer to this newly-defined api? (or just for the future incoming codes)

i have approved this pr, just wonder that will we modify all the implementation in katalyst-core to refer to this newly-defined api? (or just for the future incoming codes)

This newly-defined api is for some control knobs in enhanced qrm memory plugin with memory advisor, and we will refer this  api in the pr of that scope.


Hello Back End

Initialized rails api project
Created Greeting model
Created greetings_controller
Added messages to greetings table
Fixed linter errors

Hello i thought that i need to send the react repository so i merge it. I have to send this pull request or the revert hello back end pull request?


XS Max on 12.1.1b3 fails

Phone reboots at 2/37, right after the "received fake port..." etc

Did you try again? Mine did the same and next attempt renamed the snapshot successfully.
Just make sure airplane mode is on and try again.

Tried about 30 times now, all with airplane mode on.

Did you try again? Mine did the same and next attempt renamed the snapshot successfully.
Just make sure airplane mode is on and try again.
I'm having the same issue, but normal XS. I've attempted a couple times w/o airplane mode and couple times with airplane mode.

Did you try again? Mine did the same and next attempt renamed the snapshot successfully.
Just make sure airplane mode is on and try again.

I'm having the same issue, but normal XS. I've attempted a couple times w/o airplane mode and couple times with airplane mode.

Also on 12.1.1b3?

Did you try again? Mine did the same and next attempt renamed the snapshot successfully.
Just make sure airplane mode is on and try again.

I'm having the same issue, but normal XS. I've attempted a couple times w/o airplane mode and couple times with airplane mode.

Also on 12.1.1b3?

Yes, forgot to add that.

Same here. Normal XS, 12.1.1b3.

I have the same issue with the XS Max runnin 12.1.1 b3

Pwn just released a new update which should fix it - https://github.com/pwn20wndstuff/Undecimus/releases

Fixed.


Feature charts have inconsistent Linux Only and Deploys on Windows Labels

Rancher Server Setup

Rancher version: on 2.6.4 and 2.6.5-rc2
Installation option (Docker install/Helm Chart): HA

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE1

Information about the Cluster

Kubernetes version: Any - default - 1.22
Cluster Type (Local/Downstream): - RKE1/RKE2 (any)

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom) Admin

Describe the bug
Feature charts have inconsistent Linux Only and Deploys on Windows Labels
To Reproduce

Deploy a downstream cluster or on the local cluster
Navigate to Apps and Marketplace --> Charts
The following charts do not have Linux Only OR Deploys on Windows Labels

CIS
Alerting drivers
rancher-wins-upgrader
rancher-backup
vSphere - CPI and CSI
WWebhook
Harvester cloud provider
Harvester CSI
Windows GMSA
Vsphere - Partner chart

Result
Expected Result
All charts must show consistent labels

The issue is still present: we added a Windows node to a cluster, and now we are unable to upgrade the Traefik chart through the UI because all versions are marked "Linux only." Traefik works perfectly fine in a Windows-enabled cluster, as long as one does not try to schedule it on Windows nodes. Upgrading is still possible using the command line or API.
I also managed to upgrade via the UI by changing the "version" parameter in the browser address bar.


Kannada Translation Progress

Maintainer List

@vageeesh
@anirudhbs
@sreekantho

For New Translators
To translate a page:

Check that no one else has claimed your page in the checklist and comments below.
Comment below with the name of the page you would like to translate. Please take only one page at a time.
Clone this repo, translate your page, and submit a pull request!

Before contributing, read the glossary and style guide (once they exist) to understand how to translate various technical and React-specific terms.
Please be prompt with your translations! If you find find that you can't commit any more, let the maintainers know so they can assign the page to someone else.
For Maintainers
When someone volunteers, edit this issue with the username of the volunteer, and with the PR. Ex:

[ ] Home Page (@tesseralis) #1

When PRs are merged, make sure to mark that page as completed!
Core Pages
To do before releasing as an "official" translation. Please translate these pages first.

[x] Home Page (@anirudhbs) #2
[ ] Tutorial (@sreekantho) #3

Basics

[ ] Hello World (@anirudhbs) #4
[ ] Introducing JSX
[ ] Rendering Elements
[ ] Components and Props
[ ] State and Lifecycle
[ ] Handling Events
[ ] Conditional Rendering
[ ] Lists and Keys
[ ] Forms
[ ] Lifting State Up
[ ] Composition vs Inheritance
[ ] Thinking in React

API Reference

[ ] React
[ ] React.Component
[ ] ReactDOM
[ ] ReactDOMServer
[ ] DOM Elements
[ ] SyntheticEvent
[ ] Test Utilities
[ ] Shallow Renderer
[ ] Test Renderer
[ ] JS Environment Requirements
[ ] Glossary

Navigation
These are the navigation links that appears in the sidebar. Possibly wait until
the corresponding sections are translated to do these.

[ ] tutorial/nav.yml
[ ] docs/nav.yml

Next Steps
These are the next most important translations, ordered by importance:
Installation

[ ] Getting Started
[ ] Add React to a Website
[ ] Create a New React App
[ ] CDN Links

Hooks
Everyone is hooked on hooks! People are really excited for these and it would be great for them to be translated.

[ ] Introducing Hooks
[ ] Hooks at a Glance
[ ] Using the State Hook
[ ] Using the Effect Hook
[ ] Rules of Hooks
[ ] Building Your Own Hooks
[ ] Hooks API Reference
[ ] Hooks FAQ

Warnings
These are the pages that you get when you click the links in the console (e.g. https://reactjs.org/warnings/dont-call-proptypes.html). People tend to search these, so please don't translate the error message itself.

[ ] dont-call-proptypes
[ ] invalid-aria-prop
[ ] invalid-hook-call-warning
[ ] legacy-factories
[ ] refs-must-have-owner
[ ] special-props
[ ] unknown-prop

Advanced Guides

[ ] Accessibility
[ ] Code-Splitting
[ ] Context
[ ] Error Boundaries
[ ] Forwarding Refs
[ ] Fragments
[ ] Higher-Order Components
[ ] Integrating with Other Libraries
[ ] JSX In Depth
[ ] Optimizing Performance
[ ] Portals
[ ] React Without ES6
[ ] React Without JSX
[ ] Reconciliation
[ ] Refs and the DOM
[ ] Render Props
[ ] Static Type Checking
[ ] Strict Mode
[ ] Typechecking With PropTypes
[ ] Uncontrolled Components
[ ] Web Components

FAQ

[ ] APIs and AJAX
[ ] Babel, JSX, and Build Steps
[ ] Passing Functions to Components
[ ] Component State
[ ] Styling and CSS
[ ] File Structure
[ ] Versioning Policy
[ ] Virtual DOM and Internals

Contributing
Priority: Low

[ ] How to Contribute
[ ] Codebase Overview
[ ] Implementation Notes
[ ] Design Principles

Components
Components in src/components that have some text in them.

[ ] CodeEditor
[ ] CodeExample
[ ] ErrorDecoder
[ ] LayoutFooter
[ ] LayoutHeader
[ ] MarkdownPage

Additional Translations
These are not the primary translation targets.

[ ] Blog
[ ] Community

Name: Anusha Rao
Page: http://kn.reactjs.org/docs/introducing-jsx.html
Please assign this page to me so that I can start contributing

@tesseralis Can I Work on this?
I will be translating most of the pages in order of the list above 👀

Archiving as inactive.


Unsupported mail transport [resend].

Not sure what I miss..
Error:

mail.php
    'mailers' => [
        'resend' => [
            'transport' => 'resend',
        ],
        'smtp' => [
            'transport' => 'smtp',
            'url' => env('MAIL_URL'),
            'host' => env('MAIL_HOST', 'smtp.mailgun.org'),
            'port' => env('MAIL_PORT', 587),
            'encryption' => env('MAIL_ENCRYPTION', 'tls'),
            'username' => env('MAIL_USERNAME'),
            'password' => env('MAIL_PASSWORD'),
            'timeout' => null,
            'local_domain' => env('MAIL_EHLO_DOMAIN'),
        ],

        'ses' => [
            'transport' => 'ses',
        ],
...

.env:

composer:

Hey @marijnbent, your config looks correct to me. Perhaps your config is cached?
You can create a new cache using php artisan config:cache or you can clear it using php artisan config:clear
Let me know how you go with this.

Probably something like that :-). Today, it worked without problem. Thanks!


Unable to run Weblogic12213 after building it.

Unable to run Weblogic12213 after building it.
Hi,
We are building oracle weblogic <IP_ADDRESS> following the instructions on [https://github.com/oracle/docker-images/tree/master/OracleWebLogic/dockerfiles/<IP_ADDRESS>]. The build was successful but every time we try to start the container with $ docker run -d -v $PWD:/u01/oracle/properties <image_id> fails.
The container won't get start and while checking the logs we are getting the following error
standard_init_linux.go:207: exec user process caused "no such file or directory"
Thanking you in advance.


Bug fix: errors on page load

Fix issue #346

Codecov Report

Merging #349 (8657e76) into develop (8d83f8b) will increase coverage by 0.04%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #349      +/-   ##
===========================================
+ Coverage    94.39%   94.44%   +0.04%
===========================================
  Files           89       89
  Lines         4156     4156
===========================================
+ Hits          3923     3925       +2
+ Misses         233      231       -2

Impacted Files
Coverage Δ

app/internal/corona_stats.py
86.66% <0.00%> (+3.33%)
:arrow_up:

Continue to review full report at Codecov.

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


Bilinear interpolation for height tiles

Replace calcMean with bilinear interpolation for height tiles.  You can enable this by setting graph.elevation.interpolate to true (or if you had been using graph.elevation.calc_mean previously). See discussion here.
This is a stead climb and descent I used to bike on in central Pennsylvania, using SRTM elevation data without bilinear interpolation looks like this:

And after bilinear interpolation looks like this:

And with the mapzen elevation provider from #1929 it looks like this, which is closest to what I expect:

Thinking a bit more about this, it would probably be better to have the config option be graph.elevation.interpolate: bilinear so we can support other interpolation methods in the future (possibly including ones that fill voids automatically per #1946) - changed the boolean to an enum.

Thanks!
BTW: I think we never experienced an issue with voids in production because we use the void-filled CGIAR data.


sync back; experiment works

I was running some baselines for VoxSRC2022 and accidentally made this PR. Please ignore this PR and delete it if possible. I am very sorry for bothering you by my mistake.


Adding ampersand between RAILS_ENV=production and bundle exec rake ...

I got an issue that the cron job does not run properly on ubuntu server. I use capistrano with whenever gem.
I found the solution is to add ampersand after RAILS_ENV=production.
Changing from:
0 9 * * 5 /bin/bash -l -c 'cd /var/vhosts/myserver/current && RAILS_ENV=production bundle exec rake ...... --silent'
To
0 9 * * 5 /bin/bash -l -c 'cd /var/vhosts/myserver/current && RAILS_ENV=production && bundle exec rake ...... --silent'
Is there any configuration for whenever to solve this issue? Every time I need to manually change crontab file after deployment.
Thanks in advance.

if you add another ampersand between RAILS_ENV and bundle you're ignoring the production environment, i guess you have configured your jobs to run only run in the developmenr env

Hi @yepengfan,
I use whenever gem but the cron job is not working for me on ubuntu production server. I used following command for every 2 minutes send the mail
02 * * * * /bin/bash -l -c 'cd /root/peatio/current && RAILS_ENV=production && bundle exec rake dailymail:email_sender --silent'

@karthickms Please open your own issue rather than re-using unrelated tickets.
@yepengfan This is not a solution for any real problem and I think you're confused about what's going on here. You have an answer that should point you in the right direction. If you still have a problem, please explain what you mean by "not working" in more detail by including cron logs and potentially output from running the same command at a shell.