Added power support for the travis.yml file with ppc64le

Added power support for the travis.yml file with ppc64le. This is part of the Ubuntu distribution for ppc64le. This helps us simplify testing later when distributions are re-building and re-releasing.

hey @lmazuel @annatisch , could you take a look at this PR?

Thanks @yunhaoling - the changes look fine, though I don't really know enough about this arch to be able to comment on the output - are we able to confirm that these wheels work as expected?
Also it may need updating for 3.9.

hello @sreekanth370, your PR looks good, however, as we're not quite familiar with ppc64le arch, could you please explain the purpose of your PR a bit more in detail?
Based on what you have given, we know that ppc64le is a CPU architecture and there is a ubuntu distribution (ubuntu for POWER?)

are you running the azure-uamqp-python(or any libraries that users uamqp) on ppc64le ubuntu or just for the purpose of environment test
how could updating the travis ci yml "simplify testing later when distributions are re-building and re-releasing", can you give some details on this one? like what steps do you usually do for re-building and re-releasing.

thank you for your knowledge in advance😊

Thanks for your response and tag for more info @gerrith3 (

hey @gerrith3, could you kindly provide more context about the ppc64le support?

hey @gerrith3, could you kindly provide more context about the ppc64le support?

@yunhaoling sure...  IBM has two additional hardware architectures that we build/sell and both fully support Linux (s390x for System Z/LinuxONE and ppc64le for Power).  Both have several Linux distros that are built for the architecture which we use as a base  when shipping hardware and building other open source and 3rd party applications.  These platforms are widely used globally as part of the Global 1000 customers.  Recently we have been trying to reduce our costs and the amount of replication in supporting multiple distros and are working to get more open source projects to test as changes are made rather than trying to find all problems at the point in time when each distro pulls bits for its next release.  This is similar to the way the Linux kernel community and many other base communities already work - testing on all available platforms (and sometimes with a variety of distros/compilers/interpreters/environments) for each patch.  This moves problem resolution to happen when developers make the change rather than us having to work with the distributions months (or longer) after a change has been made and try to understand without the original developer's context exactly why this regression happened.  This has started now because we have finally set up a public cloud with broad, easy access to Power (and s390x/Z) servers and Travis CI as a front to that cloud, meaning we can now provide a CI more widely to open source communities.  We are trying to help communities jump start with the extended Travis testing on Power by building the project on Power, then building on Travis, evaluating any changes needed to the .travis.yml and them submitting the pull request to the community when we have a complete build and all tests passing.
Feel free to tag me with any more specific questions - I tried to throw in a broad overview here but if I missed your question just let me know.

@yunhaoling sure...  IBM has two additional hardware architectures that we build/sell and both fully support Linux (s390x for System Z/LinuxONE and ppc64le for Power).  Both have several Linux distros that are built for the architecture which we use as a base  when shipping hardware and building other open source and 3rd party applications.  These platforms are widely used globally as part of the Global 1000 customers.  Recently we have been trying to reduce our costs and the amount of replication in supporting multiple distros and are working to get more open source projects to test as changes are made rather than trying to find all problems at the point in time when each distro pulls bits for its next release.  This is similar to the way the Linux kernel community and many other base communities already work - testing on all available platforms (and sometimes with a variety of distros/compilers/interpreters/environments) for each patch.  This moves problem resolution to happen when developers make the change rather than us having to work with the distributions months (or longer) after a change has been made and try to understand without the original developer's context exactly why this regression happened.  This has started now because we have finally set up a public cloud with broad, easy access to Power (and s390x/Z) servers and Travis CI as a front to that cloud, meaning we can now provide a CI more widely to open source communities.  We are trying to help communities jump start with the extended Travis testing on Power by building the project on Power, then building on Travis, evaluating any changes needed to the .travis.yml and them submitting the pull request to the community when we have a complete build and all tests passing.
Feel free to tag me with any more specific questions - I tried to throw in a broad overview here but if I missed your question just let me know.

@yunhaoling sure...  IBM has two additional hardware architectures that we build/sell and both fully support Linux (s390x for System Z/LinuxONE and ppc64le for Power).  Both have several Linux distros that are built for the architecture which we use as a base  when shipping hardware and building other open source and 3rd party applications.  These platforms are widely used globally as part of the Global 1000 customers.  Recently we have been trying to reduce our costs and the amount of replication in supporting multiple distros and are working to get more open source projects to test as changes are made rather than trying to find all problems at the point in time when each distro pulls bits for its next release.  This is similar to the way the Linux kernel community and many other base communities already work - testing on all available platforms (and sometimes with a variety of distros/compilers/interpreters/environments) for each patch.  This moves problem resolution to happen when developers make the change rather than us having to work with the distributions months (or longer) after a change has been made and try to understand without the original developer's context exactly why this regression happened.  This has started now because we have finally set up a public cloud with broad, easy access to Power (and s390x/Z) servers and Travis CI as a front to that cloud, meaning we can now provide a CI more widely to open source communities.  We are trying to help communities jump start with the extended Travis testing on Power by building the project on Power, then building on Travis, evaluating any changes needed to the .travis.yml and them submitting the pull request to the community when we have a complete build and all tests passing.
Feel free to tag me with any more specific questions - I tried to throw in a broad overview here but if I missed your question just let me know.

@yunhaoling sure...  IBM has two additional hardware architectures that we build/sell and both fully support Linux (s390x for System Z/LinuxONE and ppc64le for Power).  Both have several Linux distros that are built for the architecture which we use as a base  when shipping hardware and building other open source and 3rd party applications.  These platforms are widely used globally as part of the Global 1000 customers.  Recently we have been trying to reduce our costs and the amount of replication in supporting multiple distros and are working to get more open source projects to test as changes are made rather than trying to find all problems at the point in time when each distro pulls bits for its next release.  This is similar to the way the Linux kernel community and many other base communities already work - testing on all available platforms (and sometimes with a variety of distros/compilers/interpreters/environments) for each patch.  This moves problem resolution to happen when developers make the change rather than us having to work with the distributions months (or longer) after a change has been made and try to understand without the original developer's context exactly why this regression happened.  This has started now because we have finally set up a public cloud with broad, easy access to Power (and s390x/Z) servers and Travis CI as a front to that cloud, meaning we can now provide a CI more widely to open source communities.  We are trying to help communities jump start with the extended Travis testing on Power by building the project on Power, then building on Travis, evaluating any changes needed to the .travis.yml and them submitting the pull request to the community when we have a complete build and all tests passing.
Feel free to tag me with any more specific questions - I tried to throw in a broad overview here but if I missed your question just let me know.

hey folks, I apologize for the late update.
we've decided to deprecate travis for CI and switch to devops for the CI purpose.
For multi-platform wheel support, our plan is to work on pure python amqp library which currently stays in the pyproto branch.
I'm closing this PR since the file is about to be removed, but feel free to open issues and we would be glad to help.


1.1.3 Fails to compile with particle fw 2.0.0 rc2

Not sure if I am leaving this in the right place, but I used VSCode and "Particle install library" which installed version 1.1.3 in my project, which caused a compile error.  I downgraded to 1.1.1 and compiled without error.
https://community.particle.io/t/jsonparsergeneratorrk-swap-error-on-fw-2-0-0rc2/58130
Please contact me through the Particle Forums if I can help.  (I am not a strong c++ programmer, so I am not sure if I did something wrong)

My mistake, this is an error with another library, using your new version just reveals it.  My bad.


Revoke and option out allUpdate viewing-and-re-running-checks-in-github-desktop.md

And desktop
Thank you for contributing to this project! You must fill out the information below before we can review this pull request. By explaining why you're making a change (or linking to an issue) and what changes you've made, we can triage your pull request to the best possible team for review.
-->
Why:
Closes:

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[ ] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[ ] For content changes, I have completed the self-review checklist.

Revoke merged

Remove contributions

Unblock and remove all blocks

486096

486096 remove and delete


ping.go:97:3: duplicate field name in struct literal: network

go run cmd/ping/ping.go
github.com/sparrc/go-ping
./ping.go:97:3: duplicate field name in struct literal: network
./ping.go:98:3: duplicate field name in struct literal: ipv4

fixed by #25


Syntax error appears twice in console

Create a new project
Make a syntax error

The terminal is fine but the console reports the same error twice:

First of all both of them are different errors. One is caught as syntax error because there is no closing curly brackets and the second error is over the export of component since it is taking it as one of the line of code within the component. Hence the error.
That is not a bug. It is instead a feature of the create-react-app dev server which is a webpack dev server. Take a look at this file : webpackHotDevClient.js.
  // Only show the first error.
  ErrorOverlay.reportBuildError(formatted.errors[0]);

  // Also log them to the console.
  if (typeof console !== 'undefined' && typeof console.error === 'function') {
    for (var i = 0; i < formatted.errors.length; i++) {
      console.error(stripAnsi(formatted.errors[i]));
    }
  }

According to these lines. Only the first error will be shown in your computers console. And all the errors will be logged as error in your browser console. Hope this helps you, and take this bug down.
Cheers...!


Admin modal to approve

As admin I would see a modal when I click on "approve" in order to modify a skill before submitting
Rules :
We can't click on approve if no topic are mentionned

Should we block when a user creates a skill without topic ? Or can't approve as an admin if no topic ?

For me it's both

I'd say optional for a user and required for admin ?

I think we should split this issue into 2 parts :

the admin modal that requires topics
a new section on the create skill modal that allow user to add topics. Actually we have anything to allow the user to modify skill information

For this issue I suggest to focus on the admin modal only

I think we should split this issue into 2 issues :

the admin modal that requires topics
a new section on the create skill modal that allow user to add topics.

Actually we have anything to allow the user to modify skill information
For this issue I suggest to focus on the admin modal only

I agree ! This admin modal is more important


No documentation on listitem attachments

There is no document on how to upload files as attachments for list items. Also there is a picture field type that I cannot find any documentation on.
[Enter feedback here]

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

ID: e00d6372-f1f5-58ea-0fdf-90496cc68abf
Version Independent ID: 82a66768-cf64-369a-944f-fb6c282b340b
Content: listItem resource - Microsoft Graph v1.0
Content Source: api-reference/v1.0/resources/listitem.md
Product: sharepoint
Technology: microsoft-graph
GitHub Login: @JeremyKelley
Microsoft Alias: JeremyKelley

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


rename event-dispatcher to function-controller

done via https://github.com/markfisher/sk8s/commit/e386d05c14dc9bd899e96eb30e0e4b351e4ca852


Concepts "original" and "unstable" have wrong label "stable"

Seems like a copy and paste issue.

Fixed now


fix: do not do_store_check before 1st inst commit

REF model is not setuped until the 1st inst commit. do_store_check before
that will always fail

A correct design should not have any store before an instruction commits. But a wrong design may cause wrong values to be stored into memory before any instruction commits.

What if we need to run some code (including store) before difftest begins? For example, a loader in flash?

Difftest is enabled during the flash. Moving store_check after has_commit will cause stores to be ignored.


Update flask to 2.3

Fixes https://github.com/github/ghas-jira-integration/issues/57

This PR runs successfully on our environments!


How to deal with black and white pictures?

Hi,renard
How to deal with black and white pictures? What this algorithm code snippet?Can you help me ? thank you!

Do you refer to white text on dark background?

in this project ,it can deal with any images transform to dark text on write backgroud.It look like

Please give me a detailed description of the problem

The algorithm to extract white text on dark background took me about 6 month to develop. And since its quite uniqie in that I couldn't find any good papers or other resources about that particular problem I decided to not open source my solution. Im sorry to disappoint you. The open source version of my app will only work well with black on white text.


Implement get_preds_from_accumulator for MultiRCEvaluationScheme

This PR provides an implementation for MultiRCEvaluationScheme's get_preds_from_accumulator method (addressing https://github.com/jiant-dev/jiant/issues/87).
How was this change validated?
There's a benchmark test underway now (using RoBERTa-large). When that experiment is complete results will be posted here.

How was this change validated?
There's a benchmark test underway now (using RoBERTa-large). When that experiment is complete results will be posted here.

This benchmark test did not succeed — loss did not consistently decrease, validation metrics not improving.
Planning to convert PR to draft and continue troubleshooting.

Commit 1f46f09 updates _create_examples() for compatibility with MultiRC data v1.1. Re-running the benchmark test (MultiRC w/ RoBERTa Large) w/ this change yields performance matching jiant v1. Planning to re-open PR for review.


Flexbox: justifyContent doesn't work

The layout property justifyContent for flexbox doesn't work. It's always centered, and thus positioning items is hard. In addition, I saw in the sqlops.proposed.d.ts that the FlexLayout properties matches the CSS property. However, in the mainController.ts for sqlservices, I noticed an alignItems: 'left'. Is this a bug or the properties have styles that we don't know about?

I cannot repro the issue. the justifyContent seems to work fine. to make the UI you want you might need to use other options as well (width, textAlign, itemAlign ...)


Add MQTT client

Having an async MQTT client that works with drogue cloud.

Got that now thanks to @obabec


Build CicadaPlayer for both Simulator and Device

Describe the bug
Following the instructions to compile CicadaPlayer for iOS, the result is that the CicadaPlayer only works on an iOS device, can't make it work on a Simulator.
It says alivcffmpeg is only built for arm64, but for what i see in the scripts, it should create Fat frameworks with all architectures right?
Should CicadaPlayerSDK.framework and alivcffmepg.framework contain all architectures?
Am I doing something wrong?
Thanks 🙇
To Reproduce
Steps to reproduce the behavior:

Clone repo
Follow README instructions to build for iOS
Try to execute CicadaDemo in a Simulator
See error

Expected behavior
I can execute CicadaDemo in both Device and Simulator

try clean and rebuild in xcode

try clean and rebuild in xcode

Yep, already tried that, but doesn't work, can't compile on simulator :/

Yep, already tried that, but doesn't work, can't compile on simulator :/

Maybe I have something wrong on my computer, but this is the error i'm getting:
Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_EAGLContext", referenced from:
      objc-class-ref in librender.a(eagl_context.o)
  "_glIsRenderbuffer", referenced from:
      Cicada::CicadaEAGLContext::DestroySurface(Cicada::GLSurface*&) in librender.a(eagl_context.o)
  "_glGenRenderbuffers", referenced from:
      Cicada::CicadaEAGLContext::CreateSurface() in librender.a(eagl_context.o)
  "_glBindRenderbuffer", referenced from:
      Cicada::CicadaEAGLContext::CreateSurface() in librender.a(eagl_context.o)
      Cicada::CicadaEAGLContext::MakeCurrent(Cicada::GLSurface*) in librender.a(eagl_context.o)

// [...]
// The log is over 600 lines long, this is just a subset, all related to librender.a

ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This is just after cloning and following the steps in the README.
I'm working with Big Sur and Xcode 12.3 (although i've tested with 11.5 too and same result)
Any idea?
Thanks you 🙇

OK, I've got the reason , wait me fix it :)

https://github.com/alibaba/CicadaPlayer/commit/e02af5beda35f26ae7e88d1f830e55c4e4ccaa08, fixed

It works now!! Thanks @pingkai 🙇

Thanks for your issue @isaacroldan


Completed B5 challenge

confirmed:B5
address:3vCVa7kmyRTNrAgQR7tGNHchEzUkXbx5c8hgxEDkM5eLeMwWsy

confirmed:B5
address:3vCVa7kmyRTNrAgQR7tGNHchEzUkXbx5c8hgxEDkM5eLeMwWsy

4hTZRd6AF8KnsuKkMuti4s4YvpBJWYCbCPGugrN2TGbndAktis

Form Submitted
Tue, 05 Jul 2022 16:54:10 GMT
Time zone in Istanbul (GMT+3)


feat: add change_message attribute to field content

Title
Upgrade typedstruct dependency and add JSON encoding for FieldContent struct
Type of Change

[x] New feature
[x] Refactoring

Description
This pull request includes the following updates:

Migrated from the unmaintained typed_struct to the maintained typedstruct package to ensure future support and compatibility.
Added JSON encoding functionality to the FieldContent struct in the ExPass.Structs.FieldContent module. The new encoder converts FieldContent struct data into camelCase keys and filters out nil values. This is critical for ensuring consistent interaction with external systems via APIs.
Introduced a new attribute change_message in the FieldContent struct, which allows descriptive messages when field values change.

Testing

Updated test cases for FieldContent to include validation of the change_message field.
Added tests for the new JSON encoding functionality, including key formatting (camelCase) and exclusion of nil values.

Impact

Dependencies: Migrating to typedstruct may introduce minor changes in struct behavior, but no breaking changes are expected.
External APIs that consume FieldContent JSON data should now receive properly formatted camelCase keys, ensuring compatibility with standardized systems.
Developers must now ensure that change_message follows the format requirements (%@ placeholder).

Additional Information
N/A

closed: #146


update cluster check wording and link

Codecov Report

Merging #5368 into master will decrease coverage by 0.09%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##             master   #5368     +/-   ##
==========================================
- Coverage     82.49%   82.4%   -0.1%
+ Complexity    11269   11252     -17
==========================================
  Files          1355    1355
  Lines         44143   44144      +1
  Branches       5561    5561
==========================================
- Hits          36416   36377     -39
- Misses         5112    5145     +33
- Partials       2615    2622      +7

Impacted Files
Coverage Δ
Complexity Δ

...nce/sys/check/cluster/LicenseEnterpriseChecks.java
84.61% <0%> (-7.06%)
5 <0> (ø)

...src/main/java/io/crate/module/CrateCoreModule.java
88.57% <100%> (ø)
2 <0> (ø)
:arrow_down:

...in/java/io/crate/lucene/match/CrateRegexQuery.java
43.47% <0%> (-30.44%)
4% <0%> (-4%)

...o/crate/analyze/SafeExpressionToStringVisitor.java
83.33% <0%> (-16.67%)
7% <0%> (-1%)

...in/java/io/crate/data/CollectingBatchConsumer.java
69.23% <0%> (-15.39%)
4% <0%> (-1%)

...ration/reference/doc/lucene/IpColumnReference.java
72.72% <0%> (-13.64%)
5% <0%> (ø)

...a/io/crate/operation/join/NestedLoopOperation.java
82.85% <0%> (-11.43%)
14% <0%> (-1%)

...crate/planner/projection/MergeCountProjection.java
63.63% <0%> (-9.1%)
5% <0%> (-1%)

core/src/main/java/io/crate/types/ArrayType.java
73.84% <0%> (-7.7%)
24% <0%> (-2%)

...ain/java/io/crate/lucene/GenericFunctionQuery.java
63.82% <0%> (-6.39%)
9% <0%> (-1%)

... and 24 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 da7a52e...823ce3e. Read the comment docs.


latest_release not always populated

Deployer version: 7.0, 7.1.4, 7.3.1
Deployment OS: Debian 11

I can't create a reproduction since it happened like 5 times over the course of 1 year.
xxx@ktn01:/var/www/vhosts/xxx/gfx/.dep$ cat latest_release
5
xxx@ktn01:/var/www/vhosts/xxx/gfx/.dep$ cat releases
20221031112421,1,ci,HEAD,revision
20221102095124,2,ci,HEAD,revision
20221116144048,3,ci,HEAD,revision
20221201115432,4,ci,HEAD,revision
20221201121848,5,ci,HEAD,revision
20221221163729,6,ci,HEAD,revision
20230206134537,7,ci,HEAD,revision

which caused deploy to fail.
Release name "6" already exists.

Actually - that must have been leftovers from v 6 I believe...


Tabular Menu Bug

How can I fix this tabular menu issue: http://i.imgur.com/HUIDOgs.png
Tab's start to run out after tab12. How can I make it so it collapses to something like dropdown after tab 11 for example ? Thank You!

  Tab01
  Tab02
  Tab03
  Tab04
  Tab05
  Tab06
  Tab07
  Tab08
  Tab09
  Tab10
  Tab11
  Tab12
  Tab13
  Tab14
  Tab15

test-01

test-02

test-03

test-04

test-05

test-06

test-07

test-08

test-09

test-10

test-11

test-12

test-13

test-14

test-15

I don't think so, i ran into the same problem. You can evenly divide up to 12 items by: http://semantic-ui.com/collections/menu.html > Evenly Divided
But in general you should also think about not having so much tabs at all, since its not very user friendly ;)

@ohartl LOL I'm not asking if its user friendly or useful. I'm saying it should be more responsive like when there is too many tabs it should fold under one dropdown at the end. Because some like me need to use more then just 10-tabs ^_^

I think it would make sense to include a new variation that scrolls horizontally inside menu with a hidden scrollbar (this seems to be a common pattern)

BTW the collapsible pattern is also very very common and useful.
I missed it a lot in Semantic Ui many times...


chore: update tsconfig setup

This ensures that this repo is using strict checking. We also don't need the import 'tslib' anymore because I fixed that in https://github.com/sapphiredev/utilities/pull/620

out of interest, what's the stylistic motive behind moving the imports around?

out of interest, what's the stylistic motive behind moving the imports around?

VSCode sort imports. Not sure what logic VSCode applies.


Row Labels

This is a great timeline project.  Is there a way to add row labels to increase its functionality?

Thanks,
Now that function is not built in yet. However, I think so too, want that. So I will add that function in the near future.


Changes from PR 22104 break commissioning flows where the network info is provided later

Problem
https://github.com/project-chip/connectedhomeip/pull/22104 changed things so we do only on-network discovery if we don't have network credentials at commissioning start.
But the infrastructure @chrisdecenzo put in place allows providing the network credentials later, async, after performing a scan for available networks, etc.  It's no longer possible to provide those credentials after start of commissioning when using the "commission by pairing code" APIs (as opposed to the "create PASE session by pairing code, then commission by device id" APIs).
Proposed Solution
Revert #22104.
@vivien-apple @woody-apple

I suspect this is related to the changes in #20766 ?
Can't we add a new field to CommissioningParameters such that we can rely on that to force the network scan if no credentials are provided ?
And in chip-tool an optional param can be added to enable/disable this flag...

I suspect this is related to the changes in https://github.com/project-chip/connectedhomeip/pull/20766 ?

Yes.

Can't we add a new field to CommissioningParameters such that we can rely on that to force the network scan

Yes, we can.  That would also address this issue.
The problem is not forcing a network scan, by the way.  That will happen if there are no credentials and we discovered over BLE.  The problem is not skipping BLE discovery.

@vivien-apple - is this fixed now given that #22300 is merged?


Rewrite module

Refactor code-style;
Remove superfluous files;
Remove markdown parsing (remark) from tests;
Remove support for sanitising (use a rehype plugin instead);
rehypeReactComponents > components;
Remove white-space cleaning (use rehype-minify-whitespace
instead);
mocha > tape;
eslint, jscs > xo;
Rewrite documentation.

It’s rather a big rewrite, sorry about that!

Thank you for the large changes. I couldn't take a time to review them so I'm sorry for delay.

After this PR merged, I'll publish this as 2.0.0.

OK, so the TODO list is as follows:

[ ] Remove globalCreateElement;
[ ] Create rehype-sanitize (which is basically module.exports = function (proc, opts) { return function (tree) { return hastUtilSanitize(tree, opts)};  }).

I’m swamped tonight, maybe tomorrow?!

Thanks. I will have a trip to China this weekend. So merge may be at next week.

@rhysd Both are done!

Cool! Thank you for a lot.

@wooorm I've published v2.0.0 :+1:


Upgrade to Next.js 11

Upgraded to Next.js 11. Used IgnorePlugin() to prevent global css files (which are no longer supported in Next.js 11) from benig generated in webpack.

@jeremynguyencs if you could reach out to someone from the Next.js community to resolve this, that would be amazing 🙏


PK2 stress in post processing is not symmetric

This is in reference to the hyperelastic RVE case 9ab1931, but the issue could be present in other cases as well. In the post processing step, we retrieve the applied deformation gradient $\bar{\mathbf{F}}$ and obtain the homogenized 1st Piola-Kirchhoff stress $\bar{\mathbf{P}}$. However, when I compute the 2nd Piola-Kirchhoff stress $\bar{\mathbf{S}} \coloneqq \bar{\mathbf{F}}^{-1}\bar{\mathbf{P}} $, I get a non-symmetric matrix, which shouldn't be the case. There seems to be a bug in the post processing and this needs to be investigated and resolved.

Hey, Hari. Let's work together to resolve this issue later :D


GH-39149: [C++] replace_substring_regex hangs indefinitely for negative max_replacements

Rationale for this change
There was a bug in replace_substring that caused it to hang if the pattern was empty.
What changes are included in this PR?
Followed the guidance given in the comment by Alenka in https://github.com/apache/arrow/issues/39149. However after some experimentation I noticed that the issue was that the function ReplaceString would hang forever if the pattern was empty. This is because the update rule in the while loop is i += size of pattern (which is 0). Now, when the pattern is empty, the resulting string will remain the same.
I am also adding the file scalar_string_tests.cc to the CMakeLists.txt in the cpp/arrow/src/compute/kernels directory since I noticed the tests were missing.
Are these changes tested?
I added extended the existing tests to include cases where the string was empty and where the pattern was empty.
Are there any user-facing changes?
Closes #39149

Closes: #39149

@github-actions autotune

@github-actions autotune

@github-actions autotune

@AlenkaF, should be good now hopefully.

Thanks for submitting this PR @mason142 . Here are a couple comments, I'm not sure the solution is right here.

Hi @pitrou, thank you very much for looking at my PR and giving your thoughts. I rewrote my solution to better follow the semantics of .replace() in python. I was a little unsure on how to handle the case of "".replace("", any_string) so I hardcoded that edge case at the beginning of ReplaceSubstring. Any other advice would be greatly appreciated.

Sorry for the delay here.
If we want these semantics, we should make sure that non-ASCII data works as expected for utf8 strings:
>>> "àà".replace("", "z")
'zàzàz'

I'm not sure the current code ensures this...
An alternative would be to simply return an error if the pattern is empty.
What do you think @wjones127 @jorisvandenbossche ?

I personally wasn't aware of this specific behaviour of Python, and I don't think we necessarily need to replicate it exactly. Is there a typical use case for this?
For another data point: Postgres doesn't seem to have this behaviour, but rather matches nothing for an empty string:
test_db=# SELECT replace('test', 't', 'z');
 replace
---------
 zesz
(1 row)

test_db=# SELECT replace('test', '', 'z');
 replace
---------
 test
(1 row)

And then R seems to have the same behaviour as Python (sub only replaces the first occurrence):
> sub("test", "t", "z")
[1] "z"
> sub("t", "z", "test")
[1] "zest"
> sub("", "z", "test")
[1] "ztest"
> gsub("t", "z", "test")
[1] "zesz"
> gsub("", "z", "test")
[1] "ztzezsztz"

And the tidyverse version of this function raises an error:
> library(stringr)
> str_replace("test", "t", "z")
[1] "zest"
> str_replace("test", "", "z")
Error in `str_replace()`:
! `pattern` can't be the empty string (`""`).

So we already have examples of three different behaviours .. (replace (insert) every other string, replace nothing, error)

Also Java has the same behavior as Python :-)
https://stackoverflow.com/questions/33960364/replace-with-empty-string-replaces-newchar-around-all-the-characters-in-original

Perhaps we can start by returning an error, and we can later change our mind if we find a clear reason of favoring one behavior over another?


Collections per genre

@fabricecaruso Collections by genre don't work, I choose a genre but they don't appear.
Do you intend to fix this error?
v34 last update, RPi3

Please re-scrap all your games & try again (unless you scraped them recently)
You probably have a problem in your gamelists

@fabricecaruso They appear when they are ungrouped.
When grouped doesn't appear

When grouped there's a "Collections" collection. Don't you have it ?

No, don't appear Collections

What if you create some custom collections ?

Ok
I fixed this & opened a PR for v35
https://github.com/batocera-linux/batocera-emulationstation/pull/1198

Thanks!

@fabricecaruso can you move this issue to https://github.com/batocera-linux/batocera.linux/issues/6122 to emulation-station? It's a simular issue.

@maioni Just proposed a fix for this one too. You can close your original issue


Dependencies Scanned: 0 (0 unique)

What does "0 dependencies scanned" mean ? There are about 1300 directories and 20000 files in the scan space.
Scan Information (show all):
dependency-check version: 4.0.2
Report Generated On: Jan 28, 2019 at 17:18:05 +00:00
Dependencies Scanned: 0 (0 unique)
Vulnerable Dependencies: 0
Vulnerabilities Found: 0
Vulnerabilities Suppressed: 0
...

For node projects - ODC is pretty much just a wrapper around npm audit.  Which version of ODC are you using?

We are using always the latest docker image.
actual -> dependency-check version: 4.0.2

Sorry for the huge delay on getting back to this question. Have you upgrade to 5.2.2? Are you still having this issue?
One of the other things to try is quoting the path:

--scan "/home/jenkins-master/workspace/content-picker-ui_master"

Also, 5.2.2 uses the package-lock.json.  We have improvements in place that will be in the next release for node.js projects.


NIFI-1867 Improve ModifyBytes to make it easy to remove all FlowFile content (0.x)

Add "Remove All Content" property, related functionality, and tests to ModifyBytes processor to allow deletion of all flow file content.
Removed @Ignore annotation on class and unnecessary EOL translation of test data.  Because ModifyBytes treat input as binary data, not text, line endings don't matter as long as they byte offsets are calculated correctly.

(For 0.x branch, a separate PR for 1.x branch will follow.)

@pvillard31, I committed the .allowableValues change to this and the 1.x pull https://github.com/apache/nifi/pull/890.

+1, checked improvement, full build w/ contrib-check, LGTM.
Merged in 0.x.
@jskora, could you manually close this PR? Thanks!

Closed by 0.x branch commit f89bc9efd8b8458b5bfd6a1b4045ce8230117ff4.
Thanks @pvillard31


No static type of service in timescaledb-multinode

In case you want to use the timescaledb-multinode template only in the cluster, it is helpful to not set the type of the service static to LoadBalancer.
My problem corresponding to the following line in the timescaledb-multinode template:
https://github.com/timescale/timescaledb-kubernetes/blob/e7af025a1181559657450fdc5d763a39d86cee47/charts/timescaledb-multinode/templates/svc-timescaledb-access.yaml#L17

Could you elaborate a bit? Do you want the Service to be a ClusterIP for example?

Yes, I want to use ClusterIP instead.

we need ClusterIP as well because all services accessing the db service in our deployment are in the same cluster.

we need ClusterIP as well because all services accessing the db service in our deployment are in the same cluster.

Same here!

We are sorry to say that multinode helm chart is deprecated and not supported anymore. If you want to see this chart supported then we are looking for community maintainers - https://github.com/timescale/helm-charts/tree/master/charts/timescaledb-multinode#call-for-maintainers


when I execute ./startup.sh ,Log shows that connection is not possible to http://ip:10800

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?

Bug

Which version of SkyWalking, OS and JRE?
skywalking beta2
os:linxu suse
jre:8

Which company or project?

What happen?
kywaling-collector-server.log file ：
main ERROR:field named ac in application index not found .
caused by:org.apache.skywalking.apm.collector.storage.StorageInstallException::field named ac in application index not found .

This is not about connection. This fail means, your elastic search table(type) existed, but don't include the right field(column). Most likely, you have used this es for the early version and didn't clear that.


wsdd: fix send messages using correct socket

Motivation for this change
Fix neighboring subnet.
cc @flokli @aanderse @Mic92
Things done

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

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

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

Result of nixpkgs-review pr 108068 run on x86_64-darwin 1

1 package built:

wsdd

This is a semi-automatic executed nixpkgs-review. If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108068 run on x86_64-linux 1

1 package built:

wsdd


Better args handling

Codecov Report

Merging #11 (20517ea) into main (c041fe4) will decrease coverage by 0.77%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##             main      #11      +/-   ##
==========================================
- Coverage   97.46%   96.69%   -0.78%
==========================================
  Files           3        4       +1
  Lines         237      242       +5
==========================================
+ Hits          231      234       +3
- Misses          4        6       +2
  Partials        2        2

Impacted Files
Coverage Δ

complete.go
0.00% <0.00%> (ø)

errors.go
100.00% <ø> (ø)

acmd.go
97.02% <100.00%> (+0.04%)
:arrow_up:

Continue to review full report at Codecov.

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


el-tab-pane does not take into account el-tabs from an other component

Hello Guys , I have a problem with your Tab element. I use your el-tabs in a my main component , but I can not use your el-tab-pane in other component like this :
My main component :
<el-tabs type="card" :closable="true">
<el-tab-pane label="User">User</el-tab-pane>
<tab-client name="Nouveau client"></tab-client>
</el-tabs>

Note : el-tab-pane "User" is good rendered
My template in tabClient component :
<template>

    <el-tab-pane label="Nouveau client">test</el-tab-pane>

</template>

Note : The label of the tab is not displayed and is rendered as "

" without none content.
I thinks el-tab-pane component include in other component does not take in account the el-tabs. Can you fix this issue ?
Thanks

hi bro, it's not the desirable using way of the tabs component. why do u want to use this？

Indeed , I can insert my component into the el-tab-pane.
Other question : is it possible to set "closable" feature only  at one el-tab-pane (and not at all )  ?
Thanks

is it possible to set "closable" feature only at one el-tab-pane (and not at all ) ? yes, u can.

Out of curiosity why isn't this desirable? I feel that would be much more convenient since you could keep all of the tab configurations in one file. Is there any way around this without having to keep the el-tabs and el-tab-pane in one component?

Would nt it be much organized if you render tabs in same file and componentize the tab content instead of doing this.
Sample of what I mean...
<el-tabs>
 <el-tab-pane v-for="(tab, index in tabs)" :key="index" :label="tab.label" name="tab.name">
   <component :is="tab.component" @bind="blah">
 </el-tab-pane>
</el-tabs>

??

While proposed way does work, I think it would make sense to add to documentation mention of the fact, that you can't use  the way @Sancho66 is introducing.

What did you do about it, buddy @Sancho66

Thanks man! I wasn't aware of the component tag, this solution works great in my case, where I have some "static" panes, and others dynamic... I will render them like you  suggested.
Vue always amazes me. Every day I discover something new and very useful!
I think I'm in love :)

I would also like to be able to wrap the el-tab-pane in it's own component to keep configs in one place. Please reopen! @baiyaaaaa

@M1CK431 some time has passed, but I'm pretty sure that setting current-name property was not working right.  Maybe I didn't try to set current-name, but only the v-model on el-tabs, what I remember is that dynamically loaded tabs were not responding to programmatic active tab update! That was in september '19, maybe with newer versions the behaviour is different, idk.


MegaMenu on Android 4.0: Mega Menu does not close

Current behavior

When navigating on the mega menu on Android 4.0, the "back" button and ability to close the menu doesn't work, leaving users stuck.

View behavior here: https://saucelabs.com/beta/tests/e60667c032b94634be8a09ede39381a7/watch
This was found on Amazon Fire Kindle running Android 4.0. I'll update the post with other browsers affected.
Expected behavior

Back button should work and send users back.
When you click on the menu and then the search, the menu should close and search should appear

Steps to replicate behavior

Click on the menu button
Click on Consumer Education
Click on the "Back" button and nothing happens
Click on the "Search" button and nothing happens

If you click "Search" before the menu button, the menu button will not appear.

Screenshots

View behavior here: https://saucelabs.com/beta/tests/e60667c032b94634be8a09ede39381a7/watch
Affected OS

Android 4.0
Android 4.1
Android 4.2
Android 4.3

Amazon Fire Tablet/Android 4.0
HTC One X/Android 4.0
HTC One X/Android 4.1
Search is not working on this one either.
Samsung Galaxy Nexus/Android 4.1

Issue on Android 4.2 - Search does not work either
Samsung Galaxy Nexus/Android 4.2
Issue on Android 4.3 - Search does not work. Clicking Search and then clicking menu causes the menu to break.
Samsung Galaxy Nexus/Android 4.3

Works as intended in Android 4.4!
Samsung Galaxy Nexus/Android 4.4

@anselmbradford any thoughts on these issues?

I have a hunch that at least part of this is lack of support for aria-expanded http://caniuse.com/#feat=wai-aria, which would account for the mega menu hamburger menu icon not changing, but I don't think it would disable the menu or the search in the way described. I'll keep digging.

The MegaMenu should now be closing/showing. There is an issue where search is being not being displayed on Android. For some strange reason, commenting out ( or using Mordnzr to conditionally ommit) the line allows it to work on Android. https://github.com/cfpb/cfgov-refresh/blob/flapjack/cfgov/unprocessed/js/molecules/GlobalSearch.js#L174

Discovered that the issue can be resolved by forcing a page reflow; this isn't the most elegant solution but the one we will go with if a better solution isn't found quickly.

Fixed in https://github.com/cfpb/cfgov-refresh/pull/1964


Where does Perspective save edited images?

Where can I find the images edited by Perspective?

They are saved in "Pictures\Perspective" but you should be able to find them in the Gallery application.
Unfortunately with the latest android versions my method to add them to Gallery does not works.
I change the method but it will be for the next release.
Can you please try with a file explorer if the files are present in "Pictures\Perspective" folder ?

That's where I checked as well, there's no /sdcard/Pictures/Perspective.

It's strange the "sdcard" in the path.
The full path is actually "/storage/emulated/0/Pictures/Perspective" but maybe "/storage/emulated/0/" don't exists on all devices.

@danopdev On my device, /sdcard/ just redirects to /storage/emulated/0/, which does exist.

It's strange. I'll try to find another method to get Pictures folder.
Do you know the path on your device ?

It's /storage/emulated/0/Pictures/.

Comparing yours to PixaPencil's code,
Perspective: Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES).absolutePath
PixaPencil: File(Environment.getExternalStorageDirectory(), Environment.DIRECTORY_PICTURES)
Could it be because yours has the extra Public bit? Might also be .absolutepath.

Actually Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES).absolutePath is the current code, but previous release used a hardcoded location.
On my device both methods returns: /storage/emulated/0/Pictures
Can you see please check what are the values for both methods ?

@danopdev How can I check that?

It still won't work on version 1.8.

You need to write a small program for that, but I can try a different approach:
If I generate 2 special builds:

File(Environment.getExternalStorageDirectory(), Environment.DIRECTORY_PICTURES) + "\Perspective"
File(Environment.getExternalStorageDirectory(), Environment.DIRECTORY_PICTURES)

Can you please test them ?

Sure, I can test them.

In the ZIP file you can find the 2 applications:

1.10 = > try to save to File(Environment.getExternalStorageDirectory(), Environment.DIRECTORY_PICTURES)
1.12 => try to save to File(Environment.getExternalStorageDirectory(), Environment.DIRECTORY_PICTURES) + "\Perspective"

Please try both of them (I have a preference for 1.12)

Tried both out, none works. Kotatsu, Imagepipe, PxerStudio, Resplash all work for reference.

This is really strange.
Do you have the little toast saying the save was OK or failed ?

Yeah, the toast's there. It says Saved to image_name.png.

OK, I didn't checked the save result.
This is a new build that do it and also show the full path in the toast.
Can you please try it ?
Also can you try to save it as JPEG too ?
Perspective.zip

I tried all the outputs, they all result in the same error: Failed to save: /storage/emulated/0/Pictures/Perspective/image_name.jpeg.

At least it's consistent with the result :)
What if you manually create the folders "Pictures/Perspective" ?
If still don't works, I'm out of ideas.

Nope, still won't work even with Pictures/Perspective/ present.

The only thing left is that I use OpenCV to write the file (it support TIFF & 16 bit PNG).
But this is not that important.
I will try to use android system to save the file.

Last chance. This time I try to save the file using android libraries and not OpenCV.
Can you please give it a try ?
Perspective_1.14.apk.zip

@danopdev Once again, it fails.


Added openSUSE and SUSE Linux Enterprise support to install.sh

Handle docker installation on openSUSE and SUSE Linux Enterprise via https://get.docker.io/

I think the failed test has nothing to do with my change.

ping @tianon @jfrazelle for hack/install.sh

LGTM
cc @jfrazelle

LGTM

Thanks! Do you have any idea when the change will go live? I plan to use it to add openSUSE/SLE support to machine.

it will be in the next release
On Tue, Jun 9, 2015 at 1:27 PM, Flavio Castelli<EMAIL_ADDRESS>wrote:

Thanks! Do you have any idea when the change will go live? I plan to use
it to add openSUSE/SLE support to machine.
—
Reply to this email directly or view it on GitHub
https://github.com/docker/docker/pull/13714#issuecomment-110494666.


Animate cleanup

Before sending your pull-request 💌 make sure :

[ ] The tests are up-to-date and your code is tested
[ ] The changes you introduce are documented in the the wiki

:warning: DO NOT DELETE BRANCH


Error for static Assets

Describe the bug
When linking to a non-route asset (such as something in the public folder), this plugin will treat them as a broken link.
To Reproduce

Add an asset to the public (i.e. public/data.csv)
Link to that asset from a markdown file (i.e. [file](/data.csv))
Build fails

Expected behavior
Maybe this could ignore any links that end in a file extension? I'm not sure if special exceptions would need to be made for .md, .mdx, .html, and other common extensions that might be left behind as a result of someone migrating from a documentation platform that might expect them.
How often does this bug happen?
Every time
System Info
"astro": "^2.10.14",
"@astrojs/starlight": "^0.7.3",
"starlight-links-validator": "^0.2.0"
Additional Context
No response

Good catch! Thanks for the thorough report as usual 🙌
This should be fixed in the new v0.3.0. I ended up literally checking the build output directory which should be a more reliable source of truth and should also account for potential other integrations adding files to the build output directory.


Relayer TLA+: Support for running Apalache

Closes:  #165
Description
Added support for running Apalache on the relayer spec. Currently, we can check the invariant ICS18Inv up to 9 steps with Apalache, for height 2 and two concurrent relayers.
Most of the changes are done in RelayerDefinitions.tla, where the appropriate types and operators for type annotattions are defined. These are then used in various places throught the spec.
Note: the branch is called ilina/packets, but there isnt't any support for packet handling yet (there is a preliminary file PacketHandlers.tla, but this will be changed in the future, so no review is needed at this point).

For contributor use:

[ ] Unit tests written
[ ] Added test to CI if applicable
[ ] Updated CHANGELOG_PENDING.md
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[x] Updated relevant documentation (docs/) and code comments
[x] Re-reviewed Files changed in the Github PR explorer

Wow. So you did not have to comment out code in the end? How long does it take apalache to check 10 steps?

Apalache gets killed at 10 steps. I'm able to check 9 steps on my machine, in 49 min. TLC checks the spec with the same constant values, up to diameter 38, in 3 min :neutral_face:

Did you try to increase the parameters and see, whether it degrades?
How about proving an inductive invariant with Apalache. Do you think it would be an insane task?

If we can model check it with TLC, I think that's fine. We should wrap this up and work on packets.


Add waiting time for the new bmc to take effect after flashing quanta

From my test, we need to wait for secondes before the new BMC FW take effect after updating. If catalog BMC task follows immediately after flashing, it might fail in some entries.
Sleep for 90s after flashing BMC FW, which is suggested in BMC update script provided by Quanta.

*** BUILD #569 ***
Test Name: test_node_workflows_post
Error Details: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Content-Length': '128', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"80-7OjUGBy4o6RiaRnKGDICnw"', 'Date': 'Wed, 20 Apr 2016 11:12:10 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"BadRequestError: required option user for task Task.Obm.Ipmi.CreateSettings in graph Graph.Obm.Ipmi.CreateSettings"}

-------------------- >> begin captured logging << --------------------
tests.api.v2_0.workflows_tests: INFO: starting amqp listener for node 571762c9b025173908d61bfb
amqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']
amqp: DEBUG: Open OK!
--------------------- >> end captured logging << ---------------------
Stack Trace:   File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/var/lib/jenkins/jobs/on-tasks/workspace/RackHD/test/tests/api/v2_0/workflows_tests.py", line 189, in test_node_workflows_post
    Api().nodes_post_workflow_by_id(id, name='Graph.noop-example', body={})
  File "/tmp/.venv/local/lib/python2.7/site-packages/on_http_api2_0/apis/api_api.py", line 2594, in nodes_post_workflow_by_id
    callback=params.get('callback'))
  File "/tmp/.venv/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 322, in call_api
    response_type, auth_settings, callback)
  File "/tmp/.venv/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 149, in __call_api
    post_params=post_params, body=body)
  File "/tmp/.venv/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 358, in request
    body=body)
  File "/tmp/.venv/local/lib/python2.7/site-packages/on_http_api2_0/rest.py", line 208, in POST
    body=body)
  File "/tmp/.venv/local/lib/python2.7/site-packages/on_http_api2_0/rest.py", line 177, in request
    raise ApiException(http_resp=r)
'(400)\nReason: Bad Request\nHTTP response headers: HTTPHeaderDict({\'Content-Length\': \'128\', \'X-Powered-By\': \'Express\', \'Connection\': \'keep-alive\', \'ETag\': \'W/"80-7OjUGBy4o6RiaRnKGDICnw"\', \'Date\': \'Wed, 20 Apr 2016 11:12:10 GMT\', \'Access-Control-Allow-Origin\': \'*\', \'Content-Type\': \'application/json; charset=utf-8\'})\nHTTP response body: {"message":"BadRequestError: required option user for task Task.Obm.Ipmi.CreateSettings in graph Graph.Obm.Ipmi.CreateSettings"}\n\n-------------------- >> begin captured logging << --------------------\ntests.api.v2_0.workflows_tests: INFO: starting amqp listener for node 571762c9b025173908d61bfb\namqp: DEBUG: Start from server, version: 0.9, properties: {u\'information\': u\'Licensed under the MPL.  See http://www.rabbitmq.com/\', u\'product\': u\'RabbitMQ\', u\'copyright\': u\'Copyright (C) 2007-2013 GoPivotal, Inc.\', u\'capabilities\': {u\'exchange_exchange_bindings\': True, u\'connection.blocked\': True, u\'authentication_failure_close\': True, u\'basic.nack\': True, u\'consumer_priorities\': True, u\'consumer_cancel_notify\': True, u\'publisher_confirms\': True}, u\'platform\': u\'Erlang/OTP\', u\'version\': u\'3.2.4\'}, mechanisms: [u\'AMQPLAIN\', u\'PLAIN\'], locales: [u\'en_US\']\namqp: DEBUG: Open OK!\n--------------------- >> end captured logging << ---------------------'

test this please

*** BUILD #570 ***
Test Name: test_node_workflows_del_active
Error Details: (500)
Reason: Internal Server Error
HTTP response headers: HTTPHeaderDict({'Content-Length': '55', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"37-J4wqtsOc1asgTkEKhO2vSw"', 'Date': 'Wed, 20 Apr 2016 11:37:29 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"Failed to cancel 571769f5c9c9502cdfd8a0b2"}

-------------------- >> begin captured logging << --------------------
urllib3.connectionpool: WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine("''",))': /api/1.1/nodes
urllib3.connectionpool: INFO: Starting new HTTP connection (11): localhost
--------------------- >> end captured logging << ---------------------
Stack Trace:   File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/var/lib/jenkins/jobs/on-tasks/workspace/RackHD/test/tests/api/v1_1/nodes_tests.py", line 376, in test_node_workflows_del_active
    raise e
'(500)\nReason: Internal Server Error\nHTTP response headers: HTTPHeaderDict({\'Content-Length\': \'55\', \'X-Powered-By\': \'Express\', \'Connection\': \'keep-alive\', \'ETag\': \'W/"37-J4wqtsOc1asgTkEKhO2vSw"\', \'Date\': \'Wed, 20 Apr 2016 11:37:29 GMT\', \'Access-Control-Allow-Origin\': \'*\', \'Content-Type\': \'application/json; charset=utf-8\'})\nHTTP response body: {"message":"Failed to cancel 571769f5c9c9502cdfd8a0b2"}\n\n-------------------- >> begin captured logging << --------------------\nurllib3.connectionpool: WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by \'ProtocolError(\'Connection aborted.\', BadStatusLine("\'\'",))\': /api/1.1/nodes\nurllib3.connectionpool: INFO: Starting new HTTP connection (11): localhost\n--------------------- >> end captured logging << ---------------------'

Test Name: test_node_workflows_del_active
Error Details: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Content-Length': '78', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"4e-+TB9UKXaNemwTgDNQ5B2Eg"', 'Date': 'Wed, 20 Apr 2016 11:37:39 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"TaskCancellationError: Failed to cancel 57176a01c9c9502cdfd8a0c0"}

Stack Trace: Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/var/lib/jenkins/jobs/on-tasks/workspace/RackHD/test/tests/api/v2_0/nodes_tests.py", line 340, in test_node_workflows_del_active
    raise e
ApiException: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Content-Length': '78', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"4e-+TB9UKXaNemwTgDNQ5B2Eg"', 'Date': 'Wed, 20 Apr 2016 11:37:39 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"TaskCancellationError: Failed to cancel 57176a01c9c9502cdfd8a0c0"}

Test Name: pollers_data_get
Error Details: Condition was True.
Stack Trace: Traceback (most recent call last):
  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/var/lib/jenkins/jobs/on-tasks/workspace/RackHD/test/tests/api/v2_0/pollers_tests.py", line 157, in pollers_data_get
    assert_false(poller.get('lastFinished', False))
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/asserts.py", line 67, in assert_false
    raise ASSERTION_ERROR(message)
AssertionError: Condition was True.

Test Name: test_node_workflows_post
Error Details: (400)
Reason: Bad Request
HTTP response headers: HTTPHeaderDict({'Content-Length': '128', 'X-Powered-By': 'Express', 'Connection': 'keep-alive', 'ETag': 'W/"80-7OjUGBy4o6RiaRnKGDICnw"', 'Date': 'Wed, 20 Apr 2016 11:37:43 GMT', 'Access-Control-Allow-Origin': '*', 'Content-Type': 'application/json; charset=utf-8'})
HTTP response body: {"message":"BadRequestError: required option user for task Task.Obm.Ipmi.CreateSettings in graph Graph.Obm.Ipmi.CreateSettings"}

-------------------- >> begin captured logging << --------------------
tests.api.v2_0.workflows_tests: INFO: starting amqp listener for node 571769a5ffc02a38082923d6
amqp: DEBUG: Start from server, version: 0.9, properties: {u'information': u'Licensed under the MPL.  See http://www.rabbitmq.com/', u'product': u'RabbitMQ', u'copyright': u'Copyright (C) 2007-2013 GoPivotal, Inc.', u'capabilities': {u'exchange_exchange_bindings': True, u'connection.blocked': True, u'authentication_failure_close': True, u'basic.nack': True, u'consumer_priorities': True, u'consumer_cancel_notify': True, u'publisher_confirms': True}, u'platform': u'Erlang/OTP', u'version': u'3.2.4'}, mechanisms: [u'AMQPLAIN', u'PLAIN'], locales: [u'en_US']
amqp: DEBUG: Open OK!
--------------------- >> end captured logging << ---------------------
Stack Trace:   File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/usr/lib/python2.7/unittest/case.py", line 1043, in runTest
    self._testFunc()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 296, in testng_method_mistake_capture_func
    compatability.capture_type_error(s_func)
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/compatability/exceptions_2_6.py", line 27, in capture_type_error
    func()
  File "/tmp/.venv/local/lib/python2.7/site-packages/proboscis/case.py", line 350, in func
    func(test_case.state.get_state())
  File "/var/lib/jenkins/jobs/on-tasks/workspace/RackHD/test/tests/api/v2_0/workflows_tests.py", line 189, in test_node_workflows_post
    Api().nodes_post_workflow_by_id(id, name='Graph.noop-example', body={})
  File "/tmp/.venv/local/lib/python2.7/site-packages/on_http_api2_0/apis/api_api.py", line 2594, in nodes_post_workflow_by_id
    callback=params.get('callback'))
  File "/tmp/.venv/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 322, in call_api
    response_type, auth_settings, callback)
  File "/tmp/.venv/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 149, in __call_api
    post_params=post_params, body=body)
  File "/tmp/.venv/local/lib/python2.7/site-packages/on_http_api2_0/api_client.py", line 358, in request
    body=body)
  File "/tmp/.venv/local/lib/python2.7/site-packages/on_http_api2_0/rest.py", line 208, in POST
    body=body)
  File "/tmp/.venv/local/lib/python2.7/site-packages/on_http_api2_0/rest.py", line 177, in request
    raise ApiException(http_resp=r)
'(400)\nReason: Bad Request\nHTTP response headers: HTTPHeaderDict({\'Content-Length\': \'128\', \'X-Powered-By\': \'Express\', \'Connection\': \'keep-alive\', \'ETag\': \'W/"80-7OjUGBy4o6RiaRnKGDICnw"\', \'Date\': \'Wed, 20 Apr 2016 11:37:43 GMT\', \'Access-Control-Allow-Origin\': \'*\', \'Content-Type\': \'application/json; charset=utf-8\'})\nHTTP response body: {"message":"BadRequestError: required option user for task Task.Obm.Ipmi.CreateSettings in graph Graph.Obm.Ipmi.CreateSettings"}\n\n-------------------- >> begin captured logging << --------------------\ntests.api.v2_0.workflows_tests: INFO: starting amqp listener for node 571769a5ffc02a38082923d6\namqp: DEBUG: Start from server, version: 0.9, properties: {u\'information\': u\'Licensed under the MPL.  See http://www.rabbitmq.com/\', u\'product\': u\'RabbitMQ\', u\'copyright\': u\'Copyright (C) 2007-2013 GoPivotal, Inc.\', u\'capabilities\': {u\'exchange_exchange_bindings\': True, u\'connection.blocked\': True, u\'authentication_failure_close\': True, u\'basic.nack\': True, u\'consumer_priorities\': True, u\'consumer_cancel_notify\': True, u\'publisher_confirms\': True}, u\'platform\': u\'Erlang/OTP\', u\'version\': u\'3.2.4\'}, mechanisms: [u\'AMQPLAIN\', u\'PLAIN\'], locales: [u\'en_US\']\namqp: DEBUG: Open OK!\n--------------------- >> end captured logging << ---------------------'

known random jenkins failures,  test this please

@iceiilin : could you please add the PR description as comment into the task definition, so anyone can see the history why we add 90 seconds delay.
Anyway, for this PR, it is still :+1:

Can you poll for the mc info to be updated rather than doing a hardcoded sleep?  Adding @uppalk1 as we need to make a similar change to the skupack implementation.

+1

@zyoung51 @uppalk1 I wrote a script about polling mc info today, but I prefer to leave this PR as it is now and add this script into skupack.
I would not prefer to add it into templates/ so that linux command task can download and run it after running the update command, since there are already many templates  without clear catalogs and I don't want confuse others with this one. I think put this script in skupack is a good idea to make clear structure.
I paste my scripts here for your reference. It works in both T41 and D51.
#!/bin/bash
counter=90
until [ $counter -le 0 ]; do
    sudo ipmitool mc info
    if [ $? == 0 ]; then
        exit 0
    fi
    sleep 1
    let counter-=1
    echo ${counter}
done
exit 1

Any thoughts?

@iceiilin Thanks for the update.  We will add that polling routine to the skupack flash_bmc script as part of the current enhancements to preserve the lan settings.


StrictMode policy violation in Play store prelaunch report

I submitted the App to Google Play store and got "StrictMode policy violation" in pre launch report.
Check the screenshot below.

React Native version:
System:
OS: macOS High Sierra 10.13.6
CPU: (4) x64 Intel(R) Core(TM) i5-4278U CPU @ 2.60GHz
Memory: 562.54 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 12.5.0 - /usr/local/bin/node
Yarn: 1.12.3 - /usr/local/bin/yarn
npm: 6.10.1 - /usr/local/bin/npm
Watchman: 4.7.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
API Levels: 16, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29
Build Tools: 22.0.1, 23.0.1, 23.0.2, 23.0.3, 24.0.0, 24.0.1, 24.0.2, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.0, 26.0.2, 26.0.3, 27.0.3, 28.0.0, 28.0.2, 28.0.3
System Images: android-16 | Google APIs Intel x86 Atom, android-19 | ARM EABI v7a, android-22 | Intel x86 Atom, android-22 | Google APIs ARM EABI v7a, android-22 | Google APIs Intel x86 Atom, android-22 | Google APIs Intel x86 Atom_64, android-24 | Google Play Intel x86 Atom, android-25 | Google APIs Intel x86 Atom, android-27 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-P | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.5 AI-191.8<IP_ADDRESS>91312
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.8.6 => 16.8.6
react-native: 0.60.5 => 0.60.5
npmGlobalPackages:
react-native-cli: 2.0.1
Steps To Reproduce

build bundleRelease
Upload to google play store
Check prelaunch report

Describe what you expected to happen:
I expected without any warnings and errors. But I have got the above warnings, So I am concerned about this.
Snack, code example, screenshot, or link to a repository:
The issue is coming from core.

I have the same issue


I feel that the paper is really pretty good. May I know which conference I am currently submitting to?

Tanks for  your attention to our paper, this paper is now under review of ARR.

So sad, but we think this is a pretty good job. Give me some insights! What aspects do the reviewers consider to be inadequate? Is it because the initial version experiments were not complete enough, not a more complete version now?

I am a little curious why you chose Lora instead of fully fine-tuning？

We primarily consider the computational resources available and the stability of training.

Hello, may I ask how to extract answers from the model's response in zero-shot situations, like vicuna?
For example:
{"id": "SVAMP11", "instruction": "Given a math problem, please solve it", "input": "Winter is almost here and most animals are migrating to warmer countries. 27 bird families flew away for the winter from near a mountain. If there were 41 bird families living near the mountain initially How many bird families were left near the mountain?", "answer": "14.0", "response": "There were 41 bird families living near the mountain initially."}

We directly extract the last number in the last sentence of the response.


Multiple value uuid.NewV4() single value context

This is the error generated when attempting to build:
../../../github.com/RadhiFadlillah/go-onvif/discovery.go:51:35: multiple-value uuid.NewV4() in single-value context
../../../github.com/RadhiFadlillah/go-onvif/soap.go:108:21: multiple-value uuid.NewV4() in single-value context

Could it be related to this?

I patched the code to get around this uuid.NewV4() for me returns a value and an error.
I replaced this code
requestID := "uuid:" + uuid.NewV4().String()
with this
uuid4, _ = uuid.NewV4()
requestID := "uuid:" + uuid4.String()


prompt user with checklist to install contrib packages

Fixes #83

mean init <app> and selecting upload only returns the following on npm install:
Installing module: upload:
git clone --branch master https://git.mean.io/orit/upload.git packages/contrib/upload

npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm http GET https://registry.npmjs.org/connect-multiparty
npm http GET https://registry.npmjs.org/mean-health
npm http 304 https://registry.npmjs.org/connect-multiparty
Error: ENOENT, lstat '/home/bmckean/mean.io/uploadApp/packages/contrib/upload/.bower-cache/e9f8053314f992cbc734f1d338e7339c/1.3.2'

mean init <app> and selecting tokens only returns the following on npm install:
Installing module: tokens:
git clone --branch master https://git.mean.io/ellman/tokens.git packages/contrib/tokens

npm http GET https://registry.npmjs.org/mean-health
npm http 304 https://registry.npmjs.org/mean-health

><EMAIL_ADDRESS>postinstall /home/bmckean/mean.io/tokenApp/packages/contrib/tokens/node_modules/mean-health
> node ./postinstall.js

Error: ENOENT, open '.bower-cache/ef2188def21eb1bbd1f1792311942a53-1.3.2.lock'
<EMAIL_ADDRESS>node_modules/mean-health
    Dependencies installed for package tokens
    Error: No bower.json present tokens

installing just mean-admin or no contrib packages at all seems to work just fine. I'm assuming it's some difference in how postinstall and install handle bower dependencies.


Little change to MinimalTransformation if fromCRS toCRS are equal return point unchanged

There is a change when there should be none?
The MinimalTransformation does indeed transform to and from EPSG:4326. It could just check if the fromCRS and toCRS are the same and return the input.

I did set map.CRS to "EPSG:4326" and made transformation like this mapView.Map.Transformation.Transform(mapView.Map.CRS, "EPSG:4326", (Point)mapView.Viewport.Center);
Looking though it I realized that Viewport.Center is type of "EPSG:3857"
So I would like to ask what is the puprose of map.CRS property? Just for holding the type of map is using?

Perhaps we can help you better if you explain what you are trying to do and how it fails.
Some background info that might be relevant:

The Map.CRS indicates the projection of the visible map. It can be used to transform data that is in another CRS to that Map.CRS. This can be data in a IProvider. See the projection sample for that scenario.
The TileLayers can not be projected. The OpenStreetMap layer is in EPSG:3857. If you set the Map.CRS to EPSG:4326 and use the OpenStreetMap layer this is a configuration error. We should log a warning if this occurs.
The Mapview has some functionality to make it easy to work with a EPSG:3857 map and coordinates in EPSG:4326. If that is your scenario I don't think you need anything special. It is however something I have little knowledge of. CC @charlenni.


ModelInfo bug

Describe the bug
Cannot load model information on some repo.
Reproduction
from huggingface_hub import HfApi
api = HfApi()
api.model_info("CohereForAI/c4ai-command-r-v01")

Logs
TypeError: SafeTensorsInfo.__init__() got an unexpected keyword argument 'sharded'

### System info

```shell
- huggingface_hub version: 0.22.2
- Platform: Linux-5.15.0-1048-aws-x86_64-with-glibc2.31
- Python version: 3.11.6
- Running in iPython ?: No
- Running in notebook ?: No
- Running in Google Colab ?: No
- Token path ?: /data/token
- Has saved token ?: True
- Who am I ?: Narsil
- Configured git credential helpers:
- FastAI: N/A
- Tensorflow: 2.16.1
- Torch: 2.2.1
- Jinja2: 3.1.2
- Graphviz: N/A
- keras: 3.1.1
- Pydot: N/A
- Pillow: 10.2.0
- hf_transfer: 0.1.5
- gradio: 4.16.0
- tensorboard: N/A
- numpy: 1.26.4
- pydantic: 2.6.4
- aiohttp: 3.8.5
- ENDPOINT: https://huggingface.co
- HF_HUB_CACHE: /data/hub
- HF_ASSETS_CACHE: /data/assets
- HF_TOKEN_PATH: /data/token
- HF_HUB_OFFLINE: False
- HF_HUB_DISABLE_TELEMETRY: False
- HF_HUB_DISABLE_PROGRESS_BARS: None
- HF_HUB_DISABLE_SYMLINKS_WARNING: False
- HF_HUB_DISABLE_EXPERIMENTAL_WARNING: False
- HF_HUB_DISABLE_IMPLICIT_TOKEN: False
- HF_HUB_ENABLE_HF_TRANSFER: False
- HF_HUB_ETAG_TIMEOUT: 10
- HF_HUB_DOWNLOAD_TIMEOUT: 10

it happened to me as well while working (no changed in dependencies/code etc.)
i guess it is something related to hf api?

Thanks for reporting @Narsil @kresimirfijacko! Will check if this is a breaking change server side and open a PR to fix it client side anyway.

Thanks for reporting @Narsil @kresimirfijacko! Will check if this is a breaking change server side and open a PR to fix it client side anyway.

yeah it's probably something related server side
i experienced it in vllm which uses huggingface-hub under the hood
python -u -m vllm.entrypoints.openai.api_server \ --model Qwen/Qwen1.5-72B-Chat-GPTQ-Int4 \ ///
all of a sudden stopped working
when i changed --model to absolute path on disk, it worked ok

Hey I have the same issue, this started happpening today around 3PM. I cannot use vllm server nor the huggingface-cli in order to download the model. Everything returns the same error:
TypeError: SafeTensorsInfo.__init__() got an unexpected keyword argument 'sharded'

work around,add sharded: None in the file hf_api.py,like this :
@dataclass
class SafeTensorsInfo(dict):
parameters: List[Dict[str, int]]
total: int
sharded: None
def post_init(self):  # hack to make SafeTensorsInfo backward compatible
self.update(asdict(self))

+1

work around,add sharded: None in the file hf_api.py,like this : @DataClass class SafeTensorsInfo(dict): parameters: List[Dict[str, int]] total: int sharded: None def post_init(self): # hack to make SafeTensorsInfo backward compatible self.update(asdict(self))
it works bro

Same issue here too.  Started today.

i think the server side is fixed,so this work around is deprecated.

work around,add sharded: None in the file hf_api.py,like this : @DataClass class SafeTensorsInfo(dict): parameters: List[Dict[str, int]] total: int sharded: None def post_init(self): # hack to make SafeTensorsInfo backward compatible self.update(asdict(self))

Hey everyone, thanks for quickly reporting issues and suggesting a workaround. Failure is indeed due to a server-side change and we are discussing solutions to mitigate it. In the meantime, I opened https://github.com/huggingface/huggingface_hub/pull/2190 to fix the issue client-side (which will make the class future-proof). To get an immediate fix, please install from this branch:
pip install git+https://github.com/huggingface/huggingface_hub@2186-fix-safetensors-info

How can I re-upload my model after a 24h training process die because of this bug?
I still have model folder in local.

+1

Thank you @Wauplin, as a reminder you can use this syntax to include optional dependencies
pip install "huggingface_hub[cli,hf_transfer] @ git+https://github.com/huggingface/huggingface_hub@2186-fix-safetensors-info"

i think the server side is fixed,so this work around is deprecated.

Is this fixed? I still get this error :(

A fix has been deployed a few minutes ago. This should be fixed for everyone without updating any dependencies. Sorry again for the inconvenience and thanks everyone for your reactivity on this :hugs:

Hey everyone, thanks for quickly reporting issues and suggesting a workaround. Failure is indeed due to a server-side change and we are discussing solutions to mitigate it. In the meantime, I opened #2190 to fix the issue client-side (which will make the class future-proof). To get an immediate fix, please install from this branch:
pip install git+https://github.com/huggingface/huggingface_hub@2186-fix-safetensors-info

I got error: git checkout -q 2186-fix-safetensors-info did not run successfully.
If we fixed it, should I use which huggingface hub version?

I got error: git checkout -q 2186-fix-safetensors-info did not run successfully.
If we fixed it, should I use which huggingface hub version?

Yes sorry, PR has been merged and is now on main. But another fix has been deployed server-side meaning you don't even need to update your dependencies. Any huggingface_hub version from PyPI will work correctly.


Distinction between mmwave/low/mid-band

I made this way sicker thank me alex. I added a distinction between mmwave 5G and low or mid band

Should be alright. Merging.


How can I review the experiment that has been stopped? It seems that the Web can only show the detail of 'RUNNING' experiment.

Just use 'nnictl resume -id'


Stop GATT / BLE-Service?

Hi everyone,
is there a possibility to stop a GATT Service / Characteristic? I was not able to a way to do this. :(
Kindly regards,
Friedemann

ah, okay. I already see: Duplicate #534. Closing this.


Update index.md

Updated HockeyApp Migrate doc by adding details of HockeySDK retirement plan

@ahdbilal : Thanks for your contribution! The author(s) have been notified to review your proposed change. @ahbilal

@ahdbilal : Thanks for your contribution! The author(s) have been notified to review your proposed change. @ahbilal

@ahdbilal : Thanks for your contribution! The author(s) have been notified to review your proposed change. @ahbilal

@ahdbilal : Thanks for your contribution! The author(s) have been notified to review your proposed change. @ahbilal

@MatkovIvan @ahdbilal you opened this PR on the public mirror instead of the private mirror (https://github.com/MicrosoftDocs/appcenter-docs-pr), so there are a few risks to be aware of in this PR:

Discussion is publically accessible
Your changes will not be automatically built or link-validated
You won't receive style guidance from Acrolinx
You may not be able to merge this yourself, even when reviews are complete

Closing this PR and will open it in appcenter-docs-pr


Add predefined configs for surfaces

When you press "Create" button in the surfaces list, it shows you options to create a new:

empty surface
surfce with one blending point
topbar + main
sidebar + main
holy grail

Launcher is not needed.
Similarly to "new slide" templates in PowerPoint

We discussed today that this should be presented as a modal on the surface groups page.

When you create a new surface out of such template, it contains:

a set number of blending points
0 pinning rules
0 catching rules

That makes a difference from the default data, which also creates surfaces out of these templates, but also adds sample pinning rules and catching rules.


PowerShell Core release for v6.1.0-preview.4

From:  https://github.com/PowerShell/PowerShell/blob/master/docs/maintainers/releasing.md

[x] Create a private branch named release-v6.1.0-preview.4 in VSTS repository.
All release related changes should happen in this branch.
[ ] Run tests on all supported Linux distros and publish results
[ ] Prepare packages

[x]  Build release packages
[ ]  Sign the MSI packages and RPM package.
[ ]  Install and verify the packages.

[ ]  Update documentation, scripts and Dockerfiles

[ ]  Update CHANGELOG.md with the finalized change log draft.
[ ]  Update other documents and scripts to use the new package names and links.

[ ]  Create NuGet packages and publish them to powershell-core feed.
[ ]  Publish Linux packages to Microsoft YUM/APT repositories.
[ ]  Create the release tag and push the tag to PowerShell/PowerShell repository.
[ ]  Create the draft and publish the release in Github.
[ ]  Merge the release branch to Github master with a merge commit. Then delete the release branch.
[ ]  Trigger the release docker builds for Linux and Windows container images.

I wonder why we stopped creating milestones https://github.com/PowerShell/PowerShell/milestones -  I believe creating milestones and assigning issues to it help community members to plan their process.

We will try to do this in the future.


BUG: HOME PAGE (PRODUCTS SECTION IMAGE)

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Hi there!
Thank you for opening this issue! 😊
I just wanted to check in and see if you need any help or guidance with this issue. If you have any questions or run into any challenges, please feel free to ask. I'm here to assist you!
Happy coding!


Bazel kubernetes CrashLoopBackOff

Good morning,
I have an issue with my bazel-remote cache container which is in CrashLoopBackOff. after a while of running. I don't have any logs of what's happening neither do I have events about it in my cluster. I tried with emptyDir volume and with persistent volume to check if it's not from the type of disk used, both with the same issue. I tried with the latest version v2.2.0 and with the previous one v2.1.4.
My kuberentes cluster is v1.21.4-eks-033ce7e in AWS.
The backend I'm using is AWS S3.
Please help me to solve this issue. Thanks

i think i found the issue. I've setup the idle timer to 5 min and after that time the pod crashes with an error and enters in CrashLoopBackOff
Using S3 backend.
2021/11/08 09:32:09 bazel-remote built with go1.17.1 from git commit a914031a29d96ab40740de4116243b8e63ebc30a.
2021/11/08 09:32:09 Initial RLIMIT_NOFILE cur: 1048576 max: 1048576
2021/11/08 09:32:09 Setting RLIMIT_NOFILE cur: 1048576 max: 1048576
2021/11/08 09:32:09 Loading existing files in /cache.
2021/11/08 09:32:09 Sorting cache files by atime.
2021/11/08 09:32:09 Building LRU index.
2021/11/08 09:32:09 Finished loading disk cache files.
2021/11/08 09:32:09 Loaded 0 existing disk cache items.
2021/11/08 09:32:09 Authentication: basic
2021/11/08 09:32:09 Access mode: authentication required
2021/11/08 09:32:09 Mangling non-empty instance names with AC keys: enabled
2021/11/08 09:32:09 Starting idle timer with value 5m0s
2021/11/08 09:32:09 Starting HTTP server on address :8080
2021/11/08 09:32:09 HTTP AC validation: enabled
2021/11/08 09:32:09 Starting gRPC server on address :9092
2021/11/08 09:32:09 gRPC AC dependency checks: enabled
2021/11/08 09:32:09 experimental gRPC remote asset API: disabled
2021/11/08 09:37:09 Shutting down after idle timeout
2021/11/08 09:37:09 bazel-remote terminated:http: Server closed

This issue prevents us to use it the right way because the kubernetes will increase the time between each restarts and the service has no endpoint while it's in crash state and we get an http error 503 until it's recovered.
Please can you check this issue ASAP?

the idle timeout should not crash the server, only the connections if there are such 🙏

Hi, the --idle_timeout flag sounds like it's working as intended here- it makes bazel-remote exit after not having any incoming requests for a certain time. Can you run bazel-remote without that flag?

will try without the flag. Now i'm using curl command to keep the server alive and in 58m no crashes happened. but this is not an ideal solution, it's very ugly

Some users run bazel-remote on the client side, and want it to exit if it's idle for a certain amount of time. This feature is off by default because it's not a common use case. It sounds like you want the default behaviour here (ie don't specify this flag).
I don't want to rename the flag because that would break backwards compatibility, but we could improve the help text if you have suggestions. Here's the current text:
   --idle_timeout value The maximum period of having received no request
      after which the server will shut itself down. (default: 0s, ie disabled)
      [$BAZEL_REMOTE_IDLE_TIMEOUT]

true, maybe it's better to improve the docs. thanks for explanation

OK- marking this issue closed since this is working as intended. If you have suggestions for improving the help text for this option, feel free to open a PR.


Implement support for dynamic sized storages

Hi @skypjack,
as discussed in Discord I'm proposing the following code to add dynamic (runtime) sized object support to entt.
I'm looking forward to your feedback.

Points to discuss
There is also the possibility to move the methods from the traits objects into the stateful allocator, but I thought it would be much cleaner to keep the responsibility of the allocator and the storage related methods separate.
ToDo

[ ] Implement missing tests
[ ] Review whether it is intended that move_element can alias (the element to swap from and to can point to the same object by the storage algorithms): e.g. [[maybe_unused]] auto unused = std::exchange(elem, std::move(other)); in basic_storage::pop.
[ ] Review the polymorphic allocator workaround
[x] Discuss heavily copying of allocators in the storage class (before this PR), those should be passed as lvalue reference. Would be the possibility for a follow-up commit.

Usage
entt::registry registry;

    // Create a dynamic trait object
    entt::component_traits<dynamic_data> const traits(32);
    ASSERT_EQ(traits.dynamic_size(), 32);

    // Create an allocator which supplies objects of the dynamic size
    dynamic_allocator<dynamic_data> const alloc{traits.dynamic_size()};

    // Create the storage for the dynamic sized data,
    // and assert that it was created with the specified parameters.
    ASSERT_TRUE(registry.try_create_storage<dynamic_data>(alloc, traits));

    auto &storage = registry.storage<dynamic_data>();

    // Ensure that the allocator matches the provided one
    ASSERT_EQ(storage.get_allocator(), alloc);

    // Ensure that the trait matches the provided one
    ASSERT_EQ(storage.get_traits(), traits);

    entt::entity const e1 = registry.create();
    entt::entity const e2 = registry.create();

    {
        dynamic_data &d1 = registry.emplace<dynamic_data>(e1);
        dynamic_data &d2 = registry.emplace<dynamic_data>(e2);

Codecov Report

Merging #1005 (78df28e) into wip (58d331c) will decrease coverage by 0.12%.
The diff coverage is 82.91%.

:exclamation: Current head 78df28e differs from pull request most recent head 3cedc29. Consider uploading reports for the commit 3cedc29 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##               wip    #1005      +/-   ##
===========================================
- Coverage   100.00%   99.88%   -0.12%
===========================================
  Files          142      142
  Lines        23341    23465     +124
===========================================
+ Hits         23341    23438      +97
- Misses           0       27      +27

Impacted Files
Coverage Δ

test/entt/entity/sigh_mixin.cpp
100.00% <ø> (ø)

test/entt/entity/registry.cpp
98.83% <75.67%> (-1.17%)
:arrow_down:

src/entt/entity/storage.hpp
97.94% <86.88%> (-2.06%)
:arrow_down:

src/entt/entity/registry.hpp
99.70% <93.33%> (-0.30%)
:arrow_down:

src/entt/core/memory.hpp
100.00% <100.00%> (ø)

src/entt/entity/mixin.hpp
100.00% <100.00%> (ø)

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

@skypjack From my side the initial step on this PR is finished. I would add any missing unit tests after receiving your feedback.
Currently there are two main points that would require a review:

The workaround for polymorphic allocators which is needed because std::polymorphic_allocator::construct (at least on MSVC) does not propagate this correctly prior to C++20.
I noticed that basic_storage::pop calls std::exchange and therefore traits::move_element on the same both elements (the objects can alias). While this is theoretically valid it would be better if those aliasing calls are not made by the algorithm in the first place. There is also a very small chance that this behaviour is caused by my changes.

I'm looking forward to your feedback.

@skypjack Do you have any news about this PR? I have updated it to the latest wip branch commit and improved the previously mentioned allocator copying.

@skypjack Do you have any news about this PR? Would you prefer any possible changes to it? I have updated it to the latest wip branch commit and improved the previously mentioned allocator copying.

Oh, sorry. I saw the todo list with some unchecked bullets yet and thought you might want to continue before reviewing. I'll look into it as soon as possible then and drop my thoughts here.
I already had a look after the first commits to be honest and I must admit that very invasive changes to key library classes (like the storage) to support minor feature don't drive me crazy.
I expected something less... impactful, maybe? You know, EnTT is entirely designed to offer hook points and build up from the outside. Just look at the signal support for example, which in itself is an external class and not embedded in storage.
Just out of curiosity, have you tried this approach already? If yes, what problems stopped you and made you turn towards a built-in solution for the storage?

However, I made the changes as they are currently proposed because I think that supporting dynamic component sizes is probably a first level feature you would like to support.

For sure. Like supporting empty types or entity storage with special abilities. Yet, in both cases, this was through specialziations.
So I was wondering why dynamic type support can't go the same way. I haven't stopped to think about it for long, so I might not see all the problems. However, something like storage<dynamic<32>> seems doable.
What drawbacks does it have? Maybe you've already thought about it or tried it and you know it better than me.

@skypjack Thank you for your comprehensive feedback.

When I tell the storage to destroy an object, just pray that I call ~U() on it first to avoid problems because the storage (rightfully) doesn't know anything about my U

I think this a misconception: The allocator is responsible for construction and destruction and can be adapted to the stored object. Therefore it is entirely responsible for the objects lifetime and the objects constructor and destructor are always called. This is simply not the case in the test code which is currently only specialized for primitive destructible objects.
By moving the responsibility to the allocator, various object types can be supported. For instance also dynamically generated and reflected objects.

For sure. Like supporting empty types or entity storage with special abilities. Yet, in both cases, this was through specialziations.
So I was wondering why dynamic type support can't go the same way.

There are no technical limitations I'm aware of.
I chose to modify the existing storage to reduce code duplication.
The big issue I see is that the storage is mostly a facade to the underlying container, therefore it probably makes sence to specialize the container rather than the storage. I will look into this.
The reason why the trait is made staeful in this PR is that we need an object that can be specialized for the component type. And the trait itself (if we ignore its naming) fits the role perfectly because it effectively specialized the storage based on the component type already (page size, empty type). Why not use it for any other use cases where the storage needs to be specialized?

Closed as starving/no longer viable.


Modify nunitlite to display multiple assert information

Currently, we use the single failure message created for compatibility in order to display the result of a test using multiple asserts. It should use the actual result of each assert to display both the message and stack frame. The code will be similar to the console runner so it may be best to wait for that to be done.

This should be part of the nunit/nunit#391 Epic but it looks like we might have to first merge the boards for the two repositories.


Latest tag stopped working

What happened:
When enabling ansible service broker in OKD 3.10, APBs never show up in the UI. Nothing suspicious in logs though.
It worked for me yesterday, but when I recreated the cluster, I was unable to find any APBs in web console.
I looked at https://hub.docker.com/r/automationbroker/automation-broker-apb/tags/ and saw that latest tag was updated.
After manually updating dc to be using nightly tags for this image, the problem's gone.

https://github.com/openshift/origin/pull/20583
https://github.com/openshift/origin/pull/20584

After manually updating dc to be using nightly tags for this image, the problem's gone.

I'm not certain I understand you. You point to the automation-broker-apb tags and say, "updating dc to be using nightly tags for this image." There is no deploymentconfig that would have the automation-broker-apb, only pods.
My belief is that you are suggesting you updated the broker's deploymentconfig to use the nightly tag and the problems went away. This would likely be because the broker and broker-apb latest images are out of sync:
➜  ~ docker run --rm --entrypoint rpm docker.io/ansibleplaybookbundle/origin-ansible-service-broker:latest -qa | grep 'broker'
ansible-service-broker-1.3.5-1.20180723203110.el7.x86_64
ansible-service-broker-container-scripts-1.3.5-1.20180723203110.el7.noarch
ansible-service-broker-selinux-1.3.5-1.20180723203110.el7.noarch

➜  ~ docker run --rm --entrypoint rpm docker.io/automationbroker/automation-broker-apb:latest -qa | grep 'broker'
automation-broker-apb-role-1.3.8-1.20180810192501.el7.noarch

➜  ~ docker run --rm --entrypoint rpm docker.io/ansibleplaybookbundle/origin-ansible-service-broker:nightly -qa | grep 'broker'
ansible-service-broker-1.3.8-1.20180810193359.el7.x86_64
ansible-service-broker-container-scripts-1.3.8-1.20180810193359.el7.noarch
ansible-service-broker-selinux-1.3.8-1.20180810193359.el7.noarch

This is actually my fault. I need to release a new broker container image and I'll do that this morning.

@djzager I means openshift-automation-service-broker deployment, sorry.
Can you please update the thread once a new latest tag is pushed?
thank you

I can see a new tag, but still same behavior with Origin 3.10.