[ENH] - Create shared directory only if group has permissions

Feature description
At the moment, when a group is created in Keycloak, a shared directory is created for that group in the NFS, example:
akumar:~
05:04 $ ls shared/ -ltrh
total 8.0K
drwxrwxrwx 4 0 0 4.0K Feb 14 12:34 analyst
drwxrwxrwx 6 0 0 4.0K Apr 12 06:17 developer

Based on the groups the user is present in, the user have access to those.
We need to change this behaviour such that the shared directory is only created if a keycloak role with following attributes is attached to the group:
Role: create-shared-directory (name is only for example, it could be arbitrary)

Key
Value

resource
shared-directory

scopes
write:shared

This issue is part of the permissions RFD: https://github.com/nebari-dev/governance/issues/47
Notes for implementation:

We would need to filter groups with roles here: https://github.com/nebari-dev/nebari/blob/3e0f41d6a0f48194e7962c9c260c46fdc2472f52/src/_nebari/stages/kubernetes_services/template/modules/kubernetes/services/jupyterhub/files/jupyterhub/03-profiles.py#L130
To make this backwards compatible we need to make sure that this role is applied to default groups we currently create in Nebari
The edge case where a group had the above role and was later the role was removed from it: the shared directory for the same should not be removed as it could have user data and that might get lost and cause unexpected behaviour.
All the roles should be client specific, as in it should be part of a client like jupyterhub, grafana, conda_store, etc. In this case the role should be part of jupyterhub client. See example below (keycloak screenshot):

Value and/or benefit
This gives us the ability to selectively created shared directory for keycloak groups as the user might not want to create shared directory for every group they create in keycloak.
Anything else?
No response

Just a quick update on this.
I've finished refactoring the parser to spawner.py to handle the new role scopes for the mounts (I used the sample response shared here) and added the new roles for backward compatibility for analyst, developer, admin (I got a minor error with terraform, currently addressing it).
The only thing that needs to be added is getting the actual dict containing the roles from the Keycloak authenticator within the spawner. There is a function already present within the spawner that should allow to get the loaded_roles as part of the user metadata, I will be testing this today.


Make sure that all unittests are executed

I added a line at the end of $CLIENT_LOG which contains a simple JSON showing the number of tests failed and executed. If this looks good to you, I will add this to all other unittests. The test result report looks like this:
{"total": 42, "errors": 0, "failures": 0, "skipped": 0}

@deadeyegoodwin @CoderHam I fixed all the problems. There are 6 tests failing which is not related to these changes.

@deadeyegoodwin @CoderHam I fixed all the problems. There are 6 tests failing which are not related to these changes.

Great! Can you rebase to master then and re-run CI. None of the test should fail if you base off of master.

@deadeyegoodwin None of the tests is failing now. There is only a performance test failing which I saw that happens in other MRs as well.


Scroll position should not change when returning to file

VSCode Version: Code - Insiders 1.16.0-insider (0b6da14128b4e61e331193f18786e8db2792a643, 2017-08-11T19:30:08.812Z)
OS Version: Windows_NT x64 6.1.7601
Extensions: none

Description
The scroll position moves down as references are retrieved. For large files, the position can be many lines away.
Steps to Reproduce:

Set typescript.referencesCodeLens.enabled to true.
Open any TS file (easiest to see when the file contains an enum).
View a different file.
Return to the original file.

Related to CodeLense?

I just enabled referencesCodeLens and notice the same. We lost the place where we are even if the references were already loaded.

I am seeing the same and it only happens with code lens enabled. I see it in 1.16 but much more pronounced in 1.17.0-insider 2c385b98066eebb8e39dfd98b1fcb8cc254196b6

Had this happen as well. Changing "typescript.referencesCodeLens.enabled" to false helped.
The same/very similar problem occurs with the Git Lens extension (https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens ) with "gitlens.codeLens.enabled": true. This one might be less pronounced. Probably because the extension adds fewer lines than TypeScript CodeLens.
Windows 10, 64bit. VSCode 1.16.1, but I'm sure it was a problem before this version.

I have noticed the same behavior: after switching a tab, and then back the editor has scrolled away from its previous position. After setting "typescript.referencesCodeLens.enabled" to false this behavior disappeared.
With referencesCodeLens enabled, just switching tabs and back again, loses the previous cursor position.

dupe of #19917


5432 port exposed

We did not quite finished with removing port 5432 from the latest SPFx versions (1.13.0. and 1.13.1): https://github.com/pnp/docker-spfx/blob/6a901466c7f82cb764db57bca65e012c2dd0386c/Dockerfile#L3

Good catch! Let's remove it from the images where it's no longer necessary

https://github.com/pnp/docker-spfx/pull/71


Optionally include license text in the License element

This is an enhancement proposal to the CycloneDX specification to support license text.
...
            <licenses>
                <license>
                    <name>Juanjo's made-up License</name>
                    <text>Juanjo Diaz(r) Source Code License Agreement\n\nCopyright(c) 2019 Juanjo Diaz. All rights reserved.</text>
                </license>
            </licenses>
...

There is two use cases for this:

Non-standard licenses that have their own license text
Standard Licenses that has placeholders (like MIT with the year and the owner, https://spdx.org/licenses/MIT.html#licenseText)

This is specially important for licenses that require it's to be include in any derivative work.
In somes cases this can be automatically obtained from the LICENSE or LICENSE.md file in the asset (specially node or python). NuGet only seem to include the license URL as NPM does (optionally) so a url field might be also a good addition to the license element.
This proposal might be somehow related to #7 which proposed generic external reference to include, among other, the URL containing the full text of the license. However, I think that this would fit better in the license element.

This is specially important for licenses that require it's to be include in any derivative work.

Agreed

Hi @stevespringett,
What would be the next step to move this forward?
My organization has some people ready to get this in and implement the necessary changes in the node module and possibly others.

@juanjoDiaz Glad to know your org finds CycloneDX useful and am always happy to have contributions. CycloneDX is a versioned schema. There are a number of improvements coming in schema v1.1. They're documented here: https://github.com/CycloneDX/specification/milestone/1. Most are done or may have minor changes left. SPDX expressions is currently in progress and will likely be complete in the next day or two.
The plan is to release 1.1-DRAFT-2 this week followed and a third and final draft the week after. Assuming all tests pass and the community doesn't have any objections, 1.1 will be released on March 1. At that point, all official CycloneDX implementations will need to be updated to support both 1.0 and 1.1 of the specification.
For the <text> element, I think it would be good to support optional content-type and encoding. For example:
Defaults to: content-type: text/plain with no encoding
<text>text goes here</text>

Overriding the default with the specified content-type
<text content-type="text/markdown">text goes here</text>

Overriding the default with the specified content-type and encoding
<text content-type="text/xml" encoding="base64">PGxpY2Vuc2U+dGV4dCBnb2VzIGhlcmU8L2xpY2Vuc2U+</text>

That sounds good.
What about the <url> element?
I think that's also fairly common that the license is not just plain text but a URL.

Regarding the encoding attribute, detecting the exact encoding from the license file with 100% accuracy is challenging, and if failed, it could cause confusion (e.g., UTF-8 versus ISO-8859-1). In my opinion, the encoding is not relevant here. However, we could consider converting longer license texts to base64 in order to keep the look of the XML file elegant.
The <url> element in NPM is only available in deprecated style, which is not supported by the current version of CycloneDX Node.js module. Therefore, it must be modified to support the deprecated style or just omit the <url> elements.
@stevespringett Any thoughts on these?

@RaineInto I agree with your position on encoding and feel like we should omit that from the specification. I don't want to overburden the various CycloneDX implementations to figure out the exact encoding.
The plan is to update all official CycloneDX implementations (npm, nuget, maven, etc) to be able to produce boms compatible with schema 1.0 and 1.1. If a user selects to output v1.1 format, then <url> would be part of the bom, so yes, the npm module will need to be updated to include this if it's specified in the package info.
Going forward, schema versions will be less of an issue as 1.1 can now include any element in a bom or component which is not defined by the specification as long as that element defines an external namespace. So i envision 'extensions' to CycloneDX 1.1 in the future without a real need to modify the spec.

@RaineInto For clarification, encoding (according to the spec) is optional and may only contain a value of "base64" if present. Encoding in this context doesn't mean specifying UTF-8, ISO-8859-1, etc.
So the spec supports "data encoding" not "character encoding".

Included in CycloneDX 1.1


Added future as a requirement to conda

I installed a dev version on a fresh Ubuntu distro.  I THOUGHT this had been changed, but after updating, requirements-conda.txt lacked the 'future' package.  This pull request adds that.  I do not know how this will affect people already running Python 3, however.  (I have not modified the changelog yet, I wanted to wait until pad_arrays was buttoned up for simplicity)

@drandykass the future dependency is already in the main requirements.txt file (https://github.com/fatiando/fatiando/blob/master/requirements.txt#L5). The test/requirements-conda.txt is only for dependencies exclusive for running the tests, not all requirements installed via conda. This is a bit of a mess because there are some things for testing that are only pip-installable. So I had to separate into two files.

Just a heads up, but I probably won't be able to look into any Fatiando stuff until February.

Oh, I see.
No problem on the timing.  FYI, a scientist is visiting from China (getting
in today), and we are going to be developing a lot of PDE potential fields
stuff.  If he's amenable, we'll write it in such a way that it can be
incorporated into Fatiando.
On Wed, Jan 6, 2016 at 7:19 AM, Leonardo Uieda<EMAIL_ADDRESS>wrote:

Just a heads up, but I probably won't be able to look into any Fatiando
stuff until February.
—
Reply to this email directly or view it on GitHub
https://github.com/fatiando/fatiando/pull/252#issuecomment-169333647.

--
Dum inter homines sumus, colamus humanitatem.

OK, I'll close this PR then.
That's great to hear! Hope he's up for it. Tell him we'll get him a free Fatiando shirt :wink:


Can't use command " bash dev_into.sh" to enter into the docker environment.

System information

OS Platform and Distribution (e.g., Linux Ubuntu 14.04): Linux Ubuntu 16.04
Apollo installed from (source or binary): source
Apollo version (1.0, 1.5, 2.0, 2.5, 3.0): 1.0

Steps to reproduce the issue:
Ater installed docker, I run this command bash docker/scripts/dev_start.sh, got

---@---:~/apollo$ bash docker/scripts/dev_start.sh
/home/---/apollo/scripts/apollo_base.sh: line 105: /home/---/apollo/third_party/ros/setup.bash: No such file or directory
Error response from daemon: Get https://registry-1.docker.io/v2/: dial tcp: lookup registry-1.docker.io on [::1]:53: read udp [::1]:48900->[::1]:53: read: connection refused
apollo_dev
apollo_dev
[sudo] password for ---:
/home/---/apollo/data/core/core_%e.%p
[WARNING] Failed to find device with pattern "ttyUSB*" ...
[ OK ] Found device: /dev/ttyS4.
[ OK ] Found device: /dev/ttyS31.
[ OK ] Found device: /dev/ttyS30.
[ OK ] Found device: /dev/ttyS29.
[ OK ] Found device: /dev/ttyS28.
[ OK ] Found device: /dev/ttyS27.
[ OK ] Found device: /dev/ttyS26.
[ OK ] Found device: /dev/ttyS25.
[ OK ] Found device: /dev/ttyS24.
[ OK ] Found device: /dev/ttyS23.
[ OK ] Found device: /dev/ttyS22.
[ OK ] Found device: /dev/ttyS21.
[ OK ] Found device: /dev/ttyS20.
[ OK ] Found device: /dev/ttyS19.
[ OK ] Found device: /dev/ttyS18.
[ OK ] Found device: /dev/ttyS17.
[ OK ] Found device: /dev/ttyS16.
[ OK ] Found device: /dev/ttyS15.
[ OK ] Found device: /dev/ttyS14.
[ OK ] Found device: /dev/ttyS13.
[ OK ] Found device: /dev/ttyS12.
[ OK ] Found device: /dev/ttyS11.
[ OK ] Found device: /dev/ttyS10.
[ OK ] Found device: /dev/ttyS9.
[ OK ] Found device: /dev/ttyS8.
[ OK ] Found device: /dev/ttyS7.
[ OK ] Found device: /dev/ttyS6.
[ OK ] Found device: /dev/ttyS5.
[ OK ] Found device: /dev/ttyS3.
[ OK ] Found device: /dev/ttyS2.
[ OK ] Found device: /dev/ttyS1.
[ OK ] Found device: /dev/ttyS0.
[ OK ] Found device: /dev/can0.
[WARNING] Failed to find device with pattern "ram*" ...
[ OK ] Found device: /dev/loop7.
[ OK ] Found device: /dev/loop6.
[ OK ] Found device: /dev/loop5.
[ OK ] Found device: /dev/loop4.
[ OK ] Found device: /dev/loop3.
[ OK ] Found device: /dev/loop2.
[ OK ] Found device: /dev/loop1.
[ OK ] Found device: /dev/loop0.
[ OK ] Found device: /dev/loop-control.
5c71995df7a23a1318ab2c777029b22dd5c0f412b2a07cdb080be30c2829d166
adduser: Only one or two names allowed.
usermod: user '' does not exist

Then I run bash docker/scripts/dev_into.sh, got

unable to find user -it: no matching entries in passwd file

I could enter docker environment yesterday, but when I build apollo using command bash apollo.sh build, I got some error information so I clean the build process using commad bash apollo.sh clean. But after that I just can't enter the docker environment. What may be the problem?
Supporting materials (screenshots, command lines, code/script snippets):

It seems to be a bug of docker that when I stop the docker environment manually. Finally, I use command sudo gedit /etc/passwd to modify the use_name(which is incorrect, but I have no idea why), problem solved.

Hello, how did you solve it, I have encountered the same problem now, but my "/etc/passwd" does not show anything about docker


Robert Longson: Watch nseled.com

Robert Longson requests the watch of the watch_keyword nseled\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

nseled\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ


[Enhancement]change the return type from null to empty object in [FakeDhcpSnooper.java]

ISSUE TYPE

Enhancement Request

SUMMARY

location - agent/src/main/java/com/cloud/agent/dhcp/FakeDhcpSnooper.java
line - 146
Null is a reference that does not point to any object. Returning an empty object can help to improve the readability and maintainability of code.
EXPECTED RESULTS

add this line.
Screenshot -

and this

ACTUAL RESULTS

Screenshot -

@nikam14 why don't you enter a PR and have the tests run on this. You are welcome to do so. No idea what the side effects will be.

Hey @nikam14
Thanks for raising this issue. In CloudStack codes null has a different meaning from the emptyMap and most of the time it is used to determining if the value is missing or for error handling. I don't know what is the purpose of the FakeDhcpSnooper.java class, but I think that this null value is there for a reason.

I do not know what exactly the issue the original code causes.

@DaanHoogland  @soreana  @weizhouapache thank you for your suggestions . just wanted to improve the code . and open for better solution.

well, @nikam14 if you think this is good, please submit a PR, we can review and test that.

Sure , I can make the pr.


Update Playground Tutorial Projects to have the correct README

Context
The new playground was deployed with a feature to show project names and descriptions.
Need to include this for the tutorials
Definition of Done

Find the project links for all the tutorials
Update the name and descriptions
Save the new links in the tutorials in the cadence repo, the tutorial code repo, and the playground repo
Deploy the playground again with the new links

[ ] Hello World
[ ] Fungible Token
[ ] Non Fungible Token
[ ] Marketplace
[ ] Kitty Hats
[ ] Voting

cc @kerrywei


Feature/6.4/tdi 38104

Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[x] Tests for the changes have been added (for bug fixes / features)

What is the current behavior? (You can also link to an open issue here)
What is the new behavior?
Guess query feature implemented
Does this PR introduce a breaking change?

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:
https://jira.talendforge.org/browse/TDI-38104

I made a quickfix in this branch. It explains what I suggest to do.
You may use it as base for your changes
https://github.com/Talend/components/commit/2e8d21cc0ce5c38e745cd75fef23bed43c08627a

I used such implementation way because of easily extending the SoqlQueryBuilder in future, when some fields will be required.

Waiting for successful build. We can merge after

Pull request test result: failure :x:

Pull request test result: failure :x:

Build failed due to unrelated tests


Article app is broken

I'm not aware at which point the Article app got broken, and started to throw an error on the creation process django.db.utils.IntegrityError: UNIQUE constraint failed: articles_article.id.

Apparently is related to the way the save method is implemented.

Already solved, working on a more elaborated and definitive solution. Closing now than the next step is to merge to master.


Banned from Discord for unkown reason and FastFoward doesnt autmatically have access to each page

The issue does not specify how to reproduce the error and will not be resolved


Use cetl::unbounded_variant for errors originating from the layers below LibCyphal

A classic approach here would be to use inheritance directly, allowing the platform layer to define arbitrary error types derived from our PlatformError, like this.
However, it is impossible to return a polymorphic object by value directly when its runtime type is unknown; we need either heap (which is not an option) or a type-erased container like cetl::unbounded_variant (see inheritance without pointers).
We define a small set of well-known error types that can occur within the libcyphal middleware itself, such as ArgumentError, MemoryError, etc, and assume them to be rigid and non-extensible. Other error types are used to model errors originating from the lower layers, and they necessarily have to be arbitrarily extensible. We have several approaches here:
1. Use an opaque container:
using PlatformError = cetl::unbounded_variant<Footprint>;
//...
using AnyError = cetl::variant<ArgumentError, MemoryError, ..., PlatformError>;

This is straightforward, but one downside is that it may provide too much flexibility for the platform layer. For example, one could push an int into the opaque container, which is not a sensible approach to error handling.
2. Use by-value polymorphism:
class IPlatformError : public cetl::rtti_helper<...>  // rtti_helper can be avoided here
{
protected:
    IPlatformError() = default;
    virtual ~IPlatformError() = default;
};

using PlatformError = ImplementationCell<IPlatformError, cetl::unbounded_variant<Footprint>>;

ImplementationCell is a wrapper over unbounded_variant or any defined here: https://github.com/OpenCyphal-Garage/libcyphal/blob/main/docs/design/readme.md#type-erasure-without-pointers.
This solution restricts the set of error types that can be returned from the platform layer and allows us to define arbitrary polymorphic methods on them, like what.
@thirtytwobits please review

Option 2 ❤

Done in #361


move network-problem-detector to observability

What this PR does / why we need it:
Extension network-problem-detector registers health check condition for SystemComponentsHealthy.
To provide a more accurate representation of system health and reduce the frequency of SystemComponentsUnHealthy alert, this PR will move network-problem-detector extension check to ObservabilityComponentsHealthy
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

Thank you @Sallyan for your contribution. Before I can start building your PR, a member of the organization must set the required label(s) {'reviewed/ok-to-test'}. Once started, you can check the build status in the PR checks section below.

Hi @MartinWeindel  could you please help to review the PR? Thanks


feat: add bloom wallet

This PR adds Bloom Wallet to the list of connectors in RainbowKit

@MarkNerdi Thanks for the contribution! Can you add a changeset and the new wallet to the packages/example dApp and the en-US Custom Wallet List doc? Here is another example: https://github.com/rainbow-me/rainbowkit/pull/1596/files

@DanielSinclair Updated the PR :+1:

@DanielSinclair

@MarkNerdi Seeing linting issues and a CI failure

@DanielSinclair Sorry for that :sweat:  Linting is fixed now

@DanielSinclair
The checks all have passed. Just pinging again, so it won't be a stale PR :relaxed:

@DanielSinclair do you have time to review this please 🙏

@KosmosKey @DanielSinclair This PR has bee open a while now, please could we request that the PR is reviewed so that dApps in the Shimmer and IOTA ecosystem can easily add support for Bloom wallet on their dApps. Many thanks, Nicole bloomwallet.io

@nicole-obrien We just launched v2 and we've introduced a new way of adding wallets. Are you able to update your code ? Here is an example for WalletConnect
Here is an example of an injected wallet setup (brave wallet)

@KosmosKey
Updated the code and examples :+1:

@MarkNerdi Thanks. We'll come back to this PR soon please bear with us 🙏

@MarkNerdi Closing this PR since we've opened a new one here: https://github.com/rainbow-me/rainbowkit/pull/1784
Easier for us to push code and new translations.
Quick question tho it seems that bloom wallet has a small bug here. Do you mind responding to the comment i've made and see why that might be happening ?


GPU Barts 100% but 0 Sol

Hi,
My GPU is reporting 100% usage and I don't see any errors on the miner, Im getting a few hashes (old card I know) but 0 Sol and actually I dont see in the logs that is actually sending any shares to the pool but is receiving jobs.
What could be wrong?
Thanks in advance!

Try switch to USA or EU. Delete the '.bin' files(s). Download the latest drivers from AMD/NVIDIA. If the card is really old then your CPU probably way faster anyway.

Already done most of that, the card is a HD6870 not that old I have mined its share of bitcoins but it feels strange that is just simply sits there using all of it but not sending anything to the pool.

same problem:
Setting log level to 2
[2016-10-31 10:54:45.660549][0x00002130]: Using SSE2: YES
[2016-10-31 10:54:45.663049][0x00002130]: Using AVX: YES
[2016-10-31 10:54:45.668049][0x00002130]: Using AVX2: NO
[2016-10-31 10:54:45.715549][0x00002afc]: stratum | Starting miner
[2016-10-31 10:54:45.735549][0x00002afc]: stratum | Connecting to stratum server stratum.eu.zcash.nicehash.com:3357
[2016-10-31 10:54:45.735549][0x00002364]: miner#0 | Starting thread #0 (CUDA-TROMP) GeForce GT 610 (#0) BLOCKS=7, THREADS=64
[2016-10-31 10:54:45.750549][0x00002afc]: stratum | Connected!
[2016-10-31 10:54:49.333049][0x00002afc]: stratum | Subscribed to stratum server
[2016-10-31 10:54:49.343049][0x00002afc]: miner | Extranonce is 743e0120000000000000000020013e75
[2016-10-31 10:54:49.350549][0x00002afc]: stratum | ←[35mTarget set to 00f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0←[0m
[2016-10-31 10:54:49.363049][0x00002afc]: stratum | ←[36mReceived new job #95←[0m
[2016-10-31 10:54:50.715549][0x00002afc]: stratum | Authorized worker zenbooster.censored
[2016-10-31 10:54:55.791799][0x00002130]: ←[33mSpeed [300 sec]: 1658.81 I/s, 0 Sols/s←[0m
[2016-10-31 10:55:05.863049][0x00002130]: ←[33mSpeed [300 sec]: 2347.24 I/s, 0 Sols/s←[0m
[2016-10-31 10:55:15.958049][0x00002130]: ←[33mSpeed [300 sec]: 2550.69 I/s, 0 Sols/s←[0m
[2016-10-31 10:55:26.078049][0x00002130]: ←[33mSpeed [300 sec]: 2656.02 I/s, 0 Sols/s←[0m
[2016-10-31 10:55:36.165549][0x00002130]: ←[33mSpeed [300 sec]: 2721.48 I/s, 0 Sols/s←[0m
[2016-10-31 10:55:46.329299][0x00002130]: ←[33mSpeed [300 sec]: 2757.3 I/s, 0 Sols/s←[0m
[2016-10-31 10:55:56.398049][0x00002130]: ←[33mSpeed [300 sec]: 2796.37 I/s, 0 Sols/s←[0m
[2016-10-31 10:56:03.884299][0x00002afc]: stratum | ←[36mReceived new job #96←[0m
[2016-10-31 10:56:06.521799][0x00002130]: ←[33mSpeed [300 sec]: 2780.63 I/s, 0 Sols/s←[0m
[2016-10-31 10:56:16.615549][0x00002130]: ←[33mSpeed [300 sec]: 2807.22 I/s, 0 Sols/s←[0m
[2016-10-31 10:56:26.764299][0x00002130]: ←[33mSpeed [300 sec]: 2813.83 I/s, 0 Sols/s←[0m

Same thing for CPU, even in benchmark mode:
Setting log level to 2
[2016-10-31 17:23:49.215953][0x000023ac]: Using SSE2: YES
[2016-10-31 17:23:49.219953][0x000023ac]: Using AVX: YES
[2016-10-31 17:23:49.224953][0x000023ac]: Using AVX2: NO
[2016-10-31 17:23:49.228954][0x000023ac]: Benchmarking CPU worker (SolverStub)
[2016-10-31 17:23:49.235954][0x000023ac]: Benchmark starting... this may take several minutes, please wait...
[2016-10-31 17:23:49.245954][0x000023ac]: Benchmark done!
[2016-10-31 17:23:49.250955][0x000023ac]: Total time : 1 ms
[2016-10-31 17:23:49.255955][0x000023ac]: Total iterations: 200
[2016-10-31 17:23:49.260955][0x000023ac]: Total solutions found: 0
[2016-10-31 17:23:49.265956][0x000023ac]: Speed: 200000 I/s
[2016-10-31 17:23:49.269956][0x000023ac]: Speed: 0 Sols/s

Same, I get lots of I/s but 0 Sols/s unless I use CPU, and even using CPU+GPU is a lot slower (about 1/3) of what pure CPU does.
I tried deleting the .bin files, connecting to all of the four locations and I have the latest nVidia drivers.
This is not doing a thing.
Running on a GTX770 and GTX730M on different computers, same behaviour.

if you use windows and 0.3a version - it was compiled only for compute capability 5.2, your card have only cc2.1 and remeber you need 1GB gpu ram too.. You need compile cuda_tromp.dll for your card or use older (slower) from version 0.2a .... Or you can try dll compiled by me http://chronx.pl/cuda/cuda_tromp_0.3a.zip (cc2.x-cc6.2)

Oh, that makes perfect sense, none of my cards have CUDA 5.2 capability. I will try the version 0.2 then :)
I still get 1 sols/s or so. at least it is solving now, thanks! :D

chronosek, Will you be updating the dll's for 0.4a+? I just tried them and they worked for me with my GTX 760 but I would prefer to use latest nheqminer (which does not work with gtx 760)

i get the same 0 Sols/s←[0m no idea why, its not the nicest miner i have come across.
cpuminer.minerd those seems to always work....as long as u have the correct cpu i believe and connect the right server using the right algo.
If  nheqminer is good at performing then i want to get it to work

@chronosek thanks for the dlls. They work for me on my GTX 650 Ti Boost

@chronosek wat about gtx 1080ti ... do you have a solution for it ? Thanks


Swap out font awesome icons for Material Design Icons

Issue
Resolves #461
What was done

[x] Replace almost all icons in PeopleMover with icons from the Material Designs plugin

How to test

Check all icons on space dashboard
Check all icons on a space
Check all icons on modals (My Tags, My Roles, Product, Person, etc)

Icons URL: https://material.io/resources/icons/?style=baseline
FOR DEVS
Feature URL: https://featurebranchui.apps.pd01i.edc1.cf.ford.com/
Feature Branch Deployment: https://jenkins-fordlabs.apps.pd01e.edc1.cf.ford.com/job/PeopleMover/job/Deploy PeopleMover FeatureBranch/
FOR APPROVAL
Approval URL: https://approvalbranchui.apps.pd01i.edc1.cf.ford.com/
Approval Branch Deployment: https://jenkins-fordlabs.apps.pd01e.edc1.cf.ford.com/job/PeopleMover/job/Deploy PeopleMover ApprovalBranch/

the arrows on the side are much closer to the border on firefox than chrome

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
There are more padding around the + sign on the left and the right (chrome, didn't check firefox)

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
The plus sign is not as bold than used to be

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
The closing x is not as bold than it used to be

Same as above

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
The file icone when there is a note in a person is weird

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
The space between the pencil and the trash is bigger than it used to be

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
The arrow is not vertically center with the date anymore


Fleet unable to return all query results for ad hoc queries

Following on this issue as it was closed without a final resolution:
#1980
Kolide server is managing around 700 hosts.
What version of fleet are you using (fleet version --full)?
2.5.0
What operating system are you using?
Fleet is running on containers on top of AWS ECS Fargate. Also using AWS RDS and AWS Cache Redis. Utilization of RDS / Redis seems normal and there are no specific spikes associated with the ad hoc query.
What did you do?
Running an ad-hoc query results in a high number of error logs as follows:
{     "component": "service",     "err": "failed to ingest result: recording execution: insert distributed campaign target: Error 1062: Duplicate entry 'XXXXXXX-XXX' for key 'idx_dqe_unique_host_dqc_id'",     "ip_addr": "X.X.X.X:X",     "method": "SubmitDistributedQueryResults",     "took": "4.671645ms",     "ts": "2020-02-27T15:34:33.922783808Z" }

Do you happen to have a low value set for the distributed_interval? You are at a scale that has not typically caused problems with the distributed query system, and it is not typical to see this duplicate entry error.

@zwass we have setup to a value of 3:
distributed_interval=3
Do you think this could be causing the errors?

That is quite a low interval. Can you try 10? This usually feels pretty real time without causing any issues.

@zwass, so that distributed_interval=3 is the flag we use when deploying osquery daemon on our EC2 instances across the org.
Now exporting the options configuration in yaml, using fleetctl, I get the following value:
distributed_interval: 10
Is this flag controlled also by the fleet server on the osquery daemons? Thanks for your help.

If you use --config_plugin=tls (so that you can manage configs and packs from Fleet) then the distributed_interval value set in Fleet will be used by the hosts.

thanks @zwass that makes sense and that is included in our osquery daemons across the fleet which means then we have distributed_interval = 10 as stated by Kolide.
Is there any other potential changer we could do to improve on this situation?


A bug in ScannInterface::Serialize(std::string path) ?

Hi,
I have a question about the scann source code.
In the scann.cc, the ScannInterface::Serialize(std::string path), there is a circle to serialize datapoint_to_token into file datapoint_to_token.npy:
The method VectorToNumpy() is defined in the scann/utils/io_npy.h, it uses the OpenSourceableFileWriter class to write data into file datapoint_to_token.npy.
The OpenSourceableFileWriter constructor is:
OpenSourceableFileWriter::OpenSourceableFileWriter(absl::string_view filename)
    : fout_(std::string(filename), std::ofstream::binary) {}

The fout_ is a std::ofstream, it is not appended mode. The datapoint_to_token.npy will be overwritten by the circle for multiple times, is it expected?

If you're referring to this line https://github.com/google-research/google-research/blob/fa0dbe14bfaf361cefdec12b5a6bdbb965cbcace/scann/scann/scann_ops/cc/scann.cc#L349
It's not in a loop. (Is that what you mean by a circle?)


Bar Label Formatting

Excellent work!
It looks like it isn't possible to format the Bar Labels while it's sometimes necessary to display float.

Thanks for bringing this up! Definitely an oversight and an easy feature to add. I'll make it available in the next release, which should be out next week.

Just added this change on master. There will be new parameters bar_label_position and bar_label_format

Thank you!


[Ubuntu] Install latest google-cloud-sdk

Description
It was unblocked
Related issue: https://github.com/actions/runner-images-internal/issues/3283
Check list

[X] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run ubuntu1804, ubuntu2004, ubuntu2204


change line 83 to 97 , arrange it to table

[ x] I have read freeCodeCamp's contribution guidelines.
[ x] My pull request has a descriptive title (not a vague title like Update index.md)
[ x] My pull request targets the master branch of freeCodeCamp.
[ x] None of my changes are plagiarized from another source without proper attribution.
[ x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

@DrakonDarquesse
Thank you for your contribution to the page! 👍 We're happy to accept these changes and look forward to future contributions.


Deploy HySDS containers to temporary Kubernetes cluster on JPL AWS

Notes:
o Move the location of the kubeconfig file from main.tf to variables.tf
o Point the variables to the kubeconfig file provided by Tom Barber, which references the provisional Kubernetes cluster on JPL AWS
o Will need to access HySDS Docker images from a remote repository - for example, the GHCR. Should be able to change the terraform scripts to log onto the GHCR via a personal token (part of variables.tf?)

Implemented using Tom's temporary cluster at JPL AWS.


Send raw date to Fredrick vacation script

Allows to add the timezone to it to properly determine local sender time
and Fredrick's current time (if he's travelling within his home country,
that is).

/merge


MS-PP

MS-PP

@Bohdan-AI If you see a mistake in our documentation for Office Add-ins, please give us the details of the mistake and the URL of the article.


Update terminology used in Restate Protocol

Fixed by  https://github.com/restatedev/service-protocol/pull/88


[HOTFIX] Fix optional to createOptional.

What changes were proposed in this pull request?
This PR fixes the following line.
   private[spark] val STAGING_DIR = ConfigBuilder("spark.yarn.stagingDir")
     .doc("Staging directory used while submitting applications.")
     .stringConf
-    .optional
+    .createOptional

How was this patch tested?
Pass the build.

Hi, @vanzin .
Could you review this?

Going to merge this for the hotfix.

Test build #55037 has started for PR 12187 at commit 8bceced.

Thank you, @rxin !

Test build #55037 has finished for PR 12187 at commit 8bceced.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/55037/
Test PASSed.


Errors when bundling react-geosuggest with Browserify on node 0.10.x

I have a project that pulls in react-geosuggest via npm. The project is bundled with Browserify + Babelify.
When I bundle this on node 0.10.x, I run into the following error:
23:05:12 Error: Cannot find module 'classnames' from '/src/node_modules/react-geosuggest/module'
23:05:12     at /src/node_modules/browserify/node_modules/resolve/lib/async.js:46:17
23:05:12     at process (/src/node_modules/browserify/node_modules/resolve/lib/async.js:173:43)
23:05:12     at ondir (/src/node_modules/browserify/node_modules/resolve/lib/async.js:188:17)
23:05:12     at load (/src/node_modules/browserify/node_modules/resolve/lib/async.js:69:43)
23:05:12     at onex (/src/node_modules/browserify/node_modules/resolve/lib/async.js:92:31)
23:05:12     at /src/node_modules/browserify/node_modules/resolve/lib/async.js:22:47
23:05:12     at Object.oncomplete (fs.js:107:15)

Bundling works on node v5.1.0, however.
As a workaround on node 0.10.x, I included classnames in our own package.json dependencies and bundling worked.
Happy to provide more details if it would help!

I moved classnames as a real dependency. Should work in old node now, too. Released in 1.18.1

Thanks for the quick fix!
On an unrelated note, I've never seen this badge before:

Any idea where that came from?

You’re welcome!
The badge is there because I’m a member of the @ubilabs org which is the owner of this package. Github seems to have introduced this some weeks ago.

Neat :+1:


alibaba/druid pool analysis

Hi, I find your analysis on Java DB pools very informative. I happen to come across this 'druid' pool from Alibaba: https://github.com/alibaba/druid/wiki/FAQ (claims as the fastest DB pool in Java!).
From my very quick glance, seems it has some cool features. Any thoughts on this. Thanks.

A quick run of the benchmark on my desktop PC yielded the following:
Benchmark                                 (pool)   Mode  Samples       Score  Units
c.z.h.b.ConnectionBench.cycleCnnection    hikari  thrpt       16   21206.330  ops/ms
c.z.h.b.ConnectionBench.cycleCnnection    bone    thrpt       16   10389.139  ops/ms
c.z.h.b.ConnectionBench.cycleCnnection    vibur   thrpt       16    6764.233  ops/ms
c.z.h.b.ConnectionBench.cycleCnnection    tomcat  thrpt       16    2117.792  ops/ms
c.z.h.b.ConnectionBench.cycleCnnection    c3p0    thrpt       16     128.447  ops/ms
c.z.h.b.ConnectionBench.cycleCnnection    druid   thrpt       16     110.370  ops/ms

c.z.h.b.StatementBench.cycleStatement     hikari  thrpt       16  130426.003  ops/ms
c.z.h.b.StatementBench.cycleStatement     tomcat  thrpt       16   62071.180  ops/ms
c.z.h.b.StatementBench.cycleStatement     druid   thrpt       16   54845.335  ops/ms
c.z.h.b.StatementBench.cycleStatement     vibur   thrpt       16   33414.774  ops/ms
c.z.h.b.StatementBench.cycleStatement     bone    thrpt       16   26551.919  ops/ms
c.z.h.b.StatementBench.cycleStatement     c3p0    thrpt       16   15956.412  ops/ms

So, at least in our benchmark, Druid was the slowest for obtaining and returning connections, and the third fastest for creating and closing statements.
Druid was configured with similar settings to other pools in the benchmark:
druid.setInitialSize(0);
druid.setMinIdle(0);
druid.setMaxActive(32);
druid.setMaxWait(5000);
druid.setValidationQuery("SELECT 1");
druid.setTestOnBorrow(true);
druid.setDefaultAutoCommit(false);
druid.setDefaultTransactionIsolation(Connection.TRANSACTION_READ_COMMITTED);

The benchmark page in their wiki does not show what settings they ran with, but I suspect that they disabled test-on-borrow.  While I won't say that is "cheating", it is not how I would run a production pool.  They also do not provide the source code to their test, as far as I can tell.

druid was designed to focus on monitor and data access behavior enhance(like automatically database slice). it provides an SQL parser to analyze user's SQL query and delegate most JDBC class to collect metrics.
so if what you need is a JDBC monitor solution like newrelic, you may try Druid.

@bobwenx It is a valid point.  I will point out that New Relic is also supported by HikariCP through the DropWizard Metrics integration, but the metrics provided are "pool-level" metrics and not specific to query execution time, etc.

If you configure maxWait property, druid pool use "fair mode ReentrantLock", it's bad performance.
https://github.com/alibaba/druid/blob/master/src/main/java/com/alibaba/druid/pool/DruidAbstractDataSource.java
    public void setMaxWait(long maxWaitMillis) {
        if (maxWaitMillis == this.maxWait) {
            return;
        }

        if (maxWaitMillis > 0 && useUnfairLock == null && !this.inited) {
            final ReentrantLock lock = this.lock;
            lock.lock();
            try {
                if ((!this.inited) && (!lock.isFair())) {
                    this.lock = new ReentrantLock(true);
                    this.notEmpty = this.lock.newCondition();
                    this.empty = this.lock.newCondition();
                }
            } finally {
                lock.unlock();
            }
        }

        if (inited) {
            LOG.error("maxWait changed : " + this.maxWait + " -> " + maxWaitMillis);
        }

        this.maxWait = maxWaitMillis;
    }

This is by design, because we had some problems in the production environment. Here are the relevant documents, but I'm sorry, it is in Chinese.
https://github.com/alibaba/druid/wiki/Druid锁的公平模式问题
Druid of PreparedStatementCache optimized, this is very important to enhance the mysql 5.5 & oracle & sqlserver & db2 performance.
Druid has very stable ExceptionSorter, including Oracle / MySql / Alibaba Oceanbase etc.
In Taobao large-scale high concurrency environment, only two connection pools to work very well, druid and jboss connection pool.
Druid is not just a connection pool, he can do a very good extension, similar to Filter-Chain extension. Built-in Filter include WallFilter, StatFilter, LogFilter. Which can WallFilter defense SQL injection, StatFilter can do performance monitoring, LogFilter can output SQL logs.
Druid built very strong monitoring support. demo: http://<IP_ADDRESS>/druid/index.html

温少不能忍了，哈哈哈

Hmmm I only see it claims as the best DB pool in Java, instead of the fast... :confused:

Does wenshao or brettwooldridge can do the benchmark test according to druid characteristic and brettwooldridge's HikariCP benchmark source code? I think most people want to get a conclusion who is interesting in the performance of connection pool.

final result was???

Are you asking HikariCP?  Benchmark results  were in the first reply.

@wenshao
connection  pool is connection pool ， 吓鸡巴添加你麻痹的没有用的功能啊。

Benchmark                       (jdbcUrl)  (maxPoolSize)  (pool)   Mode  Cnt      Score      Error   Units
ConnectionBench.cycleCnnection  jdbc:stub             32   druid  thrpt   16   3144.688 ±  216.803  ops/ms
ConnectionBench.cycleCnnection  jdbc:stub             32  hikari  thrpt   16  42262.816 ± 1954.972  ops/ms
ConnectionBench.cycleCnnection  jdbc:stub             32   dbcp2  thrpt   16   1988.912 ±   29.686  ops/ms
ConnectionBench.cycleCnnection  jdbc:stub             32  tomcat  thrpt   16   1849.525 ±  213.140  ops/ms
ConnectionBench.cycleCnnection  jdbc:stub             32    c3p0  thrpt   16    642.396 ±   11.501  ops/ms
ConnectionBench.cycleCnnection  jdbc:stub             32   vibur  thrpt   16   4913.682 ±  400.545  ops/ms
StatementBench.cycleStatement   jdbc:stub             32   druid  thrpt   16  43187.450 ±  617.061  ops/ms
StatementBench.cycleStatement   jdbc:stub             32  hikari  thrpt   16  58916.066 ± 4954.865  ops/ms
StatementBench.cycleStatement   jdbc:stub             32   dbcp2  thrpt   14    540.265 ±  645.336  ops/ms
StatementBench.cycleStatement   jdbc:stub             32  tomcat  thrpt   16  78930.496 ± 2561.000  ops/ms
StatementBench.cycleStatement   jdbc:stub             32    c3p0  thrpt   16  13162.639 ±  728.747  ops/ms
StatementBench.cycleStatement   jdbc:stub             32   vibur  thrpt   16  26241.060 ± 1496.388  ops/ms
Seems tomcat got higher performace in StatementBench test

druid有阿里大数据量的验证，而HikariCP没有

What validation?

长期的使用，有阿里长期的大数据量的使用的验证

HikariCP is one of the most widely used connection pools in the world, used by some of the largest companies, serving literally billions of users per day.  Druid is rarely seen outside of China.

used by some of the largest companies？serving literally billions of users per day？
For example？

Wix.com by itself, for example hosts over 109 million websites and serves over 1 Billion requests per day.  Atlassian has millions of customers for its products -- no published numbers exists for daily usage.
HikariCP is the default pool for every application built with the Play framework, Slick, JOOS, and is now the default pool for Spring Boot.
HikariCP is resolved from the central maven repository over 300,000 times per month.
Companies known to be using HikariCP.

To be honest, I prefer HikariCP 👍

我认为2个组件专注的方向不一样，各有特色和优点，不是组件如何，要看使用组件的人如何考虑，综合自己的需求选用，druid非常大一部分是为了监控和运维

it's very intersting druid and HikariCP are  competing with each other ,and useful for users to use better tools in the future.

一个印度小哥引发的口水战？

This issue was marked as closed over 3 years ago. GitHub is not the correct place for general discussion. If there are specific other issues, please open a new issue.

😂好无聊的事情。


[Feature] Gives the luminence of the theme as an argument to the -o script

I want to be able to set certain theme for my application according to whether my pywal theme is light or dark because in certain cases I don't want to use pywal colors but actual theme that exists for my apps
I may be able to check the code and make a pr myself but I'll just make an issue for now

I'm trying to work around this issue too.
The best idea I have so far is to compare the foreground and background colors in the "-o" script and ask which is brighter. If foreground (background) is brighter, then assume its dark (light) mode.
Any other work arounds?

I ended up computing the luminence myself from the colors given by pywal in a bash script. I lost it however (my computer broke) so I don't remember how I did it exactly


Stuck at Bootstrapping rye internals

Steps to Reproduce
My env: Windows 11, x86_64, have conda, haven't installed uv
My installer: https://github.com/astral-sh/rye/releases/latest/download/rye-x86_64-windows.exe (downloaded at roughly 2024/08/02 16:54 UTC+8)
My choices:
✔ Continue? · yes
✔ Select the preferred package installer · uv (fast, recommended)
✔ What should running `python` or `python3` do when you are not inside a Rye managed project? · Run a Python installed and managed by Rye
✔ Which version of Python should be used as default toolchain? ·<EMAIL_ADDRESS>
Expected Result
Able to complete bootstrapping, or shown error about unable to bootstrap
Is there anything wrong? Or, can I run the installer in some verbose mode so that I can see what's happening?
Actual Result
Welcome to Rye!

Rye has detected that it's not installed on this computer yet and
automatically started the installer for you. For more information
read https://rye.astral.sh/guide/installation/

This installer will install rye to C:\Users\zene\.rye
This path can be changed by exporting the RYE_HOME environment variable.

Details:
  Rye Version: 0.38.0
  Platform: windows (x86_64)

✔ Continue? · yes
✔ Select the preferred package installer · uv (fast, recommended)
✔ What should running `python` or `python3` do when you are not inside a Rye managed project? · Run a Python installed and managed by Rye
✔ Which version of Python should be used as default toolchain? ·<EMAIL_ADDRESS>Installed binary to C:\Users\zene\.rye\shims\rye.exe
Bootstrapping rye internals

for over 10 minutes
Version Info
C:\Users\zene\.rye\shims>rye --version
rye 0.38.0
commit: 0.38.0 (3e3c8540f 2024-08-02)
platform: windows (x86_64)
self-python: not bootstrapped (target<EMAIL_ADDRESS>symlink support: true
uv enabled: true

(I run it under C:\Users\zene\.rye\shims after I Ctrl+C at the installer)
Stacktrace
No response

macos, has the same problem...

Maybe you can ctrl+c, go to the executable, and use rye self install and rye self update, maybe it will work (just workaround)


Add -idn flag to cmd/zonedb

Filter work zones to only IDN (non-ASCII) zones.

👍

@case when you merge PRs, could you merge with a merge commit?

Yeah, I think that might be a repo setting too? Seems to be different for each repo for some reason.


Added Swoole config, if installed

This PR adds the support of Swoole overwriting some service configurations of zend-expressive.
The configuration is injected via Zend\Expressive\Swoole\ConfigProvider if zend-expressive-swoole is installed.
This PR allows to execute Swoole without any change on public/index.php. We can just run the follows:
php public/index.php

To execute an Expressive application with Swoole.

@xtreamwayz you right, I fixed it. I didn't test without zend-expressive-swoole installed, thanks!

To fix the Travis build you can append this to phpstan.installer.neon:
parameters:
    ignoreErrors:
        - '#Class Zend\\Expressive\\Swoole\\ConfigProvider not found#'

@xtreamwayz thanks!


m4 files aren't transcribing

Cheers @djmango
Are m4a files supported by your plugin here? I can't seem to get them to properly transcribe with locally-running Whisper in Docker. I've had great luck with mp3, so my setup should be fine, but m4a isn't working.

You'll have to implement ffmpeg into the transcribe API server unfortunately, out of scope of the plugin

Would you accept a PR that implemented ffmpeg?

If it was robust, worked for everyone, and required no action on the user's part, then sure. When I looked I didn't see a great way to do it, you're welcome to though

Awesome, thanks @djmango , I'll give it a look


update quay.io/openshiftdo/init image to 0.10.0

Update init image to quay.io/openshiftdo/init:0.10.0
The new version of the image includes custom inner loop scripts, see https://github.com/openshift/odo-init-image/pull/27
To test this just make sure that everything works as before :-)

2019/09/03 10:02:15 Container lease in pod benchmark completed successfully
2019/09/03 10:06:40 Container teardown in pod benchmark completed successfully
2019/09/03 10:06:40 Pod benchmark succeeded after 41m32s
2019/09/03 10:06:40 error: unable to signal to artifacts container to terminate in pod benchmark, triggering deletion: could not run remote command: container artifacts is not valid for pod benchmark
2019/09/03 10:06:40 error: unable to retrieve artifacts from pod benchmark: could not read gzipped artifacts: container artifacts is not valid for pod benchmark
2019/09/03 10:06:45 error: could not wait for pod 'benchmark': it is no longer present on the cluster (usually a result of a race or resource pressure. re-running the job should help)
2019/09/03 10:06:46 Ran for 45m11s
2019/09/03 10:06:47 Submitted failure event to sentry (id=86c290b95263455d8bc22c881b4e512e)
error: could not run steps: step benchmark failed: template pod "benchmark" failed: pod was deleted while ci-operator step was waiting for it

/retest

/retest
2019/09/03 10:59:25 error: unable to signal to artifacts container to terminate in pod integration, triggering deletion: could not run remote command: container artifacts is not valid for pod integration
2019/09/03 10:59:25 error: unable to retrieve artifacts from pod integration: could not read gzipped artifacts: container artifacts is not valid for pod integration
2019/09/03 10:59:30 error: could not wait for pod 'integration': it is no longer present on the cluster (usually a result of a race or resource pressure. re-running the job should help)
E0903 10:59:30.515219      15 event.go:191] Server rejected event '&v1.Event{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:".15c0e88ed6e9ab02", GenerateName:"", Namespace:"ci-op-kgd6z5k8", SelfLink:"", UID:"", ResourceVersion:"", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Initializers:(*v1.Initializers)(nil), Finalizers:[]string(nil), ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, InvolvedObject:v1.ObjectReference{Kind:"", Namespace:"ci-op-kgd6z5k8", Name:"", UID:"", APIVersion:"", ResourceVersion:"", FieldPath:""}, Reason:"CiJobFailed", Message:"Running job pull-ci-openshift-odo-master-integration for PR https://github.com/openshift/odo/pull/2072 in namespace ci-op-kgd6z5k8 from author kadel", Source:v1.EventSource{Component:"ci-op-kgd6z5k8", Host:""}, FirstTimestamp:v1.Time{Time:time.Time{wall:0xbf53afc49e9c7702, ext:5876098307858, loc:(*time.Location)(0x26765e0)}}, LastTimestamp:v1.Time{Time:time.Time{wall:0xbf53afc49e9c7702, ext:5876098307858, loc:(*time.Location)(0x26765e0)}}, Count:1, Type:"Warning", EventTime:v1.MicroTime{Time:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}}, Series:(*v1.EventSeries)(nil), Action:"", Related:(*v1.ObjectReference)(nil), ReportingController:"", ReportingInstance:""}': 'events ".15c0e88ed6e9ab02" is forbidden: unable to create new content in namespace ci-op-kgd6z5k8 because it is being terminated' (will not retry!)

2019/09/04 16:25:56 Resolved source https://github.com/openshift/odo to master@a2b51999, merging: #2072 de0b5c0d @kadel
2019/09/04 16:25:56 Using namespace ci-op-01jqg3zq
2019/09/04 16:25:56 Running root, [release-inputs], src, [images], [release:latest], benchmark
2019/09/04 16:25:56 Creating namespace ci-op-01jqg3zq
2019/09/04 16:25:56 Creating rolebinding for user kadel in namespace ci-op-01jqg3zq
2019/09/04 16:25:57 Setting a soft TTL of 1h0m0s for the namespace
2019/09/04 16:25:57 Setting a hard TTL of 12h0m0s for the namespace
2019/09/04 16:25:57 Setting up pipeline imagestream for the test
2019/09/04 16:25:57 Created secret benchmark-cluster-profile
2019/09/04 16:25:57 Building root
2019/09/04 16:25:57 Tagged shared images from ocp/4.1:${component}, images will be pullable from registry.svc.ci.openshift.org/ci-op-01jqg3zq/stable:${component}
2019/09/04 16:26:01 Create release image registry.svc.ci.openshift.org/ci-op-01jqg3zq/release:latest
2019/09/04 16:26:23 Copied 1.14Mi of artifacts from release-latest to /logs/artifacts/release-latest
2019/09/04 16:27:50 Build root succeeded after 2m1s
2019/09/04 16:27:50 Building src
2019/09/04 16:29:25 Build src succeeded after 1m34s
2019/09/04 16:29:26 Executing template benchmark
2019/09/04 16:29:26 Creating or restarting template instance
2019/09/04 16:29:26 Waiting for template instance to be ready
2019/09/04 16:29:28 Running pod benchmark
2019/09/04 16:29:35 Container cli in pod benchmark completed successfully
Lease acquired, installing...
level=warning msg="Found override for ReleaseImage. Please be warned, this is not advised"
level=info msg="Consuming \"Install Config\" from target directory"
level=info msg="Creating infrastructure resources..."
level=error
level=error msg="Error: Error applying plan:"
level=error
level=error msg="1 error occurred:"
level=error msg="\t* module.vpc.aws_lb.api_external: 1 error occurred:"
level=error msg="\t* aws_lb.api_external: timeout while waiting for state to become 'active' (last state: 'provisioning', timeout: 10m0s)"
level=error
level=error
level=error
level=error
level=error
level=error msg="Terraform does not automatically rollback in the face of errors."
level=error msg="Instead, your Terraform state file has been partially updated with"
level=error msg="any resources that successfully completed. Please address the error"
level=error msg="above and apply again to incrementally change your infrastructure."
level=error
level=error
level=fatal msg="failed to fetch Cluster: failed to generate asset \"Cluster\": failed to create cluster: failed to apply using Terraform"
2019/09/04 16:41:27 Container setup in pod benchmark failed, exit code 1, reason Error
Another process exited
2019/09/04 16:41:42 Container test in pod benchmark failed, exit code 1, reason Error
2019/09/04 16:44:38 Copied 7.39Mi of artifacts from benchmark to /logs/artifacts/benchmark
2019/09/04 16:44:44 Ran for 18m47s
2019/09/04 16:44:44 Submitted failure event to sentry (id=ee88e0c4e6f24e09bf6b8cd27c044caf)
error: could not run steps: step benchmark failed: template pod "benchmark" failed: the pod ci-op-01jqg3zq/benchmark failed after 15m8s (failed containers: setup, test): ContainerFailed one or more containers exited
 Container setup exited with code 1, reason Error
---
Lease acquired, installing...
level=warning msg="Found override for ReleaseImage. Please be warned, this is not advised"
level=info msg="Consuming \"Install Config\" from target directory"
level=info msg="Creating infrastructure resources..."
level=error
level=error msg="Error: Error applying plan:"
level=error
level=error msg="1 error occurred:"
level=error msg="\t* module.vpc.aws_lb.api_external: 1 error occurred:"
level=error msg="\t* aws_lb.api_external: timeout while waiting for state to become 'active' (last state: 'provisioning', timeout: 10m0s)"
level=error
level=error
level=error
level=error
level=error
level=error msg="Terraform does not automatically rollback in the face of errors."
level=error msg="Instead, your Terraform state file has been partially updated with"
level=error msg="any resources that successfully completed. Please address the error"
level=error msg="above and apply again to incrementally change your infrastructure."
level=error
level=error
level=fatal msg="failed to fetch Cluster: failed to generate asset \"Cluster\": failed to create cluster: failed to apply using Terraform"
---
Container test exited with code 1, reason Error
---
Another process exited
---

/retest

/test all
retriggering, just to make sure that there are no flakes


Missing Tags property in EC2.EIP

Hi the Tags property is missing:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip.html

unless I missunderstand your issue the property is there : https://github.com/cloudtools/troposphere/blob/master/troposphere/ec2.py#L82


"-paramers" enabled by default for Java compilation in Gradle 7

Expected Behavior
Compiling Java code in Gradle 7 -parameters is added to the compiler arguments by default and users can benefits from keeping the method parameter names in compiled classes out-of-box.
Current Behavior
Users relying on that behavior have to enable it in every project, by doing something like:
tasks.withType(JavaCompile) {
    options.compilerArgs << '-parameters'
}

Context
Java 8 introduced -parameters in javac to keep the method (and constructor) parameter names in .class file for its further usage with reflection. This change is leveraged by number of libraries (including Spring, Jackson or Jersey) to make parameter mapping easier. For example:
    @GetMapping("users")
    List<User> getUsersByFirstNameAndLastName(@RequestParam(value = "firstName") String firstName,
                                              @RequestParam(value = "lastName") String lastName) {
        return ...
    }

can be simplified to:
    @GetMapping("users")
    List<User> getUsersByFirstNameAndLastName(@RequestParam String firstName, @RequestParam String lastName) {
        return ...
    }

With greater number of arguments it becomes even more convenient.
As the change was not backward compatible (especially for tools and libs manipulating on the byte code) it was not enabled by default. Nevertheless, over 6 years later, most of the tools already support it. While it can be done manually (or by using the Spring Boot plugin which also adds it globally), it would be good to have it enabled by default. Incoming Gradle 7 might be a good opportunity to enable it by default for Java projects.
It would be probably good to have a possibility to turn it off, for people/projects willing/needing to keep the bytecode in the old form.

There is no reason for Gradle to enable this by default.
However Gradle could add a dedicated option for this on the Java compile task or its options.

/remove stable

However Gradle could add a dedicated option for this on the Java compile task or its options.

It still could be handy to have in Gradle, as @ljacomet proposed.


xmldocument::save uses non-transformed encoding parameter

In pugixml.cpp / xml_document::save, the impl::xml_buffered_writer constructor invoked for buffered_writer uses get_write_encoding on parameter encoding, which can transform xml_encoding::encoding_auto into a specific encoding (e.g. encoding_utf8), stored in buffered_writer.encoding.
Accordingly, buffered_writer.encoding should be evaluated, while currently only the unmodified function parameter encoding is checked.
Pull request #616 xmldocument::save - use encoding as interpreted by get_write_encoding… fixes this.
The same pull request also adds explicit UTF-8 encoding to the target file, but because this can change how an empty document looks, this requires a change to the tests/test_document.cpp, which I don't know how to make because the tests are hard to read due to macros.

Accordingly, buffered_writer.encoding should be evaluated, while currently only the unmodified function parameter encoding is checked.

What user visible consequences does this have without the change to add utf8?
Why should the default behavior be to emit encoding=utf-8 for every document? That’s already what the XML specification says should be the default.

What user visible consequences does this have without the change to add utf8?

As I said in the pull request (forgot to mention it explicitly here): it's a minor bugfix - in the current implementation, I don't see a problem - however, if get_write_encoding ever gets modified to interpret e.g. encoding_auto as something that is specifically checked in xml_document::save to emit an encoding property, the check would fail / the buffered_writer would write a different encoding than the document header would specify.
That's why it's a bug without consequences in the current implementation, but it's still a bug as far as I can tell.

Why should the default behavior be to emit encoding=utf-8 for every document? That’s already what the XML specification says should be the default.

Well I suppose should is not the right word - it's just a matter of preference in my case - when working with XLSX documents created in e.g. LibreOffice, the encoding=utf-8 gets stripped when saving a modified file with pugixml.
I just thought that this initial xml tag has basically zero impact on performance, so explicit encoding is better than implicit. It's your project - leave that change out if you don't like it :)

Ok - I don't know that it matters either way, but feel free to submit a PR that changes the encoding check to buffered_writer.encoding.
I do not think the default output should be changed. Stylistic preferences can be accommodated using a documented method in this case: https://pugixml.org/docs/manual.html#saving.declaration - and the default should be the minimal output that results in unambiguous decoding result, which is why there's a special case for latin1 but not for any other encoding - every other encoding can/should use BOM or default to UTF8 without any extras.
I'm going to close this either way, feel free to change the PR to only change the encoding if you need that change.

Actually, I am not entirely sure how to patch this -
I just pushed (to my fork) a change as you suggest, an this change also breaks the checks - which I do not understand, because all I changed is two checks on encoding to check buffered_writer.encoding instead, and with line no. 3630 in get_write_encoding:
		if (encoding != encoding_auto) return encoding;
this should be exactly the desired behavior?
Before I send you a pull request, I was hoping you could help me understand why my forked version breaks these validations:
Test document_save_file_wide failed: doc contents does not match L"<?xml version=\"1.0\"?><node/>" at tests/test_document.cpp:776
Test document_save_file failed: doc contents does not match L"<?xml version=\"1.0\"?><node/>" at tests/test_document.cpp:762
FAILURE: 2 out of 964 tests failed.

The "Test document_save_file_wide" failed makes be wonder whether line 3621 is the one that triggers a differing behavior under test with my path. Is there maybe an actual bug here?


Add Java Metric Systems Compared blog post

Resolves #4517.
Hi - I've put together a blog post doing a deep dive into what makes a metric system good, and comparing the performance of opentelemetry-java to other popular metrics systems in the java ecosystem.

Hmm, I'm getting a problem when building locally:

#4545


KeyError: 'FSDV2SparseUNet is not in the models registry'

when I want to train fsdv2 using fsdv2_waymo_2x_bb01_ms.py, the error occurs.

It seems you have got the results in another issue. Is it solved now?

no. I got the results using fsdv2_waymo_2x.py

Why do you use fsdv2_waymo_2x_bb01_ms.py instead of the released one? This is the developing config. Although they actually share the same model structure, I rename some modules, so you got this error.


HTML Character Limit

Error: The HTML content of this marketing page exceeds the maximum allowed length of 65,536 characters.
I can find this limitation nowhere in the current documentation. Why is there a limit?

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

ID: 177d5684-7cc0-2c9e-fd7c-ad0295c504c7
Version Independent ID: 5f179d9e-c5b4-82fe-4ca2-a12b5a41f629
Content: Dynamics 365 for Marketing Readme (Known Issues)
Content Source: ce/marketing/readme.md
Service: dynamics-365-marketing
GitHub Login: @kamaybac
Microsoft Alias: kamaybac

@jpatrickwright , all the HTML for the page is stored in a single database field, and the limit probably arises from a size limit on that field. A similar situation exists for email messages. I will investigate the issue and update the documentation accordingly. Thank you for taking the time to point this out.


Test Issue By Bytepay: bumpy purpose

This issue is for bytepay test

/bytepay task 0.001DOT

Bytepay: Finish This Task, sulnong will pay you 0.001 DOT.
Comment in Following instruction to apply for this task
/bytepay apply
Visit http://bytepay.local-dev.com for more detail

/bytepay apply

Bytepay: Task has been assigned to @Emptycity-tear.

/bytepay pay

@Emptycity-tear:
sulnong have paid for this task, visit https://westend.subscan.io/extrinsic/0x052850e78a13ad73d5a49025668f7e7eeff42cb5a021d75ffab7099b810a525b for detail

/bytepay bind 5FU6HZLVj74hF1sBxAFQ7PkS6HQbVF3gAFDLPLV37YFNKNjV

@sulnong:
Bind Success.
Now Your Own Polka Address Is: 5FU6HZLVj74hF1sBxAFQ7PkS6HQbVF3gAFDLPLV37YFNKNjV
Previous Is: 5FU6HZLVj74hF1sBxAFQ7PkS6HQbVF3gAFDLPLV37YFNKNjV

/bytepay bind 5FU6HZLVj74hF1sBxAFQ7PkS6HQbVF3gAFDLPLV37YFNKNjV

@sulnong:
Bind Success.
Now Your Own Polka Address Is: 5FU6HZLVj74hF1sBxAFQ7PkS6HQbVF3gAFDLPLV37YFNKNjV

/bytepay pay test-create-user-manuly 0.01DOT

@test-create-user-manuly:
sulnong have paid 0.01 DOT for you :), visit https://westend.subscan.io/extrinsic/0x9c52d6664e7a67382bf5a2a599a077092ee8692ea4f2e89ccee7dfe03d8d9f3b for detail


TypeError: Cannot read properties of undefined (reading 'randomUUID') - Warp 1.2.7

Hello guys! I was updating my dapps to the new Warp version 1.2.7 and I noticed an error. The error happens when trying to use the readState function like in the example from the README file:
const { sortKey, cachedValue } = await contract.readState();

If I call the readState function from my dapp I get this error:
TypeError: Cannot read properties of undefined (reading 'randomUUID')
    at new ContractCallRecord (ContractCallRecord.js?68e4:11:1)
    at new HandlerBasedContract (HandlerBasedContract.js?8724:93:1)
    at Warp.contract (Warp.js?b82a:40:1)
    at WarpContracts.readState (WarpContracts.ts?328c:67:1)
    at _callee$ (HomePage.vue?a457:50:1)

If I track the error it ends on the next line:

My question is if you have any suggestion to avoid this error? I'm already excluding the crypto library in my project bundle.
Thanks in advance!

Today I updated warp contract to the latest version 1.2.10 and the problem is gone. Thank you guys, you rock!!

yeah, that was..uhm..my mistake ;-) , described here: https://discord.com/channels/786251205008949258/816685554329583707/1021740379256659999

Hey ppe, no problem at all! Thanks for the quick fix! Btw the current Warp Contracts library works incredibly fast, congratulations 🎊


fix(): nav on touch and date for form submission

:rocket: Welcome to Baloise ChatOps based GitOps Bot :tada:
- If you want to enable preview environments for this PullRequest, comment with `/preview`.
- If you want to disable the preview environment for this PR, comment with `/undeploy`.
- If you need help or want to see the docs, comment with `/help`.

Make sure to refresh this page after submitting a command.
Preview environments can be redeployed automatically if you enable the webhook for updates to the source branch. :new:

Have fun building awesome apps! :hammer:  :whale2:  :truck:  :ship:


Add the provider nostr-relay.org in the list of providers

I have no idea if you are still looking to add providers to your list.
But if so, here is my small contribution.

Excellent! Thanks for the contribution 🙏

Excellent! Thanks for the contribution 🙏


feature/ adding contact_names as a new field to whois's proto and cha…

…nging the old contact_name field to be deprecated

Don't merge please


Asset details should not show up in Phase 1 of minting

Currently minter shows the preview of the name / attributes of the asset in step 1 before you can add them (in step 2). This is slightly confusing because the field looks like you should be able to input text into it on the right side of the screen. I recommend only showing those previews in Step 2.

Handled with #262


the default value of WhoCanRegister is not correct

The default value of WhoCanRegister is "EveryoneInCompany", but this article is saying the default value is "Everyone".

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

ID: 919bf080-1e20-1411-0d9e-41f559b883d8
Version Independent ID: 6a37be44-d957-2b7a-a563-53332cf59098
Content: Set-CsTeamsMeetingPolicy (SkypeForBusiness)
Content Source: skype/skype-ps/skype/Set-CsTeamsMeetingPolicy.md
Service: skypeforbusiness-powershell
GitHub Login: @tomkau
Microsoft Alias: tomkau

Duplicate of https://github.com/MicrosoftDocs/office-docs-powershell/issues/7846


"Parsing error: Unexpected token = "  When i'm using an arrow function inside a component class

@eladcandroid what's your .eslintrc look like? it looks like you're not enabling ES6 parsing (ES5 is eslint's default)

Something similar to me. Two arrow functions in code, one of them is marked as Parsing Error: Unexpected token =

@didaquis that’s also expected; class properties aren’t in the language yet, so eslint doesn’t parse them. You need babel-eslint.
Closing, since both of these questions are answered.

@ljharb Thanks for the information!


Some fixes after testing the new model client in modelix.text-editor

:tada: This PR is included in version 1.11.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Better output from JS_ToCString() on exception

ToString(object) can fail when there is a pending exception. Add a special case for exception objects to help debugging. Getting an empty string when the real error was "InternalError: stack overflow" is rage inducing.
Fixes: https://github.com/quickjs-ng/quickjs/issues/273

I couldn't really think of a good way to test this but I can say it works well in a project where I was getting rage induced.

Oh, I guess it does. I'll go and close that one.


use machine type pc

Qemu pc machine type is alias for the latest pc-i440fx-xxx series.
Use it so that we do not have to worry about updating it for different
qemu versions.

LGTM

TODO: make it configurable, and then default to pc.


Add a new registry to add plugins for extending create post

Summary
Adds a plugin component to extend create_post for plugins
Ticket Link
MM-11862
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] Ran make check-style to check for style errors (required for all pull requests)
[ ] Ran make test to ensure unit and component tests passed
[ ] Added or updated unit tests (required for all new features)
[ ] Needs to be implemented in mobile (link to PR or User Story)
[ ] Has server changes (please link)
[ ] Has redux changes (please link)
[ ] Has UI changes
[ ] Includes text changes and localization file (.../i18n/en.json) updates
[ ] Touches critical sections of the codebase (auth, posting, etc.)

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

Working some long running tasks so nothing on this. We couldn't include this on my sprints Mostly likely i will have this on my sprint after 5.10


Installation error.

Hello, I tried to re-build your GPT2 classifcation page.
But I found an issue.
Maybe some of your requirement is outdated?
ERROR: Could not find a version that satisfies the requirement matplotlib>=3.4.0 (from ml-things)
ERROR: No matching distribution found for matplotlib>=3.4.0
I got this issue.
Thank you.

Setup.py matplot lib dependency problem. Easiest fix is to just go to setup.py and change "matplotlib>=3.4.0" to "matplotlib"


Make addFailure function in Illuminate\Validatio\Validator public please.

Laravel Version: 5.6
PHP Version: 7.1
Database Driver & Version:

Description:
addFailure function in Illuminate\Validatio\Validator  is protected instead of being public
Thus it is impossible to add custom failure to the Validator.
Instead users need to go long way, adding custom error messages, taking care of translation,  ":attribute" naming and http statuses manually.

Feel free to submit a PR.


Upgraded minecraft to 1.20.2

Fixes #10
modified:   gradle.properties
modified:   src/main/java/net/lionarius/skinrestorer/SkinRestorer.java
modified:   src/main/java/net/lionarius/skinrestorer/mixin/PlayerManagerMixin.java
deleted:    src/main/java/net/lionarius/skinrestorer/mixin/ServerLoginNetworkHandlerMixin.java
modified:   src/main/resources/skinrestorer.mixins.json

Tested working on a server with this patch and EasyAuth (it conflicted with mixins in an initial patch)

I updated the mod myself, thank you for your contribution


CI: K8sUpdates Tests upgrade and downgrade from a Cilium stable image to master

The symptom is:
Cilium operator was not able to get into ready state
Expected
    <*errors.errorString | 0xc42056bae0>: {
        s: "Timeout reached: timed out waiting for pods with filter -l name=cilium-operator to be ready",
    }
to be nil

The likely cause is:
Detected allocation CIDR change to f00d::a0a:0:0:0/112, previous router IP fd04::11
Detected allocation CIDR change to f00d::a0a:100:0:0/112, previous router IP fd04::12

d6be6656_K8sUpdates_Tests_upgrade_and_downgrade_from_a_Cilium_stable_image_to_master.zip

Observed again: https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-K8s/1912/testReport/Suite-k8s-1/11/K8sServicesTest_Checks_ClusterIP_Connectivity_Checks_service_on_same_node/.
The main symptom:
kube-system   etcd-operator-7fcbd85cfb-5ktv5         0/1       ImagePullBackOff   0          4m        <IP_ADDRESS>      k8s2      <none>

While in the kubelet logs of k8s2:
Apr 16 12:05:01 k8s2 kubelet[4469]: E0416 12:05:01.637777    4469 remote_image.go:108] PullImage "quay.io/coreos/etcd-operator:v0.9.4" from image service failed: rpc error: code = Unknown desc = Error response from daemon: Get https://quay.io/v2/: EOF
Apr 16 12:05:01 k8s2 kubelet[4469]: E0416 12:05:01.637914    4469 kuberuntime_image.go:51] Pull image "quay.io/coreos/etcd-operator:v0.9.4" failed: rpc error: code = Unknown desc = Error response from daemon: Get https://quay.io/v2/: EOF
Apr 16 12:05:01 k8s2 kubelet[4469]: E0416 12:05:01.638034    4469 kuberuntime_manager.go:733] container start failed: ErrImagePull: rpc error: code = Unknown desc = Error response from daemon: Get https://quay.io/v2/: EOF

I've tried pulling the image locally and I got the same error:
$ docker pull quay.io/coreos/etcd-operator:v0.9.4
Error response from daemon: Get https://quay.io/v2/: EOF

Checking http://status.quay.io shows that there are some issues in the registry.

http://status.quay.io reports that the issue has been resolved. Also, running the docker pull locally reports a success. Closing the issue.


fix(ci): add GH token to release workflow to overcome API rate limits

Affected workflow run: https://github.com/Kong/kubernetes-testing-framework/actions/runs/3891847929/jobs/6643910381

Codecov Report
Base: 6.58% // Head: 6.58% // No change to project coverage :thumbsup:

Coverage data is based on head (952c648) compared to base (dd30e42).
 Consider uploading reports for the commit 4869b3f to get more accurate results

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #494   +/-   ##
=====================================
  Coverage   6.58%   6.58%
=====================================
  Files          8       8
  Lines       1246    1246
=====================================
  Hits          82      82
  Misses      1159    1159
  Partials       5       5

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.


Scroll To Top widget improved

Description
improved the scroll to top widget
Fixes #580
Replace issue_no with the issue number which is fixed in this PR
Screenshots

ignore high contrast

Checklist

[x] Tests have been added or updated to cover the changes
[ ] Documentation has been updated to reflect the changes
[x] Code follows the established coding style guidelines
[x] All tests are passing

One more updation , update the navbar property on all other pages with same properties and working same as dashboard page !

Will do that tonight!

Will do that tonight!

Sorry for the late reply did you made it ?

Which one? The navbar? I am on it right now

yes !


feat: support secure gerrit

Allow https for request gerrit information

Hi 😄 settings.protocol already exists but is not exposed in the configuration nor used in the get method. Could you rework this to use that rather than duplicated settings properties? The configuration can be found in the commented out section at the base of package.json. As I said the settings properties already exists 😄
Thanks 👍

Hi, the settings protocol is to decide between http and ssh. I could rework the using code to allow for https as well.
Is thats what was intended by you?

Thanks for this, accepted :+1:


Tidying the core_basic_window.c in projects/scripts

Adjustments specific to that location of the file.

The press F6 message and the placement of the compiled executable statement are incorrect for the scripts case.
<raylib.h> because "raylib.h" is meaningful only when compiling inside raylib/src/ folder.
main(void) to get rid of a novice-confusing warning.

@orcmid Just added a small review detail comment that I'm reviewing myself.


⚠ Bofrost.de has degraded performance

In 55cf161, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1466 ms

Resolved: Bofrost.de performance has improved in 353893e after 25 minutes.


Running locally UAA on Ubuntu 18.04.5: the process always exits with timeout

What version of UAA are you running?
I downloaded the current version of UAA from github as of Apr 19th, 2021. As UAA still fails to run can't provide the curl output
How are you deploying the UAA?
I am deploying the UAA

locally only using gradlew on  Ubuntu 18.04.5 x64 VM

What did you do?

installed Java 11
Installed git
cloned the uaa repository
run ./gradlew run from uaa folder

What did you expect to see? What goal are you trying to achieve with the UAA?
I am trying to run UAA locally to explore its features
What did you see instead?
The process ./gradlew run is stuck at 96% while running cargoRunLocal task and then exits after about 9-10 minutes with timeout error message.

I also examined the webapp deployment folder for apps and there are 2 subfolders visible: api and uaa, but not app
Tried running with up to 8GB RAM and once it started and I thought that probably it was a memory issue, unfortunately could ever repeat the success even with twice as long a timeout (~20min)
Logs attached.[
uaa-logs.zip
](url)

Apparently the machine we were running on was short on CPU power. Closing.


Zoom causes panel to scroll up when the ctrl+wheel event has a relatively large event.pageY

Describe the bug
as title
To Reproduce
Preview a long document such as pkuthss and scroll the very end of preview panel. Use ctrl+wheel to scroll it.
Package/Software version:
This at least affects v0.8.0 and v0.8.1

Same issue


Is a transaction necessary for a single create, update or delete statement?

Is a transaction necessary for a single create, update or delete statement? If there is an on delete cascade for a foreign key in a table when the primary key in another table that the foreign key references is deleted, would a transaction be necessary, then? I know that a transaction is necessary for more than one create, update or delete statement.

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

ID: 1073c238-9389-d826-a696-f1108a4f2ce0
Version Independent ID: cf56babd-def0-d76e-8eee-e33341b6a009
Content: Transactions - EF Core
Content Source: entity-framework/core/saving/transactions.md
Service: unspecified
Product: entity-framework
GitHub Login: @rowanmiller
Microsoft Alias: divega

The behavior may be database specific. By default, SQL Server is in autocommit mode, which means that single statements are wrapped in transactions automatically. But we have found that skipping the API calls to explicitly create and commit the transaction when SaveChanges only affects one row has no perceptible performance benefits.


fix: 修复 babel 配置

Checklist

[ ] npm test passes
[ ] tests and/or benchmarks are included
[x] commit message follows commit guidelines

Description of change

修复打包报错

Pull Request Test Coverage Report for Build 741866609

0 of 0   changed or added relevant lines in 0 files are covered.
7 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.05%) to 93.516%

Files with Coverage Reduction
New Missed Lines
%

src/chart/controller/gesture.ts
7
82.14%

Totals

Change from base Build 741358566:
-0.05%

Covered Lines:
10916

Relevant Lines:
11321

💛  - Coveralls


[Gas] A method to upgrade the gas config on-chain or off-chain.

Implement a command to initiate a transaction that upgrades the on-chain gas config after execution.
Use the version number to control which part of the Rust code runs, currently used to select different gas configurations.

related issue https://github.com/rooch-network/rooch/issues/1860

Finished


feat: filter providers by urn and type

https://github.com/raystack/proton/pull/324

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

11 of 15 (73.33%)  changed or added relevant lines in 4 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 73.809%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/store/postgres/provider_repository.go
3
7
42.86%

Files with Coverage Reduction
New Missed Lines
%

internal/store/postgres/provider_repository.go
1
84.14%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
8677

Relevant Lines:
11756

💛  - Coveralls


Jest Overwriting Require?

🐛 Bug Report
Jest appears to override the require module, which is causing some issues with Jest recognizing an object as a constructor.
To Reproduce
Steps to reproduce the behavior: Created a repo to make this simple, repo. If you run it directly through Node, it will work- but if you run it through Jest, it will fail complaining there isn't a constructor. A co-worker ran it through Mocha and that didn't fail out either.
Expected behavior
Expected behavior is for the constructor to create a realtime object.
Link to repl or repo (highly encouraged)
repo - This is a basic one with just a few pieces in place, but it highlights the issue
Issues without a reproduction link are likely to stall.
Run npx envinfo --preset jest
Paste the results here:
(node_client) $ > npx envinfo --preset jest
npx: installed 1 in 3.369s

  System:
    OS: macOS 10.14
    CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
  Binaries:
    Node: 8.9.4 - ~/.nvm/versions/node/v8.9.4/bin/node
    npm: 6.4.1 - ~/.nvm/versions/node/v8.9.4/bin/npm

Ran this on Windows 10, PopOS (linux), and OSX. Issues seen on all platforms.

For now I'm going to close this- I was out of the country for a while but the other dev I was working with couldn't really narrow down the scope of the problem. Thanks for the help, if we are able to narrow down everything with a small file we'll revisit.


Refactor Error Processing in CLI

@dubeejw commented on Wed Mar 22 2017
The error type in the CLI should be refactored as a linked list. This will eliminate the need to manually concatenate error messages whenever an error occurs.

@dubeejw commented on Wed Mar 22 2017
@csantanapr, @mdeuser, this is technical debt, and should be fixed ASAP.

@mdeuser commented on Thu Mar 23 2017
@dubeejw - is there a particular failure that you are seeing?

@dubee @mdeuser is this still a thing?

Can still be done, but not a priority.


Feature Request clostestPoint & segmentOfPoint

I searched through the internet but didn't found a library that supports clostestPoint and segmentOfPoint. I don't use your library (no need for this functions) but I saw that you are reagular committing and that you have already many nice features, so maybe you are interessed.
For clostestPoint I found that code (scroll down until function clostestPoint). It is working well.
I also would need the start and end point of the segment, so I would need segmentOfPoint but I haven't found solutions without the deprecated pathSegList.

I will have a look as soon as I get some time.

The closestPoint is easy to implement, already have it working somehow, I will need you to confirm how accurate it is.
However the segmentOfPoint is rather tricky, because the calculation is done to a pathArray converted to curve, a process in which the curveArray may not have the same amount of segments as the original path when that path has Arc segments. Nevertheless it's worth a try, will let you know when we're ready for some tests.

Very nice, thanks for the quick response.
For segmentOfPoint I found this polyfill with getPathSegAtLength, another way would be maybe to parse the path into the segments and then check with the native SVG function isPointInStroke which segment contains the point

@Falke-Design take a minute to check the latest master, let me know how it goes.

Wow very nice! The calculation is so fast 😍
I have found a few things but none of them are important.
In the Wiki:

SVGPathCommander.parsePathString(string) should be the first of the static functions, because it is needed for every other function
Some of the static functions also support string, I suggest to remove it from the doku and in a later release remove it from the code. It makes it confusing if some function can be used with the path string and some not
SVGPathCommander.optimizePath(*pathArray*) and SVGPathCommander.reversePath(string | pathArray) are not in the correct format
Move getPropertiesAtLength and getPropertiesAtPoint to the bottom. First introduce each single function getClosestPoint, getSegmentOfPoint and then the function that return all values in one call getPropertiesAtPoint

Changes in functions:

It would be nice if SVGPathCommander.parsePathString(string) would also accept an HTML-SVG-Element
Return named properties instead of each value in getPathBBox: bbox: [{x: x1, y: y1}, {x:x2, y:y2}], width, height, center: {x: cx, y: cy, z: cz}
Return in getSegmentOfPoint and getPropertiesAtPoint().segment the visible end and start point:

New function:

Sometimes it would be nice to take one or multiple segments and get one new path out of it
I don't know if this is possible but cutting / splitting a path would be a nice thing.
getVisibleBBox: Get the bounds of the visible shape instead only of the points in the segments:
getPathBBox:
getVisibleBBox:
There is also an alternative out there which uses the points of the curve but I don't like that one:

Thanks for your fantastic work!

I agree with some of the changes in regards to the wiki. Some parts of it need to be updated again, in fact I need to refactor it for better navigation and hierarchy.

It would be nice if SVGPathCommander.parsePathString(string) would also accept an HTML-SVG-Element

This is something I might consider for the SVGPathCommander, the utility will stay as is, my KUTE.js needs it just like that.
More of my 2cents:

I don't agree with changing the output structure of the getPathBBox; the native output is {x, y, width, height}, the original function author only added {cx, cy, x2, y2}, where I only added cz for 3D to 2D projections, which makes more sense, especially for those familiar with Raphael / SnapSVG;
a feature for splitting segments is implemented with my KUTE.js, I don't see other uses for splitting other types of segments, Line segments are easy, Arcs are impossible unless converted to Cubic-Bezier, but if need arises in the future, we might re-consider;

While I appreciate the time to write feedback and test, in short and for all other issues, unfortunately I don't afford the time to develop, test and document, I'm a super happy I've done something that is accurate, efficient and returns a good getPointAtLength as well as a getTotalLength in a single function pathLengthFactory. I'm also very happy with my own implementation of normalizePath, reversePath and optimizePath.
Besides that, feel free to research, write feedback and even contribute with your own work if you think it should benefit us all. I love that about open source.

I found a bug in the segment calculation. When the point is on the path it always returns the first segment:
var point = {x: 650, y: 150};

// point is not on the path - it takes the closest point and then get the segment - correct
var props1 = SVGPathCommander.getPropertiesAtPoint(pathArray,point);

// point is on the path (closest) - always the first segment is returned - wrong
var closest = SVGPathCommander.getClosestPoint(pathArray, point)
var props2 = SVGPathCommander.getPropertiesAtPoint(path,closest);

console.log(props1,props2)

https://jsfiddle.net/L9sy8xzt/

I already found the code line that's incorrect, but will have to have a look at it after some rest ;)

If you can test please edit getPropertiesAtLength.js line 73:
  const segment = getPropertiesAtLength(path, bestDistance);

replace with
  const segment = getPropertiesAtLength(path, bestLength);

or edit your built local file with the above change, let me know if that's the fix, I think I missed that due to lack of rest as usual.

Yes this is it, is now perfectly working!

Alright, then I'm going to publish new version in a couple minutes. ;)

Sup @Falke-Design are you ready to test a new and improved build sometime early next week?
I've done some huge rework, thanks to testing with Cypress I found lots of ways to improve the code base, what do you say?

@thednp Yes I can do some tests. Is it already in the current master branch?

Nop, not yet, I'm currently working hard on Cypress testing, will give you a buzz.

@Falke-Design ready to test. Have fun


Fix: update selected status of current item when switching to select mode

Thank you for providing this tool, it's just what I needed :)
I've made a pull request with small suggestion for improvement.
I suppose it is generally expected that when entering select/deselect mode, the currently selected item will also be selected/deselected.

Sorry for the delay in replying.
Thank you, I had just recently used it and felt uncomfortable too!


Security Issue with %q?

Hi,
looking at one of the examples (here), we have the following query:
"query" : {
	"multi_match" : {
		"query" : %q,
		"fields" : ["title^100", "alt^10", "transcript"],
		"operator" : "and"
	}
},

What makes me nervous/unsure is the part %q. Do I need to sanitize %q if I pass it with user-data? If so, what would be the correct way?
Is it possible that a user inserts malicious (causing elasticsearch to run OOM, dump the index, etc. etc.) queries into my search query?

There is no danger of "query injection" with the multi_match query, eg. it doesn't expand wildcards. Of course, user-provided input always needs to be treated carefully — I imagine it would be possible to send a malformed payload there.
Note that things are different with the query_string query, which can be quite easily used for stressing the cluster. Things get really dangerous if people could pass their own scripts, but that's not something possible out-of-the-box, unless you allow them to do it.

Of course, user-provided input always needs to be treated carefully

See, that's the point. I'm reading this now on every forum, blog, etc. but no one is explaining how someone can prevent that in elasticsearch.
How would you expose a search API that takes some words as query parameter from a user?

it would be possible to send a malformed payload there.

Could you elaborate on that more? How can I prevent that? Is there something for 'sanitation' within go-elasticsearch?
Thanks, karmi!

In general, taking in the input and sending it in the multi_match query is safe. I've mentioned a "malicious payload" because I can imagine somebody can come up with some sort of "unicode bomb" — unparseable content, monstrously big content, etc. Some lightweight sanitation like limiting the allowed length of the query (a regular query won't have 1,000,000 characters) or limiting the Unicode range (which is hard to do, though) might make sense. But a fulltext query is not susceptible to a regular SQL injection attack in the "little bobby tables" sense.

How would you expose a search API that takes some words as query parameter from a user?

The example you've found is actually a pretty solid way of solving that: just feed it to a match or multi_match query. Using strconv.Quote() might improve it a bit.

Great, I was looking for that confirmation!
Thank you very much!

But a fulltext query is not susceptible to a regular SQL injection attack in the "little bobby tables" sense.

For the uninitiated, little bobby tables


Unix epoch time mathematics

If the sample C# generateSasToken code is run on a machine in a non UTC timezone does it produce the expected result?
TimeSpan fromEpochStart = DateTime.UtcNow - new DateTime(1970, 1, 1);

On my development box (NZT)
TimeSpan fromEpochStart = DateTime.UtcNow - new DateTime(1970, 1, 1);
TimeSpan fromEpochStartUtc = DateTime.UtcNow - new DateTime(1970, 1, 1).ToUniversalTime();
Console.WriteLine("Epoch comparison");
Console.WriteLine($"Local {fromEpochStart}");
Console.WriteLine($"UTC   {fromEpochStartUtc}");
Console.WriteLine();
Produces
Local 18224.04:04:13.8986706
UTC   18224.17:04:13.8986709 (NZ is current UTC+13)
Possibly both DateTimes should be UTC?
@KiwiBryn

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

ID: 5abe8bb4-f610-0800-6ad8-b78349018779
Version Independent ID: c772405d-98b1-ebdc-29e9-2b65da12ba99
Content: Understand Azure IoT Hub security
Content Source: articles/iot-hub/iot-hub-devguide-security.md
Service: iot-hub
GitHub Login: @wesmc7777
Microsoft Alias: wesmc

@KiwiBryn, Thanks for the question! We are taking a look into this and will get back to you soon.

Hi
Sorry I think I made a mistake new DateTime(1970, 1, 1); creates a a DateTime with an Unspecified Kind which is "automagically" handled by the DateTime maths.
@KiwiBryn

@KiwiBryn Glad to hear that your issue is resolved. Appreciate for sharing the resolution, this would certainly benefit other community members.


Bug while directly running scripts

Hi,
The following error pops out when I directly run the script. Can you let me know what's going on? Thanks.
Autoformer-main/exp/exp_main.py", line 248, in test
preds = preds.reshape(-1, preds.shape[-2], preds.shape[-1])
IndexError: tuple index out of range

Hi,
I also have the same question. Can you let me know how to solve

in my example the shape of preds is (90,) cuz the last element in the batch does not share the same size as the previous elements, you can either ignore the last batch or use concat operation to construct preds.

please ,how to  ignore the last batch?such as verify "preds = preds.reshape(-1, preds.shape[-2], preds.shape[-1])" as "preds = preds.reshape(-1, preds.shape[-2])"?