Update Dockerfile for the service to launch

Description
Update Dockerfile for the service to launch
Solution
Expose port 10000 as usual

lgtm


kubernetes.secret.source it's not working like configmap configuration

I'm doing some experimentation here with spring-cloud-kubernetes using configmap and secrets
The configuration spring.cloud.kubernetes.config.sources works pretty good, but when i try to use this approach for secrets spring.cloud.kubernetes.secrets.sources it's not working, my secrets only works when i use spring.cloud.kubernetes.secrets.paths with the deployment volumes configured.
I'm trying to use that property wrong? i  can't use just the kubernetes secret name, and i need to mount the volume always?
Thanks, if more info will necessary, i can provide, my example is very simple.

yes an example would be helpful, like a github repo where we can take a look. anything that is reproducible will do. thank you

Is this issue still there ? I am facing some issues while reading secrets using spring.cloud.kubernetes.secrets.sources (list) in bootstrap file. I am only specifying name of the secrets (not path, labels etc) in the bootstrap.yaml file.
Warning message in the logs :: Can't read secret with name: [XXXX] or labels [{}] in namespace: [default] (cause: null). Ignoring.

we need a lot more details then just the error message, a sample in github where we can reproduce this is what I have asked before and will ask you also. Is it possible to provide one?

Thanks for the quick response. Unfortunately I can not provide you any repo link but I am listing down some details which I have:
bootstrap.properties
spring.application.name=demo-service
spring.cloud.kubernetes.secrets.enabled=true
spring.cloud.kubernetes.secrets.sources[0].name=secret-a
spring.cloud.kubernetes.secrets.sources[1].name=secret-x
spring.cloud.kubernetes.secrets.sources[2].name=secret-y
.
.
.
secret-a
data:
dbname: cHJpG1fmk
password: e29aLZitdfr
kind: Secret
metadata:
name: secret-a
namespace: default
.
.
.
type: Opaque
secret-b
data:
dbname: pbS1hZG1
password: sT3ZaRXZi
kind: Secret
metadata:
name: secret-b
namespace: default
.
.
.
type: Opaque
Dependency added

org.springframework.cloud
spring-cloud-starter-kubernetes-fabric8-config

Kubernetes Client Dependency

org.springframework.cloud
spring-cloud-starter-kubernetes-client-config

Issue observed
I have enabled fabric8 logs and observed below issues:
1- I can see that all the secrets (preset into the default namespace) are loaded insted of the specified secrest in the bootstrap.properties.
2- In my application i am reading password from secret-a but somehow the value is overriden by password of secrect-b (note that secret-b is not part of bootstrap.properties file).
3- Apart from above, I can also see some warning logs "Can't read secret with name: [secret-a] or labels [{}] in namespace: [default] (cause: null). Ignoring". This messages is coming for all listed secrets in the bootstrap.properties file.

@raphaellins Is the above example similar to your example?

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Variables for Vampire not working on V2-1200

Seems I have some problems getting these
-$VampireType:      The type of vampire installed, for example "V2_600", or "V4_Standalone"
- $VampireCoreRev:   The core revision of the currently flashed firmware .jic file; "N/A", if not available (e.g., some beta cores)
- $VampireClockMult: The vampire clock multiplier

to work on my Vampire 1200 (Core 2.17) as they do not report anything. They are working fine on V4_Standalone.

Thank you for reporting!
You say they do not report anything, so I take it you mean they are not set. Could you verify that your $CPU variable is "68080" and $Chipset is "SAGA"? Because detecting the 68080 and SAGA is a precondition for sysvars in its current version to even consider querying the mentioned variables.

Well then this is the culprit... I thought it always has 68080 and SAGA. Then I'm gonna stick with 68080 as a base for Vampire detection...
I will  prepare a new release.


wc: fix leading spaces on println!

This is a resolution to issue #1894 (https://github.com/uutils/coreutils/issues/1894). wc/wc -l would print out an extra 2 spaces before the actual result, and this was a pretty basic fix.

Please add a test to make sure that we don't regress :)
thanks
And it is broken:
https://github.com/uutils/coreutils/pull/1900/checks?check_run_id=2185619487
https://github.com/uutils/coreutils/blob/master/tests/by-util/test_wc.rs

Please add a test to make sure that we don't regress :)
thanks
And it is broken:
https://github.com/uutils/coreutils/pull/1900/checks?check_run_id=2185619487
https://github.com/uutils/coreutils/blob/master/tests/by-util/test_wc.rs

Okay! I don't have much experience writing tests. In all of the instances of .stdout_is(), should I delete the 2 leading spaces?

This PR doesn't do what you think it does. It just removes the space before the title:
[arni][/…/arni/src/coreutils][wc-fstat2]% target/release/wc README.md
   382  1461 11155README.md

instead of
[arni][/…/arni/src/coreutils][wc-fstat2]% target/release/wc README.md
   382  1461 11155 README.md

The problem is actually the + 1 in the following line of code:
        max_width = max(max_width, word_count.bytes.to_string().len() + 1);

I think I'll just include a fix for this in https://github.com/uutils/coreutils/pull/1851 since I'll be changing related code anyway.

See https://github.com/uutils/coreutils/pull/1851/commits/4f5f7cc951b28bbd0ece1500c1785b887f3c184f

@ArniDagur ok cool. Should I close this PR?

yeah, probably :)


storage: initial commit of objects

/cc @broady @jba
Rewrote the sample with your feedback. Closing the other PR.

@jba, I initially opened https://github.com/GoogleCloudPlatform/golang-samples/pull/126 that was merging a similar program but decided to rewrite it and abandoned the previous PR.


"Search only in this language by default" Also Hides Channel Content

Confusing Search Option hides Channel Content
A member of the community (Eduardo Bibiano) was seeking help because the content in the channels he follows, disappeared.
The reason was, he'd set "Search only in this language by default" to his language. This feature then hid channel content that's not in his language.
This is confusing and could have a big impact on channel visibility because many people might not realise it's doing this. The setting suggests it just hides search results.
To Reproduce
Steps to reproduce the behavior:

Go to 'Settings'
Click on 'Language.'
Set to 'Italian'
Select 'Search only in this language by default'

Expected behavior
Still see all content in any channel you visit.
Actual behavior
Hides content in that channel if it's not set to the chosen language.
Screenshots

Example:

Apparently there is already an issue for this? I can't find it.

Found it: https://github.com/lbryio/lbry-desktop/issues/5219

Thanks for filing, will keep the other open.


Installation of psycopg2 in travis

Coverage remained the same at 99.655% when pulling 02d0b67a354b81710d779756f9a9f54b9c81a4c3 on JorgeMartinezG:travis_pg into be57e420f53fb3bcbdf511a7483a9919434b9046 on boundlessgeo:master.

Coverage remained the same at 99.655% when pulling 02d0b67a354b81710d779756f9a9f54b9c81a4c3 on JorgeMartinezG:travis_pg into be57e420f53fb3bcbdf511a7483a9919434b9046 on boundlessgeo:master.

Coverage remained the same at 99.655% when pulling 02d0b67a354b81710d779756f9a9f54b9c81a4c3 on JorgeMartinezG:travis_pg into be57e420f53fb3bcbdf511a7483a9919434b9046 on boundlessgeo:master.


Define SDLC

User Statement
Engineering Response
Technical Breakout
Acceptance Criteria

This task was completed and documented in our project proposal.


ISO broadcast cannot send with callback if CONFIG_BT_CONN=n

Describe the bug
https://github.com/zephyrproject-rtos/zephyr/pull/38194 introduced a bug for ISO broadcast if CONFIG_BT_CONN=n.
If CONFIG_BT_CONN=n then the free_tx FIFO is never intiialized, causes the FIFO to be empty and thus no able to use the bt_conn_send_cb function that bt_iso_chan_send now relies on.
Update: It seems that TX still works, but the callback is missing.
To Reproduce
Steps to reproduce the behavior:
Build and run samples/bluetooth/iso_broadcast/ and see the <err> bt_conn.bt_conn_send_cb: Unable to allocate TX context error
Expected behavior
Expect broadcast ISO to be fully independent on CONFIG_BT_CONN.
Impact
Showstopper for specific builds. Increased memory usage as a work around.
Logs and console output
N/A
Environment (please complete the following information):

Commit SHA or Version used: cd5357ca56c2629b957a3a79a3dd71fe528e2626

Additional context
Add any other context about the problem here.

@Thalley will you send a fix in time for 2.7.0?

@Thalley will you send a fix in time for 2.7.0?

That's the plan :)

Updated the priority to low as the callback is just missing, but it is still sending data.


Increase Elixir version to 1.8

update https://github.com/Accenture/reactive-interaction-gateway/blob/master/version
check depreciation and update code accordingly
test the change

Perhaps we can go directly for 1.9 as it was just released? https://elixir-lang.org/blog/2019/06/24/elixir-v1-9-0-released/?utm_campaign=elixir_radar_196&utm_medium=email&utm_source=RD+Station

seems like they added built-in release packaging, so we may get rid of Distillery
change to configuration also looks pretty neat.


JBEHAVE-1298 Fix reporting of Lifecycle Before/After steps

The changes have been added to master branch: 2c1c50feee3a2fad4f6036b9af84385f12dea301


Member-wise constructor generation with visibility control

Fixes #3406
Fixes #4461
PR with documentation: #4988
Changes (split up into major files):
source/slang/diff.meta.slang

Addition of TorchTensorType. This was added since Slang requires all TorchTensor objects to have a CUDAHost attribute. When auto-generating constructors Slang needs to be aware of this type to avoid generating invalid code for CUDAHost variable using functions (automatically add CUDAHost if TorchTensor is found).

source/slang/hlsl.meta.slang

(19542) A custom __init() was added to TextureFootprint to more correctly do what the struct requires (this also avoided at the time a weird compile failure that only the stdlib could cause).
(19965) Slang cannot propagate literal generics (Shape.dimensions) properly in our use case. We work around this by generating a simple copy of our literal generic and letting Slang optimize this value out to directly use Shape.dimensions.

source/slang/slang-ast-decl.h

This PR adds constructors to target private, internal, and public groups of members. If a Ctor is used for public and private and internal scopes we need to store this information so that when we look for InheritanceDecl ctor's, we know which "member-wise ctor" should be used given a visibility. ConstructorTags allows us to store this information.

source/slang/slang-check-conversion.cpp

Initializer lists call into constructors (and no longer uses related hacks unless UseLegacyLogic is true).
initialization-list logic for struct objects has been reordered and reformatted due to previous logical incompatibilities.
Flattened initializers for structs (c-style initializers) are allowed if and only if a struct is a C-Style-Struct (see user-guide for more details, docs\user-guide\02-conventional-features.md)

source/slang/slang-check-decl.cpp

we auto-generate member-wise constructors for varying visibilities of members (public, public-internal, public-internal-private).
Implements visibility and member-wise constructor rules described in #3406.
Reorders and reformats how we auto-generate constructors. We needed to move generation of constructor "declarations" into SemanticsDeclConformancesVisitor.
If a TorchTensor typed variable is found we auto-add a CUDA-host attribute (host only function)
If we check an invoke and find a TreatAsDifferentiableExpr, we do not automatically error with "invalid no_diff use-case", this is incorrect behavior. We only error if TreatAsDifferentiableExpr is of flavor no_diff.

Other changes:

Addition of $ZeroInit to allow us 2 important functionalities: 1. Allows us to use {} inside a __init() 2. it allows us to zero initialize with {} for when a user does not provide a __init() (which is expected behavior).
Due to #4874 we cannot assign functions to global's. As per discussion we will remove this failing functionality inside tests\compute\type-legalize-global-with-init.slang.
We deprecated legacy init-list syntax. This syntax was not removed, only deprecated

Note: to repro the [  FAILED  ] DiffMaterialTests.cpp:DiffPBRTDiffuse (D3D12) Falcor failure the following can be inputted into slangc
-target hlsl -entry testDiffPBRTDiffuse -stage compute ${PATH_TO_FALCOR}\Falcor\Source\Tools\FalcorTest\Tests\DiffRendering\Material\DiffMaterialTests.cs.slang -I ${PATH_TO_FALCOR}\Falcor\Source\Tools\FalcorTest\Tests\ -I C:\code\Falcor\Source\Falcor\Utils\ -I ${PATH_TO_FALCOR}\Falcor\Source\Falcor\ -DSCENE_SDF_GRID_IMPLEMENTATION_NDSDF=1 -DSCENE_SDF_GRID_IMPLEMENTATION_SVS=2 -DSCENE_SDF_GRID_IMPLEMENTATION_SBS=3 -DSCENE_SDF_GRID_IMPLEMENTATION_SVO=4 -DSCENE_SDF_NO_INTERSECTION_METHOD=0 -DSCENE_SDF_NO_VOXEL_SOLVER=1 -DSCENE_SDF_VOXEL_SPHERE_TRACING=2 -DSCENE_SDF_NO_GRADIENT_EVALUATION_METHOD=0 -DSCENE_SDF_GRADIENT_NUMERIC_DISCONTINUOUS=1 -DSCENE_SDF_GRADIENT_NUMERIC_CONTINUOUS=2 -DSCENE_SDF_GRID_COUNT=1 -DSCENE_SDF_GRID_MAX_LOD_COUNT=1 -DSCENE_SDF_GRID_IMPLEMENTATION=0 -DSCENE_SDF_VOXEL_INTERSECTION_METHOD=0 -DSCENE_SDF_GRADIENT_EVALUATION_METHOD=0 -DSCENE_SDF_SOLVER_MAX_ITERATION_COUNT=0 -DSCENE_SDF_OPTIMIZE_VISIBILITY_RAYS=0 -DSCENE_GEOMETRY_TYPES=0 -DMATERIAL_SYSTEM_TEXTURE_DESC_COUNT=1 -DMATERIAL_SYSTEM_SAMPLER_DESC_COUNT=1 -DMATERIAL_SYSTEM_BUFFER_DESC_COUNT=1 -DMATERIAL_SYSTEM_USE_LIGHT_PROFILE=0 -DMATERIAL_SYSTEM_TEXTURE_3D_DESC_COUNT=1 -DSCENE_GRID_COUNT=1 -DFALCOR_MATERIAL_INSTANCE_SIZE=1 -DFALCOR_NVAPI_AVAILABLE=0

Note: import Rendering.Materials.PBRT.PBRTDiffuseMaterial; must be added to the top of Source\Tools\FalcorTest\Tests\DiffRendering\Material\DiffMaterialTests.cs.slang to provide conformances to interfaces.

Note: Falcor is using a c-style-init-list with a non c-style-struct (TriangleHit). This is causing a PR failiure.

Note: any commits after this comment will include "Legacy Slang init-list support" to avoid breaking legacy Slang code

I think @kaizhangNV will have to take over and finish review of this PR (from what I understand), I apologize for the inconvenience this may cause.

@ArielG-NV there is no expectation that you will address any of these.
However if you can put comments on what you think are / are not possible regarding my thoughts, that will be very helpful for @kaizhangNV.

I will leave a 👍 on tasks that should be addressed

@ArielG-NV do you have a non-NV github account that we can reach you?

My non-NV GitHub would be @16-Bit-Dog


[HOLD] [$250] Blue border around Confirm Button has extra space on Password Protected Pdf Modal reported by @huzaifa-99

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open a password protected pdf (either from an existing chat or send a new one in a chat).
A modal with open, click on 'enter the password'
Press Tab and try to focus on 'Confirm' button.
Notice the blue focus outline with extra padding/space on top

Expected Result:
The focus outline should have no extra padding/space on top
Actual Result:
Focus outline has extra padding/space on top
Workaround:
unknown
Platform:

Where is this issue occurring?

Web

Version Number: 1.2.24-0
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/200353608-941e91b8-4420-4efe-b788-0a199c6b7c9e.mp4
https://user-images.githubusercontent.com/43996225/200353738-40f55f5a-aaf6-43a5-92ad-55ec6f972d77.mp4
Expensify/Expensify Issue URL:
Issue reported by: @huzaifa-99
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1667820428100109
View all open jobs on GitHub

Proposal
Use mt4 instead of pt4
https://github.com/Expensify/App/blob/0298f24f5b2c1930de33baf05a767cc5986f3f72/src/components/PDFView/PDFPasswordForm.js#L142

https://www.upwork.com/jobs/~0115543468fa3aedee
@huzaifa-99 please apply for reporting!

Let's hold this issue.. We are creating a follow up PR for https://github.com/Expensify/App/issues/11908 which might fix this indirectly.
cc: @kevinksullivan

https://www.upwork.com/jobs/~0115543468fa3aedee
@huzaifa-99 please apply for reporting!

Applied, thanks

We check first html element with chrome developer tools first.
And then we confirm which script or style make the space.
remove or change style ("user-select: none" or something).

@kevinksullivan So a contributor is fixing this issue as well in this PR https://github.com/Expensify/App/pull/12547 since it is touching the flow and it kind of overlapped with another issue they worked on (this PR is a follow up to existing one).
Since the solution is exactly the same as @Puneet-here proposal here, I think it is fair to pay them $250 and also the reporting bonus is being paid to @huzaifa-99.
I have linked that PR and this issue should be paid out once that is merged and passes the one week regression period.

Thanks for the consideration @mountiny.

all paid out and contracts ended!


Persona Exceeding memory

I wanted to provide a quite extensive persona and apparently it is too much:
ValueError: Edit failed: Exceeds 2000 character limit (requested 7194). Consider summarizing existing core memories in 'persona' and/or moving lower priority content to archival memory to free up space in core memory, then trying again.
My persona includes a quite large example of what I want the agent to give me when I ask for a final answer. How can I put this example in archival memory from the start?

Great idea

@tomsib2001 you can modify the constants here to allow for larger personas: https://github.com/cpacker/MemGPT/blob/main/memgpt/constants.py#L18-L20
However if you're using base gpt-4 with only 8k tokens I wouldn't recommending increasing it too much. Instead (like it seems you're doing) I would recommend putting data into archival, then telling MemGPT in the first message (or even inside the persona file) that eg "there's data in archival that has X and I want to do Y with it".
What's your ideal workflow for your setup/data? We can try to streamline the insert into archival process to make it more intuitive.

I'm not sure how to answer your question directly so I'll give you as many details as I can:
I wanted to try to have MemGPT infer some properties of some code (sorry, I have to stay vague: imagine for example I want to produce a list of functions present in the code and a description of their behavior, in a well-defined format like json or csv). I have already tried directly inferring these properties from the code with a custom prompt, but I feel like an agent operating with memory would be more effective:

I could give it a larger piece of code;
I could break down the tasks into several steps and it could keep track in its memory of which tasks have been done, for which parts of the code;
I can give it one, or many examples of this task being done on some pieces of code so that if it's unsure what to do it can look up this or these examples

However, my first trials (with GPT4 8k)  have proven to be much too costly; as amazing as MemGPT is, it consumes a lot of chatGPT tokens even for the most mundane internal calls. I'm hopin some day I can try it on a local LLama-2, when I get around to buying GPUs...

Hey @tomsib2001, I'm going to close this since it seems like the solution is to preload (or expand the persona limit in the constants).
If you want help setting this code + MemGPT setup (or even running on local LLMs), feel free to open a new issue or discussion and I'm happy to help out (or ping me on Discord).


Adding component semantic colors

This adds colors to component tags for JavaScript frameworks like Vue.
Here is an example:
Before:

After:

Before:

After:

thanks @MrTj458


⚠ Bofrost.lu has degraded performance

In d5af498, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1067 ms

Resolved: Bofrost.lu performance has improved in 0fc3f95 after 6 minutes.


Add support for PayPal Express "Digital Goods" / Micropayments

This is essentially #119 rebased onto master with some minor fixes.
From kenmazaika's original description:
This type of integration with PayPal allows a more integrated approach, where instead of bouncing the user to PayPal in the same window, then bouncing the user back, it allows the user to add JavaScript to their site to do the redirection inside an iframe/lightbox. This integration method has certain limitations, and differences;

CHANGES:
-different redirection url
-build_setup_request => calling this method in the DG integration requires additional parameters (need to include itemized options with category of all the items 'Digital').
-i had to tweak the PayPal Express base class to support additional fields when setting up a request. These fields are allowed in any request, but required for a DG integration
-Digital Goods Integration is only supported at 65+ Version. Upped the version to 72 since that is the latest
-changed the redirect_urls from being cattr_accessor (using the same class variable) to class_inheritable_accessor (plays nicer with inheritence)
-added test cases for this new gateway.

Looks solid in general; am happy to merge if I can get answers to the above questions. Thanks!

Is there anything I can do to help get this merged into master?  I'm happy to help out if there is...

I think it's good to merge, I just need it squashed down into a single commit - thanks!

How come?  Since there are two different authors, I think it makes sense to have at least two commits, one for each author...
I'd be kinda bummed if I got squashed out of the history.  :(

Hmmm... I guess we could keep the commits. Bigger issue at the moment seems to be that the patch won't apply cleanly for me. Can you rebase against master?

Sure, I'll get this applying to master in the next day or two, and make a comment on this pull request when it's ready.

Any update?  I have a current need for this :)

Sorry about the delay.  I'll take a look at rebasing this tonight.
Feel free to do the rebase if you need it right away, and update the pull request in the mean time.  Otherwise I'll get to in an a few hours.

I can wait, I'm just poking :)

I believe I just rebased correctly, and opened a new pull request.
See Pull Request #296.
The only conflicts were whitespace errors, that manually running the git command seemed to automatically fix.
$ git rebase shopify-master
First, rewinding head to replay your work on top of it...
Applying: Add Gateway for Integration with Paypal Express for Digital Goods
Using index info to reconstruct a base tree...
<stdin>:43: trailing whitespace.

<stdin>:118: trailing whitespace.

<stdin>:121: trailing whitespace.
  :login => 'cody',
<stdin>:127: trailing whitespace.
 end
<stdin>:128: trailing whitespace.

warning: squelched 5 whitespace errors
warning: 10 lines add whitespace errors.
Falling back to patching base and 3-way merge...
Auto-merging lib/active_merchant/billing/gateways/paypal_express.rb
Applying: Use class_attribute instead of class_inheritable_accessor if available
Applying: Add more PaypalDigitalGoodsGateway.supported_countries


Backward compatibility issues.

It works perfect with Alexandria (The latest version at the time) and probably Rio, and of course, it's not mandatory but if you want to cover all Delphi versions then there should be some refinements.
I couldn't compile the library properly in some earlier Delphi versions.
Here is the result using XE5 and Berlin.
1- System.JSON is not available in my XE5 (maybe because of an installation fault I'm not sure) but I found this sentence in the Delphi Cookbook - Second Edition by Daniele Teti: Since version 2009, Delphi provides built-in support for JSON.

2- AddStream function is not available in the TMultipartFormData class in this unit: OpenAI.Files, tested with Berlin 10.1

I can't remove System.JSON. And replace with, for example XSuperObject, too.
But with AddStream, you can solve something. Can you find an alternative way to add a stream to TMultipartFormData?

Sure, I already forked the repository, and I will work on these kinds of issues as soon as possible.
I will inform you here at the end.

I managed to make this library work in Delphi 10.2 Tokyo, where AddStream is not available.
I made changes to these units: OpenAI.Audio, OpenAI.Files, OpenAI.Images.
Each line AddStream('file', Stream, FileName); I replaced with simple AddFile('file', FileName);
One more thing.
In TAudioTranslation, TImageEditParams, TImageVariationParams classes I added constructors like this.
constructor TAudioTranslation.Create;
begin
  inherited Create(True);
  Model('whisper-1');
end;

Without those constructors Audio translation, Image edit and variation didn't work. But audio transcription and Image creation worked though.

With the addition of a stream, I know the problem.  But I already added the model to the constructor.  although this is not required, it is only for convenience.  The module can and should be specified when creating a request.

No, you didn't understand me. I added the whole constructor, not just the Model field. Constructor was missing in TAudioTranslation class. It didn't work because of this. Since TAudioTranscription had that constructor, audio transcription worked. Maybe it's only 10.2 Tokyo issue and in Delphi 11 everything works without it.

In Tokyo, is there no equivalent or way to add a stream to the request body field?  If not, then you need to overload the method for Tokyo to transfer only the path to the file and you can do a PullRequest

@AndreyCh74
It's just a suggestion, if you are working on that it would be great if you try to define some compiler directives in this regard and make it efficiently compatible with more Delphi versions.
You just need to indicate the compiler version and write the correct code.
(https://docwiki.embarcadero.com/RADStudio/Sydney/en/Compiler_Versions)

I'm sorry but I have only 10.2 version and can't test the library on earlier versions. I also use old school classics - Delphi 7, but it's totally different.

Update the issue please.


chore(main): release 1.2.5

:robot: I have created a release beep boop
1.2.5 (2023-09-02)
Bug Fixes

Plot Settings (1df97c4)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/chiba-ai-med/Landscaper/releases/tag/v1.2.5 :sunflower:


:bug: Adding ability for the Maven object to create the settings file

We are also adding ability to set the local repository to the M2Dir.

@jortel @mansam This is ready for review, please let me know if there is something that you need changed

Last I checked, ubi9 contains Go 1.18 so we have been development with it to ensure compatibility.  I assume the widespread reformatting was because you used gomft 1.19+ which has, imho, become rather draconian.  If so, that's fine, all of the files will get reformatted when the project updates Go. If not, please revert the unrelated changes.


Config dir detection in flex

Due to issue #16 the config directory detection was changed to:

The detection should be: use the new config dir if Symfony 4.x or (etc/ exists and app/config/ doesn't exist).

However the config directory has been named /config again, instead of /etc (see this issue) so this bundle looks in the wrong directory and throws the following error:

None of the usual Symfony config dirs exist in the application. Create one of these dirs before continuing: "%s/etc" or "%s/app/config".

also, and perhaps slightly unreleated: The default log dir in symfony 4 is var/log and not var/logs.

This pull request seems to fix it : https://github.com/EasyCorp/easy-deploy-bundle/pull/40
It would be so great if it can be merged.

So what ? A solution for this problem today ?

You need to fork the the PR I mentioned above
Then you will use it in your composer.json
This is a temporary fix until it's merged.
    "require-dev": {
        "easycorp/easy-deploy-bundle": "dev-master",
    },
    "repositories": [
        {
            "type": "vcs",
            "url":  "git@github.com:kaizokou/easy-deploy-bundle.git"
        }
    ],

Fixed by #40. Thanks!


Cache: Make database cache universal (not it uses proprietary internal structure)

Or replace Edde's database cache with Symfony PDO cache?

Obsolete.


Refactor ContentStatus to use Typography components

I've left some comments that need addressing @alycrys @joshwooding

@libertymayc I can't see those comments? Are they still pending?


Adding TimeDilation example to documentation

Overview
Adding TimeDilation example to public documentation.
Changes

Adding TimeDilation example to summary.md

Testing

Codecov Report

:exclamation: No coverage uploaded for pull request base (docs-in-monrepo@c7b3d46). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@                Coverage Diff                 @@
##             docs-in-monrepo     #391   +/-   ##
==================================================
  Coverage                   ?   80.97%
==================================================
  Files                      ?       54
  Lines                      ?     1677
  Branches                   ?      272
==================================================
  Hits                       ?     1358
  Misses                     ?      319
  Partials                   ?        0

Flag
Coverage Δ

contracts
79.27% <0.00%> (?)

core-utils
86.80% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
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.


Update projects to .NET Framework 4.7.2

The latest client targets .NET Framework 4.7.2. We will need to update the following items to support the latest client code:

[ ] Build machines. Either:

Install .NET Framework 4.7.2. This currently requires an OS update. Or, ...
Move to MicroBuild for Continuous Integration Builds

[ ] Verify that jobs machine can run .NET Framework 4.7.2 apps
[ ] Update the Process Signature job to target .NET Framework 4.7.2. See https://github.com/NuGet/NuGet.Jobs/issues/695

If the gallery cannot use the .NET Standard 1.6 libraries, also:

[ ] Verify that Azure Cloud Services can run .NET Framework 4.7.2 apps
[ ] Update the Gallery to target .NET Framework 4.7.2

This issue blocks https://github.com/NuGet/Engineering/issues/1891

We will need this for the self-contained icons: client library that will be able to parse new icon elements in .nuspec files is going to be targeting 4.7.2, for us to take that dependency we'd have to upgrade to 4.7.2 as well.


deCONZ - Make sensors sorted on creation for deterministic order

Description:
Related issue (if applicable): fixes #30508
Checklist:

[ ] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the [development checklist][dev-checklist]

Read the issue now. We can't differentiate with unique id?

I guess it's because entities get removed on config entry removal


Confusing PR icons

Hello,
The current related PRs list displays a red + closed icon when a PR has been merged, this is a little confusing as it hints that those PRs have not been merged. An alignment with GitHub (purple with a merged icon) would be nice :)

Thank you @Netail for reporting this. We're taking a look now.

This is definitely a bug in our backend. Looks like we have merged_at set, but not is_merged.

We probably shouldn't have an explicit column for "is_merged", as we can infer that state from the timestamp.
Looping in @frankie567 here as he probably has better knowledge about what could have happened here.

I think you're right here, @emilwidlund. Normally, is_merged is updated using merged_at, but for some reason, it was not. I'll convert that to a computed attribute.

That's it, thank you for the report @Netail 🙏


What to do with examples?

OAPI supports specifying examples for responses and example for fields in schemas, which is useful for the UI, but I'm not sure how they can be used for tooling.

I just used paperclip for the first time and it seems that using example in a definition throws an error:
"definitions": {
        "Profile": {
            "type": "object",
            "properties": {
                "id": {
                    "type": "integer",
                    "format": "int32",
                    "example": 1
                },

The error message I get with "--api v2" is:
error: Invalid value for '<spec>': JSON error: data did not match any variant of untagged enum Resolvable at line 3593 column 10
Deleting all occurrences of example in the json file solved the problem.
Hope this is the right place to comment about this - but I could open a new issue otherwise.


[REFACTOR] Removing all prototype extensions

Nice update!

Please hold on merging this as I'm working through some more changes. Thanks!

I updated the dependencies based on what you would get out of the box with a new ember addon as of<EMAIL_ADDRESS>My goal was to remove all the prototype extensions, which has been done successfully.

Ah ha! awesome! thanks @williamsbdev

Just did the npm publish v1.0.4 (also included a tag for github/updated the changelog to point at the correct sha)


flyway: 5.1.4 -> 5.2.1

Motivation for this change
Supersedes #48523 and make the tool actually runnable
Distribute only the community edition JARs which are the only ones under Apache 2.0 license
This also reduce closure size
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

$ nix path-info -S ./result
/nix/store/mh9vpyxw8068dxzdswj1yy29i5dfq90r-flyway-5.2.1          156906096

$ ./result/bin/flyway -v
Flyway Community Edition 5.2.1 by Boxfuse

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: flyway
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnfree = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnfree = true; }
to ~/.config/nixpkgs/config.nix.


auth problem

Hi
I have installed the plugin from chrome store, however when I click on the yam'in icon and press Allow to connect yammer with the plugin, the next page is blank. The url are:
chrome-extension://glidkleljdoibmjijbkkjndlkhdnkaak/oauth2/oauth2.html?code=CBDlhcjADAF2rBdKvZkKvQ&from=https%3A%2F%2Fwww.yammer.com%2Frobots.txt%3Fcode%3ACBxlhcjAkBF2rkdDvZkKvQ

Same for me.


Improvement performance of IQN

Please describe the feature you want to add.
A clear and concise description of what the feature. Ex. I'm going to implement ...
Improvement performance of IQN
Additional requirement
A clear and concise description of additional requirement for the new feature
Reference
Please append the reference about the feature

[Experiment result] Turn on/off Orthogonal option

![스크린샷 2022-03-17 오전 9.44.39.png](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/425b841b-38b5-4b04-bf3e-f17821b4fa8e/스크린샷_2022-03-17_오전_9.44.39.png)

![스크린샷 2022-03-18 오전 12.49.40.png](https://s3-us-west-2.amazonaws.com/secure.notion-static.com/6ce60f22-caa3-4085-804b-8beda58c1672/스크린샷_2022-03-18_오전_12.49.40.png)


Split Money - Split amount appeared in the user after navigate to different chat

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:
1.Go to  https://staging.new.expensify.com and log in with account
2. Click on Fub menu
3. Click on Split bill
4. Enter a value
5. Click Next
6. Select only one user from your list
7. Click Next
8. Click on Split
Expected Result:
Split amount should displayed in chat after split amount
Actual Result:
Split amount appeared in the user after navigate to different chat
Workaround:
Unknown
Notes:
Issue only reproduced with tester account
Platform:

Where is this issue occurring?

We
mWeb
Android
IOS
Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers<EMAIL_ADDRESS>Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/161320964-2bf1e694-64c3-4c11-9b15-5c4cdafd7b70.mp4

Expensify/Expensify Issue URL:
Issue reported by: Applause
Slack conversation:
View all open jobs on GitHub

@Luke9389 Whoops! This issue is 2 days overdue. Let's get this updated quick!

@Luke9389 Sorry for confusion, when someone splits amount with different user - always gets the request amount title right away.

OK, so just to be sure I understand here, the problem is that when we split a payment with someone, the "Requested ...." message doesn't show up immediately, correct?

Is that last comment correct @kbecciv ?

@Luke9389 Yes, correct - "Requested ...." message doesn't show up immediately.

Ok I think we should close this and re-approach it if necessary after the API is refactored.


Switching layout of FancyZones by mouse wheel scrolling duing drag.

Description of the new feature / enhancement
User can change layout of the Fancyzones during dragging.
So user can put the dragging window to position of other layout.
Scenario when this would be used?
I want to place different types of windows in different locations, but I can't set them all up in one layout.
It can be used to place multiple windows in a specific overlapping position.
I usually place development tools on the left side of the screen, about two-thirds of the total, and related tools are placed at the bottom of the screen and the top right.
Supporting information
No response

Yes
Scrolling up/down to cycle through the zone for the monitor in which the cursor is.
Also tab / ctrl+tab for an equivalent function on the keyboard

/dup https://github.com/microsoft/PowerToys/issues/16082


[WFCORE-3290] Transformer shouldn't reject remoting endpoint resource…

… if no attributes are configured
https://issues.jboss.org/browse/WFCORE-3290

Not currently scheduled.


Sync Pan/Zoom across multiple images

Subject of the issue
Attempting to get panzoom to sync across multiple images
Your environment

version of jquery.panzoom: 3.2.2
version of jquery: 3.2.1
which browser and its version: Firefox 54.0.1

I am using the getMatrix and setMatrix methods to update multiple panzoom images at once, however I can not get more than one additional image to update at once. If I want three images to all zoom and pan in sync only two of them will do so.

Nevermind, figured out what I was doing wrong. For anyone wanting to update multiple images at once this was what I did, I fed the value of getMatrix into setMatrix during an onPan event for each of my images, worked like a charm.


fix wanted: un-merging edges

Current behavior (problematic):
Right now, BTE is "merging edge data" that comes from different operations (those operations can come from the same API or different APIs) - when the triples are the same (subject-predicate-object).
We now want to change this behavior so that BTE is only "merging edge data" if the triple AND ALL of the edge-attributes are identical (this may happen if the API we're using has duplicated data inside).
This change will also mean changing how we generate edge IDs so each ID will be unique. Maybe subject-predicate-object-int where int is just a number (like 1,2,3, etc.)
Notes: this probably has to do with the step of turning raw API responses -> "records" -> edges / TRAPI format...

Background:
Example of a currently merged edge that we want separated into 2 edges - because it seems to include data from 2 different operations' records. It's unclear which source the PMID came from...
                "NCBIGene:3778-biolink:related_to-MONDO:0005105": {
                    "predicate": "biolink:related_to",
                    "subject": "NCBIGene:3778",
                    "object": "MONDO:0005105",
                    "attributes": [
                        {
                            "attribute_type_id": "biolink:primary_knowledge_source",
                            "value": [
                                "infores:disgenet",
                                "infores:semmeddb"
                            ],
                            "value_type_id": "biolink:InformationResource"
                        },
                        {
                            "attribute_type_id": "biolink:aggregator_knowledge_source",
                            "value": [
                                "MyDisease.info API",
                                "SEMMED Gene API"
                            ],
                            "value_type_id": "biolink:InformationResource"
                        },
                        {
                            "attribute_type_id": "publications",
                            "value": [
                                "PMID:21072171"
                            ],
                            "value_type_id": "biolink:publication"
                        }
                    ]
                },

From query:
{
    "message": {
        "query_graph": {
            "nodes": {
                "n0": {
                    "categories": ["biolink:Gene"],
                    "ids": ["NCBIGene:3778"]
                },
                "n1": {
                    "categories": ["biolink:Disease"]
                }
            },
            "edges": {
                "e01": {
                    "subject": "n0",
                    "object": "n1"
                }
            }
        }
    }
}

This may be the section that needs to be updated:
https://github.com/biothings/bte_trapi_query_graph_handler/blob/main/src/helper.js#L52


Trigger on pull_request_target

We're currently processing your upload.  This comment will be updated when the results are available.


About Screen: Adds App Version & Update Button

This commit adds the current app version and the "Update" app button to the "About" screen. The app button does not currently do anything other than fade when pressed.

Resolving Conflicts locally.


Detach Events

We need a way to remove the events that get attached to the element.
            <Entity
                onMouseEnter={this.onMouseEnter}
                onMouseLeave={this.onMouseLeave}
                onClick={this.onClick}
                >

Actually, those props are from aframe-mouse-cursor-component

That is true though, we do need to detach event props when those props are removed.

An idea on that front: Store the event map as a component property (this._eventMap), then only attach a single event listener (regardless of if this._eventMap has any values or not), then inside the event listener, the event name becomes the key into this._eventMap.
We'd need to also add a componentWillReceiveProps() to regenerate the this._eventMap object, then everything else is handled without having to update anything or add / remove any event listeners.

v4.0.x will now diff the events map and register/deregister as necessary.


problem when loading several relations through query parameter

When trying to load several relationships through query parameter via with i always get a call to undefined relationships Exception.
it appears that the relations came as a string and they are not converted to array.
Example: if i make a request like the following
GET users?with=roles,permissions
the response that i get is:
Response: Call to undefined relationship [roles,permissions] on model [App//User]
PD: When i load a single relation via with param the request have no problem at all

Hey, thanks for reporting! This should now be fixed, also tagged a 2.0.6 release.


Updated node-driver-registrar to v2.6.2 for 1.21+

Issue #, if available:
Description of changes:

Updated node-driver-registrar to v2.6.2 for 1.21+

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


dose not work on my terminalserver

Describe the bug
on my personal ts it dose not work, on the one of my company it dose
To Reproduce
Steps to reproduce the behavior:

windows server 2012r2 latest updates on kvm with drivers installed (from virtio-win-0.1.1 iso)

install captura, start it click record

See error
SharpDX.SharpDXException: HRESULT: [0x887A0005], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_DEVICE_REMOVED/DeviceRemoved], Message: The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action.
at SharpDX.Result.CheckError()
at SharpDX.Direct3D11.Device.CreateTexture2D(Texture2DDescription& descRef, DataBox[] initialDataRef, Texture2D texture2DOut)
at DesktopDuplication.MfWriter..ctor(VideoWriterArgs Args, Device Device)
at Captura.Models.MfItem.GetVideoFileWriter(VideoWriterArgs Args)
at Captura.ViewModels.RecordingModel.GetVideoFileWriter(IImageProvider ImgProvider, IAudioProvider AudioProvider, RecordingModelParams RecordingParams, String FileName)
at Captura.ViewModels.RecordingModel.GetVideoFileWriterWithPreview(IImageProvider ImgProvider, IAudioProvider AudioProvider, RecordingModelParams RecordingParams)
at Captura.ViewModels.RecordingModel.SetupVideoRecorder(IAudioProvider AudioProvider, RecordingModelParams RecordingParams)SharpDX.SharpDXException: HRESULT: [0x887A0005], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_DEVICE_REMOVED/DeviceRemoved], Message: The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action.
at SharpDX.Result.CheckError()
at SharpDX.Direct3D11.Device.CreateTexture2D(Texture2DDescription& descRef, DataBox[] initialDataRef, Texture2D texture2DOut)
at DesktopDuplication.MfWriter..ctor(VideoWriterArgs Args, Device Device)
at Captura.Models.MfItem.GetVideoFileWriter(VideoWriterArgs Args)
at Captura.ViewModels.RecordingModel.GetVideoFileWriter(IImageProvider ImgProvider, IAudioProvider AudioProvider, RecordingModelParams RecordingParams, String FileName)
at Captura.ViewModels.RecordingModel.GetVideoFileWriterWithPreview(IImageProvider ImgProvider, IAudioProvider AudioProvider, RecordingModelParams RecordingParams)
at Captura.ViewModels.RecordingModel.SetupVideoRecorder(IAudioProvider AudioProvider, RecordingModelParams RecordingParams)

SharpDX.SharpDXException: HRESULT: [0x887A0005], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_DEVICE_REMOVED/DeviceRemoved], Message: The GPU device instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action.
at SharpDX.Result.CheckError()
at SharpDX.Direct3D11.Device.CreateTexture2D(Texture2DDescription& descRef, DataBox[] initialDataRef, Texture2D texture2DOut)
at DesktopDuplication.MfWriter..ctor(VideoWriterArgs Args, Device Device)
at Captura.Models.MfItem.GetVideoFileWriter(VideoWriterArgs Args)
at Captura.ViewModels.RecordingModel.GetVideoFileWriter(IImageProvider ImgProvider, IAudioProvider AudioProvider, RecordingModelParams RecordingParams, String FileName)
at Captura.ViewModels.RecordingModel.GetVideoFileWriterWithPreview(IImageProvider ImgProvider, IAudioProvider AudioProvider, RecordingModelParams RecordingParams)
at Captura.ViewModels.RecordingModel.SetupVideoRecorder(IAudioProvider AudioProvider, RecordingModelParams RecordingParams)
Expected behavior
some mp4 file is crated
Screenshots
not appliable
server:

OS: win server 2012 r2

RAM: 8GB

CPU: virtual kvm @2,3ghz

Graphic Card: virtual driver:

Captura Version: [e.g. v8.0.0]

Additional context
Add any other context about the problem here like FFmpeg Log or error messages.

ffmpeg log is emty

latest captura version ju just downloaded frok

https://github-production-release-asset-2e65be.s3.amazonaws.com/41589439/f76c6680-6f64-11e9-8436-b00503cbe61f?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20191107%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20191107T004159Z&X-Amz-Expires=300&X-Amz-Signature=9dd0b0cc544575e1c1fe68433d319856c41cf1f99043c26ee4f2948bea7069dd&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B filename%3DCaptura-Setup.exe&response-content-type=application%2Foctet-stream

v9.0.0

sorry my rdp client connection is instable

thanks for help in advance

SharpDX.SharpDXException: HRESULT: [0x8899000C], Module: [SharpDX.Direct2D1], ApiCode: [D2DERR_RECREATE_TARGET/RecreateTarget], Message: There has been a presentation error that may be recoverable. The caller needs to recreate, rerender the entire frame, and reattempt present.
at SharpDX.Result.CheckError()
at DesktopDuplication.Direct2DEditorSession.EndDraw()
at DesktopDuplication.Direct2DEditor.GenerateFrame()
at Screna.Recorder.<>c__DisplayClass14_0.b__2()
at System.Threading.Tasks.Task`1.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Screna.Recorder.d__14.MoveNext()

Did you try using Captura v8.

I built the latest version of Captura from source (Windows 10, Visual Studio Sln) and was able to reproduce the same error message posted by @warichnict
This happens reliably when I use two monitors, but when I switch Captura to record just one monitor, it's fine. I suspect it's an issue with multi-monitor setups.

Some people got this error on single monitor setups too. I've not been able to determine the cause of this error.
Enabling the debug modes of Direct2D/Direct3D might help. Windows SDK needs to be installed for this. Right now I'm having a very bad internet connection and my country is in lockdown.
It would be really helpful if someone would run Captura in Direct2D/Direct3D debug modes and report the results to me.
@ericjang Do you have Windows SDK installed?

Thanks for the speedy reply. I can give it a shot, but I'm a Windows / C# noob so this might take some time. Should I look into https://docs.microsoft.com/en-us/windows/win32/direct2d/direct2ddebuglayer-overview to get started?

Glad that you are willing to help.
Yep, that link contains the required info.
Some things you need to do:

Install Windows SDK. This can be installed using Visual Studio installer.

Direct2D debug layer
Direct2D Factory is created here:
https://github.com/MathewSachin/Captura/blob/16372b1651f8e5a35ab42d6d49be171eec8f024c/src/Captura.Windows/Imaging/Direct2D/Direct2DEditorSession.cs#L90
Debug options need to be passed here like shown in the link.
It would be a bit different regarding parameter names, but visual studio should help with that.

Run the app and start recording, if you get an error that a library is missing with Layers in its name, you need to enable an optional service in Windows 10. But, this should already be enabled.

Let me know if you need more help.


IconButton in a TableCell resizes cell height

When using a IconButton inside a TableCell I am unable to fit the icon inside the table row without increasing the height of the row. This leads to a higher row than the others.

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔
I expected that the small variant of a IconButton should fit inside a TableCell or have any documentation/example that tells me how I can get a IconButton inside a TableCell without accidentally increasing the tables height.
Current Behavior 😯
The table row is a little bit higher than the others.
Steps to Reproduce 🕹
https://codesandbox.io/s/mm1kqy9x58
Context 🔦
We want to add an icon to some table rows.
Your Environment 🌎

Tech
Version

Material-UI
v3.8.2

The icon button now has a size prop, this problem should be solved.

@oliviertassinari Thank you!


Abel updates

updated the redgate demos with detailed instructions on setting up VSTS build and release pipelines as well as better images

@abelsquidhead,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Object manipulation with variable control to display ratio

Object manipulation with variable control to display ratio
I want to precisely position an object with gestures. Therefore, I would like to use a 1:1 control to display ratio for rough positioning in the destination area and later use a e.g. 5:1 ratio for precisely reach my destination.
Describe the solution you'd like
Introduce a float variable (for the object manipulator script), that can be modified in code. The manipulation then uses the float (which is control/display) for the manipulation.
Maybe there is also a solution that I change one variable in code and this applies to all object manipulations.
Additional context
I haven't found anything related, maybe there is already such a variable but not accessable or I simply didn't find it yet.

We appreciate your feedback and thank you for reporting this issue.
Microsoft Mixed Reality Toolkit version 2 (MRTK2) is currently in limited support. This means that Microsoft is only fixing high priority security issues. Unfortunately, this issue does not meet the necessary priority and will be closed. If you strongly feel that this issue deserves more attention, please open a new issue and explain why it is important.
Microsoft recommends that all new HoloLens 2 Unity applications use MRTK3 instead of MRTK2.
Please note that MRTK3 was released in August 2023. It features an all-new architecture for developing rich mixed reality experiences and has a minimum requirement of Unity 2021.3 LTS. For more information about MRTK3, please visit https://www.mixedrealitytoolkit.org.
Thank you for your continued support of the Mixed Reality Toolkit!


Exception thrown when trying to bake probes in Unity

Hey, I'm using Unity 2020.3.23 LTS and experiencing the following issue:

I place an audio probe group and scale it so it envelops a desired area with static, tagged geometry that's been previously exported. This can even be a single cube on an empty scene.
I generate probes.
I press 'bake'.

The bake fails with an exeception:
UnityException: get_defaultPhysicsScene can only be called from the main thread.
Constructors and field initializers will be executed from the loading thread when loading a scene.
Don't use this function in the constructor or field initializers, instead move initialization code to the Awake or Start function.
UnityEngine.Physics.get_defaultPhysicsScene () (at <da6ab58261ca4bf88d2245fa0b5e29ff>:0)
UnityEngine.Physics.RaycastNonAlloc (UnityEngine.Vector3 origin, UnityEngine.Vector3 direction, UnityEngine.RaycastHit[] results, System.Single maxDistance, System.Int32 layerMask) (at <da6ab58261ca4bf88d2245fa0b5e29ff>:0)
SteamAudio.SteamAudioManager.AnyHit (SteamAudio.Ray& ray, System.Single minDistance, System.Single maxDistance, System.Byte& occluded, System.IntPtr userData) (at Assets/Plugins/SteamAudio/Scripts/Runtime/SteamAudioManager.cs:1202)
SteamAudio.Baker.BakeThread () (at Assets/Plugins/SteamAudio/Scripts/Runtime/Baker.cs:286)
System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.Threading.ThreadHelper.ThreadStart () (at <695d1cc93cca45069c528c15c9fdd749>:0)
UnityEngine.<>c:<RegisterUECatcher>b__0_0(Object, UnhandledExceptionEventArgs)
SteamAudio.API:iplPathBakerBake(IntPtr, PathBakeParams&, ProgressCallback, IntPtr)
SteamAudio.Baker:BakeThread() (at Assets/Plugins/SteamAudio/Scripts/Runtime/Baker.cs:286)
System.Threading.ThreadHelper:ThreadStart()

The issue fixed itself after wiping and reimporting steam audio.


no longer shows NAN when user deletes value which now allows for requ…

…ired checks. Also added in a fix so user can not enter non currency values.

any plan to merge this PR?

@kolisko and @thomaswdean this branch has conflicts, do you guys plan to fix it? :)

Hi, @thomaswdean: there's a fork of this project that has been initiated by user @christopheelkhoury (https://github.com/cesarrew/ng2-currency-mask/issues/121#issuecomment-494402315). He's offered to work on some of the issues this project has, and has invited everyone with an open issue or pull request to re-issue them on his copy. If you're interested, please check out his repository.


refactor(app): verify probe presence before pipette calibration and labware position check

Overview
The app now checks for probe presence for pipette before performing pipette calibration and labware position check.

The nesting definitely ended up being needed but @smb2268 you're right the instruments query was not, so ditched that. Tested on a robot.


Web - Workspace - While deleting workspace, error appears briefly

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Login into same account in 2 tabs.
From first tab, open List Workspace screen.
From second tab, delete one of the workspace, quickly move to the first tab.
Notice that the workspace list shows error briefly before being deleted.

Expected Result:
User should delete Workspace without any error.
Actual Result:
Error message is displayed
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Version Number: <IP_ADDRESS>.
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/231879491-6eede3da-f353-45ca-ae1c-9b7f64d52bdb.mov
https://user-images.githubusercontent.com/93399543/231879550-8083b1c0-8105-4264-8e01-1eb26696f4f5.mp4
Expensify/Expensify Issue URL:
Issue reported by: @hungvu193
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1681371067306289
View all open jobs on GitHub

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@greg-schroeder Whoops! This issue is 2 days overdue. Let's get this updated quick!

@greg-schroeder Huh... This is 4 days overdue. Who can take care of this?

Sorry for delay, will handle today

@greg-schroeder Huh... This is 4 days overdue. Who can take care of this?

@greg-schroeder this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@greg-schroeder 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

@greg-schroeder 12 days overdue. Walking. Toward. The. Light...

@greg-schroeder 12 days overdue. Walking. Toward. The. Light...

@greg-schroeder this issue is now 3 weeks old. There is one more week left before this issue breaks WAQ. What needs to happen to get a PR in review this week? Please create a thread in #expensify-open-source to discuss. Thanks!

Apologies for the delay on this, I was dealing with some personal issues and this fell to the wayside. I've cleaned up the issue and am going to manage it properly going forward.

Hmm, I wasn't able to reproduce this:
https://github.com/Expensify/App/assets/29386373/0530f96f-bd1f-4bc4-b255-b72dd86cd910
Sorry, I know it has been a while @hungvu193 - can you tell me if you're still seeing this behavior?

@greg-schroeder I'm still able to reproduce, you should open 2 windows at the same time, you can see it easier


Allow user to set an external tracker url and forward to it

This is the same as my PR #3646 I suggest on Gogs

BTW, a rebase to master would be nice (to reduce the change to a single commit)

@strk you need to write the LGTM as a regular comment, LGTM is not aware of approval comments yet.
Beside a required rebase it LGTM.

Does it need to be just a single world: LGTM or would things like "I would not say LGTM" be taken as an approval ? :)

Looks like it was interpreted as approval (ok, in this case)

Current coverage is 2.18% (diff: 100%)

Merging #41 into master will not change coverage

@@            master       #41   diff @@
========================================
  Files           31        31
  Lines         7508      7508
  Methods          0         0
  Messages         0         0
  Branches         0         0
========================================
  Hits           164       164
  Misses        7327      7327
  Partials        17        17

Powered by Codecov. Last update 17f9ab4...eaa737f


Fix rest NPE get tgt once

I'm happy you don't consider it to be a hack any more.

Wonderful. Thanks very much for continuing with this.


Application Exception: Request timed out

This is an issue created automatically by GrammarNazi when an exception was captured.
Date (UTC): 03/16/2022 08:37:13
Exception:
Telegram.Bot.Exceptions.RequestException: Request timed out
---> System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
---> System.TimeoutException: The operation was canceled.
---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.
---> System.IO.IOException: Unable to read data from the transport connection: Operation canceled.
---> System.Net.Sockets.SocketException (125): Operation canceled
--- End of inner exception stack trace ---
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](TIOAdapter adapter)
at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](TIOAdapter adapter, Memory1 buffer)    at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)    --- End of inner exception stack trace ---    at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)    at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)    at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)    at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)    --- End of inner exception stack trace ---    --- End of inner exception stack trace ---    at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)    at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken)    at Telegram.Bot.TelegramBotClient.<MakeRequestAsync>g__SendRequestAsync|22_0[TResponse](HttpClient httpClient, HttpRequestMessage httpRequest, CancellationToken cancellationToken)    --- End of inner exception stack trace ---    at Telegram.Bot.TelegramBotClient.<MakeRequestAsync>g__SendRequestAsync|22_0[TResponse](HttpClient httpClient, HttpRequestMessage httpRequest, CancellationToken cancellationToken)    at Telegram.Bot.TelegramBotClient.MakeRequestAsync[TResponse](IRequest1 request, CancellationToken cancellationToken)
at Telegram.Bot.Extensions.Polling.DefaultUpdateReceiver.ReceiveAsync(IUpdateHandler updateHandler, CancellationToken cancellationToken)
Exception caught counter: 4.

Telegram API was down


[Feature Request] View escaped characters without leading ""

When converting files from html to markdown using pandoc, quotes (both single and double) are escaped with a "\" prefix. Would it be possible to hide these leading slashes?

When converting files from html to markdown using pandoc, quotes (both single and double) are escaped with a "" prefix. Would it be possible to hide these leading slashes?

That's actually very hard to do since Tree-sitter doesn't really know where something is.
You can probably use matchadd()(you will need some robust regex for it or else it might not work).
Doing it inside the plugin can be hard since I will have to constantly check for them in inline codes, links , tables etc. at the same time I will have not conceal them in places like code_blocks.
It is not really performant to check every line(or else we wouldn't use Tree-sitter for everything). Plus it's hard to keep track of. Not to mention there are too many what-ifs.
This should probably be a formatters job since that's something they can do. So, you should probably look if any of the markdown formatters can achieve that.

I'll look into it more, thanks for the quick reply!


Doesn't e_akv engine work with openssl ts command?

With liupums's great example, I've got succeed to work nginx ssl with e_akv engine.
Thanks!
I have an another issue, does e_akv engine support openssl ts command?
I run an openssl ts command as follows, and got some error.
Do I have to do something more procedures to it?
openssl ts -reply -queryfile ./index.php.tsq -config ../rootca.conf -engine e_akv -inkey managedHsm:ContosoMHSM2:testrsakey -signer ./tsa.pem -out index.php.tsr
Using configuration from ../rootca.conf
Response is not generated.
139705588585792:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('managedHsm:ContosoMHSM2:testrsakey','r')
139705588585792:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76:
139705588585792:error:2F09B08A:time stamp routines:TS_CONF_load_key:cannot load private key:../crypto/ts/ts_conf.c:97:

it is not the issue for engine. See https://github.com/openssl/openssl/issues/16427


Initial golang and typescript SDK and templates

This is a large PR with lots of generated files, so here is a walkthrough.  Basically each language SDK has templates, those templates are used to generate a "raw" API, and there is a handcrafted but light wrapper to "cleanup" the result or provide convenience methods.

./.vscode/

settings to run/debug unit tests in vscode

./Makefile

add code generation commands

./sdk/esc-api.rest

vscode REST extension file to play with APIs

./sdk/templates

downloaded templates using `openapi-generator-cli author template -g  -o -./sdk/templates/<generator_output_dest>
This is so we have control but also for go and python we need to add yaml support and some files to support a "raw" client

./sdk/swagger.yaml

handcrafted swagger/openapi spec

./sdk/**/.openapi-generator-ignore

suppresses generation of superfluous files

./sdk/go/api_esc_extensions.go

handcrafted wrapper over the raw API client

./sdk/go/api_esc_test.go

handcrafted E2E tests

./sdk/typescript/esc/index.ts

handcrafted wrapper over the raw API client

./sdk/typescript/test/client.spec.ts

hand crafted E2E tests

A few questions here:

How will we keep the SDK up to date?

Code gen does a lot of the heavy lifting, but the wrapper requires manual work.  But that really took me a couple hours and once boilerplate there was easier as it went along.

Is the generated code deterministic?

Because we download  the templates it is very deterministic.

Can we add a target for testing the TS/JS SDK (or is that already covered?)

What do you mean by target?  Like code coverage?  Right now the code coverage is low (like 33% last I checked) because the code generated models are very detailed but I think the prime scenarios are well covered.

Can we add a step to our GH action to invoke the code generator + run tests?

We can certainly run tests.  I would prefer, at least initially, that we choose when we run the generator as it really only matters when we update the swagger.yaml doc, but even then would want the dev to run it and include it in the PR.

A few questions here:

How will we keep the SDK up to date?

Code gen does a lot of the heavy lifting, but the wrapper requires manual work. But that really took me a couple hours and once boilerplate there was easier as it went along.

👍

Is the generated code deterministic?

Because we download the templates it is very deterministic.

👍

Can we add a target for testing the TS/JS SDK (or is that already covered?)

What do you mean by target? Like code coverage? Right now the code coverage is low (like 33% last I checked) because the code generated models are very detailed but I think the prime scenarios are well covered.

A target in the Makefile that we can run (or just include this in the test target).

Can we add a step to our GH action to invoke the code generator + run tests?

We can certainly run tests. I would prefer, at least initially, that we choose when we run the generator as it really only matters when we update the swagger.yaml doc, but even then would want the dev to run it and include it in the PR.

This is contrary to our historical approach to code generation. In the past we've run codegen with each PR and then checked for a dirty working tree in order to ensure that our generated code is out-of-date. I have a slight preference for this style, as it makes it easier to ensure that the swagger definition doesn't drift from the generated SDK.


Domains configured under /domains (json) are not loaded at gateway startup

From https://github.com/gravitee-io/issues/issues/601
Hi,
We have a domain configured into the /domains dir.
This json file is not loaded at gateway startup.
Only the "default" domain "admin" is shown in logs and is stored in the Management repository (MongoDB DS).
Part of the configuration is below:
services:
  # Local registry service.
  # This registry is used to load domain definitions with json format from the file system.
  local:
    enabled: true
    path: ${gravitee.home}/domains # The path to domain descriptors

I can send the custom domain conf privately.
Am I missing something?

Hello @bcollard,
There is no more local registry since the first official version of Gravitee.io AM.
Local registry was introduced because of a lack of UI to manage security domains at the very beginning of the project.
So the best option for you is to migrate your previous domain definition (json) into a domain managed by the gateway itself (using the UI or by invoking the Rest API).
Is this response ok for you ?


helpers: add debug facilities

I'm not very sure if this is needed anymore, since I couldn't find any debug print statements in code. Maybe it'll help in the future.
To use the functionality my preferred method is to import it and alias it within the library and use that in rest of the library.
// utils.go
package lib

import "github.com/janekolszak/idp/helpers"

var (
    debug  = helpers.Debug
    debugf = helpers.Debugf
   // ...
)

func funky() {
    debug("debugging")
}

I have used stack trace functionality in https://github.com/pkg/errors. Unfortunately useful parts are not exported, so I had include that in this package.

Thanks! Is it possible to use it with a logging library that shows file:line_number where the function was called?

We could call a logging library instead of current fmt or we could use a
logging library directly instead of these helpers if said logging library
supported file:line.
It won't be possible to wrap a logging library with file:line support as
then caller would always report file:line of wrapping function.
On Sat, Jul 9, 2016, 20:46 Jan Olszak<EMAIL_ADDRESS>wrote:

Thanks! Is it possible to use it with a logging library that shows
file:line_number where the function was called?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/janekolszak/idp/pull/14#issuecomment-231540713, or mute
the thread
https://github.com/notifications/unsubscribe/ABs0pmJLNhsBBtViORwhdN4jScJIoHg2ks5qT8JIgaJpZM4JImnu
.


Fix #235: Reset file read stream after first request

Hello everyone,
on our project with experienced the same problem as described in #235.
As the author concludes nock doesn't return data because the fs readstream is already read to the end and cannot be read a second time.
My proposed fix is to create a new fs read stream if the counter set by .times() (or an alias) has not yet reached zero. This fixes the freeze in our test cases.
Best regards,
Benjamin

Coverage remained the same at 92.98% when pulling 19bb1bb752fb914464219bb44a6a472a763ac12a on benurb:fix/235/replyWithFile into 65cd32e84c98668ff756684df244f48f068ead2f on pgte:master.

Coverage remained the same at 92.98% when pulling 19bb1bb752fb914464219bb44a6a472a763ac12a on benurb:fix/235/replyWithFile into 65cd32e84c98668ff756684df244f48f068ead2f on pgte:master.

@benurb thanks!
Fix landed on v1.2.1.

Wow, that was quick. Thank you very much :+1:


rename to ollama service to llm service

This is used by https://github.com/llm-operator/vector-store-manager/pull/34


Display the URL in the Sample Request Box

This is an enhancement required so that the user can see the type of API call  (GET, POST, PUT, DELETE) without having to click on Try It Now.

Already release on http://docs.dev.oski.io


chore(publishBehavior): convert publishBehavior specs to run mode

Description:
This PR converts publishBehavior tests to run mode.

Related issue (if exists):
None

@cartant: just to be clear, when you're merging these, are you also updating the 8.x branch? (cherry pick or merge is fine, I've been doing merges lately)

just to be clear, when you're merging these, are you also updating the 8.x branch?

Ah, nope. I didn't cherry pick. I can do so tonight.


token-2022: Update base instruction processor, token-metadata, and token-group to use in-place deserialization

Problem
Although almost all of the extensions in token-2022 use Pod-style in-place deserialization, the base type (Account and Mint) is still deserialized onto the stack, modified, then written back into the account data. This operation can use up a lot of compute units.
Solution
It's a bit of a ride to get there, but all of the commits in this PR aim to convey the story:

1b80d0f666a45ea66302225a6d0569a11095000e: update the baseline CU usage numbers
32d199e9251d3c5d9bcf24097e69b004490cd6a5: refactor the mutable side of StateWithExtensionsMut into a trait, to be implemented in a new Pod-compatible version of StateWithExtensions and StateWithExtensionsMut
37b60a93539999a1f3bb4e5d537947752bc2b984: introduce a new PackedSizeOf trait, since BaseState requires that all types implement Pack. We want Pod types to be usable too, so we introduce a trait that just requires a LEN to be declared, which can be used by Pod and Pack types
e10b210416178f95d5b6cceac7ffa84ea7e75024: Add the Pod versions of StateWithExtensions and StateWithExtensionsMut
83fa5f5aa8adc454d22ecb6779ec20b022a2758d: Add Pod versions of the base token account types
aa8342c5e918b19c604eda61f8425b84860b489d: On the Pod library, add const-compatible creators (to be used for the tests in the extensions/mod.rs)
2867025e835c2402775c5fcc0456024c16bae0d1: Add new versions of the alloc_and_serialize_* functions to work with Pod instead of Pack. This is total copy-pasta, but making unpack work on a trait got extremely hairy. The idea is to introduce these functions, and then remove the old ones when their users in the token-group and token-metadata extensions have updated
cf28922f45b04d42d9626fe2d710379fa855e882: Add some test helpers -- we want all of the tests in extension/mod.rs to use the Pod types, so this will help a lot
20eff9c368cd7c501b50a0b942abe9c65be5ac82: Convert all the tests! Two errors that are returned change in the tests, because the order of checks differs between the Pack and Pod implementations

From there, we have everything in place! So we add a new instruction count test for transfer_checked in 1610ab107776c4d7e0aedc8b72994780ebadf676, then we get to work converting everything. The results are pretty awesome: for the most part, instructions take up half the CUs from before.
A lot of these can be certainly broken up, so let me know if it makes more sense to reduce this PR, maybe by splitting out the changes to spl-pod and only including everything up to 20eff9c368cd7c501b50a0b942abe9c65be5ac82 (inclusive). I wanted to see the impact of the change.

Erm, could you update the description with a line that summarizes what this PR is actually doing? I'm guessing it's implementing Pod-style in-place deserialization for base account types based on the problem statement, but I don't know for sure without grokking all the intermediate steps.

let me know if it makes more sense to reduce this PR

Yes, please.


operator couchbase-enterprise-certified-rhmp (2.6.1-1)

/pipeline restart operator-release-pipeline


Bad Gateway app login - serious issue

Hi there, I have spent  countless hours trying to configure nginxproxymanager on my server.
My server details:
OS: Centos 7
Nginx
Docker and docker compose latest version.
I am using https://vpssim.com/.
I created a subdomain and in the public_html folder I created both files config.json and docker-compose.yml
The first issue i faced is port 443 is used to generate certificate and 80 is being used by Nginx, so i have to find a way to change the ports.
So I did a little configuration by changing the port like this
  **- '8080:80'
  - '81:81'
  - '8443:443'**

Great, it works and the port 3306 is running

The issue after this is whenever i try to login it says Bad Gateway

I have read many threads about this issue,
Here is what I have done
Change "host": "db" to "host": "my server IP", - Does not work
Change "host": "db" to "host": "subdomain.mywebsite.com", - Does not work
Turned off Nginx via systemctl stop nginx.service and run on the defaults ports (port 443 and 80)- Does not work
Here is log file
2020/07/29 11:21:24 [error] 245#245: *1973 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81" 2020/07/29 11:21:30 [error] 245#245: *1975 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81" 2020/07/29 11:21:35 [error] 245#245: *1977 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81" 2020/07/29 11:21:40 [error] 245#245: *1979 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81" 2020/07/29 11:21:45 [error] 245#245: *1981 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81" 2020/07/29 11:21:49 [error] 245#245: *1984 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "nprxy.mywebsite.com:81", referrer: "http://nprxy.mywebsite.com:81/" 2020/07/29 11:21:51 [error] 245#245: *1986 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81" 2020/07/29 11:21:56 [error] 245#245: *1988 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81" 2020/07/29 11:21:59 [error] 245#245: *1984 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "POST /api/tokens HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/tokens", host: "nprxy.mywebsite.com:81", referrer: "http://nprxy.mywebsite.com:81/login" 2020/07/29 11:22:01 [error] 245#245: *1991 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81"
How i can solve this issue.
Thanks.

Hi there, I have spent countless hours trying to configure nginxproxymanager on my server.
My server details:
OS: Centos 7
Nginx
Docker and docker compose latest version.
I am using https://vpssim.com/.
I created a subdomain and in the public_html folder I created both files config.json and docker-compose.yml
The first issue i faced is port 443 is used to generate certificate and 80 is being used by Nginx, so i have to find a way to change the ports.
So I did a little configuration by changing the port like this
  **- '8080:80'
  - '81:81'
  - '8443:443'**

Great, it works and the port 3306 is running

The issue after this is whenever i try to login it says Bad Gateway

I have read many threads about this issue,
Here is what I have done
Change "host": "db" to "host": "my server IP", - Does not work
Change "host": "db" to "host": "subdomain.mywebsite.com", - Does not work
Turned off Nginx via systemctl stop nginx.service and run on the defaults ports (port 443 and 80)- Does not work
Here is log file
2020/07/29 11:21:24 [error] 245#245: *1973 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81" 2020/07/29 11:21:30 [error] 245#245: *1975 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81" 2020/07/29 11:21:35 [error] 245#245: *1977 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81" 2020/07/29 11:21:40 [error] 245#245: *1979 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81" 2020/07/29 11:21:45 [error] 245#245: *1981 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81" 2020/07/29 11:21:49 [error] 245#245: *1984 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "nprxy.mywebsite.com:81", referrer: "http://nprxy.mywebsite.com:81/" 2020/07/29 11:21:51 [error] 245#245: *1986 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81" 2020/07/29 11:21:56 [error] 245#245: *1988 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81" 2020/07/29 11:21:59 [error] 245#245: *1984 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "POST /api/tokens HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/tokens", host: "nprxy.mywebsite.com:81", referrer: "http://nprxy.mywebsite.com:81/login" 2020/07/29 11:22:01 [error] 245#245: *1991 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81"
How i can solve this issue.
Thanks.

i have the same issue

@wschlotter
I got it working!
db_1 | 2020-09-19 12:31:16 0 [ERROR] InnoDB: The Auto-extending innodb_system data file './ibdata1' is of a different size 0 pages than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!
All I did was delete the .ibdata1 file that shows 0kb
And then re-deploy the whole setup. Now it generates a new clean .ibdata file that is around 12Mb size

I fixed by change docker-compose.yml from
db:
image: jc21/mariadb-aria:10.4
to
db:
image: mariadb:latest

Fixed the issue for me as well.  Many thanks @godsom !

For me on a RPI 3 running Hypriot
db:
image: mariadb:latest

does not work, but this does:
db:
image: yobasystems/alpine-mariadb:armhf

@wimmme did not work for me on my rpi2

@wimmme did not work for me on my rpi2

This worked for me also...running on a pi4. Thank you wimmme
creating config.json
and
editing docker-compose.yml
db:
image: yobasystems/alpine-mariadb:armhf

This worked for me also...running on a pi4. Thank you wimmme
creating config.json
and
editing docker-compose.yml
db:
image: yobasystems/alpine-mariadb:armhf

This works on my RPi2
version: "2"
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    restart: always
    ports:
      # Public HTTP Port:
      - '80:80'
      # Public HTTPS Port:
      - '443:443'
      # Admin Web Port:
      - '81:81'
    environment:
      # These are the settings to access your db
      DB_MYSQL_HOST: "db"
      DB_MYSQL_PORT: 3306
      DB_MYSQL_USER: "npm"
      DB_MYSQL_PASSWORD: "npm"
      DB_MYSQL_NAME: "npm"
      DISABLE_IPV6: 'true'
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
    depends_on:
      - db
  db:
    image: yobasystems/alpine-mariadb:latest
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: 'npm'
      MYSQL_DATABASE: 'npm'
      MYSQL_USER: 'npm'
      MYSQL_PASSWORD: 'npm'
    volumes:
      - ./data/mysql:/var/lib/mysql

the trick besides changing the image for the DB is to use version: "2"

This works on my RPi2
version: "2"
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    restart: always
    ports:
      # Public HTTP Port:
      - '80:80'
      # Public HTTPS Port:
      - '443:443'
      # Admin Web Port:
      - '81:81'
    environment:
      # These are the settings to access your db
      DB_MYSQL_HOST: "db"
      DB_MYSQL_PORT: 3306
      DB_MYSQL_USER: "npm"
      DB_MYSQL_PASSWORD: "npm"
      DB_MYSQL_NAME: "npm"
      DISABLE_IPV6: 'true'
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
    depends_on:
      - db
  db:
    image: yobasystems/alpine-mariadb:latest
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: 'npm'
      MYSQL_DATABASE: 'npm'
      MYSQL_USER: 'npm'
      MYSQL_PASSWORD: 'npm'
    volumes:
      - ./data/mysql:/var/lib/mysql

the trick besides changing the image for the DB is to use version: "2"

I'm running on Ubuntu 20.04 inside a virtual machine.
Docker version 20.10.3
docker-compose version 1.28.2
2021/02/17 01:36:08 [error] 261#261: *33 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81"
2021/02/17 01:36:13 [error] 261#261: *35 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81"
2021/02/17 01:36:17 [error] 261#261: *5 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "POST /api/tokens HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/tokens", host: "<IP_ADDRESS>:81", referrer: "http://<IP_ADDRESS>:81/login"
2021/02/17 01:36:18 [error] 261#261: *38 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81"
2021/02/17 01:36:24 [error] 261#261: *40 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: nginxproxymanager, request: "GET /api/ HTTP/1.1", upstream: "http://<IP_ADDRESS>:3000/", host: "<IP_ADDRESS>:81"

Here is my config:
version: '3'
services:
  app:
    image: 'jc21/nginx-proxy-manager:latest'
    ports:
      - '80:80'
      - '81:81'
      - '443:443'
    environment:
      DB_MYSQL_HOST: "localhost"
      DB_MYSQL_PORT: 3306
      DB_MYSQL_USER: "nginx"
      DB_MYSQL_PASSWORD: ""
      DB_MYSQL_NAME: "nginx"
    volumes:
      - ./data:/data
      - ./letsencrypt:/etc/letsencrypt
  db:
    image: 'mariadb:latest'
    environment:
      MYSQL_ROOT_PASSWORD: ''
      MYSQL_DATABASE: 'nginx'
      MYSQL_USER: 'nginx'
      MYSQL_PASSWORD: ''
    volumes:
      - ./data/mysql:/var/lib/mysql
      ```
Firewall:

Status: active
To                         Action      From

22                         ALLOW       Anywhere
81                         ALLOW       Anywhere
80                         ALLOW       Anywhere
443                        ALLOW       Anywhere
3000                       ALLOW       Anywhere

![download](https://user-images.githubusercontent.com/6620597/108144212-3bc3ea80-7097-11eb-9f3a-5b22206e08e3.png)

Any ideas?

First rule of docker debugging:
docker logs name_of_npm_container

@jc21 I resolved it by changing my MYSQL IP in the docker-compose.yml to the IP of the docker container. All is well now, thanks!

In your example you can also set the database host name to db since it's in the same docker-compose file


Default value in pop up datetime.

I am sorry, I have one more question please. It is so wierd when the popup showing the current datetime when I need to edit it. How to make it only 00:00 if the value is not set yet, and only show the real value if it has been set, so it doesn't look for the curent datetime.
Thank you very much

You should initialize your model value to 00:00 in your controller. The picker is not choosing any values on its own, but always uses ng-model. The only exception is when ng-model is not a valid Date instance, it is set to new Date().

The ng-model has value 10:15, but when I click it to edit, the pop up start the time as the current time in my dekstop computer which is 1:41

Please help me to fix it. Please...

Only Date instances are supported as model values.

Here is the code pen when I change the model to H:mm
http://codepen.io/alkasih/pen/mOqbOP

For this project what I need is only hour and minutes, so I don't need date to input. Any idea to help me please?

new Date(0, 0, 0, 10, 15)

var mytime = '12:30';
new Date(0, 0, 0, 10, 15);
How do I convert it?

new Date(0, 0, 0, 12, 30)

:D It is so static. It should be dynamic.

Sorry but this is super simple task for any, even sub-par programmer. D you want to hire me?

It is ok, I can handle it. You are magic and so cute. Thank you for all of this. <3