notEqualTo doesn't seem to work

[x] You've met the prerequisites.

[x] You're running the latest version of Parse Server.

[x] You've searched through existing issues. Chances are that your issue has been reported or resolved before.

Good afternoon,
I tried to use the code I wrote for Parse.com (some CloudCode stuff) on parse-server and it seems that there is a bug with the equalTo and notEqualTo methods.
Some issues have been fixed like #801 but it seems that the bug still exists.
I wrote a test case to illustrate the bug (got a lot of trouble doing it and I could have written it in a much better way but it shows the bug! :smile: :muscle: )
Basically the use case is the following: you have two lists -> on one side you have the guys who love a cake ( :cake: :yum: !) and on the other hand, you have the guy who hate this very same cake (:angry:). In particular in my test case, the user2 likes no cake and is a hater of possible cakes.
So if I ask for: Give me all the cakes where the user2 is NOT a hater it should return null. It actually returns 3...
Translated into code:
var query = new Parse.Query(Cake);
query.notEqualTo("hater", user2);

returns 3 instead of 0.
Did I miss something?
Environment Setup
VERBOSE=1
Parse-Server 2.2.4

@lolobosse that test case is awesome! I guess that makes you understand how complex it is for us to reproduce bugs and make sure we don't hit regression! :)
In any case we'll look at it shortly!

@flovilmart yes, I can remember that it worked but this is a good idea, I'll update my test case

ok thanks!

Soooo, I made a much deeper test and tested, I hope almost every possibility except combinations (combinations should work but I didn't test that): here
For the lazy ones, here is the interesting part :smile: :
then(function(){
  var query = new Parse.Query(Cake);
  // User2 likes nothing so we should receive 0
  query.equalTo("liker", user2);
  return query.find().then(function(results){
    equal(results.length, 0);
  });
}).then(function(){
  var query = new Parse.Query(Cake);
  // User1 likes two of three cakes
  query.equalTo("liker", user1);
  return query.find().then(function(results){
    // This test fails on 2.2.4
    // It should return 2 -> cake 1 and cake 2
    equal(results.length, 2);
  });
}).then(function(){
  var query = new Parse.Query(Cake);
  // We want to know which cake the user1 is not appreciating -> cake3
  query.notEqualTo("liker", user1);
  return query.find().then(function(results){
    // This test fails on 2.2.4
    // Should return 1 -> the cake 3
    equal(results.length, 1);
  });
}).then(function(){
  var query = new Parse.Query(Cake);
  // User2 is a hater of everything so we should receive 0
  query.notEqualTo("hater", user2);
  return query.find().then(function(results){
    // This test fails on 2.2.4
    equal(results.length, 0);
});

I skimmed through the code and it looks like we don't support it as it is.
I believe that was working on parse.com so I'll do my best to implement it.

Cool! Yes, it was working on Parse.com; I know that I'm playing with the limits of the system and if you decide not to implement it, I have the possibility to do something else BUT I think it is a good target to have the exact same characteristics as Parse.com!
And if you do not do it, please document it properly so that it is clear from the beginning that this system is a bit more limited than Parse.com

We aim to feature parity, and you have written the test case, 90% of the work is done :)

So I checked, equalTo was actually working, some of your tests had some faulty design.
Just opened the PR, waiting for the merge.


categorical option for threshold

For field data labeled by integers (0N1), add a more natural UI to the threshold operator. This is like enumerated scalars, however these values would not be generated by the database plugin, they are created at runtime by an expression, at any part of the pipeline. One example is a connected components expression, but we will also custom segmentation expressions (like Timos topological segmentation features)
-----------------------REDMINE MIGRATION-----------------------
This ticket was migrated from Redmine. As such, not all
information was able to be captured in the transition. Below is
a complete record of the original redmine ticket.
Ticket number: 2646
Status: Resolved
Project: VisIt
Tracker: Feature
Priority: High
Subject: categorical option for threshold
Assigned to: Kevin Griffin
Category: -
Target version: 2.13.0
Author: Cyrus Harrison
Start: 07/18/2016
Due date:
% Done: 100%
Estimated time:
Created: 07/18/2016 07:38 pm
Updated: 03/28/2017 05:02 pm
Likelihood:
Severity:
Found in version: 2.12.1
Impact: 3 - Medium
Expected Use: 3 - Occasional
OS: All
Support Group: Any
Description:
For field data labeled by integers (0N1), add a more natural UI to the threshold operator. This is like enumerated scalars, however these values would not be generated by the database plugin, they are created at runtime by an expression, at any part of the pipeline. One example is a connected components expression, but we will also custom segmentation expressions (like Timos topological segmentation features)
Comments:
Options:1. 15,7,8 => expression => threshold (value greater than 0)2. checkboxes => expression => threshold Need to know "N" ahead of time- Doesn't allow you to mix "And" with "Or" 3. Require the user to create an expression then use in threshold Hello:I enhanced the Threshold operator to allow the user to specify a list of ranges to threshold a single variable on (Select the Custom on the Bounds Input line). So, in the screenshot attached having a range equal to 015, 18, 2034 will allow the user to threshold the default variable as such:0 <= default <= 15 OR default = 18 OR 20 <= default <= 34. Besides numbers, the only two symbols allowed are => range and , => OR.2.12RC:Sending avt/Filters/avtThresholdFilter.CSending avt/Filters/avtThresholdFilter.hSending common/state/ThresholdOpAttributes.CSending common/state/ThresholdOpAttributes.codeSending common/state/ThresholdOpAttributes.hSending common/state/ThresholdOpAttributes.xmlSending operators/Threshold/QvisThresholdWindow.CSending operators/Threshold/QvisThresholdWindow.hSending operators/Threshold/Threshold.codeSending operators/Threshold/Threshold.xmlSending operators/Threshold/ThresholdAttributes.CSending operators/Threshold/ThresholdAttributes.javaSending resources/help/en_US/relnotes2.12.2.htmlTransmitting file data .............Committed revision 30611.Adding common/state/PyThresholdOpAttributes.CAdding common/state/PyThresholdOpAttributes.hSending common/state/ThresholdOpAttributes.CSending common/state/ThresholdOpAttributes.hAdding common/state/ThresholdOpAttributes.javaTransmitting file data .....Committed revision 30613.TRUNK:Sending avt/Filters/avtThresholdFilter.CSending avt/Filters/avtThresholdFilter.hAdding common/state/PyThresholdOpAttributes.CAdding common/state/PyThresholdOpAttributes.hSending common/state/ThresholdOpAttributes.CSending common/state/ThresholdOpAttributes.codeSending common/state/ThresholdOpAttributes.hAdding common/state/ThresholdOpAttributes.javaSending common/state/ThresholdOpAttributes.xmlSending operators/Threshold/QvisThresholdWindow.CSending operators/Threshold/QvisThresholdWindow.hSending operators/Threshold/Threshold.codeSending operators/Threshold/Threshold.xmlSending operators/Threshold/ThresholdAttributes.CSending operators/Threshold/ThresholdAttributes.javaSending resources/help/en_US/relnotes2.12.2.htmlTransmitting file data .............Committed revision<EMAIL_ADDRESS>Hello:I reverted the enhancements to the Threshold operator for 2.12RC due to release incompatibility as stated by Eric Brugger below.2.12RC:Sending avt/Filters/avtThresholdFilter.CSending avt/Filters/avtThresholdFilter.hDeleting common/state/PyThresholdOpAttributes.CDeleting common/state/PyThresholdOpAttributes.hSending common/state/ThresholdOpAttributes.CSending common/state/ThresholdOpAttributes.codeSending common/state/ThresholdOpAttributes.hDeleting common/state/ThresholdOpAttributes.javaSending common/state/ThresholdOpAttributes.xmlSending operators/Threshold/QvisThresholdWindow.CSending operators/Threshold/QvisThresholdWindow.hSending operators/Threshold/Threshold.codeSending operators/Threshold/Threshold.xmlSending operators/Threshold/ThresholdAttributes.CSending operators/Threshold/ThresholdAttributes.javaSending resources/help/en_US/relnotes2.12.2.htmlTransmitting file data .............Committed revision 30657.KevinFrom: "Brugger, Eric" <brugger1llnl.gov>ReplyTo: VisIt Developers <visitdeveloperselist.ornl.gov>Date: Monday, March 27, 2017 at 3:51 PMTo: "visitdeveloperselist.ornl.gov" <visitdeveloperselist.ornl.gov>Subject: Re: [visitdevelopers] SVN Update to 2.12RC (30654) and Trunk (30656)Hi Kevin,I was just speaking with Kathleen and she mentioned that you changed the threshold attributes with this change, which I can see from your checkin below. You cant put that kind of change on the release candidate, since if someone is running a 2.12.2 client on their desktop and they connect to a system with only 2.12.1 installed the communication protocols wont match and VisIt will crash. You will have to back your change out of the 2.12RC. Sorry I hadnt noticed that sooner.Eric


GridList: interactive children stopPropagation not considered

Provide a general summary of the issue here
When an item is selected and you click on the interactive child that prevents the event from bubbling up, the item gets deselected.
🤔 Expected Behavior?
stopPropagation should be taken into account. So we could click on the Button without Item deselection
😯 Current Behavior
When an item is selected and you click on the interactive child that prevents the event from bubbling up, the item gets deselected.
💁 Possible Solution
No response
🔦 Context
No response
🖥 Steps to Reproduce
https://codesandbox.io/s/react-aria-grid-list-pjpgrf
Version
1.0.0-alpha.6
What browsers are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
If other, please specify.
No response
What operating system are you using?
macOS 12.6 (21G115)
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response

onClick is too late because the selection/deselection occurs during onPointerDown. Here's an example: https://codesandbox.io/s/react-aria-grid-list-forked-9wc883


Docs/flight methology

What does this PR do ?
Document flight methodology

@Mike3563  the name of the file is incorrect docs/flight-methology.md

@Mike3563  we are also going to need to link to this page from another page in order for people to find it , it can also be included as a sidebar menu item


Add Specific Code to Header of Redirect page at url Creation

I am trying to figure out how I can add the ability to add code specifically to the html head of the redirect page that is specific to the individual shortened urls.
What I specifically want to do is to add a retargeting pixel code from facebook to the redirect page. This code will be different for each shortened url, so I would want to be able to add it when creating/editing an individual shortened url.
Is there a way to do this now?

This is such an important feature... literally the only reason I'm using yourls.
I'm trying to write a plugin to do the same thing... I would appreciate some help with this.
I'm having a hard time believing no one has done this... does anyone have an example?


v1.6 backports 2020-01-31

#9959 -- Fix cilium installation in GCloud beta "rapid" channel (@joestringer)
#9982 -- garbage collect stale distributed locks (@aanm)
#10005 -- Fix GC Locks bugs (@aanm)

Once this PR is merged, you can update the PR labels via:
$ for pr in 9959 9982 10005; do contrib/backporting/set-labels.py $pr done 1.6; done

This change is

test-missed-k8s


[Feature] Select Component

derived from #37
GOAL
Implementing Selects component with test codes
Adding storybooks for Selects component and sub-components.
- Select component structure

1. Implement props related to "Root" section. [assigned @geoseong]

theme

rootStyle
placehold
disable

2. Implement props related to "List" section. [assigned @gimeoni]

items
itemStyle
onSelect

3. Implement props related to "Title" section. [assigned @smallbee3]

title

4. Implement a callback function when the list's visible state changes. [assigned @dlgmltjr0925]

onShow
onDismiss

5. Implement StoryBook Component

default
custom style

(Additional)
6. Dialog Select. [assigned @Theoblanc]

mode ['dropdown', 'dialog', picker] default('dropdown');

7. Multi Select; [assigned @AddChan]

multiSelect boolean; default false;

8. Picker Select; [assigned @dlgmltjr0925]

mode ['dropdown', 'dialog', 'picker'] default('dropdown');

Examples

https://www.figma.com/file/0WDPu0Cn9upY1TQcLuhLev/prototype?node-id=46%3A110
https://material-ui.com/components/selects/

Libraries

styled-components
storybook.js
@testing-library/react-native

assign me no.1

Assign no.3 to me please.

Assign me no.2 :)

Assign me no.7 !

Assign me no.6

@Theoblanc @AddChan
I want to know your progress. Leave a comment.

Please give a PR to master if you think this is ready.


test: check that secrets.py is up-to-date

Check that secrets.py is up-to-date
Description
This reintroduces a check that was removed when switching to pytest.
Status

done, ready for review

Checklist (tick everything that applies)

[x] Code linting (required, can be done after the PR checks)
[x] Tests

Coverage decreased (-0.005%) to 88.97% when pulling 94aa8f6cc68659e542c88f965eaf73fd902b10a7 on pquentin:secrets-check into 84735c8924f75394426e37106ed7db5070dd0071 on apache:trunk.

:+1: makes sense. I can't see any side effects in the test run to validate it but according the docs its ok.

Thank you!


2 subsection headings missing preceding blank lines

The following 2 headings don't work as intended, most likely because there is no preceding blank line before the headings:
## Enable Windows Mixed Reality in WSUS

## Block the Mixed Reality Portal

On Github, this (en-us) page contains a preceding blank line before the headings, but I am uncertain if there is some added whitespace between the hashtags (##) and the text, creating this issue. (This is more or less a note to self, unless anyone else want to open a PR to solve this ticket before I manage to get around to create the PR myself.)

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

ID: 98d4c6ca-ae3c-7750-f58b-0df996e41402
Version Independent ID: 0d05fd22-b761-6fb4-8686-a2021573e542
Content: Enable or block Windows Mixed Reality apps in the enterprise (Windows 10)
Content Source: windows/application-management/manage-windows-mixed-reality.md
Product: w10
Technology: windows
GitHub Login: @MSFTTracyP
Microsoft Alias: tracyp

Follow-up background info: the page contains the following raw text, creating the aforementioned issue:

## Enable Windows Mixed Reality in WSUS

## Block the Mixed Reality Portal

Looks like I was onto something back when I posted my question on whether or not those HTML tags need to be there at all. I guess I should have recommended the removal of those HTML tags because all the rest of the page is purely MarkDown code on Github.

@officedocsbot assign @mypil

Oh, and by the way: Ref. old and closed issue ticket #3805 which led to this discovery.

@illfated - It would be amazing if you could create the PR for this issue. Please let me know the related PR so I can tag the doc owner to review and merge the PR content.
We appreciate your effort and feedback that helps us improve the content. Thank you!

Very well, I am also hoping to create the necessary PR for this change. I just need to do it from my workplace instead of from home (I moved to a new address last night, removing myself from my existing home internet connection). Unless it takes more than an hour to complete the install of Git + Git Extensions + clone the MS Docs IT Pro repository to my company computer, I will create a PR for this issue.

Thankfully, I was able to install Git Extensions + Git + kdiff3 as well as sign in with my correct credentials (had to look up the fine details in my own profile, been a while since I last configured this at home). See you again on Monday, I will be offline during most of the weekend. 👋 🌞

(just rebased my PR commit to keep it on top of my local cloned fork of windows-itpro-docs -- no changes)


fix issue on get value is not defined

fix issue on when getvalue is not define, I was not able to save any data on magento 2

HI @rodrigomanara
Thanks you for your PR.
I am going to test it.
However, could you tell me which version of MG2 do you use?
Regards

2.2.5
kind Regards,
Rodrigo Manara
On Mon, 13 Aug 2018 at 5:44 pm, Eric<EMAIL_ADDRESS>wrote:
HI @rodrigomanara
Thanks you for your PR.
I am going to test it.
However, could you tell me which version of MG2 do you use?
Regards
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.


docs(playwrighttesting):  date change in changelog 1.0.0-beta.5 and 1.0.0-beta.2

Packages impacted by this PR
Issues associated with this PR
Describe the problem that is addressed by this PR
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[ ] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[ ] Added a changelog (if necessary)

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


WIP - Trying to fix travis build

Some attempts to fix travis

Really weird random errors. I'm closing it for now, I will try later this week.


chore: update to Angular 13

Overview

Update TypeScript to 4.4.4
Update cds/angular to use Angular 13.0.0
Update golden/clr-angular.d.ts
Update @cds/core & @cds/angular ("^5.6.0") used into sub packages to latest version - to resolve some warnings when building.
Migrate files to use Angular 13
Fixing Dev app
Fixing Clarity Schemtics to work Angular 13
Fixing build:icons:zip
Removing build:icons:zip from build steps - zip files no longer part of @clr/icons
Updating development packages to resolve warnings (@typescript-eslint/eslint-plugin & @typescript-eslint/parser)
Updating code to handle ClientRect deprecation
Drop support of Internet Explorer polyfils

This PR includes work based on collaboration with @bbogdanov and @Jinnie
How to test it

# checkout this branch

$ git clean -fdx;  # make sure that everything is clean (node_modules, dist, golden files)

$ npm install

$ npm run build:ci

To test the dev app:
$ npm run start

To test website
$ npm run start:website

Testing packages
Setup testing tools
$ npm install --global verdaccio

$ verdaccio

Release packages locally
$ npm run publish:local

Check package information and dependencies
$ npm info @clr/angular --registry http://localhost:4873

Use the new package to create new application
$ npx @angular/cli@13 new demo-app

$ cd demo-app

$ npx @angular/cli@13 add<EMAIL_ADDRESS>--registry http://localhost:4873

$ npm run start

Performance
$ npm install;

added 4467 packages from 2332 contributors and audited 4015 packages in 105.532s

$ npm run build:ci

265.35s user 25.50s system 139% cpu 3:29.22 total

Known issues
When building, there is a warning that if I'm not wrong, it is already fixed, but it seems not backported. Need investigation.
Recommendation: math.div($clr-baseline-denominator, $browser-default-size)

More info and automated migrator: https://sass-lang.com/d/slash-div

   ╷
18 │ $clr-basefont-size: ($clr-baseline-denominator/$browser-default-size) * 100% !default;
   │                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    projects/angular/src/utils/variables/_variables.global.scss 18:22  @import
    projects/angular/src/utils/variables/_variables.scss 2:9           @import
    projects/angular/src/utils/_mixins.scss 5:9                        @import
    projects/angular/src/utils/_components.clarity.scss 8:9            @import
    projects/angular/src/main.scss 13:9                                root stylesheet

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($clr-baseline-int, $clr-baseline-denominator)

More info and automated migrator: https://sass-lang.com/d/slash-div

   ╷
24 │   $clr-baseline-to-basefontsize-multiplier: $clr-baseline-int/$clr-baseline-denominator;
   │                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    projects/angular/src/utils/variables/_variables.global.scss 24:45  convertBaselineToBase20()
    projects/angular/src/utils/variables/_variables.global.scss 32:25  @import
    projects/angular/src/utils/variables/_variables.scss 2:9           @import
    projects/angular/src/utils/_mixins.scss 5:9                        @import
    projects/angular/src/utils/_components.clarity.scss 8:9            @import
    projects/angular/src/main.scss 13:9                                root stylesheet

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($size, $clr-baseline-int)

More info and automated migrator: https://sass-lang.com/d/slash-div

   ╷
25 │   @return $size/$clr-baseline-int * $clr-baseline-to-basefontsize-multiplier * 1rem;
   │           ^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    projects/angular/src/utils/variables/_variables.global.scss 25:11  convertBaselineToBase20()
    projects/angular/src/utils/variables/_variables.global.scss 32:25  @import
    projects/angular/src/utils/variables/_variables.scss 2:9           @import
    projects/angular/src/utils/_mixins.scss 5:9                        @import
    projects/angular/src/utils/_components.clarity.scss 8:9            @import
    projects/angular/src/main.scss 13:9                                root stylesheet

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($clr-grid-gutter-width, -2)

More info and automated migrator: https://sass-lang.com/d/slash-div

  ╷
8 │   margin-right: ($clr-grid-gutter-width / -2);
  │                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
    projects/angular/src/layout/grid/mixins/_grid.scss 8:18   clr-make-row()
    projects/angular/src/layout/grid/grid/_grid.scss 7:5      @content
    projects/angular/src/utils/_mixins.scss 16:5              exports()
    projects/angular/src/layout/grid/grid/_grid.scss 5:1      @import
    projects/angular/src/layout/grid/_grid.scss 10:9          @import
    projects/angular/src/utils/_components.clarity.scss 13:9  @import
    projects/angular/src/main.scss 13:9                       root stylesheet

DEPRECATION WARNING: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div($clr-grid-gutter-width, -2)

More info and automated migrator: https://sass-lang.com/d/slash-div

  ╷
9 │   margin-left: ($clr-grid-gutter-width / -2);
  │                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
    projects/angular/src/layout/grid/mixins/_grid.scss 9:17   clr-make-row()
    projects/angular/src/layout/grid/grid/_grid.scss 7:5      @content
    projects/angular/src/utils/_mixins.scss 16:5              exports()
    projects/angular/src/layout/grid/grid/_grid.scss 5:1      @import
    projects/angular/src/layout/grid/_grid.scss 10:9          @import
    projects/angular/src/utils/_components.clarity.scss 13:9  @import
    projects/angular/src/main.scss 13:9                       root stylesheet

WARNING: 3 repetitive deprecation warnings omitted.

When creating new application with ng new and trying to compile the application this error could be found
Error: node_modules/@cds/core/internal/base/button.base.d.ts:8:5 - error TS2416: Property 'ariaDisabled' in type 'CdsBaseButton' is not assignable to the same property in base type 'LitElement'.
  Type 'string | null' is not assignable to type 'string'.
    Type 'null' is not assignable to type 'string'.

8     ariaDisabled: 'true' | 'false' | null;
      ~~~~~~~~~~~~

The workaround at the moment is editing button.base.d.ts and changing ariaDisabled to not include null as type.
Release
After this PR is merged this package/s could be publish under next tag to NPM as v13-angular.next or v13.next (tag name still underconsideration)

This PR is blocked until we resolve the issue related to TS changes in types at lib.dom. This will be fixed into the @cds/core package and after that, we could publish a release candidate


Ssd1306

This adds initial support for generic SSD1306 i2c devices. Based on the SSD1308 library, this code adds initialization code specific to the ssd1306 as well as additional functions. These functions include scrolling , dimming and inverting the display.

Thanks for adding this. I've cleaned it up and merged in e32e4360fb3a037153474d83bbf3b91db08241bd.


redundant log when launching cluster with source install

The user needs to specify a Toil Appliance instance through the environment variable TOIL_APPLIANCE_SELF when launching a custom appliance build. When launching with the variable set this confused log message appears:

eduroam-169-233-235-47.ucsc.edu 2017-05-02 13:58:33,776 MainThread INFO toil: Overriding docker appliance of quay.io/jessebrennan/toil:3.7.0a1-b77b67d552ff1d0352ec816ebc3a47fb2d5633ae-dirty with quay.io/jessebrennan/toil:3.7.0a1-b77b67d552ff1d0352ec816ebc3a47fb2d5633ae-dirty from TOIL_APPLIANCE_SELF.

Actually, this isn't a bug or anything. After a closer inspection of the code, I see now that the default value was in fact the same, whereas before I was under the impression that the default value would always be quay.io/ucsc_cgl/toil:/3.x or whatever.


Update text referring to replacing key placeholders

Part of https://github.com/mapzen/documentation/issues/310
I deleted some text that describes how to use the placeholder text (like replace it with your real key) because the key is already replaced when signed in, and the pop-up over the text will be the call to action for users who are not signed in.
While in the tutorial, I added a bunch of indents to fix numbering problems in the output documentation. Ugh.
The placeholder text was correct and being replaced on dev for all the examples (the link href is actually the search explorer).
And also updated the string that keeps wrapping on /search.

This is ready for review and merge now. Testing looks OK for this section.
If you want to preview, you can go to https://dev.mapzen.com/documentation/search/add-search-to-a-map/
When signed in, the placeholder text swaps to the first of your API keys. If you are not signed in or have no API keys, you still see your-mapzen-api-key.

Wow this looks really cool :) In fact its so cool the only feedback I have is that it's not called out enough. People might not even notice that their api key has been filled in. Doesn't Stripe have a little tooltip or something that says "we've gone ahead and put your api key in the examples to make your life easy". That might be something worth adding eventually.

Thanks for the review @orangejulius! Yes, all this part of phase 2! ToolTips were just added to the style guide, so this API key functionality will get it.
The plan is for pop-ups to appear on the text to encourage you to sign in, and also the placeholder text itself be highlighted differently through CSS (like to give it color or even uppercase it).


Consistent(ish) nunjucks quotes and spacing

Remove the quotes from all object keys, and ensure there is a space between the colon and the value.

You can preview this change here:
Built with commit ab6ee8f7210fdcce60fd01374968f91ccf91a263
https://deploy-preview-283--govuk-design-system-preview.netlify.com


Standalone function to generate a policy report without configuring a study region

Some users will complete policy reviews and not undertake spatial indicator analysis.
Currently reporting assumes that configuration for undertaking spatial indicator analysis will be completed, but this will not work for those users only completing a policy review.  It would involved completing information not relevant to their task (or our task, generating the policy report on their behalf).
Instead, what is required is a stand-alone function to generate a policy report without configuring a study region.
This should be able to be called like,
import ghsci
ghsci.generate_policy_report(path='path_to_excel_checklist_file.xlsx', language='English', options={})

Language (str) and options (dict) would be optional.
The options dictionary would optionally allow users to pass on reporting parameters, specifically, the locations of custom images and any additional language overrides that may be desired.
The generate_policy_report() function might be best defined in _utils.py (where reporting functionality is currently operationalised), but implemented using a wrapper function in ghsci so it is readily callable upon import of the software.
If no checklist were supplied, it should fall back to using the demo region.  This can be implemented in the first instance for prototyping purposes.
The idea under the hood would be, given an Excel file, a ghsci.Region object would be synthesised to have all the required information to otherwise generate a report using our existing functionality.  So, the user doesn't have to set up their configuration file; we do it for them, only just using the information required to produce the policy report they are interested in.

This has been implemented, but requires more testing with other languages and documentation on usage


cached data is changed by other query

A developer told me there seemed to be a bug in EntCache, and I tried to reproduce it :
https://github.com/tsingsun/entbug-entcache
i dont use docker compose file, and This issue is in mysql7 and 8 in my  case.
please run the testBugMySQL in bug_test.go
test code
func test(t *testing.T, client *ent.Client) {
      .........
      for i := 0; i < 2; i++ {
		datas, err := client.SecurityPosition.Query().Where(securityposition.AccountIDIn(3)).
			Order(ent.Asc(securityposition.FieldProjectID, securityposition.FieldProductID)).
			All(context.Background())
		if err != nil {
			t.FailNow()
		}
                // first query the cache is correct,
		if datas[0].ID == 8470 && *datas[0].MaterialNo != "688280.SH" {
			t.Error(i, *datas[0].MaterialNo)
		}
		if datas[1].ID == 8471 && *datas[1].MaterialNo != "300472.SZ" {
			t.Error(i, *datas[1].MaterialNo)
		}
                // When the following query is executed, the datas[0].MaterialNo in the cache is changed
		client.SecurityJournal.Query().
			Where(securityjournal.AccountIDIn(3),
				securityjournal.ChangeType("2"), securityjournal.IsDayBooking("Y"),
			).Order(ent.Desc(securityjournal.FieldID)).
			AllX(context.Background())
	}

test result
=== RUN   TestBugMySQL
=== RUN   TestBugMySQL/8
    bug_test.go:95: 1 efx_rate
    bug_test.go:98: 1 tl_margin
--- FAIL: TestBugMySQL (0.03s)
    --- FAIL: TestBugMySQL/8 (0.03s)

I don't know if I have a usage problem, bug the problem product same time in other developer
Your Environment 🌎

Tech
Version

Go
1.18.3

Ent
0.11.1

Database
MySQL

Driver
https://github.com/go-sql-driver/mysql   1.6.0

@a8m CC

#16

right, mysql driver should be reused the driver.Value

Hey! I just merged #16
Please, update to master and let me know if there are still issues with it. Thanks and sorry for the delay 🙏


Report as unmaintained?

Hey!
I wanted to check whether you're confortable with us marking pkcs11 as unmaintained in the Rustsec advisory database?

@ionut-arm yes, please ... and I can see you did that already :) ... also glad to see that there is a replacement/fork which is fixing all the things which I wanted to as well.


Rollup version is out of date in most recently published version

Hi there,
Can you publish the current state of master as a new version to npm? v1.1.0 still has<EMAIL_ADDRESS>as its dependency, which has a bug in it (it creates a var extends variable which causes problems).
Thanks,
Brekk

Hi, and happy new year!
Sorry for taking so long to respond. I'm not spending too much time in javascript-world these days, so in addition to the holidays I also had to find motivation to refresh my knowledge on how to release a new package version. But now I finally took the few minutes required to do this and published v1.1.1. I hope everything still works as expected after this update. The semver community still seems to be discussing which version number to bump after a dependency update (see here), but I think v1.1.1 should be the correct version for this patch.
If you run into any troubles, please open another problem report. I would also welcome any pull requests, especially ones that add new integration tests. Thank you for your feedback!


PE-477: Create Manifest for Public Folder/Drive

This PR adds the functionality to create a manifest for public folder or a drive's root folder with the create-manifest command
The manifest's path  field will be linked to any index.html file it finds within the specified folder. If no index.html is found, the path will be set to the top file it finds (sorted alphabetically)
Going to the dataTxId of a manifest ArFS file entity will display the file in the path field:
arweave.net/<manifest-tx-id>

All of the files within the manifest can be displayed by using their corresponding path from the manifest:
# Manifest of these files:
root-folder
  file-1.txt
  file-2.wav
  sub-folder
    file-3.png
    file-4.mp6

# Can be displayed by navigating here:
arweave.net/<manifest-tx-id>/root-folder/file-1.txt
arweave.net/<manifest-tx-id>/root-folder/file-2.wav
arweave.net/<manifest-tx-id>/root-folder/sub-folder/file-3.png
arweave.net/<manifest-tx-id>/root-folder/sub-folder/file-4.mp6

The output of this command is unique. It returns the standard ArFS result for uploading a file, but also includes an array of links where the files in the manifest can be found:
> yarn ardrive create-manifest -f 510c25b2-c5d4-4a79-ab29-05d572544f6a -w wallets/CLI_TEST_arweave-keyfile-g1hzNXVbh2M6LMQSUYp7HgkgxdadYqYEfw-HAajlms0.json --boost 1.3
{
    "created": [
        {
            "type": "file",
            "metadataTxId": "GWWkod8EdJCwwHCzGuyorQ7gfGmzEtPW8mykC8esmPQ",
            "dataTxId": "WJIrT-RXi3tFKRNGBFRs7gwI7q7J3MIdN5mvAOsOAD0",
            "entityId": "07deaebe-1012-46a2-b469-ac66700fbeeb"
        }
    ],
    "tips": [
        {
            "txId": "puxr-5aUabAwKXOeqsX8GbDz__C6F-bZXjqfFBeJCbo",
            "recipient": {
                "address": "i325n3L2UvgcavEM8UnFfY0OWBiyf2RrbNsLStPI73o"
            },
            "winston": "10000000"
        }
    ],
    "fees": {
        "WJIrT-RXi3tFKRNGBFRs7gwI7q7J3MIdN5mvAOsOAD0": 2066746,
        "GWWkod8EdJCwwHCzGuyorQ7gfGmzEtPW8mykC8esmPQ": 1841993,
        "puxr-5aUabAwKXOeqsX8GbDz__C6F-bZXjqfFBeJCbo": 1742645
    },
    "links": [
        "arweave.net/WJIrT-RXi3tFKRNGBFRs7gwI7q7J3MIdN5mvAOsOAD0",
        "arweave.net/WJIrT-RXi3tFKRNGBFRs7gwI7q7J3MIdN5mvAOsOAD0/2021_10_11/a_fun_subfolder/e.png",
        "arweave.net/WJIrT-RXi3tFKRNGBFRs7gwI7q7J3MIdN5mvAOsOAD0/2021_10_11/a_fun_subfolder/hello_world_renamed.txt",
        "arweave.net/WJIrT-RXi3tFKRNGBFRs7gwI7q7J3MIdN5mvAOsOAD0/2021_10_11/a_fun_subfolder/hello_world.txt",
        "arweave.net/WJIrT-RXi3tFKRNGBFRs7gwI7q7J3MIdN5mvAOsOAD0/2021_10_11/a_fun_subfolder/hello_world2.txt",
        "arweave.net/WJIrT-RXi3tFKRNGBFRs7gwI7q7J3MIdN5mvAOsOAD0/2021_10_11/a_fun_subfolder/index.html"
    ]
}

Above is a real manifest of a public folder where the path has been mapped to an index.html boilerplate. All of the corresponding links are functional.

This build will fail until linked to an npm version of core that includes the manifest branch: https://github.com/ardriveapp/ardrive-core-js/pull/79
Its testable now by building a local copy of core, as per the steps in the README


Need clarity on metrics reported in extras field on using run_op_benchmark

URL(s) with the issue:
https://www.tensorflow.org/api_docs/python/tf/test/Benchmark
Description of issue (what needs changing):
I ran a simple tf.linalg.matvec operation using the benchmark framework and got different metrics in the extras field. I could not understand the difference between the keys in the extra field - allocator_max_num_bytes_GPU_0_bfc and allocator_max_num_bytes_gpu_host_bfc.
More  description of these metrics would help users understand what metrics are actually being  reported.

@aditisaluja5 ,
We see that the issue template has not been filled, could you please do so as it helps us analyse the issue.
Looks like the issue is with gpu memory allocation.Please try limiting GPU memory growth using any of the methods listed here and check if it helps. Thanks!


Fix: ASB-485 Pin Examination library document

Task

https://pins-ds.atlassian.net/jira/software/c/projects/ASB/boards/166?modal=detail&selectedIssue=ASB-485

Description

Fix: check correct response when examination library is not on first page

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

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


Improve Ensemble.dropna()

dropna only uses a threshold on all columns, and only considers the source table. We should extend this to just wrap Dask's dropna function, and make it able to choose source or object (once the object/source refactor is in)

i'd love to work on this as a first issue. please assign it to me

Created branch issue74_improve_dropna to make these changes. Created a pull request to code review those changes and merge them back to main.


Question about contact conf?

Thanks for your great work. Do you have any idea why the foot_contact conf could be lower than 0 or higher than 1. thank you

Hi @dnqf11
When we trained the foot-contact probability, we made the final layer directly regress the probability instead of using the SoftMax operation, which enforces the output to be within (0, 1), at the end. This naive design, however, showed quite a robust estimation of the contact but naturally, the layer often outputs a probability that is not within the boundary.


How to change the cursor color?

Hello, I would like to change the cursor color. How can I do that? I installed the plugin using Lazy:
return {
  "blazkowolf/gruber-darker.nvim",
  name = "gruber-darker",
  opts = {},
}

I'm sorry if the question was very silly, I'm not familiar with Lua very well. Thank you for your interesting project.

I solved my problem by redefining the cursor as follows:
return {
  Cursor = { fg = "#ffffff" },
}

The answer to the question turned out to be really silly. I'm sorry.

Thank you for your interest! This is not a silly question by any means. Currently, I haven't built in a way to customize highlights, but it's something I plan on doing eventually.


Setter/adder for hidden property fails in certain contexts

When setting the sequence property the following test works fine:
# sequence and sequences should be synced up
cd = sbol2.ComponentDefinition('cd1', sbol2.BIOPAX_DNA)
seq = sbol2.Sequence('cd1_sequence', 'GCAT')
cd.sequence = seq
self.assertEqual([seq.identity], cd.sequences)

But, if you add the cd to a Document, then setting the sequence property doesn't work:
# now test whether this works in the context of a Document
doc = sbol2.Document()
cd = doc.componentDefinitions.create('cd1')
cd.sequence = seq
self.assertEqual([seq.identity], cd.sequences)

In fact, in this case,  cd.sequence returns None.  This behavior appears to result from the fact that sequence is a hidden property, and doesn't generalize to other type of singleton OwnedObject properties.

It's not about hidden properties. When the ComponentDefinition is in a Document the add triggers this code in OwnedObject.add():
        if sbol_obj.is_top_level() and self._sbol_owner.doc is not None:
            # Is this really all we need to do?
            self._sbol_owner.doc.add(sbol_obj)
            return

Clearly that's not all we need to do. How is it supposed to work? The method is pretty clearly divided into is-top-level and is-not-top-level. Is that a valid distinction here?

On further reflection and reading the SBOL 2.3 spec (dated April 1, 2019), it looks like the sequence attribute on a ComponentDefinition should not exist as currently cast. Sequence is a TopLevel (sec 7.6) and "TopLevel objects are not nested inside any other object via a composite aggregation or black diamond arrow association property" (sec 7.5).
While I think the code may still have bugs, I don't think we should be implementing a special workaround for the legacy ComponentDefinition.sequence attribute. It is no longer defined in the spec, having been converted to ComponentDefinition.sequences (a ReferencedObject).
Can we instead make sequence an attribute on ComponentDefinition that is not an OwnedObject, but rather just a veneer over sequences? On access it could convert the first sequence in sequences to an object through searching the document, returning it if found, and raising an error if not found. And on set it could add the sequence to the Document and make the sequences attribute be [sequence.identity] (or is it [sequence.persistentIdentity]?)
I'm open to other suggestions about how to handle ComponentDefinition.sequence for backward compatibility. We just want to be careful not to run afoul of the spec and put a lot of band-aids in for this one case.


Can't create certificate for one of two subdomains

I switched from jwilder's nginx-proxy to rap when I migrated from Rancher 1.1.3 to 1.3
All is working good but GitLab's container registry (I also have other services with 2-3 hostnames and certifcates created for them, these work perfectly).
These are the labels of the GitLab stack:
labels:
      rap.port: '80'
      rap.le_host: registry.storyx.company,git.storyx.company
      io.rancher.sidekicks: gitlab-data
      io.rancher.container.pull_image: always
      rap.host: registry.storyx.company,git.storyx.company

When I execute /app/letsencrypt.sh manually inside the container I get:
Creating/renewal registry.storyx.company certificates... (registry.storyx.company)
Failed authorization procedure. registry.storyx.company (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://registry.storyx.company/.well-known/acme-challenge/OPQh9Pl-OycWwgC3MYa7b2mH1YJMDVBVsc5nnkvEoTE [<IP_ADDRESS>]: 404

IMPORTANT NOTES:
 - The following errors were reported by the server:

   Domain: registry.storyx.company
   Type:   unauthorized
   Detail: Invalid response from
   http://registry.storyx.company/.well-known/acme-challenge/OPQh9Pl-OycWwgC3MYa7b2mH1YJMDVBVsc5nnkvEoTE
   [<IP_ADDRESS>]: 404

   To fix these errors, please make sure that your domain name was
   entered correctly and the DNS A record(s) for that domain
   contain(s) the right IP address.

Using Acme server https://acme-v01.api.letsencrypt.org/directory

Hello Ali,
Thanks for using RAP.
Can you upload a copy of the file /etc/nginx/conf.d/default.conf ?
And can you check  if something is created in /usr/share/nginx/.well-known/acme-challenge/ when you update the cert ?
Will try to reproduce the error tonight but I have the same setup and it is working well !

The .well-known folder is not created in usr/share/nginx. At least i couldn't cd into it during the update of the certs.
This is /etc/nginx/conf.d/default.conf:

# If we receive X-Forwarded-Proto, pass it through; otherwise, pass along the
# scheme used to connect to this server
map $http_x_forwarded_proto $proxy_x_forwarded_proto {
  default $http_x_forwarded_proto;
  ''      $scheme;
}

# If we receive X-Forwarded-Port, pass it through; otherwise, pass along the
# server port the client connected to
map $http_x_forwarded_port $proxy_x_forwarded_port {
  default $http_x_forwarded_port;
  ''      $server_port;
}

# If we receive Upgrade, set Connection to "upgrade"; otherwise, delete any
# Connection header that may have been passed to this server
map $http_upgrade $proxy_connection {
  default upgrade;
  '' close;
}

gzip_types text/plain text/css application/javascript application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;

log_format vhost '$host $remote_addr - $remote_user [$time_local] '
                 '"$request" $status $body_bytes_sent '
                 '"$http_referer" "$http_user_agent"';

access_log off;

# HTTP 1.1 support
proxy_http_version 1.1;
proxy_buffering off;
proxy_set_header Host $http_host;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $proxy_connection;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $proxy_x_forwarded_proto;
proxy_set_header X-Forwarded-Port $proxy_x_forwarded_port;

# Mitigate httpoxy attack (see README for details)
proxy_set_header Proxy "";

server {
	server_name _; # This is just an invalid value which will never trigger on a real hostname.
	listen 80;
	access_log /var/log/nginx/access.log vhost;
	return 503;
}

# Rancher Services config

upstream git.storyx.company {

	#Acces through rancher managed network
	server <IP_ADDRESS>:80;
 	server localhost down;
}

server {
	server_name git.storyx.company;
	listen 80 ;
	access_log /var/log/nginx/access.log vhost;
	return 301 https://$host:443$request_uri;
}

server {
	server_name git.storyx.company;
	listen 443 ssl http2 ;
	access_log /var/log/nginx/access.log vhost;

	ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
	ssl_ciphers 'ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS';

	ssl_prefer_server_ciphers on;
	ssl_session_timeout 5m;
	ssl_session_cache shared:SSL:50m;
	ssl_session_tickets off;

	ssl_certificate /etc/nginx/certs/git.storyx.company.crt;
	ssl_certificate_key /etc/nginx/certs/git.storyx.company.key;
	ssl_dhparam /etc/nginx/certs/git.storyx.company.dhparam.pem;
	add_header Strict-Transport-Security "max-age=31536000";
	include /etc/nginx/vhost.d/git.storyx.company;

	location / {
		proxy_pass http://git.storyx.company;
	}
}

upstream registry.storyx.company {

	#Acces through rancher managed network
	server <IP_ADDRESS>:80;
 	server localhost down;
}

server {
	server_name registry.storyx.company;
	listen 80  ;
	access_log /var/log/nginx/access.log vhost;
	include /etc/nginx/vhost.d/registry.storyx.company;

	location / {
		proxy_pass http://registry.storyx.company;
	}
}

I just tested it. It didn't work.
I also run other services with multiple hosts which created the certs just fine.

I just tested getting the certificate manually on Ubuntu 16.04 using letsencrypt certonly --standalone -d registry.storyx.company WITHOUT turning off RAP. This resulted in the strange error below.
I turned of RAP tried again and it was able to retrieve the certificate for registry.storyx.company.
Failed authorization procedure. registry.storyx.company (tls-sni-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Incorrect validation certificate for TLS-SNI-01 challenge. Requested 326d7b99390f661f5fb66f14b12f5109.860d1c9b050f2800343faddea953b286.acme.invalid from <IP_ADDRESS>:443. Received certificate containing 'bugtracker.storyx.company'

IMPORTANT NOTES:
 - If you lose your account credentials, you can recover through
   e-mails sent to<EMAIL_ADDRESS> - The following errors were reported by the server:

   Domain: registry.storyx.company
   Type:   unauthorized
   Detail: Incorrect validation certificate for TLS-SNI-01 challenge.
   Requested 326d7b99390f661f5fb66f14b12f5109.860d1c9b050f2800343fadde
   a953b286.acme.invalid from <IP_ADDRESS>:443. Received certificate
   containing 'bugtracker.storyx.company'

Is it now working with RAP on ?
This is really strange !  I will try to reproduce tonight anyway

I just push a small commit , by checking code in order to implement SSL SAN certificates, I have seen that add_location_configuration fonction  in letsencrypt.sh script was not called with the correct parameters, therefore no location was create and add to nginx to route letsenscrypt directory.
Everything should be fine now !

I close this issue as it should be good now ! Do not hesitate to reopen it if you still have some problem !


CS

A great getting started tutorial for ME's

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

ID: f62e0f69-50c4-626a-0bd8-55e7a331278d
Version Independent ID: 8cbbc2e0-cd46-a1dd-0371-33fe5576e2c9
Content: Numbers in C# - Introduction to C# interactive tutorial
Content Source: docs/csharp/tutorials/intro-to-csharp/numbers-in-csharp.yml
Product: dotnet-csharp
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Thank you @beidelberg
Closing as kudos


Upgrade scalapb

Upgrade scalapb so that we can use the same version of scalapb lens and sparksql-scalapb

This has already been merged to the bazelbuild repo. I am just merging from upstream.

FYI we are using a forked version of sparksql-scalapb but they have added support for the automatic unwrapping that we added in our version. What version of this is being upgraded to?

@mattforbes-gr this upgrades scalapb to 0.9.7

Does 0.9.7 have what you want? It is the latest version that support scala 2.11 and 2.12 future versions will no longer support scala 2.11.
Rules scala maintainer says that maybe they'll deprecate 2.11 soon? https://github.com/bazelbuild/rules_scala/issues/667

scalapb doesn't actually depend on spark-scalapb so this should be fine, I can just add a separate dependency on the spark library.


AttributeError: 'NoneType' object has no attribute 'PluginAssets'

tensorflow 2.5
This problem occurs when I'm using the tensorboard to do the profiling.
The code is as follows.
import tensorflow as tf
import datetime

# The function to be traced.
@tf.function
def my_func(x, y):
  # A simple hand-rolled layer.
  return tf.nn.relu(tf.matmul(x, y))

# Set up logging.
stamp = datetime.datetime.now().strftime("%Y%m%d-%H%M%S")
logdir = 'logs/func/%s' % stamp
writer = tf.summary.create_file_writer(logdir)

# Sample data for your function.
x = tf.random.uniform((3, 3))
y = tf.random.uniform((3, 3))

# Bracket the function call with
# tf.summary.trace_on() and tf.summary.trace_export().
tf.summary.trace_on(graph=True, profiler=True)
# Call only one tf.function when tracing.
z = my_func(x, y)
with writer.as_default():
  tf.summary.trace_export(
      name="my_func_trace",
      step=0,
      profiler_outdir=logdir)

It produces no error when running this code, seeing from the output.
sjtusmartboy@sjtusmartboy-ThinkPad-X230:~/opt/Projects/RandLA-Net$ python test3.py
2021-07-23 19:41:34.589229: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0
2021-07-23 19:41:36.138644: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcuda.so.1
2021-07-23 19:41:36.170275: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-07-23 19:41:36.171081: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1733] Found device 0 with properties:
pciBusID: 0000:03:00.0 name: NVIDIA GeForce GTX 1080 computeCapability: 6.1
coreClock: 1.835GHz coreCount: 20 deviceMemorySize: 7.93GiB deviceMemoryBandwidth: 298.32GiB/s
2021-07-23 19:41:36.171145: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0
2021-07-23 19:41:36.176195: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcublas.so.11
2021-07-23 19:41:36.176262: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcublasLt.so.11
2021-07-23 19:41:36.178526: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcufft.so.10
2021-07-23 19:41:36.178833: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcurand.so.10
2021-07-23 19:41:36.179436: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcusolver.so.11
2021-07-23 19:41:36.180522: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcusparse.so.11
2021-07-23 19:41:36.180748: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudnn.so.8
2021-07-23 19:41:36.180909: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-07-23 19:41:36.181553: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-07-23 19:41:36.182112: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1871] Adding visible gpu devices: 0
2021-07-23 19:41:36.183934: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-07-23 19:41:36.184486: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1733] Found device 0 with properties:
pciBusID: 0000:03:00.0 name: NVIDIA GeForce GTX 1080 computeCapability: 6.1
coreClock: 1.835GHz coreCount: 20 deviceMemorySize: 7.93GiB deviceMemoryBandwidth: 298.32GiB/s
2021-07-23 19:41:36.184588: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-07-23 19:41:36.185197: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-07-23 19:41:36.185693: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1871] Adding visible gpu devices: 0
2021-07-23 19:41:36.185742: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0
2021-07-23 19:41:36.773690: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1258] Device interconnect StreamExecutor with strength 1 edge matrix:
2021-07-23 19:41:36.773748: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1264]      0
2021-07-23 19:41:36.773763: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1277] 0:   N
2021-07-23 19:41:36.773975: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-07-23 19:41:36.774569: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-07-23 19:41:36.775196: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:937] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2021-07-23 19:41:36.775721: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1418] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 6857 MB memory) -> physical GPU (device: 0, name: NVIDIA GeForce GTX 1080, pci bus id: 0000:03:00.0, compute capability: 6.1)
WARNING:tensorflow:From /home/sjtusmartboy/.local/lib/python3.6/site-packages/tensorflow/python/ops/summary_ops_v2.py:1263: start (from tensorflow.python.eager.profiler) is deprecated and will be removed after 2020-07-01.
Instructions for updating:
use `tf.profiler.experimental.start` instead.
2021-07-23 19:41:36.884168: I tensorflow/core/profiler/lib/profiler_session.cc:126] Profiler session initializing.
2021-07-23 19:41:36.884221: I tensorflow/core/profiler/lib/profiler_session.cc:141] Profiler session started.
2021-07-23 19:41:36.884273: I tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1611] Profiler found 1 GPUs
2021-07-23 19:41:36.885256: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcupti.so.11.2
2021-07-23 19:41:37.125954: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:176] None of the MLIR Optimization Passes are enabled (registered 2)
2021-07-23 19:41:37.126748: I tensorflow/core/platform/profile_utils/cpu_utils.cc:114] CPU Frequency:<PHONE_NUMBER> Hz
2021-07-23 19:41:37.141797: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcublas.so.11
2021-07-23 19:41:37.573205: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcublasLt.so.11
WARNING:tensorflow:From /home/sjtusmartboy/.local/lib/python3.6/site-packages/tensorflow/python/ops/summary_ops_v2.py:1319: stop (from tensorflow.python.eager.profiler) is deprecated and will be removed after 2020-07-01.
Instructions for updating:
use `tf.profiler.experimental.stop` instead.
2021-07-23 19:41:37.576615: I tensorflow/core/profiler/lib/profiler_session.cc:66] Profiler session collecting data.
2021-07-23 19:41:37.576966: I tensorflow/core/profiler/internal/gpu/cupti_tracer.cc:1743] CUPTI activity buffer flushed
2021-07-23 19:41:37.607794: I tensorflow/core/profiler/internal/gpu/cupti_collector.cc:673]  GpuTracer has collected 11 callback api events and 145 activity events.
2021-07-23 19:41:37.608909: I tensorflow/core/profiler/lib/profiler_session.cc:159] Profiler session tear down.
WARNING:tensorflow:From /home/sjtusmartboy/.local/lib/python3.6/site-packages/tensorflow/python/ops/summary_ops_v2.py:1319: save (from tensorflow.python.eager.profiler) is deprecated and will be removed after 2020-07-01.
Instructions for updating:
`tf.python.eager.profiler` has deprecated, use `tf.profiler` instead.
WARNING:tensorflow:From /home/sjtusmartboy/.local/lib/python3.6/site-packages/tensorflow/python/eager/profiler.py:151: maybe_create_event_file (from tensorflow.python.eager.profiler) is deprecated and will be removed after 2020-07-01.
Instructions for updating:
`tf.python.eager.profiler` has deprecated, use `tf.profiler` instead.

However, when I type the tensorboard command, tensorboard --logdir logs/func, and open the tensorboard webpage, it gives out the following error.
2021-07-23 19:42:10.506328: I tensorflow/stream_executor/platform/default/dso_loader.cc:53] Successfully opened dynamic library libcudart.so.11.0

NOTE: Using experimental fast data loading logic. To disable, pass
    "--load_fast=false" and report issues on GitHub. More details:
    https://github.com/tensorflow/tensorboard/issues/4784

Serving TensorBoard on localhost; to expose to the network, use a proxy or pass --bind_all
TensorBoard 2.5.0 at http://localhost:6006/ (Press CTRL+C to quit)
Exception in thread DynamicProfilePluginIsActiveThread:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/sjtusmartboy/.local/lib/python3.6/site-packages/tensorboard_plugin_profile/profile_plugin.py", line 311, in compute_is_active
    self._is_active = any(self.generate_run_to_tools())
  File "/home/sjtusmartboy/.local/lib/python3.6/site-packages/tensorboard_plugin_profile/profile_plugin.py", line 693, in generate_run_to_tools
    plugin_assets = self.multiplexer.PluginAssets(PLUGIN_NAME)
AttributeError: 'NoneType' object has no attribute 'PluginAssets'

Please tell me what's wrong and what I can do to manage this problem so that I can do the profiling work with tensorflow 2.5. Thanks a million.

I am having a similar problem. A keras model is trained with a callback
tensorboard_callback = TensorBoard(log_dir='logs/{}'.format(log_dir_name)).
When i run tensorboard and activate the "Profile" menu item, i am getting the error:
Traceback (most recent call last):
  File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
    self.run()
  File "/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/home/FP/interq/ITP/.itp/lib/python3.6/site-packages/tensorboard_plugin_profile/profile_plugin.py", line 311, in compute_is_active
    self._is_active = any(self.generate_run_to_tools())
  File "/home/FP/interq/ITP/.itp/lib/python3.6/site-packages/tensorboard_plugin_profile/profile_plugin.py", line 693, in generate_run_to_tools
    plugin_assets = self.multiplexer.PluginAssets(PLUGIN_NAME)
AttributeError: 'NoneType' object has no attribute 'PluginAssets'

tensorboard==2.5.0
tensorboard-data-server==0.6.1
tensorboard-plugin-profile==2.4.0
tensorboard-plugin-wit==1.8.0
tensorflow==2.5.0
tensorflow-estimator==2.5.0

@rmothukuru Any progress yet?

@japie1235813,
This issue has been assigned to the respective Engineer. We will revert soon. Thanks!

@sjtusmartboy, thanks for the report. @one-two-one-two, thanks for the helpful additional details.
In my case I have no problems with tensorflow==2.5.0, tensorboard==2.5.0 and tensorboard-plugin-profile==2.5.0.
However, if I downgrade to tensorboard-plugin-profile==2.4.0, then I can reproduce the error you are seeing.
It does not surprise me that tensorboard-plugin-profile==2.4.0 is incompatible with newer versions of tensorboard since we have made some changes to plugin management this year.
Could you try upgrading to tensorboard-plugin-profile==2.5.0 and let me know if the problem is resolved?

Yes, problem solved.
thanks a lot

Yes, problem solved.
thanks a lot


V2.0.4: Donations and Contributions Labels

Currently staking contributions are labeled 'Donated' in the UI.
Staking contributions because of DCB  should be labeled 'Contributed'.

Fixed with 2.0.5


Use SBT Coursier

 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.

Hi @mfirry thanks for the contribution. Can you please update the title and description. Your current title should be the description. The title of the PR can be the same as the issue.

Hi @britneywright, I've just changed the title but I cannot find out how I can change the description.

Thanks. It was nothing fancy though. If any of you guys ever pass by Milano, Italy you'll buy me a drink :D


Feature: add misspell as default

Could you add misspell as one of the default includes?
vim-go's go_metalinter_command doesn't seem to be easily extendable to add the parameter.  setting it seems to override everything else and disables the autosave stuff.
https://github.com/client9/misspell
$ gometalinter --linter='misspell:misspell ./*.go:PATH:LINE:COL:MESSAGE' .
bdd.go:60:24:warning: found "implemention" a misspelling of "implementation" (misspell)
doc.go:205:27:warning: found "avaliable." a misspelling of "available." (misspell)

Seems reasonable, but you might also want to file a bug with vim-go if this is not  possible there.

Hi, I've been delaying adding PR for client9/misspell until the false-positive rate met my standard.  I think it's solid now.

PR is in!
cc @shawnps


[Bug]: Error contacting Renogy API: list index out of range

The problem
Unable to load after inputting keys
What version of Home Assistant?
core-2024.12.5
What version of Renogy?
1.0.0-b7
Diagnostics information
No response
Anything in the logs that might be useful for us?
Error contacting Renogy API: list index out of range
Traceback (most recent call last):
  File "/config/custom_components/renogy/config_flow.py", line 45, in async_step_user
    await renogy.get_devices()
  File "/usr/local/lib/python3.13/site-packages/renogyapi/__init__.py", line 119, in get_devices
    if "deviceId" in response[0].keys():
                     ~~~~~~~~^^^
IndexError: list index out of range

Additional information
No response

Use the latest beta. b9

I have tried all the versions, all still the same

I think @firstof9 fixed this here but no update was issued.

https://github.com/firstof9/py-renogy/issues/3

Odd, it should have been in b9, try b11.

Thanks for the help guys, its now saying "The API returned no devices for your account."
I'm not sure if i'm missing something. My DC home app will show me my batteries and and I think my M1 panel.

yeah, make sure your M1 panel is paired with the devices. I know you can bypass the M1/ONE Core by adding devices directly to the app, but its only the M1/ONE Core hub that communucates with the API. When you go the the M1, do you see devices reporting to it and the email its connected to, is that the same email you used for the API keys account?

 Just waiting for it to actually connect to my batteries.
Thanks guys !

Someone previously had a similar issue so I wouldn't put yourself down by any means :slightly_smiling_face:
Enjoy!


Testing / inferring my own dataset using pre-trained FCN and MLP models

Thank you for providing python scripts for your Brain 2020 paper.
I analyzed ADNI and AIBL data with the scripts and tested, validated, and tested models and obtained results similar to your paper.
I would like to run the scripts only to INFER my data rather than TRAIN and VALIDATE using the already trained FCN and MLP models.
Would you please tell me how to do that?

Hi, my understanding is you want to do the inference on your own dataset using the pre-trained weights. The inference is a two steps process, i.e., FCN model inference and MLP model inference. (a) firstly about FCN inference, you can use the FCN_Wrapper class in the model_wrapper.py, "test_and_generate_DPMs" method in the FCN_Wrapper class allows you to do inference, the only thing you need to do is to replace the dataloader defined inside the method with your own dataloader. (about how to create dataloader, see dataloader.py). The inference result would be a set of 3D probability maps. (b) then you will run MLP on those 3D probablity maps to get final global diagnostic results.

Thank you so much for your advise. I could do the inference on my own dataset.

@mitezo, it's nice to hear that you have made some progress on this. Is it possible to get your contact so that I can reach out to you to figure out some of the challenges I am facing when training this?


Dynamic compilation: implement specific compilation and runtime assets.

@Jetski5822 just as a complement to fit the following scenario.

For most of "regular" packages dependencies, the compile time and runtime assemblies are the same. And there are no specific assemblies for different targeted runtimes.

For many "framework" packages, the compile time assembly is not the same, and specific runtime assemblies are provided for different runtimes. When you do a dotnet publish, these assemblies are populated in the refs and runtimes subfolders of the runtime directory.

Here the goal is to implement this kind of "framework" packages dependencies when there are not part of the ambient framework. So, we have to store specific compilation and runtime assets in more structured probing folders (with refs and runtimes subfolders) ...

@GVX111 uses such a scenario in its dev and prod environments, he might test this.
Best

@GVX111 whatcha think?

@Jetski5822 i'll test at night and will write test result.

Sound

Error:on running from IIS:
Application startup exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Orchard.OrchardException: Error while loading extension 'Orchard.Logging.Console'. ---> System.NullReferenceException: Object reference not set to an instance of an object.

@GVX111
So, as i remember, when you are running from IIS your packages are not resolved. So we grab them from probing folders (module bin folder and / or app_data/dependencies folder).
So, if you have deleted your module bin folder, your missing dll need to be in the dependencies folder. Or if the dependencies folder is not already populated, the missing dll need to be in your module bin folder ...
Would need more info on the missing dll(s). Can you debug under IIS? Diagnostics message are logged but maybe we need some log4net configuration ... You talk about Orchard.Logging.Console, so i assume the missing dll is Microsoft.Extensions.Logging.Console.dll, but not sure.
So, when packages are not resolved, for example, Microsoft.Extensions.Logging.Console.dll can't be nowhere. All needed assemblies need to be in module bin folders and / or in dependencies folder. This is the case when you publish the web app. Can you check this.
Best

@GVX111
Note that in a published context many ambient Microsoft.* dependencies are in the runtime directory. So, when packages are not resolved they are grabed from there. Maybe something has changed here, will try it.

@Jetski5822, @GVX111
Indeed, i've changed something here, seems i've made a mistake, will fix it asap
Thanks for the feedback

Indeed, seems to be related to a change in 2 places in this PR. I seen a problem with an equality comparer in a HashSet. I was badly assuming that the LockFileItem class overrides the Equals() and GetHashCode() methods, as done with LibraryAsset ...
My mistake, @GVX111 can you try the last update.
Best.

@jtkech great perfect awesome. i tried all possibility and it's working perfect. @Jetski5822 you can marge it.

Saweet!!! - Good work chaps.

@Jetski5822 @GVX111
Glad to know it works. At least until the next unexpected scenario ;)
Best.


use type hinting generics in standard collections.

follow-up of https://github.com/ollama/ollama-python/pull/373, specifically on https://github.com/ollama/ollama-python/pull/373#issuecomment-2552149538
@ParthSareen as we talked a couple of days ago, just a cosmetic fix.

Thanks @fujitatomoya!


Failed to deploy web package to App Service

Can you help me with following issue
(node:1702) [DEP0128] DeprecationWarning: Invalid 'main' field in '/home/runner/work/_actions/azure/webapps-deploy/v2/node_modules/actions-secret-parser/package.json' of 'lib/index.js'. Please either fix that or report it to the module author
(Use node --trace-deprecation ... to show where the warning was created)
Package deployment using ZIP Deploy initiated.
Fetching changes.
Cleaning up temp folders from previous zip deployments and extracting pushed zip file C:\local\Temp\zipdeploy\vwbzl125.zip (0.75 MB) to C:\local\Temp\zipdeploy\extracted
Error: Failed to deploy web package to App Service.
Error: Deployment Failed with Error: Package deployment using ZIP Deploy failed. Refer logs for more details.

I have the same issue, still dont know how to fix it


Inference does not work in webui

Self Checks

[X] This template is only for bug reports. For questions, please visit Discussions.
[X] I have thoroughly reviewed the project documentation (installation, training, inference) but couldn't find information to solve my problem. English 中文 日本語 Portuguese (Brazil)
[X] I have searched for existing issues, including closed ones. Search issues
[X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
[X] [FOR CHINESE USERS] 请务必使用英文提交 Issue，否则会被关闭。谢谢！:）
[X] Please do not modify this template and fill in all required fields.

Cloud or Self Hosted
Self Hosted (Source)
Environment Details
ubuntu 24.04, torch 2.4.1, gradio 5.9.1, python 3.10
Steps to Reproduce
$git clone https://github.com/fishaudio/fish-speech.git
$cd fish-speech
$huggingface-cli download fishaudio/fish-speech-1.5 --local-dir checkpoints/fish-speech-1.5/
$RADIO_SERVER_NAME=<IP_ADDRESS> GRADIO_SHARE=True python tools/run_webui.py --llama-checkpoint-path "checkpoints/fish-speech-1.5" --decoder-checkpoint-path "checkpoints/fish-speech-1.5/firefly-gan-vq-fsq-8x1024-21hz-generator.pth" --decoder-config-name firefly-gan_vq
✔ Expected Behavior
Inference can work in webui
❌ Actual Behavior
Inference does not work in webui, and no error

@Picus303 Could you have a look at it?

@Picus303 Could you have a look at it?

I'll try to reproduce it. I think it happened once while I was doing tests but never happened again.

You're running without CUDA.  Bandwidth and inference speed are too slow

Thank you for your reply.
How to running webui with CUDA?

@yuzifu Use --device cuda as a command line argument when starting the webui, but I think it's enabled by default.

I can't reproduce this issue for the moment. I guess I'll end up getting it again and then be able to investigate it, but for now I'm not really making progress.

docker run -ti --runtime=nvidia -e NVIDIA_DRIVER_CAPABILITIES=compute,utility -e NVIDIA_VISIBLE_DEVICES=all -p <IP_ADDRESS>:7860:7860 fishaudio/fish-speech


Add two test cases for regressions in sql_crdt.

Thanks, but it really seems like the test for this issue don't really require a new table.
I guess you triggered the issue by creating a typed int list, which Dart then complains when we try to add Hlcs to it.
That makes sense, but the issue can also be triggered by simply not passing the arguments list, which I feel is a much more common use case (even if it's a bad practice to inline values in SQL statements).
Something like:
    test('Insert without arguments', () async {
      await crdt.execute('''
        INSERT INTO users (id, name)
        VALUES (1, 'John Doe')
      ''');
      final result = await crdt.query('SELECT * FROM users');
      expect(result.first['name'], 'John Doe');
    });

Same for an update statement.
Would you like to make those changes?
If so, you could might want to add them to postgres_crdt as well. If not I'll do it myself later.
As for the second test I don't understand what it's supposed to do. It passes because an untyped empty list is provided.

I did the change you proposed. The test you suggested fails elsewhere, but the fix is the same, so let it be.
Also added a PR for postgres_crdt: https://github.com/cachapa/postgres_crdt/pull/2


External Index Empty

Hi,
I managed to get facets working but it has broken everything else. Facets searching is finding that there's data related to the categories.
Unfortunately all my other examine searches are bringing back no data after re--building the search index.
I am guessing this is related to upgrading from Examine 1.0.1 to 1.0.3
I am not sure how to get this fixed. I noticed there is an updated version of Examine so I am attempting to upgrade to 1.0.6 to see if this fixes the issues.

The upgrade seems to have fixed that.
I am not sure at all what happened there. Scary for a minute.

Hey @DavidArmitage,
Glad to hear the upgrade fixed this for you! 👍
Callum


Fix time bug with new tests, re-enable SemaphoreTest cases.

Fixes https://github.com/google/iree/issues/2604

Looking into the Linux build failures.

Looking into the Linux build failures.

Was missing some includes.


Conformance Tests - Add more checks to PubSub

Add the following checks:

Detect out of order processing when the messaging broker supports in-order delivery
Ignore messages that may be be sent by a previous test run (helps local development)
Increase the default timeout but stop waiting when all the expected messages are processed
Fail every X message in addition to the first 2 to prevent false positives

For in-order delivery, it should probably be another "operation". Alternatively, we can have integration tests where each component can have its own specific set of tests beyond the conformance tests.
To ignore messages already delivered, we could mark the messages with an uuid and ignore anything that does not contain that uuid.
Other improvements LGTM.

I agree that having in-order delivery check is too component specific and it would be better if it can be added as an integration test. Those integration tests can also follow the framework of the conformance tests for running etc.

In the Draft PR, in-order testing is a configuration flag. My thought is that many of the components can support it. Of course there are caveats (e.g. in-order per producer, etc.) but it's generic enough to make it a flag in the config. Thoughts? We can discuss in #702!


docs(intro): add cloud provider documentation

Signed-off-by: Matthew Fisher<EMAIL_ADDRESS>

unmarking as WIP; this is now ready for review.

closes #86


Add 3rd party integration pass-through

Add new Target class
Consolidate blob upload to Job factory methods, refactor Solver
Break down Job into BaseJob, FilteredJob and Job
Add IonQ and Honeywell targets, support native JSON and QASM circuit formats
Add a timeout argument to Job.wait_until_completed with 5-minute default on Solver.optimize and Job.get_results()

Fixes #83
Example usage for IonQ:
circuit = {
  "qubits": 3,
  "circuit": [
      {
      "gate": "h",
      "target": 0
      },
      {
      "gate": "cnot",
      "control": 0,
      "target": 1
      },
      {
      "gate": "cnot",
      "control": 0,
      "target": 2
      },
  ]
}

target = IonQ(workspace=workspace, target="ionq.simulator")
job = target.submit(circuit)
job.wait_until_completed()
results = job.get_results()

Example usage Honeywell:
circuit = """OPENQASM 2.0;
include "qelib1.inc";
qreg q[3];
creg c0[1];
creg c1[3];
h q[0];
cx q[0], q[1];
x q[2];
h q[2];
cx q[2], q[0];
h q[2];
measure q[0] -> c1[0];
c0[0] = c1[0];
if (c0==1) x q[1];
c0[0] = 0;
measure q[2] -> c1[1];
c0[0] = c1[1];
if (c0==1) z q[1];
c0[0] = 0;
h q[1];
measure q[1] -> c1[2];
"""

target = Honeywell(workspace=workspace, target="honeywell.hqs-lt-s1-apival")
job = target.submit(circuit)
job.wait_until_completed()
results = job.get_results()

This is still in draft, waiting to merge https://github.com/microsoft/qdk-python/pull/107

End-to-end tests are currently failing on this branch, see issue https://github.com/microsoft/qdk-python/issues/115.


[Feature] Digital Human

Priority
P1-Stopper
OS type
Ubuntu
Hardware type
Xeon-GNR
Running nodes
Single Node
Description
Digital Human

Closed for duplicates: #942


CSRF protection

is a thing that should be added to the API.
Maybe require all POST requests to have a nonce that the client must GET from /api/v1/csrf/ or something like that?

@thatoddmailbox English pls?

@medensqui Make protection so that people can't make API requests from other sites.
 It is somewhat important.

@thatoddmailbox Ah

Done!

Nope, I failed and had to revert it.
:frowning:

This is important because of the public release.

@nywillb Yes, I know.  "TKS Banking Solutions ePortfolio 1.0 Java" is not "PlanHub".

@thatoddmailbox Lol

@thatoddmailbox STUDER WORK ON STUFFS :angry: PUBLIC RELEASE IS TODAY

@medensqui IT'S TOMORROW GEEZ

@thatoddmailbox WE NEEX MED HEX

@medensqui lol daltonplanner.org has this same bug....

:)

@thatoddmailbox Studer where are we meeting during interval again?

@medensqui lunchroom

HEY EVERYONE
[click me](data:text/html;base64,PGZvcm0gYWN0aW9uPSJodHRwczovL2RhbHRvbnBsYW5uZXIub3JnL3BsYW5uZXIiIG1ldGhvZD0iUE9TVCIgaWQ9ImNzcmYiPgoJPGlucHV0IHR5cGU9ImhpZGRlbiIgbmFtZT0ibW9uZGF5IiB2YWx1ZT0iMjAxNS0xMC0yNiIgLz4KCTxpbnB1dCB0eXBlPSJoaWRkZW4iIG5hbWU9ImRhdGEiIHZhbHVlPSd7IjExIjpbIiIsZmFsc2UsIiJdLCIxMiI6WyIiLGZhbHNlLCIiXSwiMTMiOlsiIixmYWxzZSwiIl0sIjE0IjpbIiIsZmFsc2UsIiJdLCIxNSI6WyIiLGZhbHNlLCIiXSwiMjEiOlsiIixmYWxzZSwiIl0sIjIyIjpbIiIsZmFsc2UsIiJdLCIyMyI6WyJoZXggZGFsdG9ucGxhbm5lciIsdHJ1ZSwiIl0sIjI0IjpbIiIsZmFsc2UsIiJdLCIyNSI6WyIiLGZhbHNlLCIiXSwiMzEiOlsiIixmYWxzZSwiIl0sIjMyIjpbIiIsZmFsc2UsIiJdLCIzMyI6WyIiLGZhbHNlLCIiXSwiMzQiOlsiIixmYWxzZSwiIl0sIjM1IjpbIiIsZmFsc2UsIiJdLCI0MSI6WyIiLGZhbHNlLCIiXSwiNDIiOlsiIixmYWxzZSwiIl0sIjQzIjpbIiIsZmFsc2UsIiJdLCI0NCI6WyIiLGZhbHNlLCIiXSwiNDUiOlsiIixmYWxzZSwiIl0sIjUxIjpbIiIsZmFsc2UsIiJdLCI1MiI6WyIiLGZhbHNlLCIiXSwiNTMiOlsiIixmYWxzZSwiIl0sIjU0IjpbIiIsZmFsc2UsIiJdLCI1NSI6WyIiLGZhbHNlLCIiXSwiNjEiOlsiIixmYWxzZSwiIl0sIjYyIjpbIiIsZmFsc2UsIiJdLCI2MyI6WyIiLGZhbHNlLCIiXSwiNjQiOlsiIixmYWxzZSwiIl0sIjY1IjpbIiIsZmFsc2UsIiJdLCIwMSI6WyIiLGZhbHNlLCIiXSwiMDIiOlsiIixmYWxzZSwiIl0sIjAzIjpbIiIsZmFsc2UsIiJdLCIwNCI6WyIiLGZhbHNlLCIiXSwiMDUiOlsiIixmYWxzZSwiIl0sInNhdHVyZGF5Tm90ZXMiOlsiIixmYWxzZSwiIl0sInN1bmRheU5vdGVzIjpbIiIsZmFsc2UsIiJdLCJib3giOlsiPjopIixmYWxzZSwiIl19JyAvPgoJPGlucHV0IHR5cGU9InN1Ym1pdCIgdmFsdWU9IkhFWCBJVCIgLz4KPC9mb3JtPgo8c3R5bGU+CiNjc3JmIHsKCWRpc3BsYXk6bm9uZTsKfQo8L3N0eWxlPgo8cD5MT0cgSU4gVE8gREFMVE9OUExBTk5FUiEgVEhFTiBDT01FIEhFUkUgQU5EIEFDVElWQVRFIFRIRSBIRVhJTkcgQkVFTTwvcD4KPGJ1dHRvbiBpZD0iYmVhbSI+QUNUSVZBVEUgSEVYSU5HIEJFRU08L2J1dHRvbj4KPHNjcmlwdCBzcmM9Imh0dHBzOi8vY29kZS5qcXVlcnkuY29tL2pxdWVyeS0xLjExLjMubWluLmpzIj48L3NjcmlwdD4KPHNjcmlwdD4KJChkb2N1bWVudCkucmVhZHkoZnVuY3Rpb24oKSB7CgkkKCIjYmVhbSIpLmNsaWNrKGZ1bmN0aW9uKCkgewoJCWlmIChjb25maXJtKCJBQ1RJVkFURSBURUggSEVYSU5HPyAoV0FSTklORzogVEhJUyBXSUxMIERFU1RST1kgWU9VUiBEQUxUT05QTEFOTkVSIFdFRUshKSIpKSB7CgkJCWFsZXJ0KCJBQ1RJVkFUSU5HIFRFSCBIRVhJTkcgTEFaRVIuLi4gQUZURVIgVSBTRUUgVEVIICdPSycgUkVMT0FEIERBTFRPTlBMQU5ORVIiKTsKCQkJJCgiZm9ybSIpWzBdLnN1Ym1pdCgpOwoJCX0KCX0pOwp9KTsKPC9zY3JpcHQ+)

@thatoddmailbox this is literally just protection in case daltonplanner wants to kill us. also what is the likeliness that dalton planner tries to clear the querries and a user decides to open both dalton planner and studer planner at the same time?>??????  The best you could do is a session cookie, which is only cleared when you close the browser.

this is literally just protection in case daltonplanner wants to kill us.

So we should leave a security hole in production?

@thatoddmailbox

SHHHHHH
YES

DONE YAY! :grinning:

@thatoddmailbox ITS ABOUT TIME

@thatoddmailbox what does this do?

@thatoddmailbox and you spelled beam wrong.

@nywillb YES I KNOW THE SPELLING IS WRONG ON PURPOSE! (It is written in the "hexing" style, but you probably have no idea what I mean because you have not encountered the wonderful programming language @willweinstein and I created)
If you log in to daltonplanner, put some random stuff on your week, and then go to the page and activate the hexing beem, it will wipe your daltonplanner week (this week only) and replace it with a crossed out "hex daltonplanner" event. From another website. This could have been done in the background, without you knowing, but it warns you because I try not to be evil.

@thatoddmailbox It doesnt work.

@nywillb WHY DID U REOPEN? THE ISSUE IS FIXED

Sorry. I messed up
On Fri, Oct 30, 2015 at 8:41 PM willweinstein<EMAIL_ADDRESS>wrote:

@nywillb https://github.com/nywillb WHY DID U REOPEN? THE ISSUE IS FIXED
—
Reply to this email directly or view it on GitHub
https://github.com/PlanHubMe/PlanHub/issues/14#issuecomment-152680508.

@nywillb It might have been fixed. Also, it might have been last week.


⚠ ClamAV has degraded performance

In 78d0737, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 90 ms

Resolved: ClamAV performance has improved in 0feb679.


ERROR: Service 'web' failed to build: The command '/bin/sh -c composer install --no-scripts' returned a non-zero code: 1

I'm running a Laravel 5.1 app and trying to use the Heroku docker build images. However, this error is displaying when composer attempts to generate the classmaps.

[RuntimeException]
Could not scan for classes inside "database" which does not appear to be a file nor a folder

I can run the exact same command (composer install --no-scripts) in terminal and I do not see this issue until I run docker-compose up -d.
I initially thought this may be an issue with a plugin I have on my local system. However, it appears that the build is running the script inside of the container from this message:

Step 1 : RUN composer install --no-scripts
---> Running in 8ae033a31b83

Any thoughts on how to resolve this?

Looking through the repositories on Heroku... Should this issue be opened here or would it be best to open the issue on https://github.com/heroku/docker-php?

Looks like this pull request will solve this issue, which has been open since November 2015:
https://github.com/heroku/docker-php/pull/14

@jbyrum is this issue going to be addressed on the other repository? Right now using docker-php is unusable for Laravel development.

Thanks Jason -- I've sent you an email privately to diagnose the issue.


iNGP implementation

Amazing work, thanks!
In figure 3 of the paper it is implied that you tired this in instant-NGP. If so, would you mind sharing how can this be done easily?
Or even the script you used?

Hi,
Yes, the uncertainty-related functionalities are currently implemented for Nerfacto, iNGP and mip-nerf models of nerfstudio. For example here you can see the impelementation of uncertainty extraction function for iNGP.
To run BayesRays for iNGP or mip-NeRF models you do not need to change anything, train your iNGP model with nerfstudio and then run BayesRays normally, the code itself will detect the underlying architecture (nerfacto ,iNGP, mip-nerf).

Thanks,
Just to be clear, I meant the original iNGP implementation (from NV labs)

no we only have implemented the method on different nerfs architectures in nerfstudio.
If you want to transfer the method to another codebase, the main bit is uncertainty extraction in uncertainty.py. The rest (for example rendering) can be added to their original methods with a few lines of code.


Add support for Ollama

Adds new Ollama provider.
There's a few things missing from the provider, but it's working and I thought I'd put it up in a PR anyway incase anyone needed Ollama support. Please feel free to comment.

This is a good start. Can you also update the Readme with an example of it being used.

Thanks @vprelovac! Added instructions to the README.

Thank you!


Stream forcefully closed

I'm attempting to create an AWS lambda function that calls the .connect() method and then asks a question.  When I submit a single question at a time, it appears to work.  When submitting multiple requests, I'm getting a "Stream forcefully closed" error in hyper.http20 when getting the response.  Is it possible for the client id, client secret and refresh token to be used by multiple connections concurrently? Any thoughts on what might cause this error?

hi,
can you clarify the "architecture" - do you have a browser streaming audio over websocket to AWS API gateway in front of a lambda?

closing due to inactivity

closing due to inactivity


react/display-name false negative when component body has function call with inline object as argument

Eslint and plugin versions:
"eslint": "7.32.0",
"eslint-plugin-react": "^7.27.0",

Relevant eslint configuration:
"react/display-name": "error",

Expected error:
Component definition is missing display name  react/display-name

As described in the title, the following code does not produce error:
const processData = (options?: { value: string }) =>
  options?.value || 'no data';

export const Component = observer(() => {
  const data = processData({ value: 'data' });
  return <Text>{data}</Text>;
});

If I remove { value: 'data' } argument, error is produced, as expected:
const processData = (options?: { value: string }) =>
  options?.value || 'no data';

export const Component = observer(() => {
  const data = processData();
  return <Text>{data}</Text>;
});

If I extract this argument to a separate variable error is produced too:
const processData = (options?: { value: string }) =>
  options?.value || 'no data';

export const Component = observer(() => {
  const options = { value: 'data' };
  const data = processData(options);
  return <Text>{data}</Text>;
});

That's weird, I don't think there is something wrong with configuration.
Repo reproducing error: https://github.com/berrtech/eslint-react-display-name

Component detection is likely being confused because we have no idea what observer is. Have you configured it in componentWrapperFunctions, as mentioned in the readme?

@ljharb Yes, observer is present in componentWrapperFunctions

@berrtech one thing i note in that repo - npm ls fails, which means the entire dep graph is invalid. In particular, eslint-config-airbnb@17 only works with eslint 4 and 5, so you definitely need to update the airbnb config to v18 at least.

@ljharb Thanks for a quick fix! Works as expected now


ReactorNettyHttpClientBraveTests

During other change, I noticed a lot of bugs in the instrumentation of
reactor-netty HttpClient. This uses Brave's integration tests to show
what works and what doesn't.

rebased

It looks like further work is needed, possibly the lifecycle hooks aren't at the right place. For example, .doOnRequest() sees a POST as a GET.. maybe we have to parse later than this.. like .doAfterRequest()
cc @violettagg

@violetagg I noticed a few things that if cleared should allow us to fixup the client instrumentation.
doOnRequest doesn't have the final requestline so this interferes with parsing and sampling. We could do parsing late, like doAfterRequest, but sampling need to be able to see the requestline.
it seems the retry on connect failure isn't configurable, and disabling redirect follow-up still results in a redirect follow-up. We may need to handle multiple callbacks to onRequest and make a new span each attempt. However, the doOnRequest problem remains.
Also important is that the test framework assumes retries and redirect follow-up can be turned off. we should to be able to do this. It seems single-retry on TCP connect failure might be hard coded?

@violetagg @smaldini particularly this one from above.. we need some clarity on. Will we be able to expect the resolved request (ex including http method and path) on doOnRequest()? If not, we may need to do some serious hacking..

@violetagg @smaldini particularly this one from above.. we need some clarity on. Will we be able to expect the resolved request (ex including http method and path) on doOnRequest()? If not, we may need to do some serious hacking..

Can you point in the code where you cannot obtain that information?
We provide HttpClientRequest - https://projectreactor.io/docs/netty/release/api/reactor/netty/http/client/HttpClient.html#doOnRequest-java.util.function.BiConsumer-
from that request you can get this information
https://projectreactor.io/docs/netty/release/api/reactor/netty/http/client/HttpClientRequest.html

It isn't lack of the object, it is that for example, the request returns
GET on a POST request. I verified the server receives a POST. the
onAfterRequest hook has the correct data, but the onRequest has incorrect.
On Tue, Feb 11, 2020 at 9:57 AM violetagg<EMAIL_ADDRESS>wrote:

@violetagg https://github.com/violetagg @smaldini
https://github.com/smaldini particularly this one from above.. we need
some clarity on. Will we be able to expect the resolved request (ex
including http method and path) on doOnRequest()? If not, we may need to
do some serious hacking..
Can you point in the code where you cannot obtain that information?
We provide HttpClientRequest -
https://projectreactor.io/docs/netty/release/api/reactor/netty/http/client/HttpClient.html#doOnRequest-java.util.function.BiConsumer-
from that request you can get this information
https://projectreactor.io/docs/netty/release/api/reactor/netty/http/client/HttpClientRequest.html
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/spring-cloud/spring-cloud-sleuth/pull/1554?email_source=notifications&email_token=AAAPVV3LLYM32HRX7EALNILRCLRIPA5CNFSM4KRNGCI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELNNWPI#issuecomment-584768317,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAPVV477YOHKCP73K6DCXDRCLRIPANCNFSM4KRNGCIQ
.

It isn't lack of the object, it is that for example, the request returns GET on a POST request. I verified the server receives a POST. the onAfterRequest hook has the correct data, but the onRequest has incorrect.
…

That's a problem. Can you create an issue?

it seems the retry on connect failure isn't configurable

We will retry one ONLY in cases of of Connection reset by peer
https://github.com/reactor/reactor-netty/blob/master/src/main/java/reactor/netty/http/client/HttpClientConnect.java#L666

, and disabling redirect follow-up still results in a redirect follow-up.

Please create an issue about this. By default auto-redirect is not enable and it should NOT redirect.

I was wrong about the redirect problem: https://github.com/reactor/reactor-netty/pull/996

about opting out of connection fail retry: https://github.com/reactor/reactor-netty/issues/995

about parse failures, which are behind a few of the test fails here, not just POST https://github.com/reactor/reactor-netty/pull/994

more of the code problems in this repo are around context propagation and scoping. I'll look into these while the parsing stuff happens in reactor-netty

almost everything is done or nearly done here at the reactor-netty HttpClient abstraction. We will need a release of reactor-netty to fix a couple things.

I've not pushed a code update, but will soon

Besides the noted reactor stuff, scope propagation isn't integrated at HttpClient, yet. I'm trying to figure out how to do this now..

going to now check against WebClient to ensure nothing regressed there (due to missing tests)

WebClient is similarly messed up.. will need to do 2 things

have WebClient opt-out except scope propagation when reactor instrumentation is present
Fix WebClient instrumentation when reactor instrumentation is absent (it is messed up also)

There are numerous bugs with associated issues raised in reactor for investigation. Many are fixed with what's currently in master. I'm going to merge this as it helps identify what's left to do without constantly rebasing.

check to see if the build passes twice in a row. it always passes on clean cache, but this time is the real test


mouse1

isn't this mouse_event detected? This need interception,? Can i adapt to use another mouse driver like the razer one?

This method has nothing to do with the interception driver. Uses the windows api


[stable/fluentd] Expose replicaCount in values file

Is this a new chart
No
What this PR does / why we need it:
Expose replicaCount in values.yaml. It is already used in templates/deployment.yaml. Without it the interface for modifying number of pod replicas is not obvious.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

@hectorj2f @Miouge1 any chance to merge this?

/assign @rendhalver

/ok-to-test
/assign

/lgtm


'Need to implement an uninstall button for Outlook.

And please make sure it's not disabled.

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

ID: b314dc73-e63b-9712-a4b1-9171ad6b7e82
Version Independent ID: d3b16d76-6883-4e52-9c32-4699379d40c8
Content: Plan your enterprise deployment of Office 365 ProPlus
Content Source: DeployOffice/plan-office-365-proplus.md
Service: o365-proplus-itpro
GitHub Login: @jwhit-MSFT
Microsoft Alias: jwhit

Thanks for the feedback. I'd suggest adding this request to the user voice site for Outlook.


Implement SYNONYM in CREATE TABLE

This PR implements SYNONYM in CREATE TABLE.
fix #125

Thank you for your correction! All applied.


fix: OwnershipCard could be unscrollable when using together with react-grid-layout

Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[x] Screenshots attached (for UI changes)

[ ] All your commits have a Signed-off-by line in the message. (more info)

@vinzscam Any luck to review again?


Negative prompting

Add negative prompting (sorry for the commit mess, no UI changes)

This is rad. I don't think DreamStudio supports this yet, so we'll need to make it only appear (and be used) with Automatic1111.
Here are the methods already in place for checking this:
if utils.do_use_local_sd() and utils.local_sd_backend() == "automatic1111":

On it!
El jue., 10 nov. 2022 16:08, Ben Rugg @.***> escribió:

This is rad. I don't think DreamStudio supports this yet, so we'll need to
make it only appear (and be used) with Automatic1111.
Here are the methods already in place for checking this:
if utils.do_use_local_sd() and utils.local_sd_backend() == "automatic1111":
—
Reply to this email directly, view it on GitHub
https://github.com/benrugg/AI-Render/pull/35#issuecomment-1310771608,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3CKRFECXY6JHCILOKWIGYTWHVBZFANCNFSM6AAAAAAR43ZLXU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Done! I figure in a future when DreamStudio adds negative prompting, and when other backends are added, this will have to change.

This is great. It will require a bit of work to merge with my changes in the animation branch (which I'm about to release tomorrow), so I will tackle the merge once that's done. Thanks for working on this!

Awesome, I'll be attentive to that push!


uuid support for player search

Would please leave the report intact, even though you figured it out?

This was a fail issue and not for this plugin.