Create typescript definition for postman-bdd

I'm creating e2e postman tests localy in code, example for postman call:
"use strict";

const postman = require('../postman');

exports.name = 'getAdvice';
exports.description = 'Advice list';

exports.request = {
  url: " {{url}}/v1/collections/HW2016_RUNNING__IDE",
  method: "GET",
  header: [
    {
      key: 'x-api-key',
      value: '{{x-api-key}}'
    }
  ]
};

exports.event = [
  postman.events.test(() => {
    describe('Get customer info', () => {
      it('should return a 200 response', () => {
        response.should.have.status(200);
      });
    });
  })
];

And it would speed up my process of writing tests if postman-bdd would have somekind of typescript definition file which would make IDE hinting more acurate for faster development.

npm install --save-dev @types/chai
npm install --save-dev @types/chai-http

Good idea!  I've never used TypeScript, so I'm not familiar with how to create TypeScript definition files, but if someone else wants submit a PR, I'll gladly merge it

I'm doing it right now, tomorow i will try to make PR. Maybe it would be nice to push  it on https://github.com/DefinitelyTyped/DefinitelyTyped

Just to help with the definition file... Here are the top-level global variables that Postman BDD exposes, and their properties/methods:
describe([string], function)
it([string], function)
before([string], function)
after([string], function)
beforeEach([string], function)
afterEach([string], function)

assert(boolean, [string])
expect([any])

postmanBDD
  .logLevel - string

request
  .method - string
  .url - string
  .headers - object
  .data - object

response
  .status - number
  .statusType - number
  .info - boolean
  .ok - boolean
  .redirect - boolean
  .clientError - boolean
  .serverError - boolean
  .error - boolean
  .accepted - boolean
  .noContent - boolean
  .badRequest - boolean
  .unauthorized - boolean
  .notAcceptable - boolean
  .notFound - boolean
  .forbidden - boolean
  .time - number
  .headers - object
  .type - string
  .charset - string
  .cookies - object
  .text - string
  .body - object
  .getHeader(string)
  .getCookie(string)

chai
  .use(function)
  .assert(boolean, [string])
  .expect([any])
  .should

object
  .should
  .to
  .be
  .been
  .is
  .that
  .which
  .and
  .has
  .have
  .with
  .at
  .of
  .same
  .a
  .an
  .equal
  .deep
  .... (all the rest of the Chai and Chai-Http assertions)

Thanx man! Much appreciated!

btw, @urosjarc, I'm very interested in your API testing approach.  You appear to be writing all of your tests in Node.js, and dynamically generating a Postman Collection, which I presume you then run via Newman.  Is that correct?  Are you using the Postman Collection SDK to generate the collection file?
Is your project open-source?  I'd love to see your code that builds the collection file and runs it.

Well its nothing special, i'm developing e2e testing arhitecture for ???? company. But I hate that all the tests was on remote postman server with no version control system, IDE support, hintings etc... (This is how I found your lib) GOOGLE: Include external npm packages to postman tests xD. Anyhow, I was thinking how can I create my local e2e tests and how to create good syncing with local and remote collection. So I figure it out that the best way was to create postman collection from node modules.
e2e
├── Advices                 <- Postman folder
│   ├── getAdvice.js     <- Folder request + tests
│   └── index.js            <- Folders info require('./getAdvice')
├── index.js                 <- Collections info require('./Advice')
├── postman.js            <- Helper methods
└── postman.d.ts         <- Postman hints

If you require node module, the result is json object... (if create good structure the structure its self is postman collection). For tests I stringify function body (search Stackowerflow).
For build tasks I use official postman API:
gulp.task('postman:diff', 'Create diff report for remote and local e2e tasks.', ['postman:backup'], (cb) => {
  jsonDiff([path.join(__dirname, 'docs/remote.postman.json'), path.join(__dirname, 'build/e2e.postman.json')]);
  cb();
});

gulp.task('postman:backup', 'Back up local and remote collection.', ['postman:pull'], () => {
  const backupPath = path.join(__dirname, 'build', 'e2e.postman.json');
  gutil.log('>', 'E2E backup exported to:', backupPath);
  fs.writeFileSync(backupPath, JSON.stringify(e2e, null, '\t'));
});

gulp.task('postman:push', 'Push local postman e2e collection to remote postman collection.', ['test:e2e'], (cb) => {

  const options = {
    "method": "PUT",
    "hostname": postmanConfig.api.url,
    port: null,
    "path": `/collections/${postmanConfig.collections_uid}`,
    "headers": {
      "x-api-key": postmanConfig.api.key
    }
  };

  const req = http.request(options, (res) => {
    const chunks = [];

    res.on("data", (chunk) => {
      chunks.push(chunk);
    });

    res.on("end", () => {
      const body = Buffer.concat(chunks);
      console.log(JSON.stringify(JSON.parse(body.toString()), null, '  '));
      cb();
    });
  });

  req.write(JSON.stringify({
    collection: e2e
  }));

  req.end();
});

gulp.task('postman:list', 'List remote postman collections.', (cb) => {

  const options = {
    "method": "GET",
    "hostname": postmanConfig.api.url,
    port: null,
    "path": '/collections',
    "headers": {
      "x-api-key": postmanConfig.api.key
    }
  };

  const req = http.request(options, (res) => {
    const chunks = [];

    res.on("data", (chunk) => {
      chunks.push(chunk);
    });

    res.on("end", () => {
      const body = Buffer.concat(chunks);
      JSON.parse(body.toString()).collections.forEach((ele) => {
        console.log(` > ${ele.name}`);
        console.log(`    - Owner: ${ele.owner}`);
        console.log(`    - UID: ${ele.uid}`);
        console.log(`    - ID: ${ele.id}`);
      });
      cb();
    });
  });

  req.end();
});

gulp.task('postman:pull', 'Pull remote postman collection to docs folder.', (cb) => {

  const options = {
    "method": "GET",
    "hostname": postmanConfig.api.url,
    port: null,
    "path": `/collections/${postmanConfig.collections_uid}`,
    "headers": {
      "x-api-key": postmanConfig.api.key
    }
  };

  const req = http.request(options, (res) => {
    const chunks = [];

    res.on("data", (chunk) => {
      chunks.push(chunk);
    });

    res.on("end", () => {
      const body = Buffer.concat(chunks);
      const filePath = path.join(__dirname, './docs/remote.postman.json');
      gutil.log('>', 'POSTMAN backup exported to:', filePath);
      fs.writeFileSync(filePath,
        JSON.stringify(JSON.parse(body.toString()).collection, null, '\t')
      );
      cb();
    });
  });

  req.end();
});

You know what it would be cool! To create 'gulp-postman' lib which would integrate postman api like I did... Are you interested in colaboration?

Wait what? Are you working in postmanlabs? What? And I'm inviting you for colaboration xD

Haha... yes, I work at Postman.  I really like your approach, and I'm thinking about how it could be made more generic to work for more people.  I'd make it a standalone npm package (no Gulp dependency) and then create a separate npm package for the Gulp plugin (the plugin would just wrap the standalone npm package)

I would really like to see for example mocha like postman lib which would detect e2e structure automaticly and parse e2e testing structure to newman:
describe_folder('POSTMAN_FOLDER', 'description', () => {
        describe_route('GET','{{url}}/some/path', () => {
                it('returns 200', () => {...})
                it('returns 200', () => {...})
        });
});

It would be nice to move this conversation to private chanels... gitter maybe?

I will create pull requests in DefinitelyTyped.
One for postman-test, and one for postman-dbb.d.ts in your repository.

@BigstickCarpet : Is it possible to put postman-sandbox types definitions here in to your repository?

Yep!  Go ahead.  Since Postman BDD only works inside the Postman Sandbox, it makes sense to include both type definitions


Warning in Cython compilation

warning: /tmp/pyFAI/src/pyFAI/ext/_bispev.pyx:193:14: noexcept clause is ignored for function returning Python object

Same for
warning: /tmp/pyFAI/src/pyFAI/ext/sparse_builder.pxi:90:8: noexcept clause is ignored for function returning Python object
warning: /tmp/pyFAI/src/pyFAI/ext/sparse_builder.pxi:100:15: noexcept clause is ignored for function returning Python object
warning: /tmp/pyFAI/src/pyFAI/ext/sparse_builder.pxi:193:24: noexcept clause is ignored for function returning Python object
warning: /tmp/pyFAI/src/pyFAI/ext/sparse_builder.pxi:205:15: noexcept clause is ignored for function returning Python object
warning: /tmp/pyFAI/src/pyFAI/ext/sparse_builder.pxi:231:14: noexcept clause is ignored for function returning Python object
warning: /tmp/pyFAI/src/pyFAI/ext/sparse_builder.pxi:236:15: noexcept clause is ignored for function returning Python object
warning: /tmp/pyFAI/src/pyFAI/ext/sparse_builder.pxi:311:12: noexcept clause is ignored for function returning Python object
warning: /tmp/pyFAI/src/pyFAI/ext/sparse_builder.pxi:317:15: noexcept clause is ignored for function returning Python object

Not opened in the right project?
There's the same in silx: #4105

My bad !


fix: confirm and upload fix

What

Delete the retakenPhoto when it's been uploaded, not just after it has been used

Screenshot

https://user-images.githubusercontent.com/57723319/170814765-6d86b6ac-cd27-4240-b167-8623f7b106df.mp4
Fixes bug(s)

Fixes: #1962

Part of

https://github.com/openfoodfacts/smooth-app/issues/525
https://github.com/openfoodfacts/smooth-app/labels/p0

Codecov Report

Merging #2043 (32e96b2) into develop (2ea0da3) will increase coverage by 0.17%.
The diff coverage is n/a.

:exclamation: Current head 32e96b2 differs from pull request most recent head 4aa6d7f. Consider uploading reports for the commit 4aa6d7f to get more accurate results

@@            Coverage Diff             @@
##           develop   #2043      +/-   ##
==========================================
+ Coverage     8.86%   9.03%   +0.17%
==========================================
  Files          161     176      +15
  Lines         6623    8431    +1808
==========================================
+ Hits           587     762     +175
- Misses        6036    7669    +1633

Impacted Files
Coverage Δ

...kages/smooth_app/lib/widgets/attribute_button.dart
0.00% <0.00%> (-92.00%)
:arrow_down:

...s/smooth_app/lib/data_models/user_preferences.dart
12.64% <0.00%> (-19.67%)
:arrow_down:

packages/smooth_app/lib/themes/smooth_theme.dart
64.10% <0.00%> (-18.88%)
:arrow_down:

...p/lib/generic_lib/dialogs/smooth_alert_dialog.dart
19.41% <0.00%> (-14.80%)
:arrow_down:

...mooth_app/lib/data_models/product_preferences.dart
26.47% <0.00%> (-4.96%)
:arrow_down:

...s/smooth_app/lib/pages/onboarding/next_button.dart
0.00% <0.00%> (-4.00%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/welcome_page.dart
0.00% <0.00%> (-3.13%)
:arrow_down:

packages/smooth_app/lib/main.dart
15.59% <0.00%> (-2.30%)
:arrow_down:

.../smooth_app/lib/pages/onboarding/scan_example.dart
0.00% <0.00%> (-2.28%)
:arrow_down:

...p/lib/pages/onboarding/consent_analytics_page.dart
0.00% <0.00%> (-1.57%)
:arrow_down:

... and 150 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 3f0b775...4aa6d7f. Read the comment docs.

Is the actual upload working ok ?

@teolemon  the upload should work fine,
where do I get the test products to test the same?
I was afraid I might not mess up the DB

You can

scan a book, or a non food product barcode
search for "test"
type the barcode of a book, or a non food product barcode in search

Okay will test now and update

@AshAman999 or you can switch to the dev environment in the developer settings

Though it doesn't refresh immediately but it does upload for sure 😬
https://user-images.githubusercontent.com/57723319/170826253-54532fa3-c946-415b-bc0d-cc326887fef0.mp4

Lets leave that for another PR @AshAman999


I2C Mem_Write might raise Constraint_Error

Line 305 in rp-master.adb reads:
A : constant I2C_Data (1 .. 1) := (1 => UInt8 (Mem_Addr));
This raises CE if Mem_Addr > 255.
It should be written as
A : constant I2C_Data (1 .. 1) := (1 => UInt8 (16#FF# and Mem_Addr));

Same case in line 345 for Mem_Read

This is intentional. You cannot not use a Mem_Addr > 255 when Mem_Addr_Size = Memory_Size_8b. If you need to use a 16-bit memory address, then you should set Mem_Addr_Size to Memory_Size_16b.

OK, makes sense. Can be closed.


Fix interference in fling-scrolling from cross-axis motion

Fixes #120345.
The main change here is that when a single-axis DragGestureRecognizer (say, a VerticalDragGestureRecognizer) sees the end of a drag, it now projects the drag's velocity onto its own single axis, and then clamps that.  Previously it would clamp the velocity's magnitude as a 2D vector, and then consumers would project that, which resulted in clamping too hard when the motion wasn't precisely on-axis.
For PanGestureRecognizer, the behavior is unchanged: we continue clamping the velocity as a 2D vector, which is the geometrically nice behavior when we're not trying to focus on a single axis.
When I'd first looked at this code, I was concerned that fixing this issue might require a breaking change.  But happily I believe it doesn't, for two reasons:

This base class DragGestureRecognizer is effectively sealed (even though Dart doesn't quite yet have that feature), because it has private abstract methods.
Dart won't actually stop you extending it, but that seems like a bug in Dart (*); when the class's own method implementations go try to call those methods, they'll produce runtime errors.  So it's not possible to subclass it in any useful way from outside the library, which means there are likely no such subclasses anywhere.  That means we can freely alter the API between the base class and its subclasses.
(*) In fact, it's in the Dart tracker: https://github.com/dart-lang/sdk/issues/25462

We're also changing the behavior of the onEnd callback: previously it would return a DragEndDetails with a two-dimensional velocity, even for a single-axis recognizer, and now it returns a velocity that's always zero in the cross axis.  In principle that could be a breaking change; it's a bit odd for a VerticalDragGestureRecognizer to be telling you there was horizontal as well as vertical motion, but someone could nevertheless be depending on that.
Fortunately, it turns out that the onUpdate callback's behavior already agrees with the view that that is an odd thing that shouldn't happen: it already returns an axis-locked velocity from single-axis recognizers.  So the existing onEnd behavior is inconsistent with that; and whatever someone might try to do with cross-axis velocity from onEnd, it seems like it'd be hard for them to be doing it successfully already when onUpdate isn't going along.  That makes me hopeful that nobody is depending on that behavior and we can freely clean it up.

Also add tests, not only for the changes but for the existing behavior: it turns out that the fancy 2-D clamping, which we keep for PanGestureRecognizer because it's helpful there, wasn't tested at all.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

After this change, if you fling rapidly on Android, the distance the fling travels is a pixel-perfect match for the distance it would travel with a native Android list.
Previously #120420 made that true if you managed to swipe your finger precisely along the scroll axis with negligible cross-axis motion. With that PR now merged, this change makes it true even if you move your finger at an angle, which is the most natural motion for many ways of using a phone.
Here are before/after screen recordings, taken with the platform_tests/scroll_overlay app on a Pixel 5 running Android 13:

Before
After

I say the match is pixel-perfect "if you fling rapidly" because if you make a less rapid fling, you can still get small differences.
I suspect this means that we're estimating a different velocity for the drag than Android is. Flinging rapidly means the velocity is large enough that it gets clamped, masking any such difference, so that this PR fixing the clamping behavior plus #120420 previously fixing the ensuing fling curve is enough to make the behavior match exactly.
Those remaining differences for slower flings are small, and I haven't debugged to work out the pattern of them. I'm also not yet sure they're enough to matter from a user perspective: they're easily noticed when using the scroll_overlay app, which is all about highlighting such differences, but I think they might be awfully subtle when simply using a scrollable in an app and the existing behavior (after this PR) may feel just fine.

Windows tests failed with the flake #103230:
[   +1 ms] Evaluating project ':app' using build file 'C:\b\s\w\ir\x\w\flutter\examples\platform_view\android\app\build.gradle'.
[   +1 ms] Caching disabled for Kotlin DSL script compilation (Project/ScriptPlugin/stage1) because:
[        ]   Build cache is disabled
[        ] Skipping Kotlin DSL script compilation (Project/ScriptPlugin/stage1) as it is up-to-date.
[   +1 ms] FAILURE: Build failed with an exception.
[   +3 ms] * Where:
[        ] Script 'C:\b\s\w\ir\x\w\flutter\packages\flutter_tools\gradle\flutter.gradle.kts' line: 34
[        ] * What went wrong:
[        ] Failed to apply plugin class 'Flutter_gradle$FlutterPluginKts'.
[        ] > Comparison method violates its general contract!
[        ] * Try:
[        ] > Run with --debug option to get more log output.
[        ] > Run with --scan to get full insights.
[        ] * Exception is:
[        ] org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin class 'Flutter_gradle$FlutterPluginKts'.

Re-running.


npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.

I always have this warning so my webhook netlify failed.
I need just npm i @rebass/grid
Why do I have to install react-emotion ? How to fix that ? I don't need react-emotion, I have styled-component

The peer dependencies should probably be removed altogether


Add open source llm documentation

Description
Azure Foundation Models allow users to leverage powerful open source models such as Dolly-v2 and LLaMa2 from the AzureML Model Catalog. The Open Source LLM tool is a new addition to Prompt Flow that enables users to use the Foundation Models. We add documentation on the Open Source LLM tool with this PR.

@matthewdeguzman - Thanks for your pull request. A member of the content team will review it.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


[rtl] Use CSR abstraction for FIFO windows wherever possible

An example of this is in the flash_ctrl where the prog_fifo and rd_fifo are single 32-bit windows to a fifo implementation underneath.
https://github.com/lowRISC/opentitan/blob/00cad63f191454a95f97830a009de3a0381e84eb/hw/ip/flash_ctrl/data/flash_ctrl.hjson#L470
The UVM register abstraction automation uses the window keyword to create a memory, which makes scoreboard / checking logic development slightly tricky, since these are better suited as registers. I wanted to know if we can change these to WO and RO registers instead, similar to WDATA and RDATA in UART.

I think @tjaychen can comment in detail but register interface doesn't
have back pressure mechanism. Reg interface would be safer but has
chance to lost the data.
On 7/7/20 12:05 PM, sriyerg wrote:

An example of this is in the |flash_ctrl| where the |prog_fifo| and
|rd_fifo| are single 32-bit windows to a fifo implementation underneath.
https://github.com/lowRISC/opentitan/blob/00cad63f191454a95f97830a009de3a0381e84eb/hw/ip/flash_ctrl/data/flash_ctrl.hjson#L470
The UVM register abstraction automation uses the |window| keyword to
create a memory, which makes scoreboard / checking logic development
slightly tricky, since these are better suited as registers. I wanted
to know if we can change these to WO and RO registers instead, similar
to |WDATA| and |RDATA| in UART.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/2724, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJDG3UEEQIQMRHGDSOS6ZDR2NWW7ANCNFSM4OTJ2TBQ.

Aah, I see. Do you think we could add a backpressured field to the register hjson dict? Or, alternately, split window into two types of abstractions - one is a CSR backing a fifo and the other is a pure memory instance such as ram / rom / flash.

Having type inside window field as you mentioned looks good idea.
On 7/7/20 12:46 PM, sriyerg wrote:

Aah, I see. Do you think we could add a |backpressured| field to the
register hjson dict? Or, alternately, split |window| into two types of
abstractions - one is a CSR backing a fifo and the other is a pure
memory instance such as ram / rom / flash.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/lowRISC/opentitan/issues/2724#issuecomment-655086770,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAJDG3RISNCMB4DYU76MF23R2N3Q5ANCNFSM4OTJ2TBQ.

@sriyerg , for the type abstraction you're talking about, would that just be a note for DV? Because I can't quite tell based on the comment what would change in the design.  It sounds like in both cases it would still be a tlul going out, and we would rely on the design to do the right thing? (either FIFO or real memory)
Also, is there something about the flash_ctrl usage of fifo that is different from hmac that makes it harder to handle? Or both these modules have the same issue?

I should have been clear - nothing would change in the design. This is more of a DV modeling issue. with window rd_fifo and prog_fifo in DV gets models as a UVM memory. It felt like they were better modeled as registers. I just wanted to see if we can update the ralgen automation in a way where that the design is not affected in any way, but for DV it creates a UVM register model rather than a UVM memory model. Let me think about this a little more and get back.

thanks @sriyerg
let me think about this some more also. I'll check in with the software team on the back-pressuring, because some members of the software team will be very against the idea of deadlocking.


With classic resolution, don't provide import for a location inside node_modules

Fixes #20050

Closing in favor of #20453.


[BUG] Consumer gets old offset when it joins consumer group

Describe the bug
I have a long-running test that has three consumers in a consumer group, every 40 minutes it stops one consumer, then 20 minutes later adds a new consumer to the group. So every 40 minutes there is a new consumer.
The new consumer often gets an old offset.
To Reproduce
pulsar-cloud:<IP_ADDRESS>
pulsar-protocol-handler-kafka-<IP_ADDRESS>.nar
sncloud-staging ('eagle' poolmember)
Steps to reproduce the behavior:

Start three Kafka consumers in the same group.
a. The consumers are configured with auto.offset.reset=earliest, enable.auto.commit=false.
b. The consumers call commitSync() after each message is received.
Start a Kafka producer and produce messages to the topic.
Stop a consumer, wait a few minutes.
Add a new consumer to the group, wait a few minutes.
Repeat (stop a consumer, wait, add a consumer).

Expected behavior
Expect the new consumer always to start at the last committed offset.
Instead, the new consumer often starts at an older offset. Over time this causes the consumers to receive thousands of duplicate messages.
Screenshots
Consumers receive more messages than the producer sends. Many duplicate messages received.

Additional context
My client source code: https://github.com/streamnative/continuous-verification/tree/master/workers/kop-produce-consume/app/src
Running with this config:
    acceptableKafkaReceiveLatencyMs: 750
    **consumerGroupRebalanceIntervalMs: 1200000**
    **doConsumerGroupRebalance: true**
    elasticSearchUrl: null
    heartbeatServiceAccount<EMAIL_ADDRESS>    kafkaBootstrapServers: null
    kafkaConsumer:
      autoCommitIntervalMs: 500
      **enableAutoCommit: false**
      groupId: kop-produce-consume
    kafkaProducer:
      acks: all
      clientId: kop-produce-consume
    metricsPort: 8080
    produceIntervalMs: 5000
    pulsarClient:
      oauthAudience: urn:sn:pulsar:cv-pulsar:test-2-9-kop2
      oauthCredentialsUrl: file:///var/creds/service-account.json
      oauthCredentialsUrlAdmin: file:///var/admincreds/admin-service-account.json
      oauthIssuerUrl: https://auth.sncloud-stg.dev/
      serviceUrl: pulsar+ssl://test-2-9-kop2-49eea6ed-86f7-472a-8ac5-29787c6ee3cd.gcp-shared-gcp-usce1-eagle.streamnative.g.sn3.dev:6651
      serviceUrlAdmin: https://test-2-9-kop2-49eea6ed-86f7-472a-8ac5-29787c6ee3cd.gcp-shared-gcp-usce1-eagle.streamnative.g.sn3.dev
    target: test-2-9-kop
    targetNamespace: cv-pulsar
    topic: public/default/partitioned-topic

It seems to happen on a cycle. The offset is stale for a few hours, then the new consumers get the correct offset when they join, for a while, then the offset is stale again.

From the client logs:
"May 17, 2022 @ 07:47:17.928","kop-produce-consume2-test-2-9-kop2-75c774df49-mk746","13:47:17.927 [kafka-consumer-109] INFO kop.produce.consume.KafkaConsumer - Received message 1:32266,<PHONE_NUMBER>477 with latency of 422 ms"
"May 17, 2022 @ 07:47:22.647","kop-produce-consume2-test-2-9-kop2-75c774df49-mk746","13:47:22.646 [kafka-consumer-98] INFO kop.produce.consume.KafkaConsumer - Received message 2:32246,<PHONE_NUMBER>477 with latency of 140 ms"
"May 17, 2022 @ 07:47:27.964","kop-produce-consume2-test-2-9-kop2-75c774df49-mk746","13:47:27.964 [kafka-consumer-109] INFO kop.produce.consume.KafkaConsumer - Received message 0:32336,<PHONE_NUMBER>477 with latency of 457 ms"
"May 17, 2022 @ 07:47:30.401","kop-produce-consume2-test-2-9-kop2-75c774df49-mk746","13:47:30.401 [rebalancer] INFO kop.produce.consume.KafkaConsumerSupervisor - ******** Starting kafka consumer kafka-consumer-130 ********"
"May 17, 2022 @ 07:47:31.341","kop-produce-consume2-test-2-9-kop2-75c774df49-mk746","13:47:31.341 [kafka-consumer-109] INFO org.apache.kafka.clients.consumer.internals.ConsumerCoordinator - [Consumer clientId=consumer-kop-produce-consume-109, groupId=kop-produce-consume] Setting offset for partition public/default/partitioned-topic-0 to the committed offset FetchPosition{offset=32232, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[test-2-9-kop2-broker-0-49eea6ed-86f7-472a-8ac5-29787c6ee3cd.gcp-shared-gcp-usce1-eagle.streamnative.g.sn3.dev:9093 (id:<PHONE_NUMBER> rack: null)], epoch=absent}}"
"May 17, 2022 @ 07:47:31.341","kop-produce-consume2-test-2-9-kop2-75c774df49-mk746","13:47:31.341 [kafka-consumer-98] INFO org.apache.kafka.clients.consumer.internals.ConsumerCoordinator - [Consumer clientId=consumer-kop-produce-consume-98, groupId=kop-produce-consume] Setting offset for partition public/default/partitioned-topic-2 to the committed offset FetchPosition{offset=32140, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[test-2-9-kop2-broker-0-49eea6ed-86f7-472a-8ac5-29787c6ee3cd.gcp-shared-gcp-usce1-eagle.streamnative.g.sn3.dev:9093 (id:<PHONE_NUMBER> rack: null)], epoch=absent}}"
"May 17, 2022 @ 07:47:31.342","kop-produce-consume2-test-2-9-kop2-75c774df49-mk746","13:47:31.342 [kafka-consumer-130] INFO org.apache.kafka.clients.consumer.internals.ConsumerCoordinator - [Consumer clientId=consumer-kop-produce-consume-130, groupId=kop-produce-consume] Setting offset for partition public/default/partitioned-topic-1 to the committed offset FetchPosition{offset=32153, offsetEpoch=Optional.empty, currentLeader=LeaderAndEpoch{leader=Optional[test-2-9-kop2-broker-0-49eea6ed-86f7-472a-8ac5-29787c6ee3cd.gcp-shared-gcp-usce1-eagle.streamnative.g.sn3.dev:9093 (id:<PHONE_NUMBER> rack: null)], epoch=absent}}"

@Demogorgon314 This seems fixed in <IP_ADDRESS>, does that sound right? Do you know what PR fixes this?

@utahkay PR#1501 has fixed this issue.

Here the client receives the same message 1:157137 three times
Client logs
Received message 1:157709,<PHONE_NUMBER>014 with latency of 505 ms
Resetting offset for partition public/default/kop-topic-1 to position FetchPosition{offset=156746
Received message 1:156746,<PHONE_NUMBER>347 with latency of 14569905 ms

It isn't happening on every consumer group rebalance like it used to. It happens about every 4-6 hours, which translates to about every 12-18 consumer group rebalances.


QueryProxy replace_with + multiple model classes + id_property = nothing removed

When defining a has_many relationship with more than one model classes, and the model classes have defined custom id properties, QueryProxy replace_with fails to correctly delete the old relationships.
This is because QueryProxyLink#converted_key converts :id to :uuid when no model class is given. Due to this issue,pluck(:id) returns an array of nils in this scenario.
Suggested actions:

refactor replace_with to get the right ids for the various model classes
change converted_key to raise an error in this situation, instead of returning uuid. This may cause some breakage, but it will change some already-broken code from failing silently to failing with an exception, which is an improvement in my opinion.

Code example (inline, gist, or repo)
class Book
  include ActiveGraph::Node

  id_property :isbn

  has_one :in, :publisher, origin: :published_things, model_class: %w(Publisher)
end

class Magazine
  include ActiveGraph::Node

  id_property :issue_id

  has_one :in, :publisher, origin: :published_things, model_class: %w(Publisher)
end

class Publisher
  include ActiveGraph::Node

  has_many :out, :published_things, type: :published, model_class: %w(Book Magazine)
end

original = [ Magazine.create!(issue_id: "1234"), Book.create!(isbn: "098512=25") ]
publisher = Publisher.create!
publisher.published_things = original

replacement = [ Magazine.create!(issue_id: "09820685") ]
publisher.published_things = replacement # leads to replace_with being called
publisher.reload

puts publisher.published_things.count # puts 3

note: I ran into this problem while also using an ActiveGraph::Relationship. I'm pretty sure that's not relevant to the issue, but I could be wrong.
Runtime information:
Neo4j database version:
neo4j gem version:  10.1.0
neo4j-ruby-driver gem version: 1.7.5

Another alternative here would be to change replace_with to always just fully delete before inserting the new relationships.


Get Cluster Information for Running FA on AWS and Test Nodes Status

Get cluster information for running Fence Agent (FA) on AWS (and partially for BMH cluster platform) and test node's status.
We now add a non-dummy FA, fence_aws  for AWS clusters or fence_ipmilan for Bare Metal cluster, to test it in CI. ATM we support AWS cluster, thus only fence_aws has been tested.
This PR uses Kubernetes resources to get cluster information for running the fence agent:

Cluster Type
For AWS clusterss - AWS Region
Credentials : access key and access id

In this PR we only test fence_aws on CI with status action. and #20 will address the reboot/remediation action.

/retest

It seems like the PR helped to fetch the AWS cluster information, since it didn't fail in the process, but running the CLI command was denied (1.680609830558035e+09	ERROR	executer	Failed to run exec command	{"com....
I need to follow up after Passover to better understand from FAR's logs if it has failed due to wrong call of fence_aws with it's parameters or a permission issue...

/retest

/retest

Yay! All green

/lgtm
/hold
As far as I'm concerned only nits - feel free to unhold/fix further/wait for more feedback

/unhold


refresh signed cert

What is the purpose of the change
refresh signed cert
Brief changelog
XX
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist.
[ ] Run `mvn clean compile --batch-mode -DskipTests=false -Dcheckstyle.skip=false -Drat.skip=false -Dmaven.javadoc.skip=true to make sure basic checks pass.

Codecov Report

Merging #1031 (290cf30) into refactor-with-go (a07bde1) will decrease coverage by 3.90%.
The diff coverage is 100.00%.

@@                 Coverage Diff                  @@
##           refactor-with-go    #1031      +/-   ##
====================================================
- Coverage             82.52%   78.63%   -3.90%
====================================================
  Files                    13       13
  Lines                   973     1025      +52
====================================================
+ Hits                    803      806       +3
- Misses                  132      180      +48
- Partials                 38       39       +1

Impacted Files
Coverage Δ

pkg/authority/security/server.go
66.11% <100.00%> (ø)

... and 3 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Text serialization tool in the CFE doesn't update the environment with local initializers

The internal text serialization tool in the CFE maintains the environments for the code it serializes to correctly handle the references to the variable declarations. The variable declarations introduced by LocalInitializer AST nodes aren't added to the environment for the constructor initializer part and aren't visible in the initializers below them. An attempt to serializer a library containing such variable references results in a crash.

I believe this issue can be closed since the mentioned text serialization tool is disabled and removed by now.
@johnniwinther please reopen if needed.


Let the task framework configure 'Press any key to close the terminal'

VSCode Version: master

I demoed the new task support to @egamma and he was confused about the message since it sounds very equal to a message shown in the cmd.exe when running a bat file. Especially since the user has no hint to know that the terminal will be reused and feels obligated to press a key to close the terminal.
Since we need to experiment a little with the message it would be best if we could customize the message.

The minimal change is to prefix/suffix the meta output as suggested in #27398.
If the message API is only used by tasks then I suggest a specific message like: <Terminal will be reused by tasks,  press any key to close it>

@Tyriar I made waitOnExit?: boolean | string. If a string I take the passed message. So no tasks strings in the terminal code :-)


Can we use multiple cloud sources?

DWR has asked about the possibility of using multiple data sources for retrieving the GOES data.  Currently we are only using AWS services.  Some of the questions that need to be answered are:

Do you need a valid login for any service
Are the buckets organized in the same way, or close enough we can script their locations.
Are the delivered files the same

Background
NOAA's data disemination page indicates three providers for the GOES data.  They also say the data is freely available.  Of the three, both AWS and Google have the data there, while Azure link is broken.
Amazon's GOES-18 Bucket, Google's GOES-18 Bucket are both organized in the same fashion, and should be easy to use either version.
Amazon uses the aws command-line tool, while google uses gcloud and 'gsutil` for access.

Yes!, the g.cimis.daily_solar code was updated to show this is fairly simple to do. See https://github.com/qjhart/g.cimis.daily_solar/issues/2


Gets rid of registerDecorationType in inlay hints controller

See #132537.
The utility introduced by this PR can be made a general utility later.

Tho, not sure what the overall motivation is? Is before/afterInjectedText going aways?

Yes. Ideally, everything related to "decoration types" is going away, as its implementation is very complicated.


How to configure nginx with windows AD?

I have successfully added "nginx-auth-ldap" to nginx when do the configure with centos7(after have a lots of trouble with centos6, so I strongly recommend you to try centos7 ). However, I do not have much luck with company AD, my config in nginx.conf file is like below
    ldap_server openldap {

    url "ldap://<ADIP>:389/ou=Domain Users,dc=<companydomain>,dc=com?sAMAccountName?sub?(&(objectClass=*))";

    #binddn "cn=Manager,dc=companydomain,dc=com";
    #binddn_passwd "secret";
    group_attribute memberuid;
    group_attribute_is_dn on;
    require valid_user;
                         }

Anyone can suggest whether I should uncomment binddb and binddn_passwd or how need I to modify add config file? Instant response will be much appreciated.
Regards,
James Pei

url ldap://dc1.local:3268/DC=du,DC=local?sAMAccountName?sub?(objectClass=person);
binddn "DULOCAL\username";
binddn_passwd "password";
group_attribute uniquemember;
group_attribute_is_dn off;
require valid_user;
ssl_check_cert off;
The above is working config against AD

FWIW, I was not able to get LDAP to work with a bind dn of the form "CN=Name, OU=XXX, DC=YYY" When I changed to "DOMAIN\username" or<EMAIL_ADDRESS>it would work.

I just finished getting nginx-auth-ldap up and running on RHEL7. Here are a couple of comments from the experience:

It  may not seem obvious, but you need to create an AD user for the module to gain access to the AD (I created a user called "LDAPauth" with minimal rights and set password to never expire and cannot be changed by user (this is the user account you will use in the binddn and binddn_passwd directives)
The binddn syntax that worked for me was "DOMAIN\LDAPAUTH" (note the double backslash and all caps)
I suggest that you create ldap_server sections in your server block for at least two domain controllers for redundancy. You then add one "auth_ldap_servers xxx;" directive for each DC in your location block.
Make sure you add the appropriate "group_attribute" directives with respect to your "require" directives (ie if you plan to authenticate users, add "group_attribute uniquemember". To authenticate group members, add "group_attribute member")
If you're having issues with DN syntax, go to ADUC, open your AD user or group properties, and in the Attribute Editor tab, scroll down to distinguishedName. You can double-click and copy-paste the correct DN from here. CAUTION: Be careful you don't alter the value accidentally in this window...
I found that the statement I specified in the auth_ldap "Enter AD credentials" directive aren't always displayed as expected, depending on the browser used. In Firefox, I get "A username and password are being requested by https://mysite. The site says: "Enter AD credentials"". In Chrome I get "https://mysite requires a username and password." In IE, I get The server mysite is asking for your user name and password. The server reports that it is from Enter AD credentials."

Hello @Vitiate
I am quite experienced in AD  and  my domain name is htwon.com and if I run dsquery user, it will show:
"CN=Administrator,CN=Users,DC=htwon,DC=com"
Any advice for my below configuration?
-----------------------------------------------------------------------------------------------------------------=
url ldap://Domain IP:3268/DC=htwon,DC=com?sAMAccountName?sub?(objectClass=Users);
binddn<EMAIL_ADDRESS>binddn_passwd password;
group_attribute uniquemember;
group_attribute_is_dn off;
require valid_user;
ssl_check_cert off;
}

For troubleshooting LDAP integration problems you could enable network inspection with a tool like Wireshark that understands LDAP and could show you some helpful data for as in the following example:


Dynamixel xm430 does not move when button is pressed on OpenCR

ISSUE TEMPLATE ver. 0.2.0

Which TurtleBot3 you have?

[ ] Burger
[ ] Waffle
[x] Waffle Pi

Which SBC(Single Board Computer) is working on TurtleBot3?

[ ] Raspberry Pi 3
[ ] Intel Joule 570x
[X] Nvidia Jetson TX2

Which OS you installed in SBC?

[ ] Ubuntu MATE 16.04 or later
[ ] Raspbian
[X] Ubuntu 16.04 LTS for Jetson TX2

Which OS you installed in Remote PC?

 I then successfully flashed the Turtlebot3_Core firmware to the OpenCR Board.  I then plugged the servos into TTL port 1 and 2, plugged a 11.1 volt LiPO battery and powered on the board with the switch.  When I press Push SW1 or Push SW2 to turn or move the Turtlebot3, the servos do nothing.  In troubleshooting the problem, I loaded the OpenCR Board with USB2Dynamixel and am able to drive the motors, change settings, etc. using the Dynamixel Workbench Utility, thus ruling out there is a hardware problem with the OpenCR board or servos.

Are there additional configuration steps I need to perform with the Turtlebot3_Core source code?
Thank you for any insight you can give me on this issue!!

This issue will be closed since there were no actions for a while. You can reopen this issue to show this issue to the users whenever. Thanks.


Implementing Vuex for state management

Implementing Vuex for state management to call component to render whole page with respective languages

This is done without using vuex and its working fine. All the text is changing with respective languages using "computed"  instead "data"


feat(ulp): RVfplib as alternative floating point library for ULP RISC-V and LP Core (IDFGH-12981)

Add RVfplib as alternative soft-fp library, which might roughly reduce the code size by 1~3 KiB if only basic single precision arithmetics are used.
Though licensed under GPLv3 with library exeption, RVfplib has already been embedded into latest Cx, Hx and P4's rom code so it should not be an issue.

@andylinpersonal Thanks for the contribution!
Since this use-case is a bit more niche, I'm not sure we should include it in the ULP component (will be difficult for us to support all custom behavior users want)
How do you think about this compromise:
We could make it possible for users to have more direct control of the ULP build system, e.g. by letting users also provide their own cmakefile. Then use-cases like this could be achieved without IDF modification directly in the user's project.
What do you think? (this would also allow setting -msave-restore from your project)

@ESP-Marius

We could make it possible for users to have more direct control of the ULP build system, e.g. by letting users also provide their own cmakefile. Then use-cases like this could be achieved without IDF modification directly in the user's project.

Yes, a more flexible and less intrusive build system for ULP is what we demand. And it will be useful for the more complex use cases in the following ESP32-P4's LP subsystem.

@andylinpersonal We've pushed a feature that should hopefully allow achieving stuff like this much easier for users.
You can see an example [here])https://github.com/espressif/esp-idf/blob/master/examples/system/ulp/lp_core/build_system/main/ulp/CMakeLists.txt)
I think with that we'll consider this ticket closed, feel free to reopen it if you still think RVfplib should be available by default for the lp-core.
Or open a new ticket if you are unhappy/have any requests with regards to the ULP build-system.


Update release doc for CHANGES.md and homebrew

Fixes #987

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

Thanks @heuermh! Manually merged as f8c3133ae75947fde0a29d63f025f81fbcdb58f9.


Remove the need for cluster-admin service account which doesn't exist by default in 1.15

Can you update the kubernetes deployment yaml for Kubernhaus to use some other service account or maybe issue your own RBAC for kuberhaus to utilize?

Yeah good idea

Added!


[workflow] Add limitations section

Description

[x] Try to reword to be less "negative"
[x] Move limitations and constraints to a limitations section
[x] Some readability edits
[ ] Provide code snippets of the "best practices" to help users avoid running into limitations

Issue reference
PR will close: #3158

@cgillum Per this comment from the quickstart PR, can you help provide some "best practice" code snippets to help users avoid non-deterministic code?

Per https://github.com/dapr/docs/pull/3144#discussion_r1102056397, can you help provide some "best practice" code snippets to help users avoid non-deterministic code?

Yes, I will help provide these.

Here are some snippets we can use:

Workflow functions must call deterministic APIs.

// DON'T DO THIS!
DateTime currentTime = DateTime.UtcNow;
Guid newIdentifier = Guid.NewGuid();
string randomString = GetRandomString();

// Do this instead
DateTime currentTime = context.CurrentUtcDateTime;
Guid newIdentifier = context.NewGuid();
string randomString = await context.CallActivityAsync<string>("GetRandomString");

Workflow functions must only interact indirectly with external state.

// DON'T DO THIS!
string configuration = Environment.GetEnvironmentVariable("MY_CONFIGURATION")!;
string data = await new HttpClient().GetStringAsync("https://example.com/api/data");

// Do this instead
string configuation = workflowInput.Configuration; // imaginary workflow input argument
string data = await context.CallActivityAsync<string>("MakeHttpCall", "https://example.com/api/data");

Workflow functions must execute only on the workflow dispatch thread.

// DON'T DO THIS!
Task t = Task.Run(() => context.CallActivityAsync("DoSomething"));
await context.CreateTimer(5000).ConfigureAwait(false);

// Do this instead
Task t = context.CallActivityAsync("DoSomething");
await context.CreateTimer(5000).ConfigureAwait(true);


giantswarm namespace is not protected

The following situation can happen:

linkerd has been installed in the cluster
proxy-injector is not working properly
for a certain reason, chart-operator on giantswarm namespace gets rolled/killed/restarted
the mutationwebhook detects there is a new deployment on giantswarm namespace and tries to inject the pod
As the mutationwebhook has by default a Fail policy, it will fail and chart-operator would not start, leaving the cluster without the ability of receiving further apps from the management cluster.

An easy fix is by modifying the namespaceSelector which decides which namespaces are being observed or not by the proxy-injector, and add giantswarm namespace

Closing this as we implemented it in one of the recent version: https://github.com/giantswarm/linkerd-control-plane-app/blob/main/helm/linkerd-control-plane/values.yaml#L362


[meta] Upgrade setup steps in the GitHub actions file

Describe the feature
There are new versions available for action/checkout and action/setup-java. We should upgrade to benefit from bug fixes.
Additional context
As far as I can tell there are no changes necessary to upgrade the checkout step. For the setup-java step we have to choose a Java distribution. V1 used zulu there, so that might be a useful value there as well.
I plan to test the changes today in my Javalin-Rocker-Example repository.

The changes are really minimal. For my repository I also introduced caching for dependencies downloaded by Maven. That might also be a useful change for the Javalin repository.

@Playacem sounds like a good idea, please go ahead if you have time. If not I'll get to it eventually :)


Please delete nsfw sites that spread vice corruption in the world so that this directory is more popular family friendly

Hi, thanks for this directory but we regret the presence of nsfw sites which propagate vice, corruption, fornication vulgarity indecency aids mst sexual diseases mixture of filiation abortion in the world, imagine people we know are present on these sites and they repent and no longer want to appear on these sites which penalize their professional careers if they change horizons and no longer want to do this negative activity, I would like to share this directory with my friends, family, so please delete the nsfw section, thank you, or at least hide it at the bottom or in hided  section and not highlight it, thank you!

Sure will remove this 👍


Update LAB[PL-200]_M04L01_Build_Canvas.md

Module: 00
Lab/Demo: 00
Fixes # .
Changes proposed in this pull request:

Submitted by ParamRamki on behalf of MOC Labs Review

I applied this change to the Jan_2022_scrub branch and will merge this evening. Thanks!


Deep contextualized word representations

집현전 중급반 스터디

2022년 5월 08일 일요일 9시
전상민님 전윤수님 김민지님 변선영님 발표
논문 링크: https://arxiv.org/abs/1802.05365

Abstract
We introduce a new type of deep contextualized word representation that models both (1) complex characteristics of word use (e.g., syntax and semantics), and (2) how these uses vary across linguistic contexts (i.e., to model polysemy). Our word vectors are learned functions of the internal states of a deep bidirectional language model (biLM), which is pre-trained on a large text corpus. We show that these representations can be easily added to existing models and significantly improve the state of the art across six challenging NLP problems, including question answering, textual entailment and sentiment analysis. We also present an analysis showing that exposing the deep internals of the pre-trained network is crucial, allowing downstream models to mix different types of semi-supervision signals.

발표 링크:


New document types for internal documents

Internal documents:

Policy and Procedures
Proposal

Instead of TC/SC/secretariat we just need a "committee" or "working group". These will require versioning in the way we discussed before (it's not documented in the AsciiISO guidance?).

Yes, and I think I'm already overruling TC/SC in RSD and all the other gems.
Which versioning are you referring to? Single version number?
How to P&P and Proposals differ from standards? Do they have different schemas, or just different front pages?

Sorry for being hand-wavy. Basically, just different front pages. Same schema.  The only things that needs changing:

Document type "name" and where it is displayed.
The rev-date should be shown on the front page.

Versioning is documented in the README of asciidoctor-iso, as the :draft document attribute. The Guidance document does not repeat the list of document attributes from the README.

The document type is already a metadata field in the template so (1) does not require any change.
Which means the only change I can tell at all is, rev-date is included in the front page for policies and for proposals, but not for standards.

Let me know if this is what you had in mind.
HTML.zip

@opoudjis it might be better if @pierrefortier helps out here 😉
@pierrefortier could you help style the RSD style for these two new document types? Thanks!

Sure thing!

@ronaldtse: Word too or just HTML?
@pierrefortier: Note there has been some refactoring to your underlying CSS, and to the IDs of tags.

Both Word and HTML should look similar, thanks!

Here's a quick update. I made the HTML match my previous styling, and took a jab at the Word document. Not sure how close they're supposed to be, so I kept it minimal for now. I can tweak it of course. :)
DOC.zip
HTML.zip

This output needs your review, @ronaldtse

@pierrefortier sorry for the delay. The HTML style looks exactly like CSD rather than RSD -- perhaps there's a mistake?
For the Doc file, can we try a better design (clean, avant-garde) and also more consistent fonts?
For example, in the screenshot below, the section header font is too narrow, and we're already mixing Arial, Calibri, and Garamond...

@opoudjis I noticed that the last section of the ToC is bleeding onto the next page. Is this something we need to fix in the actual gem, or is this just an artifact here?

The font selections will be taken care of in the stylesheet for Word (just as they are in the generation of the HTML), so I'm not too worried about that; just tell me what the body and header fonts are meant to be, @pierrefortier. The stylesheet as is is only going to use one or two fonts in the document at all, unless I tell it otherwise.

Fixed ToC.

@opoudjis thanks. I didn’t realize the lack of page break after ToC was inherited from M3D, in that case we should also fix M3D the same way. It’s too strange to not have a break after ToC.

I don’t have an official answer but according to their other samples it looks like it was a bug.

Sorry about the mix-up -- I did en up using the wrong style for that one. Here is the correct version:
rfc6350-html-styling-v2.zip
As for the word doc, @opoudjis I'd say use Arial for the body and Arial Narrow for the titles. My motivation for Arial is that I'm assuming we want to stick to system fonts to ensure compatibility, and it's pretty close to what's used in the html.

@pierrefortier this style works -- the fine print (copyright) is a bit too fine (let's change to 0.9em from 0.8em), but it's good to go!

Great! Here's the update.
rfc6350-html-styling-v3.zip

@pierrefortier, that 0.9em to 0.8em was the only update, right? Because I do this by eyeball, and I've just finished copying  the style across.

Correct, that was the only change.

From: Nick Nicholas<EMAIL_ADDRESS>Sent: Monday, July 9, 2018 7:32:13 AM
To: riboseinc/asciidoctor-rsd
Cc: Pierre Fortier; Mention
Subject: Re: [riboseinc/asciidoctor-rsd] New document types for internal documents (#5)
@pierrefortierhttps://github.com/pierrefortier, that 0.9em to 0.8em was the only update, right? Because I do this by eyeball, and I've just finished copying the style across.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/riboseinc/asciidoctor-rsd/issues/5#issuecomment-403448530, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Ajrn-KUXRnVl1rCZwb_ywIdDY7k6KJ5eks5uEz89gaJpZM4U9wj4.

Confirmed that it is.
This is now the output of the gem:
RSD.zip

@pierrefortier it turns out that Arial Narrow is rather funny looking as headers. Let's just have Arial instead... Thanks!

I set the Word fonts. Arial is now set as header font.
Publication date: we have not provided it anywhere in the Metanorma gem suite for the current document; docyear, which already appears in the template (after the document ID number) is the copyright-year document attribute, which is the current year if the document attribute is not provided. I don't see a compelling reason to override that behaviour, but I am making the year more prominent in the title pages.
In the HTML, I'm putting it next to "Ribose Group Inc." in the HTML. So, with docyear = copyright year, draftinto including latest document revision date:

      {{ docnumber }}
      :
      {{ docyear }} {{ draftinfo }}

      {{ doctitle }}

    Ribose Group Inc. {{ docyear }}

For the Word document, I've put it at the bottom of the page.
@ronaldtse Please review.
RSD 20180710.zip

@opoudjis I thought we already use :revdate: for the publication date? The :revdate: is indeed shown with the Proposal type?

:revdate is the YYYY-MM-DD date of the latest draft, and is displayed as such: it ends up inside of the draftinfo template field. :copyright-year: is taken as the year of publication, and ends up as the docyear template field. They are distinct, and finalised published documents are not meant to have a :revdate: at all.

@ronaldtse, is action required here?

Yes, could we display the publication date for these document types? Thanks!

policy-and-procedures
supporting-document
report
legal
proposal

Please indicate where to display the publication date. I am now putting it under the title, next to "Ribose Group Inc."

Looks great to me. Thanks! Feel free to close this.


Regexp support for api query/search.

Hi,
It seems that the currently available APIs exposed by warehouse doesn't  support regexp for query/search.
Could you please add this feature in the future?
Regards,
HY

Duplicate of #5231.


TCCP: Add "About this tool" page

See internal https://github.local//Design-Development/Design-Thinking-and-User-Research/issues/288 for context.
How to test this PR
To test, run a local server and visit:
http://localhost:8000/consumer-tools/credit-cards/explore-cards/about/
See also page live on internal https://dev4.local/consumer-tools/credit-cards/explore-cards/about/.
Screenshots

Checklist

[x] PR has an informative and human-readable title
[x] Changes are limited to a single goal (no scope creep)
[x] Code follows the standards laid out in the CFPB development guidelines

Looks great! Just want to make sure the links will point to the actual TCCP page? (I was just using the internal linking available on dev4 and it's not updated)

@caheberer yes, see here, we use a relative link to /data-research/credit-card-data/terms-credit-card-plans-survey/.


Python 3 support

We need a Python 3 support

see https://github.com/python-constraint/python-constraint/issues/8

A branch for Python3 support is available here:
https://github.com/python-constraint/python-constraint/tree/python3

@niemeyer
Done!
Maybe a publishing new pip package could help some users.
Could you do it ?


recaptchav2  Cannot be used

recaptchav2   Cannot be used
Test URL:https://www.walmart.com/blocked   （Try a different method）

Are you having trouble getting the captcha tokens on https://www.walmart.com/blocked or are the tokens not appearing valid?

Could you send me your code and output if any?

I tried that code exactly in a new venv and it seemed to work fine, are you able to harvest captchas on other sites?


KAFKA-17406: Move ClientIdAndBroker to server-common module

Moved ClientIdAndBroker to server-common module (JIRA).
Committer Checklist (excluded from commit message)

[x] Verify design and implementation
[x] Verify test coverage and CI build status
[x] Verify documentation (including upgrade notes)

@mumrah PTAL

@chia7712 Hello, please review PR.


Create setup.py script which allows for nanonet.features path

Make it possible to import nanonet.features and run tests and run setup.py to install nanotensor.

Codecov Report

:exclamation: No coverage uploaded for pull request base (unit-test@2fbe936). Click here to learn what that means.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             unit-test     #32   +/-   ##
===========================================
  Coverage             ?   8.85%
===========================================
  Files                ?      11
  Lines                ?    1118
  Branches             ?       0
===========================================
  Hits                 ?      99
  Misses               ?    1019
  Partials             ?       0

Impacted Files
Coverage Δ

nanotensor/utils_test.py
100% <ø> (ø)

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 2fbe936...3018395. Read the comment docs.


Azure AD KM connector as OOTB KM in APIM-3.2.0 and onwards

Problem
Need a AzureAD as a Key manger for APIM
Solution
Implement a customer key manger [1]
[1] - https://apim.docs.wso2.com/en/latest/administer/key-managers/configure-custom-connector/
Affected Component
APIM
Version
3.2.0 onwards
Implementation
No response
Related Issues
No response
Suggested Labels
No response

Task Breakdown

[x]  Implementation
[ ] Documentation Changes
[ ] Testing


"The Specified file does not exist on drive" - Pycharm

It appears spaces in file names or in the directory name seem to break the plugin,  tested over several projects with and without spaces and removing the spaces seems to fix the issues.

I see the problem. The arguments coming in to MXSPyCOM are separated into a list based on spaces in the string. So a filepath with spaces comes in as multiple arguments. The code is written to only expect a maximum of two arguments, and just takes the last array element as the filepath. So a filename of Test File.py will get truncated to just File.py.
I should have a fix soon.


Update CONTRIBUTING.md with improvements from ROHD repo

Motivation
See improvements in https://github.com/intel/rohd/pull/329
Desired solution
Same as https://github.com/intel/rohd/pull/329
Alternatives considered
No response
Additional details
No response

Accidental duplicate of https://github.com/intel/rohd-cosim/issues/29


Pressing enter at end of line on generator method in TS/JS duplicates leading asterisk

VSCode Version: 1.47.0-insider (user setup)
Commit: 6af2987903c22bf9b19762d589bc46d4be636dc4
Date: 2020-06-11T13:30:35.121Z (1 day ago)
Electron: 7.3.1
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.18363

Steps to Reproduce:

Create a new TS or JS file
Add a class with a generator method that has a leading multiline or JSDoc comment.

NOTE: There must be a space between the * token and the method name.

Place cursor at the end of the line that starts the generator method body and press enter.

Expected:
4. A new line is added with the correct indentation.
Actual:
4. A new line is added indented to the same level as the method name and an asterisk (*) is added as if this were a line continuation of a multiline or JSDoc comment.

Notes:

This does not occur if the method does not start with a multiline or JSDoc comment.
This does not occur if there is no space between the asterisk (*) and the method name.
This does not occur for functions (as there is a leading function keyword between the start of the line and the asterisk (*)
This does not occur for generator methods with a leading keyword before the *, such as static or async in JS or static, async, public, private, or protected in TS.

Does this issue occur when all extensions are disabled?: Yes

Similar to #43469 (the jsdoc comment Is required)

I am working on this @mjbvz


Support older devices

Description:
Some older devices did not have the open and close buttons for zwave.
This PR switches to use the old Inc and Dec buttons which is also present in new devices.
Related issue (if applicable): fixes #
#2849
@nunofgs @kuhlivisj @jsg4 Can you test this to confirm?

This works now, except the buttons don't match the state. I messaged you this before, but I'm not sure the purpose of greying them out? Somfy zwave doesn't track state so it's not possible to see the position of the shades at the controller/zwave level. If the buttons weren't greyed out then it would be perfect. Thanks

We are using the INC(Increment) command to open which equals UP or OPEN
Similar for DEC(Decrement) for down. These are the correct commands.
For current_position and move_postition we use LEVEL.
Could you please check the current_position value in the developer tools for open and closed? And which values you get, please?
I may have a solution depending on what values you get.

100 for closed, 0 for open.

That means level reporting is present. Looking at your zwcfg, all are at 99 which will be reported as 0, closed.https://github.com/turbokongen/home-assistant/blob/zwave_fixes/homeassistant/components/rollershutter/zwave.py#L77
So at 0(Closed) The down button are greyed out, and at 100(Open) The up button is greyed out?

Correct.

Are both buttons greyed out anytime?

I am running 0.25.2 now, it was not functional in 0.26.2. I don't think both buttons are ever greyed out, the problem is sometimes it does not respond to the command because the state isn't matching.

@jsg4: that particular issue is already fixed in a PR I submitted here https://github.com/home-assistant/home-assistant-polymer/pull/85 but haven't received a response yet.

@nunofgs Does everything work as normal with this PR?

So this has now been tested with the Somfy zrtsi which is a zwave to rf controller. Thank you @jsg4.
Now just need a confirmation for the old stuff😊

@turbokongen you can merge this when you see fit


poudriere crash on testport

Poudriere crash when testing port
[00:00:00] ====>> Creating the reference jail... done
[00:00:00] ====>> Mounting system devices for 10-1_amd64-default
[00:00:00] ====>> Mounting ports/packages/distfiles
[00:00:00] ====>> Mounting packages from: /storage3/poudriere_data/packages/10-1_amd64-default
[00:00:00] ====>> Copying /var/db/ports from: /usr/local/etc/poudriere.d/10-1_amd64-options
[00:00:01] ====>> Appending to make.conf: /usr/local/etc/poudriere.d/10-1_amd64-make.conf
/etc/resolv.conf -> /storage3/poudriere_data/.m/10-1_amd64-default/ref/etc/resolv.conf
[00:00:01] ====>> Starting jail 10-1_amd64-default
[00:00:01] ====>> Logs: /storage3/poudriere_data/logs/bulk/10-1_amd64-default/2015-04-17_19h19m28s
[00:00:01] ====>> Loading MOVED
[00:00:01] ====>> Calculating ports order and dependencies
[00:00:14] ====>> pkg package missing, skipping sanity
[00:00:14] ====>> Skipping incremental rebuild and repository sanity checks
[00:00:14] ====>> Cleaning the build queue
[00:00:14] ====>> Recording filesystem state for prepkg... done
[00:00:15] ====>> Building 691 packages using 4 builders
[00:00:15] ====>> Starting/Cloning builders
[00:00:15] ====>> Hit CTRL+t at any time to see build progress and stats
[00:00:15] ====>> [01][00:00:00] Starting build of ports-mgmt/pkg
[00:01:00] ====>> [01][00:00:45] Finished build of ports-mgmt/pkg: Success
[00:01:00] ====>> [01][00:00:45] Error: Unable to extract pkg.
[00:01:15] ====>> Finished build of ports-mgmt/pkg: Failed: crashed
[00:01:19] ====>> Skipping build of net/GeoIP: Dependent port ports-mgmt/pkg crashed
etc
[00:01:20] ====>> Stopping 4 builders
[00:01:21] ====>> Creating pkgng repository
[00:01:21] ====>> Cleaning up
testing manualy the testport option produce the same issue
the package build log say nothing about this
seems to be related with ATOMIC_PACKAGE_REPOSITORY=no
in poudriere.conf
when issue occur the solution is to remove repository to restart from scratch

Please provide the log for ports-mgmt/pkg as it contains important information about this.

there is nothing in ports-mgmt/pkg logs (the package is built normally)
i think it's ATOMIC_PACKAGE_REPOSITORY=no the cause of issue
the directory structure is not the same when = yes but not recreated when changing yes to no
to avoid this issue : the symbolic link must be removed and the content of real_* must be moved to ../

I don't see how ATOMIC_PACKAGE_REPOSITORY relates here at all. Something went wrong with building ports-mgmt/pkg. It crashed. ATOMIC_PACKAGE_REPOSITORY is only used when the build is all done.
Please post /storage3/poudriere_data/logs/bulk/10-1_amd64-default/2015-04-17_19h19m28s/logs/pkg-1.5.0.log
This log contains the reason for the "Finished build of ports-mgmt/pkg: Failed: crashed"

the end of log :
===========================================================================
=======================<phase: package        >============================
===>  Building package for pkg-1.5.1
mkdir: /storage3/poudriere_data/packages/10-1_amd64-default//All: No such file or directory
stat: /storage3/poudriere_data/packages/10-1_amd64-default/All/pkg-1.5.1.txz: stat: No such file or directory
====>> Error: Unable to extract pkg.
Build failed: crashed
build of ports-mgmt/pkg ended at Fri Apr 17 19:20:48 CEST 2015
build time: 00:01:05
!!! build failure encountered !!!
the mkdir is made where symbolic link are present

Is your log verbatim or did you trim portions from the end and other files? The log doesn't seem right.

i ahve just snipped after the creation of txz (the package is build normaly and is fonctionnal : i have test the txz)


⚠ Visual-Crew_Builder has degraded performance

In 4872970, Visual-Crew_Builder (https://visual-crew-builder.ai) experienced degraded performance:

HTTP code: 200
Response time: 1174 ms

Resolved: Visual-Crew_Builder performance has improved in 4211989 after 12 minutes.


KAFKA-4830: Augment KStream.print() to allow users pass in extra parameters in the printed string

I extend KStream#print() to KStream#print(KeyValueMapper<K, V, String>).
So I add the following methods :

KStream#print(KeyValueMapper<K, V, String>)
KStream#print(KeyValueMapper<K, V, String>, String streamName)
KStream#print(KeyValueMapper<K, V, String>, Serde<K>, Serde<V>)
KStream#print(KeyValueMapper<K, V, String>, Serde<K>, Serde<V>, String streamName)

@jedichien - there are few files in conflict, can you rebase?

@jedichien - the build is failing for checkstyle errors KStreamImpl.java:185:20: ',' is not followed by whitespace.  Also, still 3 files with conflicts.

@bbejeck Thank for reminding me :)

@jedichien thanks for cleaning up the PR.  I've left some minor comments.
Has KIP-160 gone through the community discussion?  Also it looks like some details could be filled out in KIP-160.
\cc @mjsax @guozhangwang @dguy @enothereska  for second review

Sometimes if the KIP itself is very trivial people can choose to start the voting thread immediately.
http://mail-archives.apache.org/mod_mbox/kafka-dev/201702.mbox/<CAE1jLMO3NzM%2BAj1vf-io9-cnGZwR0y%3DaauAPwQEBP2JAR28Gsg%40mail.gmail.com>

KIP-160 is here: https://cwiki.apache.org/confluence/display/KAFKA/KIP-160%3A+Augment+KStream.print%28%29+to+allow+users+pass+in+extra+parameters+in+the+printed+string

Thanks for the KIP!
+1
On Thu, May 25, 2017 at 8:18 AM, JamesChien<EMAIL_ADDRESS>wrote:

KIP-160 is here: https://cwiki.apache.org/confluence/display/KAFKA/KIP-
160%3A+Augment+KStream.print%28%29+to+allow+users+pass+in+
extra+parameters+in+the+printed+string http://url
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/kafka/pull/3085#issuecomment-303996751, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAMKRrvWlfzHC4rd-dbU2aPrrBhvV7Oqks5r9XGQgaJpZM4Ne8ud
.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/5652/
Test PASSed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/5638/
Test PASSed (JDK 8 and Scala 2.12).

What's the status of this. Can this be merged \cc @guozhangwang @dguy

Hi, can someone review my code ?
This request blocks me so long.

@guozhangwang I just do it in local and not yet to PR, sorry for an ambiguous statement

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6090/
Test FAILed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6105/
Test FAILed (JDK 7 and Scala 2.11).

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6113/
Test PASSed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6098/
Test PASSed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6117/
Test FAILed (JDK 8 and Scala 2.12).

FAILURE
3873 tests run, 0 skipped, 2 failed.
Test FAILed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6132/
Test FAILed (JDK 7 and Scala 2.11).

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6118/
Test FAILed (JDK 8 and Scala 2.12).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6133/
Test FAILed (JDK 7 and Scala 2.11).

FYI: it the test fails again for the SSL test -- it's a know issue. Seems that the test is broken. No need to re-test again.

retest this please

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk7-scala2.11/6200/
Test FAILed (JDK 7 and Scala 2.11).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/kafka-pr-jdk8-scala2.12/6184/
Test PASSed (JDK 8 and Scala 2.12).

Thanks @jedichien, Merge to trunk!

Thanks @dguy, @guozhangwang and @bbejeck for giving me lots of good advice :D
This is my second PR, I cannot wait to make more contributions!!
BTW, I notice that this(and before) username in commit cannot link to my account, how should I fix it?

@jedichien Thanks for your contributions!
Yes I'd recommend you fix your username (better be your real name in full) / email in your local github profile. Currently your github id profile is shown as jameschien<EMAIL_ADDRESS>


Create formula for GNU netcat

Thank you for your contribution！

license might be changed to GPL-2.0-or-later

Done


"Ocland", "Crăciunel" and "Satu Nou" are listed in the drop-down menu

Description:
"Ocland", "Crăciunel" and "Satu Nou" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Ocland" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Ocland, HARGHITA (Ocland)" and "Comuna Ocland, HARGHITA".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Type "Crăciunel" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Crăciunel, HARGHITA (Ocland)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Type "Satu Nou" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Satu Nou, HARGHITA (Ocland)".


Create lease with a smaller TTL dedicated for locks

Does this need to be a release blocker?

I think it does because if cilium fatals during a lock, the lease for that would only expire after 15 minutes, this means pods for that set of labels would not be able to get an identity.


2 Events at the same Date only 1 shows

Currently:
If you have 2 Events at the same Date only the First one is shown.
My Idea:
Maybe Mix the colors and show both description in the hover dialog.

Hey thank you very much for reporting the issue, i didn't think about it when i first was developing the package but now that i think about it i guess it make sense to have one or more events in the same day or date. I try to come up with a solution that makes the most sense .


Priority Sender Content

6.28.2021: These notes were pulled over from our June 28th RS website brainstorming and planning session (regarding V4):
Priority Sender Content: What’s needed based on recent research? What are the goals for the next month or so for senders?

[ ] Check on priorities (short term) two definitions of senders

[ ] Including a possible mention in getting started or systems and settings

[ ] Sender onboarding form??

[ ] Input from Amy on vision/needs

7.6.2021: Pipeline content on website discussion with Anshul, Jim, Adrian, Berni
Ideas:

Onboarding packet (with video) - @BerniXiongA6 added to running list of ideas
Downloadable programmer's guide (see Issue # 1404

Keep in mind:

Ming and Sparkle working on HHS manual/guide for customers
CRM changing from Dynamics in 6 months to TBD

To Do:

[ ] Have sender's page thought of - @jimduff-usds
[ ] Map what states active in - @jimduff-usds

8.9.2021 This issue was opened before all team leads decided to collaborate on creating a shared roadmap (to include RS web content/design decisions). Will return to this after those meeting(s) have occurred in August 2021. See additional Content Alignment meeting notes here: https://docs.google.com/presentation/d/1tSGPKRFUUxknStm5lDVh6L-GkBDq_nTyIk0ozE_f3Yw/edit?usp=sharing

9.10.2021 Met with @MikeC-A6 and @drew-usds to discuss "sender needs" ideas.
Current situation: Senders are currently not using any tool to upload (first interaction will be "CSV Uploader tool." PHD reaches out to senders with "Send off" email and refers RS team (not the website). Sender doesn't know RS platform. Head of a sender: "less I know, the better."
Future state: RS website could be a marketing tool (we are not ready yet).
What RS does/how we help would be a good credibility piece to have on website. Need for content: will be critical to have user acquisition strategy when CSV tool is ready.
Next steps: Mike C. could act as test group before reaching out to senders for website feedback (down the road when we're ready to reach out).
To Do:

[ ] Mike will send PHD sendoff materials to design team to review first.


release responsibleai-vision 0.3.4 and responsibleai-text 0.2.4

Description
release responsibleai-vision 0.3.4 and responsibleai-text 0.2.4
Checklist

[ ] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

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

Comparison is base (d6d8c78) 89.72% compared to head (f9d428a) 77.91%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2447       +/-   ##
===========================================
- Coverage   89.72%   77.91%   -11.81%
===========================================
  Files         122       14      -108
  Lines        6751     1336     -5415
===========================================
- Hits         6057     1041     -5016
+ Misses        694      295      -399

Flag
Coverage Δ

unittests
77.91% <100.00%> (-11.81%)
:arrow_down:

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

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


Add test cases for cost calculation rules

Added some test cases missing in the TestCostCalculator. Though these plan nodes have its stats rules, there are no test cases for cost calculation.

LimitNode
FilterNode
EnforceSingleRow

@Lewuathe thanks for your PR.
Just to add some context -- there were no tests in TestCostCalculator, but it doesn't mean there were no tests at all.
See io.prestosql.tests.TestTpchDistributedStats#testLimit, io.prestosql.tests.TestTpchDistributedStats#testFilter and io.prestosql.tests.TestTpchDistributedStats#testEnforceSingleRow.

Merged, thanks!


Error while loading shared libraries

Hi,
I really want to try this out, but I keep getting this one:
synthpod_jack: error while loading shared libraries: libsynthpod.so.0: cannot open shared object file: No such file or directory
I manually created $HOME/.local/share/synthpod, and everything seems to have been installed correctly.
Thanks !

Great, testers are always welcome...
have you updated your library cache after installation?
ldconfig /usr/lib

or
ldconfig /usr/local/lib

It did the trick. I'll try it now ;)


Web Page Does Not Refresh When Pound Sign (#) is in File Path

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[ ] Feature request
[ ] Documentation issue or request
[ ] Other: <!-- Please describe: -->

Current behavior
When using live server to reload a web page on save from a file whose full file path contains a pound sign (#), live server does not recognize when a file has been changed to reload the changes.
C:/folder/#1/index.html does not reload
C:/folder/1/index.html does reload
Expected behavior
Live server should notice the change and update the browser accordingly.
Environment
Browser:

- [x ] Chrome (desktop) version 68.0.3440.106
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:

- Live Server: 5.1.1
- Platform:  Widows
- Visual Studio Code: 1.27.1

Others

I have the same problem.


Added GraphML serialisation, test and docs included.

Like #15 but with the commit history broken to fix the history.

@thisiswhereitype I've left a bunch of comments, mostly improvements/simplifications to the API. Let's discuss!

The commits remove bloating code and have improvements to consistency of Haddock comments. All is left is to decide whether the assocList functions will remain.

All is left is to decide whether the assocList functions will remain.

If I understand correctly the user can get vertex IDs simply by map vertexID (vertexList pangraph). I don't think it is worth trying to optimise this away at the cost of providing a redundant API function. If this ever shows up in the profiling report (and I strongly doubt it), then we may come back to this question. But really, traversing vertices is never a bottleneck in graph processing -- there are plenty of slower spots both in the library and in the user code.

I have removed the functions, are you happy to merge?

@thisiswhereitype Thank you, merged!


Demo with both AssetMapper and Webpack (6.4/7)

I have a version of this demo working with Symfony 7
git clone git@github.com:tacman/symfony-demo.git --branch=symfony7 symfony7-demo && cd symfony7-demo
composer install && yarn install && yarn dev
symfony server:start -d
symfony open:local

The PHP part works fine, but there are issues with stimulus.  I imagine others who are migrating to Symfony 7 may run into the same issues, so maybe this issue can be the beginning of a migration guide.
In particular, when using both webpack and AssetMapper, should there be TWO app.js files, once that's the entrypoint for the importmap and the other that's for webpack?  If I load javascript dependencies via Assetmapper / importmap, will they be available in my webpack-handled javascript?
        {{ encore_entry_script_tags('app') }}

And in particular, how should the stimulus bootstrap file (which of course needs to change from the bridge to the stimulus-bundle).    Currently it fails:
 ERROR  Failed to compile with 1 errors                                                                                8:16:37 AM

Module build failed: Module not found:
"./assets/bootstrap.js" contains a reference to the file "@symfony/stimulus-bundle".
This file can not be found, please check it for typos or update it if the file got moved.

Of course, I'd eventually love to get rid of the whole yarn install && yarn dev step, but in practice I'm sure I'll need it in my own projects for a while, and so understanding how to use them both will be important.
I know stimulus-bundle is still under development, but if you have some guidance on having both active at the same time, it would be very helpful.
Thanks.

In particular, when using both webpack and AssetMapper, should there be TWO app.js files, once that's the entrypoint for the importmap and the other that's for webpack

Simple answer is: you should NOT have both Webpack & AssetMapper. That's just not something we're going to support - it's effectively to competing "bundling" types of systems. You should stick with Webpack or fully convert to AssetMapper. It's, in theory possible, but it's complex enough that we don't want to go down that road.

Thanks, that makes sense.
I have an issue now with a javascript library that works with webpack but not with assetmapper.  I'm 99% sure it's because webpack offered the autoIncludeJQuery().  jQuery is still ubiquitous -- if you look at the most popular packages on jsdeliver, not only is jquery near the top but some of the others are jquery plugins.
I assume that's something the library authors will need to fix.  Here's an example:
https://datatables.net/forums/discussion/77434/typeerror-t-is-not-a-function#latest
I'll close the issue since it's not related to the topic, and try to come up with some test cases for jquery plugins.  Maybe there's some way to inject jquery like webpack did?

That's an interesting example you pointed to. The import t from "jquery"; in the offending library looks perfectly fine. As does the jquery in your importmap. It doesn't look, on the surface, like a library that needs us to hack it (with a jquery autprovider type of thing. I wonder what console.log(t) prints if you hacked that into the vendor file. I'm interested to find these poorly-behaving libraries to get to the bottom of what's happening.

you should NOT have both Webpack & AssetMapper

can that be qualified with "on the same page"?  That is, if I'm migrating an application, can I have two base files, one that uses a layout.html.twig that calls assetmapper, and the other that uses webpack?  For example, I could incrementally migrate the pages that only uses bootstrap and stimulus to assetmapper (obviously including the custom stimulus dependencies).
For example, in the case of the Symfony Demo, could the admin pages could be on one system and the public pages be on the other?  package.json would be used for the webpack ones, and importmap.php for the others.
One complication is what the 3rd-party bundles, but I think if assetmapper is installed, it simply prepends the namespace to resolve the javascript paths.
Obviously, I want to drop webpack asap, and am trying to figure out a migration path.

Using them both is possible, yes. Mentally, it's more to juggle, that's why I don't recommend it. I'd rather, at least at first, try to figure out & fix any asset mapper problems you're having.

That's an interesting example you pointed to. The import t from "jquery"; in the offending library looks perfectly fine. As does the jquery in your importmap. It doesn't look, on the surface, like a library that needs us to hack it (with a jquery autprovider type of thing

Here's the JSFiddle: https://jsfiddle.net/tacman1123/qnh16kog/
I think the issue is javascript plugins that expect a global jQuery or $ object.  Perhaps there's some way to add the plugin to jQuery or initialize the plugin with your own copy of jQuery.  I'm hoping the author will provide some guidance.
<script type="module">
        import jQuery from<EMAIL_ADDRESS>        import DataTable from<EMAIL_ADDRESS>
    </script>

Maybe I need something like
const $ = jQuery;
global.jQuery = global.$ = $;

Of course, I think that was the reason that .autoIncludeJQuery() existed.

Ok, I found the issue - https://github.com/DataTables/DataTablesSrc/issues/246
So, it's a "bug" on their side. Really, an accident - but it's something that should be fixed on their end. The workaround, in AssetMapper, is, after running importmap:require datatables.net-bs5, manually go into importmap.php, adjust the datatables.net version to 1.13.6 (to match datatables.net-bs5), then run importmap:install.


Comparing similar XML showing differences

Hi, I've been trying XMLUnit for a few days and I was wondering if there is any certain way to show the differences between two similar xml files.
I'm currently using it for unit test purposes, so what I really want is to have a comparator that considers to xml files similar (when they do are similar), but that also can detect their differences. The default .CheckForSimilar() works fine, but if you debug the DiffBuilder object it won't any difference between two similar xml.
I'm new to C#, apologies in advance if there is any obvious way to do it and I just can't find it.
Regards,
Mese

I'm not sure I understand what you want to do. If you've configured a DiffBuilder and created a Diff instance by invoking Build() on the builder, then Diff's Differences property should hold all differences found - no matter whether the documents are different or similar.

Sorry, perhaps I haven't expressed myself properly, thanks for the fast answer.
My problem is that I have two similar xml files, which they have slight differences (like having the same node, but in other order). The builder recognise them as similar, which is what I want, but when I call diff.Differences, the result is an empty array.
Is there any way of having those differences in Differences? Like having those different node order in that result array?
Hope I have explained myself better :)
Regards,
Mese

You mean diff.HasDifferences returns true but diff.Differences is empty? This is really strange, can you show how you use the builder and its result with a few lines of code?

No, HasDifferences is indeed false and Differences is empty, because those differences are considered as similar. What I want is to still be considered as similar but returning those differences (if there is any possible way, of course).
Thanks again

If you've set up DiffBuilder with CheckForSimilar the resulting Diff instance is supposed to hold the differences (which might be a bad name).
If this is not the case for you, then either something is not quite right in the way you configure DiffBuilder or you've found a bug. For the former we need to see you code, for the later I'd be grateful for a testcase ;-)

Yes, I am using a DiffBuilder with CheckForSimilar, so I guess the differences are being held. My bad. It was really necessary for me to obtain those differences although being similar. I suppose I can always compare both files twice, one checking for similarities and another checking just for strict comparison.
Thanks for the quick replies, bodewig. Your project is helping me greatly, thanks. You can close this issue whenever you want :)
Regards,
Mese

If there is anything missing in the docs, I'd be grateful for a pointer. It's hard to detect the missing information when you know the code too well.

I don't think there's anything missing more than me don't understanding the docs 100%

Thank you.


AP Altitude failure

I cant setting more than 20.000 FT over the Loupedeck Altitude Knob

Hi, is 20.000 FT a limit for AP ?

No if i turning manually over the knob in the cockpit i can set 36000 and more and the AP do it

Ok in a a320 Néo I can set 99900 => fixed for the next release

thank you very much


Add quantile method to GroupBy

[x] Tests added
[x] Fully documented, including whats-new.rst for all changes and api.rst for new API

Fixes #3018
Note that I've added an unrelated test that exposes an issue with grouping when there is only one element per group.

I just realized that I could do
da.groupby('time.month').apply(xr.DataArray.quantile, q=.5, dim='time')
which seems to yield the same results.

I just realized that I could do
da.groupby('time.month').apply(xr.DataArray.quantile, q=.5, dim='time')
which seems to yield the same results.

Yes, I think this would be the preferred way to implement this :)

Made the change.
I had to drop the quantile dimension for scalar q after the apply to maintain the same behavior as DataArray.quantile, but it got me wondering if keeping the quantile dimension even for scalar q should not be the default.

Hello @huard! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file xarray/tests/test_groupby.py:

Line 164:48: E226 missing whitespace around arithmetic operator
Line 164:80: E501 line too long (112 > 79 characters)
Line 168:80: E501 line too long (98 > 79 characters)

LGTM.

Thanks @huard !


Modify the tests

fixing npm audit stuff
make mongoose connects using newUrlParser
here and there some small style adjustments
make the travis.yml better
updating the test modules
updating mongoose (just a minor version)
adding a "clean"ing script
removing bson & dotenv as dependency
adding a easy-to-edit config
let Tarvis tests run against Node 8(lowest supported) and Travis's Node "lts"(Currently its 10.x)
make mocha not force-exiting (like in #169)

PS: when this is merged, #169 can be Closed, if not automaticly

Coverage decreased (-7.1%) to 84.11% when pulling cea6b93b084c73e4dbbbf828a6c0fd230567ad3d on hasezoey:reworkConnection into dfa47eb1b3792b08688bfecb3c493e38f3602e43 on szokodiakos:master.

Coverage decreased (-7.1%) to 84.11% when pulling cea6b93b084c73e4dbbbf828a6c0fd230567ad3d on hasezoey:reworkConnection into dfa47eb1b3792b08688bfecb3c493e38f3602e43 on szokodiakos:master.

@hasezoey Looks good to me 👍


Enhance wpt-metrics command to support Server-Timing as well as aggregate metrics

This PR enhances the wpt-metrics command with the following:

Support for accessing specific Server-Timing metrics via the identifier prefixed with "Server-Timing:" (e.g. Server-Timing:wp-before-template)
Support for aggregate metrics through simple addition and/or subtraction (e.g. "LCP - TTFB")
More graceful handling of undefined values or errors in lookup (will be treated as null)

See the expanded documentation in this PR for comprehensive examples on how to use the above.

@mukeshpanchal27 Pushed changes to address your feedback, this is ready for another review.


Update manifest.json

Version 0.7.1 tested since release and workin with fhempy

Thanks!

Can you please check if your wifi_name reading is correctly updated? pytest fails here:
  >       assert mock_fhem.readings["testdevice"]["wifi_name"] == "ring_mock_wifi"
  E       AssertionError: assert None == 'ring_mock_wifi'
  E         +None
  E         -'ring_mock_wifi'

This means that the reading wasn't set.

Yes wifi name is set correct
Am Sa., 28. Aug. 2021 um 20:46 Uhr schrieb Dominik @.***

:

Can you please check if your wifi_name reading is correctly updated?
pytest fails here:

  assert mock_fhem.readings["testdevice"]["wifi_name"] == "ring_mock_wifi"

E       AssertionError: assert None == 'ring_mock_wifi'
E         +None
E         -'ring_mock_wifi'
This means that the reading wasn't set.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dominikkarall/fhempy/pull/24#issuecomment-907671820,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMRCH2RWKZUGPWYW4TDJPADT7EVJHANCNFSM5C7JTHIA
.


Potential memory corruption in shutdown due to multiple call curl_easy_cleanup()

Query/Question
In Curl transport layer, is it possible to have multiple instances of CurlConnection?
The reason to ask is that I captured back trace for memory corruption during application shutdown as attached. The stack shows that was corrupted in curl_easy_cleanup(), which is called by CurlConnection's destructor. Hence, it could explain that if there are multiple CurlConnection instances in CurlConnectionPool.
Otherwise, I need to explore other reason.
Why is this not a Bug or a feature Request?
It may be a bug. But I haven't reproduce it in unit test. It would be easies to check from design perspective.
Setup (please complete the following information if applicable):

OS: Debian 11
IDE : Self build by Bazel / CMake
Version of the Library used: https://github.com/Azure/azure-sdk-for-cpp/releases/tag/azure-security-attestation_1.1.0
libcurl/7.88.1 OpenSSL/1.1.1n

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[ x] Query Added
[ x] Setup information Added

Could you try is this pr is fixing your memory leak? https://github.com/ClickHouse/azure-sdk-for-cpp/pull/7

Could you try is this pr is fixing your memory leak? ClickHouse#7

Thanks for the suggestion. I checked my version, it seems already changed to use unique pointer to manage Curl handle, as shown in the code snippet below -
m_handle = Azure::Core::_internal::UniqueHandle(curl_easy_init());
In my version,  to release unique pointer above will call curl_easy_cleanup() as shown in following snippet -
template <> struct UniqueHandleHelper
{
using type = BasicUniqueHandle<CURL, curl_easy_cleanup>;
}
But it won't call curl_easy_cleanup() in your changes. I can't easily merge your changes.
Could I ask if you think it would be a problem to call curl_easy_cleanup() in this way (multiple times I guess)?

I think in the pr I mentioned it's different. The unique_ptr is created passing curl_easy_cleanup() as a Deleter.


Interactive Auth requirement not listed here

Recommend adding the interactiveauth error from this blog:
https://stefanos.cloud/kb/troubleshoot-azure-ad-connect-upgrade-issues/
As the "Learn More" link in the AAD Connect error points here and its not represented on this page.

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

ID: a86c4b02-434c-d452-b3e5-527656234319
Version Independent ID: 10efb9a1-21d9-584b-f007-843ec736c654
Content: Azure AD Connect: Troubleshoot Azure AD connectivity issues - Microsoft Entra
Content Source: articles/active-directory/hybrid/tshoot-connect-connectivity.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@chrislehr
Thanks for your feedback! I've assigned this issue to the author who will investigate and update as appropriate.