Get "Error: [jqLite:onargs] http://errors.angularjs.org/1.3.6/jqLite/onargs     at Error (native)"

Hello, @bvaughn
I make a test code on jsfiddle (http://jsfiddle.net/naolin2008/96s81Lt7/1/) .  if it doesn't load Jquery 2.1.3 , it  will return an error  "Error: [jqLite:onargs] http://errors.angularjs.org/1.3.6/jqLite/onargs at Error (native)". but it is work fine if it load jquery].  Is JQuery required on v3.0.3?  Could you help to review this issue.

Looks like the JS generated by TypeScript uses the long-form, jQuery-only style of on() (with selector) even though this isn't necessary... I'll fix this and build a 3.0.4 release when I get home from work this evening.
Thanks for pointing it out and for the nice JS fiddle. :)

+1 also having trouble with this. When will an update be pushed out?

When I get home from work this evening :)

Awesome looking forward to it. This is a great library by the way! I'm really glad you put this together.

This issue has been resolved in version 3.0.4.
Here's an updated version of your fiddle showing the fix: http://jsfiddle.net/bvaughn/96s81Lt7/3/
I've also filed an issue and posted a PR to resolve the bad TypeScript jQuery definitions file that I patched in order to submit this fix.
Thanks for reporting it!


select2 and version 0.7.1

Using select2 with rivets 0.6.10 (using on-blur) worked fine, but using version 0.7.1 (using on-change) isn't working: http://jsfiddle.net/ff6jourp/4/
The model value isn't setting.
Any suggestion.

Any idea to resolve this issue ?
Thanks

jsfiddle updated:  http://jsfiddle.net/376s2864/55/

Here is your fiddle working: http://jsfiddle.net/jc07rk5m/
You can always write a special binder for your special case, since making an input tag be a select tag seems a bit odd.
The code in question:
<input id="inSel2" type="hidden" rv-input-el-as-select-el="mod:inTest" />

rivets.binders['input-el-as-select-el'] = {
    publishes: true,
    priority: 2000,
    bind: function(el) {
        this.event = 'change';
        rivets._.Util.bindEvent(el, this.event, this.publish);
    },
    unbind : function() {
        rivets.binders.value.unbind.apply(this, arguments);
    },
    routine : function() {
        rivets.binders.value.routine.apply(this, arguments);
    }
}

It works fine. Thank you.


Figure for SMC

I'd suggest including this figure (or something like it) to visually explain SMC:
smc.pdf

@trvrb
I have a very good data set, could you please cooperate with me? thanks.


Добавлен вывод значений перечислений

Fix https://github.com/xDrivenDevelopment/1c-syntax/issues/253, https://github.com/xDrivenDevelopment/1c-syntax/issues/254
Первый подход.
TODO:

[ ] Открытие СП по перечислению под курсором

SonarQube analysis reported 6 issues

 completionItemProvider.ts#L291: for (... in ...) statements must be filtered with an if statement
 completionItemProvider.ts#L297: Exceeds maximum line length of 120
 global.ts#L414: object access via string literals is disallowed
 global.ts#L421: object access via string literals is disallowed
 global.ts#L436: object access via string literals is disallowed
 global.ts#L444: object access via string literals is disallowed

Current coverage is 35.38% (diff: 83.33%)

Merging #35 into develop will increase coverage by 0.43%

@@            develop        #35   diff @@
==========================================
  Files            19         19
  Lines          1923       1936    +13
  Methods         108        109     +1
  Messages          0          0
  Branches        400        402     +2
==========================================
+ Hits            672        685    +13
  Misses         1251       1251
  Partials          0          0

Powered by Codecov. Last update f93c148...7b22fbb

SonarQube analysis reported 10 issues

 completionItemProvider.ts#L217: object access via string literals is disallowed
 completionItemProvider.ts#L218: object access via string literals is disallowed
 completionItemProvider.ts#L304: for (... in ...) statements must be filtered with an if statement
 completionItemProvider.ts#L310: Exceeds maximum line length of 120
 global.ts#L414: object access via string literals is disallowed
 global.ts#L420: object access via string literals is disallowed
 global.ts#L421: object access via string literals is disallowed
 global.ts#L436: object access via string literals is disallowed
 global.ts#L443: object access via string literals is disallowed
 global.ts#L444: object access via string literals is disallowed

SonarQube analysis reported 10 issues

 completionItemProvider.ts#L218: object access via string literals is disallowed
 completionItemProvider.ts#L219: object access via string literals is disallowed
 completionItemProvider.ts#L312: for (... in ...) statements must be filtered with an if statement
 completionItemProvider.ts#L323: Exceeds maximum line length of 120
 global.ts#L414: object access via string literals is disallowed
 global.ts#L420: object access via string literals is disallowed
 global.ts#L421: object access via string literals is disallowed
 global.ts#L436: object access via string literals is disallowed
 global.ts#L443: object access via string literals is disallowed
 global.ts#L444: object access via string literals is disallowed

Хм, перестали тесты выполняться.

SonarQube analysis reported 10 issues

 completionItemProvider.ts#L218: object access via string literals is disallowed
 completionItemProvider.ts#L219: object access via string literals is disallowed
 completionItemProvider.ts#L312: for (... in ...) statements must be filtered with an if statement
 completionItemProvider.ts#L323: Exceeds maximum line length of 120
 global.ts#L414: object access via string literals is disallowed
 global.ts#L420: object access via string literals is disallowed
 global.ts#L421: object access via string literals is disallowed
 global.ts#L436: object access via string literals is disallowed
 global.ts#L443: object access via string literals is disallowed
 global.ts#L444: object access via string literals is disallowed

SonarQube analysis reported 15 issues

 15 major

Top 10 issues

 completionItemProvider.ts#L217: object access via string literals is disallowed
 completionItemProvider.ts#L218: object access via string literals is disallowed
 completionItemProvider.ts#L311: for (... in ...) statements must be filtered with an if statement
 completionItemProvider.ts#L322: Exceeds maximum line length of 120
 global.ts#L85: trailing whitespace
 global.ts#L90: Missing semicolon
 global.ts#L90: Missing trailing comma
 global.ts#L93: trailing whitespace
 global.ts#L94: trailing whitespace
 global.ts#L431: object access via string literals is disallowed

SonarQube analysis reported 12 issues

 12 major

Top 10 issues

 completionItemProvider.ts#L327: Missing trailing comma
 global.ts#L344: Missing trailing comma
 global.ts#L351: Missing trailing comma
 global.ts#L414: Missing trailing comma
 global.ts#L491: Missing trailing comma
 global.ts#L549: Missing trailing comma
 global.ts#L567: Missing trailing comma
 global.ts#L582: Missing trailing comma
 global.ts#L636: trailing whitespace
 global.ts#L656: Missing trailing comma


Update from Gradle 6.9 to Gradle 8.0

Closes #154

Including some necessary plugin updates.
Keeping Kotlin 1.3 as target compatibility.
Ensured that the generated artifacts are mostly the same.

Bytecode for most classes matches, where it doesn't I'm not sure what's different. There's a tiny diff in @kotlin.Metadata, probably a minor Kotlin 1.3.x diff.
MANIFEST.MF is the same
-sources.jar is the same
-javadoc.jar is still empty (😲)
Gradle plugin marker is correct
.pom files are the same (bar some expected trivial changes)
.module files are the same, bar some expected changes (full diff):

apiElements and runtimeElements were removed

@szpak this is RTM as you see fit.

Thanks @TWiStErRob. And thanks @vlsi for the review. Just one nitpicking and we can merge it.

... and of course 1 hour later, Gradle 8.0.1 is out. 🙃


Fixing kecubung not found issue on version 0.0.2-2

Coverage remained the same at 98.728% when pulling c36827419a896b4a43692e15554d4d8fd53a487a on ktutnik:master into bd7a219ad8158f27c69eaa27d6a3a158665a76a4 on kambojajs:master.


input type file has design issue

Hi team,
I facing an issue, the input type file it shows nothing but when I click in the image or in Additional Image from the browser the file manager comes up.

Thanks

Hi,
Thank you for working with our products.
Can you please give me a jsfiddle link with the issue so I can see exactly what happens?
All the best,
Rares

Hey @rarestoma
Thank you for your reply.
You can find the jsfiddle link in here: https://jsfiddle.net/g2omh3q9/1/
I think if the input type file looks like the below photo then it would be much understandable in dark theme. I hope you understand. let me know if I miss anything.

Cheers

Hi,
We provide a file input in our pro version of Black Dashboard available on the official bootstrap website(https://themes.getbootstrap.com/product/black-dashboard-pro-premium-bootstrap-4-admin/).
You can preview it on the Forms->Extended Forms page.
All the best,
Rares


RemoveGraph Federated-store operation doesn't function as part of an operation chain

The RemoveGraph operation for the federated-store at present only supports entering the required graphId. However, if you want to include it in an operation chain getting the graph ID through some other method then removing the graph dynamically you are at present unable to with RemoveGraph as it you cannot enter values dynamically like other GetElements operations that use the input instead.

@d47853 Is this a bug or just absence of a feature? I'm not clear whether it's desirable or not.

It's an absence of a feature. It's desirable to have it be chainable.

@d21211122 said: "I think caution is maybe best. The main usage of RemoveGraph is when you create temporary graphs as part of a chain and then tidy them up later, in which case you'd know the name of the graph and can simply include it in the operation. Passing graph names into RemoveGraph does carry risk, especially if you have lots of write accesses.
I can see an argument for making it parameterised, though, whether that's via a named op  or some other way"

Even the original poster @r32575  has voted (offline) to kill this issue.


[RAGAS] fix: Metric parameter validation and metric descriptors

fixes #528

Extends metric param validation, so that it is done by our integration framework and not Ragas
Distinguish required and optional metric parameters

Tests for the metric init params are still missing except for ASPECT_CRITIQUE.

@shadeMe now we don't distinguish required and optional parameters. name is used only for ASPECT_CRITIQUE, where it is needed.
Note that the implementation of  def _init_metric(self): in deepeval and now in ragas checks that all metric init parameters provided by the user are in the list of expected metric init parameters. In addition, it checks that if the metric expects any init parameters then the user must provide at least one of those. It doesn’t check that all of them are provided by the user. So it’s not fully checking required parameters but also not checking only allowed parameters.
Here is the part of code that I am referring to: https://github.com/deepset-ai/haystack-core-integrations/pull/555/files#diff-c0c023551bfa22d8d23e1e3f6cefcae07b3819de9b9811e313126f6bae1c5a53R81


Web App and Bot Channel Registration appear to have been split apart

In the section Enable the Bot Framework Protocol Streaming Extensions
It asks you to go to the Settings section to enable the Streaming Endpoint., which is currently located in the Bot Channel Registration.
Then in the next section it is telling you to go to the App Service Settings -> Configuration. That is located within the App Service (so not the Bot Channel Registration) and then within its Settings divider and then the Configuration.
This could use better language or visual breakdown.
It also appears the screenshots are out of date and not accurate with the azure interfaces I am seeing.

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

ID: aa4cb4da-ca0e-fc7f-686c-f3510bf9af0b
Version Independent ID: e20d2896-dcec-8e46-2f50-2227def34250
Content: Connect a bot to Direct Line Speech (Preview) - Bot Service
Content Source: articles/bot-service-channel-connect-directlinespeech.md
Service: bot-service
Sub-service: bot-service
GitHub Login: @trrwilson
Microsoft Alias: travisw

Thanks for the feedback. The Azure UI changes periodically, and we don't always catch discrepancies. We'll update the screenshots, and we'll review the descriptions for clarity.

Jonathan, I did update the article and it should be ready soon.

The article has been published with the suggested fixes.


Pattern: ContentBlock Segmented -  On iPad, all sub section are not stretched to full screen size as per specs.

Detailed description
Device : iPad
Issue :- On ipad, the sub section are not stretched to full screen size, they are cut to half. Only the link list is stretched to full screen.
Additional information

Expected :-

@Praveen-sr This is correct according to the visual specs. Once under 1056, the side elements will drop to the bottom and the main content section is 100% width at sm breakpoint (672)

As Lila said yesterday, there's just a small fix to be made in the LinksList,
which I'm working right now
cc: @RobertaJHahn @ltitle


Scope stories glob

Scope stories glob to be the styleguide directory rather than searching the whole project.
Not hugely noticeable on master but makes a big difference in the context of https://github.com/citizensadvice/design-system/pull/594 where there are far more files.

Smart. I like it. 👍


Add Scopes to Keycloak Client Authorizations

Is your feature request related to a problem? Please describe.
When using the new Authorization field for KeycloakClient (Thanks for adding that feature), if the permission is scoped based, then the scope needs to exist in the Authorization Scopes for the Client.
Describe the solution you'd like
Add a Scopes field to the KeycloakClient Authorization spec
Describe alternatives you've considered
Manually adding the authorization scope e.g "token-exchange" allows the KeycloakClient to reconcile properly
Additional context
I am working on a branch for this now, but I'm currently stuck at the mock pieces because make mocks is hitting a nil pointer. If you could possibly point into the right direction of which piece I could have missed, I would love to get this PR in for your team.

@dougkirkley You can open a draft pull request. I will check why the mocks aren't working.


Fix: Ensure Compression Algorithm is Installed Before Reading Compressed Data

Before submitting

[x] Was this discussed/agreed via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure to update the docs?
[x] Did you write any new necessary tests?

What does this PR do?

This PR addresses the first bug from issue #341 by raising a ValueError if the data being read is compressed but the compression algorithm is not installed.

Added the same version of the check as seen in L93 from writer.py.

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in GitHub issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Looks good!

Really nice!


Invalid Version: 10.3 (Debian 10.3-1.pgdg90+1).0

Using the latest postgres docker image gives the below error
This looks like a problem with the docker image, but would be very easy to accomodate
Essentially postgres returns { server_version: '10.3 (Debian 10.3-1.pgdg90+1)' } and a little version = version.split(' ')[0] after index.js:72 fixes it. Or one could downgrade to postgres:9.6, which is what I've done.
This may be a "Won't Fix" but hopefully it'll help anyone else facing the same error
[ERROR] TypeError: Invalid Version: 10.3 (Debian 10.3-1.pgdg90+1).0
    at new SemVer (/Users/aaronlang/not-safe-not-fair/node_modules/semver/semver.js:305:11)
    at compare (/Users/aaronlang/not-safe-not-fair/node_modules/semver/semver.js:578:10)
    at Function.gte (/Users/aaronlang/not-safe-not-fair/node_modules/semver/semver.js:627:10)
    at Object.<anonymous> (/Users/aaronlang/not-safe-not-fair/node_modules/db-migrate-pg/index.js:176:42)
    at tryCatcher (/Users/aaronlang/not-safe-not-fair/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/Users/aaronlang/not-safe-not-fair/node_modules/bluebird/js/release/promise.js:512:31)
    at Promise._settlePromise (/Users/aaronlang/not-safe-not-fair/node_modules/bluebird/js/release/promise.js:569:18)
    at Promise._settlePromise0 (/Users/aaronlang/not-safe-not-fair/node_modules/bluebird/js/release/promise.js:614:10)
    at Promise._settlePromises (/Users/aaronlang/not-safe-not-fair/node_modules/bluebird/js/release/promise.js:693:18)
    at Async._drainQueue (/Users/aaronlang/not-safe-not-fair/node_modules/bluebird/js/release/async.js:133:16)
    at Async._drainQueues (/Users/aaronlang/not-safe-not-fair/node_modules/bluebird/js/release/async.js:143:10)
    at Immediate.Async.drainQueues [as _onImmediate] (/Users/aaronlang/not-safe-not-fair/node_modules/bluebird/js/release/async.js:17:14)
    at runCallback (timers.js:756:18)
    at tryOnImmediate (timers.js:717:5)
    at processImmediate [as _immediateCallback] (timers.js:697:5)

Also witnessed the same issue today, can you push a pr for this?

Should be fixed in the latest version, please let me know if it should not.


Create Git branching and releasing strategy for CB-Larva

BRANCHING-AND-RELEASING-STRATEGY.md has been added.
Please, see CB-Larva's BRANCHING-AND-RELEASING-STRATEGY.md
In Cloud-Barista's Coffeehouse, Git branching and releasing strategy is described in detail.


LICENSE and README.md contradict each other

Hi,
according to the LICENSE file, Reel is published under the MIT license; however, the README.md file states:

The software provided here is intended only for internal use at Department of Chemistry, Aarhus University, and should not be distributed outside of the institute without the consent of the author.

Which clearly poses additional restrictions not imposed by the MIT license. I guess it is just a leftover from earlier? Preferably, you would just point to the license file with a statement such as "Reel is published under the MIT licence, details can be found in the LICENSE file." or similar.
Cheers,
Mika

Hi Mika
You are absolutely right, it is simply a leftover in the README.md, I will delete the line immediately!


Shorten the plan stack.

Every call to t.plan generates a stack trace. Apparently those stack traces are expensive. This speeds things up by shortening the stack trace.
I am not sure we need more than a depth of 1.
benchmark:
import test from 'ava';

for (var i = 0; i < 10000; i++) {
	test(`test${i}`, t => {
		t.plan(1);
		t.pass();
	});
}

master:
node cli.js test/lots-of-plans.js --verbose  6.16s user 0.58s system 119% cpu 5.647 total

depth 1 (current value in this PR):
node cli.js test/lots-of-plans.js --verbose  2.43s user 0.48s system 142% cpu 2.044 total

depth of 2:
node cli.js test/lots-of-plans.js --verbose  2.66s user 0.42s system 128% cpu 2.392 total

depth of 3:
node cli.js test/lots-of-plans.js --verbose  3.04s user 0.49s system 133% cpu 2.648 total

depth of 4:
node cli.js test/lots-of-plans.js --verbose  3.24s user 0.50s system 131% cpu 2.850 total

@sindresorhus Any thoughts on depth? I really think 1 just works.

Yeah, doesn't make sense to have deeper stack trace for this as you only care about where the plan was defined.

Changes made.

:+1:


--model_directory just got broken

Hello, i just updated to latest version and --model_directory argument seems to be broken.
error: unrecognized arguments: --model_directory

Hello,
It works for me. I can specify a model directory:
whisper-ctranslate2 inaguracio2011.mp3 --model_directory /home/jordi/sc/transcribe/whisper-ctranslate2/models/sc-medium-ca-200steps/
and if I do not provide a directory it:
whisper-ctranslate2 inaguracio2011.mp3 --model_directory
it says:
whisper-ctranslate2: error: argument --model_directory: expected one argument
What's exactly the command line that you are trying? Thanks

If I install via either installation method (plain pip or pip via github) I also get:
Traceback (most recent call last):
  File "/home/me/.local/bin/whisper-ctranslate2", line 5, in <module>
    from src.whisper_ctranslate2.whisper_ctranslate2 import main
  File "/home/me/.local/lib/python3.8/site-packages/src/whisper_ctranslate2/whisper_ctranslate2.py", line 4, in <module>
    from .models import Models
  File "/home/me/.local/lib/python3.8/site-packages/src/whisper_ctranslate2/models.py", line 10, in <module>
    class Models:
  File "/home/me/.local/lib/python3.8/site-packages/src/whisper_ctranslate2/models.py", line 35, in Models
    def get_list(self) -> list[str]:
TypeError: 'type' object is not subscriptable

Thanks for the details.
I have just released version 0.1.4. If you can please confirm if fixes the issue for you. Thanks

Thanks for the details.
I have just released version 0.1.4. If you can please confirm if fixes the issue for you. Thanks

Yes, works good now after uninstall and install again. Upgrade alone did not yield any results.
--model_directory works as well
Thanks

Thanks for reporting and test it!


custom bootstrap template not being wrapped

Question

Bootstrap: https://stackblitz.com/edit/ngx-formly-ui-bootstrap
"@ngx-formly/schematics": "^6.0.0-next.7",
"@ngx-formly/core": "^6.0.0-next",
"@ngx-formly/bootstrap": "^6.0.0-next"

I have implemented a date picker component using the ngx-bootstrap library.
This is in v6 (which  understand is pre-release) as per versions above.
I have copied code from examples in github:
    <input
        #dp="bsDatepicker"
        type="text"
        class="form-control mb-3"
        id="{{field.key}}"
        placeholder="{{ field.templateOptions.placeholder}}"
        [formControl]="formControl"
        [formlyAttributes]="field"
        bsDatepicker
        [bsValue]="bsValue"
        datePickerLuxonModifier
        [bsConfig]="bsConfig"
        [class.is-invalid]="showError">

and my module:
    FormlyBootstrapModule,
    FormlyModule.forRoot({
      validationMessages: [
        { name: 'required', message: requiredValidationMessage },
        { name: 'minlength', message: lengthValidationMessage },
        { name: 'maxlength', message: lengthValidationMessage },
        { name: 'min', message: minValidationMessage },
        { name: 'max', message: maxValidationMessage },
      ],
      types: [
        { name: 'datetime', component: NgxDateTimePickerTypeComponent },
        {name: 'guidance', component: NgFormGuidanceTextTypeComponent}
      ]
    }),
    BsDatepickerModule.forRoot(),

However, when I run the project I can see I have no wrapper:

The datepicker has no label and validation messages are not being passed.  As you can see from the image above validation messages are being passed for other inputs such as the text input, textarea and select.
Is there something I am missing here?
Should I downgrade to v5?

you need to pass form-field to wrappers in order to use bootstrap layout:
        {
          name: 'datetime',
          component: NgxDateTimePickerTypeComponent,
+         wrappers: ['form-field'],
        },

Is v6 due full release and are any breaking changes possible?

I think we're close, remain just few releases (1 or 2 which may contains some breaking changes).


KOGITO-7967 Improve clarity of procedure to start gRPC application in the guide

JIRA: https://issues.redhat.com/browse/KOGITO-7967

Please make sure that your PR meets the following requirements:

[x] You have read the contributions doc
[x] Pull Request title is properly formatted: KOGITO-XYZ Subject
[ ] Pull Request title contains the target branch if not targeting main: [0.9.x] KOGITO-XYZ Subject
[x] The nav.adoc file has a link to this guide in the proper category
[x] The index.adoc file has a card to this guide in the proper category, with a meaningful description

How to setup automatic cherry-pick to another branch ?

The cherry-pick action allows to setup automatic cherry-pick from main to a specific branch.
To allow it, you will need to add the corresponding label with pattern: backport-{RELEASE_BRANCH}.
For example, if a backport to branch 1.26.x is needed, then the label should be backport-1.26.x.
Once the PR is merged, the action will retrieve the commit and cherry-pick it to the desired branch.
NOTE: You can still add label after the merge and it should still be cherry-picked.

@kaldesai can you please take a look?

@kaldesai, can you please review it? I've opened a JIRA for you: https://issues.redhat.com/browse/KOGITO-8106.
Usually, JIRAs from ENG have a sub-task for Docs to review them. When we change the status to "Pull Request Sent," it's ready for your review. Many thanks!


Partly update fields with PATCH requests

Motivation and context

This PR provide ability to patch only changed fields in cvat-core job and task entities
How has this been tested?

Manually
Checklist

[x] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG file
- [ ] I have updated the documentation accordingly
- [ ] I have added tests to cover my changes
- [ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2020 Intel Corporation
#
# SPDX-License-Identifier: MIT

Coverage decreased (-0.03%) to 62.796% when pulling 65df3c989a43a1530ed0108b4e37e540c1c02693 on dk/cvat-core-pacth-requests-fix into<PHONE_NUMBER>fa58de68b81d3e1cc14c3c6e89e3c7 on develop.


Add validation modal - product creation, editing and/or deletion view - añadir modal de validación - vista de creación, edición y/o eliminación de productos

This issue includes the functionality of the buttons, clicking remove should bring up a validation asking the user if they want to remove something similar to this design but related to the theme of the product.

Originally posted by @angelik0828 in https://github.com/Azordev/did-admin-panel/issues/95#issuecomment-1228942754
Referencias

Por favor terminar en 3 días. Mas información: https://github.com/Azordev/did-admin-panel/issues/192

Blocked while developing the event in the backend and creating a component for reuse.

Done by @e-azocar so I un block this issue

I notice the modal already exists, will re assign to @e-azocar to add functionality

I confirmed modal worked as expected, closing this issue


Add rough version alpine container on guix SLURM proof of concept

Hey @pdiercks & @dglaeser,
here's a rough writeup of my proof of concept. I added some more explanations and I think I fixed the error we saw during my presentation.
But everything is still in a very rough state and I haven't tested the example from within this repository. There be dragons here :)

Thanks a lot @onluen!

Hey, I just read a bit through https://apptainer.org/docs/user/1.1/mpi.html
For comparison: This POC implements another model, which is completely guest contained. There shouldn't be any MPI version issues.
But there are also severe drawbacks:

It is assumed that MPI inside the container can detect it's execution environment (e.g. SLURM) via environment variables. It is unclear, if this is generally true.
It is assumed that OpenMPI will call srun only to spawn orted daemons on the  allocated nodes. All other interaction with SLURM will probably break.
If infiniband or similar is to be used by MPI, the relevant devices, libraries and drivers need to be available in the container, as detailed here https://apptainer.org/docs/user/1.1/mpi.html#interconnects-networking

It would be nice to discuss this approach with an MPI expert. I fear it will get ripped apart for many reasons, but I like to know these reasons :)


[BugFix] Fix HDFS stat information lost in profile and avoid BE crashed when get HDFS stat

Fix HDFS stat information lost in the profile and avoid BE crashing when get HDFS stat.
What type of PR is this:

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

Checklist:

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

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

Bugfix cherry-pick branch check:

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

[x] 3.0
[ ] 2.5
[ ] 2.4
[ ] 2.3

@Mergifyio backport branch-3.0


No module named cv2 / add requirements.txt file?

Very nice project. However, I just can't make it work because of missing cv2 requirement (and possibly others):
Traceback (most recent call last):
  File "../page_dewarp.py", line 15, in <module>
    import cv2
ImportError: No module named cv2

Perhaps you could add a requirements.txt file to your repo?

Changed readme in 438bdc614e0d7cffd948cde50f910f775956dc73 and added a requirements file in 5c587b5bfa6718656bb4cf82260d2b98f4fe5682 as you suggested.


Drop support for Python 3.7

Description
This pull request drops support for Python 3.7. Older versions of the toolbar will still be usable by people still using 3.7. This also makes us use less CI resources, something which is a big plus for me.
Also, see https://pythonspeed.com/articles/stop-using-python-3.7/
Checklist:

[x] I have added the relevant tests for this change.
[x] I have added an item to the Pending section of docs/changes.rst.

@tim-schilling I added a removal of Django 4.0 to this since the end of the extended support is close and our CI matrix is already really big. Everything should still work with 4.0 but we don't spend CI time verifying it over and over.

Another option to dropping 4.0 from the test suite entirely is to only test it with sqlite with the latest version of python it supports.

Good idea. I left py310-dj40-sqlite in there.


INFO messages print absolute path

(this may border on anal retentiveness...but just wanted to point it out as an FYI)
When using the 1.3.0 release on macOS downloaded from https://github.com/texane/stlink/releases/tag/1.3.0 the INFO debug messages print the absolute path from your build machine, i.e.:
/Users/jerry/Downloads/stlink-master/...
Here's the full log:
$ st-flash write ~/Projects/STM32/hello-nucleo/Debug/hello-nucleo.bin 0x08000000
st-flash 1.3.0
2017-01-29T19:59:18 INFO /Users/jerry/Downloads/stlink-master/src/common.c: Loading device parameters....
2017-01-29T19:59:18 INFO /Users/jerry/Downloads/stlink-master/src/common.c: Device connected is: F4 device (low power) - stm32f411re, id 0x10006431
2017-01-29T19:59:18 INFO /Users/jerry/Downloads/stlink-master/src/common.c: SRAM size: 0x20000 bytes (128 KiB), Flash: 0x80000 bytes (512 KiB) in pages of 16384 bytes
2017-01-29T19:59:18 INFO /Users/jerry/Downloads/stlink-master/src/common.c: Attempting to write 4828 (0x12dc) bytes to stm32 address: 134217728 (0x8000000)
Flash page at addr: 0x08000000 erased
2017-01-29T19:59:18 INFO /Users/jerry/Downloads/stlink-master/src/common.c: Finished erasing 1 pages of 16384 (0x4000) bytes
2017-01-29T19:59:18 INFO /Users/jerry/Downloads/stlink-master/src/common.c: Starting Flash write for F2/F4/L4
2017-01-29T19:59:18 INFO /Users/jerry/Downloads/stlink-master/src/flash_loader.c: Successfully loaded flash loader in sram
enabling 32-bit flash writes
size: 4828
2017-01-29T19:59:18 INFO /Users/jerry/Downloads/stlink-master/src/common.c: Starting verification of write complete
2017-01-29T19:59:18 INFO /Users/jerry/Downloads/stlink-master/src/common.c: Flash written and verified! jolly good!

If there is an easy way to truncate these in the Mac/Win release packages, it would make for less visual noise in the console output (i.e. change /Users/jerry/Downloads/stlink-master/src/common.c --> src/common.c)

I agree with you. I will fix this with v1.3.1.

Fixed by https://github.com/texane/stlink/commit/2c0ab7f0eb6cfda5cfbdc08bb9f6760d27c2b667

For those who interested I have extracted this trick into my cmake examples repo:
https://github.com/xor-gate/cmake-by-example/tree/master/filepath


Avoid constant re-deployment of charts with multiple inline dependencies

Fix for #1235.  Sort slices in chart structures whose ordering is arbitrary, e.g. depended-upon charts, so that the charts can be properly compared.
Right now it logs the diff between values and the diff between charts when there are discrepancies.  If this PR is accepted we should probably add an option and make the logging behaviour opt-in: even though sensitive data should not be present in charts or values, it could be, and there's no reason to make a bad security situation worse.
The logging of diffs works great when processing a git-driven change.  When reverting a manual change made to a release's values it doesn't work so well: we get the entire before and after config yaml, making for a very large and hard to read diff if there are a lot of values.  It seems that the Helm API isn't populating Config.Values, only Config.Raw.  I haven't found a way around this yet.
I wrote some tests that demonstrated the problem that passed with this fix, but sadly the tests I was extending in integrations/helm/releasesync/releasesync_test.go seem to be gone on the master branch.  I'm not really sad, I'm happy with the new chartsync.go and the deleted tests don't make sense in the new context, but I'll have to see what I can do it in terms of automated tests for this area of the code.

I'm not really sad, I'm happy with the new chartsync.go and the deleted tests don't make sense in the new context, but I'll have to see what I can do it in terms of automated tests for this area of the code.

:-) Sorry about that @ncabatoff, I was reluctant to remove the fruits of your hard work, but also keen to push through the simpler implementation.

What did you think about making the diff logging be opt-in via command-line option, for security reasons?

What did you think about making the diff logging be opt-in via command-line option, for security reasons?

How about:
--log-release-diffs    Log the diff when a chart release diverges; potentially insecure (false)


Deploy Storybook

Everytime something is pushed to main, Storybook is deployed to platform.carbondesignsystem.com
Will solve this with github actions: From #694

Create a separate repository on carbon-design-system branch for the purpose of hosting storybook/PR deployment files
set up gh pages inside repo (main/docs or gh-pages/docs)
Build and deploy storybook to docs/storybook
Setup custom domain (platform.carbondesignsystem.com)
Create a github action inside carbon-platform repo with the following specifications:

Every time main is pushed to and storybook files are changed:
build storybook, output to docs-build folder
commit output folder to repo from step 1 (docs/storybook) (might or might not need a github token for this, TBD)

Hey team! Please add your planning poker estimate with ZenHub @alisonjoseph @jdharvey-ibm

Confirmed will need a token, working example: https://github.com/francinelucca/storybook-test/blob/main/.github/workflows/storybook.yml


rkt: metadatasvc -> metadata-service

looks purely mechanical, lgtm

lgtm although I wouldn't have changed the variable names. I think making identifiers shorter (in code) is a good thing.

Let's revisit, I think we can tackle that more broadly.


How to hide robot icon and tips?

Tried set useAutomationExtension=False, but it still not work, thanks!
profile = pm.get_profile_by_name(profile_name)
profile.set_config("useAutomationExtension", False)
profile.set_config("dom.webdriver.enabled", False)
profile.set_required_configs()

To the best of my knowledge this cannot be changed, since it is hardcoded in Firefox.
If I recall it correctly the developers made these changes to avoid malware to silently intercepting Firefox instances without the knowledge of the user.
At least the robot marking on the address bar, cannot be detected on web pages with anti-bot scripts (if you worry about this problem).

To the best of my knowledge this cannot be hidden, since it is hardcoded in Firefox. If I recall it correctly the developers made these changes to avoid malware to silently intercepting Firefox instances without the knowledge of the user. At least the robot marking on the address bar, cannot be detected on web pages with anti-bot scripts (if you worry about this problem).

Aha, its just annoying, and if it can do the work well without been detected, I should have to accept that there are no ways to hide issue, thanks for your reply!


How to add a ZIP attachment to Word？

I have read the document and found that there is no interface for inserting attachments implemented. I have checked that Python pptx has an interface for inserting attachments, and now I want to know how to combine the implementation in pptx with docx. What should I do?

I have read the document and found that there is no interface for inserting attachments implemented. I have checked that Python pptx has an interface for inserting attachments, and now I want to know how to combine the implementation in pptx with docx. What should I do?

The code that does that in python-pptx starts here: https://github.com/scanny/python-pptx/blob/master/pptx/shapes/shapetree.py#L281
You can trace it down from there to see what it's actually doing. The general idea of that capability is inserting an OLE object. Object Linking and Embedding (OLE) is Windows-specific, so there are significant limits to what can be done that works across OSes, but that's the gist of what that feature is.


Bug with accentuated characters in the Gist title

Look this one: http://bl.ocks.org/1213727

Apparently https://github.com/mbostock/bl.ocks.org/blob/master/appengine/main.py treats those input strings as ISO-8859-1, when they really are UTF-8 encoded.
Maybe it's as easy as wrapping the https://github.com/mbostock/bl.ocks.org/blob/master/appengine/main.py#L104 fetch call with smart_unicode()?

I'm sorry, I don't know Python, I thought it used UTF-8 everywhere.
2011/10/27 Johan Sundström <
<EMAIL_ADDRESS>
Apparently
https://github.com/mbostock/bl.ocks.org/blob/master/appengine/main.pytreats those input strings as ISO-8859-1, when they really are UTF-8
encoded.
Maybe it's as easy as wrapping the
https://github.com/mbostock/bl.ocks.org/blob/master/appengine/main.py#L104fetch call with smart_unicode()?
--
Reply to this email directly or view it on GitHub:
https://github.com/mbostock/bl.ocks.org/issues/4#issuecomment-2538980

--
Nicolas HOIZEY
http://gasteroprod.com/


osc player does not update port on save settings

changes only get activated after restarting the app

apparently it does update, might be fixed due to other changes...


Add quick prompt for grammar correction

AI is super good at grammar correction, better than Grammarly unless they improved things. a prompt to correct grammar would be great. Ideally prompt should emphasize to keep the original writing style, because I found it will make it overly formal a lot. Also, here are some other ideas

Tone e.g. Up beat, angry, sad, formal, silly, etc.
Convert to bullet points or other things like rows and columns
Defining a word, maybe kinda useless somewhat?
Shorten to 280 characters for that one site

Currently, if you select text and right-click, you can perform the following tasks. More will be added soon


pkg/dartdev/test/analysis_server_test flaky -> RuntimeError

--- Command "vm" (took 38.000864s):
set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & set CHROME_PATH=C:\b\s\w\ir\cache\builder\sdk\third_party\browsers\chrome\Chrome\Application\chrome.exe & out\ReleaseX64\dart-sdk\bin\dart.exe --enable_asserts -Dtest_runner.configuration=unittest-asserts-release-win --ignore-unrecognized-flags --packages=C:\b\s\w\ir\cache\builder\sdk\.packages C:\b\s\w\ir\cache\builder\sdk\pkg\dartdev\test\analysis_server_test.dart

exit code:
255

stdout:
00:00 +0: AnalysisServer can start

00:01 +1: AnalysisServer can send message

00:03 +1 -1: AnalysisServer can send message [E]

  FileSystemException: Exists failed, path = 'C:\b\s\w\ir\x\t\aa3953698' (OS Error: Access is denied.
  , errno = 5)

  dart:io/directory_impl.dart 94:7                  _Directory.existsSync
  pkg\dartdev\test\utils.dart 108:16                TestProject.dispose
  ===== asynchronous gap ===========================
  pkg\dartdev\test\analysis_server_test.dart 24:26  main.<fn>.<fn>

Consider enabling the flag chain-stack-traces to receive more detailed exceptions.
For example, 'dart test --chain-stack-traces'.
00:03 +1 -1: Some tests failed.

stderr:
Unhandled exception:
Dummy exception to set exit code.

--- Re-run this test:
python3 tools/test.py -n unittest-asserts-release-win pkg/dartdev/test/analysis_server_test

https://dart-ci.appspot.com/log/pkg-win-release/unittest-asserts-release-win/19394/pkg/dartdev/test/analysis_server_test
Similar to https://github.com/dart-lang/sdk/issues/47700.
/cc @bkonyi @aam

This test became flaky around https://github.com/dart-lang/sdk/commit/f40b06a8ac57ead33a8aa79796860c889f80157b.

Flipped to green but then back to RuntimeError (and thus red) today, so is still flaky.

@bkonyi I don't know what the normal process is for an error like this. Let me know if you have a preference for how this is handled.

@bwilkerson preferably the flakiness is fixed by the owner of the command or reassigned to another team member to fix.
However, we've seen these sorts of issues on Windows before, but I'm not 100% sure what we did to resolve them. This looks like it might even be a permissions issue? cc @athomas


Generate the style.yml from tileJSON and metadata.json scheme

https://github.com/mapbox/tilejson-spec
https://github.com/mapbox/mbutil

In addition, PR #27 just implemented to create default layers on a single style.yml inside. However, in the future, we may add another option to generate configuration files separately for each layers.
Decomposing layer configuration files can be like the following command.
charites init style.yml --tilejson_urls <--tilejson_urls> --decomposite-layers

In root style.yml, it indicate the location of each layer configuration files.
layers:
  - !!inc/file layers/background.yml
  - !!inc/file layers/water.yml

Thanks 😊
If you load multiple TileJSONs, then  many layers will be loaded.
The user will want to adjust the order of those layers, and it is better if those layers have separated files.
And I don't want to add options if possible to keep easy to use.

@miya0001 I have implemented in #27. Please check it.

close this PR now


Added routing and jsp pages

Still very much in progress, but puts a few more things in place for the overall structure

I'm probably missing something here but do we actually need to have JSPs?  Since we're using Typescript and AngularJS can the UI not be a pure HTML app?

I'm also confused by the need for JSPs

Sure, there is currently no 'need' for jsps, but I really wanted to showcase the integration and mix in a bit of EE on the UI app. There is an element of a blog post coming in there later. It's just to show that it can be done, and was one of my first questions (coming from a very strong EE background) - Currently there is very little out there in google land that puts this all together, but many asking for it.
I only see an 'added' value there (jsps take nothing away from naked html, only add), and I feel that Microprofile is also here to serve the wider EE community that will be looking at this. So I guess I am looking for a meetup of the purists and the EE guys. How does that make you feel? (Warm I hope).

That said, if you want to use an html template for your corresponding components I guess that's pretty easy to do - I'm just filling out the ui app as I'm learning Angular2.

Hi @AndyGee - So I feel strongly about removing all other EE aspects apart from the core 3 that MP is supporting.  Perception means a lot and if people looking at the sample app see EJBs (which I know where's removing) and JSPs they'll get the impression that MP is just Java EE.

OK, I'll make the endpoint urls lookup a rest callback - merge this and I'll sort it out on the next pr- as said, it's in progress - the next 4 days I'll be on this.


Backend Listener: Can't keep influxDBUser blank

Our database doesn't use a user or password. When I click save, it defaults the user back to jmeter.
Edit: Doesn't seem to cause issue with test just thought I'd bring it up.

Never mind. I just edited to code to remove the default string.

There is a mandate to use username, password for influxdb.
Why this restriction is there?
Shouldn't this be flexible enough to support both usecases, as InfluxDb supports without username/password.
Please look into this.


add Listener::event() -> Event method to handle all Event.

add Listener::event() -> Event method to handle all Event.
update version to 0.4.0
close #6

Thank you


ch14 generate_tfRecord.py error

receiving this error message in ch14 generate_tfRecord.py
File "generate_tfRecord.py", line 20, in
flags = tf.app.flags
AttributeError: module 'tensorflow' has no attribute 'app'

here is the exact verbage:
File "generate_tfRecord.py", line 20, in
flags = tf.app.flags
AttributeError: module 'tensorflow' has no attribute 'app'

Thank you for pointing this out. Are you on TensorFlow 2.x? Looks like TensorFlow 2.x no longer has the tf.app functionality according to https://github.com/tensorflow/tensorflow/issues/34431
Can you try using https://github.com/PracticalDL/Practical-Deep-Learning-Book/blob/master/code/chapter-6/storing-data-as-tfrecord.ipynb code for conversion which works for TensorFlow 2.x.

Hello, I haven’t tried it yet.  I switched my program I was working on to Microsofts custom vision.ai.  I will revisit the problem, maybe this upcoming weekend.

On Jun 27, 2020, at 9:33 PM, Siddha Ganju<EMAIL_ADDRESS>wrote:
Thank you for pointing this out. Are you on TensorFlow 2.x? Looks like TensorFlow 2.x no longer has the tf.app functionality according to tensorflow/tensorflow#34431 https://github.com/tensorflow/tensorflow/issues/34431
Can you try using https://github.com/PracticalDL/Practical-Deep-Learning-Book/blob/master/code/chapter-6/storing-data-as-tfrecord.ipynb https://github.com/PracticalDL/Practical-Deep-Learning-Book/blob/master/code/chapter-6/storing-data-as-tfrecord.ipynb code for conversion which works for TensorFlow 2.x.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/PracticalDL/Practical-Deep-Learning-Book/issues/127#issuecomment-650665163, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIIOPOQ4B36LDISLHUROS2LRY2MWJANCNFSM4OEB743Q.

I'm closing this issue now, since there has been no activity in the past 2 weeks.


Windows background process killed when terminal is closed even if parent Linux process still exists

Windows Build Number
Microsoft Windows [Version 10.0.21370.1]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
5.10.16
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
Open terminal for WSL, then run the following commands to start 1 Linux background process and 1 Windows background process.
/sbin/start-stop-daemon --exec /mnt/c/Windows/System32/PING.EXE --background --start -- <IP_ADDRESS> -n 1000
/sbin/start-stop-daemon --exec /usr/bin/ping --background --start -- <IP_ADDRESS>

Open another terminal for WSL, run ps -Af to verify both processes are running, then close the first terminal. Run ps -Af again to verify processes running.
Expected Behavior
I expect the ps -Af to show both the Windows and Linux background processes running before and after closing the first terminal:
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 00:45 ?        00:00:00 /init
root         7     1  0 00:45 ?        00:00:00 /init
root         8     7  0 00:45 ?        00:00:00 /init
ubuntu       9     8  0 00:45 pts/0    00:00:00 -bash
ubuntu      26     8  0 00:46 ?        00:00:00 /tools/init /mnt/c/Windows/System32/PING.EXE <IP_ADDRESS> -n 1000
ubuntu      30     8  0 00:46 ?        00:00:00 /usr/bin/ping <IP_ADDRESS>
root        32     1  0 00:46 ?        00:00:00 /init
root        33    32  0 00:46 ?        00:00:00 /init
ubuntu      34    33  0 00:46 pts/1    00:00:00 -bash
ubuntu      49    34  0 00:46 pts/1    00:00:00 ps -Af

UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 00:45 ?        00:00:00 /init
root         8     1  0 00:45 ?        00:00:00 /init
ubuntu      26     8  0 00:46 ?        00:00:00 /tools/init /mnt/c/Windows/System32/PING.EXE <IP_ADDRESS> -n 1000
ubuntu      30     8  0 00:46 ?        00:00:00 /usr/bin/ping <IP_ADDRESS>
root        32     1  0 00:46 ?        00:00:00 /init
root        33    32  0 00:46 ?        00:00:00 /init
ubuntu      34    33  0 00:46 pts/1    00:00:00 -bash
ubuntu      51    34  0 00:46 pts/1    00:00:00 ps -Af

Actual Behavior
ps -Af shows the Windows process PING.EXE persists while the first terminal is open. When the first terminal is closed, PING.EXE is terminated. Task Manager also shows that PING.EXE is terminated.
While first terminal is open:
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 00:45 ?        00:00:00 /init
root         7     1  0 00:45 ?        00:00:00 /init
root         8     7  0 00:45 ?        00:00:00 /init
ubuntu       9     8  0 00:45 pts/0    00:00:00 -bash
ubuntu      26     8  0 00:46 ?        00:00:00 /tools/init /mnt/c/Windows/System32/PING.EXE <IP_ADDRESS> -n 1000
ubuntu      30     8  0 00:46 ?        00:00:00 /usr/bin/ping <IP_ADDRESS>
root        32     1  0 00:46 ?        00:00:00 /init
root        33    32  0 00:46 ?        00:00:00 /init
ubuntu      34    33  0 00:46 pts/1    00:00:00 -bash
ubuntu      49    34  0 00:46 pts/1    00:00:00 ps -Af

When the first terminal is closed:
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 00:45 ?        00:00:00 /init
root         8     1  0 00:45 ?        00:00:00 /init
ubuntu      30     8  0 00:46 ?        00:00:00 /usr/bin/ping <IP_ADDRESS>
root        32     1  0 00:46 ?        00:00:00 /init
root        33    32  0 00:46 ?        00:00:00 /init
ubuntu      34    33  0 00:46 pts/1    00:00:00 -bash
ubuntu      51    34  0 00:46 pts/1    00:00:00 ps -Af

Diagnostic Logs
No response

Every wsl session has its own Windows process called 'wsl' and the Windows executables called in a wsl session seem to be child processes of  the session's 'wsl' process, so I guess when a wsl session is terminated, its 'wsl' Windows process and its child processes(the Windows executables running through the wsl session) are all killed.


Python viewer runs perfectly, but other scripts end with Platform::WindowlessEglApplication::tryCreateContext(): unable to find CUDA device 0 among 2 EGL devices in total WindowlessContext: Unable to create windowless context

At this point I truly do not know what I am doing wrong. I do not have a GPU, but a python example viewer runs perfectly. However, if I try to do anything in another script, it fails with Platform::WindowlessEglApplication::tryCreateContext(): unable to find CUDA device 0 among 2 EGL devices in total WindowlessContext: Unable to create windowless context. I truly do not understand how a fancier script can run without problems, and the following piece breaks:
from typing import Any, Dict
import habitat_sim
from habitat_sim.utils.settings import default_sim_settings, make_cfg

sim_settings: Dict[str, Any] = default_sim_settings
sim_settings["scene"] = "./data/test_assets/scenes/simple_room.glb"
sim_settings["scene_dataset_config_file"] = "default"
sim_settings["enable_physics"] = False
sim_settings["num_environments"] = 1
sim_settings["window_width"] = 800
sim_settings["window_height"] = 600
sim_settings["default_agent_navmesh"] = False
sim_settings["color_sensor"] = True
sim_settings["depth_sensor"] = True
sim_settings["semantic_sensor"] = True

cfg = make_cfg(sim_settings)
sim = habitat_sim.Simulator(cfg)

Please help :(
Specs:

Python: 3.9
how I installed habitat: conda install habitat-sim withbullet -c conda-forge -c aihabitat
system: Ubuntu 22.04

That's pretty strange. Your script works on my end.

I do not have a GPU, but a python example viewer runs perfectly.

Which example viewer did you run?

@0mdc I ran examples/viewer.py with exactly this command:  python examples/viewer.py --scene path/to/.ply.

@0mdc why would you close this issue? It is very far from being solved.

My mistake, I closed the wrong one :)

Any solution yet? Meet the same problem with docker.


[FEATURE REQUEST] Auto-embed in lyrics instead of iframe

Right now, in the lyrics directory. The iframe for the song is still running. But, I think we can call upon the function we created in the JS for the timestamps for each song, and set that in the directory. I explained it in a confusing manner but yeah. And using #9 we can automatically stop the song, but even if we don't implement #9 that would still be fine as it would be as it is now, but without the long iframe.

I don't get it.

I don't get it.

Yeah. I explained it in a confusing way.
What I'm saying is, in the JS we const the songs, and in #24 your working on const the end of the songs, so I was thinking we can call upon the JS file where we const the songs, and if the song is "All I Want For Christmas" we just need to call the line in the js:   "All I Want For Christmas": "940" and there the song will show. Anyways, this is kinda pointless coz one iframe doesnt really make a difference so if you don't get it then i'll close this.

Did you understand this now @TechStudent11 ?

think so

Closing this, as this will be a huge effort and won't really make sense tbh.
Will re-open if I ever think we need it again or if I find something useful to help us with this.


fix: Fix support for continueOn failed for DAG. Fixes #1817

Checklist:

[x] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this does not need to be in the release notes.
[x] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234". Why? for the release notes.
[x] Optional. I've added My organization is added to the README.
[x] I've signed the CLA and required builds are green.

Fixes #1817

Ignore CI failure, not related to changes.

@dtaniwaki can you review/approve please?


Update an action to run on Node 16 instead of Node 12

Run commands with Node v16.18.1 and npm 8.19.2.
Fixes #118

Hi @artemrys,
Thanks a lot for your contribution.
I have updated the node version in this https://github.com/contributor-assistant/github-action/pull/126. However, I am closing this PR but your contribution is well appreciated 👏


Allow to set the used rpc provider in the config

Allow to set also IPC or WebsocketProvider in the rpc config.
Also allow to change the poll interval.

done


Question: Recommended way to disable an entire source

Scenario
We are switching between a live and a standby cluster, where we want the standby to no longer be pulling events off of Kafka - but ideally we don't want to delete every broker / every trigger each time this switch happens
Question
Is there a recommended way to drive a setup where an entire source may need to be disabled or disconnected without causing too much 'churn'? (And ideally while allowing any events already in the system to safely drain and complete)
Additional Info
We're using a Kafka source, and then a number of brokers (10-20) and then per broker we have a number of Triggers (5-10). Deletion/recreation of these triggers etc. each time we switch live and standby would be very awkward (and probably error prone)

@DavidR91 just to make sure we are on the same page here: when speaking of a live and a standby cluster do you mean a live and a standby Kafka cluster or a live and a standby k8s/knative cluster?
/triage needs-user-input


求助

<EMAIL_ADDRESS>

This paper will be published soon. Please wait a moment.

<EMAIL_ADDRESS>

<EMAIL_ADDRESS>
This paper will be published soon. Please wait a moment.

<EMAIL_ADDRESS>
This paper will be published soon. Please wait a moment.
Thanks, I'll be looking forward to it

https://ieeexplore.ieee.org/document/8746781


Error: the domain name is lost after the latest code is compiled

As shown in the figure, trying to compile on both alpine and Windows 10, the same problem arose.

tcping.zip
This is the file I compiled.

Thank you for your efforts!


Update KrishnaTheCoder756.json

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

There are merge conflicts probably because you had an outdated branch. Updating your fork may resolve the conflicts or you can try suggestions by @priyankarpal.  🛠


Add C# support for dynamic server SSL certificate reloading

Implemented API integration for facilitating dynamic server SSL certificate reloading in C# via callback (config fetcher).

@markdroth
@jtattermusch

Related issue: https://github.com/grpc/grpc/issues/16118

Note that we are in the process of changing the C-core API for credential reloading, which is currently still experimental.  We should probably make sure that this change does not conflict with that work -- i.e., this PR should only be merged if we will not require any C# API changes when the C-core API change is complete.
Also, note that if this is going to be a non-experimental API in C#, it will require a gRFC.

@jtattermusch @jiangtaoli2016 just a kind reminder on this

@jtattermusch @jiangtaoli2016
Is there an ETA for reviewing this? What are some average times from PR being submitted to the the start of reviewing?
I am a Microsoft employee and this feature is needed by our product. We are blocked on this.
I understand that you might be busy.
I am just wondering if there is a problem with this PR (i.e. whether if fell through some cracks) and fear that it is not even be queued for reviewing. If you are busy, that is understandable, I would just like info that this PR is eventually going to get reviewed.
I fear that you might filter PRs by their EasyCLA status, and that PRs whose EasyCLA is not passing are filtered out.
The commit (9dd14c1) is missing the User's ID, because I omitted my email I have since edited the commit and force-pushed it, overwriting the commit 9dd14c1 with b44593c but EasyCLA did not pick this up. I will try to push another commit in the hopes that EasyCLA will get back on track.

I'm very interested in this PR, as support for this feature is missing in the C# part for quite some time now and it actually affects design decisions for gRPC server integrations. (Restarting servers for changing credentials is a no-go..)
Is there any chance this could be moved up in the review queue?

@ak800i  sorry for delay.
I can review from the C# integration perspective, I'm not too knowledgeable about the new C-core credentials API. Is the API documented somewhere (besides the original PR https://github.com/grpc/grpc/pull/12644)? An example for using the API would also be useful.
@yihuazhang  @jiangtaoli2016:

is the API being wrapped by this PR the right API to use? (and also the one we're supposed to be using for this purpose in the long run? I'm not sure about the relationship between the current API and the new TLS credentials from https://github.com/grpc/proposal/pull/98/files).
can you review that API is being used correctly in this PR.

After the answer is yes to both questions, I can look more in detail at the way the wrapping is done in C# (I think the general approach is roughly ok, and the boilerplate I'd expect seems to be there, but I'd need to understand the usage patterns of the credentials refresh API a bit more to be able to review in detail).

@jtattermusch I do not know that any documentation exists.
The goal of this PR is to bring the C# implementation to Go/Python's level.
Here is the the PR that brought this API to Python https://github.com/grpc/grpc/pull/13188
and here is the "official" issue with C# https://github.com/grpc/grpc/issues/16118

@jtattermusch @jiangtaoli2016
What is the current state of the review?

@jtattermusch @jiangtaoli2016
What is the current state of the review?

There is an internal thread with the PR author where we're trying to figure out what are the next best steps in terms of supporting the upcoming TLS credentials API described here: https://github.com/grpc/proposal/pull/98/files

There is an internal thread with the PR author where we're trying to figure out what are the next best steps in terms of supporting the upcoming TLS credentials API described here: https://github.com/grpc/proposal/pull/98/files

Isn't that entirely different conversation?
From my understanding this PR is supposed to close a gap between the C API and the C# implementation that exists since Sept. 2017 when the cert reloading feature was merged.
Would be sad to see this PR going to waste and C# users have to wait another extended period of time for the new API to be supported.

There is an internal thread with the PR author where we're trying to figure out what are the next best steps in terms of supporting the upcoming TLS credentials API described here: https://github.com/grpc/proposal/pull/98/files

Isn't that an entirely different conversation?

I don't think it is. We know that a new credentials API is going to be introduced in C-core soon (and the older one is going away), so I want to only add a C# API that won't need to be revisited (modified/removed) in near future.

From my understanding this PR is supposed to close a gap between the C API and the C# implementation that exists since Sept. 2017 when the cert reloading feature was merged.
Would be sad to see this PR going to waste and C# users have to wait another extended period of time for the new API to be supported.

I appreciate the effort to close the feature gap (sorry for the delay when reviewing), but I want to make sure it's done the right way. We need to make sure that if we bring in a new C# API, it's going to be compatible with the new C core API that's coming. If we add an API that we know will break soon, it's not going to be useful for anyone.
Let's make sure the proposed API is compatible with https://github.com/grpc/proposal/pull/98/files first.

@jtattermusch who is going to write this short proposal that summarizes the C# public API we want to use going forward?

It would have to be someone from the community (feel free to nominate yourself) - while I believe this would be a useful addition, I unfortunately don't have the cycles to write the proposal myself (as I pointed out earlier).


how can I continue fine-tuning the model after SFT on my own data

Thanks for this awesome repo, and I am wandering how to continue fine-tune the model after SFT on my only data. Like the fintune_task_lora.sh in the official llava?

It seems that the finetuning config can only load the weights from pretrain. But I want load the fine-tuned model for further downstream fine-tuning

will you release the fine-tuned weights (before converted to hf format)?


Add device type column

Please consider adding an additional column where the Device Type can be specified.
Here's a list for insparation
Device Types
Mobile

Generic
Mobile
Tablet
Portable music player
eBook reader
Smart Watch
Wearable
Car

Audio & Video

Media Player
Television
Game console
Streaming Dongle
Speaker/Amp
AV Receiver
Cable box
Disc player
Sattelite
Audio Player
Remote control
Radio
Photo camera
Photo Display
Mic
Projector

Home & Office

Computer
Laptop
Desktop
Printer
IP Phone
VoIP Device
Conferencing
Scanner
Point of Sale
Clock
Barcode scanner

Smart Home

IP Camera
Smart Device
Smart Plug	Light
Voice Assistant
Thermostat
Power System
Solar Panel	Smart Meter
HVAC
Smart Appliance
Smart Washer
Smart Fridge
Smart Cleaner
Sleep Tech	Fitness
Garage Door
Pool
Sprinkler
Doorbell
Smart Lock
Sensor
Baby Monitor
Pet Monitor
Alarm
Motion Detector
Security System
Smoke Detector
Water Sensor
Touch Panel
Controller
Scale
Toy
Robot
Weather Station
Health Monitor

Network

Router
Wi-Fi
Wi-Fi Extender
NAS
Modem
Switch
Gateway
Firewall
VPN
PoE Switch
USB
Small Cell
Cloud
UPS
Network Appliance

Server

Virtual Machine
Server
Terminal
Mail Server
File Server
Proxy Server
Domain Server
Communication
Database
Web Server

Engineering

Raspberry
Arduino
Processing Unit
Circuit Board
RFID Tag

Industrial

Industrial Device
Medical Device
Automotive
Energy

@Amoenus I'm planning to add tag column, where user can specify device type, location or anything else

Could a "Sort by" be added to all columns?
ie An Up & Down arrow on each column.

With Tagging and sorting/grouping by tag, I could replace the spreadsheet I have to maintain manually? It's normal to have 50 IP devices on your home network, right? Right??


How do I customize the session?

The package gives us CustomSessionStorage and requires to implement 3 callbacks which are storeCallback, loadCallback, deleteCallback. The storeCallback method requires Session argument when using Typescript. How do I store my own session data? For example, let's say I want to store the online and offline access token at the same time, but it looks like the current implementation only allows one token. And even if I can extend Session with my own class, I'm forced to store shop, state and scope. I'm not sure what the state property is for. Is there any way I can further customize it?
class Session {
    readonly id: string;
    static cloneSession(session: Session, newId: string): Session;
    shop: string;
    state: string;
    scope: string;
    expires?: Date;
    isOnline?: boolean;
    accessToken?: string;
    onlineAccessInfo?: OnlineAccessInfo;
    constructor(id: string);
}

Hey! So you can definitely create a custom session class that can be as extensible as you need/want it to be. What you'll want to do is:

create a CustomSession class that looks something like this: (make sure it extends Shopify.Session.Session)

import Shopify from '@shopify/shopify-api'

class CustomSession extends Shopify.Session.Session {
  foo: string;
  bar: number[];
  ... other custom data ...
}

Then make sure your loadCallback returns an instance of that CustomSession class so that the library treats it as an instance of Session

When you load your sessions, in order to access your custom fields, you'll want to cast the return as your CustomSession class:

let session = await Shopify.Utils.loadCurrentSession(req, res) as CustomSession;

Hope that's helpful! Let me know if that doesn't answer your question or if anything is unclear.

@thecodepixi  Thanks for your answer! But doesn't it force to implement shop, state, and scope properties? Sorry if it isn't, I'm pretty new to Typescript. And what the state property is for? Isn't it the random number we should generate during OAuth flow for security? I don't know why we would want to store in the sessions.

Yes, these parameters are all required for the OAuth process. You cannot remove them from your sessions because they are required for many features of the library to function correctly.

@thecodepixi Thanks it really helped me a lot. But I'm wondering how the library automatically store and load the online and offline access token separately.
The library has two methods to fetch the session from the database.
await Shopify.Utils.loadCurrentSession(request, response, isOnline);
await Shopify.Utils.loadOfflineSession(shop);

But the Session class only has one access token property.
class Session {
    readonly id: string;
    static cloneSession(session: Session, newId: string): Session;
    shop: string;
    state: string;
    scope: string;
    expires?: Date;
    isOnline?: boolean;
    accessToken?: string;
    onlineAccessInfo?: OnlineAccessInfo;
    constructor(id: string);
}

I thought I can store the online and offline access tokens by implementing my own session class, store, and load callbacks, but the fact that the library already has the methods for fetching both of them is kind of confusing.
So how does the library store and load the online and offline access tokens at the same time? Or is it impossible to fetch them concurrently?

Online and offline sessions are stored separately. So if you have a the offline access token from a particular shop, that offline session will be separate from any/all online sessions that are created (which will store the access tokens for those session). It is important not to tie them together and store those tokens in the same place, because offline tokens are permanent and do not expire, but the expectation is that an online sessions token and data is only stored for the duration of that session. I hope that helps!

@thecodepixi Thanks! That really helped, I think I can close the issue.


Destroy on_query_completions methods in Packages

This is a very small case; only CSS and HTML come with these methods by default but they fit into the same category. We should be cleaning these up as well but are not as it is a much harder problem to solve.

I didn't realize I created this issue before. However, I have already placed it in another repo. Whoops =/
https://github.com/twolfson/sublime-query-completions-silencer


Add semantic highlighting modifiers for punctuations

Open question would be the name of the delimiter modifiers. I chose them this was as I see them this way but from what I remember people tend to mix the names however they like. So maybe using delimSquare, delimCurly, delimRound would be better. That would also go well with angle becoming delimAngle?
Closes #6152

Stats: blocked on moving kinds of punctuations to tags: https://github.com/rust-analyzer/rust-analyzer/pull/6238#discussion_r505522984

ping @Veykril )

ping @Veykril )

Kind of forgot about this PR 😅 This should be what you had in mind I believe right?

Kind of forgot about this PR 😅 This should be what you had in mind I believe right?


🐛 Bug | Follow counter not working on small profile cards

The counter on the small profile cards (when hovering a writer's name on an article) is not updating when we click on the "follow" CTA.
See screen recording here:
https://user-images.githubusercontent.com/7244762/191268470-0f2430ce-9813-4492-a1f0-a4e0cfb9f408.mov
Device

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

@gregogun could be the params missing maybe?


Proper path handling for image export

When extracting images the path to the image file within the, e.g. markdown file is incorrect when output does not point to . directory. This fix finds the common path of output and image_path and adjusts the paths in the, e.g. markdown file.
I would greatly appreciate my two PRs to be merged in the near future as well as the pip package to be updated.
Great package btw :)

Done

Thanks. There is an error when no output path is specified, I've fixed that. The package in pypi is updated (version 0.7.6).


BLE stack execution fails with CONFIG_NO_OPTIMIZATIONS=y

Describe the bug
When BLE stack is compiled using CONFIG_NO_OPTIMIZATIONS=y, execution fails.
Reproduced on board STM32U5
To Reproduce
Steps to reproduce the behavior:

west build -b b_u585i_iot02a samples/bluetooth/hci_uart/
west flash
See following error:

<inf> bt_hci_core: Identity: A0:76:4E:60:EC:16 (public)
<inf> bt_hci_core: HCI: version 5.0 (0x09) <err> os: ***** BUS FAULT *****
<err> os:   Precise data bus error
<err> os:   BFAR Address: 0x0
<err> os: r0/a1:  0x400138c0  r1/a2:  0x20001248  r2/a3:  0x20001248
<err> os: r3/a4:  0x00000000 r12/ip:  0xaaaaaaaa r14/lr:  0x080764d3
<err> os:  xpsr:  0x61000000
<err> os: Faulting instruction address (r15/pc): 0x08075fc4
<err> os: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
<err> os: Current thread: 0x20001248 (BT_LW_WQ)
<err> os: Halting system

Expected behavior
No bus error
Impact
Not absolutely needed but want to make sure it is not hiding something that could happen with other optimisation flags

Did you increase stack and thread sizes to account for the lack of optimisation?

No, but it could maybe solve the problem indeed. Do you think it is something that should be corrected for all optimisation to work or is it normal to only check size and debug optimisation ?

It's something you'd only need to change for no optimisation. It does not make sense to increase all stack and thread sizes when the vast majority of devices do not need it and needlessly waste it, since it is only required when building a debug no optimisation build.

ok, thank you for the answer


python310Packages.hyperpyyaml: 1.2.1 -> 1.2.2

Description of changes
Update hyperpyyaml.
Changelog: https://github.com/speechbrain/HyperPyYAML/releases/tag/v1.2.2
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 256677 run on x86_64-linux 1

8 packages built:

python310Packages.hyperpyyaml
python310Packages.hyperpyyaml.dist
python310Packages.speechbrain
python310Packages.speechbrain.dist
python311Packages.hyperpyyaml
python311Packages.hyperpyyaml.dist
python311Packages.speechbrain
python311Packages.speechbrain.dist


Update .mailmap

Can I get my details removed here please.

Summary
Details and comments

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Removing you in https://github.com/Qiskit/qiskit-terra/pull/6421 . Closing this in favour of
https://github.com/Qiskit/qiskit-terra/pull/6421 so you dont have to sign the CLA.


Added data abstractor project

Type of change

[x] Added new project
[ ] Bug fix
[ ] New features
[ ] Enhanced documentation

Changes proposed in this pull request

Project name :

Data Abstractor using Python and Flask

Short description :

This project is an example for building a website using flask that uses locally stored data and abstract the required data that satisfies the conditions.
It includes a sample csv file consisting of 1000 lines of dummy data. Select the options that you want to include in the filter and add parameters for filtration of data.
For example, if you want to get data of male customers whose age is between 18 and 25, put a tick on the Age and the Gender checkboxes and add the required age group and gender specification.
You can take inspiration from this algorithm to create your own projects.

Checklist

[x] The code is Python 3 compatible
[x] I have added relevant comments in my file to make code understandable
[x] I have added my project in a folder which includes all the necessary files

Thanks for your contribution ⭐


Problem recognising Client Class

Hi
After following the steps outlined to add Theo into my Swift project it doesn't recognise the Client class. I've clear the project and still no luck. Can you help?

Can you send me a screenshot of your project setup?

Hi Cory,
I've tried Theo again and got it working however keep getting a nil from
trying this query
https://github.com/GraphStory/neo4j-ios#execute-a-cypher-query
My query which I have reworked is inside the cypherQuery func in
ViewController.swift. I've included a screenshot for the database browser.
For our team project I am not the back end dev, so I'm just looking to
find out how to make sure I can access the data.
Kind regards,
Lindsey
On 07/03/2016 21:12, Cory D. Wiles wrote:

Can you send me a screenshot of your project setup?
—
Reply to this email directly or view it on GitHub
https://github.com/GraphStory/neo4j-ios/issues/14#issuecomment-193451779.

//
//  ViewController.swift
//  TheoTester
//
//  Created by Lindsey Hunter on 11/03/2016.
//  Copyright © 2016 Hunter. All rights reserved.
//
import UIKit
import Theo
class ViewController: UIViewController {
let theo: Client = Client(baseURL: "http://localhost:7474", user: "neo4j", pass: "yolo911@")

override func viewDidLoad() {
    super.viewDidLoad()
    theo.fetchNode("0", completionBlock: {(node, error) in
        var thisNode = node!
        print("meta in success \(node!.meta) node \(thisNode) error \(error)")
    })
    cypherQuery()
    // Do any additional setup after loading the view, typically from a nib.
}

func cypherQuery() {
    var nameToMatch = "Thomas"
    let cyperQuery: String = "PROFILE MATCH (a {firstname: \(nameToMatch)}) return a;"

    let cyperParams: Dictionary<String, AnyObject> = ["user" : "Thomas"]

    theo.executeCypher(cyperQuery, params: cyperParams, completionBlock: {(cypher, error) in
        print("response from cyper \(cypher)")
    })
}

override func didReceiveMemoryWarning() {
    super.didReceiveMemoryWarning()
    // Dispose of any resources that can be recreated.
}

}

It might be let cyperQuery: String = "PROFILE MATCH (a {firstname: \(nameToMatch)}) return a;"
I don't think you need to escape nameToMatch and your params ["user" : "Thomas"] do not match variables in your query. Maybe try let cyperQuery: String = "PROFILE MATCH (a {firstname: {user}}) return a;"

Dear Cory,
I've got it now- thanks for your help. Problem was the Cypher.
Kind regards,
Lindsey
https://itunes.apple.com/us/app/william-hunter-coach-hire/id1080372146?ls=1&mt=8
On 15/03/2016 12:26, Cory D. Wiles wrote:

It might be |let cyperQuery: String = "PROFILE MATCH (a {firstname:
(nameToMatch)}) return a;"|
I don't think you need to escape |nameToMatch| and your params
|["user" : "Thomas"]| do not match variables in your query. Maybe try
|let cyperQuery: String = "PROFILE MATCH (a {firstname: {user}})
return a;"|
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/GraphStory/neo4j-ios/issues/14#issuecomment-196797530


Paging does not page to the center of an item as would be expected

If you enable paging on the UICollectionView it does not scroll to a specific item and will instead end up between items.
I need to test more to confirm in a clean project.

Yeah can you please fix that why its not paginated properly.

You should turn off pagination in uicollectionview if it's enabled.

This isn't really a solution - pagination is an ideal use case for this library if you want to force people to go through cells one at a time.  I think the solution is to set the size perfectly for a single page if paging is enabled.

This layout isn't supposed to work with the paging enabled, as it replaces the pagination logic to "squeeze" the expected page size to let the side items appear.
If you set the collection size to fit a single page, you won't be able to see those items, or if you set the clipToBounds to false you won't be able to scroll the collection from its sides.


report specifies a missing range where separate lines are expected

Describe the bug
coverage report shows unexpected range including covered and excluded lines
To Reproduce
$ rm -rf venv .coverage

$ python3.11 -m venv venv

$ venv/bin/python --version --version
Python 3.11.2 (main, Mar  5 2023, 21:14:41) [GCC 11.3.0]

$ venv/bin/python -m pip install git+https://github.com/nedbat/coveragepy@a3d915e6a5552dcc96601dd7ee75db809e364e33
Collecting git+https://github.com/nedbat/coveragepy@a3d915e6a5552dcc96601dd7ee75db809e364e33
  Cloning https://github.com/nedbat/coveragepy (to revision a3d915e6a5552dcc96601dd7ee75db809e364e33) to /tmp/pip-req-build-5mtjtvaa
  Running command git clone --filter=blob:none --quiet https://github.com/nedbat/coveragepy /tmp/pip-req-build-5mtjtvaa
  Running command git rev-parse -q --verify 'sha^a3d915e6a5552dcc96601dd7ee75db809e364e33'
  Running command git fetch -q https://github.com/nedbat/coveragepy a3d915e6a5552dcc96601dd7ee75db809e364e33
  Resolved https://github.com/nedbat/coveragepy to commit a3d915e6a5552dcc96601dd7ee75db809e364e33
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: coverage
  Building wheel for coverage (pyproject.toml) ... done
  Created wheel for coverage: filename=coverage-7.3.3a0.dev1-cp311-cp311-linux_x86_64.whl size=230523 sha256=7716fa9e6bafbb85946bd0d3313513e302c009ddb7a40383213492bb41f99db7
  Stored in directory: /home/altendky/.cache/pip/wheels/92/f7/bb/de3a599f4d9666983fb530d6fab1e8576ed43bafa869c2c58f
Successfully built coverage
Installing collected packages: coverage
Successfully installed coverage-7.3.3a0.dev1

[notice] A new release of pip available: 22.3.1 -> 23.3
[notice] To update, run: /home/altendky/tmp/venv/bin/python -m pip install --upgrade pip

$ venv/bin/python -m pip freeze --all
coverage @ git+https://github.com/nedbat/coveragepy@a3d915e6a5552dcc96601dd7ee75db809e364e33
pip==22.3.1
setuptools==65.5.0

$ cat --number x.py
     1  from __future__ import annotations
     2
     3
     4  def a(first_fixture_name: FixtureType) -> None:
     5      print()
     6
     7  def b(
     8      first_fixture_name: FixtureType,
     9  ) -> None:
    10      print()
    11
    12  def c(another_fixture_name: FixtureType) -> None:  # pragma: no cover
    13      print()
    14
    15  def d(
    16      another_fixture_name: FixtureType,  # pragma: no cover
    17  ) -> None:
    18      print()
    19
    20  print("the end")

$ cat .coveragerc
[report]
exclude_also =
  first_fixture_name[^)]*\)[^:]*:

$ venv/bin/python x.py
the end

$ venv/bin/coverage run --rcfile .coveragerc x.py
the end

$ venv/bin/coverage report --rcfile .coveragerc --show-missing
Name    Stmts   Miss  Cover   Missing
-------------------------------------
x.py        5      2    60%   10-18
-------------------------------------
TOTAL       5      2    60%

$ venv/bin/coverage json --rcfile .coveragerc --pretty-print -o -
{
    "meta": {
        "version": "7.3.3a0.dev1",
        "timestamp": "2023-10-18T08:25:04.198309",
        "branch_coverage": false,
        "show_contexts": false
    },
    "files": {
        "x.py": {
            "executed_lines": [
                1,
                4,
                7,
                12,
                15,
                20
            ],
            "summary": {
                "covered_lines": 3,
                "num_statements": 5,
                "percent_covered": 60.0,
                "percent_covered_display": "60",
                "missing_lines": 2,
                "excluded_lines": 5
            },
            "missing_lines": [
                10,
                18
            ],
            "excluded_lines": [
                4,
                5,
                12,
                13,
                15
            ]
        }
    },
    "totals": {
        "covered_lines": 3,
        "num_statements": 5,
        "percent_covered": 60.0,
        "percent_covered_display": "60",
        "missing_lines": 2,
        "excluded_lines": 5
    }
}

$ venv/bin/coverage debug sys
-- sys -------------------------------------------------------
               coverage_version: 7.3.3a0.dev1
                coverage_module: /home/altendky/tmp/venv/lib/python3.11/site-packages/coverage/__init__.py
                         tracer: -none-
                        CTracer: available
           plugins.file_tracers: -none-
            plugins.configurers: -none-
      plugins.context_switchers: -none-
              configs_attempted: .coveragerc
                   configs_read: /home/altendky/tmp/.coveragerc
                    config_file: /home/altendky/tmp/.coveragerc
                config_contents: b'[report]\nexclude_also =\n  first_fixture_name[^)]*\\)[^:]*:\n'
                      data_file: -none-
                         python: 3.11.2 (main, Mar  5 2023, 21:14:41) [GCC 11.3.0]
                       platform: Linux-6.2.0-34-generic-x86_64-with-glibc2.35
                 implementation: CPython
                     executable: /home/altendky/tmp/venv/bin/python
                   def_encoding: utf-8
                    fs_encoding: utf-8
                            pid: 9733
                            cwd: /home/altendky/tmp
                           path: /home/altendky/tmp/venv/bin
                                 /home/altendky/.pyenv/versions/3.11.2/lib/python311.zip
                                 /home/altendky/.pyenv/versions/3.11.2/lib/python3.11
                                 /home/altendky/.pyenv/versions/3.11.2/lib/python3.11/lib-dynload
                                 /home/altendky/tmp/venv/lib/python3.11/site-packages
                    environment: HOME = /home/altendky
                                 PYENV_ROOT = /home/altendky/.pyenv
                                 PYTHONDONTWRITEBYTECODE = 1
                                 PYTHON_CONFIGURE_OPTS = --enable-shared
                   command_line: venv/bin/coverage debug sys
         sqlite3_sqlite_version: 3.37.2
             sqlite3_temp_store: 0
        sqlite3_compile_options: ATOMIC_INTRINSICS=1, COMPILER=gcc-11.3.0, DEFAULT_AUTOVACUUM,
                                 DEFAULT_CACHE_SIZE=-2000, DEFAULT_FILE_FORMAT=4,
                                 DEFAULT_JOURNAL_SIZE_LIMIT=-1, DEFAULT_MMAP_SIZE=0, DEFAULT_PAGE_SIZE=4096,
                                 DEFAULT_PCACHE_INITSZ=20, DEFAULT_RECURSIVE_TRIGGERS,
                                 DEFAULT_SECTOR_SIZE=4096, DEFAULT_SYNCHRONOUS=2,
                                 DEFAULT_WAL_AUTOCHECKPOINT=1000, DEFAULT_WAL_SYNCHRONOUS=2,
                                 DEFAULT_WORKER_THREADS=0, ENABLE_COLUMN_METADATA, ENABLE_DBSTAT_VTAB,
                                 ENABLE_FTS3, ENABLE_FTS3_PARENTHESIS, ENABLE_FTS3_TOKENIZER, ENABLE_FTS4,
                                 ENABLE_FTS5, ENABLE_JSON1, ENABLE_LOAD_EXTENSION, ENABLE_MATH_FUNCTIONS,
                                 ENABLE_PREUPDATE_HOOK, ENABLE_RTREE, ENABLE_SESSION, ENABLE_STMTVTAB,
                                 ENABLE_UNLOCK_NOTIFY, ENABLE_UPDATE_DELETE_LIMIT, HAVE_ISNAN,
                                 LIKE_DOESNT_MATCH_BLOBS, MALLOC_SOFT_LIMIT=1024, MAX_ATTACHED=10,
                                 MAX_COLUMN=2000, MAX_COMPOUND_SELECT=500, MAX_DEFAULT_PAGE_SIZE=32768,
                                 MAX_EXPR_DEPTH=1000, MAX_FUNCTION_ARG=127, MAX_LENGTH=1000000000,
                                 MAX_LIKE_PATTERN_LENGTH=50000, MAX_MMAP_SIZE=0x7fff0000,
                                 MAX_PAGE_COUNT=1073741823, MAX_PAGE_SIZE=65536, MAX_SCHEMA_RETRY=25,
                                 MAX_SQL_LENGTH=1000000000, MAX_TRIGGER_DEPTH=1000,
                                 MAX_VARIABLE_NUMBER=250000, MAX_VDBE_OP=250000000, MAX_WORKER_THREADS=8,
                                 MUTEX_PTHREADS, OMIT_LOOKASIDE, SECURE_DELETE, SOUNDEX, SYSTEM_MALLOC,
                                 TEMP_STORE=1, THREADSAFE=1, USE_URI

Expected behavior
The report output would be the separate lines 10, 18 not the range 10-18.
Additional context
The big picture is that I am exploring ways to easily exclude all tests using a certain fixture since they are run separately without coverage measurement.  This was an observation along the way.

This does look odd, and I guess could be improved.  The logic is that between lines 10 and 18, there are no lines that could be executed that were executed, so the range is expressed as 10-18.  This is so that comments and blank lines won't interrupt a range.  Perhaps excluded lines should be considered differently.


[ Help ] Integrating vim.ui.select with fzf-lua

Hello,
I'm writing a question.
I've been using vim.ui.select quite a bit in my own plugins.
I think one of the purposes of that is for other picker plugins to override it.
Is this currently possible with fzf-lua? I.e. I can use vim.ui.select in my plugin and if someone has fzf-lua installed the selection criteria will get popped into a fzf-lua window?

Have you seen :FzfLua register_ui_select?

FYI, code_actions already works this way by registering and de-registering upon win leave.

Wow its that simple. Thanks, this works!

Wow its that simple. Thanks, this works!

Lots of goodies were added since we last conversed, look at the list of providers in the README maybe you’ll, find other interesting additions / customizations :)

Thanks a lot

@ibhagwan one other small follow up question. I added this to the end of my fzf.lua config
-- register FzfLua to handle vim.ui.select
vim.cmd("FzfLua register_ui_select")

When opening vim I now get an error
[Fzf-lua] vim.ui.select already registered to fzf-lua

I don't think I call setup twice in anyway.
If I remove above line, my plugin no longer uses fzf-lua for selection.

My bet would be something with your config/setup, the message wouldn’t appear unless this is called twice, could be your plugin manager calling the file twice?
To test my theory you can add a global variable in your config file for fzf-lua (e.g. vim.g.fzf_lua_config_called = true) and prevent the file from being further loaded if the variable exists and see if that helps, if this solves your issue your file is def called twice.

Cool, let me debug a bit and get back to you.

Yup found it, my color scheme functions source fzf.lua file again to set the appropriate fzf colors. Thanks!


[CON-4517] move import preferences to import tab

Coverage decreased (-0.06%) to 41.532% when pulling 00883fe379c1afc4d2d8d8a6403bc17c4d06f4c2 on CON-4517 into babc06d04da5ce77858688914897c32ca20d0578 on master.

Coverage decreased (-0.06%) to 41.532% when pulling c66edaece506232594c79a544e0d59acd58275e4 on CON-4517 into babc06d04da5ce77858688914897c32ca20d0578 on master.


Generated Embeddings..

Hi,
I have a question about the generated embeddings in the output file QMult_entity_embeddings.csv. The index column (0) has some values e.g.  0_quantile_9, 2_quantile_9 etc. I wonder, are these values related to the events e.g., Event_0 or represent a new entity?
Thanks,

Hello @hzahera
I reckon there are several things are mixed up here. The title of this issue and its content appear to mismatch.
That being said, I would like to summaries the steps and attempt to answer your question as follows:

Given a knowledge graph, QMult learns a vector representation for each entitiy and a relation as described in here.
If desired, these embeddings are stored in two seperate csv files, e.g. QMult_entity_embeddings.csv and QMult_relation_embeddings.csv.
An embedding csv file stores entities/relations as the index and learned vector representations as the value/data (see pandas.DataFrame).
If the index of QMult_entity_embeddings.csv contains  0_quantile_9, 2_quantile_9, then this implies that  0_quantile_9, 2_quantile_9 are entities in the input KG. You could easily double check this.

This issue appears to be more related to the vectograph framework. Therein, I will provide a more detailed information as soon as possible.

@hzahera you may find this explanation helpful.

Thanks @Demirrr for your clarification.


Fix target input labels not changing when swapping presets

On branch feature/preset-configurations
Changes to be committed:
modified:   ui/core/components/encounter_picker.ts
modified:   ui/core/components/input.tsx

@1337LutZ I think this fixes the target inputs bug I mentioned to you, but would appreciate another pair of eyes on it to make sure I didn't do anything stupid.


unique values

It would be helpful to have a way to generate unique values for a model field, whenever a new instance is generated, for a process. i have model which assumes all the child objects will have unique integer ids, and every so often, two objects share the same random integer value,  FactoryBoy uses a sequence pattern for this.

@smcoll could you please show a bit of code how you define your models in this case?
I am asking this because I am a bit confused here.

Having a unique would be great, meanwhile i'm using this:
I currently reduce the issue with this:
_faker = Faker()

class MyClassFactory(ModelFactory[MyClass]):
    """Factory."""

    __model__ = MyClass

    my_id = Use(_faker.pyint, max_value=10**8)  # Reduce collision chances

Not ideal, but effective

@jtraub uniqueness is not enforced in the model itself, but by convention. Think, auto-incrementing integer id. And then in a nested object, i have a function for "get parent object of a child object having this id" - the premise is that that child id value will only occur once among children in the nested object. But often when running tests, this is not the case, because the integer value is simply random, not unique.
@lindycoder thank you; i am trying that. i am getting weird behavior, though, when my field name is id, because it seems as if another factory with a uuid id is somehow inheriting that value generator... i am currently trying to reproduce this in a smaller code snippet.

Hm... i didn't figure out how to reproduce, but adding __auto_register__ = True on the other factory seemed to dial it in.  i wonder if someone that id behavior was cascading to the other model.

I'd like to continue the discussion on this ticket.
I used to use FactoryBoy as a library for factories too and after switching to polyfactory I am missing the Sequence field.
What are the possibilities I see:
@dataclass
class Person:
    email: str

Similar to __random__:

class PersonFactory(DataclassFactory[Person]):
    @classmethod
    def email(cls) -> str:
        return cls.__sequence__(lambda n<EMAIL_ADDRESS>

Similar to FactoryBoy

class PersonFactory(DataclassFactory[Person]):
    email = Sequence(lambda n<EMAIL_ADDRESS>
I would like to hear feedback on the proposed solutions and can take on the implementation.


Opens file in gb2312 insted of utf-8

Example html file:
https://drive.google.com/file/d/0B96aEEzmdwXfRzB4RmwyOWN2V1k/view?usp=sharing

now detect encode.
buffer -> gb2312
new detect encode.
buffer -> [buffer1, buffer2, buffer3] -> [utf8, utf8, gb2312] -> utf8
ok ?
wip 612f179e56

It seems to be fixed, but in other files sometimes I get windows1252 encoding and popup window "Change encoding to windows1252".
Why is this happening?
Example files: https://drive.google.com/file/d/0B96aEEzmdwXfZVlQYVJNWUFFZ3c/view?usp=sharing

add new option.
192e945be
divide size 1 ~ n.
decide the number of your best.

OK thanks. This works.


Update Travis CI

Currently node-snmp-native uses Mocha, in which uses ES6 arrow function syntax. Because of that, Travis CI failed to build on Node.js v0.10.48.
Therefore, it's reasonable to update Travis CI to build on newer versions of Node.js. Here I add support for these versions: the latest stable, latest LTS, 12, 10 and 8.

Thanks!


Does not work in latest jquery version

It breaks from version 2.1.4 and upwards.

Any information as to why? What breaks? Do you see an error message? Does it not display correctly?
Please help us nail this down by providing as much information as possible about the problem.

It simply doesn't display. Have you tried it out on the latest versions of jquery?
Sorry for the delay of not replying sooner I am just now clearing my inbox and found an e-mail about this topic.

Any update on this ? Doesn't work on latest jQuery.

There are no error messages whatsoever,simply when I include the latest jQuery nothing happens. normal input form. when I load earlier version (1.11.1) it works flawlessly !

I believe this may be related to the use of the load function, which is used by the latest  1.1.0 version of this plug-in: see http://stackoverflow.com/questions/38871753/uncaught-typeerror-a-indexof-is-not-a-function-error-when-opening-new-foundat. The use of load is deprecated since JQuery 3.x, but still used in the countrySelect.js file. I see it is fixed on the master branch (22 August 2016), so I guess we just need a new release, no :simple_smile:?
Notice the error shown in the Chrome Developer Tools
Uncaught TypeError: a.indexOf is not a function     at r.fn.init.r.fn.load (jquery.min.js:4)     at countrySelect.js:32     at countrySelect.js:8     at countrySelect.js:10 r.fn.load @ jquery.min.js:4 (anonymous) @ countrySelect.js:32 (anonymous) @ countrySelect.js:8 (anonymous) @ countrySelect.js:10

With latest jQuery version - this error is generated in console:
Uncaught TypeError: a.indexOf is not a function at r.fn.init.r.fn.load (jquery.min.js:4) at countrySelect.js:32 at countrySelect.js:8 at countrySelect.js:10 r.fn.load @ jquery.min.js:4 (anonymous) @ countrySelect.js:32 (anonymous) @ countrySelect.js:8 (anonymous) @ countrySelect.js:10

Same TypeError: $(...).countrySelect is not a function error with jquery 3.2.1
jQuery.Deferred exception: $(...).countrySelect is not a function @http://url:95:17
j@https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:29997
g/</k<@https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js:2:30313
 undefined

Based on the comments from @bwydoogh and my own testing, it looks like this issue was fixed in master but the Bower file hadn't been updated to reflect the newer version of the plugin available.
Pull request #59 resolved this issue. I am able to confirm correct functionality with jQuery version 2.x and 3.x (along with continued functionality with 1.x). A simple update to the latest version should fix your issue.