Component import fails if template html is referenced using src

Describe the bug
When importing a .vue component that uses <template src="./template.html">, the import fails on Windows.
Reproduction
https://stackblitz.com/edit/github-kurrn8
System Info
System:
    OS: Windows 10 10.0.22621
    CPU: (4) x64 Apple Silicon
    Memory: 372.64 MB / 5.99 GB
  Binaries:
    Node: 16.14.2 - C:\Program Files (x86)\nodejs\node.EXE
    npm: 8.1.2 - C:\Program Files (x86)\nodejs\npm.CMD
  Browsers:
    Chrome: 105.0.5195.127
    Edge: Spartan (44.22621.382.0), Chromium (105.0.1343.53)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @vitejs/plugin-vue: latest => 3.1.0
    @vitejs/plugin-vue-jsx: latest => 2.0.1
    vite: latest => 3.1.3

Used Package Manager
npm
Logs

Click to expand!
PS C:\Users\alexgrozav\Workspace\github-kurrn8> npm run dev

> dev
> vite

VITE v3.1.3  ready in 1277 ms

➜  Local:   http://<IP_ADDRESS>:5173/
➜  Network: use --host to expose

Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .html?v=465a4ca9 file format, or if it's an asset, add "**/*.html?v=465a4ca9" to `assetsInclude` in your configuration.
Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .html?v=465a4ca9 file format, or if it's an asset, add "**/*.html?v=465a4ca9" to `assetsInclude` in your configuration. (x2)
Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .html?v=465a4ca9 file format, or if it's an asset, add "**/*.html?v=465a4ca9" to `assetsInclude` in your configuration. (x3)
8:27:51 AM [vite] Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .html?v=465a4ca9 file format, or if it's an asset, add "**/*.html?v=465a4ca9" to `assetsInclude` in your configuration.
  Plugin: vite:import-analysis
  File: C:/Users/alexgrozav/Workspace/github-kurrn8/node_modules/@inkline/inkline/components/IForm/template.html?v=465a4ca9
  8  |  >
  9  |      <slot />
  10 |  </form>
     |         ^
  11 |
      at formatError (file:///C:/Users/alexgrozav/Workspace/github-kurrn8/node_modules/vite/dist/node/chunks/dep-557f29e6.js:40853:46)
      at TransformContext.error (file:///C:/Users/alexgrozav/Workspace/github-kurrn8/node_modules/vite/dist/node/chunks/dep-557f29e6.js:40849:19)
      at TransformContext.transform (file:///C:/Users/alexgrozav/Workspace/github-kurrn8/node_modules/vite/dist/node/chunks/dep-557f29e6.js:37521:22)
      at async Object.transform (file:///C:/Users/alexgrozav/Workspace/github-kurrn8/node_modules/vite/dist/node/chunks/dep-557f29e6.js:41102:30)
      at async loadAndTransform (file:///C:/Users/alexgrozav/Workspace/github-kurrn8/node_modules/vite/dist/node/chunks/dep-557f29e6.js:37364:29)
8:27:51 AM [vite] Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .html?v=465a4ca9 file format, or if it's an asset, add "**/*.html?v=465a4ca9" to `assetsInclude` in your configuration.
  Plugin: vite:import-analysis
  File: C:/Users/alexgrozav/Workspace/github-kurrn8/node_modules/@inkline/inkline/components/IForm/components/IFormGroup/template.html?v=465a4ca9
  4  |       role="group">
  5  |      <slot />
  6  |  </fieldset>
     |             ^
  7  |
      at formatError (file:///C:/Users/alexgrozav/Workspace/github-kurrn8/node_modules/vite/dist/node/chunks/dep-557f29e6.js:40853:46)
      at TransformContext.error (file:///C:/Users/alexgrozav/Workspace/github-kurrn8/node_modules/vite/dist/node/chunks/dep-557f29e6.js:40849:19)
      at TransformContext.transform (file:///C:/Users/alexgrozav/Workspace/github-kurrn8/node_modules/vite/dist/node/chunks/dep-557f29e6.js:37521:22)
      at async Object.transform (file:///C:/Users/alexgrozav/Workspace/github-kurrn8/node_modules/vite/dist/node/chunks/dep-557f29e6.js:41102:30)
      at async loadAndTransform (file:///C:/Users/alexgrozav/Workspace/github-kurrn8/node_modules/vite/dist/node/chunks/dep-557f29e6.js:37364:29)
8:28:00 AM [vite] Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .html?v=465a4ca9 file format, or if it's an asset, add "**/*.html?v=465a4ca9" to `assetsInclude` in your configuration.
  Plugin: vite:import-analysis
  File: C:/Users/alexgrozav/Workspace/github-kurrn8/node_modules/@inkline/inkline/components/IInput/template.html?v=465a4ca9
  2  |

  3  |          <slot name="prepend" />
  4  |

     |            ^
  5  |

  6  |
      at formatError (file:///C:/Users/alexgrozav/Workspace/github-kurrn8/node_modules/vite/dist/node/chunks/dep-557f29e6.js:40853:46)
      at TransformContext.error (file:///C:/Users/alexgrozav/Workspace/github-kurrn8/node_modules/vite/dist/node/chunks/dep-557f29e6.js:40849:19)
      at TransformContext.transform (file:///C:/Users/alexgrozav/Workspace/github-kurrn8/node_modules/vite/dist/node/chunks/dep-557f29e6.js:37521:22)
      at async Object.transform (file:///C:/Users/alexgrozav/Workspace/github-kurrn8/node_modules/vite/dist/node/chunks/dep-557f29e6.js:41102:30)
      at async loadAndTransform (file:///C:/Users/alexgrozav/Workspace/github-kurrn8/node_modules/vite/dist/node/chunks/dep-557f29e6.js:37364:29)
Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .html?v=465a4ca9 file format, or if it's an asset, add "**/*.html?v=465a4ca9" to `assetsInclude` in your configuration.
Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .html?v=465a4ca9 file format, or if it's an asset, add "**/*.html?v=465a4ca9" to `assetsInclude` in your configuration. (x2)
Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .html?v=465a4ca9 file format, or if it's an asset, add "**/*.html?v=465a4ca9" to `assetsInclude` in your configuration. (x3)
Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .html?v=465a4ca9 file format, or if it's an asset, add "**/*.html?v=465a4ca9" to `assetsInclude` in your configuration. (x4)
Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .html?v=465a4ca9 file format, or if it's an asset, add "**/*.html?v=465a4ca9" to `assetsInclude` in your configuration. (x5)
Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .html?v=465a4ca9 file format, or if it's an asset, add "**/*.html?v=465a4ca9" to `assetsInclude` in your configuration. (x6)
Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .html?v=465a4ca9 file format, or if it's an asset, add "**/*.html?v=465a4ca9" to `assetsInclude` in your configuration. (x7)
Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .html?v=465a4ca9 file format, or if it's an asset, add "**/*.html?v=465a4ca9" to `assetsInclude` in your configuration. (x8)
Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .html?v=465a4ca9 file format, or if it's an asset, add "**/*.html?v=465a4ca9" to `assetsInclude` in your configuration. (x9)
Failed to parse source for import analysis because the content contains invalid JS syntax. You may need to install appropriate plugins to handle the .html?v=465a4ca9 file format, or if it's an asset, add "**/*.html?v=465a4ca9" to `assetsInclude` in your configuration. (x10)

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Same problem here, downgrading to<EMAIL_ADDRESS>is my current fix

Interesting, I'm on vite 3.0.9 and I'm still getting this


remove s3 bucket names

PR to remove s3 buckets as plain text and to switch the RDS cluster and instance to a public subnet group


Design Proxies collection and schema

Create a collection that will store configuration details like base URL for API proxies, for example API Umbrella. This is distinct the from the Proxy Backends collections which contains settings for a specific API backend (e.g. rate limiting).
Definition of done

[ ] Proxies component exists
[ ] Proxies component follows folder structure of other components
[ ] Proxies collection exists
[ ] Proxies schema exists

[ ] Schema contains field contains fields to distinguish proxies (name)
[ ] Schema contains Api Umbrella configuration fields
[ ] Schema contains Type field with one allowed value (Api Umbrella for the time being)
[ ] Schema has conditional validation when type field is Api Umbrella

@brylie Could you post the initial Proxies schema?

@frenchbread
Proxies

_id
name
description ?
type (allowed values: 'api-umbrella', 'kong', 'tyk')
settings

url
apiKey
authToken

custom validation: required if type === 'api-umbrella'

elastic

custom validation: required if type === 'api-umbrella'


CASMINST-5485/CASMINST-5487: Clarify NCN personalization & image customization

Description
Clarify that during upgrades, NCN image customizations is worker only, but personalization is for all management NCNs.
Checklist Before Merging

[X] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[X] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[X] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport main


Select branch to build

I'm looking for a solution to change default branch based on variable, this is possible with the TFVC source but I can't find it with this one (Azure Repos GIT). Is it possible?

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

ID: 8b846aea-82f7-a988-67d8-1b5e74b61ed2
Version Independent ID: 2d632729-bb33-c0a0-c996-e1d8e86c2e23
Content: Build Azure Repos Git repositories - Azure Pipelines
Content Source: docs/pipelines/repos/azure-repos-git.md
Product: devops
Technology: devops-cicd
GitHub Login: @steved0x
Microsoft Alias: sdanie

Thanks for your question. It looks like your question isn't an issue with the documentation, but an issue or question specific to your implementation or a bug in the product itself.
For help with a specific task, here are a couple of options where you might consider asking your question:

Azure DevOps on Stack Overflow
Azure DevOps Support Bot

If you've encountered an issue with the product itself, to make sure it gets in front of the right people, please submit your bug here.
If you have an idea for improving the product, please submit your idea here.


Fix typos in docs/

Codecov Report

Merging #96 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master    #96   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          89     89
  Lines        1951   1951
=====================================
  Hits         1951   1951

Continue to review full report at Codecov.

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

Awesome! Thanks a lot.


Restricted number of shadowed variables

The 'shadowed' variables are limited to three copies, i.e., x, x', x'', x'''
Its still an open issue to somehow display that the number of values displayed has been truncated.

Looks good!


Temperature conversion issue

@h-krishnan @seanpearsonuk @dnwillia
------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------

Is this correct?
>>> a = Quantity(2, "C^-1")
>>> float(a)
2.0

Is this correct?
>>> a = Quantity(2, "C^-1")
>>> float(a)
2.0

If we're talking about something "per celsius" then what does that mean? I would saying it's pretty trashy to begin with, but if we want to allow it, then we need to understand what can possibly be meant, and I believe that the offset has no role here because we are talking about "per degree of celsius", implying that the above behaviour is correct (or at least the least incorrect). However, there is a concern that this behaviour could lead to inconsistencies and therefore bugs. E.g. can we write a test that takes a celsius quantity in a cycle that changes its value (inverting twice for instance)?

Is this correct?
>>> a = Quantity(2, "C^-1")
>>> float(a)
2.0

If we're talking about something "per celsius" then what does that mean? I would say it's pretty trashy to begin with, but if we want to allow it, then we need to understand what can possibly be meant, and I believe that the offset has no role here because we are talking about "per degree of celsius", implying that the above behaviour is correct (or at least the least incorrect). However, there is a concern that this behaviour could lead to inconsistencies and therefore bugs. E.g. can we write a test that takes a celsius quantity in a cycle that changes its value (inverting twice for instance)?

Yeah, a better example might be cp = q.Quantity(4184.0, 'J kg^-1 C^-1') which is equivalent to cp = q.Quantity(4184.0, 'J kg^-1 K^-1').  I think it means that C^-1 is implying a mathematical operation so it should be a temperature difference.

Is this correct?
>>> a = Quantity(2, "C^-1")
>>> float(a)
2.0

If we're talking about something "per celsius" then what does that mean? I would say it's pretty trashy to begin with, but if we want to allow it, then we need to understand what can possibly be meant, and I believe that the offset has no role here because we are talking about "per degree of celsius", implying that the above behaviour is correct (or at least the least incorrect). However, there is a concern that this behaviour could lead to inconsistencies and therefore bugs. E.g. can we write a test that takes a celsius quantity in a cycle that changes its value (inverting twice for instance)?

Yeah, a better example might be cp = q.Quantity(4184.0, 'J kg^-1 C^-1') which is equivalent to cp = q.Quantity(4184.0, 'J kg^-1 K^-1'). I think it means that C^-1 is implying a mathematical operation so it should be a temperature difference. This use case comes from Q = m*cp*deltaT so cp = Q / (m*deltaT) i.e. by definition the temperature contribution to cp is physically a temperature difference. I think probably for other situations where you have C^-1 as some kind of slope 'per unit temperature' it's got to be a temperature difference.

We then need a rule that if unit is exactly "K", "R", "C" or "F" in Quantity(value, unit), the unit quantity is "Temperature". In all other situations where these units appear (including "C^-1", the unit quantity is "Temperatue Difference".

Is this correct?
>>> a = Quantity(2, "C^-1")
>>> float(a)
2.0

If we're talking about something "per celsius" then what does that mean? I would say it's pretty trashy to begin with, but if we want to allow it, then we need to understand what can possibly be meant, and I believe that the offset has no role here because we are talking about "per degree of celsius", implying that the above behaviour is correct (or at least the least incorrect). However, there is a concern that this behaviour could lead to inconsistencies and therefore bugs. E.g. can we write a test that takes a celsius quantity in a cycle that changes its value (inverting twice for instance)?

Yeah, a better example might be cp = q.Quantity(4184.0, 'J kg^-1 C^-1') which is equivalent to cp = q.Quantity(4184.0, 'J kg^-1 K^-1'). I think it means that C^-1 is implying a mathematical operation so it should be a temperature difference. This use case comes from Q = m*cp*deltaT so cp = Q / (m*deltaT) i.e. by definition the temperature contribution to cp is physically a temperature difference. I think probably for other situations where you have C^-1 as some kind of slope 'per unit temperature' it's got to be a temperature difference.

We then need a rule that if unit is exactly "K", "R", "C" or "F" in Quantity(value, unit), the unit quantity is "Temperature". In all other situations where these units appear (including "C^-1", the unit quantity is "Temperature Difference".

Yes, this is perfect.

Is this correct?
>>> a = Quantity(2, "C^-1")
>>> float(a)
2.0

If we're talking about something "per celsius" then what does that mean? I would say it's pretty trashy to begin with, but if we want to allow it, then we need to understand what can possibly be meant, and I believe that the offset has no role here because we are talking about "per degree of celsius", implying that the above behaviour is correct (or at least the least incorrect). However, there is a concern that this behaviour could lead to inconsistencies and therefore bugs. E.g. can we write a test that takes a celsius quantity in a cycle that changes its value (inverting twice for instance)?

Yeah, a better example might be cp = q.Quantity(4184.0, 'J kg^-1 C^-1') which is equivalent to cp = q.Quantity(4184.0, 'J kg^-1 K^-1'). I think it means that C^-1 is implying a mathematical operation so it should be a temperature difference. This use case comes from Q = m*cp*deltaT so cp = Q / (m*deltaT) i.e. by definition the temperature contribution to cp is physically a temperature difference. I think probably for other situations where you have C^-1 as some kind of slope 'per unit temperature' it's got to be a temperature difference.

We then need a rule that if unit is exactly "K", "R", "C" or "F" in Quantity(value, unit), the unit quantity is "Temperature". In all other situations where these units appear (including "C^-1", the unit quantity is "Temperatue Difference".

Done. Thank you.


[FEATURE] Migrate to use Chopper 5.0.x

Is your feature request related to a problem? Please describe.
Updated my project to use Chopper 5.0, but generated code then fails:
I.E:

and

Describe the solution you'd like
Please migrate swagger_dart_code_generator to cope with Chopper 5.0.x

Please be aware that Chopper v5.0.x is Dart v2.17 dependent:

Confirming breaking change for use of FutureOr

@RoarGronmo  good point. Will handle it!


Nacos 1.3.0 and Dubbo 2.7.7 are supported

When will Nacos 1.3.0 and Dubbo 2.7.7 be supported
we use the  latest version of spring cloud alibaba, but it not support Nacos 1.3.0 and Dubbo 2.7.7,  Dubbo 2.7.6 and the low version have serialization security issues.

We are working on it.


how to validation the input of chips

it doesn't work. how to do that?
$('.chips').on('chip.add', function(e, chip){
    if (!(!isNaN(parseFloat(chip.tag)) && isFinite(chip.tag))) {
        Materialize.toast('Invalid input', 2000, 'rounded');
        e.preventDefault();
        console.log(e);
    }
});

I'm not sure what you're checking for in your if statement. Could you elaborate?

@Wsine, I'm not sure what you're checking for in your if statement. Could you elaborate? (The problem is definitely with the if statement)

Please post a codepen!

Sorry for late. I want to validate the user input whether it is a float number. if not, dont no add to the chips. How can I acheive it through 'chip.add' event.
I test a silly way by do like this:
$('.chips').on('chip.add', function(e, chip){
    if (!(!isNaN(parseFloat(chip.tag)) && isFinite(chip.tag))) {
        Materialize.toast('Invalid input', 2000, 'rounded');
        $('.chip').slice(-1).children().click();
    }
});

are there any better way to achieve it?


Feature: Capture Errors with Sentry

Describe your PR
Simply adds Sentry error logging and an Error Boundary.
Fixes this trello issue
Pages/Interfaces that will change
All pages now have an <ErrorBoundary /> wrapper
Steps to test

$ npm test
Look for ✅
$ npm run:e2e:ci
Look for ✅

Additional notes
This PR also adds an jest config to ignore all cypress specs 🤕

@jakeleboeuf this looks solid to me, granted I don't have experience with Sentry or handling ErrorBoundaries :D - I'll leave to @racedale to approve and merge when he's comfortable


RFC: Prepare /similar for stabilization, or create a new experimental feature for the /similar routes

Hello :wave:
Meilisearch v1.9 introduced the possibility to search for similar documents using /similar POST and GET routes.
At the time the API was seen as not necessarily final, with questions around:

Should sort be supported in some fashion?
Should similar remain a dedicated route, or be included in the search route?
If the route is kept, is similar the right name for it?
If the route is kept, is supporting the GET method what we want?

This issue is a Request For Comments (RFC) on the above questions, with the possible envisioned outcomes:

The /similar routes are kept as-is, and stabilized at the same time as the vector store
The /similar routes are kept as-is, but we don't feel confident in stabilizing at the same time as the vector store, so a new feature flag is introduced prior to stabilization of the vector store feature
The /similar routes must be modified in a compatibility-breaking way: the modification will be done in a future Meilisearch version, so a new feature flag is introduced prior to stabilization of the vector store feature

Decisions taken:

Should sort be supported in some fashion?

No for now, can be added later

Should similar remain a dedicated route, or be included in the search route?

No change

If the route is kept, is similar the right name for it?

No change

If the route is kept, is supporting the GET method what we want?

No change
Possible outcomes:

The /similar routes are kept as-is, and stabilized at the same time as the vector store
The /similar routes are kept as-is, but we don't feel confident in stabilizing at the same time as the vector store, so a new feature flag is introduced prior to stabilization of the vector store feature
The /similar routes must be modified in a compatibility-breaking way: the modification will be done in a future Meilisearch version, so a new feature flag is introduced prior to stabilization of the vector store feature

Chosen outcome is (1) "The /similar routes are kept as-is, and stabilized at the same time as the vector store"
Closing this issue.


Node path retention, better error messages

 Nodes should be aware of their location to facilitate e.g. better error messages


rand32_ctr_drbg fails to call the respective initialization routing

Describe the bug
f44b3dc4dfe changed where initialization of entropy_dev to occur at compile time but the logic in z_impl_sys_csrand_get() calls the initialization routine IF entropy_dev is NULL. In the init routine it will assign the device object to entropy_dev and properly initialize the context object.
Using an initialized context object results in a crash.
To Reproduce
Steps to reproduce the behavior:

west build -b mimxrt1050_evk -p always tests/net/socket/tls/
See error

Impact
Code crashes from an indirect call to a NULL address when getting sys_csrand_get() data.

ping @gmarull

Thanks for reporting @dleach02 , will submit a fix tomorrow

I have a fix... posting now


Add more obvious UI feedback when data is loading

I often load up a dataset in Neuroglancer, and then have to wait for a little while for the largest resolution image to load. I'm always a bit unsure if something is loading or not, so it would be good to have some clear visual feedback in the UI when data is loading.

The UI does have a small progress bar for loading meshes.  It's shown in the layer's settings panel, so if you've got meshes loading from multiple layers, I guess you'd have to check them all.

Ah I actually meant loading volume data (not meshes).

For volumetric data, the "resolution (slice)" control is the relevant one.
There is also a second loading indicator --- in the layer bar, the very top line of the layer tab shows the loading progress for visible data, and the bottom line shows the loading progress for prefetched data.  However, these indicators are very subtle --- perhaps they should be made a bit more prominent.
In typical use of Neuroglancer data is being loaded much of the time, because the user will likely change the viewport to some extent even before everything finishes loading.  For that reason I did not want to make the loading indicators too prominent, as they might become distracting.


Update "Razor view compilation and precompilation in ASP.NET Core" to include content about Razor Sdk

https://docs.microsoft.com/en-us/aspnet/core/mvc/views/view-compilation?view=aspnetcore-2.1&tabs=aspnetcore2x does not contain details about the Razor Sdk and following these instructions would actually turn it off. We should update it and likely for apps targeting 2.1, likely pointing to the Razor Sdk doc as also the one about Razor Class Library.

@pranavkm  can you draft the changes and I'll get it updated?

Fixed by https://github.com/aspnet/Docs/pull/6379


mpv: depend on libplacebo

depends on upstream repo PR https://codeberg.org/kiss-community/repo/pulls/166

Nevermind, this is due to the fact mpv is in git.
@ehawkvu Please make mpv stable.

@apprehensions fixed 119cb29

@ehawkvu this is now required as of mpv v0.37.0


Request to Add Our Models(MAP-Neo, CT-LLM) to Your GitHub Repository

Dear lonePatient,
I hope this message finds you well.
I want to express my gratitude for your valuable work. Your comprehensive survey has greatly contributed to the Chinese NLP community.
I am writing to request the inclusion of our open-source models, MAP-Neo and CT-LLM, in this GitHub repository.
Here is a brief introduction to our models:
MAP-Neo: A fully open-source model where all data for pre-training and post-training are open, along with the code and public model weights. More details are available on our project website MAP-Neo.
CT-LLM (Chinese Tiny LLM): The first pre-training model focused on Chinese corpus, also open-sourcing the Chinese pre-training dataset, data processing pipeline, intermediate checkpoints, and pre-training code. More information can be found on our website Chinese Tiny LLM.
Thank you for considering our request.
Best regards,
M-A-P Team

Thank you very much for open-sourcing this great project. I have already added it to the GitHub Repository.


Add the username

Context & versions
https://dev-sanchonet.govtool.byron.network/dashboard
Actual behavior

Expected behavior
Add the username on the bottom left, just above the Wallet connection

@ValMBO @teske00 How we will do this because it is not on PDF side, its GovTool sidebar?

It is govtool sidebar, we can provide to the app context username property where we could set and display in the connected wallet card

@ValMBO This sounds fine to me, what do you think?

Removing the milestone and adding to Community backlog.


Add eu-fr2 to domain mappings

The module does not handle the eu-fr2 region, please add it to the list :
https://github.com/terraform-ibm-modules/terraform-ibm-vpe-gateway/blob/main/service_endpoints.tf#L46

https://github.com/terraform-ibm-modules/terraform-ibm-vpe-gateway/pull/546

PR merged. Closing issue


Mimic new SQS FiFo feature

Hi,
Since Amazon introduced FiFo in SQS I have a question.
Do You plan to add such feature, or just allow/validate new message parameters for dev purposes?

No plans for now, but PRs are always welcome - I just merged & released support for dead letter queues :)

Is there a plan for this now?
Having local AWS SQS Fifo Queue would be very nice for test purposes.

Hi @osmanpontes, FIFO support was introduced in 0.14.0 (#143) and has been slowly improved in later releases. Although the README doesn't call it out explicitly, FIFO should be supported (including message deduping and ordering). Is there anything that's not functioning as you would expect?

I was using this docker container: https://hub.docker.com/r/roribio16/alpine-sqs/.
I checked it's using v0.14.6.
In Dockerfile it runs this curl -sL https://api.github.com/repos/adamw/elasticmq/releases/latest | jq -r .tag_name which returns v0.14.6.
The queue was missing some sent messages.
But I don't have a reproducible code now.
I changed my application tests to use SQS in AWS infrastructure instead of a mocked version.
On weekend I can try it again and open an appropriated issue.
Thanks for the fast answer @simong !

I believe this has been implemented for some time now.


RAM requirements for demo.py

Hello, what are the RAM requirements for running the demo script?  I have 16GB of ram, but the script failed with a memory error, and I can see in Task Manager that RAM usage was near 100%.  I'm curious how much more RAM I would need to run the script?
I downloaded the first-order-motion-model folder into the git repository and ran this command:
python demo.py --config config\vox-adv-256.yaml --driving_video first-order-motion-model\07.mkv --source_image first-order-motion-model\01.png --checkpoint first-order-motion-model\vox-adv-cpk.pth.tar --relative --adapt_scale
The error I got was:
Traceback (most recent call last):
  File "demo.py", line 119, in <module>
    driving_video = imageio.mimread(opt.driving_video, memtest=False)
  File "C:\Users\mr_j_\AppData\Local\Programs\Python\Python37\lib\site-packages\imageio\core\functions.py", line 286, in mimread
    for im in reader:
  File "C:\Users\mr_j_\AppData\Local\Programs\Python\Python37\lib\site-packages\imageio\core\format.py", line 397, in iter_data
    im, meta = self._get_data(i)
  File "C:\Users\mr_j_\AppData\Local\Programs\Python\Python37\lib\site-packages\imageio\plugins\ffmpeg.py", line 396, in _get_data
    result, is_new = self._read_frame()
  File "C:\Users\mr_j_\AppData\Local\Programs\Python\Python37\lib\site-packages\imageio\plugins\ffmpeg.py", line 586, in _read_frame
    result = np.fromstring(s, dtype='uint8')
MemoryError: Unable to allocate 5.93 MiB for an array with shape (6220800,) and data type uint8

I'm using Windows 10 with python 3.7

07.mkv is very not cropped video and it contain many people (video should look like 08.mp4), you can crop video using crop-video.py

Thanks for the tip (and for replying to a repo you created a while ago)  I learned about this from this video on the 2 Minute Papers channel on YouTube, so expect a few more guests :)
I tried with 08.mp4 and got a different error:
C:\Users\mr_j_\source\first-order-model>python demo.py --config config\vox-adv-256.yaml --driving_video first-order-motion-model\08.mp4 --source_image first-order-motion-model\01.png --checkpoint first-order-motion-model\vox-adv-cpk.pth.tar --relative --adapt_scale
C:\Users\mr_j_\AppData\Roaming\Python\Python37\site-packages\skimage\transform\_warps.py:105: UserWarning: The default mode, 'constant', will be changed to 'reflect' in skimage 0.15.
  warn("The default mode, 'constant', will be changed to 'reflect' in "
C:\Users\mr_j_\AppData\Roaming\Python\Python37\site-packages\skimage\transform\_warps.py:110: UserWarning: Anti-aliasing will be enabled by default in skimage 0.15 to avoid aliasing artifacts when down-sampling images.
  warn("Anti-aliasing will be enabled by default in skimage 0.15 to "
Traceback (most recent call last):
  File "demo.py", line 134, in <module>
    predictions = make_animation(source_image, driving_video, generator, kp_detector, relative=opt.relative, adapt_movement_scale=opt.adapt_scale)
  File "demo.py", line 53, in make_animation
    kp_source = kp_detector(source)
  File "C:\Users\mr_j_\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\nn\modules\module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "C:\Users\mr_j_\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\nn\parallel\data_parallel.py", line 150, in forward
    return self.module(*inputs[0], **kwargs[0])
  File "C:\Users\mr_j_\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\nn\modules\module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "C:\Users\mr_j_\source\first-order-model\modules\keypoint_detector.py", line 53, in forward
    feature_map = self.predictor(x)
  File "C:\Users\mr_j_\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\nn\modules\module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "C:\Users\mr_j_\source\first-order-model\modules\util.py", line 196, in forward
    return self.decoder(self.encoder(x))
  File "C:\Users\mr_j_\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\nn\modules\module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "C:\Users\mr_j_\source\first-order-model\modules\util.py", line 153, in forward
    outs.append(down_block(outs[-1]))
  File "C:\Users\mr_j_\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\nn\modules\module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "C:\Users\mr_j_\source\first-order-model\modules\util.py", line 110, in forward
    out = self.conv(x)
  File "C:\Users\mr_j_\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\nn\modules\module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "C:\Users\mr_j_\AppData\Local\Programs\Python\Python37\lib\site-packages\torch\nn\modules\conv.py", line 338, in forward
    self.padding, self.dilation, self.groups)
RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED

Really, I'm just trying to get the simplest thing working to verify my setup.  Do you have a literal demo command new users could run to generate a working output file?  I.e. which arguments to use for the checkpoint, source, and driving files?  I'm hoping there exists a set of commands I can execute exactly which will generate a good file before I go trying to create my own custom videos.

You have a problem with cudnn library, I'm not that familiar with windows so not sure what is the problem. The simplest think is to use colab notebok demo.ipynb, you can directly run on google servers without installing any dependency's.

Ok, I'm new at python so I'll try the colab notebook next.  BTW, what OS did you use for this?

I tried in ubuntu 18.04, 16.04, 14.04.

Thank you.  I was able to use the google colab and produce my first deep fake!  Thanks for your help!


albert: move to pkgs/by-name

Description of changes
Move albert to pkgs/by-name so I can use the merge bot as a maintainer. Unfortunately, this couldn't have been done in the last PR since it was an auto-update.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Hope you don't mind me pinging you @Lassulus, but since you merged the previous PR is it okay if you also merge this?

Thanks!


Unexpected Flickering Behavior in NgZorro Dropdown when Multiple Menu Items are Clicked Subsequently

Reproduction link
https://stackblitz.com/edit/angular-2ftor9?file=src%2Fapp%2Fapp.component.ts
Steps to reproduce
1.) Include multiple nz-menu-item elements within a NgZorro Dropdown component.
2.) Click on one menu item, then the other, and observe the flickering behavior.
3.) Repeat the above step for different menu items, noticing the same flickering behavior.
What is expected?

When opening a menu item by clicking on it, the item should remain open until explicitly closed by the user.
Clicking on a subsequent menu item should not result in a quick open and close action, but rather keep the previously opened item open and smoothly transition to the newly clicked item.
The opened menu item should not flicker or close abruptly after being clicked.

What is actually happening?

When clicking on a menu item, after the prior one, it briefly opens and then immediately closes, resulting in a flickering effect.
The flickering behavior occurs when clicking on 2 or more items subsequently.

Environment
Info

ng-zorro-antd
16.0.0

Browser
Chrome

Make dropdown a component
<ng-container *ngFor="let item of list">
    <nz-demo-dropdown-trigger></nz-demo-dropdown-trigger>
</ng-container>


Improve relevancy of Quick Open Scene results

This pull request improves the accuracy of the quick open scene results.
Resolves: #50672
https://user-images.githubusercontent.com/62965063/126517931-b112b265-883b-4d84-a6b5-33768fb0a5cc.mp4

I swear this code is being changed at every other release... Would be good to figure out why it regressed, especially if the fix is to readd the same code as in 3.x.

I swear this code is being changed at every other release... Would be good to figure out why it regressed, especially if the fix is to readd the same code as in 3.x.

Yeah, I really don't know why it would have regressed in the first place. As far as I could tell it worked perfectly fine in 3.x. It also seems to work mostly fine with a similar implementation in 4.0 as I've done here.
As far as I can tell, the changes I've made improve its relevancy and there appear to be no noticeable problems.
Here's a slightly more complex project layout with multiple folders and scenes spread across them randomly:
https://user-images.githubusercontent.com/62965063/126715301-41f28a1b-f5d5-47cd-898f-720b89091a51.mp4
All around it handles it very well, it's accurate and even works with spelling mistakes, so this seems fine.

See also https://github.com/godotengine/godot/issues/46427.

What I meant is that if the code from 3.x works better, it means someone changed in master to make it regress. So we can ask the git log to know who:
https://github.com/godotengine/godot/commit/c33707e9b44478f6efaf57a0ca9c8496bcb87695#diff-ee274d6f77452fe1dbc2fe0d16b89a7599516564ded336f2060bdd21dea8343a
https://github.com/godotengine/godot/commit/7f6e8d25d43c77b89bd3a9968e13ebef94a82f5c#diff-ee274d6f77452fe1dbc2fe0d16b89a7599516564ded336f2060bdd21dea8343a
https://github.com/godotengine/godot/commit/269ed93271bc3e6a6eaecc6db4e1bfbcec69c1a8#diff-ee274d6f77452fe1dbc2fe0d16b89a7599516564ded336f2060bdd21dea8343a
CC @hinlopen

Seems like it might be because it finds a subsequence that starts earlier in a folder (World5/Tweenland2).
Anyway, the search ranking was changed because of #39927. Just changing it back will likely reintroduce that.

Seems like it might be because it finds a subsequence that starts earlier in a folder (World5/Tweenland2).
Anyway, the search ranking was changed because of #39927. Just changing it back will likely reintroduce that.

@akien-mga @hinlopen I'm pretty sure a better implementation of this that would incorporate the original implementation in 3.x and the fix done by #39927 would be to just have it ignore file extensions altogether for the path when comparing the similarities.
So something like:
// Similarity
	return p_path.to_lower().get_basename().similarity(p_search.to_lower());

Having the .get_basename() ensures that it doesn't include the extension as part of the check for similarity.
Anyway here's me demonstrating this change:
https://user-images.githubusercontent.com/62965063/126779924-33556a8c-8677-4f99-bfae-7fc897cca506.mp4
https://user-images.githubusercontent.com/62965063/126779946-4192774e-8631-4ed7-b1a9-bb856736de06.mp4
In all 3 of the different quick open search types that I've tested it works perfectly fine with this implementation, and again, is very accurate with its search results. It now favors file names over file extensions in a blind search, which is more useful in almost every situation. But you can still explicitly search for file extensions if you want and it will show them too. So I've added that change to this commit now.

btw 3.x implementation isn't perfect either, #51210 doesn't exist on master. This PR seems to fix all of the issues so far.

Thanks!


Move FormCollection to WebUtilities

MVC currently takes a dependency on Http.Core because of it and it shouldn't have to.

You need to consider the full object graph. You would have to move FormCollection, IFormCollection, FormFileCollection IFormFileCollection, ReadableStringCollection, and IReadableStringCollection.

Sure, let's find a suitable place for those types then.

The interfaces are in Http and the collections are in Http.Core. Moving the interfaces will require adding dependencies to Http.

Maybe we need to move them into a lower package. What does the dependency graph look like today.

I noticed that several Authentication packages had a similar dependency.

@muratg beta6?

Any ideas where this should go?  We probably should not complicate rest of the dependency chain too much in order to remove Http.Core dependency from MVC.  Putting this in Beta 6 for now.

@Tratcher @davidfowl Let's discuss this in today's design meeting and reach a decision.

@rynowak, @davidfowl & co say we need to refactor MVC instead.

Cool, let's catch up around this soon. The thing that we're using this for is to create an empty FormCollection in model binding when there's no form data, but the user declares an IFormCollection parameter.

@rynowak I have a PR ready for this change and I actually think that's bad behavior but lets discuss on the PR

Fowler, please feel free to close as the decision in the design meeting was wontfix'ing this. Since you are still discussing with Ryan, keeping it open.

@davidfowl If this is to be changed, please remove wontfix label. Otherwise I'll close this one soon.

Closing.


Wasm Game Of Life code examples are confusing

all of the code examples have poor indentation and give poor hints at where to place the code. Thru trial and error I think i've figured it out, but it would probably be better to comment the code examples with the filename at the top.
e.g.
// ... add to bottom of src/lib.rs
#![allow(unused_variables)]
fn main() {
  #[wasm_bindgen]
  #[repr(u8)]
  #[derive(Clone, Copy, Debug, PartialEq, Eq)]
  pub enum Cell {
    Dead = 0,
    Alive = 1,
  }
}

it also seems to be (from trial and error) that these things don't belong in fn main() and also the #![...] is an internal macro and therefore doesn't work outside of fn main() anyway.

Agreed.
On "4.8 Time Profiling", I've not been able to get the "Time Each Universe::tick with console.time and console.timeEnd" piece working.  Everything compiles and runs ok, but the console logging output is unchanged. :frowning_face:
Am kind of thinking it'd be useful to have a snapshot of the "complete & working" code for each of the sections (at that point in time) easily available, so people can investigate where they've gone wrong.  eg probably in the GitHub repo or similar :wink:
While in my case it's likely (hopefully) something simple, I've spent a bunch of time on this without success and there doesn't look to be any path forward. :man_facepalming:

agree, stuck at 4.4 without success :(


Testing/bernede1/GitHub actions

test

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@0edf8ff). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #3   +/-   ##
=========================================
  Coverage          ?   60.92%
=========================================
  Files             ?      369
  Lines             ?   110050
  Branches          ?        0
=========================================
  Hits              ?    67044
  Misses            ?    43006
  Partials          ?        0

Continue to review full report at Codecov.

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


Introduce a debugger to help investigating junk MsgHeaders

JAVA-4210

The failures on "latest" and the system failure in the task atlas-data-lake-test are the same as for the `master branch (https://spruce.mongodb.com/version/60f582e87742ae291bd607fe/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC) and are not related to the changes in this PR.


destroy swiper instance when component element is destroied

Fix memory leak by destroying the Swiper instance when the component's element will be destroyed.  Also makes use of ember-cli-shims, simplifies swiper-slide component, and removes unnecessary DOM query.

Anything else needed to get this merged?

I believe the ember-cli-shims modules are outdated. According to https://github.com/emberjs/rfcs/blob/master/text/0176-javascript-module-api.md and https://github.com/ember-cli/ember-modules-codemod they look quite different now.

@topaxi your right, I'll get that updated.

@Suven ready for 0.6.3 release


Options for client should optional

like the readme example
fixes #14

Coverage decreased (-0.2%) to 70.412% when pulling 60cd78255ffe63bde63db2b785e0eb53d9e742c7 on Dexus:fix-issue-14 into d5dbd74af2b741230fba0375f83be14727e41aeb on larvit:master.

Thank you for this fix!


Fix messages with embedded newlines not being properly presented

Fixes #52148
Strings might have multiple embedded newlines (Hello\n\nWorld!), which were being effectively ignored when splitting.
@EricEzaM can you confirm this doesn't mess up any logic from your code?

Thanks!


Add missing under

I also fixed it in the original template https://github.com/src-d/guide/pull/154


db.documents.probe() in transaction causes forest to go into 'middle-closing' state

To reproduce run this test, after running this test, the forest goes into middle closing state.
Server must be restarted to reset forest state
  it('should probe with txid', function(done) {
    this.timeout(10000);
    var tid = null;
    db.transactions.open().result().
    then(function(response) {
      tid = response.txid;
      return db.documents.probe({uri: '/test/doc1.json', txid: tid}).result();
    }).
    then(function(response) {
      done();
    });
  });

in error log
2016-07-09 01:03:23.010 Debug: Retrying AppRequestTask::handleEvalLocked<PHONE_NUMBER>36807238 Query 1 because XDMP-FORESTNOT: Forest unittest-nodeapi-1 not available: middle closing
2016-07-09 01:03:23.131 Debug: Retrying AppRequestTask::handleEvalLocked<PHONE_NUMBER>36807238 Query 2 because XDMP-FORESTNOT: Forest unittest-nodeapi-1 not available: middle closing
2016-07-09 01:03:23.407 Debug: Retrying AppRequestTask::handleEvalLocked<PHONE_NUMBER>36807238 Query 3 because XDMP-FORESTNOT: Forest unittest-nodeapi-1 not available: middle closing

@csreddy, I can't reproduce this bug. I've tried various combinations of API (develop, 1.0-develop, master, 1.0-master) and ML (8.0-6, 9.0-ea4, trunk) versions. Do you recall the environment you were using?

Sorry, it was a long time ago. It could be 8.0.x build, that's all I remember

Since I can't reproduce this and I'm not seeing this issue in my work on another probe() issue:
https://github.com/marklogic/node-client-api/issues/255
I'm confident this is no longer an issue and am closing.


Is there a way to fuzzy search within the list?

I have header files with a long list of types and was wondering if there is a good way to do filter on the navbuddy window to quickly find the types that I'm looking for and then investigate them further.

Search you were mentioning is not perfect.
I would love to see there fuzzy search filtering. It would be useful for big files.

Yes, came here to post this too.
Amazing plugin btw!
But / search is not really doing it. Maybe fzf can be integrated?

Interesting idea, might be very difficult to implement though 🤔. But yeah I can see the appeal. Perhaps we can leverage Telescope.nvim for fuzzy finding, almost every nvimer has telescope anyways.

Hi folks! @revelationnow @WhoSayIn @bartoszb-rgb
I have implemented a new telescope action. Can you guys checkout the branch telescope and check it out. Any feedback would be appreciated 🙌🏽

Closing as I created a new action for this.

Looks good, thanks a lot @SmiteshP!

@SmiteshP Looks great! Thanks

That's an amazing feature, I have search a whole day for a plugin for telescope breadcrumbs and you save my life! However the current fuzzy search only allow variable names, can we also include their content?


Real-world stability testing

Hello,
I've read in the TODO section that you would like to have more real-world stability testing.
Do you have any specific use-case or test-protocol in mind that you would like to get real-world validated ?

I could also support here - 4 Heltec Trackers are available and working, another two wait to be assembeled.


Accept Nans in Normalize

Solves #389
We decided

We allow NaNs in normalize

Thanks for the effort. The code looks good. But I wonder if we should discuss this in more detail. Which functions should allow NaNs? Should there be a flag, that has to be set or should it be allowed by default? Is there a good way of testing this for all functions that allow it?

We discuss that we explicitly want to add an ignore_nan flag to the functions that except time data and NaNs would be a problem. This is also relevant for dsp.average.

This is an example of the naming convention scipy follows:
https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.pmean.html#scipy.stats.pmean

Added nan_policy parameter to normalize function. It follows scipys naming convention.
Use:

propagate --> Output will be NaN if Signal includes NaNs (with np.max/np.mean)
omit --> NaNs will be omitted in the normalization (with np.nanmax/np.nanmean)
raise--> A ValueError will be raised if the signal includes NaNs

I thought nan_policy='raise' might be a logical default, so the user will be informed that the signal includes NaNs and to choose a policy.

Thanks for implementing! I tested with a Signal object, s = pf.Signal([2, -1, 0, np.nan], 44100). The mode nan_policy='omit'  does not seem to work in this case. Could you please add a test and check what the reason is?

To apply normalization we calculate the normalized signal as followed:
normalized_signal = signal.copy() * target / reference_norm
If the signal object, which is used for a calculation, is type pf.Signal and it includes NaN values, every value will be returned with NaN.  So this problem needs to be fixed in the Signal class.


braviatv.py error: 'NoneType' object is not subscriptable

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.60.1
Python release (python3 --version):
3.6.3
Component/platform:
components/media_player/braviatv.py
Description of problem:
'NoneType' object is not subscriptable
Expected:
This error not exists when restart HA，and the TV control runs normally.
After several days normal use, this error occurs, then I can't control the TV over HA, and the error info raises 5-6 times ervery minute.
'NoneType' object is not subscriptable
上午1:37 components/media_player/braviatv.py (ERROR)
'NoneType' object is not subscriptable
上午1:37 components/media_player/braviatv.py (ERROR)
'NoneType' object is not subscriptable
上午1:37 components/media_player/braviatv.py (ERROR)
'NoneType' object is not subscriptable
上午1:37 components/media_player/braviatv.py (ERROR)
'NoneType' object is not subscriptable
上午1:37 components/media_player/braviatv.py (ERROR)
'NoneType' object is not subscriptable
上午1:36 components/media_player/braviatv.py (ERROR)
'NoneType' object is not subscriptable
上午1:36 components/media_player/braviatv.py (ERROR)
'NoneType' object is not subscriptable
上午1:36 components/media_player/braviatv.py (ERROR)
'NoneType' object is not subscriptable
上午1:36 components/media_player/braviatv.py (ERROR)
'NoneType' object is not subscriptable
上午1:36 components/media_player/braviatv.py (ERROR)
'NoneType' object is not subscriptable
上午1:36 components/media_player/braviatv.py (ERROR)
Problem-relevant configuration.yaml entries and steps to reproduce:
media_player:
  - platform: braviatv
    host: <IP_ADDRESS>
    name: SONY TV

Traceback (if applicable):
none

Additional info:

I am having the same errors for a long time (more than a year) and it still happens the way it's described here even on the newest version of HASS v0.63.2
The log:
Feb 17 09:28:33 raspberrypi hass[17507]: 2018-02-17 09:28:33 ERROR (SyncWorker_10) [homeassistant.components.media_player.braviatv] 'NoneType' object is not subscriptable
Feb 17 09:28:33 raspberrypi hass[17507]: 2018-02-17 09:28:33 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1518888513.7501998, level=ERROR, message='NoneType' object is not subscriptable, exception=, source=components/media_player/braviatv.py>

@LiYefei the quickest workaround is removing bravia config and restart HASS as described here.
cd ~/.homeassistant
rm bravia.conf
sudo systemctl restart homeassistant

When in the UI config the TV with PIN number (0000). This will fix the problem for some, unfortunately, it seems that not forever as it comes again in a few months :-(.

I have recently committed some changes to https://github.com/gerard33/home-assistant and related repo’s from @gerard33. This makes it more reliable as you can use the pre shared key. And not the pin code pairing.
I had the problem that my Hass Server has multiple NICS and the WOL (needed for pre Android bravia’s) needed another broadcast address. There is a patched braviarc library too. This repo needs to go into homeassistant and should replace braviarc and the Bravia component as almost everyone with bravia’s run into this problem.
There is some other work to do as this work downloads the patched Braviarc library at every restart of Hass from his github repo @gerard33 does not seem to put up a PR. He might be on holiday though.

@mm7d I have answered your PR request. I am not on holiday but please allow me some time to respond ;-)

There is some other work to do as this work downloads the patched Braviarc library at every restart of Hass from his github repo

My custom component already uses a library which is hosted on PyPi.

I might inform the author of braviarc to get a newer version into Hass.

This is already work in progress, check this for more information.

I can confirm the preshared key option solves the issue.

That is good news :+1:

Ah cool. Today or yesterday I referenced your fork/work in an issue on the HomeKit git as many have the same issues. You probably got that as you are not on holiday....
I was unable to get things working here as my changes wehere not in the archive zip. So at the moment I can not switch it on. Not really a problem but needed for the new HomeKit support.
I might try and get the media player implemented.
I will test as soon as I get the word.
Martijn

@mm7d @gerard33
I'm using Pre-Shared Key now. It seems work well.


Mostly rip out the Name classes

I don't like how it works and operates, complicates lots of handling and we only really need to actually use it in some cases.
Migrate to using strings for more things, as well as comparison functions that just compare IRC strings – take a close look at names.go from gircbnc for inspiration on how to structure this.
Related to #9

5e72409695d34d1b9cd5bfdfa0a22e698effe030 does this. Can cleanup later.


How to use view for extension?

Please can you provide some small tutorial project how to use view for extension?

SV_APP_EXTENSIONS is a preprocessor macro. Add all the files to your extension, set SV_APP_EXTENSIONS to 1 (#define SV_APP_EXTENSIONS 1) and before calling show use setViewForExtension with self.view.

Please could you tell me if I can use custom background blur view when present you controller. I mean when I make:

show
?

Sorry, but I do not understand the sentence and the structure. What do you want to do? What is the initial situation, what is the achieved result, what hurdles do you face? What is unclear.

FYI: Questions like this, are the reason people burn out on open source. Don't let others do your work, give good questions, follow issue guidelines, provide a demo project or tell what you have already done to solve the problem.

ok i will try

Hi,
I asked the question on stackoverflow but no good answer.
I'm using SVProgressHUD in my app and is working as expected. The problem occurs in the app extension, where nothing shows up, not even an error.
Here is the code I'm using, if someone could tell me what I'm doing wrong, I'll be very grateful.
Thanks.
class ShareViewController: UIViewController {
        ...
        Alamofire.upload(multipartFormData: { multipartFormData in
            multipartFormData.append(jpgImageData!, withName: "file",fileName: fname, mimeType: "image/jpg")
            for (key, value) in parameters {
                multipartFormData.append(value.data(using: String.Encoding.utf8)!, withName: key)
            }
        },
                         to:url!)
        { (result) in
            switch result {
            case .success(let upload, _, _):

                upload.uploadProgress(closure: { (progress) in
                    print("Upload Progress: \(progress.fractionCompleted)")
                    DispatchQueue.main.async(execute: {
                        SVProgressHUD.setViewForExtension(self.view)
                        SVProgressHUD.showProgress(Float(progress.fractionCompleted))
                    })
                })
                upload.responseJSON { response in
                if response.response?.statusCode == 200{
                    if let result = response.result.value {
                        DispatchQueue.main.async(execute: {

                            let pre = NSLocale.preferredLanguages[0]
                            var message = "Message"
                            SVProgressHUD.showSuccess(withStatus: message)
                            SVProgressHUD.dismiss(withDelay: 2)
                            self.extensionContext?.completeRequest(returningItems: nil, completionHandler: nil)
         })

}


Tag releases on GitHub

@dotlambda I added https://github.com/ricklupton/rmscene/releases/tag/v0.1.0. I'm not sure if that's what you mean or if there's something particular you want this for?

Releases have tags now, so I think this is closed.


Rendering glitch when using the 'ChatAgentTask' progress report

Pls see the screenshot below

The code is here https://github.com/egamma/codetour-agent/blob/6c6a8a82752a9f236e73a39799c513dc8466209f/src/extension.ts#L156

You might actually want to send a ChatAgentProgressMessage. This will show the progress message with spinner and will automatically disappear when some content is loaded.

@roblourens

You might actually want to send a ChatAgentProgressMessage. This will show the progress message with spinner and will automatically disappear when some content is loaded.

Thanks, I've looked into this, but I haven't found the type ChatAgentProgressMessage in the ChatAgentProgress type in the chatAgent2.d.ts, pls see https://github.com/egamma/codetour-agent/blob/10dd6e92a700c04a0850072ebda52304ad45126f/src/vscode.proposed.chatAgents2.d.ts#L253

I think you will get the latest version when you set your vscode engine version in 1.84 to 1.85. I also might merge these two types: https://github.com/microsoft/vscode/issues/200598


Incorrect strength identification when numerical inequalities are involved

Setting out to fix the following issue:
SPi % python main.py "a > 12" "a > 13"
The predicates are not equivalent and neither is stronger. # the second is stronger

Fixed!


[Bug] OpenAPI importer does not read the x-examples field

Describe the bug
The OpenAPI importer ignores the examples field in the OpenAPI spec.
 "Chunk": {
          "properties": {
            "object": {
              "type": "string",
              "enum": [
                "context.chunk"
              ],
              "title": "Object"
            },
            "score": {
              "type": "number",
              "title": "Score",
              "examples": [
                0.023
              ]
            },
            "document": {
              "$ref": "#/components/schemas/IngestedDoc"
            },
            "text": {
              "type": "string",
              "title": "Text",
              "examples": [
                "Outbound sales increased 20%, driven by new leads."
              ]
            },

Expected behavior
The OpenAPI importer should process the examples field and render them in the docs + SDKs.

this has been fixed and OpenAPI examples are now read!


[BEAM-293] StreamingOptions doesn't extend GcpOptions

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[X] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[X] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[X] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[X] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @davorbonaci

I believe this is the right change, but the impact might be non-trivial.
LGTM. Merging anyway.


Array editor code rot: up/down/remove arrows broken, busted appearance, redundant ordinal numbers

Many buglets in the array editor making it nigh-unusable. Fix this mess!

Fixed in #839


Update security connector API w.r.t passing in pollset_set

This PR changes the way pollset_set is set in security connector. That is, it is now set via grpc_channel_security_connector_add_handshakers and grpc_server_security_connector_add_handshakers.

****************************************************************

libgrpc.so

     VM SIZE                                                                      FILE SIZE
 ++++++++++++++ GROWING                                                        ++++++++++++++
  +0.0%     +32 [None]                                                         +4.12Ki  +0.0%
  +0.3%     +32 src/core/lib/security/security_connector/security_connector.cc     +32  +0.3%
      [NEW]     +35 grpc_server_security_connector_add_handshakers                     +35  [NEW]
      [NEW]     +35 grpc_channel_security_connector_add_handshakers                    +35  [NEW]

 -------------- SHRINKING                                                      --------------
  -0.8%     -32 src/core/lib/security/transport/security_handshaker.cc             -32  -0.8%
     -23.1%     -12 client_handshaker_factory_add_handshakers                          -12 -23.1%
     -23.1%     -12 server_handshaker_factory_add_handshakers                          -12 -23.1%
      -4.7%      -8 [Unmapped]                                                          -8  -4.7%

  +0.0%     +32 TOTAL                                                          +4.12Ki  +0.0%

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc.so

     VM SIZE                                                                      FILE SIZE
 ++++++++++++++ GROWING                                                        ++++++++++++++
  +0.2%     +16 src/core/lib/security/security_connector/security_connector.cc     +16  +0.2%
      [NEW]     +35 grpc_server_security_connector_add_handshakers                     +35  [NEW]
      [NEW]     +35 grpc_channel_security_connector_add_handshakers                    +35  [NEW]

 -------------- SHRINKING                                                      --------------
  -0.0%    -144 [None]                                                            -168  -0.0%
  -0.8%     -32 src/core/lib/security/transport/security_handshaker.cc             -32  -0.8%
     -23.1%     -12 client_handshaker_factory_add_handshakers                          -12 -23.1%
     -23.1%     -12 server_handshaker_factory_add_handshakers                          -12 -23.1%
      -4.7%      -8 [Unmapped]                                                          -8  -4.7%

  -0.0%    -160 TOTAL                                                             -184  -0.0%

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

****************************************************************

libgrpc.so

     VM SIZE                                                                      FILE SIZE
 ++++++++++++++ GROWING                                                        ++++++++++++++

 -------------- SHRINKING                                                      --------------
  -0.0%    -192 [None]                                                             -72  -0.0%
  -0.8%     -32 src/core/lib/security/transport/security_handshaker.cc             -32  -0.8%
     -23.1%     -12 client_handshaker_factory_add_handshakers                          -12 -23.1%
     -23.1%     -12 server_handshaker_factory_add_handshakers                          -12 -23.1%
      -4.7%      -8 [Unmapped]                                                          -8  -4.7%
  -0.2%     -16 src/core/lib/security/security_connector/security_connector.cc     -16  -0.2%
      -3.7%     -21 [Unmapped]                                                         -21  -3.7%
      [DEL]     -18 grpc_server_security_connector_add_handshakers                     -18  [DEL]
      [DEL]     -18 grpc_channel_security_connector_add_handshakers                    -18  [DEL]
      [DEL]     -11 grpc_security_connector_set_interested_parties                     -11  [DEL]

  -0.0%    -240 TOTAL                                                             -120  -0.0%

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,964,896      Total (>)      1,964,892

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,887,832      Total (>)     10,887,710

 No significant differences in binary sizes

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,964,836      Total (<)      1,964,892

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,887,456      Total (<)     10,887,715

 No significant differences in binary sizes

[microbenchmarks] No significant performance differences

[microbenchmarks] No significant performance differences

[microbenchmarks] No significant performance differences

[trickle] No significant performance differences

Objective-C binary sizes
*****************STATIC******************
  New size                      Old size
 1,964,820      Total (<)      1,964,892

 No significant differences in binary sizes

***************FRAMEWORKS****************
  New size                      Old size
10,887,796      Total (>)     10,887,721

 No significant differences in binary sizes

[microbenchmarks] No significant performance differences

Close the PR due to duplication (#16792)


Updates to make it work for Amazon S3 and Digital Ocean Spaces

https://github.com/billstclair/elm-s3 contains a working example based on these changes. It is now able to list bucket contents, and read, write, and delete objects.
The commit messages should make it pretty clear what I had to change. There were three basic things:

Generalize the Service.host and Service.region functions, so that they can return the proper strings for Digital Ocean Spaces. The defaults are still for Amazon S3, so existing code shouldn't have to change.

Fix the signed headers. I added x-amz-date and x-amz-content-sha256 and removed Content-Type and Accept.

Add StringBody and HtmlBody types and functions to create them. Add Http.requestWithHeaders, so that the user can specify a canned ACL with S3.putObject.

billstclair/elm-s3 is usable now. I'd love to be able to publish it to the Elm repository, but I need you to publish ktonen/elm-aws-core before I can do that.

Just a minor thing, I'm using elm-format@exp to format .elm files in this repo. You couldn't have known because I didn't have a CONTRIBUTING guide. Just added that now

This is the first PR and I hadn't setup PR building on CircleCI. Just enabled that now. The tests pass, but the command elm make --yes fails because of some missing documentation of exposed functions in the AWS/Core/Http module

@billstclair I have time to work on this today, so I'm just going to merge in your changes now and make some minor changes (ex, formatting, documentation). Thanks again!

I'll install elm-format in Emacs, as soon as I create a mechanism to enable turning it on selectively. I like to be in total control of my code, and I prefer fewer newlines than elm-format adds, but for your projects, I will henceforth obey your coding standards.
Glad you have time to look at this today.

In that case, do not enable elm-format in your editor, you can just run it from the command line and target the subset of code. For example, from with your elm-s3 project:
elm-format elm-aws-core/src --yes


Is it possible to increase the input size of the architecture?

Hi, I am training Yolo NAS model. However, the input size of this architecture is 640 x 640, which causes pixel loss while working with high-resolution images. Therefore, I want to increase the input size of the architecture to 1280 x 1280. Is this possible, and how can I integrate it into the training process? Is there anyone who can help me with this? Thank you in advance.

Hello @MehmetOKUYAR,
This is very easy to achieve by modifying the dataset parameters.
You can see a reference in the default COCO dataset params. Please note that you should also change the input size for the validation, that is found a bit below, in the same file.
See more info in the official docs.
Let me know if that helps!

Hi @NatanBagrov
Okay, I understand. That's why I asked. I have a dataset, and I achieved 98% accuracy using the yolov7-e6e architecture. However, I couldn't surpass 85% using this model, probably due to the input size. But I'm excited because I've seen significant differences in detection with YOLO NAS in comparisons I've seen online sharing.

Great, please close this issue once you succeed loading your custom size data :)

I to am curious.  I would like to increase the input from 640x640 to 768x768.  I have changed the dataset parameters above, and I'm training now.  But it doesn't look like the model size increases (e.g. training 640x640 vs 768x768 consumes the same GPU memory amount with the same batch size).  I'm not worried about the final performance, I'm trying to increase the accuracy (my images are larger and I will need to move a "window" of inference over it) of the model by giving it a larger area to see for better context.  What file/params should I be changing to make the actual YOLO NAS L model take advantage of a larger input dimension for inference?

Hi everyone, any news on this? I still couldn't change the dimensions for the input images.


Explorer tree filtering is useless if it does not search in collapsed folders!

Filtering the tree could be a wonderful feature, if it was actually looking into folders that are not open.
People use the filtering function mainly because they have too many files in it, naturally in deep folder structures. Right now there is no point to using this feature, as it does not do what it needs to do.
Also, I find it cumbersome to having to focus the tree before I can filter it, inasfar as I must click on some free space (to avoid switching the editor file). Also I can never be sure whether the focus is in the tree and the next keypress will filter, as opposed to type into the editor. This needs improvement, imho.

I find it cumbersome to having to focus the tree before I can filter it

You can use Explorer: Focus on Folders view to focus the explorer. This can be tied to a keybinding if you'd like.
cc @joaomoreno for filtering non-visible files.

https://github.com/microsoft/vscode/issues/66971


Fix the build with -Zdirect-minimal-versions

The difference between -Zminimal-versions and -Zdirect-minimal-versions is subtle.  But the important point is that with the former, a new release published by one of our dependencies can cause our CI to fail. With the latter, it cannot.  That's why I think it's better to test with the latter.

a new release published by one of our dependencies can cause our CI to fail.

So I guess that's one of the reasons why this flag is not recommended for usage:)


Feature/postgres backup restore

I've added some (very basic) backup and restore commands to the Postgres cheat-sheet.
I hope you find it helpful.
Kind regards
Philip

Amazing! Thank you ;)


Work around really odd GCC9 bug

Given X = reverse_view<int(&)[10]>, GCC9 for some reason gets very confused and fails the static_assert if you ask it to check RandomAccessRange after checking View. In fact, it won't even admit that X is an InputRange -- but if you give it an identical definition of the InputRange concept locally then it passes.
If you remove the View check, then it works. If you add a ForwardRange check before the View check -- as in this commit -- then it works (but, curiously, a prior InputRange check is not sufficient to make it pass).
This is all very strange and I have no idea what's going on -- in fact, it's all a little concerning. Fortunately, everything works okay in GCC7 and 8, Clang and MSVC, so at this point I can only assume it's a really odd compiler bug.

It sounds like you are running into constraint recursion somewhere. It tends to manifest like these strange Heisen-bugs, and tracking it down is NP-hard.

@ericniebler Quite possibly, it did have me scratching my head for a long time though. Fortunately it doesn't seem like a huge problem, I just wish I understood what caused it...


BUG: [Linux] context menu is closed immediately

https://github.com/c2r0b/tauri-plugin-context-menu/assets/23690145/1bed0423-c348-49be-bc73-4c7f0f31fd30
There is nothing wrong with the JS events, everything is the expected behavior, this error doesn't happen every time, but it occurs quite frequently.
There is also a GTK warning, which I'm not sure is relevant:
No trigger event for menu popup

System: Fedora 39

Seems like changing the interval here has some effect on that.
It appears to me to be some kind of issue with the gtk components lifecycle.
I will try to look into it, but a PR is welcome


Bump etcd to v3.1.0-rc.1 now that it's released.

v3.1.0 is out.

Version bumps I'll leave up to @xiang90 -- is this something we need to do?

Version was bumped in https://github.com/kubernetes-incubator/bootkube/pull/306


Warning js vue component

if there's at least one js vue component referenced, it would cause error when building.
maybe it should warn user check the type, or just ask user change "allowJs" option to true in tsconfig.json?

This is the behavior of typescript that will only cause the declaration files generation to fail.
But it is not a good experience really, some optimizations will be done later.


Issues running the Pusher service in a background task

I have set up a stable connection with a server running Laravel. When the application is open, it receives and notifies the logged-in user when a new message has arrived.
To run a background task, I am using the 'workmanager' package, which is very easy to configure. I have tested it by sending a local notification with the 'flutter_local_notifications' package, and it works correctly even when the application is completely closed. In other words, the notification is displayed on the mobile device.
When I use Pusher, I get the following error upon execution:  _pusher.subscribe(channelName: "private-channel"), it throws the following error:
Pusher authorize error: java.lang.NullPointerException
Any idea on how to solve it, please help me.

can you share the configuration / code in use for the Pusher setup?

can you share the configuration / code in use for the Pusher setup?

This is running the Pusher connection outside of the background tasks.

Just to confirm the situation: this works when not using workermanager but doesn't succeed when this is in place - is that correct?

it is correct

@benw-pusher Sorry, is it possible to find a solution, or should I give up hope?

@benw-pusher no me respondes?, no me dices nada?


Downloads Quilt mod files for Forge modpacks

Packwiz seems to think that mod files which support Quilt but not Fabric are valid for Forge modpacks, leading to cases where newer Quilt files are taken over older Forge files. The workaround is to just specify the file id, but then packwiz update --all no longer becomes viable.
Tested with the Packwiz build from 5/31/2022 9am:

GeckoLib 1.18-3.0.6 (Quilt) and 1.18-3.0.18 (Forge)
Simple Voice Chat 1.18.2-2.2.44 (Quilt) and 1.18.2-2.2.44 (Forge)
Ellemes' Container Library 1.4.0-beta2 (Quilt) and 1.4.0-beta2 (Forge)

Quilt was added to the CurseForge API very recently, so packwiz currently treats Quilt files the same as those not marked with a modloader (usable in all packs).

This issue is fixed, though the fix could be improved a bit; see https://github.com/packwiz/packwiz/issues/128


Not working

Your free version of auto farm on AoT:R isn't working, that dont even execute, pls work on that cuz your script is the only one with anti-shadowban feature, and a good code in my opinion.

Your free version of auto farm on AoT:R isn't working, that dont even execute, pls work on that cuz your script is the only one with anti-shadowban feature, and a good code in my opinion.

I am using Fluxus executor if there's something wrong with the executor, pls warn me.


How to calculate the normal Derivative of a vector Gridfunction?

If z is a vector Gridfunction, how to calculate  the normal Derivative of it on boundary?
Since I have
$\boldsymbol{u}-\frac{\partial \boldsymbol{z}}{\partial \boldsymbol{n}}=\mathbf{0}$
on the boundary, I want to pass the information of $\boldsymbol{z}$ though $\boldsymbol{u}$ to another problem.

Hi @cglwdm,
Do I understand correctly that you have two domains with $z$ being a  field in one of them and you want to pass $\frac{\partial z}{\partial n}$ as a boundary condition to the other domain, like in a fluid-structure interaction problem?
Tzanio


Why force bounds to be integers when the variable type is an integer?

This seems like a perfectly valid problem setup:
Maximize x
subject to:
x<= 3.5
x must be integer
Of course the solution is 3... but optlang will tell you it is not a valid setup. perhaps this should be changed to a warning?
Best,
Josh

Hi. I agree that there is nothing conceptually wrong with the problem you have written. I'm not sure how all the solvers will react to non-integer bound to integer variables. I will look into this and possibly push a change to allow non-integer bounds.

Thanks ! The software is super nice. I have been doing a few tutorials and
folks really love it !
Josh
On Wed, Aug 9, 2017 at 2:55 AM Kristian Jensen<EMAIL_ADDRESS>wrote:

Hi. I agree that there is nothing conceptually wrong with the problem you
have written. I'm not sure how all the solvers will react to non-integer
bound to integer variables. I will look into this and possibly push a
change to allow non-integer bounds.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/biosustain/optlang/issues/117#issuecomment-321210057,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADQB2jztkpUrLww3xKnUArmwpjGz0FSeks5sWYIVgaJpZM4OguOE
.

Thanks! I'm happy to hear that people find it useful :)
GLPK complains about non-integer bounds on integer variables and doesn't optimize the problem (cplex and gurobi have no problems with it). To have as similar interfaces as possible for the different solvers I'm going to keep behaviour as it is for now.
The problem you have written can still be formulated by using a constraint instead of a bound for the x <= 3.5 condition.


[master] Influx shell: CSV format with > 10k results includes repeated header lines

Bug report
System info:
OSX, InfluxDB built from source @ 7a1274790c943dadda7648960343510b1e4c5bd3
Steps to reproduce:
Use the Influx shell to print out more than 10k results from a single series, e.g.
influx -format csv -execute 'SELECT * FROM m WHERE ...'

Expected behavior:
Header line should only occur once, at top of file.
Actual behavior:
Header line repeats every 10k lines, presumably as a result of chunking in the JSON response, i.e.
$ influx -database b3l182bzucoz_0 -format csv -execute "select n from ctr limit 10005" > /tmp/repro.csv

$ head /tmp/repro.csv
name,time,n
ctr,1460943429781749937,0
ctr,1460943429781792719,1
ctr,1460943429781794333,2
ctr,1460943429781795564,3
ctr,1460943429781796721,4
ctr,1460943429781797889,5
ctr,1460943429781799065,6
ctr,1460943429781800269,7
ctr,1460943429781801454,8

$ tail /tmp/repro.csv # header repeated after 10k records
ctr,1460943429794417363,9996
ctr,1460943429794418473,9997
ctr,1460943429794419598,9998
ctr,1460943429794420719,9999
name,time,n
ctr,1460943429794421828,10000
ctr,1460943429794422928,10001
ctr,1460943429794424085,10002
ctr,1460943429794425278,10003
ctr,1460943429794426393,10004

Additional info:
For anyone else running into this, here's an awk one-liner to strip the header from the rest of the file, as a workaround:
awk '{if(NR == 1){hdr=$0; print $0} else if($0 != hdr){print $0}}' YOURFILE.csv

@mark-rushakoff I assume this will also be a problem for influx?

@e-dard  I think the entire fix for this issue belongs in influx, not influxd.

I already posted this here: https://github.com/influxdata/influxdb/issues/6017 . I was seeing the issue on series shift, not 10k, though.

I'd also love for this to be fixed; it's a hidden trap.  Someone eyeballing the data might look at the first few hundred rows, then the last few hundred rows, conclude everything looks fine, and then proceed to do analysis without noticing that the tools they are using are getting totally confused by the extra headers.
In some sense it would be better if the headers were MORE frequent; at least that way everyone would know about them.  But even better would be to banish them.

This should remain open.


Add 9 digits to mobile phone with NDC 81 to 89 in Brazil

On May 31, 2015, it was added the digit 9 on the beginning of cellphones between NDC 81 and 89
Reference (pt-BR): http://www.anatel.gov.br/Portal/exibirPortalNoticias.do?acao=carregaNoticia&codigo=35640

Muito obrigado, cara! :) Lançado em 2.14.2.

Obrigado @floere. :+1:
The CFP for Rubyconf Brasil is opened http://rubyconfbrcfp.com.br/. I'm not sure when it will close, but they extended the deadline. Thanks :)

Thanks :) One day I will come back down to Brasiuu – maybe not this year, but soon!


chore(package): update dotenv to version 4.0.0

Closes #867
https://greenkeeper.io/

Coverage remained the same at 98.476% when pulling 666b8b452a626f9b16c7d37744f9cbae86f68211 on greenkeeper/dotenv-4.0.0 into c4749718649031699f112c9acb232d2d2bfd2331 on master.


Create asmadrid

@pukinano Please rename lib/domains/org/asmadrid to lib/domains/org/asmadrid.txt.
Also please notice that free educational license for JetBrains tools is for high and higher schools students, i.e. those who are over 13 of age. Thank you!

@pukinano I am closing this request as duplicated by #3559, which is already merged. Thank you.


Implementation of 'scrolloff'

Say I do a search with 'n', if the next match is not on screen, dactyl will show the match at the bottom of the screen.
With 'scrolloff', we can see a few more lines beneath the match.

+1, this would be nice.


Remove dependency on ResourceHacker

ResourceHacker was the simplest solution i could think of to update icons on the executables produced by distlib.  This is non-ideal, and there should be a way to do this without downloading another application.
Ideas include building an extension module myself or hacking at it in ctypes.  PyWin32 might also be helpful.

https://github.com/pyinstaller/pyinstaller/blob/develop/PyInstaller/utils/win32/icon.py


Retro Bowl Freezes

Retro bowl freezes after I try and select a team, or start playing the game, please fix this. Thanks!

Could you give more info on the error? Like what device you were using and how to raise the error, I was not able to replicate the error.

It was on a Ipad (7th generation) like always, when the game starts. It lets you choose a team, start with favorite team or start game. When I started the game, it froze completely.


update package.json

@vishrutshah - Please review and merge

No modification for Ruby

No modification for NodeJS

No modification for Python


Fix filter_query_parameters for aiohttp

For some unknown reason, the aiohttp stub was recording the unfiltered request URL as part of the response in the cassette. Other stubs do not seem to do this and I found no other requirement for response.url to be present, therefore the easy fix was to remove it entirely.
Fixes #517.

Looks like some conflicts have cropped up here.

@salomvary I'm only helping out with VCR.py a bit but I can try having a closer look and do review if the conflicts get fixed.

@salomvary I'm only helping out with VCR.py a bit but I can try having a closer look and do review if the conflicts get fixed.

I'm unlikely to have time for resolving these conflicts in the near future.

@salomvary thanks for your reply and your ideas on a fix. I'll be closing this one and taking your ideas to a new pull request #740. Closing…


Vim syntax file and jinja parser handle nested comments differently

Expected Behavior
Jinja parser and the shipped Vim plugin have the same interpretation of comment blocks.
Actual Behavior
They interpret them differently!
The jinja parser does not support nested comments. The vim syntax file apparently thinks it does.
Template Code
{# stuff.txt #}
1. This is a jinja document!
{#
2. This section was commented out recently.
{# 3. This section was commented out a long time ago.
4. This is the end of the newly-commented-out section.
#}
5. This section is supposed to appear, but Vim thinks it is a comment.
{# vim: ft=jinja
#}

Attempting to render:
>>> import jinja2, sys
>>> with open('stuff.txt') as f: print jinja2.Template(f.read()).render()
...

1. This is a jinja document!

5. This section is supposed to appear, but Vim thinks it is a comment.

>>> print sys.version
2.7.13 (default, Dec 18 2016, 07:03:39)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-8<IP_ADDRESS>)]
>>> print jinja2.__version__
2.9.5

Vim screenshot:

I don't use vim. If you want this fixed, you're going to need to contribute a patch.

Sure, I only raised the issue to document the problem while I was working on it.
However as I was working on one I found that a different one is available that doesn't have this issue.
Maybe worthwhile to at least mention this defect and/or @mitsuhiko's alternative in the provided syntax file? Or just replacing the broken syntax file with a copy from that repo? I'm happy to create a patch based on your preferences. Otherwise please feel free to close.


prefer inline, notes

first use, not ok if

CLEAR
APPEND
CREATE OBJECT TYPE, or anything with Generic?
do not report for FORM parameters

ok in

MOVE, if not used in the Source part(right side)
CATCH INTO
LOOP AT INTO/ASSIGNING
READ TABLE INTO/ASSIGNING

CONCATENATE |foo| |bar| INTO DATA(lv_filename).
WRITE lv_filename.

also see #1290

also see #1290


Syntax error with index keyword in PostgreSQL query using vania migrate

I'm encountering a syntax error when using the index keyword in a PostgreSQL query. Specifically, I receive the following error message: "PostgreSQLSeverity.error 42601: syntax error at or near 'index'". This occurs when attempting to create or modify an index in my database.
Proposed Solution
I believe the issue is how the join of the indexes list is being constructed.
Additional Information
it actually works if I execute the sql query directly using pgAdmin.
Like for example, making the email column unique, it works when I execute directly using pgAdmin
but gets the above problem when I use the framework.
Screenshots

Using the enum ColumnIndex.indexKey works but the ColumnIndex.unique doesn't work because using UNIQUE INDEX is syntactically incorrect in SQL. some database allows UNIQUE INDEX, others do not and its also not part of the core SQL standard.

@prosperouscad-ux Thank you for reporting
I'll be fixing this

Sure. Thank you!

@prosperouscad-ux Yes sure, if you can make PR

Please update to 0.1.7+4 and test

@iamtoricool Please update to the last version 0.2.1 and test it


Implement java.lang.AutoCloseable on portal.runtime.jvm.client.Portal

If portal.runtime.jvm.client.Portal would implement java.lang.AutoCloseable, I could (with-open [_ (p/open {,,,})] ,,,).

Interesting, what kind of use cases did you have in mind for this?

I built a test fixture for portal, so I can tap> values to IntelliJ from tests.

Since the jvm implementation is the same one that runs on bb, and bb doesn't expose java.lang.AutoCloseable, I don't think portal can easily do this without forking the implementation a bit.


New version is not getting ship and bed data from Redis

Old version gave a map flooded with long gone ships and beds. The new version now shows NO ships or beds.
I guess its KINDA a step in the right direction!

Nice they updated but lately seems they drop half baked updates then you never hear from them again for fixes......

I havent dug into anything yet. It could just be a variable somewhere thats turned them off.

Looks like it is commented out https://github.com/GrapeshotGames/AtlasMapViewer/blob/master/Src/generator/entity.go#L55


Create spec/plan for thumbnail caching

This seems like it's fairly well fleshed out at this point, I'm going to close this issue.


Allow BigQuery to default on project name

resolves #2828

Description
As discussed in the issue.
I couldn't quite get my head around the tests; seems like there's lots of nesting there — what's the easiest way to test this?
Checklist

[x] I have signed the CLA
[ ] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have updated the CHANGELOG.md and added information about my change to the "dbt next" section.

Is this failure a flake or causal? https://app.circleci.com/pipelines/github/fishtown-analytics/dbt/1600/workflows/12269ee7-f010-40a0-bcb5-ba2a957d19fe/jobs/33567

Is this failure a flake or causal? https://app.circleci.com/pipelines/github/fishtown-analytics/dbt/1600/workflows/12269ee7-f010-40a0-bcb5-ba2a957d19fe/jobs/33567

Looks like this was just a fluke. Re-running from failed now

Great, done!

Cheers for the guidance @jtcohen6 !


Migrate SecurityBrowserTest to playwright

Description
Migrate last selenium test file
Checklist

[ ] Update any test cases for newly update UI
[ ] Fix inability to log in with idcs in dev environment

Issue(s)
Fixes #699

Hi @syntapy, are you still working on this?

@bion uh yeah I should probably finish this up. I'll revisit it again tomorrow and see if I can get that browser bug fixed

@syntapy are you planning to pick this back up or is it abandoned?

@bion I think I might give it another shot at some point but not sure I can promise that. Maybe for now its best to close it out


VerbInfo class has public setters

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
The VerbInfo class has public setters for the public properties.
Expected behavior
Get-Verb | gm

   TypeName: System.Management.Automation.VerbInfo

Name        MemberType Definition
----        ---------- ----------
Equals      Method     bool Equals(System.Object obj)
GetHashCode Method     int GetHashCode()
GetType     Method     type GetType()
ToString    Method     string ToString()
AliasPrefix Property   string AliasPrefix {get;}
Description Property   string Description {get;}
Group       Property   string Group {get;}
Verb        Property   string Verb {get;}

Actual behavior
Get-Verb | gm

   TypeName: System.Management.Automation.VerbInfo

Name        MemberType Definition
----        ---------- ----------
Equals      Method     bool Equals(System.Object obj)
GetHashCode Method     int GetHashCode()
GetType     Method     type GetType()
ToString    Method     string ToString()
AliasPrefix Property   string AliasPrefix {get;set;}
Description Property   string Description {get;set;}
Group       Property   string Group {get;set;}
Verb        Property   string Verb {get;set;}

Error details
N/A

Environment data
7.4-preview4

Visuals
No response

The Engine WG reviewed this and agreed that the setters do not need to be public.

I'll get a PR created for this.

I mentioned this on the PR as well:
I don't see any benefit here, and I see that it takes away what could be useful (under some circumstances)
The two that jump right into mind are:

Providing an augmented internal description:  e.g. "In company X, we prefer to not make every command an Invoke-, so please consider use of this verb carefully"
Providing a preferred internal prefix

The other "gotcha" is that it makes verbs a bit harder to expand than they currently are.
So, since this would be a breaking change and there's not an attached "must do this because....", let's just not.

@StartAutomating in your examples, how is the organization persisting the verb description or other metadata? These properties do not modify PowerShell's state with the new values. The way that comes to mind on how your example works is that the org creates a proxy function with the new values, but this could also be accomplished by using a PSObect with the appropriate PSTypeName.
I also don't understand how it prevents adding verbs in the future. Get-Verb just pulls the values from a static list. Its not like you can create a new VerbInfo and import into PowerShell.

@ThomasNieto in the cases where I've seen customers doing this, they normally enforce a profile for all users that makes this sort of a change.
I've advised exactly what you've said (basically, build your own "Get-Verb")
(I should also note that I wrote the original Get-Verb in PowerShell v2 timeframe)
There are a few high level "why nots" I see here:

Existing customers use this functionality to help set an internal drumbeat (they're not my favorite customers, but they exist)
It doesn't positive impact functionality (nothing new will work because this changes, some things will break)
It would be an additional exacerbation of the "verb ivory tower" problem in PowerShell (many people/orgs dislike how sacrosanct verbs are in PowerShell, and bristle at the difficulty in getting new verbs approved, especially when it's made more technically opaque)

All of this stated, while I feel strongly that this doesn't need to happen, I don't feel so strongly as to get into a drawn-out debate over it.
(aka, if you choose to do it anyways, that's the WG's decision, and I won't keep chiming in here)
FWIW, if we wanted to move in a better direction, I think it might be more useful to allow custom verbs to be constructed and easily submitted to the working group.
This would let the type of customer that already sometimes banhammers PowerShell over this point have it "their way in their org", while keeping a clean/happy path to adding new verbs to the ecosystem.

This probably should be fixed with adding a new mechanism for initialising a custom group/s of verbs that orgs can make use of internally as dynamically as they want to & not need them to be defined as part of the core list of verbs that all other users must make use of & is in my opinion the best middle ground here as can also potentially be shipped as part of a module that adds these additionally needed verbs, what's your thoughts on that as a way forward @StartAutomating that could also allow #20427 to go through too?


Monitor gRPC and SignalR doc requests

[ ] is:open label:area-signalr label:docs
[ ] is:open label:area-grpc label:docs

Monitor at least weekly. Create issues in this repo linking to https://github.com/dotnet/aspnetcore

@Rick-Anderson, you mean specifically for related AspNetCore.Docs needs correct?  I assume we don't touch the specs when a doc tag is set for a spec update.

@Rick-Anderson, you mean specifically for related AspNetCore.Docs needs correct? I assume we don't touch the specs when a doc tag is set for a spec update.

Correct, per my comment:

Create issues in this repo linking to https://github.com/dotnet/aspnetcore