Adds HttpRequestMetadata

Description
Adds HttpRequestMetadata to contain all potential metadata that could be associated with an HttpRequest. Request metadata is the following, at this time:

Metadata
Description

Caller method
The SwaggerMethodParser method that is making the HTTP request

Logger
The ClientLogger associated with the SwaggerMethodParser method used to associate any HTTP request and response logging to the SwaggerMethodParser method

Eagerly read response
Whether the network response for the request should be eagerly read into memory

Ignore response body
Whether the network response for the request should be ignored and eagerly discarded

Eagerly convert headers
Whether the response headers should be eagerly converted in the azure-core HttpHeaders

Try count
The current attempt of making the HTTP request

This PR reduces the over usage of Context to pass metadata through the HttpPipeline and HttpClient when making requests and provides explicit APIs for getting data that may be required during the request call.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.

It seems we're also passing headers in context
BTW, found this thing that gets headers from context https://github.com/Azure/azure-sdk-for-java/blob/7c71625811cda371e27b7bf2f32dd71689df000b/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/AddHeadersFromContextPolicy.java#L49
It's used in a bunch of places, maybe worth adding to metadata now or later

BTW, found this thing that gets headers from context
https://github.com/Azure/azure-sdk-for-java/blob/7c71625811cda371e27b7bf2f32dd71689df000b/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/AddHeadersFromContextPolicy.java#L49
It's used in a bunch of places, maybe worth adding to metadata now or later

I think HttpRequestMetadata should be reserved for values passed in Context used internally to the SDKs, like what was changed in the PR, and not for user passed values.

BTW, found this thing that gets headers from context
https://github.com/Azure/azure-sdk-for-java/blob/7c71625811cda371e27b7bf2f32dd71689df000b/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/AddHeadersFromContextPolicy.java#L49
It's used in a bunch of places, maybe worth adding to metadata now or later

I think HttpRequestMetadata should be reserved for values passed in Context used internally to the SDKs, like what was changed in the PR, and not for user passed values.

I see, I was not aware we let users pass it, thanks for the explanation!


Turtlebot Model Waffle Causes Wobble in Cartographer

Following the tutorial steps from : http://emanual.robotis.com/docs/en/platform/turtlebot3/ros2_simulation/#simulation

$ export TURTLEBOT3_MODEL=${TB3_MODEL}
$ ros2 launch turtlebot3_gazebo turtlebot3_world.launch.py
$ export TURTLEBOT3_MODEL=${TB3_MODEL}
$ ros2 launch turtlebot3_cartographer cartographer.launch.py use_sim_time:=True

When I use waffle as the ${TB3_MODEL} ,after about 30-45 seconds, the lidar in cartographer would start to spin on the Z axis. Here is an image of the scanners being way off of the level field : https://i.imgur.com/rYw9enr.png .  This wobble continues back and forth and does not stop. It does not matter if the model is moving, the same problem still occurs. It is not running into any objects or terrain either to cause tilt.
The spin causes the robot to lose confidence in the map it has created which causes it to get blurrier as time goes on.
This problem is not encountered when following the exact same steps with burger as the ${TB3_MODEL}
Operating system is Linux Mint 19.02 (an equivalent to ubuntu 18.04).

This issue has been closed as there weren't recent activities. Please feel free to reopen this thread if necessary. Thanks.


fix(grpc): use mcache to fix memory leak caused by grpc codec buffer to reuse memory incorrectly

What type of PR is this?
fix
Check the PR title.

[x] This PR title match the format: <type>(optional scope): <description>
[x] The description of this PR title is user-oriented and clear enough for others to understand.
[x] Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.
fix(grpc): 使用mcache修复grpc codec buffer 错误复用内存导致的内存泄露问题
(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:
zh(optional):
(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

经过测试，吞吐下降约0.4%


Registering as participant

Please enroll me for all segments, I will join whichever I could.
LinkedIn : https://www.linkedin.com/in/shanmugaprathap

https://github.com/SeleniumHQ/sosc/pull/78


[Improvement-#4137][master] Replace sleep&take with poll in TaskPriorityQueueConsumer

Replace sleep&task with poll in TaskPriorityQueueConsumer

To avoid an always failed high-priority task block master consumer.
take method in queue was instead with poll(long timeout, TimeUnit unit)

Delete unused code

Delete redundant code in method of setTaskCache

Codecov Report

Merging #4832 (bc2a8fb) into dev (4aac234) will decrease coverage by 0.29%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##                dev    #4832      +/-   ##
============================================
- Coverage     45.44%   45.15%   -0.30%
+ Complexity     3417     3398      -19
============================================
  Files           538      538
  Lines         23053    23054       +1
  Branches       2686     2686
============================================
- Hits          10477    10410      -67
- Misses        11638    11714      +76
+ Partials        938      930       -8

Impacted Files
Coverage Δ
Complexity Δ

...ver/master/consumer/TaskPriorityQueueConsumer.java
43.62% <0.00%> (-9.71%)
16.00 <0.00> (-4.00)

.../server/worker/processor/TaskExecuteProcessor.java
62.16% <ø> (-1.00%)
7.00 <0.00> (ø)

...r/service/queue/PeerTaskInstancePriorityQueue.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...scheduler/service/queue/TaskPriorityQueueImpl.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...he/dolphinscheduler/common/enums/SqoopJobType.java
0.00% <0.00%> (-88.89%)
0.00% <0.00%> (-3.00%)

...olphinscheduler/server/registry/HeartBeatTask.java
37.50% <0.00%> (-46.88%)
2.00% <0.00%> (-1.00%)

.../server/master/runner/DependentTaskExecThread.java
51.57% <0.00%> (-16.85%)
10.00% <0.00%> (-5.00%)

...olphinscheduler/server/utils/DependentExecute.java
61.84% <0.00%> (-9.22%)
17.00% <0.00%> (-4.00%)

...olphinscheduler/plugin/alert/email/ExcelUtils.java
78.18% <0.00%> (-3.64%)
8.00% <0.00%> (-1.00%)

... and 2 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 4aac234...bc2a8fb. Read the comment docs.


Server Crash around the time player disconnects (1.9.0)

dominant-sleeper.log.zip

closing as stale


[RESOLVED] High ICMP ping response time

Problem started at 11:04:29 on 2023.07.08
Problem name: High ICMP ping response time
Host: HP_iLO
Severity: Warning
Operational data: Value: 357ms
Original problem ID: 32016
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23268&eventid=32016

Problem has been resolved in 4m 0s at 11:08:29 on 2023.07.08
Problem name: High ICMP ping response time
Host: HP_iLO
Severity: Warning
Original problem ID: 32016


Changes to allow spaces in restlet URLs

Small fix and accompanying unit test to allow spaces in URLs.

Can you rebase as there is merge conflicts

Ok, i think i rebased it correctly

Thanks for the PR it has been merged. Do you mind closing this?


text censoring

allow censoring of text
limit input to a minimal of 3 char to not have silly things like someone blackisting a single letter
case insensitive
also handle edits

implemented and semi deployed, configure commands will follow in a bit


ModelConverter npe with scala based model

java.lang.NullPointerException:
at io.swagger.jackson.ModelResolver.resolve(ModelResolver.java:517)
at io.swagger.jackson.ModelResolver.resolve(ModelResolver.java:167)
at com.github.swagger.akka.SwaggerScalaModelConverter.resolve(SwaggerScalaModelConverter.scala:79)
at io.swagger.converter.ModelConverterContextImpl.resolve(ModelConverterContextImpl.java:100)

@fehguy this comes from a test case that I have in swagger-akka-http and it was passing until the last set of merges in swagger-core - the NPE guards in this pull request get my test to pass again

LGTM


Implemented the method to retrieve hashes from stellar.

The methods to retrieve hashes from stellar using the knowledge id are implemented for knowledge and contributions.

LGTM 😀


Syncing between Windows and Mac leads to git conflict issues

Describe the bug
The plugin works great on Windows alone and pushing to github, but chaos ensues if I clone the same repo into my MacOS.
Git conflicts come up and solving them in Mac leads to errors in the windows one.
Not sure if this was solved earlier but any help would be really appreciated. Thanks!
Relevant errors (if available)
No response
Steps to reproduce
Use in windows and then clone into mac
Expected Behavior
No response
Addition context
No response
Operating system
Windows

I guess you have trouble with the .workspace file in .obsidian. If so, see #114 for more details

Closing because of no response. Just comment if you have still problems, and I'm open to reopen the issue.


Support for headerless tables without header gap

I  found it useful to create a table without a header when one needs just formatted columns. This can be done by just filling the header field with empty strings, however we still have a header gap in this case.
This PR offers a solution to the problem. Maybe it will be better just to remove 1 here: https://github.com/fdehau/tui-rs/blob/master/src/widgets/table.rs#L290 or change header method to use Option<T> directly, unfortunately, this breaks the current behavior, and the solution in PR seems doesn't break anything.

Thanks for contributing. While I understand the intention of preserving the backward compatibility, I think that the API would be more intuitive if the header became optional, None by default and Table::header would set it. What do you think ?
It would be nice if you could add some tests for this new behavior too.

There are 3 places in the master branch to set a header

default (No problems here it can be both None or Some(H::Default). It looks like people don't use it preferring the new method. So changing its behavior should not be a problem.
new. This is the most popular place to set a header. So changing its signature to pub fn new(header: H, rows: R) -> Table<'a, H, R> setting header field to None implicitly would break the API. Changing type to Option<H> would also break it and has another drawback, Rust cannot infer type for None in this case, and one should provide type annotation in this case
header. As I see in apps mentioned in Readme people creating a table with new method, so it is not popular. However, changing type to optional we again have a problem with type inference for None.

So the headerless method is useful to solve the problem with None, and there is no need to change the header signature.
However, changing the default value to None is really more intuitive and we don't need a new method in this case.
We can also change header (and new) to use the Into trait.
   pub fn header<II, U>(mut self, header: II) -> Table<'a, H, R>
    where
        II: Into<Option<U>>,
        U: IntoIterator<Item = H::Item, IntoIter = H>
    {
        self.header = header.into().map(|h| h.into_iter());
        self
    }

Probably I am doing something wrong here, but this works ok for args without optional wrapping, and I got cannot infer type error for both Some and None, so I am not sure this if it a good idea.
So it looks like change default value is enough to allow having a "headerless table", the question is should it be another more explicit method to set header to None or not?
If there is a way to use None with type inference, of course, it's better then additional headerless function. But making user set None type directly doesn't look like a better option. Unfortunately, I am not experienced enough to understand if it is possible or not to avoid it.
Is changing default value and saving headerless function the best solution? If so I will change the default and add tests.
But if you have an idea of how to fix the problem with type inference I prefer first to try it. Of course, it's better to allow None explicitly, especially with the Into trait.

I would advocate for a breaking change if it improves the API as long as it is correctly documented and easy to migrate, which is the case at first view. I think changing header to be None by default, removing header from Table::new and having Table::header set the header to Some(smth) is probably the thing that is the most consistent with other widgets if we want to support headerless tables. What do you think ?

@fdehau hi.
We tried to change the API the way you wrote about it, but unfortunately Rust can't infer types like my colleague wrote above.
In addition, you cannot put an Unsized type inside Option, which is, in fact, Display. (Although the Rust devs want to improve this soon)
Maybe, it's better to allow set header to None  by headerless option. Also, this way we can ensure, that entries inside Iterator, passed to header will be Display type.
P.S. In such case the PR is ready.

This should have been addressed as part of #417


feat: 移动端组件适配

👀 PR includes

✨ Feature

[x] New feature

📝 Description

[x] 移动端默认 s2Options
[x] 移动端 Tooltip 适配成 Drawer
[x] 公共样式前缀抽取
[x] 文档/单测

🖼 Screenshot

Before
After

❌
✅

🔗 Related issue link
ref: https://github.com/antvis/S2/pull/1829

🔍 Self-Check before the merge

[ ] Add or update relevant docs.
[ ] Add or update relevant demos.
[ ] Add or update test case.
[ ] Add or update relevant TypeScript definitions.

:tada: This PR is included in version @antv/s2-v2.0.0-next.1 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

:tada: This PR is included in version @antv/s2-react-v2.0.0-next.1 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-vue-v2.0.0-next.1 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


monocular depth task in mmlab

Thank you for your code.
I did not find any repos corresponding to monocular depth task under mmLab project. Did you modify the "depth" based on MMCV framework by yourself, including metric, inference and so on.
I am now trying to make changes based on the MMsegmentation to fit mono.

Yes, I modify the depth based on mmsegmentation by myself. The /depth folder is like /mmsegmentation in mmsegmentation project.

Closs for now.


[DON'T MERGE] Indirect availability declarations

This is a proof of concept for a variant of @available that copies availability information from another declaration. This would fix a pain point for us ABI-stable library developers by eliminating redundant availability incantations and simplifying the error-prone and onerously manual task of finalizing them before stable releases.
@available(macOS 10.14.4, iOS 12.2, watchOS 5.2, tvOS 12.1, *)
internal typealias _Stdlib_5_0 = Void

@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
internal typealias _Stdlib_5_1 = Void

@available(macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)
internal typealias _Stdlib_Dev = Void

@_availableRef(_Stdlib_5_1)
public struct CollectionDifference<ChangeElement> { ... }

@_availableRef(_Stdlib_Dev)
public struct FancyNewStdlibFeature { ... }

@_availableRef is an implementation detail that doesn't affect the public interface of the module. (It gets expanded into the actual @available list on serialization.)
Notes:

I have no idea what I'm doing here. 😅

We'll also need some equivalent of this for if #available, so that we can use this in tests as well. (Maintaining #available tests in unit tests is currently at least tricky as @available attributes are in the actual code.)

We need to decide how we want to spell this. Perhaps it makes sense to roll this functionality into @available itself. (Something like @available(at: _Stdlib_5_1)?)

TypeRefinementContextBuilder resolves/propagates availability information before @available attributes are type checked, which seems backward to me. @_availableRef needs to resolve its target type -- I'm not sure if it's okay to do name resolution this early in the type checking process.

The argument of @_availableRef is currently restricted to a type name -- for extra points, it would be nice if it could refer to other kind of decls (enum cases especially).

Using dummy type declarations for this seems like a hack. What if we introduced dedicated syntax for declaring aliases for shorthand-style availability declarations?
#versiondef(stdlib 5.0: macOS 10.14.4, iOS 12.2, watchOS 5.2, tvOS 12.1, *)
#versiondef(stdlib 5.1: macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
#versiondef(stdlib dev: macOS 9999, iOS 9999, watchOS 9999, tvOS 9999, *)

This would get rid of the need to resolve decl names, and it would allow us to use nice version tuples instead of ugly identifiers like _Stdlib_5_1 . It could also simplify deprecations/obsoletions:
@available(stdlib 5.1)
func foo() { ... }
@available(stdlib, introduced: 5.1, deprecated: 9.4, message: "blah blah")
func bar() { ... }

func baz() {
  if #available(stdlib 7.5) { ... }
}

Note how this solves point (3) above -- it basically reuses the existing syntax for OS version numbers. (With some weirdness about how this interacts with the shorthand fallback platform *.)

Can one of the admins verify this patch?

Please update the base branch to main by Oct 5th otherwise the pull request will be closed automatically.

How to change the base branch: (Link)
More detail about the branch update: (Link)


Query depth limit?

Hi!
Is there a limit on the depth of a query?
When trying to execute the following query (for a benchmark, it doesn't make sense in real life 😄), I am getting this error: at offset 27138\nexpectation:\n* must be char: '}', which looks like a parser issue. Reducing 1000 to 997 solves it.
val fragmentsQuery = s"""
              query IntrospectionQuery {
                __schema {
                  types {
                    ...FullType
                  }
                }
              }

              fragment FullType on __Type {
                kind
                name
                fields(includeDeprecated: true) {
                  name
                  type {
                    ...TypeRef
                  }
                }
              }

              fragment TypeRef on __Type {
                kind
                name
                ofType {
                  kind
                  name
                  ofType {
                    kind
                    name
                    ofType {
                      kind
                      name
                      ofType {
                        kind
                        name
                        ofType {
                          kind
                          name
                          ofType {
                            kind
                            name
                            ofType {
                              kind
                              name
                              ${"...on __Type { kind name }" * 1000}
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
                """

That's width, not depth, but yes, there's a configurable limit for both.
If you want to change it you need to override def parserConfig in your mapping.

Thanks, it works as expected! 🙏


Add website

Just a couple more small changes, mostly to make existing file paths in the old documentation just keep working.

Cool!


Bug: window scrolling

I would like to use testacular for testing a window-scroll-related utility.
There seems to a bug wherein I cannot get correct scrolling behaviour. Given this code:
chai.should()

describe("foo", function () {

  it("bar", function () {
    $('body').append('

')
    $('#foo').css('height', 3000)
    dump(window.innerHeight)
    window.innerHeight.should.equal(300)
    window.scrollY.should.equal(0)
    window.scrollTo(window.scrollX, 50)
    window.scrollY.should.equal(50)
  });
});

I get the unexpected error:
info (watcher): Changed file "/Users/jasonkuhrt/projects/components/scroll-over/test.js".
PhantomJS 1.7 DUMP: 300
PhantomJS 1.7 foo bar FAILED
    expected 0 to equal 50
        at /Users/jasonkuhrt/projects/components/scroll-over/node_modules/chai/chai.js:258
        at assertEqual (/Users/jasonkuhrt/projects/components/scroll-over/node_modules/chai/chai.js:662)
        at /Users/jasonkuhrt/projects/components/scroll-over/node_modules/chai/chai.js:2780
        at /Users/jasonkuhrt/projects/components/scroll-over/test.js:15
PhantomJS 1.7: Executed 1 of 1 (1 FAILED) (0.031 secs / NaN secs)

The specific assertion failing is:
    window.scrollY.should.equal(50)

I am able to make this test pass with mocha-phantomjs. What's going on in this testacular context?

Any solution on this?

I've found a way to "scroll" the iframe, but the problem appears to be that the Component itself in not actually in the DOM
Is it possibly that the test DOM is in a DocumentFragment or something?
it('becomes "fixed" when scrolling past the break point', function (done) {
var node = React.findDOMNode(component);

    document.body.style.height = '10000px';
window.scrollTo(0, 300);

    window.setTimeout(function () {
  dump('offset + window.pageYOffset); //outputs 300
  expect(window.getComputedStyle(node).position.toLowerCase()).toEqual('fixed'); //fails
  document.body.style.height = '';
      dump(node.parentNode.parentNode) //undefined, ie not attached to the DOM

      done();
 }, 0);

});

Got it working :smile:
it('becomes "fixed" when scrolling past the break point', function (done) {
  	var node = React.findDOMNode(component);
  	document.body.style.height = '10000px';
  	document.body.appendChild(node.parentNode); //this is the key
  	window.scrollTo(0, component.SCROLL_BREAK_POINT + 1);
  	window.setTimeout(function () {
	  	expect(window.getComputedStyle(node).position.toLowerCase()).toEqual('fixed');
	  	document.body.style.height = '';
	  	done();
	}, 100)
  });

Wrapping aroung  window.setTimeout did the trick. thx

The setTimeout is needed to allow the window.scrollTo to occur.
For me the hard part was having to append the nodes.parent to the DOM - otherwise it appears the test gets run without being attached to the iframe's DOM

I know this is a really old post, but I wanted to let others know that anything in the setTimeout() is ignored. :(
I still can't get scrolling to work in my tests. The event is fired, but the window.pageYOffset stays at 0. I've even tried using a host component and scrolling to other elements in the template with scrollIntoView(), but nothing seems to work. window.pageYOffset  just won't update unless you manually scroll in the karma window.

Hey Cassidie
I dont really recall much context here, but if you look at my code, before the window. scrollTo, a the subsequent setTimeout, i do this:
document.body.style.height = '10000px';
document.body.appendChild(node.parentNode); //this is the key

I seemed to think that was the "magic" at the time, hope it helps!

Thanks! I'm still not having luck with the setTimeout firing anything inside of it. I appreciate your response though. I've got another approach I'm going to try, and if it doesn't work I'm going to call it a day! haha

Similar issue. It fails randomly with frequency about 2/3
`describe('Scroll', () => {
const componentHTML = '
!!!
';
let dynamicParent: HTMLElement;
let element: HTMLElement;

beforeEach(() => {

    dynamicParent = document.createElement('div');
    dynamicParent.innerHTML = componentHTML;
    element = <HTMLElement>dynamicParent.firstChild;
    document.body.appendChild(element);

    window.scrollTo(0, 0);

});

afterEach(() => {

    element.parentNode.removeChild(element);

});

it('should scroll', (done) => {

    const topOffset = 200;

    setTimeout(() => {

        window.scrollTo(0, topOffset);
        setTimeout(() => {

            console.log(document.body.scrollHeight, document.body.clientHeight);
            // 6133, 600
            console.log(window.innerHeight);
            // 600
            console.log(window.pageYOffset, document.body.scrollTop);
            // 0, 0
            console.log(document.getElementById('fragment'));
            //
!!!

            expect(window.pageYOffset).toEqual(topOffset);
            done();

        }, 200);

    });

});

});`
Config
module.exports = (config) => {

    config.set({
        autoWatch: true,
        basePath: '',
        browserConsoleLogOptions: { terminal: true },
        browsers: ['ChromeHeadless'],
        client: {
            captureConsole: true,
            clearContext: false // leave Jasmine Spec Runner output visible in browser
        },
        colors: true,
        coverageIstanbulReporter: {
            dir: require('path').join(__dirname, '../build-webpack/coverage'),
            fixWebpackSourcePaths: true,
            reports: ['html', 'lcovonly']
        },
        customLaunchers: {
            ChromeHeadless: {
                base: 'Chrome',
                flags: [
                    '--disable-translate',
                    '--headless',
                    '--disable-gpu',
                    '--disable-extensions',
                    '--remote-debugging-port=9222'
                ]
            }
        },
        frameworks: ['jasmine', '@angular-devkit/build-angular'],
        logLevel: config.LOG_INFO,
        plugins: [
            require('karma-jasmine'),
            require('karma-chrome-launcher'),
            require('karma-jasmine-html-reporter'),
            require('karma-coverage-istanbul-reporter'),
            require('karma-teamcity-reporter'),
            require('karma-sourcemap-loader'),
            require('@angular-devkit/build-angular/plugins/karma')
        ],
        port: 9876,
        reporters: ['progress', 'kjhtml', 'teamcity'],
        singleRun: true
    });

};

"karma": "^3.1.4",
"karma-chrome-launcher": "^2.2.0",
"karma-cli": "^2.0.0",
"karma-coverage-istanbul-reporter": "~2.0.0",
"karma-jasmine": "^2.0.1",
"karma-jasmine-html-reporter": "^1.4.0",
"karma-sourcemap-loader": "^0.3.7",
"karma-teamcity-reporter": "^1.1.0",


Conditional dependence probability?

In addition to pairwise dependence probability, it would be great to predict conditional dependence probability; that is, the probability that two columns are dependent, given a third.
@axch suggests finding a mutual information implementation that will estimate from samples, for each column, computing mutual information with that and other pairs of columns, so that's an n^3 algorithm for full ternary dependence? I might easily have misunderstood. Need to read more.
This also apparently depends on the metamodel interface that @fsaad is working on, though I don't really understand what the dependence is. Perhaps being able to ask crosscat the question, rather than asking a separate mutual information engine the question?
Clarifications appreciated! This needs a design doc.

Given both dependent bugs are now fixed, @fsaad is it time to revisit this question? It would be pretty useful to start to tease out possible causal structures.

Those don't actually get us any closer to evaluating conditional dependence probability, I think...

See also #239.


v6: Merkle tree hashing

Motivation
Implements Keccak (sha3-256) based Merkle Tree hashing.
Test Plan
cargo test --test move_unit_test
Related PRs
#627

PR created on wrong branch, re-creating for v6.


[WIP] Helper evaluate path

Can you update the README to explain what this does now?

path.evaluate in babel doesn't handle some of the cases like this
if (v) { var w = 10}
if (w) { console.log(v) } // in diff scope - but still pass isPure check and results in DCE which is wrong

The helper takes care of this scenario and also for references used before/after bindings and handles if its within same/diff scope. We need to enable this on simplify and DCE instead of babel evaluate.

we need to use this evaluate in simplify as well in patterns matching case, this bug still exists https://github.com/babel/babili/issues/574

Simplify requires a lot of changes in updating scope. Postponing it for later.

We are doing the same checks/ optimisations already here https://github.com/babel/babili/blob/master/packages/babel-plugin-minify-dead-code-elimination/src/index.js#L314

Yeah. That code doesn't go through evaluate. It's a one time used variable replacement that doesn't have any side-effects. evaluate takes care of finding values.


System file size allocation too large. Unable to load linux environment or download apps

I'm trying to run ChromiumOS with a Raspberry Pi and have a 256gb SD Card. When I attempt to load the Linux environment it immediately fails because I have a System file of 253gb and only 3 GB of "free" space available.
How do I shrink the size of the system file when it's written so I don't use 99% of it on useless stuff?
I am also aware of issue #111 but it keeps saying that the is is not running on removable storage and will not expand the file system,

It's a known bug which will be fixed in next release.
For current version, you can slove it in:

back up your data first
follow https://faq.fydeos.com/en/getting-started/shell-access/
call mount -oremount,rw /
call echo "echo yes" > /usr/sbin/is_running_from_installer
call chmod +x /usr/sbin/is_running_from_installer
call /usr/sbin/expand-partition.sh -d $(findmnt -n -o source /mnt/stateful_partition)
reboot


no-arrow-function-lifecycle: implicit returns cause "fix" Parsing error

I'm very excited to have this great new rule! Thank you @ngtan and @ljharb!
Unfortunately I've encountered a bug in the auto-fix code. The following test case demonstrates an error:
{
  code: `
    class Hello extends React.Component {
      render = () =>

    }
  `,
  features: ['class fields'],
  errors: [{ message: 'render is a React lifecycle method, and should not be an arrow function or in a class field. Use an instance method instead.' }],
  output: `
    class Hello extends React.Component {
      handleEventMethods = () => {}
      render() { return
; }
    }
  `,
},

AssertionError [ERR_ASSERTION]: A fatal parsing error occurred in autofix.
Error: Parsing error: Unexpected token <
Autofix output:

  class Hello extends React.Component {
    handleEventMethods = () => {}
    render()

  }

The rule fix only really acts to modify the () part of the ArrowFunctionExpression. It does not touch the rest. In this case the body is an Expression and needs to be transformed into a BlockStatement+ReturnStatement.
I'd take a crack at this but my eslint ast modification is pretty weak (have some experience in jscodeshift)

Thanks, great catch! The test case helped immensely.


Discussing some recent changes.

I have recently made quite a lot of changes to the API, but I have not talked about any of them. I apologize for this, I am making this thread to discuss recent changes, what I changed and my rationale behind it.

Changes

All the code that deals with downloading episodes has been shifted to the modules in utils package. See #27
New classes namely Downloader, MultiThreadDownloader, ChunkDownloader, StatefulSegmentList, ChunkMerger,
FFmpegMerger and ChunkRemover have been introduced.
Concurrency is now achieved using threads instead of processes. Since our use case is I/O limited, threads are a better
choice due to the lower overhead.
The number of threads that are used for downloading can now be limited using the MultiThreadDownloader class.
Single threaded downloads now show a progress bar. I plan to extend this to multi threaded downloads as well.
Single threaded downloads can now be resumed using Kurisu I was unsure of where to put this so I made a separate repo
for this. I will update this post with a link to that repo when I finish setting it up. (I have tested this and it works). Here is the
link

All the new downloading changes are implemented using the download_using_downloader() method. The hope is that in the future we can simply rename this method to download() and remove the old download() method.

Thank you for all your hard work and great contributions!

Added progress bar to multi threaded downloads in https://github.com/veselysps/Sakurajima/commit/e06aeaafd312fb83277ab7badb19b86cd81f093b

I am glad to be of help :) On a side note, I built a small CLI to download animes using Sakurajima but I am unsure of what to name it, can you suggest me a good name. Also, I know this is silly but is this repo named after Mai Sakurajima from Bunny Girl Senpa?.

Yeah it is, it's also one of the subdomains aniwatch uses for their videos - https://sakurajima.awch.me https://emilia.awch.me https://kaguya.awch.me https://togame.awch.me https://stella.awch.me https://kurisu.awch.me https://revy.awch.me https://zerotwo.awch.me

We already have Sakurajima and Kurisu so maybe we should name the CLI Kaguya? Or maybe we should just name it "Sakurajima CLI"?

Kaguya sounds good.


split prompt bug?

looks like split prompt by lines option is increasing the seed after line generation, because the voice is changing after each line.

Yes it does that, I don't remember if there's a way to keep a static seed
in the UI. It's not that big of a change to "break" this feature and make
it always return the same seed if you can find the function. Even so, for
general usage I recommend using voice files rather than just seeds to get a
particular "character" as the consistency will be much better.
On Wed, Dec 6, 2023, 3:11 AM 520Pig520 @.***> wrote:

looks like split prompt by lines option is increasing the seed after line
generation, because the voice is changing after each line.
—
Reply to this email directly, view it on GitHub
https://github.com/rsxdalv/tts-generation-webui/issues/225, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTRXI5QGOF6GT6H5U4WST3YH5WVBAVCNFSM6AAAAABAIGDSJWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZDMOJUG42TGOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Wait, you're the programmer, you can't tell where i can find this function? Also, what you mean by use voice files? I'm already using a voice file to generate, and i didn't notice any option to keep static seed, can you implement this please? or at least show where i can modify the code to implement?

https://i.imgur.com/nSHN8Ax.png
the solution is ignore the index?

I'm on an airplane. No I cannot tell you where to find this function.
On Wed, Dec 6, 2023, 3:50 AM 520Pig520 @.***> wrote:

https://i.imgur.com/nSHN8Ax.png
the solution is ignore the index?
—
Reply to this email directly, view it on GitHub
https://github.com/rsxdalv/tts-generation-webui/issues/225#issuecomment-1841514401,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABTRXI3ECNSDZL65IQD5GCTYH53HBAVCNFSM6AAAAABAIGDSJWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBRGUYTINBQGE
.
You are receiving this because you commented.Message ID:
@.***>

https://i.imgur.com/nSHN8Ax.png
the solution is ignore the index?

Yes, that is the solution.


Change CICD process to ensure that pre-commit does not break deploy

Issue description / feature objectives
CICD process currently runs pre-commit update as part of the build process that is mandatory. While ensuring we update pre-commit is fantastic there is an issue.
Today PR reviews to not pick up if pre-commit changes the state of the pre-commit-config file. This means it runs cleanly irrespective of any update that occurs.
The issue occurs when we run the release process after make develop. If pre-commit contains version bumps in the config file there are untracked changes that will occur.
Completion Criteria

Alter the pipeline to be resilient. In the best case by ensuring the PR pipeline has a gate to force the developer to run pre-commit update themselves. Otherwise by removing pre-commit update from the push pipeline.

I think we have not fixed this.. I'm not sure how we do an early gate on this as it only comes up when we deploy.
This approach: https://browniebroke.com/blog/gh-action-pre-commit-autoupdate/ - allows us to minimize the issue, however, it does not prevent the release process from breaking.


change span to button ?

I'm not an accessibility expert, so I don't know for sure how accessible this span is. Seems like it may be easier to maybe change it to a button though
https://github.com/blittle/allies/blob/e13aaa1a8e8388f159f43d6e5f6c8f7a134bbaf5/allies.js#L94

The reason I didn't use a button is because many websites already style a button, and getting a complete reset could be difficult. If there is another aria prop to add, I think it would be easier to do that

To make this accessible, you should also add tabindex="0" so that the element is focusable, as well as handle keyboard events that correspond to click ("Enter" and "Space"). I can create a PR in a few unless someone else would like to take this on.


US69523: allow links to be styled "small."

@capajon This should add the small style I mentioned.

Looks good to me!  :shipit:


tried to create large font file with thousands of character

this is what i got from a 3.5k characters file named chinese
the font index seems simply cannot exceed 255,
-l or --largest Ordinal value of largest character to be stored. Default 126.
so, what is the correct way to do so

I think your deduction is incorrect. The index can accept values up to 65535, and your font exceeds that. The following was issued under CPython 3.8.10:
>>> x = 4
>>> x.to_bytes(2, byteorder="little")
b'\x04\x00'
>>> x = 65535
>>> x.to_bytes(2, byteorder="little")
b'\xff\xff'
>>> x = 65536
>>> x.to_bytes(2, byteorder="little")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OverflowError: int too big to convert
>>>


Bugfix complex trotterization

Description
@KaterinaGratsea found that circuits generated from trotterization cannot be exported to qiskit as they input complex parameters to the RZ gate.
This PR ensures that the coefficient of the trotterized hamiltonian is real and takes the real part of the complex coefficient to ensure that the generated circuit can be converted to a qiskit circuit.
I also took a second to remove unnecessary warnings from our tests. Nice and green now. 😄
Please verify that you have completed the following steps

[x] I have self-reviewed my code.
[x] I have included test cases validating introduced feature/fix.
[ ] I have updated documentation.

Codecov Report
Base: 94.17% // Head: 94.17% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (99f2a05) compared to base (124f5da).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #56   +/-   ##
=======================================
  Coverage   94.17%   94.17%
=======================================
  Files          46       46
  Lines        3020     3021    +1
=======================================
+ Hits         2844     2845    +1
  Misses        176      176

Impacted Files
Coverage Δ

src/orquestra/quantum/evolution.py
95.00% <100.00%> (+0.12%)
:arrow_up:

src/orquestra/quantum/wavefunction.py
96.62% <0.00%> (-0.03%)
:arrow_down:

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

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


Force display_name to lower case and match it in a case insensitive

way in profile urls.
Fix bug 731958

Can't you just use a case-insensitive query or use regex and not force lowercase the display name in the database? It seems weird to force it in the database and never show it again the proper mixed case.
https://docs.djangoproject.com/en/dev/ref/models/querysets/#std:fieldlookup-iexact

I considered iexact queries but on second though keeping username lowercase is cleaner code (so you don't have to keep using iexact everywhere) and better UX wise imho (people know that the lowercase identifier is the username). Many sites (e.g. twitter force usernames lowercase only)
Maybe @ppapadeas has an opinion on this?

Well one of the problems is that you're destroying data from the way it was originally input as. Unless it's something like tags, where forcing lowercase is generally okay because they are not tied to a person's name/identity. They are just generic labels for finding other associated content.
Forcing lowercase on a display name when in the future you might want to keep the mixed case aspect would be problematic since you can't retrieve it as it was originally because the mixed case aspect is destroyed.
As for Twitter, you can see that https://twitter.com/#!/GreatDismal displays in the url as mixed case.

You definitely have a point here. The original intention was to have case insensitive profile urls, which can be accomplished using iexact and other tricks as you say. BTW what's a proper way to keep display_field unique on database in a case insensitive way?
I'll talk with @ppapadeas and the community about this to come up with the best solution. Please do not merge yet.
As for Twitter, I was obviously wrong! ;)


[ci] Update macOS to 11

Major new things:

update to macOS Big Sur (11.2.3)
switch from VirtualBox to Parallels due to ^ (and also ARM)

Minor new things:

update from xcode CLT 12 to 12.4

there are not just regressions, but a lot of "CASCADED_DUE_TO_MISSING_DEPENDENCIES".
Please do not overlook them because they were checked previously in CI (vtk, qt, opencv, ...)

/azp run

sdformat6 failed with the following error:
CMake Error at /usr/local/lib/cmake/Boost-1.75.0/BoostConfig.cmake:240 (if):
  if given arguments:

    "ALL" "IN_LIST" "Boost_FIND_COMPONENTS"

  Unknown arguments specified
Call Stack (most recent call first):
  /Users/vagrant/Data/work/1/s/scripts/buildsystems/vcpkg.cmake:828 (_find_package)
  /Users/vagrant/Data/downloads/tools/cmake-3.19.2-osx/cmake-3.19.2-macos-universal/CMake.app/Contents/share/cmake-3.19/Modules/FindBoost.cmake:460 (find_package)
  cmake/SearchForStuff.cmake:16 (include)
  CMakeLists.txt:116 (include)

forest failed with wrong hash due to the repository doesn't exist now. Please see https://github.com/microsoft/vcpkg/pull/16836.
Billy also set the related triplets as fail in ci.baseline.txt in PR #17331.

/azp run

/azp run

sdformat6 failed with the same error as before on osx.
cppgraphqlgen failed with the following error on osx:
FAILED: src/CMakeFiles/graphqlpeg.dir/GraphQLTree.cpp.o
/Library/Developer/CommandLineTools/usr/bin/c++  -I/Users/vagrant/Data/buildtrees/cppgraphqlgen/src/v3.5.0-ff5eccf561.clean/src/../include -I/Users/vagrant/Data/buildtrees/cppgraphqlgen/src/v3.5.0-ff5eccf561.clean/src/../PEGTL/include -isystem /Users/vagrant/Data/installed/x64-osx/include -fPIC -O3 -DNDEBUG -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk -std=gnu++17 -MD -MT src/CMakeFiles/graphqlpeg.dir/GraphQLTree.cpp.o -MF src/CMakeFiles/graphqlpeg.dir/GraphQLTree.cpp.o.d -o src/CMakeFiles/graphqlpeg.dir/GraphQLTree.cpp.o -c /Users/vagrant/Data/buildtrees/cppgraphqlgen/src/v3.5.0-ff5eccf561.clean/src/GraphQLTree.cpp
clang: error: unable to execute command: Abort trap: 6
clang: error: clang frontend command failed due to signal (use -v to see invocation)
Apple clang version 12.0.0 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin20.3.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
clang: note: diagnostic msg: PLEASE submit a bug report to http://developer.apple.com/bugreporter/ and include the crash backtrace, preprocessed source, and associated run script.

Other failures caused by gdk-pixbuf will be fixed in PR #17528.


Unicode

Tries to make VisTrails unicode-safe. This means eliminating bytestrings from the code where unicode strings were meant (PyQt4 already uses unicode).
Gets us closer to PY3 support. Also adds __future__.division in all files (3996af20).
Work in progress, TBM after 2.2 is released.
Supersedes #22?

Move relevant changes to #1143 and close this.


Add job buffering for sgsync jobs on RabbitMq Port messages

Description
Upon RabbitMQ messsage about changing ports in openstack, a security group which protects those ports should be synchronized. If we delete multiple protected vms from openstack in quick succession, the SG in the OSC database does not reflect the correct number of the remaining vms.
This was reported in issue 632.
Motivation and Context
The Security Group membership in OSC should reflect the correct state of the actual openstack. When we delete a single vm from openstack, a RabbitMQ message is sent to OSC and it kicks off a SG Sync job.
However, if we delete multiple ports, multiple sync jobs are attempted and the way the code is written, later submission attempts fail. Then the last successful sync job may have run without taking into account some VM deletions. This results in the Security Group object not knowing about some of its members missing.
An obvious workaround is to just press the Sync button when the dust settles, but we can buffer sync requests as shown in this PR.
How Has This Been Tested?
Tested with ISM and NSC plugins.

Created a SG with several (5 to 7) vm members.
Binded.
Deleted several vms, one by one from openstack command line. Command line  allows us to do it very quickly.

Screenshots (if appropriate):
Types of change
OsPortNotificationListener buffers multiple sync requests. All we have to do is make sure a good sync job is started after changes have stopped coming in.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the Code style guidelines of this project
[ ] My unit test follow the Unit test guidelines
[ ] Unit test coverage percentage is maintained(increased/remains the same but not decreased)

as discussed, the solution for the problem would be to enable granular sync at the member level instead of SG level. Please add the comments discussed and close this pull request.

Closing the PR for now. Bug to be addressed as a larger story at some later point. See issue #

Closing the PR for now. Bug to be addressed as a larger story at some later point. See issue #632.

Done. https://github.com/opensecuritycontroller/osc-core/pull/645
Commented on issue. Issue itself not closed.
Dmitry.
From: Arvind Nadendla<EMAIL_ADDRESS>Sent: Monday, March 12, 2018 11:01 AM
To: opensecuritycontroller/osc-core<EMAIL_ADDRESS>Cc: Gerenrot, Dmitry MX<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [opensecuritycontroller/osc-core] Add job buffering for sgsync jobs on RabbitMq Port messages (#645)
as discussed, the solution for the problem would be to enable granular sync at the member level instead of SG level. Please add the comments discussed and close this pull request.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/opensecuritycontroller/osc-core/pull/645#issuecomment-372406279, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AcVmpwMDzPNTcbPZUGAIvJ3EVlOk8DJBks5tdrfRgaJpZM4SaYzN.


Version name and code are null in configuration phase.

I noticed that when trying to rename output files, defaultConfig.versionCode and defaultConfig.versionName are null.
applicationVariants.configureEach { variant ->
    variant.outputs.all {
        outputFileName = "${variant.name}-${defaultConfig.versionCode}.apk" // would rename to variantName-null.apk
    }
}

Also setting a versionNameSuffix on build types is not working anymore.
buildTypes {
    debug {
        versionNameSuffix "-debug" // has no effect anymore
    }
}

Thanks for the quick response. It makes a lot of sense.


Add a guide for deleting cluster queues.

What type of PR is this?
/kind documentation

What this PR does / why we need it:
Add a guide for deleting cluster queues.
Which issue(s) this PR fixes:

Fixes #2835
Special notes for your reviewer:
Does this PR introduce a user-facing change?

NONE

/cc @alculquicondor

/lgtm
/approve
/cherry-pick website


timeout error when running 102 jupter NB

i follow guide to install required components, run the juypter notebook locally, incurred this issue, is there any thing i need to check to fix this issue

@alberxualberxu could you please try to download and convert model using omz tools?
omz_downloader --name fastseg-large
omz_converter --name fastseg-large

Unfortunately, fastseg model repo is no longer maintained by its authors... It may be broken at all or some temporal connection issue... In the latest release, on main branch, we replace fastseg model with another model if you looking to this tutorial to see how to convert pytorch models, I recommend to use the latest notebook version

@eaidova thanks for sharing on this, is it to use the same command as showed below to download the latest NB version?
git clone --depth=1 https://github.com/openvinotoolkit/openvino_notebooks.git

@alberxualberxu  this command clone repo, but you already have cloned repo, probably it does not need to clone it one more time,just go to the openvino_notebooks directory and make git pull command for obtain the latest changes. After that probably, you need to reinstall requirements.txt (they can be updated with repo content)

@eaidova i ran "git pull" and reinstall requirements.txt, but still see timeout issue although the log details is little different, another clue not sure related to this sympton is, i marked below command with # in requirements.txt since it always hang there:
quote from requirements. txt:
NNCF notebook requirements
#git+https://github.com/openvinotoolkit/nncf.git@f62b6629c71822b5241e175e0a03c3acb42ae01e#egg=nncf[torch]
tensorflow>=2.5,<=2.9.3
tensorflow_datasets==4.2.0

@alberxualberxu it sitll looks strange, because the latest version of requirements.txt does not contains nncf installation? s I assume you still have not the latest version
Do you do something with repo after git clone (possibly you fork it or switch to another branch ?)
please try this git pull origin main instead of just git pull

@eaidova i disabled nncf installation intensionally because i met an issue when downloading nncf, below is the screen shot, after i disabled nncf's downloading, the rest in requirement txt are able to install successfully.

@alberxualberxu  please look on this file: https://github.com/openvinotoolkit/openvino_notebooks/blob/main/requirements.txt
it is look like the latest requirements and there is no nncf at all, so it is the reason why I assume that you have not the latest version.
If notebooks repo will finished successfully you should have the same file like avilable on link above

@eaidova what you advised is quite correct! I use git pull origin main, both NB file and reuirement file updated, and 102 run successfully, thanks a lot!

@alberxualberxu Gteat! Can we close this issue then?

@eaidova yes, pls, thanks!


runtime/pprof: flaky tests (TestMathBigDivide, TestStackBarrierProfiling)

Failed twice in a row while performing the go1.8beta2 release for linux-amd64, linux-386. freebsd-amd64 failed once, too.
--- FAIL: TestMathBigDivide (6.39s)
        pprof_test.go:196: total 1 CPU profile samples collected
        pprof_test.go:208: too few samples; got 1, want at least 5, ideally 20
        pprof_test.go:153: retrying with 400ms duration
        pprof_test.go:196: total 1 CPU profile samples collected
        pprof_test.go:208: too few samples; got 1, want at least 10, ideally 40
        pprof_test.go:153: retrying with 800ms duration
        pprof_test.go:196: total 11 CPU profile samples collected
        pprof_test.go:208: too few samples; got 11, want at least 20, ideally 80
        pprof_test.go:153: retrying with 1.6s duration
        pprof_test.go:196: total 21 CPU profile samples collected
        pprof_test.go:208: too few samples; got 21, want at least 40, ideally 160
        pprof_test.go:153: retrying with 3.2s duration
        pprof_test.go:196: total 45 CPU profile samples collected
        pprof_test.go:208: too few samples; got 45, want at least 80, ideally 320

linux-386 also had this one once:
--- FAIL: TestStackBarrierProfiling (6.61s)
        pprof_test.go:424: subprocess failed with exit status 1:
                --- FAIL: TestStackBarrierProfiling (6.49s)
                        pprof_test.go:196: total 0 CPU profile samples collected
                        pprof_test.go:208: too few samples; got 0, want at least 5, ideally 20
                        pprof_test.go:153: retrying with 400ms duration
                        pprof_test.go:196: total 1 CPU profile samples collected
                        pprof_test.go:208: too few samples; got 1, want at least 10, ideally 40
                        pprof_test.go:153: retrying with 800ms duration
                        pprof_test.go:196: total 11 CPU profile samples collected
                        pprof_test.go:208: too few samples; got 11, want at least 20, ideally 80
                        pprof_test.go:153: retrying with 1.6s duration
                        pprof_test.go:196: total 22 CPU profile samples collected
                        pprof_test.go:208: too few samples; got 22, want at least 40, ideally 160
                        pprof_test.go:153: retrying with 3.2s duration
                        pprof_test.go:196: total 64 CPU profile samples collected
                        pprof_test.go:208: too few samples; got 64, want at least 80, ideally 320

Odd that we have't seen these on build.golang.org or trybots. But the x/build/cmd/release tool that @broady is using runs all.bash, which the trybot/build.golang.org build system doesn't use. Could that be related? SIGPROF routing differently?

FAIL    runtime/pprof   240.059s

CC @matloob @rauls5382

TestCPUProfileWithFork is probably a different problem and should probably be filed as a separate issue.
The TestMathBigDivide and TestStackBarrierProfiling tests are getting profiling samples, they just aren't getting as many as the tests expect.  The tests expect 100 profiling samples per second, and will accept as few as 25 samples per second.  They are getting more like 14 or 15 per second.  This could be due to a heavily overloaded system.
I can't see why using all.bash would make a difference.
It's easy for me to make the tests fail by running 20 of the test programs simultaneously.
Not sure what we should do about this.

We should disable the tests if they can't be made reliable.

I'll change them to pass if we get at least 10 samples.  That is enough to show that the profiler is doing something.


Hiding a schema object.

Description
UI Schema currently doesn't respect hiding an object,
Since we can't use ui:widget on the object level as it's not really a widget,
I can see two possibilities:

Put 'ui:widget: hidden' on every property, this is a bit annoying, it also means that the field wrapper should have a logic to skip rendering title and description if all fields are hidden.
We could introduce a new property such as ui:visible, just like we have ui:order,
but this is also a bit tricky, visibility means that data should be still there but hidden, so somehow we have to force 'ui:widget: hidden' for all sub-properties.

@n1k0 does any of this makes sense?
Thanks,
Asaf.

Personally, I feel like the visibility of elements is outside the scope of rjsf. Can't you do this using CSS?

@glasserc And hiding a single element is not? :-)
Anyway I decided to extract a partial json schema out of a larger one at the end, so feel free to close this issue in case it doesn't make sense.
Thanks


detailed result of show index

issue : https://github.com/vesoft-inc/nebula-graph/issues/1117
Current result of show indexes :
(root@nebula) [test_show_space]> show tag indexes
+------------+--------+----------+
| Index Name | By Tag | Columns  |
+------------+--------+----------+
| "i1"       | "t1"   | "c1"     |
+------------+--------+----------+
| "i2"       | "t1"   | "c1, c2" |
+------------+--------+----------+
Got 2 rows (time spent 1263/1576 us)

Thu, 24 Jun 2021 13:36:47 CST

(root@nebula) [test_show_space]> show tag indexes by t1
+------------+----------+
| Index Name | Columns  |
+------------+----------+
| "i1"       | "c1"     |
+------------+----------+
| "i2"       | "c1, c2" |
+------------+----------+
Got 2 rows (time spent 1072/1392 us)

Thu, 24 Jun 2021 13:36:55 CST

(root@nebula) [test_show_space]> show edge indexes
+------------+---------+----------+
| Index Name | By Edge | Columns  |
+------------+---------+----------+
| "i3"       | "e1"    | "c1"     |
+------------+---------+----------+
| "i4"       | "e1"    | "c1, c2" |
+------------+---------+----------+
Got 2 rows (time spent 1075/1357 us)

Thu, 24 Jun 2021 13:37:03 CST

(root@nebula) [test_show_space]> show edge indexes by e1
+------------+----------+
| Index Name | Columns  |
+------------+----------+
| "i3"       | "c1"     |
+------------+----------+
| "i4"       | "c1, c2" |
+------------+----------+
Got 2 rows (time spent 1045/1318 us)

Addressed @Shylock-Hg and @laura-ding 's comments. re-format the result from string to list.

Corrected format of tck case . added more test case.


Add cleanup command

This PR adds a clean up command.
Closes #96

Hi @v1kko Would you mind having a look?
I ran into a bunch of issues with circular imports and linting errors so I ended up touching a bit more files than I wanted.

Thanks @v1kko , completely agree on moving all the config to a new directory. I tried to tackle it in this PR, but it got a bit overwhelming trying to implement two things at once, so I focused on the cleanup command first.


Fix interaction between fullPaths and external

Consider the case where you are splitting bundles with your own code, not in node_modules. You have bundle 1, which has the require calls, and you also have bundle 2, which makes the same external calls. Assume the default expose names and relative require arguments with no aliasing magic.
When fullPaths is false in both, this works fine if you are careful with setting basedir. When fullPaths is true in both, bundle 1 will expose absolute paths but bundle 2's external IDs are the ones relative to the basedir. As #1534 notes, currently you can't get bundle 2 to look for the absolute paths, so if you want to use an ecosystem tool requiring fullPaths, you're stuck.
(The potential workaround of specifying expose yourself may run into #1629, though I didn't check carefully. For that issue, I think the suggested fix works, i.e. patch deps-sort in the obvious way, but that's separate from this PR.)
This PR makes it so that if you compile bundle 2 with fullPaths true, the external IDs are absolute paths. So fullPaths is now usable. One minor disadvantage: consistent fullPaths settings across bundles is now a requirement. If someone has it where bundle 1 is compiled with fullPaths false and bundle 2 is compiled with fullPaths true, their setup works now and my PR will break it.

Nevermind. Some further testing suggests things aren't generalizing the way I thought they did when I submitted this. I'll reopen if I think this fix still makes sense after I work out the details.


a-tree default-checked-keys and default-expanded-keys property not work.

[x] I'm sure this does not appear in the issue list of the repository

Basic Info

Package Name And Version<EMAIL_ADDRESS>Framework version: 3.2.40
Browser: chrome<IP_ADDRESS>

Steps to reproduce

export default {
name: 'ThirdCategory',
props: {
type: String,
showConfirm: Boolean,
checkedIds: Array
},
data() {
return {
checkedKeys: [],
expandedKeys: [],
multiple: true,
checkable: true,
categoryMap: {},
originTreeData: [],
searchKey: '',
defaultCheckedKeys:[5947,5948,5945],
defaultExpandedKeys:[5947,5948,5945]
}
}
}

@imtiger Hi. For component usage, you can go to arco design vue to ask questions. thanks.


[Exposure Request] Page 99000902

Please expose Function InsertEntry in Page 99000902.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Does Feign Client uses Hystrix Request Cache?

Hi,
Hystrix default command configuration set requestCache to true and if command is implementing getCacheKey() method then we will able to cache hystrix command output.
For me hystrix integration with feign client is not caching Hystrix command response. Is that safe to conclude that feign does not use requestCache feature of Hystrix even though feign is set to use hystrix using property feign.hystrix.enabled=true.
If above statement is true then do we have any alternate to cache request with feign client?

I have not tried this myself, but I poked around and I would try something similar to what is done here https://github.com/spring-cloud/spring-cloud-netflix/blob/a8d40afd587e060e013dcfae1c761e5b0a85f72a/spring-cloud-netflix-core/src/test/java/org/springframework/cloud/netflix/feign/valid/FeignClientTests.java#L317
In the HystrixCommand.Setter class there is a method called andCommandPropertiesDefaults which takes a com.netflix.hystrix.HystrixCommandProperties.Setter instance as a parameter.  This class has a method called withRequestCacheEnabled which will let you enable request caching.  You might try that.

Thanks ryanjbaxter. I will try with given option and let you know updates.

@mr-rajeshrathod Any interesting results to share?

Hey guys !!
About this issues have any solution?
I'm using feign client and hystrix with spring cloud, and I want apply distributed cache to hystrix. spring-cloud have any api to support this?

Closing due to age of the question. If you would like us to look at this issue, please comment and we will look at re-opening the issue.

feign-hystrix used HystrixInvocationHandler wrapped feign-client as HystrixCommand , could you consider add some feature to this HystrixCommand to use hystrix cache?


Get rid of the ToOwned trait

Fixes #19.
This also includes splitting up lib.rs into multiple files. The current organization is a bit of a work-in-progress, but the external interface should not change in later reorganizations.
This required quite a large rework of the Vector deserialization code, which is a breaking change. Before if you had a field of type [SomeTableType], then the accessor function would return a planus::Result<planus::Vector<'a, SomeTableType>>, however after this change it will give you a planus::Result<planus::Vector<'a, planus::Result<SomeTableTypeRef<'a>>>.
While this type is a bit larger, it is arguable also more understandable, since a Vector<'a, T> is now more directly analogous to a &'a [T]. The primary reason for the change was however to simplify the internal #[no_doc] trait handling.

@jorgecarleitao FYI, this is a breaking change

break at will ^_^ fyi arrow2 does not expose generated code on its own public API, so breaking changes do not propagate to its dependencies (and I am more than happy to migrate, generated and lib APIs).


BUG: Card hovering effect

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
In the cards when we click on one it gets a purple border which does not go even on hovering on another card.
Please assign me to work on this under GSSOC'24

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

Hey there! I'm Ashutosh Kumar, a full-stack MERN web developer. With experience in numerous successful MERN stack  projects, I excel in  HTML, CSS,JavaScript,C, C++,jQuery, Node.js, React.js, Bootstrap, Tailwind, Express, MongoDB, API,GraphQL,WebRTC.
You can find me on LinkedIn : https://www.linkedin.com/in/ashutosh-kumar-60b262251/
GitHub : https://github.com/Ashutosh-0506.
Looking forward to contributing to GSSOC 2024!

Assigned @tanu-agarwal0101

thank you @anuragverma108

Hey, I would like to work on the same. Can you please assign this to me under GSSoC'24.


New construct: Stream

Let me propose a new construct called Stream:
interface Stream<T extends Buf> {
    boolean isOpen();
    void close();
    void start(EventExecutor executor, StreamConsumer<T> consumer);
}

interface StreamConsumer<T extends Buf> {
    void streamOpen(Stream<T> stream, T buf);
    void streamUpdated(Stream<T> stream, T buf);
    void streamClosed(Stream<T> stream, T buf, Throwable cause);
}

This is similar to ChunkedInput but it works for both inbound and outbound. (Once properly done, ChunkedInput will be replaced with Stream.)
Stream generates data into a buffer (ByteBuf or MessageBuf) and notifies the StreamConsumer whenever the buffer is updated.  For a static stream with pre-defined data, the consumer will be notified immediately when start() is called.  Otherwise, the stream implementation will provide an operation that feeds data into the buffer that the consumer is reading from. (e.g. stream.offer(ByteBuf newData))
For example, Stream could be used as HttpMessage.content. HttpMessageDecoder could emit the partially decoded HttpMessage only once (rather than emitting same instance multiple times as proposed in #673) and then push the content of the HttpMessage to the consumer via the stream.  Also, HttpMessageEncoder can call HttpMessage.content.start(..) to consume the content and write it to the next outbound buffer.  Because EventExecutor is specified when initiating consumption, thread safety is assured.
A question that will follow this proposal would be: do we really need to resolve #673 once Stream is introduced? We can notify any decoding failures via StreamConsumer.streamClosed(), so I guess we don't?
Feed back appreciated!

#3362 has some great discussion that could help us understand this problem from the standpoint of HTTP.

https://github.com/jpinner/http2

@trustin can we close this ?

I'm not sure. AFAIK there's no stream-like message type in Netty yet.


Run many node in this blockchain

As you say, if I want to run two nodes in this blockchain, so I have to run 2 command in 2 separated terminal:
$ node bin/naivecoin.js -p 3001 --name 1
$ node bin/naivecoin.js -p 3002 --name 2 --peers http://localhost:3001
So if I want to run more than 2 node, for example 3 node, so what list of peers in the third terminal?
Is that true:
$ node bin/naivecoin.js -p 3001 --name 1
$ node bin/naivecoin.js -p 3002 --name 2 --peers http://localhost:3001
$ node bin/naivecoin.js -p 3003 --name 3 --peers http://localhost:3001, http://localhost:3002
If I run like that, it return an errors:
warn - thuong3: Unable to get latest block from http://localhost:3002,/blockchain/blocks/latest: connect ECONNREFUSED <IP_ADDRESS>:80
warn - thuong3: Unable to send me to peer http://localhost:3002,/node/peers: connect ECONNREFUSED <IP_ADDRESS>:80
warn - thuong3: Unable to send me to peer http://localhost:3002,/node/peers: connect ECONNREFUSED <IP_ADDRESS>:80
warn - thuong3: Unable to get transations from http://localhost:3002,/blockchain/transactions: connect ECONNREFUSED <IP_ADDRESS>:80
warn - thuong3: Unable to send me to peer http://localhost:3002,/node/peers: connect ECONNREFUSED <IP_ADDRESS>:80
warn - thuong3: Unable to send me to peer http://localhost:3002,/node/peers: connect ECONNREFUSED <IP_ADDRESS>:80

I think the problem is because of how you set the peers, try to do this instead:
node bin/naivecoin.js -p 3003 --name 3 --peers http://localhost:3001 --peers http://localhost:3002
Best


Deploy Monasca API and Monasca Log API

Use legacy role names (for compatibility with LXC deployment)
for granting access to APIs
Allow users with admin role to access APIs automatically
Build source type Monasca image (binary not supported)
Create monasca_database_password and monasca_keystone_password

Thanks for reviewing. The passwords are different, but don't affect the LXC services. LXC services are still using their own DB and don't use the monasca keystone user.


Settings: avoid double negation in the user interface settings

Example:
Change "Hide read receipt", default to false
to "Show read receipt", default to true
Note that new String may be created to avoid bad translations
Also current user settings should be migrated properly

Fixed with #2723


Add infrastructure to test class based views render without raising a…

This adds infrastructure to test our class based views and uses it to verify all our detail views return a 200.
While this could be just one big parametrised test, I separated things out: there should be a bit of intentionality to what's in a test, and while this automates things quite a lot - automating things too much can lead to tests where it's hard to tell if it is passing because it should, or not.

Codecov Report

Merging #433 (ab09949) into master (edaf202) will increase coverage by 0.66%.
The diff coverage is 90.97%.

:exclamation: Current head ab09949 differs from pull request most recent head f314b4c. Consider uploading reports for the commit f314b4c to get more accurate results

@@            Coverage Diff             @@
##           master     #433      +/-   ##
==========================================
+ Coverage   91.16%   91.82%   +0.66%
==========================================
  Files         277      281       +4
  Lines       16884    17026     +142
  Branches     1380     1394      +14
==========================================
+ Hits        15392    15634     +242
+ Misses       1247     1129     -118
- Partials      245      263      +18

Impacted Files
Coverage Δ

conftest.py
95.11% <ø> (ø)

additional_codes/views.py
83.49% <57.14%> (+6.17%)
:arrow_up:

common/tests/util.py
87.00% <87.34%> (+0.15%)
:arrow_up:

additional_codes/tests/test_views.py
100.00% <100.00%> (ø)

certificates/tests/test_views.py
100.00% <100.00%> (ø)

common/util.py
82.50% <100.00%> (ø)

footnotes/tests/test_views.py
100.00% <100.00%> (ø)

geo_areas/tests/test_views.py
100.00% <100.00%> (ø)

measures/tests/test_views.py
100.00% <100.00%> (ø)

quotas/tests/test_views.py
100.00% <100.00%> (ø)

... and 19 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 edaf202...f314b4c. Read the comment docs.


[Device Support Request]  TY-ZG-Z-XF-ZJ

Problem description
Please provide a quirk for the model ZG-205Z human presence detector  Senzhen Wave Speed Technology Co. I can detect it and get a motion detection indication but that is it. I would like to be able to adjust it.
Thanks
Solution description
quirk
Screenshots/Video
Screenshots/Video
[Paste/upload your media here]

Device signature
"manufacturer": "_TZE200_2aaelwxk",
"model": "TS0225",
"class": "zigpy.device.Device"
Diagnostic information
Diagnostic information
[Paste the diagnostic information here]

Logs
Logs
[Paste the logs here]

Custom quirk
Custom quirk
[Paste your custom quirk here]

Additional information
No response

Duplicate of #2551


Allow to cast custom objects for Variant

Allows to cast custom object types to be compatible with Variant for binding methods.
This PR is created for discussion purposes, feel free to close if you think that the implementation is too complex or wrong, or when a better solution comes in, but if useful, I could continue working on this. 🙂
Usage
Basically the same as for casting enums:
VARIANT_OBJECT_CAST(ListNode);

This is useful for implementing custom object types in C++ modules without having to manually cast Objects in code, and allows for such a custom class to appear in the documentation methods API! For concrete use case, see goostengine/goost#12, where this is implemented locally for a single class.
Note that casting builtin Node works because there's already a support for that in Variant natively.
There are other stuff which can/should be implemented to make this work with C# I think (PtrToArg?), and additionally allow to cast const * objects, but this is just to showcase the implementation to @reduz currently.
#godotengine-devel IRC discussion:
Xrayez> reduz: do you think it makes sense to add VARIANT_OBJECT_CAST macro to allow binding methods which accept custom Object datatypes? (useful for implementing other structures via C++ modules such as linked list, where there could be ListNode implemented as an Object, for instance). Similar to VARIANT_ENUM_CAST. Currently, only Node is able to be exposed like that, because it's natively supported by Variant.
reduz> Xrayez: with C++03 i never found a way to properly do this, I wonder if its possible with C++11 that of course does not require crating an extra macro for each class you bind
Xrayez> reduz: well I'm asking because it seems like I've managed to implement such a macro already, it would work similarly to VARIANT_ENUM_CAST. :)
reduz Xrayez: it may be possible to do with a template in newer C++ but I am not sure, did not investigate
Xrayez> I can submit a PR for this for testing purposes, if you don't mind.
reduz> sure but i prefer not to have to add a macro on every node you define if we can do automagically it would be great
Xrayez> reduz: what do you mean by defining a macro for each class? You'd just VARIANT_OBJECT_CAST(ListNode), for instance. It would be good enough in my eyes. xD
reduz> well, I want to make it work without actually doing that, I think it should be possible
Xrayez> I've dedicated 3 hours to figure how to do this, I wish it could be there in Godot since I already know about VARIANT_ENUM_CAST, for instance.
Ah ok then.

This can be closed now that #57205 is merged.

Superseded by https://github.com/godotengine/godot/pull/57205. Thanks for the contribution nonetheless!


postgresql fails to start when attempt uses launchd via brew services

After a successful installation of postgres 9.5.4_1
Starting postgres with a direct command starts the server as expected:
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
Trying to start with launchd services through the brew interface:
$ brew services start postgresql
==> Successfully started postgresql (label: homebrew.mxcl.postgresql)
system.log:
Nov 15 19:14:19 lapster com.apple.xpc.launchd[1] (homebrew.mxcl.postgresql): This service is defined to be constantly running and is inherently inefficient.
Nov 15 19:14:19 lapster com.apple.xpc.launchd[1] (homebrew.mxcl.postgresql[16325]): Service could not initialize: 15G1108: xpcproxy + 12684 [1462][F7717708-ACF7-307D-B04E-998DFC36598F]: 0xd
Nov 15 19:14:19 lapster com.apple.xpc.launchd[1] (homebrew.mxcl.postgresql): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Nov 15 19:14:29 lapster com.apple.xpc.launchd[1] (homebrew.mxcl.postgresql[16357]): Service could not initialize: 15G1108: xpcproxy + 12684 [1462][F7717708-ACF7-307D-B04E-998DFC36598F]: 0xd
Nov 15 19:14:29 lapster com.apple.xpc.launchd[1] (homebrew.mxcl.postgresql): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Nov 15 19:14:39 lapster com.apple.xpc.launchd[1] (homebrew.mxcl.postgresql[16362]): Service could not initialize: 15G1108: xpcproxy + 12684 [1462][F7717708-ACF7-307D-B04E-998DFC36598F]: 0xd
Nov 15 19:14:39 lapster com.apple.xpc.launchd[1] (homebrew.mxcl.postgresql): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.
Nov 15 19:14:49 lapster com.apple.xpc.launchd[1] (homebrew.mxcl.postgresql[16364]): Service could not initialize: 15G1108: xpcproxy + 12684 [1462][F7717708-ACF7-307D-B04E-998DFC36598F]: 0xd
Nov 15 19:14:49 lapster com.apple.xpc.launchd[1] (homebrew.mxcl.postgresql): Service only ran for 0 seconds. Pushing respawn out by 10 seconds.

Sorry but you have not followed the requested steps on the Troubleshooting page
Please follow (all of) these steps and post the information here so we can help you with your problem.
Also, please try to run it outside of launchctl and tell me if it works.
Thanks!

Hi Mike,
Thank you for your time to respond.
I am unable to follow the procedure on the previous instance of the server
installation, as it is now permanently removed from the file system.
The behavior was consistently the same on both macOS 10.11 and 10.12.
(sorry for not mentioning the OS versions affected)
Indeed, one of my first sentences in my report was the fact the postgresql
database runs flawlessly when started manually. Maybe you missed that. I
used it with a a few local rails applications that are under development.
thx very much!
On Wed, Nov 16, 2016 at 12:29 AM, Mike McQuaid<EMAIL_ADDRESS>wrote:

Sorry but you have not followed the requested steps on the
Troubleshooting page
https://github.com/Homebrew/brew/blob/master/docs/Troubleshooting.md#troubleshooting
Please follow (all of) these steps and post the information here so we can
help you with your problem.
Also, please try to run it outside of launchctl and tell me if it works.
Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Homebrew/brew/issues/1521#issuecomment-260884196, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKK5fZLHTUr65LXKDpF2EEfsdmDuEoHyks5q-r7cgaJpZM4KzTgR
.

We need the troubleshooting information on one machine to be able to help here. Closing until we have it.


Models should be accepted in <placement_frame>

Environment

OS Version: Ubuntu 20.04
SDFormat: sdf12 source

Description

Expected behavior: A <placement_frame> should accept a model.
Actual behavior: It throws the following error:

RuntimeError: error: PoseRelativeToGraph unable to find unique frame with name [model_name] in graph.
Steps to reproduce
Try to load the following sdf:
<sdf version="1.9">
  <model name="weld_child_model">
    <joint name="some_other_model__frame_on_world___to___some_model___weld_joint" type="fixed">
      <parent>some_other_model::frame_on_world</parent>
      <child>some_model</child>
    </joint>
    <model name="some_other_model">
      <frame name="frame_on_world">
        <pose relative_to="">0.25 0 0   0 0 -90</pose>
      </frame>
      <include merge="true">
        <name>some_other_model</name>
        <uri>package://convert_model_directives_test/simple_model.sdf</uri>
      </include>
    </model>
    <include>
      <name>some_model</name>
      <uri>package://convert_model_directives_test/simple_model.sdf</uri>
      <placement_frame>some_model</placement_frame>
      <pose relative_to="some_other_model::frame_on_world"/>
    </include>
  </model>
</sdf>

Output
error: PoseRelativeToGraph unable to find unique frame with name [some_model] in graph.

I was doing some further testing and it seems <placement_frame> accepts nested models without the parent scope, ie for this case is valid:
<sdf version="1.9">
  <model name="top_model">
    <model name= "mid_level_model">
      <link name='link'/>
    </model>
    <include>
      <name>bottom_level_model</name>
      <uri>simple_model.sdf</uri>
      <placement_frame>nested</placement_frame>
      <pose relative_to="mid_level_model"/>
    </include>
  </model>

Being nested a model inside simple_model.sdf. Since it wouldn't accept bottom_level_model::nested, then I guess it also makes sense to not accept bottom_level_model and only accept __model__ as it is directly the internal implicit model frame without scope... thoughts @azeey ?

Sure, thanks for having a look.


[Feature Request] Proxy only mode

Hi, I wanna run some nodes as proxy only mode. A node running as proxy mode does not host any entities, and can only send messages to entities hosted in other nodes.

Oh, should I call registerEntity only?

No, just messenger and you can send messages with it.


[Feature request] Add a command to list installed Visual C++ Redistributables

What about adding a command to list already installed Visual C++ Redistributables?
I'm creating a package that dinamically downloads and install other programs, each of them can require a different Visual C++ Redistributable version and architecture.
If we had such command, I could do something like
$found = Get-InstalledVcRedist | Where {$_.Version -eq '2015' -and $_.Architecture -eq 'x64'}
If ($found -eq $null) {
    # Install the 2015/x64 Visual C++ Redistributable
}

I've been thinking about doing this, just haven't gotten back to it. Should the function just list what's installed on the current machine or compare with what's in the manifest (Get-VcList)?
The output of Get-InstalledVcRedist could be used to ensure that Install-VcRedist doesn't attempt to install a VcRedist that's already installed.

Well, here's what I have in my mind (pseudocode):
If not installed vc-2015-x86 {
    Download setup of vc-2015-x86
    Try {
        Install vc-2015-x86
    }
    Finally {
        Delete setup of vc-2015-x86
    }
}

Added Get-InstalledVcRedist in v<IP_ADDRESS>


Processor group doubts

To create a processor group we will be using /pipeline api. It will receive pipeline name as the input. So should we create a separate table in spec schema with columns as pid, created_at,deleted_at, pipeline_name (UNIQUE) to store the pipeline details ? or
Should we use the pipe table in transformers schema by adding one more column to store pipeline name.

Let's create a separate table for pipes and pipe-executions (where you track them).


Vite unable to load modules when components are outside project directory

Environment
Stackblitz, using components config:
- Operating System: `Linux`
- Node Version:     `v16.14.2`
- Nuxt Version:     `3.0.0-rc.4`
- Package Manager<EMAIL_ADDRESS>- Builder:          `vite`
- User Config:      `components`
- Runtime Modules:  `-`
- Build Modules:    `-`

Local, using component:dirs hook:
- Operating System: `Darwin`
- Node Version:     `v14.19.3`
- Nuxt Version:     `3.0.0-rc.4`
- Package Manager<EMAIL_ADDRESS>- Builder:          `vite`
- User Config:      `runtimeConfig`, `hooks`, `modules`, `app`, `css`
- Runtime Modules:  `<EMAIL_ADDRESS>- Build Modules:    `-`

Reproduction
Repro: https://stackblitz.com/edit/github-tncnqa
What I did (things to note):

moved the nuxt project into a nuxt directory
configured stackblitz to be able to work with this structure by adding a .stackblitzrc file
imported the markdown dependency as a test case
configured nuxt/vue to globally load components from the parent (/components) directory (using components config, but same problem happens if I used components:dirs hook)
added an Inner.vue and Outer.vue components - they basically convert and display some markdown to html

Describe the bug
When adding components from outside the project directory, loading modules in those components messes up.
For example, if the makrdown module was supposed to be imported, this error pops up during build:

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/home/projects/github-tncnqa/nuxt/markdown' imported from /home/projects/github-tncnqa/nuxt/.nuxt/dist/server/server.mjs

Additional context
I'm not sure if this relates to nuxt or is purely a vite problem, unfortunately I don't know enough to find the problem and I have no idea how to make a reproduction with vite only.
Logs
No response

For a workaround, you can add any directories outside your project to vite's allow list:
  export default defineNuxtConfig({
+   vite: {
+     server: {
+       fs: {
+         allow: ['..']
+       }
+     }
+   }
  });


Refactored & added/improved unit tests

While you're at it, could remove Node 5 from the .travis.yml and add 6 & 8. It's up to you.

@rafaelklaessen Please squash cdd83ea into 8825ef8 and amend the commit message for the resulting commit. Also, please move the changelog changes in d18b7cf and a847a94 into a seperate, changelog-only commit. Let me know if you'd prefer that I do this.

I'd prefer if you it :)

Rebased locally and landed in ebf9ab8.


Is there a way to disable the app download option on flutter web?

When opening the application on a computer or browser in mobile a option for download or saving the page appears. There is some solution to disable this option?

Hi @rrrovalle, you can try adding this to your

Thank you, friend!


PdiffFailedError: Could not resize reference image to size of new image

I'm getting the before and after images generating properly, but pdiff fails due to error above.
Can anyone point me in the right direction to solve this?

I actually get this error on my deployed instance occasionally.

I think it's with a rather large image, but worth mentioning.
Error in workflow=dpxdt.client.pdiff_worker.DoPdiffQueueWorkflow({args: (), parent: dpxdt.client.queue_worker.DoTaskWorkflow#65191120, kwargs: {build_id: 1, reference_sha1sum: u'82b5a45f8ff1ab495a3060a3d0989ee6ede42982', release_number: 1, run_sha1sum: u'82b5a45f8ff1ab495a3060a3d0989ee6ede42982', run_name: u'Phone :: Enthusiasts', heartbeat: <function heartbeat at 0x4ee5398>, release_name: u'circleci-5309 by elsigh'}})#80232848 from item=dpxdt.client.pdiff_worker.ResizeWorkflow({parent: dpxdt.client.pdiff_worker.DoPdiffQueueWorkflow#80232848, kwargs: {timeout_seconds: 60}, args: ('/tmp/tmpHaHEno/log.txt',), resized_ref_path: '/tmp/tmpHaHEno/ref_resized', result: 1, ref_path: '/tmp/tmpHaHEno/ref', done: True, run_path: '/tmp/tmpHaHEno/run'})#69226896, error=None
Traceback (most recent call last):
File "/home/vmagent/app/dpxdt/client/workers.py", line 459, in handle_item
next_item = generator.send(item.result)
File "/home/vmagent/app/dpxdt/client/pdiff_worker.py", line 183, in run
'Could not resize reference image to size of new image')
PdiffFailedError: Could not resize reference image to size of new image

heh, I wonder if the reason has to do with this next error I see:
FetchThread:140054464915200 error item=dpxdt.client.fetch_worker.FetchItem({username: 'wpvisvlzkaqsankcbvohf7dkkgbr2biw', result_path: '/tmp/tmpdWqgfF/run', parent: dpxdt.client.release_worker.DownloadArtifactWorkflow#81232528, url: u'http://shiftdpxdt.appspot.com/api/download?sha1sum=82b5a45f8ff1ab495a3060a3d0989ee6ede42982&build_...', status_code: 200, timeout_seconds: 30, content_type: u'image/png', error: (<type 'exceptions.IOError'>, IOError(28, 'No space left on device'), <traceback object at 0x4313ab8...), post: None, password: 'ELIDED', data: None, _data_json: None})#86024656
Traceback (most recent call last):
File "/home/vmagent/app/dpxdt/client/workers.py", line 137, in run
next_item = self.handle_item(item)
File "/home/vmagent/app/dpxdt/client/fetch_worker.py", line 230, in handle_item
return fetch_internal(item, request)
File "/home/vmagent/app/dpxdt/client/fetch_worker.py", line 156, in fetch_internal
result_file.write(piece)
IOError: [Errno 28] No space left on device

Probably. That's why I suggest installing this package:
https://packages.debian.org/wheezy/tmpreaper

Oddly, tmpreaper is enabled in the Docker file

It could be that it's not being activated properly. IIRC you have to edit the config file in /etc/ to properly start the cronjob. I bet that changed or never worked.

I tried testing that theory yesterday but there's apparently a new bug in Mac OSX security update that causes boot2docker to just crash your machine. I figured that out the second time, and updated virtualbox.. then tried to get running locally without much luck.. I was hoping I could just shell into the instance and see what the config looked like.. Still investigating.


Unable to sync settings with Microsoft account

Issue Type: Bug
After a while, I'll get an error saying

Settings sync is suspended because of successive authorization failures. Please sign in again to continue synchronizing

After signing back in it seems to work for a while, but then eventually I get the same error again.
There are no issues with my account, and it has worked fine for weeks. This is only since the most recent update.
[2021-11-16 05:51:48.232] [settingssync] [info] Auto Sync: Triggered by Interval
[2021-11-16 05:51:48.305] [settingssync] [info] Request failed {"url":"https://vscode-sync.trafficmanager.net/v1/manifest","status":401,"execution-id":"e8724172-63c6-4e2a-8930-9adca6428d19"}
[2021-11-16 05:51:48.305] [settingssync] [info] Auto Sync: Suspended until auth token is available.
[2021-11-16 05:51:48.305] [settingssync] [info] Auto sync: Cancelled sync that is in progress
[2021-11-16 05:51:48.305] [settingssync] [info] Auto Sync: Stopped
[2021-11-16 05:51:48.305] [settingssync] [error] Unauthorized (UserDataSyncError) syncResource:unknown operationId:unknown: Request 'https://vscode-sync.trafficmanager.net/v1/manifest' failed because of Unauthorized (401).
    at p.request (vscode-file://vscode-app/c:/Users/Scotty/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:76:174848)
    at async p.manifest (vscode-file://vscode-app/c:/Users/Scotty/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:76:172045)
    at async u.createSyncTask (vscode-file://vscode-app/c:/Users/Scotty/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:76:142912)
    at async a.doSync (vscode-file://vscode-app/c:/Users/Scotty/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/code/electron-browser/sharedProcess/sharedProcessMain.js:76:137299)

VS Code version: Code 1.62.2 (3a6960b964327f0e3882ce18fcebd07ed191b316, 2021-11-11T20:56:38.428Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8086K CPU @ 4.00GHz (12 x 4008)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.84GB (3.46GB free)

Process Argv
--crash-reporter-id 75d2bff3-b4ef-4cb2-9b19-e7eeeba2b392

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Ubuntu

OS
Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

CPUs
Intel(R) Core(TM) i7-8086K CPU @ 4.00GHz (12 x 4008)

Memory (System)
7.69GB (6.01GB free)

VM
0%

Extensions (13)

Extension
Author (truncated)
Version

arm
dan
1.5.2

remote-wsl
ms-
0.58.5

material-icon-theme
PKi
4.10.0

material-theme
zhu
3.13.2

tasks
act
0.9.0

githistory
don
0.6.19

git-commits
Exe
3.10.2

vscode-pull-request-github
Git
0.32.0

poryscript
kar
2.2.1

cpptools
ms-
1.7.1

hexeditor
ms-
1.8.2

pin-up
sae
1.4.1

vscode-taskexplorer
spm
2.5.7

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30384385
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
dockerwalkthru:30377721
bridge0723:30353136
pythonrunftest32:30373476
pythonf5test824:30373475
javagetstartedt:30391933
pythonvspyt187:30373474
vsqsis300:30386381
vsaa593cf:30376535
vssld246:30386377
vscexrecpromptt2:30400062

/duplicate
#133201


Does the codebase support multi-view training as done in Table A6 of Appendix?

Hello,
First of all, thank you for releasing the code for your amazing research. I loved the fact that this paper tried from the get-go to make as few assumptions as possible and refrain from using too many human-specific priors.
My question is does the codebase support multi-view training i.e., training with multi-view video as done in Table A6 of the Appendix? I've found a flag in run_nerf.py that seems to refer to the use of multi-view video but it appears as though this flag isn't actually used during training of the NeRF: (https://github.com/LemonATsu/A-NeRF/blob/1b07b7aa2a0bd8d2f6bf13632b86760b4aa44e04/run_nerf.py#L447)
If the codebase doesn't yet support multi-view training, could you provide some advice as to how to modify the codebase to enable multi-view? For instance, how did you incorporate multi-view into the codebase when performing the experiments for Table A6?
Thank you in advance :)

@LemonATsu Thank you for the detailed explanation!
I just have a follow-up question about the process of "group the images that share the same pose together". If the camera-agnostic human pose is characterized by N joint rotations, each of which are described by ${\mathcal{SO}(3)}$ matrices that have continuous entries, isn’t it highly likely that every human pose will be “unique”?
How many "unique pose" clusters are there?

@andrewsonga Yes, you are right. All the poses are 'unique' in the sense that they are estimated separately, so the poses will always be different from each other (because of small estimation errors, etc).
Therefore, to group the pose together, we need to have prior knowledge on what poses should be the same. Take Human3.6m as an example, we get this prior knowledge by simply grouping the pose at the same time step from different cameras together. Simply put, we need the knowledge that "these poses are captured at the same time, but from different views/cameras" to do this optimization.
In principle, having that knowledge should also allow you to do camera calibration, which should give you better multi-view pose refinement. But we opt to not do that for simplicity.


Tracking issue: Modernize governance

Background
We need to improve governance to avoid voting fatigue, allow for multi-message proposals, simplify contract release, and potentially other goals.
This is a design ticket for the necessary governance changes
Suggested Design
Some ideas include

Replace gov with DaoDao
Add gov proposal categories

Acceptance Criteria
The spec and AC for this is TBD

Started a design document here: https://hackmd.io/BAfWGPxKQVCNRdJhSt_JfA

Closing as duplicae of #4387


"..." instead of ".."

Hello! So this is a quick fix! For some weird reason, it says "..." instead of "." I'm pretty sure the culprit is this: "\Unluau\Lifter\Expressions\Vararg.cs" On line 16, it says "output. Write "..." when it should be "output. Write("..");" This is just weird, and please note that I don't know a lot about scripting, so if this is for something else, please tell me.

This is for variable number arguments: https://www.lua.org/pil/5.2.html. It is not a bug,


Feature request: Expose prometheus metrics at a /metrics endpoint

We primarily use prometheus for service monitoring.  It would be great if Cadence could expose prometheus formatted metrics at a /metrics endpoint.

Indeed, the same here. m3db folks already doing it ;)


GLIBC_2.25 not found

Installed the eu-west-2 layer for a Larvel Vapor project for use with snappy, but getting this error:
message: "The exit status code '1' says something went wrong:↵stderr: "/opt/bin/wkhtmltopdf: /lib64/libc.so.6: version `GLIBC_2.25' not found (required by /opt/lib/libuuid.so.1)↵"↵stdout: ""↵command: /opt/bin/wkhtmltopdf --lowquality --encoding 'utf-8' --footer-font-size '8' --footer-left 'Please acknowledge receipt of this claim immediately. If this is not confirmed within 30 days it will be treated as conceded.' --footer-right 'Page [page] of [topage]' '/tmp/knp_snappy5f5909c3905599.69498844.html' '/tmp/knp_snappy5f5909c3905ab8.36615393.pdf'."
I assume it's because Amazon Linux 2 doesn't include all the necessary packages by default, but the main page states these layers are compatible with AL2?

I have not use Laravel Vapor, so unsure what the actual execution environment is.
According to https://github.com/laravel/vapor-php-build/blob/master/php74/compiler.Dockerfile, it may seem that it uses Amazon Linux. I will try to find out whats causing this issue.
Could you try if this ARN works: arn:aws:lambda:eu-west-2:347599033421:layer:wkhtmltopdf:1
That layer ARN was created before wkhtmltopdf changes its build process, so uuid was not required.

Thanks Brandon!
If I login to our EC2 instance we get the following:
Last login: Wed Sep  9 14:42:57 2020 from

       __|  __|_  )
       _|  (     /   Amazon Linux 2 AMI
      ___|\___|___|

https://aws.amazon.com/amazon-linux-2/
55 package(s) needed for security, out of 137 available
Run "sudo yum update" to apply all updates.
[ec2-user@ip-0-0-0-0 ~]$ cat /etc/os-release
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"

I'll give the other ARN a try and report back.

That other ARN has worked! Thank you Brandon.