ci(lint): setup lint job

Signed-off-by: Matthieu MOREL<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

21 of 47 (44.68%)  changed or added relevant lines in 17 files are covered.
4 unchanged lines in 4 files lost coverage.
Overall coverage decreased (-0.1%) to 55.315%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

plugins/ipam/dhcp/main.go
0
1
0.0%

plugins/ipam/host-local/main.go
1
2
50.0%

plugins/main/loopback/loopback.go
0
1
0.0%

plugins/meta/firewall/ingresspolicy.go
0
1
0.0%

plugins/ipam/dhcp/daemon.go
0
2
0.0%

plugins/main/ipvlan/ipvlan.go
1
3
33.33%

plugins/main/macvlan/macvlan.go
1
3
33.33%

plugins/ipam/dhcp/lease.go
0
3
0.0%

pkg/ip/utils_linux.go
0
4
0.0%

plugins/meta/vrf/main.go
2
6
33.33%

Files with Coverage Reduction
New Missed Lines
%

plugins/main/ipvlan/ipvlan.go
1
58.15%

plugins/main/ptp/ptp.go
1
70.0%

plugins/meta/bandwidth/ifb_creator.go
1
78.81%

plugins/meta/sbr/main.go
1
69.6%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
4038

Relevant Lines:
7300

💛  - Coveralls


Post使用时出现跨域的问题

你好，我在通过javascript中的XMLHttpRequest使用的时候发现GET可以正常使用，但是POST会出现跨域的问题
问题代码
<script>
    var data = new FormData();
    data.append("username", "test");

    var xhr = new XMLHttpRequest();
    xhr.withCredentials = true;

    xhr.addEventListener("readystatechange", function() {
    if(this.readyState === 4) {
        console.log(this.responseText);
    }
    });

    xhr.open("POST", "https://test.miaodrew.workers.dev/");

    xhr.send(data);
</script>

不知道是否是我的代码问题，前来请教一下
Woker中的代码是直接复制粘贴的仓库中的woker.js中的代码

That's because, you are using form data,
Just send some json object along with application/json content-type header
Method: POST
Content-Type: application/json
URL (Secured with Token): https://<your-app>.workers.dev/?key=<post-key>
URL (Not Secured): https://<your-app>.workers.dev/
BODY: Json Data (Not Parsed)

Looks, like you didn't set the KV variable, So deploy it again. After that request it like this 👇
var data = JSON.stringify({
  "test": "ok"
});

var xhr = new XMLHttpRequest();
/ * xhr.withCredentials = true; */  // Brower doesn't allow wildcard (*) cross origin request while this is true

xhr.addEventListener("readystatechange", function() {
  if(this.readyState === 4) {
    console.log(this.responseText);
  }
});

xhr.open("POST", "https://kilovolt.tprojects.workers.dev/");
xhr.setRequestHeader("Content-Type", "application/json");

xhr.send(data);

I'm so sorry that i still can't solve this problem,and I'm sure i set the KV variable because there is no problem in the brower in the cloudflare worker's page,but when i switch to my localhost this problem happened.
I tried your code and there is nothing different with mine.

So sorry to trouble you.

I don't know what happened, but it's working now, thank you very much!!!😁


Add jaeger for helm deployment

Signed-off-by: Jim Ma<EMAIL_ADDRESS>
Description
Add jaeger for helm deployment.
Related Issue

Motivation and Context

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation Update (if none of the other choices apply)

Checklist:

[ ] Code compiles correctly.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

Codecov Report

Merging #415 (6fb4e66) into main (0118c10) will decrease coverage by 0.09%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #415      +/-   ##
==========================================
- Coverage   38.53%   38.44%   -0.10%
==========================================
  Files          80       80
  Lines        6204     6204
==========================================
- Hits         2391     2385       -6
- Misses       3475     3482       +7
+ Partials      338      337       -1

Flag
Coverage Δ

unittests
38.44% <ø> (-0.10%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

client/daemon/peer/peertask_stream.go
55.84% <0.00%> (-2.27%)
:arrow_down:


[HUDI-3506] Add call procedure for CommitsCommand

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.

What is the purpose of the pull request
This change add ShowArchivedCommitsProcedure、ShowCommitFilesProcedure、ShowCommitPartitionsProcedure、ShowCommitWriteStatsProcedure 、CommitsCompareProcedure procedure to Hudi Spark's call procedure support.
Brief change log
Add ShowArchivedCommitsProcedure class to support call show_archived_commits and call show_archived_commits_metadata SQL command;
Add ShowCommitFilesProcedure class to support call show_commit_files SQL command;
Add ShowCommitPartitionsProcedure class to support call show_commit_partitions SQL command;
Add ShowCommitWriteStatsProcedure class to support call show_commit_write_stats SQL command;
Add CommitsCompareProcedure class to support call commits_compare SQL command.
Verify this pull request
This change added tests and can be verified as follows:

Added UT “Test Call show_archived_commits Procedure” in TestCommitsProcedure.
Added UT “Test Call show_archived_commits_metadata Procedure” in TestCommitsProcedure.
Added UT “Test Call show_commit_files Procedure” in TestCommitsProcedure.
Added UT “Test Call show_commit_partitions Procedure” in TestCommitsProcedure.
Added UT “Test Call show_commit_write_stats Procedure” in TestCommitsProcedure.
Added UT “Test Call commits_compare Procedure” in TestCommitsProcedure.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

The CI is failed.


build for win64

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

For changes like this you need to rerender by running conda smithy rerender locally and push the changes.

@isuruf
conda smithy rerender
Fetching package metadata .............
Fetching package metadata .............
Fetching package metadata ...............
Fetching package metadata ...............

Re-rendered with conda-smithy 2.3.0.

No changes made. This feedstock is up-to-date.


winch: Implement aarch64 call, trapz, address_at_vmctx

Implement the following MASM instruction for the aarch64 platform:

call
address_at_vmctx
trapz

I initially planned to only implement call, but implementing the tests uncovered the necessity to implement the other two as prerequisite for indirect calls.
Right now the calling convention is hardcoded to SystemV, but maybe we also want to support AppleAarch64?
#8321

I can help taking a look at this one.

There are some failures in CI -- I'm trying to figure out if they are related to your changes or not.

Alright, I updated the submodule, ci looks good now


fix do not check started state in ThriftServer::join

started may be set to false when server thread is stopped.
Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


build: Test new s3 deploy maxAge option [PT-185481519]

DO NOT MERGE
This is a test to ensure the new maxAge option is correctly passed to the s3 deploy action.
This will be used in the production release process.

Testing complete.


no module named 'fake_useragent.data'

Hello,
I've encountered an issue while using this module. When I attempted to package it into an exe file using version 1.2.1, an error message appeared, stating that the 'fake_useragent.data' module could not be found. However, the module operates normally in the .py file. I tried downgrading to version 1.1.1, and the issue was resolved. Could you please provide guidance on how to fix this?
Thank you for your response.

Hello!
As an intermediate solution, you can add the browser.json file inside the EXE when building it by adding an option to the pyinstaller command:
pyinstaller app.py -Fn app --add-binary "venv/Lib/site-packages/fake_useragent/data;fake_useragent/data"

It works. Thank you.


Contact email not working

Tried to notify admin of most features that stopped loading few days ago :
Delivery to the following recipient failed permanently:
<EMAIL_ADDRESS>
Technical details of permanent failure:
DNS Error: Address resolution of mxa.mailgun.com. failed: Domain name not found
----- Original message -----
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:date:message-id:subject:from:to:content-type
:content-transfer-encoding;
bh=18OYSDGPaiBYMBoPIllKzmlmk3Y2reFdvnbuCw24A/Q=;
b=P4Wet3TJxcDkuh+ym5+s1iN2uCEOyhov5pdzTo0gCKoo34HvjESBDt68BJRJv4Cvp0
wkBoX9tLtY24M0zf+hXJAMJZNWWFnkiCfqmWDp2rKr/T7b9dmgg1Jf63091x6kD7SDn9
7kvFmcwcZhbvveNW1fK1CV0HYHfE1KVTRlfO4PPolfPyrk2ZjWpxhkEmGc2+izMKIpq3
JkiGhAsgXBo/LA9pzswNj4FyadfrAEukqtBKAq6za4b6jPvdQAb15mXUaCIe7NPtPnKT
T5MajAcrPqcXrznM6Qbnv6voTkInzVItwpHpYUv2iGUU46XmNIUZM7BuGqwAm0IUmjlz
oyDQ==
MIME-Version: 1.0
X-Received: by <IP_ADDRESS> with SMTP id t5mr14107616qki.66.1442696349348; Sat,
19 Sep 2015 13:59:09 -0700 (PDT)
Received: by <IP_ADDRESS> with HTTP; Sat, 19 Sep 2015 13:59:09 -0700 (PDT)
Date: Sat, 19 Sep 2015 22:59:09 +0200
Message-ID<EMAIL_ADDRESS>Subject: The page is barely moving,
From: =?UTF-8?Q?Andr=C3=A9_Kjellstrup?=<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

thanks, we are aware and trying to deploy a fix

I see the support email still isn't working after nearly 5 months, surely a fairly basic fix?

@LeonDBL The plan going forward is to accept support queries from the dronekit cloud support forums only. I am closing this issue.


docs: add missing 'on' in Oracle installation guide

- What I did
Added a missing on in the Oracle Linux installation guide.
- How I did it
Opened the file in GitHub, edited and submitted this PR.
- How to verify it
Look [here](.
- Description for the changelog

docs: add missing 'on' in Oracle installation guide
- A picture of a cute animal (not mandatory but encouraged)

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "patch-2" git@github.com:Starefossen/docker.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

LGTM, thanks!


Deprecate functions for reading VCF

We should encourage people to start using bio2zarr for VCF conversion, rather than the functions in sgkit. We can start the process by deprecating the functions here.
Note that the functions for writing VCF (write_vcf and zarr_to_vcf) have no equivalents in bio2zarr, and should not be deprecated.
A couple of questions:

Are there any missing features we need to implement before deprecating?
Should we deprecate before the next release?

(This was discussed a bit in #1228.)

The only features missing revolve around max_alt_alleles, which I think we're probably not going to actually do in bio2zarr unless someone has a compelling reason (https://github.com/sgkit-dev/bio2zarr/issues/18).
So, I think what we have is fine, given that there probably isn't a lot of people using the code.


Generate tests by status code

Similar to filtering the generation of tests by the specified path(s), it would also be very useful to filter the generation of tests by the specified status code(s). This would allow users to generate "happy-path" tests, or only negative scenario tests. I found this feature very useful (although buggy) in STT and subsequently I believe it would be very useful for oatts users as well.

I've started work on this with #17 .

Released in v1.2.1


Color definitions error with embedded variable definitions

OS: Windows 10
Scout-App Version: V2.12.12
Information from Dev Tools:
Many errors when parsing Bootstrap 4 Beta A release due to this type of error
argument $color of rgba($color, $alpha) must be a color
From the Bootstrap file
// custom file
.custom-file-input {
.was-validated &:#{$state},
&.is-#{$state} {
~ .custom-file-control {
border-color: $color;
    &::before { border-color: inherit; }
  }
  &:focus {
    box-shadow: 0 0 0 .2rem rgba($color,.25);
  }

_______     Program seems not to be able to accept a previouly defined variable in the defniition of another variable.

I downloaded the Source Code (zip) from the Bootstrap v4.0.0-beta.2 release. Extracted the folder and dragged it into Scout-App v2.12.12 and it was able to run the project without any errors.
Can you give me a simplified single file example of how to reproduce this issue.

Closing issue. There is a new release of Scout-App which uses the latest Node-Sass version. Scout-App v2.18.16.


🌱 cron: Fix k8s yaml errors and document how to prevent them. (5/n)

Signed-off-by: Spencer Schrock<EMAIL_ADDRESS>What kind of change does this PR introduce?
Part of a series of refactors to generalize the cron infrastructure to enable re-use by the ossf criticality score project

[X] PR title follows the guidelines defined in our pull request documentation

What is the current behavior?
Two yaml files from #2279 had a parsing error that stopped them from being applied with kubectl
What is the new behavior (if this is a feature change)?**
All files parse

[ ] Tests for the changes have been added (for bug fixes/features)

Which issue(s) this PR fixes
NONE

Special notes for your reviewer
This PR has two kinds of changes:

Necessary changes to make the controller yamls parse, involving location of the volumes tag
Whitespace changes  to fix the linter warnings (which kubectl will ignore anyway)

Does this PR introduce a user-facing change?
For user-facing changes, please add a concise, human-readable release note to
the release-note
(In particular, describe what changes users might need to make in their
application as a result of this pull request.)

NONE

We could also make this a build workflow step to prevent this sort of thing in the future, but it would add a new step to that job since we'd need to apt install yamllint. As long as it's limited by something like #2293 I think the effect would be small.


RefreshEventData class inside ConfigWatch class needs to be public

I am trying to integrate spring-boot with consul and the use case is to get notified when a property is changed on consul and if it does, take some action based on it. A typical use case might be to increase the thread pool size or disable caching.
Given that org.springframework.cloud.consul.config.ConfigWatch already publishes RefreshEvent, I could technically implement the above use case by implementing an ApplicationListener. However, RefreshEventData is currently package private and is not visible. Can we make it public instead?

Ping?

What data are you looking for from that class? It's just a command event that tells the RefreshEventListener to perform a refresh. When a refresh is done an EnvironmentChangeEvent is published that lists the changed keys.

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


[meshery] Extend meshops.proto to provide adapter version, and other info

Current Behavior
The adapter gRPC service does not provide a function to return the version  of an adapter, and other information of interest.
Desired Behavior
Create an function getInfo or similar to return adapter version and other information.
This issue is related to https://github.com/layer5io/meshery/issues/1530, but handles only one aspect of it.

See also https://github.com/layer5io/meshery/pull/2204.

We might extend this with information about supported mesh versions returned by a separate rpc.


FileManager search files / add files

A user with limited permissions is able to view all files in the file manager, if he/shee clicks on the 'browse files' from the CKeditor.

Here a user (File Uploader) that doesn't belong to any groups should only see its own files. However, in v801, the user sees all files. This worked okish in 57511.

Are you sure the user in question wasn't also in News Editor or General Web editor by chance?

Yes, 100% certain.

I think a few things are happening. 1. The author field isn't being set properly, which is weird because it should affect this. That will be fixed in 8.0.2. 2. I have no idea what else is happening. I have verified this as well. This is going to take longer than today to figure out.


Release 8.0.0

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

:smiley:
So, these modules used to have versions that followed ES versions: v6 of the module manage ES6, v7 manage ES7 (only exception, this module can be used to setup any version of the repos :upside_down_face:).
I guess that if we switch to semver, we officicaly drop support of ES 6 (because we will not release any new v6 version) and only support the latest ES with this module?  I am perfectly fine with this but we need to make this obvious !
ES8 not being a thing ATM, the timing is i think good for people to understand that module version is not linked to ES version anymore.

@smortex I updated the readme with a note. after this one is released we can tackle down the elasticsearch module.


Add support for Python 3.12

Proposed Changes

(Describe the changes and rationale behind them)

Related Issues

(Github link to related issues or pull requests)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2f788b7) 100.00% compared to head (15abc78) 100.00%.
Report is 29 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #140   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         6
  Lines          185       188    +3
  Branches        27        28    +1
=========================================
+ Hits           185       188    +3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


special characters (eg spaces) in commands should be escaped

[x] are reporting a bug others will be able to reproduce and not asking a question. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh
[x] ran a brew command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new/choose. If it's a brew cask problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

a command (eg system) ran with arguments having special characters (eg spaces) shows displayed in terminal without escaping it:
for example for this: https://github.com/timotheecour/homebrew-timutil/blob/master/ripgrep.rb
the following
system "cargo", "install", "--features", "pcre2 avx-accel", "--root", prefix
shows as:
==> cargo install --features pcre2 avx-accel --root /Users/timothee/homebrew/Cellar/ripgrep/HEAD-f1e0258
instead of:
==> cargo install --features pcre2\ avx-accel --root /Users/timothee/homebrew/Cellar/ripgrep/HEAD-f1e0258
or
==> cargo install --features 'pcre2 avx-accel' --root /Users/timothee/homebrew/Cellar/ripgrep/HEAD-f1e0258

This is a feature request rather than a bug. Note that that line is also truncated by the width of your terminal; it's not intended to be a copy-pasteable shell line.

ran brew config and brew doctor and included their output with your issue?

You didn't. Please do in future.


Add API Priority and Fairness policy for the control-plane

https://kubernetes.io/docs/concepts/cluster-administration/flow-control/
API Priority and Fairness is Kubernetes API that helps administrators control the flow of traffic to the api-server.  KubeVirt should have it's own opinion on how this policy should exist by default.
This commit add a FlowSchema that controls traffic to all of KubeVirt's APIs, sets its precedence to be just below the Kubernetes control-plane precedence, and uses the workload-low PriorityLevelConfig, which is what most components would use.
Fixes https://github.com/kubevirt/kubevirt/issues/6307
Release note:
Add API Priority and Fairness policies for the KubeVirt control-plane

/wip
Needs tests

/wip Needs tests

Hey @rthallisey! Thanks for your PR.
If your PR is WIP, please convert it into draft:

Afterwards, run some specific tests according to your needs:
/test <lane-name>

/close
Closing for now.  I had made more progress on my local branch, but it still needs more work.


New 0.5.0 beta release

Hello, I've been working on updating Smithay's client toolkit (https://github.com/Smithay/client-toolkit/pull/223) and moved to using this crate for keymap handling.
At the moment the beta.0 release does not match upstream with some of the changes (making new_from_fd unsafe and the MAP_PRIVATE behavior inside new_from_fd).
At some point I will need a 0.50 release proper but for now I am in no real rush for a full release.

@rtbo do you think you can find some time for this and #33, or is there any way we can help you out?

This is done now


Remove version: Google.Chrome.Canary version 133.0.6845.0

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://dl.google.com/release2/chrome/adv7is75rdragddktuxpguku6cra_133.0.6845.0/133.0.6845.0_chrome_installer.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 923)


Specify cross-era ticking/forecasting for Cardano

Right now, the semantics of cross-era ticking/forecasting is purely implementation-defined, driven by whatever does not cause any concrete issues, rather than principled considerations.

See here for forecasting.
See https://github.com/input-output-hk/ouroboros-consensus/blob/106ce89c51e4b6d144b15d02bf78513e947817e6/ouroboros-consensus-cardano/src/ouroboros-consensus-cardano/Ouroboros/Consensus/Cardano/CanHardFork.hs#L708-L723 and #339 for an explanation why the current approach to ledger state ticking (translate-then-tick, ie first translate, then tick across the era/epoch boundary using the logic of the new era) is at the very least surprising in this case.
Chain-dep state ticking is also underspecified (eg on the transition from TPraos to Praos, should the extra entropy nonce have been used if non-neutral?).

We should try to improve the situation here, and should be in a decent position for this as we now have a sizeable sample of era transitions whose requirements/particularities can guide our judgement. This requires input from the Ledger team, but the Consensus team can start by drafting a proposal. Possible outcomes are:

Decide on how responsibility for the cross-era logic should be distributed across Consensus and Ledger. (Right now, it is a mix between the Ledger-provided TranslateEra instances, and how/when Consensus invokes them. At the very least, it should be clarified what the exact requirements/guarantees here are.)
Enriching the existing specifications with cross-era behavior (eg in the existing Ledger specs PDFs, or in the formal ledger specifications).

Crucially, any semantics we decide on has to be compatible with mainnet.

@amesgen I marked this issue as needing help for the time being. Perhaps we could create a separate issue where we describe what we need from the ledger team, and mark that one as help needed.


Add ruby bundler support

It would be nice to have an option to generate nix packages from ruby bundler like packages and add relevant support in nixpkgs. I want to make some nixos modules for packages which use bundler.
I would like to implement this. I know @MarcWeber was working on this, but i don't know what is the state of his work.
What do you think is the best approach here? There are two ways I can think of, which all involves first parsing of Gemfile.lock and then:

Use gem nix to add dependencies, but this would mess up generated ruby packages with speciffic version of pacakges, which is not nice.
Generate dependecies using gem nix in some other file and somehow include them in generated nix expression.
Add bundler support in gem nix

This seems to be really outdated, isn't it?
Ping (randomly) @lethalman

Is it still not implemented yet?

I think this is no longer the case @Pitometsu manual and bundix.

Bundix is now part of nixpkgs


Add sacks, baskets, essence pouches and other storage items

Storage items #397

Vegetable sacks
Fruit baskets
Tea flask
Food satchels
Runecrafting pouches
Coal bag
Gem bag

Misc:

Added fletching tests #486
Added set charge operator #311
Added drop and destroy item events
Added more item-on-item-tests

i just did the quest and got a tea flask and satchel
here are the right messages
tea flask
inventoryItem("Drink", "tea_flask") {
player.message("There's nothing left in the flask.")
player.playAnimation("5827")
player.message("You take a drink from the flask...")
inventoryItem("Look-in", "tea_flask") {
item("tea_flask", 400, "There is no tea in this flask.")
item("tea_flask", 400, "There is one serving of tea in this flask.")
item("tea_flask", 400, "There is 2 serving of tea in this flask.")
item("tea_flask", 400, "There is 3 serving of tea in this flask.")
item("tea_flask", 400, "There is 4 serving of tea in this flask.")
item("tea_flask", 400, "There is 5 serving of tea in this flask.")
itemOnItem("cup_of_tea", "tea_flask") { player ->
player.message("You add the tea to the flask.")
player.message("The flask is full!")
itemOnItem("tea_flask", "empty_cup") { player ->
player.message("You fill the cup with tea.")
satchel i only can get rune because im only level 11 combat i think there all the same
inventoryItem("Inspect", "*_satchel") {
item("_satchel", 400, "The rune satchel!(empty)")
item("_satchel", 400, "The rune satchel!(Containing: no sandwich, one cake, and one banana)")
item("_satchel", 400, "The rune satchel!(Containing: one sandwich, no cake, and no banana)")
item("_satchel", 400, "The rune satchel!(Containing: one sandwich, no cake, and one banana)")
item("_satchel", 400, "The rune satchel!(Containing: one sandwich, one cake, and one banana)")
itemOnItem("cake", "*_satchel") { player ->
player.message("You already have a cake in there.")
itemOnItem("banana", "*_satchel") { player ->
player.message("You already have a banana in there.")
itemOnItem("triangle_sandwich", "*_satchel") { player ->
player.message("You already have a sandwich in there.")
with sacks and basket with
when (player.inventory.transaction.error) {
i don't get any message when i don't have any potatoes in my inv and i have a potatoes sack 6

the satchel can only hold one of ea item if the Inventory is full you get this message 3 times
"You don't have enough free space to empty your satchel."


Add Remove by prefix method in caching providers.

Most of time , our cache keys will be formatted by some customizable rules .
Some samples are as follow :
[ModuleName]:[SubModuleName]:[IDs]
[ProjectName]:[ClassName]:[MethodName]:[Params]
....

Also we need to remove the cached item via their prefix , for example , if we want to remove all of the cached item start with  [ModuleName]:[SubModuleName]: due to some reasons.
This function will be used in some special scenarios .
I open this issue mainly for discussing .

For Memcached Caching Provider :
Just following the Namespacing !

For In-Memory Caching Provider :
Microsoft.Extensions.Caching.Memory seems not support for this case today !
https://github.com/aspnet/Caching/issues/187
https://github.com/aspnet/Caching/issues/311
Maybe I will create a set to store the cachekeys at this time ! But this is not  a good idea .

For In-Memory Caching Provider :
Microsoft.Extensions.Caching.Memory seems not support for this case today !
Maybe I will create a set to store the cachekeys at this time ! But this is not a good idea .

The following version contains this feature!

EasyCaching.InMemory  v0.13
EasyCaching.Redis v0.13
EasyCaching.Memcached v0.13
EasyCaching.SQLite v0.13


The problem with the test

The problem with the test

if run
torchpack dist-run -np 8 python tools/test.py configs/nuscenes/det/transfusion/secfpn/camera+lidar/swint_v0p075/convfuser.yaml pretrained/bevfusion-det.pth --eval bbox
he falls out somewhere, into an endless cycle - it is unclear what he is doing...

I tried to do debugging, at the last it outputs 185 and loads checkpoints

Could you try torchpack dirt-run -v -np 8 ... to see if there's a more detailed error message?

I'm sorry that I took a long time to answer, now I will answer every day, because there is an urgent need to complete the project. There is such an error hanging now:

Thanks for the answer

torchpack dist-run -np 8 python visualize.py /configs/nuscenes/seg/fusion-bev256d2-lss.yaml --model.encoders.camera.backbone.init_cfg.checkpoint pretrained/swint-nuimages-pretrained.pth --load_from pretrained/bevfusion-seg.pth
torchpack dist-run -np 1 python tools/visualize.py configs/nuscenes/seg/lidar-centerpoint-bev128.yaml --model.encoders.camera.backbone.init_cfg.checkpoint pretrained/swint-nuimages-pretrained.pth --load_from pretrained/lidar-only-seg.pth
Can you tell me what the errors are?
torchpack dist-run -np 2 python tools/visualize.py configs/nuscenes/seg/fusion-bev256d2-lss.yaml --model pred --checkpoint pretrained/bevfusion-seg.pth --out-dir result/visualize fixed it, but
create_data question
#461

And can you explain how to figure out what is the dimension of the input data, for example, for the lidar-only-det(seg) model, what are the outputs and their dimension ? Is there any way to withdraw it? Sorry for the number of questions

https://github.com/mit-han-lab/bevfusion/issues/512   After installation, there was still an error... I started it
torchpack dist-run -np 8 python tools/train.py configs/nuscenes/det/transfusion/secfpn/lidar/voxelnet_0p075.yaml

back to the last message

I've solved almost all those problems.

There was a problem during training - RuntimeError: sigmoid_focal_loss_forward_impl: implementation for device cuda:0 not found. · Issue #228 · mit-han-lab/bevfusion (github.com) ---I have cuda 12.3, and docker 11.3 - most likely, this is the problem, but the solutions presented here did not help me.

I can ask you to describe the dimensions of the main modules of the model for understanding. The article contains fragments, but it is difficult to put them together

Thank you for your interest in our project. This repository is no longer actively maintained, so we will be closing this issue. Please refer to the amazing implementation at MMDetection3D. Thank you again!


Select TreeItem if none is selected

Fixes #46074
The issue doesn't seem to happen on master for some reason, but it makes sense that if you select column you also select the item (if it's not selected).

Thanks!

Cherry-picked for 3.2.4.


Question: Is it possible to load parts of an app dynamically?

Let's say we're going a complex app that consist of two layers

one layer that is for visitors
and a additional layer for logged-in users with multiple tools

It would be cool to load the second layer only if necessary.
How would you do this?

Some options:

Two standalone Seed apps.
Lazy-load 2nd WASM module with JS. Communication between modules through JS.
Lazy-load 2nd WASM module with app module. Communication between modules indirectly through JS. Example.
Dynamic linking. WIP. Docs. A guy tried it with C.

If you really need it now, I recommend to use 1 or 2. 3 is ugly and 4 is the future.

If you really need it now, I recommend to use 1 or 2. 3 is ugly and 4 is the future.

Fortunately I don't need it now but I need to think about it now for the future ;-)

I'll close this issue because the question is answered. And hopefully I'll once contribute with a PR that shows an elegant example :)

Just two more interesting links:

https://github.com/web-dom/web-dom#dynamic-calls
https://medium.com/wasmer/webassembly-sh-408b010c14db (Wasmer and similar WASM runtimes/package managers don't support dynamic linking yet but it can be a way how to split app or create plugin system in the future.)


DB migrations

Migration tool / library is alembic and flask-migrate is a glue between alembic and flask, it adds CLI commands to flask, see flask db --help. Example how to use it is on flask-migrate page https://flask-migrate.readthedocs.io/en/latest/index.html#example
To make alembic work you need to delete DB and run flask init

... or if you are 100% sure you have latest DB schema import
CREATE TABLE "alembic_version" (
    "version_num" character varying(32) NOT NULL,
    CONSTRAINT "alembic_version_pkc" PRIMARY KEY ("version_num")
) WITH (oids = false);
INSERT INTO "alembic_version" ("version_num") VALUES ('154ca1030fe2');

Besides the llogging misspell, everything else looks good to me.


SquirrelSetup.log localization

It's written "When Teams is successfully installed, the log location switches from %LocalAppData%\SquirrelTemp to %AppData%\Microsoft\Teams. At this location, there are two log files of interest, SquirrelSetup.log and logs.txt."
I've checked and SquirrelSetup.log is in %LocalAppData%\Microsoft\Teams not %AppData%\Microsoft\Teams (where logs.txt is indeed).

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

ID: ae7c99af-b026-c0d1-f2ac-468578a14c2a
Version Independent ID: 8f4904e2-3925-b1ec-73f8-1bd473d4810a
Content: Troubleshoot Microsoft Teams installation and update issues on Windows - Microsoft Teams
Content Source: Teams/troubleshoot-installation.md
Service: msteams
GitHub Login: @LanaChin
Microsoft Alias: v-lanac

@RomanNG  Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hi @RomanNG   Thanks for raising this issue! I will be looking into it!

@LanaChin After looking into this I have noticed on my machine and others that what is pointed out here is also true on the machines I've looked at. The log.txt and SquirrelSetup.log are split up between local and roaming appdata folders as mentioned above. Do you know more about why this would be? Has there been a change in where these files are kept? If so, I will update the documentation to reflect this. Or is there a more detailed reason where the documentation could be true for some users and different for others?  Look forward to hearing back on this, thanks!

Reached out to PM.

@LanaChin Was wondering if there was any new info on this issue from the PM, thanks!

Waiting to hear back from the PM, thanks.

@TokyoScarab - please update the log location in the "When Teams is successfully installed,...." sentence from %AppData%\Microsoft\Teams to %LocalAppData%\Microsoft\Teams.  Thanks.

@LanaChin Thank you very much!

Article is updated. Thanks for your feedback!


specifying chain_id causes transfer to fail

There seems to be a subtle issue with setting chain_id. When it's not explicitly set (i.e. nil, the transaction goes through. But when it is set to the correct value (the way client.transfer internally does), the txn fails. Here is the code that tries to simulate a transfer call:
require 'ethereum.rb'
require 'eth'
pk = "a9b5a881cfea5f3cbc16bcf401e3a812184fb5ac50b08ac993e646419a73495f"
sender = Eth::Key.new(priv: pk)
receiver = "0xB26329b18bbFA978815e737bCf5d5a3a1E24c5Db"
amount = 1000

client = Ethereum::HttpClient.new('http://<IP_ADDRESS>:8545')

client.get_balance(sender.address)

puts Eth.chain_id # nil
puts client.net_version

# This line causes failure, even though we're setting it to same value as client.net_version["result"].to_i
# Commenting out this line will make the txn go through
Eth.configure { |c| c.chain_id = 17622 }

args = {
  from: sender.address,
  to: receiver,
  value: amount,
  data: "",
  nonce: client.get_nonce(sender.address),
  gas_limit: client.gas_limit,
  gas_price: client.gas_price
}
tx = Eth::Tx.new(args)
tx.sign sender
puts client.eth_send_raw_transaction(tx.hex)["result"]

The last line throws this error:
Traceback (most recent call last):
        4: from /Users/ht/.rbenv/versions/2.5.0/bin/irb:11:in `<main>'
        3: from (irb):28
        2: from /Users/ht/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/ethereum.rb-2.2/lib/ethereum/client.rb:137:in `block (2 levels) in <class:Client>'
        1: from /Users/ht/.rbenv/versions/2.5.0/lib/ruby/gems/2.5.0/gems/ethereum.rb-2.2/lib/ethereum/client.rb:129:in `send_command'
IOError (invalid sender)

Might this be happening due to chain_id = 17622 being bigger than one byte?

Definitely looks like the chain id being bigger than 1 byte is an issue. I'm getting errors with Ganache when setting a network id higher than 109, which is the max value for chain id to be < 255 (chain_id = network_id * 2 + 36).
Here's an error I'm getting for searchability purposes:
ethereum.rb/lib/ethereum/client.rb:129:in `send_command': the tx doesn't have the correct nonce. account has nonce of: 0 tx has nonce of: 4 (IOError)

I think this is related to https://github.com/se3000/ruby-eth/pull/32 (which this gem depends on) -- it was recently merged and deployed however it breaks compatibility with this gem.

Awesome! Thanks for bumping this issue! I'll try to put together a fix using the updated version of https://github.com/se3000/ruby-eth.

Thanks @aurelienshz I think all you have to do is instead of setting chain ID has a global config:
Eth.configure { |c| c.chain_id = net_version["result"].to_i }

It's now per tx through initializer:
https://github.com/se3000/ruby-eth/blob/master/lib/eth/tx.rb#L34

The global config is still there, but it's been renamed to default_chain_id.

Thanks! What I'm not sure about is how to handle the compatibility with previous versions. Should this Gem introduce a dependency on ruby-eth >= 3.4.9? Or should we programmatically look at ruby-eth's version to decide on the way to set the chain id?

IMHO, this gem should look for (using respond_to?) default_chain_id vs chain_id and toggle behavior off of that. It unfortunate that eth-rb introduced a breaking change in a "minor version" change. If we do the above, it allows us to continue support older eth-rb versions.

I've had time to play with this - what's weird though is that removing the lines where the chain_id is being set seems to work fine.
I'd be happy to have @marekkirejczyk input as to why this is needed.
git blame on the related lines shows this commit, whose message is "fix signing on kovan network". However, I tried to completely remove the lines and it seems to work fine on Kovan.
I'd advocate for not setting the chain_id at all when sending transactions. This still gives the ability to users to setup the chain_id themselves using default_chain_id, and this would get us rid of any incompatibility issues with ruby-eth.
Any thoughts?

You can use Eth::Client of the eth gem which automatically detects the underlying chain ID of the connected network.
https://github.com/q9f/eth.rb/blob/0773bbf89679933fbce9594eac0bae2c854b5f55/lib/eth/client.rb#L119

I think this is related to se3000/ruby-eth#32 (which this gem depends on) -- it was recently merged and deployed however it breaks compatibility with this gem.

This is fixed in https://github.com/q9f/eth.rb/pull/43


Reproduce the results of DELG in the paper

Hi, thank you for sharing this great work. In the official paper, DELG achieves the top performance on some datasets. May I know how to reproduce those results of DELG? Do you use the pre-trained model or fine-tune it on Pitts30k/MSLS?

Hi @hellocasper, we use the pre-trained model from the authors' repository: https://github.com/tensorflow/models/blob/master/research/delf/delf/python/delg/DELG_INSTRUCTIONS.md
Hope that helps.

Hi @Tobias-Fischer, thanks for your help and quick reply! Should I transfer the model to PyTorch first, as I notice the official repository is based on TensorFlow?

We used the official repository without any changes (i.e. we used tensorflow) for the DELG comparisons.

OK, thanks! @Tobias-Fischer


Apply the AES-GCM unroll8 optimisation to Microsoft Azure Cobalt 100

Performance improvements range from 18% to 32%.

This pull request is ready to merge

Merged to the master branch. Thank you for your contribution.


create new TSP notebook with pulp

[ ] pulp facility location TSP notebook #330

Addressing in #340


Fix error message of WhereOpCPU

Can one of the admins verify this patch?

@ebrevdo any luck with this?

Jenkins, test this please.

For some reason, the build failure has no log. Trying again.


D435 can't detect the depth on the phone?

Modifying the laser power value is still ineffective, as long as the plane reflectance can not measure the depth value, what is a good solution?

Post processing may help you here.  Essentially filling the holes in the stereo data by guessing what it should be.
I've experimented hole filling by segmenting the object, identifying the surface normal and then filling the data with the Z value that should fit the plane.

You could also try lowering the exposure of the IR cameras to lower the effect of reflections.

[Realsense Customer Engineering Team Comment]
@laolaolulu Can you try the post processing to fill the hole and see if it meets your need? Thanks!

[Realsense Customer Engineering Team Comment]
@laolaolu Any update for this issue? Looking forward to your update. Thanks!


Make FixedByteSingleColumnMultiValueReaderWriter and FixedByteSingleColumnSingleValueReaderWriter thread-safe,

Codecov Report

Merging #2749 into master will increase coverage by 0.03%.
The diff coverage is 88.67%.

@@            Coverage Diff             @@
##           master    #2749      +/-   ##
==========================================
+ Coverage   68.53%   68.56%   +0.03%
==========================================
  Files         876      876
  Lines       42288    42344      +56
  Branches     5748     5756       +8
==========================================
+ Hits        28980    29035      +55
- Misses      11445    11446       +1
  Partials     1863     1863

Impacted Files
Coverage Δ

.../FixedByteSingleColumnSingleValueReaderWriter.java
100% <100%> (ø)
:arrow_up:

...l/FixedByteSingleColumnMultiValueReaderWriter.java
74.13% <83.33%> (+2.85%)
:arrow_up:

...in/pinot/core/query/pruner/ValidSegmentPruner.java
57.14% <0%> (-28.58%)
:arrow_down:

.../impl/dictionary/FloatOnHeapMutableDictionary.java
86.66% <0%> (-6.67%)
:arrow_down:

...ot/core/query/pruner/ColumnValueSegmentPruner.java
86.44% <0%> (-3.39%)
:arrow_down:

...not/broker/broker/helix/ClusterChangeMediator.java
62.71% <0%> (-3.39%)
:arrow_down:

...not/broker/requesthandler/RangeMergeOptimizer.java
89.7% <0%> (-1.48%)
:arrow_down:

...edin/pinot/common/metadata/ZKMetadataProvider.java
73.68% <0%> (-1.32%)
:arrow_down:

...lix/core/realtime/PinotRealtimeSegmentManager.java
72.48% <0%> (-1.06%)
:arrow_down:

...e/impl/dictionary/LongOnHeapMutableDictionary.java
88.88% <0%> (ø)
:arrow_up:

... and 9 more

Continue to review full report at Codecov.

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

Closed this PR due to 6 months inactivity. Reopen if needed.


(PUP-6301) Make AIX service test setup idempotent

This commit alters the setup step for ensuring that the test service is
stopped. It removes the validation that the service changed state. This allows
the step to pass if the service was already stopped prior to running the
setup step that stops it.
Prior to this commit, if the system did not automatically start the service
upon creation the test would fail during the setup step intended to ensure
that it was stopped.

CLA signed by all contributors.

Verified that this test fails without the fix, and passes with it. Also manually verified that mkssys -s testservice -p /tmp/derp -u 0 -S -n 15 -f 9 creates the testservice subsystem but does not start it:
[0] [AIX] root@pe-aix-71-agent:~ # lssrc -s testservice
Subsystem         Group            PID          Status
 testservice                                           inoperative

This failure is actually my fault! :D In commit https://github.com/puppetlabs/puppet/commit/d8a8ef269ff5ff5bac7933c100b7d0da5f1b073e I added the bit about mksys starting the service, which is wrong at least in AIX 7.1.


Add documentation about each module's purpose and move some files between modules

The purpose of the different modules wasn’t clearly defined, which lead to inconsistent responsibilities between the different modules. Define each module’s purpose and move a few files between modules to satisfy these definitions.
There are a few more larger changes that will need to be made for a fully consistent module structure. These are FIXMEs in the new Modules.md document and I’ll address them in follow-up PRs.

@swift-ci Please test


Fix finetuned gpt3.5 price (Feb 2024)

Referring to the OpenAI pricing, there is an error in the LiteLLM prices file for finetuned models of gpt3.5

The counting function would also fail with finetuned models.

fix pushed! thanks @oulianov @areibman

Thank you for updating LiteLLM file, however this fix won't work until you strip the model name

@oulianov @areibman curious, what's missing in litellm.token_counter and litellm. cost_per_token to be helpful here?
https://docs.litellm.ai/docs/completion/token_usage#3-token_counter

@oulianov @areibman curious, what's missing in litellm.token_counter and litellm. cost_per_token to be helpful here?
https://docs.litellm.ai/docs/completion/token_usage#3-token_counter

Wish I'd known about this before! Few things I ran into that might be worth updating (if it's a priority for you):

The way you calculate cost runs the risks of floating point precision errors. Either denominate everything as an int or use Decimal
Prompts aren't always dictionaries. i.e. embedding models take strings

I'm more concerned about long term maintainability of this pricing file.
Obviously, pricing will keep changing. Providers will keep appearing. Rules will keep changing.
There may be the need to price token cost in novel, advanced way (eg: using underlying GPU infracost ; automatically scrapping the price for websites)
Having a dedicated repo and community caring about only this topic is a good thing imho 👍


deadLetterChannel does not work in BaseRouteBuilder configure method

Migrating to the latest (camel-quarkus 2.6.0 with camel-aws2-sqs:3.14.0), some code have stopped working:
This works
from("aws2-sqs://nameofthequeue")
                .process(updateObjectProcessor);

but this does not work with
errorHandler(deadLetterChannel("aws2-sqs://nameoftheDLqueue")
                .log("Error processing message and sending to the Dead Letter Queue: Body: " + body())
                .useOriginalMessage());

The error I get is
Caused by: java.lang.IllegalArgumentException: AmazonSQSClient or accessKey and secretKey must be specified.
	at org.apache.camel.component.aws2.sqs.Sqs2Component.createEndpoint(Sqs2Component.java:73)

and it seems like deadLetterChannel method calls createEndpoint before AmazonSQSClient is injected.
The complete class is
@ApplicationScoped
public class SQSUpdateObjectConsumer extends BaseRouteBuilder {
    @Inject
    UpdateObjectProcessor updateObjectProcessor;

    @Override
    public void configure() {
        errorHandler(deadLetterChannel("aws2-sqs://nameoftheDLqueue")
                .log("Error processing message and sending to the Dead Letter Queue: Body: " + body())
                .useOriginalMessage());
        from("aws2-sqs://nameofthequeue")
                .process(updateObjectProcessor);
    }

Note: I use this parameter: camel.component.aws2-sqs.auto-create-queue=true
I've followed these aditional steps, but they did not bring any solution: https://camel.apache.org/camel-quarkus/next/reference/extensions/aws2-sqs.html#_optional_integration_with_quarkus_amazon_sqs

@JiriOndrusek Temporary working solution for me is the following (adding sqsClient into camel Registry and explicitly adding it to the camel route):
        camelContext.getRegistry().bind("sqsClient", sqsClient);

        errorHandler(deadLetterChannel("aws2-sqs://nameoftheDLqueue?amazonSQSClient=#sqsClient")
                .log("Error processing message and sending to the Dead Letter Queue: Body: " + body())
                .useOriginalMessage());

@Chexpir thanks for the information. I'll try to simulate problem on my machine and will try to find a solution.

@Chexpir I' was able to simulate an error. Probably the same as you are seeing:
Caused by: java.lang.IllegalArgumentException: AmazonSQSClient or accessKey and secretKey must be specified.
	at org.apache.camel.component.aws2.sqs.Sqs2Component.createEndpoint(Sqs2Component.java:73)
	at org.apache.camel.support.DefaultComponent.createEndpoint(DefaultComponent.java:171)
	at org.apache.camel.impl.engine.AbstractCamelContext.doGetEndpoint(AbstractCamelContext.java:934)
	... 72 more

To be sure: Are you using quarkus client ? (defined via quarkus properties - https://camel.apache.org/camel-quarkus/2.6.x/reference/extensions/aws2-sqs.html#_optional_integration_with_quarkus_amazon_sqs)

@JiriOndrusek thanks for spending time on this!
Yes, it is the same error I was seeing myself.
Yes, I am using the quarkus client (2.6.1.Final) and I was not doing the 2 steps mentioned in your link, but I found that documentation and did test with that specific configuration (@unremovable tag and apache sync-client type) before opening the bug, and it was still failing.

Problem is caused by the issue in Camel. I reported it - https://issues.apache.org/jira/browse/CAMEL-17437.
I will also fix our junit tests, because this error can not be simulated on local aws (only real aws) even if deadletter is used.
@Chexpir your workaround is correct. Once camel issue is fixed, I'll let you know (so you can remove workaround).

Problem is fixed on camel side (https://github.com/apache/camel/commit/4007b745170b69f81d47933e57d89a9ffd90c1a4)
I'll add tests into camel-quarkus and also I'll fix some problems with other aws2 tests (discovered during this investigation)
@Chexpir next cq release will contain camel with the fix and you'll be able to remove your workaround.

Could be closed. Reported issue is fixed in camel.
Test is added in PR: https://github.com/apache/camel-quarkus/pull/3448.
Following issues in tests are fixed in PR https://github.com/apache/camel-quarkus/pull/3458

Fixed in https://github.com/apache/camel-quarkus/commit/e3a41408e5dbabfbde54528ff1c7dacd88b921a4.


chore(ci): Fix up triggers to reduce backlogs of builds in azure pipeline queue

This sets up triggers to auto-cancel PR builds when a new commit has been pushed

Can't you stop a build ? like we can do with GitHub Action ?

Can't you stop a build ? like we can do with GitHub Action ?

We can manually, but what happens is we end up with backlog of builds - like, if multiple commits are pushed for a PR, each one triggers a build. This isn't ideal because of the time it takes windows to build, and the fact that we only have a fixed number of machines available. It's better if we just build the latest commits in a PR for azure pipelines:


[BugFix] Fix bug insert overwrite with not specify partition for automatic par…

…tition table
Fixes #https://github.com/StarRocks/StarRocksTest/issues/2706
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[x] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 11 / 11 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/ast/InsertStmt.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/load/InsertOverwriteJobRunner.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/sql/InsertPlanner.java
4
4
100.00%
[]

@Mergifyio backport branch-3.1

@Mergifyio backport branch-3.0


gateway-api: Add opt-in validating webhook

This adds the ability to opt-in to validating gateway-api types. This is off by default.
There are a variety of changes around making validation server robust to non-Istio types, which is why there is seemingly unrelated changes.

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test lint

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

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test lint

unit-tests-arm64_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test unit-tests-arm64

unit-tests_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test unit-tests

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

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test lint

unit-tests-arm64_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test unit-tests-arm64

unit-tests_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test unit-tests

integ-pilot-istiodremote_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test integ-pilot-istiodremote

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

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test lint

unit-tests-arm64_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test unit-tests-arm64

unit-tests_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test unit-tests

integ-pilot-istiodremote_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test integ-pilot-istiodremote

integ-pilot-istiodremote-mc_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test integ-pilot-istiodremote-mc

integ-pilot_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test integ-pilot

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

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test lint

unit-tests-arm64_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test unit-tests-arm64

unit-tests_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test unit-tests

integ-pilot-istiodremote_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test integ-pilot-istiodremote

integ-pilot-istiodremote-mc_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test integ-pilot-istiodremote-mc

integ-pilot_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test integ-pilot

integ-cni_istio
2552065294ba43635b2810834788c51e0b7f9d25
link
true
/test integ-cni

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

why not leave the validation to the gateway api itself? Once we opt-in, this may break compatibility because of gateway API itself is iterating fast, for this we can see the istio gateway controller is changing when the gateway API bumps. On the other aspect,  the responsibility of validation is better to be in upstream instead of each downstream meshes

why not leave the validation to the gateway api itself? Once we opt-in, this may break compatibility because of gateway API itself is iterating fast, for this we can see the istio gateway controller is changing when the gateway API bumps. On the other aspect, the responsibility of validation is better to be in upstream instead of each downstream meshes

Good question. I thought the same initially and changed my mind, so let me explain my thoughts.
First, we have to have a webhook somehow; this is enforced in conformance soon. So we have to get it from somewhere.
A few options:

the Kubernetes platform provides it. This will never be core probably, but I expect things like GKE and OpenShift may come with the CRD and Validation out of the box. This is the ideal situation, but not universal.
Upstream provides it. They do have an implementation. Or some other implementation provides it.
Istio provides it. The benefit of this is that maintaining a webhook is a lot of operational burden. You need to install+upgrade it, manage certificates, have high rbac privilege to patch the caBundle, etc - the example provided by upstream is not really production ready either. Istio already had this cost paid for the Istio webhook, so adding gateway validation on top of that adds zero incremental cost.

Basically, this gives the option for users to get a webhook server for free, when otherwise it may be very expensive. It's off by default because it's not the ideal solution (which is the platform providing it).
I am not sure about the compatibility issues. If users opt in to the webhook they are opting into the API version associated with that version of Istio. We can clearly document that this is the case and that we follow the upstream API so any compatibility issues are dependent on upstream, not Istio decisions. This compatibility problem exists regardless of if Istio is validating or anything else, so it doesn't really matter where the webhook runs; breaking changes in it will impact the user, so the API ought to not make breaking changes.
One other note is this is the recommendation of the gateway-api project to offer an option like this.

@hzxuzhonghu lmk if that makes sense

I am still feeling a bit hard to maintain it, some times users has installed gateway crd  version x beforehand, and then install istio 1.16, with gateway API validation say version y.  Let's say x and y are compatible.
Later user may upgrade to istio 1.17 with gateway API support for version z, there is a great risk that gateway API can not keep compatible.  Istio would better not to tightly coupled with gateway API until it guarantee compatibility like k8s API currently.

While that is true, CRD validation can only become more lenient, not more strict for backwards compat. So the risk would be that a user has a older Istio vesion than CRD and its a bit more strict, but that is fine - Istio itself probably relies on that strictness, so its fine to be more strict. When users upgrade istio they can then create the policies that may be denied.
Note this is opt in - users should only enable this if they only use gateway for Istio (or istio is their primary use case). In that case, they likely want validation in the context of Istio.
Ultimately, we have to have validation to be conformant, and this is the officially recommended approach from upstream, so I feel like this is still the best path forward. If we were making it on-by-default I would agree we should wait until v1 of the API probably, but for now this seems fairly safe?


Add support for the filestream input type

…since the default log input type is deprecated in beats-7.16.

This change causing issues,
Evaluation Error: Error while evaluating a Function Call, 'versioncmp' parameter 'a' expects a String value, got Boolean (file: modules/filebeat/manifests/params.pp, line: 172, column: 6)

I guess because the filebeat_version fact has the bollean false value, since this fact requires filebeat to be installed.
cc @pcfens


Crash when activating/disabling CollisionShape2D in various cases

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Godot 3.0, recent Calinou build from 27/09
Issue description:

Using move_and_slide on a KinematicBody2D in combination with disabling a CollisionShape2D and enabling another crashes when the KinematicBody2D hits the a surface.
Steps to reproduce:

Put KinematicBody2D in a scene, give it two CollisionShape2D capsule shapes.
Use move_and_slide to move it down towards a static collider.
Click a button to disable the first collider and activate the other. It crashes when there is collision.

Link to minimal example project:

Use button 'space' to activate/disable the colliders.
Crash with colliders.zip

Would be interested to know workarounds. Needed for stuff like having a smaller collision box when crouched.

Can you live with using a single collider? As a workaround you might try simply set the extents of your collider to match what you want it to be on crouch, and then revert the extents once you leave the crouch state.
You can even use the animator for this to synchronize the colliders with your sprite frame by frame.

Hmm, forgot how much you can animate in Godot. I didn't find a way of changing the extents in the API, but I'll give it a try animating it!

Assuming you are working with a RectangleShape2D you should be able to do the following from the script (though I do find the animator nicer to work with since its intuitive to overlay over your sprites):
myCollisionShape2D.get_shape().set_extents(my_new_extents)
https://godot.readthedocs.io/en/latest/classes/class_rectangleshape2d.html#class-rectangleshape2d

Hey! I'm trying to fix this one, I'll comment again if I find anything useful.
(Not sure if you guys have any standard on how to assign this, I'm hero here to help!)

Fixed by #12757.


add Random predefined color option

When set predefined color to "Random", atom will change to random predefined color once started.

Crash when multi window opened


COM-493: disable GraphQL field suggestions

Description
This PR disables introspection and hides field suggestions in graphql error messages for non-dev environments.
Screenshots
Before

After

Should we enable introspection even if it's only used in the development environment? Additionally, field suggestions might prove beneficial for local development, so I wouldn't disable them locally. What do you think?

Looks like we can't solve this in the library, but must do it in the project. Please also add a PR to https://github.com/vivid-planet/comet-starter that does the same thing.
@max-debug022 This means we have to disable this manually in every project

Should we enable introspection even if it's only used in the development environment? Additionally, field suggestions might prove beneficial for local development, so I wouldn't disable them locally. What do you think?

@max-debug022 So do you think we should enable or disable the features in development?
If I read the code correctly, everything stays as it is in development (which is fine IMO). In all other environments introspection and suggestions are disabled. This is the desired behavior IMO.

Should we enable introspection even if it's only used in the development environment? Additionally, field suggestions might prove beneficial for local development, so I wouldn't disable them locally. What do you think?

@max-debug022 So do you think we should enable or disable the features in development?
If I read the code correctly, everything stays as it is in development (which is fine IMO). In all other environments introspection and suggestions are disabled. This is the desired behavior IMO.

That was also my intention and it should behave that way

Looks like we can't solve this in the library, but must do it in the project. Please also add a PR to https://github.com/vivid-planet/comet-starter that does the same thing.
@max-debug022 This means we have to disable this manually in every project 😕

Don't know if there is another way. That was the one I found a few times

@thomasdax98 @jomunker
To clarify:

Introspection: Never
Suggestions: Only Local Development

@thomasdax98 @jomunker To clarify:

Introspection: Never
Suggestions: Only Local Development

@max-debug022 we should keep introspection in local development, otherwise the GraphQL playground can't auto-suggest, resulting in a bad DX. Also, I see no security issues with having introspection in local development.

@thomasdax98 @jomunker To clarify:

Introspection: Never
Suggestions: Only Local Development

@max-debug022 we should keep introspection in local development, otherwise the GraphQL playground can't auto-suggest, resulting in a bad DX. Also, I see no security issues with having introspection in local development.

In that case, I agree oc


Refine config object

Previous config object is complex for developing and documenting.
With this PR, the changes of parameters can be simply written in config.h.
Then we can use helper\parameter_generator.py to generate related codes and documents.
I just finish the code generating part.
@StrikerRUS can you help for the doc part ? Thanks very much !
BTW, also fixed #1364

@guolinke
Sure! Just give me some time to understand what's going on here.
And do you mean comments in config.h under "the doc part"?

@guolinke I tried it locally - cool thing!
Should we add a corresponding step on CIs to generate fresh config_auto.cpp before running tests?

@guolinke I've gave a brief glance to it and pushed a few things: new nthreads alias (useful in my opinion), new aliases from config.h to Parameters.rst for consistency, fix of duplicated min_gain_to_split alias.
Is metric_types are now default name for previous metric (and metric is now an alias)?
Some aliases disappeared from alias table: random_seed
https://github.com/Microsoft/LightGBM/blob/497e60ed144007d051bcdfc8bdb36d4f2f5ff681/include/LightGBM/config.h#L371
and all network params
https://github.com/Microsoft/LightGBM/blob/497e60ed144007d051bcdfc8bdb36d4f2f5ff681/include/LightGBM/config.h#L416-L417
https://github.com/Microsoft/LightGBM/blob/497e60ed144007d051bcdfc8bdb36d4f2f5ff681/include/LightGBM/config.h#L420
https://github.com/Microsoft/LightGBM/blob/497e60ed144007d051bcdfc8bdb36d4f2f5ff681/include/LightGBM/config.h#L450-L451

@guolinke I've added with statement into parameter_generator.py and made paths to config files more flexible.

@StrikerRUS thanks, had fixed them.
BTW, I want to docs can be auto updated by calling that py file, not manually update it (sorry for not stating it clearly).
I think it is very like the current code generate, can you help for that part ?

@guolinke yeah, after digging into the code I understand your idea!
Sure, will write a function which will generate a part of Parameters.rst. But I think it should be separate PR. And I'm afraid I have no time today and tomorrow for this :-(.

@StrikerRUS sure, take your time : )

@StrikerRUS you can approve this PR if you think it is okay to merge first.

Sorry, forgot about it.


Make posts and threads consistent

Specifically pointed out on the User > Character > Posts page by Ezra but likely wider spread.

What's this, exactly? What's the inconsistency?


Create Jenkinsfile

This should be updated and merged. @marhil01 @jupe @miklis

Well, this needs to be rewritten. Its trying to build some non-existing unrelated component. It should build one of the example/test-applications.

we could reuse Jenkinsfile from here: https://github.com/ARMmbed/mbed-client-cli/blob/master/Jenkinsfile

Replaced with #87


KALA: upgrade to 0.30.0

Can you also replace the LinkedHashMaps with the ones in Kala?

Frankly, I am not satisfied with the current implementation of HashMap.
Implementing LnkedHashMap requires reusing most of the implementation of HashMap. I hope to do it after re implementing HashMap.

I see, thanks!
bors merge


Set default branch to main

What this PR does / why we need it:
Changes the references to new default branch main for kubevirt/kubevirt repository.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

Change default branch to `main` for `kubevirt/kubevirt` repository

/hold

/retest

/retest

/lgtm
/approved


⚠ Bofrost.de has degraded performance

In 7c9d687, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1145 ms

Resolved: Bofrost.de performance has improved in e70d2b7 after 6 minutes.


Contract deployment and forking of tutorial playground instances results in blank screen and console error

Describe the bug
As described in issue #186 at the point of contract deployment of one of the tutorial playground instances, a blank screen is experienced. It turns out that this applies to all of the tutorial playground instances, and also happens when attempting to fork any given playground instance.
The console error:
main.js:29 TypeError: Cannot read properties of undefined (reading 'state')
    at main.js:1962
    at Array.filter (<anonymous>)
    at main.js:1962
    at Xo (main.js:29)
    at Zo (main.js:29)
    at Object.useState (main.js:29)
    at t.useState (main.js:29)
    at Lb (main.js:1962)
    at Go (main.js:29)
    at Ps (main.js:29)

PR #187 resolves the issue of new playgrounds being created from the tutorial links, but the underlying issue probably effects other existing playgrounds in the wild. The below steps to reproduce are assuming PR #187 is not yet merged.
To Reproduce
Deploy contract issue:

visit https://play.onflow.org/
click on Click here to start a tutorial, choose a tutorial by clicking on one of the 'Open Project' buttons
attempt to deploy a contract

Fork issue:

visit https://play.onflow.org/
click on Click here to start a tutorial, choose a tutorial by clicking on one of the 'Open Project' buttons
attempt to fork
after the new UUID is set in the URL, refresh the browser. The forked playground instance should now load
deploy contract (should work)

Expected behavior
Playground should deploy contracts and fork without showing a blank screen or console errors.
Screenshots
n/a
Desktop (please complete the following information):

OS: Max OsX 11.6
Browser Chrome 95.0, Firefox 94.0.1

Does it happen upon the very first saving of project (from localstore to datastore)? I suspect temporary data mixup/lag is causing that as datastore generated UUIDs haven't made it back to the frontend yet.

@hichana thank you for addressing this issue with PR https://github.com/onflow/flow-playground/pull/187 ! I tested both "Deploy contract issue" and "Fork issue", no longer seeing errors. I'll close this issue soon if you don't have concerns

Fixed in #187


Testing enhancement: run tests for single rule

PR checklist

[ ] Addresses an existing issue: #0000
[x] New feature, bugfix, or enhancement

[ ] Includes tests

[ ] Documentation update

Overview of change:
Allows for running the tests of a specific rule directory.
Example command: npm run test:rules whitespace
Example output:

Just thought I'd offer this up in case others are interested.

the TSLint CLI actually supports this already. See Tips & Tricks here: https://palantir.github.io/tslint/develop/testing-rules/
does that work for you / is it ergonomic enough?

That's way better than what I've come up with lol. Just overlooked this part of the docs is all. Thanks!

@adidahiya there was one nice perk of this setup I just remembered: the ability to pass an argument via launch.json for realtime debugging of specific rules in vscode. Maybe it's just on my machine, but rules like "whitespace" trigger additional tests for unrelated rules. This feature might already be possible w existing setup, but I'm unsure. Live debugging in vscode is very helpful to me personally, but don't know if warrants a change to the ruleTestRunner...

can pass the relative path just as easily! sorry and thanks again


Just to say congratulations on the awesome project!

This is really nice! I was so fascinated by it. Confgratulations!

6097377315


Lock - Siri cannot issue the lock command

Hi @maximkulkin
I'm using the Lock example, and noticed that when I ask Siri to lock the door, the response is
"Sorry, I wasn't able to lock your Lock. For more details, check the Home app."
I can however unlock the lock through Siri with no problem!
I just can't seem to get Siri to lock the lock, and I cannot see anything in the code that would fix this.

How is your code?
In the lock example in the esp-homekit-demo, you unlock and after 5 seconds it locks again.
Does Siri unlock it?

I’ve tested this with the original lock example code. When you ask Siri to unlock the lock, the response is “ok, lock is unlocked”. However when you ask Siri to lock the lock, the response is “sorry I’m unable to lock your lock...”
I’ve modified the code to allow for a separate lock and unlock, but the issue still exists.

Hi @maximkulkin
Can you please assist me in getting this to work? Could the issue lie in the ESPHomeKit code?
My coding seems fine and it works if i toggle the switch in HomeKit. It also works when I ask Siri to unlock. However, if I ask Siri to lock, I get a "sorry I'm unable to lock your lock" response.
Thanks!

Ok, I have debugged this down to the following problem: when you update LOCK_TARGET_STATE characteristic (of type uint8_t), Home app properly sends numeric value. However, when you ask Siri to lock or unlock a lock, Siri sends a boolean value. While it's kind of nonsense, however I originally coded support for allowing booleans instead of integers, thus the error of invalid value format was not raised, but the value wasn't handled properly and always defaulted to zero.
I have pushed fix to properly convert booleans to integers if needed. In my tests Siri now properly locks and unlocks a lock.

Thank you so much @maximkulkin
Silly question: what’s the easiest way to update esp-HomeKit?

Just do
git pull --rebase origin master
git submodule update --init --recursive

since I have updated all versions in esp-homekit-demo repository.
Alternatively, go to components/common/homekit and do git pull --rebase origin master

@maximkulkin Thank you so much. Just tested it and it works like a charm! Much appreciated.


feat: add counter effect

Fixes Issue
Closes #126

Changes proposed
Added the counter effect to the numbers in the homepage stats section
Screenshots

Note to reviewers

@himanshu1221 kindly review and merge the PR

@himanshu1221 now check please

@himanshu1221 please merge the PR


Upgrade openssl to avoid a security vulnerability

Dependabot reported a moderate vulnerability in openssl.. Need to release a new version using the recent version of openssl.

I think we do not need to urgently release a new giganto version just to resolve this openssl vulnerability, because openssl crate isn't really being used by giganto. I think this vulnerability alert will be handled when we release the next giganto version, by running cargo update as we are supposed to.

The issue has been resolved, so I'll close it.


Failed to Connect to <IP_ADDRESS>:2181

Hello Chris,
I am trying to run mesos-consul docker image using following command:
docker run -e "--zk=zk://myip:2181/mesos" -t ciscocloud/mesos-consul
docker instances is trying to connect to <IP_ADDRESS>:2181 instead of myip:2181. I wonder if i am passing zk parameter in the right way(i tried zk=zk://myip:2181/mesos which didnt work either). please let me know if anything need to be updated.
thanks

Is myip a host name or is it the actual IP?

its an actual IP of my AWS server which hosts mesos, marathon and zookeeper

The command line should be:
docker run -t ciscocloud/mesos-consul --zk=zk://myip:2181/mesos
The -e option to docker sets an environment variable which the container doesn't know anything about,

Ah my bad, i passed zookeeper details as environment variable instead of a parameter. it worked now
Thanks for quick response :)


add "blue" to data.COLOR

From<EMAIL_ADDRESS>on May 15, 2012 01:19:44
While "blue" is mentioned in the description (and is also part of HTML 4.01), it's missing in the pattern.
Original issue: http://code.google.com/p/music-encoding/issues/detail?id=64

From<EMAIL_ADDRESS>on May 15, 2012 07:12:39
This is a bug to be fixed in the upcoming (2012) release.
Labels: Milestone-ReleaseNext

From<EMAIL_ADDRESS>on May 15, 2012 07:22:11
This issue was closed by revision r482 .
Status: Fixed


[artifact:dependencies] Unable to locate resource in repository

maven-declare-dependencies:
maven-ant-tasks-retrieve-build:
[artifact:dependencies] Downloading: org/apache/rat/apache-rat/0.6/apache-rat-0.6-sources.jar from repository central at http://repo1.maven.org/maven2
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'org.apache.rat:apache-rat:java-source:sources:0.6' in repository central (http://repo1.maven.org/maven2)
[artifact:dependencies] Downloading: org/apache/rat/apache-rat/0.6/apache-rat-0.6-sources.jar from repository apache at https://repository.apache.org/content/repositories/releases
[artifact:dependencies] Unable to locate resource in repository
[artifact:dependencies] [INFO] Unable to find resource 'org.apache.rat:apache-rat:java-source:sources:0.6' in repository apache (https://repository.apache.org/content/repositories/releases)
[artifact:dependencies] Downloading: org/apache/rat/apache-rat/0.6/apache-rat-0.6-sources.jar from repository java.net2 at http://download.java.net/maven/2
;;;;;
;;;;
BUILD FAILED
/home/alam/.ccm/repository/2.0.14/build.xml:233: Java returned: 1
Total time: 4 seconds
--- Cassandra Build -------------------
ant jar failed. Retry #1...
ant jar failed. Retry #2...

What ccm create command did you try? What version of ant do you have installed? Can you run ccm invalidatecache and then try again?

What ccm create command did you try?
sudo ccm create test -v 2.0.14

What version of ant do you have installed?
alam@alammint ~ $ ant -version
Apache Ant(TM) version 1.9.3 compiled on April 8 2014

Can you run ccm invalidatecache and then try again?
alam@alammint ~ $ sudo ccm invalidatecache
alam@alammint ~ $ sudo ccm invalidatecache
[Errno 2] No such file or directory: '/home/alam/.ccm/repository'
Error while deleting cache. Please attempt manually.

First time, it deletes repository folder. Next time it gives the above error message.
Tried "sudo ccm create test -v 2.0.14" again. Same error message. the real issue is "[artifact:dependencies] Unable to locate resource in repository".

System info:
alam@alammint ~ $ sudo uname -a
Linux alammint 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linu
alam@alammint ~ $ sudo python -V
Python 2.7.6
alam@alammint ~ $ sudo python3 -V
Python 3.4.0
alam@alammint ~ $ java -version
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
alam@alammint ~ $ ant -version
Apache Ant(TM) version 1.9.3 compiled on April 8 2014
alam@alammint ~ $ pip search PyYAML
pyaml                     - PyYAML-based module to produce pretty and readable
YAML-serialized data
PyYAML                    - YAML parser and emitter for Python
INSTALLED: 3.11 (latest)
aspy.yaml                 - A few extensions to pyyaml.
yamlordereddictloader     - YAML loader for PyYAML that allow to keep keys
order.
yamly                     - pyyaml wrapper
PyYAML.Yandex             - YAML parser and emitter for Python
eyaml                     - Thin Wrapper around PyYAML with env support
enhancedyaml              - It makes it more convenient to use PyYAML.
alam@alammint ~ $ pip search psutil
psutil                    - psutil is a cross-platform library for retrieving
information onrunning processes and system
utilization (CPU, memory, disks, network)in
Python.
INSTALLED: 2.2.1 (latest)
pyl0n                     - Use psutils to send data to Graphite Backend
procinfo                  - wrapper around psutil for ease of use
metlog-psutils            - PSUtils extensions to metrics logging
alam@alammint ~ $ sudo mvn -v
Apache Maven 3.0.5
Maven home: /usr/share/maven
Java version: 1.8.0_40, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-8-oracle/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.13.0-24-generic", arch: "amd64", family: "unix"

If you download Cassandra 2.0.14 from source, are you able to compile it directly?

alam@alammint ~/apache-cassandra-2.1.4-src $ sudo ant -v
;;;;;;;;
  [jar] adding entry org/apache/cassandra/stress/util/Timing.class
  [jar] adding entry org/apache/cassandra/stress/util/TimingInterval.class
  [jar] adding entry org/apache/cassandra/stress/util/Uncertainty$1.class
  [jar] adding entry org/apache/cassandra/stress/util/Uncertainty$WaitForTargetUncertainty.class
  [jar] adding entry org/apache/cassandra/stress/util/Uncertainty.class
  [jar] No Implementation-Title set.No Implementation-Version set.No Implementation-Vendor set.
  [jar] Location: /home/alam/apache-cassandra-2.1.4-src/build.xml:845:

BUILD SUCCESSFUL
Total time: 1 minute 36 seconds

alam@alammint ~/apache-cassandra-2.1.4-src $ sudo bin/cassandra
;;;;
INFO  04:44:57 Starting listening for CQL clients on localhost/<IP_ADDRESS>:9042...
INFO  04:44:57 Binding thrift service to localhost/<IP_ADDRESS>:9160
INFO  04:44:57 Listening for thrift clients...

alam@alammint ~/apache-cassandra-2.1.4-src $ sudo bin/cqlsh
[sudo] password for alam:
Connected to Test Cluster at <IP_ADDRESS>:9042.
[cqlsh 5.0.1 | Cassandra 2.1.4-SNAPSHOT | CQL spec 3.2.0 | Native protocol v3]
Use HELP for help.

cqlsh> CREATE SCHEMA schema1
...        WITH replication = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 };

cqlsh> USE schema1;
cqlsh:schema1>

cqlsh:schema1> CREATE TABLE users (
...                  user_id varchar PRIMARY KEY,
...                  first varchar,
...                  last varchar,
...                  age int
...                );

cqlsh:schema1> INSERT INTO users (user_id, first, last, age)
...                VALUES ('jsmith', 'John', 'Smith', 42);

cqlsh:schema1> SELECT * FROM users;
user_id | age | first | last
---------+-----+-------+-------
jsmith |  42 |  John | Smith
(1 rows)

You successfully installed 2.1.4 from source, but failed with 2.0.14 via ccm. Does installing 2.1.4 via ccm work?

alam@alammint ~/ccm $ sudo ccm create test -v 2.1.4
Downloading http://archive.apache.org/dist/cassandra/2.1.4/apache-cassandra-2.1.4-src.tar.gz to /tmp/ccm-iWvbCP.tar.gz (14.552MB)
15259253  [100.00%]
Extracting /tmp/ccm-iWvbCP.tar.gz as version 2.1.4 ...
Compiling Cassandra 2.1.4 ...
 When i tried to start a single node, i was repeatedly getting:
"(...) Inet address <IP_ADDRESS>:9042 is not available: [Errno 48] Address already in use".
After a lot of research, just rebooted the machine and everything works.
FYI, Cassandra 2.0.14 still fails. Thanks for your great support.

So it seems you have a specific issue with 2.0.14. I suspect it may be related to you using jdk8. Does it work if you compile with java 7?

@ptnapoleon You seem to be correct. It has to do with jdk8. I ran into the same problem as @alamsha . Using jdk7 worked for me.


Can I get Intent and startActivity by myself?

I'm using RxActivityResult right now. And it have to get a intent. Can you put the intent out so I can use it? Thanks.

I'll think about it


read table, 702

WITH KEY does not accept method call
https://github.com/abapGit/abapGit/pull/4038/files

still relevant


feature(tpl): expose version string as annotation

I think we should consider prefixing the annotation with our "namespace" (sorry for the overloaded term) as we do in other places-- the router being one of them.
So the annotation would be <component>.deis.io/version

Also, I see this is being applied also to some manifests that use helm-keep: "true".
We should probably check with @mboersma...
Do "kept" manifests still get updated upon re-install? I cannot recall.
If so, then all is good. If not, the version annotation could get "stuck" at its original value from the initial installation. Just want to be sure that's not going to be the case.

@krancour Thanks for chiming in. Can you advocate for the benefits of doing so? The annotation will already be literally namespaced (going out on a limb and using the correct form of the word "literally") inside its specific k8s api resource type. See the Annotations property here:
https://godoc.org/k8s.io/kubernetes/pkg/api#ObjectMeta
Any distinct resource of any type will have its own annotations dictionary; moreover, each resource will belong to the k8s namespace "deis".
Just trying to tease out the functional value here. (I appreciate the associative value of sticking to existing patterns, if that's the compelling case.)

This argument might be a bit academic, but suppose for a moment that all the annotations were just in a single flat, shared namespace (again, I apologize for the overloading, as I am not referring to a k8s namespace)...
Now imagine that some pod uses two different libraries that both, for their own distinct purposes, require use of an annotation x. There is then a conflict because you could not satisfy the requirements of both libraries.
A more plausible variation on the same scenario... two or more distinct agents, completely external to a given deployment, service, pod, etc. act upon the annotations on deployments, services, pods, etc. (The router, for instance, is such an agent.) While one agent may set or interpret annotation x in one way, another may set or interpret it differently-- so competing concerns arise once again.
For our part, we can avoid these scenarios by prefixing annotations with <component>.deis.io/. This is directly analogous with why Go uses VCS URLs in package names or why Java uses domains in package names-- to avoid conflict.

Re: manifest updates, we rely on the semantics of kubectl apply.
I agree WRT namespacing configuration to the component name. But I feel that the version isn't configuration, rather an attribute. Which would argue for a consistent, concrete, key name across all components e.g.:
component.deis.io/version=v1.2.3 rather than 'router.deis.io/version=v1.2.5`
Which would also let you do: component.deis.io/name=router
That way, WFM can generically process objects in the Kubernetes deis namespace without having to fiddle with object name to component name mappings.

@slack that seems pretty reasonable.

@krancour @slack see latest squashed commit

This mostly LGTM, but now I am wondering if deis.io/componentVersion might read more cleanly.
@slack, thoughts?

@krancour May I suggest we proceed w/ component.deis.io/version in the absence of any objection?


feat(EVM-emulator): add support for propagating LLVM options

What ❔
This PR adds support for propagating LLVM options for EVM emulator. In order to propagate LLVM options, file with the same name as contract should be created with .llvm.options extension (e.g. EvmEmulator.yul.llvm.options) and this file should contain LLVM options where first and last character must be a single quote (e.g. '-eravm-jump-table-density-threshold=10').

Why ❔
To fine tune EVM emulator.

Checklist

[ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[ ] Documentation comments have been added / updated.

@0xVolosnikov PTAL. Please note that this currently is not working, since current version of the zksolc (prerelease-a167aa3-code4rena) doesn't have support for --llvm-options option, so we should wait for the newest release to fully test it.

@0xVolosnikov PTAL. Please note that this currently is not working, since current version of the zksolc (1.5.0 with prerelease versionprerelease-a167aa3-code4rena) doesn't have support for --llvm-options option, so we should wait for the newest release to fully test it.

Just curious, why not possible to test with v1.5.4?

@0xVolosnikov PTAL. Please note that this currently is not working, since current version of the zksolc (1.5.0 with prerelease versionprerelease-a167aa3-code4rena) doesn't have support for --llvm-options option, so we should wait for the newest release to fully test it.

Just curious, why not possible to test with v1.5.4?

To test with v1.5.4, we need #830 + -eravm-enable-split-loop-phi-live-ranges -tail-merge-only-bbs-without-succ are not present in v1.5.4 but will be included in v.1.5.5.
I tested this support with v1.5.0 and -eravm-jump-table-density-threshold=10 -tail-dup-size=4 options work like a charm.


Add a check for process.env.VELOCITY and exit if 0 to prevent Exit code ...

...1. Double equals allows both '0' and 0

This prevent and exit code 1 when starting a meteor project with the VELOCITY='0' or VELOCITY=0 environment variable.

Thanks!


Unexpected response from SMTP server

Simplomon reports the following exception when it attempts to connect to my Postfix mail server:
Got an exception during check: Unexpected response from SMTP server: '503 5.5.1 Error: send HELO/EHLO first

I am willing to provide credentials to a test account if needed for troubleshooting.

thanks for this - investigating, and I wonder what is going on since I had to change the order to be like this to get it to work with my postfix.

hi Derkades, I can't reproduce this - simplomon sends out an EHLO as the first thing it does. Can you check using latest version of simplomon?

I am using the docker image, could you push an updated image to docker hub?

I'm also getting this issue with the docker image.

I'm also getting this issue with the docker image.

@bjo81 - which SMTP server are you talking to (if you know)?

@berthubert to a postfix

ok thanks - I can't understand how this happens, one of the explanations might be that your docker image is very old. I don't know a lot about docker, can you perhaps check where you got the image from and how old it is?

I am using the berthubert/simplomon imge from Docker Hub, which was last updated 3 months ago

Same here:
docker.io/berthubert/simplomon  latest      3101d04424e9  3 months ago  11 MB
``

hi everyone - I just pushed a new docker image. I can't reproduce your issue so far using the current code. Could you check this new docker image? I am not hopeful that this will help, but we need to try.


Windows CPU build in trouble

CUDA 7.5 having issues as well, but that's of course minor:
This is a cpu issue
[Stream 1 Build CPU] In file included from D:/jenkins/workspace/dl4j/all-multiplatform_windows-x86_64/libnd4j/stream1/libnd4j/blas/cpu/NativeOps.cpp:32:0:
[Stream 1 Build CPU] D:/jenkins/workspace/dl4j/all-multiplatform_windows-x86_64/libnd4j/stream1/libnd4j/blas/cpu/NDArray.cpp: In member function 'void nd4j::NDArray<T>::transposei() [with T = double]':
[Stream 1 Build CPU] D:/jenkins/workspace/dl4j/all-multiplatform_windows-x86_64/libnd4j/stream1/libnd4j/blas/cpu/NDArray.cpp:705:5: warning: 'newShapeBuffer' may be used uninitialized in this function [-Wmaybe-uninitialized]
[Stream 1 Build CPU]      shape::doPermuteShapeBuffer(newShapeBuffer, rearrange);
[Stream 1 Build CPU]      ^~~~~
[Stream 1 Build CPU] D:/jenkins/workspace/dl4j/all-multiplatform_windows-x86_64/libnd4j/stream1/libnd4j/blas/cpu/NDArray.cpp: In member function 'void nd4j::NDArray<T>::transposei() [with T = float16]':
[Stream 1 Build CPU] D:/jenkins/workspace/dl4j/all-multiplatform_windows-x86_64/libnd4j/stream1/libnd4j/blas/cpu/NDArray.cpp:705:5: warning: 'newShapeBuffer' may be used uninitialized in this function [-Wmaybe-uninitialized]
[Stream 1 Build CPU]      shape::doPermuteShapeBuffer(newShapeBuffer, rearrange);
[Stream 1 Build CPU]      ^~~~~
[Stream 1 Build CPU] D:/jenkins/workspace/dl4j/all-multiplatform_windows-x86_64/libnd4j/stream1/libnd4j/blas/cpu/NDArray.cpp: In member function 'void nd4j::NDArray<T>::transposei() [with T = float]':
[Stream 1 Build CPU] D:/jenkins/workspace/dl4j/all-multiplatform_windows-x86_64/libnd4j/stream1/libnd4j/blas/cpu/NDArray.cpp:705:5: warning: 'newShapeBuffer' may be used uninitialized in this function [-Wmaybe-uninitialized]
[Stream 1 Build CPU]      shape::doPermuteShapeBuffer(newShapeBuffer, rearrange);
[Stream 1 Build CPU]      ^~~~~
[Stream 1 Build CPU] In file included from D:/jenkins/workspace/dl4j/all-multiplatform_windows-x86_64/libnd4j/stream1/libnd4j/include/ops/declarable/generic/parity_ops.h:21:0,
[Stream 1 Build CPU]                  from D:/jenkins/workspace/dl4j/all-multiplatform_windows-x86_64/libnd4j/stream1/libnd4j/blas/cpu/NativeOps.cpp:36:
[Stream 1 Build CPU] D:/jenkins/workspace/dl4j/all-multiplatform_windows-x86_64/libnd4j/stream1/libnd4j/include/ops/declarable/generic/convo/convo_ops.h: In member function 'Nd4jStatus nd4j::ops::fullconv3d_bp<T>::validateAndExecute(nd4j::graph::Block<T>&) [with T = double]':
[Stream 1 Build CPU] D:/jenkins/workspace/dl4j/all-multiplatform_windows-x86_64/libnd4j/stream1/libnd4j/include/ops/declarable/generic/convo/convo_ops.h:1398:25: warning: 'gradColumns' may be used uninitialized in this function [-Wmaybe-uninitialized]
[Stream 1 Build CPU]              NDArray<T> *gradColumns;
[Stream 1 Build CPU]                          ^~~~~~~~~~~
[Stream 1 Build CPU] D:/jenkins/workspace/dl4j/all-multiplatform_windows-x86_64/libnd4j/stream1/libnd4j/include/ops/declarable/generic/convo/convo_ops.h: In member function 'Nd4jStatus nd4j::ops::fullconv3d_bp<T>::validateAndExecute(nd4j::graph::Block<T>&) [with T = float]':
[Stream 1 Build CPU] D:/jenkins/workspace/dl4j/all-multiplatform_windows-x86_64/libnd4j/stream1/libnd4j/include/ops/declarable/generic/convo/convo_ops.h:1398:25: warning: 'gradColumns' may be used uninitialized in this function [-Wmaybe-uninitialized]
[Stream 1 Build CPU] D:/jenkins/workspace/dl4j/all-multiplatform_windows-x86_64/libnd4j/stream1/libnd4j/include/ops/declarable/generic/convo/convo_ops.h: In member function 'Nd4jStatus nd4j::ops::fullconv3d_bp<T>::validateAndExecute(nd4j::graph::Block<T>&) [with T = float16]':
[Stream 1 Build CPU] D:/jenkins/workspace/dl4j/all-multiplatform_windows-x86_64/libnd4j/stream1/libnd4j/include/ops/declarable/generic/convo/convo_ops.h:1398:25: warning: 'gradColumns' may be used uninitialized in this function [-Wmaybe-uninitialized]
[Stream 1 Build CPU] D:\jenkins_temp\ccQz3sEe.s: Assembler messages:
[Stream 1 Build CPU] D:\jenkins_temp\ccQz3sEe.s:1623362: Error: invalid register for .seh_savexmm
[Stream 1 Build CPU] make[2]: *** [blas/CMakeFiles/nd4jcpu.dir/build.make:66: blas/CMakeFiles/nd4jcpu.dir/cpu/NativeOps.cpp.obj] Error 1
[Stream 1 Build CPU] make[2]: Leaving directory '/d/jenkins/workspace/dl4j/all-multiplatform_windows-x86_64/libnd4j/stream1/libnd4j/blasbuild/cpu'
[Stream 1 Build CPU] make[1]: *** [CMakeFiles/Makefile2:89: blas/CMakeFiles/nd4jcpu.dir/all] Error 2
[Stream 1 Build CPU] make[1]: Leaving directory '/d/jenkins/workspace/dl4j/all-multiplatform_windows-x86_64/libnd4j/stream1/libnd4j/blasbuild/cpu'
[Stream 1 Build CPU] make: *** [Makefile:153: all] Error 2

Full log:
http://master-jenkins.skymind.io:8080/job/dl4j/job/all-multiplatform/2726/consoleFull
The Cuda 7.5 snippet:
[edit: removed to avoid confusion]

[Stream 1 Build CPU] D:\jenkins_temp\ccQz3sEe.s:1623362: Error: invalid register for .seh_savexmm

Please update gcc on msys.

We're dropping support for CUDA 7.5, so don't worry about that one :)

@saudet please read the beginning of the issue, it's about a cpu failure

Closed by https://github.com/deeplearning4j/pipelines/issues/14 https://github.com/deeplearning4j/pipelines/issues/12


⚠ Bofrost.at has degraded performance

In 1622d8a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 940 ms

Resolved: Bofrost.at performance has improved in 4bce047 after 13 minutes.


Wrong title in account page bug fix

Thank you for the great boilerplate!
I was able to find a bug in a page title. This is the bug fix.
Bug:
The title of the Account (Home) page is not updated.
Preconditions:

The user is logged in
The user is at /

Steps to reproduce:

Click on Account
Click on Settings
Click on Home

Expected result:
The title of the Home (/account) page is Account
Actual result:
The title of the Home (/account) page is Settings

👍 Good catch.