text:
Array to use in matrix

Can it be possible to return an array as an input to use in a matrix ?
  build:
    strategy:
      fail-fast: true
      matrix:
        package: {{steps.filter.outputs}} //This is not working cause is not an array but a map ?
    if: ${{ matrix.package == 'true' }}
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: dorny/paths-filter@v2
        id: filter
        with:
          base: 'main'
          filters: |
            shared:
              - 'packages/shared/**'
            template:
              - 'packages/template/**'

Im getting a    cannot unmarshal !!map into []interface {}

I think steps.<step-ID>.outputs will be always a map. Each step can set some output variables and all output variables are then available in that .outputs map. In this specific case it will be like this: { shared: true|false, template: true|false }.
From your example I'm not sure what exactly you are trying to do.
Could you please describe it a little more?

Sure, im trying to run different steps in a matrix.
Matrix variables needs to be an  array to re run the same steps with different parameters.
So in my ideal this would be
 build:
    strategy:
      fail-fast: true
      matrix:
        package: ['shared', 'app1'] // Here
    if: ${{ matrix.package == 'true' }}
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: dorny/paths-filter@v2
        id: filter
        with:
          base: 'main'
          filters: |
            shared:
              - 'packages/shared/**'
            template:
              - 'packages/template/**'

If filter returned an array instead of a map this could be reused for each path that changed in my monorepo.

Ok I think I understand now. You have one job definition that you would like to run as a matrix for every package where some file was modified. Quite interesting use-case.
I have two solutions, quite cumbersome, but they work with current version of this action. I have also proposal for better solution but I will add it as a separate comment later.

Run build action for every package and do the change detection inside:

jobs:
  build:
    strategy:
      fail-fast: true
      matrix:
        package: ['shared', 'template' ] # run job for every package (not very efficient)
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: dorny/paths-filter@v2 # dynamically construct path filter based on current package
      id: filter
      with:
        filters: |
          changed:
            - 'packages/${{matrix.package}}/**'

    - if: steps.filter.outputs.changed == 'true' # execute this step only if there was a change
      name: 'Do something'
      run: echo ${{ matrix.package }}

Use separate job and some jq magic to get JSON array with names of changed packages

jobs:
  changes:
    runs-on: ubuntu-latest
    outputs:
      packages: ${{ steps.changes.outputs.list }}
    steps:
    - uses: actions/checkout@v2 # for PR not necessary
    - uses: dorny/paths-filter@v2
      id: filter
      with:
        filters: |
          shared:
            - 'packages/shared/**'
          template:
            - 'packages/template/**'
    # Store JSON map with filter results in a file
    - run: echo '${{ toJson(steps.filter.outputs) }}' > changes.json

    # Use jq to transform changes.json to array of changed packages and set it as list output variable
    - id: changes
      run: echo "::set-output name=list::$( jq '[ to_entries | .[] | select(.value == "true") | .key ]' changes.json -c )"

  build:
    needs: changes
    strategy:
      fail-fast: true
      matrix:
        package: ${{ fromJson(needs.changes.outputs.packages) }}
    runs-on: ubuntu-latest
    steps:
      - name: 'Do something'
        run: echo ${{ matrix.package }}

To make it easier I could simply extend this action with changes output variable which would contain names of all matched filters as JSON array. Effectively it would have same value as you would get with jq in the second solution I posted before.
I'm just considering now if I will add it just as a non-breaking change or if I should completely replace the .<filtername> == 'true' syntax. I could then use the <filtername> output variable instead of <filtername_files> to list all matched files.
Please give me some feedback - which version looks better for you?
1.
    - uses: dorny/paths-filter@v2 # current version
      id: filter
      with:
        filters: |
          shared:
            - 'packages/shared/**'
    - if: steps.filter.outputs.shared == 'true'
      run: echo "shared package was changed"

    - uses: dorny/paths-filter@v3 # - this version does not exist yet!
      id: filter
      with:
        filters: |
          shared:
            - 'packages/shared/**'
    - if: contains(fromJson(steps.filter.outputs.changes, 'shared'))
      run: echo "shared package was changed"

I guess using separate job and some jq magic to get JSON array with names of changed packages does the trick for me.

I love this feature! This is very useful in managing terraform apply and plan where each directory maps to an AWS account and you only want to run terraform on changed directories. It also allows for writing the terraform job once with automatic job spawning. Thank you!

authors: bluzytrix dorny sarodspirit tcarac

repo: dorny/paths-filter


text:
Exceeding the maximum annotations fails to produce a report

I'm using the test reporter to report test failures in workflows with test suites that often exceed 1000 tests, and it's somewhat common to have more than 50 tests fail in any given run. Per the specifications, the maximum number of detailed annotations permitted is 50 (with the default being 10), and it was my assumption that if the number of failed tests exceeded 50, 50 annotations would still be created and the remaining would simply be cut off.
However, what I'm seeing is that if the number of failed tests exceeds 50, the resulting report fails to generate and the test reporter produces an "Error: Invalid request" message.
Ideally, the maximum number of annotations would be raised beyond 50, however producing only 50 of the failing annotations would also be a sufficient, albeit less desirable solution.
Thank you!

I ran into this a few weeks ago.  The issue seemed to be that the rest report itself counts as an "annotation".  I think the limit comes from github, and not from the test reporter.  Anyway, I set "max-annotations: 49" on my run and that appeared to resolve the issue.

That works, thank you!

source: gharchive/issue

repo: dorny/test-reporter

license: MIT

license_type: permissive

license_source: github-api


text:
unable to find variables getButtonText + more

Hello,
I've tried to install this module with my fresh JHipster site.
Note: I'm learning AngularJS.
The steps I've followed.
1: install
bower install angularjs-dropdown-multiselect
2: include script:
mySite/src/main/webapp/index.html

3: Include angularjs-dropdown-multiselect to app.js (in jhipster i added it to app.module.js
mySite/src/main/webapp/app/app.module.js:
angular
        .module('mySiteApp', [
            'angularjs-dropdown-multiselect',

4: Add Javascript variables
/Users/williamrussell/projects/testaholic/official_apps/acme_site/src/main/webapp/app/home/home.controller.js
function HomeController ($scope, Principal, LoginService, $state) {

$scope.example1model = [];
$scope.example1data = [ {id: 1, label: "David"}, {id: 2, label: "Jhon"}, {id: 3, label: "Danny"}];

5: Add the HTML to my home.html
This part is showing the styling, and opening the drop down menu.

The problem
Im sure something is wrong above, but when I load my site I'm receiving this error.
[Error] Error: Can't find variable: _
getButtonText@http://127.0.0.1:8080/bower_components/angularjs-dropdown-multiselect/src/angularjs-dropdown-multiselect.js:180:137
fn
expressionInputWatch@http://127.0.0.1:8080/bower_components/angular/angular.js:15191:47
$digest@http://127.0.0.1:8080/bower_components/angular/angular.js:16730:37
$apply@http://127.0.0.1:8080/bower_components/angular/angular.js:17003:31
done@http://127.0.0.1:8080/bower_components/angular/angular.js:11324:53
completeRequest@http://127.0.0.1:8080/bower_components/angular/angular.js:11522:15
requestLoaded@http://127.0.0.1:8080/bower_components/angular/angular.js:11463:24
	(anonymous function) (angular.js:13294)
	(anonymous function) (angular.js:10007)
	$digest (angular.js:16757)
	$apply (angular.js:17003)
	done (angular.js:11324)
	completeRequest (angular.js:11522)
	requestLoaded (angular.js:11463)

What step am I missing?  This is the first time I've tried to add a module.

This fork resolved my issue.
https://github.com/myforce/angularjs-dropdown-multiselect

license: mit

license_source: bigquery


text:
Homepage 'try it out' section is broken

Describe the bug
The home page try it out section is broken for me
To Reproduce
Steps to reproduce the behavior:

Visit https://graphql-code-generator.com/
Click try it out, which navigates to the next section
Nothing there to try out
Errors in the console

11.a655f578.chunk.js:1 Invariant Violation: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:397878
    at g (https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:397981)
    at U (https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:401138)
    at Object.useContext (https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:402064)
    at a (https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:579192)
    at https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:15432
    at https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:18267
    at qi (https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:137334)
    at ko (https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:143321)
    at Io (https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:151904)
pa @ 11.a655f578.chunk.js:1
11.a655f578.chunk.js:1 Uncaught Invariant Violation: Minified React error #321; visit https://reactjs.org/docs/error-decoder.html?invariant=321 for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:397878
    at g (https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:397981)
    at U (https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:401138)
    at Object.useContext (https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:402064)
    at a (https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:579192)
    at https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:15432
    at https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:18267
    at qi (https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:137334)
    at ko (https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:143321)
    at Io (https://graphql-code-generator.com/live-demo/static/js/11.a655f578.chunk.js:1:151904)

Expected behavior
I used to see the section with 3 inputs that let me put in schema, queries, and select a language plugin, but now I see this error about hooks. It's been broken for me at least a few days now. I tried clearing the cache and app settings and disabling cache and nothing seems to fix it, so it seems like an actual code bug
Environment:
Google Chrome | 74.0.3729.169 (Official Build) (64-bit)
OS | Linux
JavaScript | V8 7.4.288.28
User Agent | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36

Fixed now, thanks @moodysalem !

authors: dotansimha moodysalem

repo: dotansimha/graphql-code-generator


text:
Add docker compose

Description
Add support to run the sandbox application in a Docker environment
Context
Adding docker-compose.yml will help developers quickly set up their environments and ensure consistency across different machines. It will also make it easier to manage dependencies and services required for the application and reduce "it works on my machine" type issues.
decorators.py/sandbox
Possible Implementation

Create a Dockerfile file
Create a docker-compose.yml, which

runs sandbox service
mounts a volume for output data

Create a run_sandbox.py script as an entrypoint (see example_use.py)
Update instructions in the README on usage

Some adjustments to the start_sandbox function may also be needed. Possible changes:

Get the service and host configs from environment variable instead of self.service_config
Run without threading

We can introduce a flag e.g. use_docker to determine the running environment and adjust the behavior accordingly that users are able to run both locally and using Docker.

@jenniferjiangkells do we need this now? Also can we add hacktoberfest label to this issue?

@TanyaKansal you're welcome to work on this if you want! I will add the label and description

Thanks

@TanyaKansal I've updated the description and added it to hacktoberfest. Apologies the sandbox isn't as well documented so please let me know if you have any questions!

sure, thanks @jenniferjiangkells

Can I contribute to this issue?

@jenniferjiangkells please assign this issue to me so that others don't work on it

@TanyaKansal We don't typically assign issues, your comment lets us and others know that it's already being worked on - just open the PR when you're ready 🙂
@iniminimini It looks like this issue is already being worked on, but you're welcome to take a look at the other open issues to see if there's anything else you'd like to work on!

repo: dotimplement/HealthChain


text:
Add links to cache source

> Look for calls to StartScanForExpiredItems and you'll see exactly when the scan runs.
Add two links:

Memory cache
The preceding link.

See #18332

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

ID: 13f5f8f9-18dd-9c12-9ed1-fcc6b44ba7fd
Version Independent ID: 640b4f36-5886-7b69-1c95-cfc8574a02fd
Content: Cache in-memory in ASP.NET Core
Content Source: aspnetcore/performance/caching/memory.md
Product: aspnet-core
Technology: aspnetcore-performance
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@serpent5  can you do this one?


text:
Update native mobile backend doc to use .NET MAUI

This doc is currently based on Xamarin Forms. We should update the doc to use .NET MAUI now that it has shipped. We'll need to first port the app and the related Xamarin topics into the .NET MAUI docs:

https://docs.microsoft.com/xamarin/xamarin-forms/data-cloud/web-services/rest
https://docs.microsoft.com/xamarin/cross-platform/deploy-test/connect-to-local-web-services

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

ID: bdbdf1ed-c52a-3be8-1f41-aecbdab0883b
Version Independent ID: d06996cc-14aa-96e2-fd62-9d5bbc059107
Content: Create backend services for native mobile apps with ASP.NET Core
Content Source: aspnetcore/mobile/native-mobile-backend.md
Product: aspnet-core
Technology: aspnetcore-mobile
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@DamianEdwards Do you also want this tutorial to be updated to be based on minimal APIs?

Adding @ladynaggaga & @jcjiang RE updating this to use Minimal APIs. We should likely have both.


text:
Issue in - VS 2022 Community version - <input @bind="InputValue" @bind:event="oninput" />

Description
<input @bind="InputValue" @bind:event="oninput" />
This code is not working in VS 2022 Community version. Please help
Page URL
https://learn.microsoft.com/en-us/aspnet/core/blazor/components/event-handling?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/blazor/components/event-handling.md
Document ID
5e8ef502-ccf9-659d-f25a-0f8f3c75f6e0
Article author
@guardrex

Hello @suren1503 ... Mixed case directive attributes isn't supported. See the last line of ...
https://learn.microsoft.com/en-us/aspnet/core/blazor/components/?view=aspnetcore-8.0#markup
Also, a minor NIT on your issue ... you opened this issue from the bottom of the wrong article. The content on this is in the Data Binding article.

I also should mention in passing that even if you did use lowercase directive attributes that all Blazor features require an interactive render mode and don't run on the client when the component only adopts static server rendering (SSR). It's covered in ...
https://learn.microsoft.com/en-us/aspnet/core/blazor/components/render-modes?view=aspnetcore-8.0#enable-support-for-interactive-render-modes


text:
Development using Visual Studio Code

Issue tracking new topic at http://dotnet.github.io/docs/getting-started/devenv/using-visual-studio-code.html

I'd love to contribute what I know about this topic, although it might not be comprehensive: my experience is with C# only.

@cqcallaw Are you still interested in helping out? I will be starting on this shortly, and I'm happy to collaborate.

@BillWagner I'd love to help out, but the contribution procedure lead me to believe some sort of approval had to be given first, which I was assuming must come from @mairaw.

Well, there's already an issue created, so it's work that should happen.
I'll checkin with @mairaw and see what else has to happen. With time zone differences, it will be sometime tomorrow afternoon (EDT) when I hear back.

Sorry I missed your comment earlier @cqcallaw. I just created the issues based on what we had on the TOC at the time. Feel free to work with @BillWagner on this one.

@mairaw No worries, thanks for the the confirmation!
@BillWagner Not exactly sure how you wanted to collaborate, but I thought I'd get the ball rolling with the kernel of the documentation: https://github.com/cqcallaw/core-docs/blob/vs-code-setup/docs/getting-started/devenv/using-visual-studio-code.md

@cqcallaw That's a great start. For the finished content, we're shooting for something that's parallel to the Visual Studio guide in this PR #410, in addition to the setup content you're creating.
I'll start working on the "golden path" part. I created a branch here: https://github.com/BillWagner/core-docs/tree/vs-code-golden-path
I added yours to my watch list. We can keep in sync and link across content.
One quick note: You should add your byline on the article you're writing. We appreciate the contributions, and want to recognize it. Most people have been using their name, and a link to their GitHub profile.

Is there still a chance to contribute to this?
/cc @BillWagner

Yes there is. Check out the two branches referenced above. @cqcallaw is working on setting up the environment and getting tools in place. I've got one that will create a sample, run it, and use the debugging tools. (Not much there yet; I'm happy to have help.

Would love to help out with the sample, how do I get started? @BillWagner

I'll start working on my fork using your template here: https://github.com/BillWagner/core-docs/blob/vs-code-golden-path/docs/tutorials-samples/vs-code-golden-path.md. Is that approach suitable? @BillWagner

@tsolarin That would be great. I'll start filing in code in a sample for the application.

Here is my branch: https://github.com/tsolarin/core-docs/blob/vs-code-golden-path/docs/tutorials-samples/vs-code-golden-path.md. So you can track progress.
/cc @BillWagner

@tsolarin @BillWagner thanks for continuing to push this forward. I haven't found as much time as I'd like to work on this, so I don't think I'll be able to continue contributing. Please feel free to use any of the content I've already generated.

No problem @cqcallaw. @BillWagner I've already made some updates to my branch, I'm aiming to complete it by the end of this week so while you're reviewing it I could pick up where @cqcallaw left off

@tsolarin I looked over what you've completed so far. It's a good start. As you keep working, I'd like to see more of an emphasis on why readers should perform any of the steps you mention: Explain to readers why to create a global.json. Explain why to use the 'src' and 'test' directories for different projects.
As you go through every step, help the reader understand why they should be taking these actions. That will help them understand the process. They'll be able to extend what you've shown them to their own projects and their own work.
Let me know if that makes sense.
Also, it looks like you haven't had time to update this in a little more than a week. Let me know if you still have time to finish this up, or of other demands have taken your time.

HI @BillWagner thanks for taking a look, I'll get to incorporating your feedback ASAP. Let's just say I've kinda been waiting for someone to take a look at it so I could have an idea of how to proceed, I can definitely finish it up

@tsolarin Sounds good. Just add a note here and '@' mention me and I'll look again.

@BillWagner I've made some considerable updates to my branch. Do take a look

@tsolarin I saw the previous versions.  I'll pull that into my branch, and update my PR.
Then, I think once we get reviews, this can get merged.
In the meantime, if you submit a .NET Foundation CLA, it will be make the merge happen faster: https://cla2.dotnetfoundation.org
Thanks again for contributing.

@BillWagner I've signed the agreement. I'll take a look at more content I can help out with, thanks for the opportunity

authors: BillWagner cqcallaw mairaw tsolarin

repo: dotnet/core-docs


text:
Note: please note

Title
On the title describe
what you've fixed (or created) with this Pull Request (PR).
Summary
Insert a short (one or two sentence) summary here.
Fixes #Issue_Number

Note: The "Fixes #nnn" syntax in the PR description causes
GitHub to automatically close the issue when this PR is merged.
Remove that line if you don't have issues associated with this
PR. Click on the Guidelines for Contributing link above for details.

Details
Explain your changes, and why you made them. If that
information is already available in the issue referenced
above, just referencing the issue is preferred to copying
the text.
This may not be necessary depending on the scope of the PR
changes. For example, "fix typo in introduction.md" is
sufficient to describe that PR.
Suggested Reviewers
If you know who should review this, use '@' to request a review.
too many notes

Hi @Rick-Anderson, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

@mairaw

Open Publishing Build Service: The pull request content has been published and here are some changed files links of this time:

Docset 1 - core-docs
https://stage.docs.microsoft.com/en-us/dotnet/core/api/system.data.icolumnmappingcollection?branch=pr-en-us-1024
https://stage.docs.microsoft.com/en-us/dotnet/core/api/system.data.idataadapter?branch=pr-en-us-1024
https://stage.docs.microsoft.com/en-us/dotnet/core/api/system.data.idataparameter?branch=pr-en-us-1024
Please see 3429 more published files of this docset in report.

Status: Succeeded.
Open Publishing Report.

source: gharchive/pull-request

authors: Rick-Anderson dnfclas qinezh


text:
Merging master branch into live

/cc @richlander @BillWagner

Closing this one to include the samples update in the next merge as well.


text:
Missing information about LTS on download page

From @rhegner on March 19, 2018 8:16
The .NET Core download page used to have a clear separation between Current and LTS releases.
This information is missing on the current page.
I want to upgrade my project from 1.1 to 2.0 as soon as there is a LTS version of 2.0 available. But I can't see from that website if 2.0.6 is a LTS version or not.
Copied from original issue: dotnet/coreclr#17031

From @shahid-pk on March 19, 2018 8:47
2.0.0 is LTS, 2.0.*  releases are bug fixes versions to the LTS so the latest version in that line the better and more bug fixes. 1.0.*  are LTS versions too. But yes it should be mentioned somewhere if not already.

@richlander

2.0.X are not LTS releases. This issue should get moved to the website repo.

Issue moved to dotnet/dotnet-core-website #545 via ZenHub

What is the current state of this? I can't access the dotnet-core-website repo...

@rowanmiller can you give an update?

Changes to the Download section got put on hold in the crazy lead up to //build conference. I'm working on them this week and expect to have them live next week.

Nice... looking forward to having this back on the page (because it's still unclear to me whether one of the 2.0.x revisions has been labelled as LTS by now...)

The main downloads page just displays current, but we've updated the all downloads page to include info on LTS releases now - https://www.microsoft.com/net/download/all.

Yeah I already saw it earlier today, thank you!
Do you know what the plans are for a new LTS release? Do you plan to make the latest release of the 2.0.x branch a LTS at some point or will it be a 2.1 release?

@leecow do you know what the plans are around the next LTS release?

Plan is to declare 2.1 the next LTS after a couple of updates. Some details in the release blog post today

authors: Petermarcu RussKeldorph leecow rhegner rowanmiller

repo: dotnet/core


text:
Regex POSIX character classes

Is there any work going to support POSIX character classes? [:digit:][:alnum:][:space:] etc.

@Liturgist - I assume you are referring to http://www.regular-expressions.info/posixbrackets.html, ex. [:alpha:], [:digit:], etc
I don't think there is any work currently going on to support these (or at least I haven't heard of any).  The full .NET Framework didn't support these classes.
https://stackoverflow.com/questions/9643717/why-cant-i-match-posix-character-classes
According to https://docs.microsoft.com/en-us/dotnet/standard/base-types/character-classes-in-regular-expressions#CategoryOrBlock, you can use Unicode categories and blocks, and http://www.regular-expressions.info/posixbrackets.html seems to have a mapping between POSIX character classes and Unicode.

Moved to https://github.com/dotnet/corefx/issues/21305

Sorry. When I could not find my post, it appears that I happened into another group. I honestly do not know the best group to address this. Thank you for closing this one.

@Liturgist no worries, we can route.

authors: Liturgist eerhardt karelz


text:
Compilation Error after creating Balor App from Template

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/run
Operating System: windows
After creating the App via VS, and trying to launch the application gives we a compilation error
Severity	Code	Description	Project	File	Line	Suppression State
Error	MSB4036	The "FormatLocalizedString" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with  in the project file, or in the *.tasks files located in the "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64" directory.	BlazorApp-SK	C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Microsoft\VisualStudio\v17.0\TypeScript\Microsoft.TypeScript.targets	69
Thanks for any help.
Best regards,
Manuel

It seems like this was fixed https://stackoverflow.com/questions/76456584/msb4036-the-formatlocalizedstring-task-was-not-found
You will probably need to upgrade your tools @mesteves Let me know if that works

authors: mesteves wfurt


text:
Error running Blazor File.

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/blazor-tutorial/install
Operating System: windows
Ifound this error encountered on running the blazor file showing this error : Severity	Code	Description	Project	File	Line	Suppression State
Error	NETSDK1045	The current .NET SDK does not support targeting .NET 8.0.  Either target .NET 7.0 or lower, or use a version of the .NET SDK that supports .NET 8.0.	BlazorApp	C:\Program Files (x86)\dotnet\sdk\7.0.203\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets	144

what do you get if you run dotnet --version and dotnet --info @suju2011 ?

Thanks for your responses,but the Error is resolved now it was an
installation issue.
🙂
On Thu, Jan 4, 2024 at 11:11 PM Tomas Weinfurt @.***>
wrote:

what do you get if you run dotnet --version and dotnet --info @suju2011
https://github.com/suju2011 ?
—
Reply to this email directly, view it on GitHub
https://github.com/dotnet/core/issues/9039#issuecomment-1877510103, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AZNKKEKQ376JZF6KCYAZW3DYM3SVTAVCNFSM6AAAAABBLA2GLKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZXGUYTAMJQGM
.
You are receiving this because you were mentioned.Message ID:
@.***>


text:
Fixed a couple of bugs

@ahsonkhan could you review? Thanks.

The changes seem fine. Log disabled by default makes more sense, unless explicitly enabled with the /log option.

authors: KrzysztofCwalina ahsonkhan

repo: dotnet/corefxlab


text:
Build Failure Issue

Fixed issue where a space in the directory path would cause a failure in
building the repo.

Hi @A-And, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

LGTM

authors: A-And dnfclas gkhanna79

repo: dotnet/corert


text:
Preview: Bringing buildtools into CoreRT

This is most of the work to get buildtools up and running in CoreRT.  We're looking for feedback and concerns that anyone has with the changes, none of this is set in stone.  Currently only Windows works end-to-end, I will push the Linux changes soon.

Change to using bootstrap for initializing tools.
Split out build-native, build-managed and use the run tool with config.json to build the repo.
Build.cmd was changed to call into the split scripts.
Add build pipeline and checked-in build definitions.
Some proj file and build changes for the targets and properties that buildtools brings in.
VSTS build is at https://devdiv.visualstudio.com/DefaultCollection/DevDiv/_build/index?definitionId=4582&_a=completed.

Hi @crummel, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

@SedarG @joshfree @jkotas

I know this is not specific to this repo and can't be addressed right now, but I don't know where else to put this: the custom of putting everything build related in the repo root means that whenever someone visits dotnet repos, they need to scroll through three to four screens of clutter just to get to README.md contents that GitHub renders below. It affects the perception of the codebase and makes the repo look kinda disorganized.
There are some things that have to be at the root (e.g. .gitignore) or are convenient to be at the root (e.g. build.cmd/sh), but things like buildvars-setup.cmd are really just clutter.
Contrast with the GitHub home pages for nodejs/node, apple/swift, or golang/go.

I agree we tend to clutter the root too much.  A lot of it is just helpers to make building specific things easier, they could be removed or replaced with build.cmd native/managed/etc if we wanted, or moved to a build subfolder.  Then the Run tool and bootstrapper need config.json/.cliversion/.toolversions, I don't think there's a way to change where they look for those files yet.

Closing this for now, opened https://github.com/dotnet/corert/pull/2299 for the minimal set of changes for pipeline build.

authors: MichalStrehovsky crummel dnfclas


text:
Support TypeHandleFixupAttribute and MethodAddrFixupAttribute

The code adds TypeHandleFixup/MethodAddrFixup and abstraction for fixups. It is mostly straight-forward but testing is rather annoying:

The data blobs for fixups are pointer-size and therefore dependent on CPU architecture. I haven't found anything in ILAsm that is similar to ifdef so I have to conditionally include 32-bit or 64-bit copies. I suppose we'll need to deal with the fun that is indian-ness at some point.
Updating IL is quite annoying as I don't want to write test code in IL. I end up splitting the IL in two sections, and I compile the corresponding C# code into exe, ildasm it, and incrementally copy/paste the code that I want into the IL.
I need to use internal types such as FixupRuntimeTypeHandle / NativeCallable, so those need to be manually fixed up from my internal copy to the right reference System.Private.CoreLib

@MichalStrehovsky @jkotas PTAL
/cc @davidwrighton

Thanks for review! I believe I've addressed all feedbacks. Let me know if you have more feedback. Otherwise I plan to merge this EOD.


text:
Overhaul ToString in the type system

Fixes #1276.
This is fixing several problems with how we did ToString:

The existing scheme required every TypeDesc/MethodDesc/FieldDesc descendant to override ToString. Of course we were not consistent with this and as a result, most of our synthetic type system entities had non-existent representation in the debugger. Overriding is a lot of boilerplate.
We were not flexible with the stringified names. E.g. instantiated types became too long because we were module- and namespace- qualifying everything.
(Minor) The runtime type loader was shipping with ToString support in retail configuration that was largely unused.

With the new scheme, besides fixing the problems above, I'm adding a bunch of conveniences:

MethodDesc now also have signatures in their ToString.
Well-known primitive types have short aliases
System.Private prefix is shortened to S.P.

I tested that the TYPE_LOADER_TRACE still works after this. The runtime type loader overrides the ToString in all the places that matter.

@davidwrighton @jkotas @fadimounir please take a look


text:
Fix building Ubuntu shared libraries

fixes #4988.
CoreRT can now produce working shared lib for linux-x64.
But I have some questions

Should we use the trick with jumping to GOTPCREL ptr for other Rh* stubs (like RhExceptionHandling_FailedAllocation)?
Is it right way to check, that symbol should be exported as global through IExportableSymbolNode.GetExportForm()?
Is it enough to pass all tests to check, that this commit nothing breaks?

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

Looks like linux check uses prebuilt libobjwriter. Is it possible to force libobjwriter compilation?

Thank you!

Is it right way to check, that symbol should be exported as global through IExportableSymbolNode.GetExportForm()?

I think we can avoid this by having RootReadOnlyDataBlob do what AddCompilationRoot(MethodDesc method, string reason, string exportName = null) does a couple dozens of lines above ( _factory.NodeAliases.Add(..., exportName)). Then the symbol being global will fall out of the general NodeAliases handling and we don't need the extra interface. You'll need to give the actual blob a different name - I would just prefix it with __readonlydata_.

Looks like linux check uses prebuilt libobjwriter. Is it possible to force libobjwriter compilation?

We'll need to make a new package using these bits. It's a manual process. Don't worry about that part.

Actualy I'am unsure what is better - always take alias if available, or just take alias for BlobNodes here
https://github.com/dotnet/corert/blob/b1b3f530aa67f005f2ca38a3ec77e62af08ad2d2/src/ILCompiler.CppCodeGen/src/CppCodeGen/CppWriter.cs#L1122

NodeAliases solution looks much more invasive, as it breaks CppCodeGen and WebAssebmly

Would you be able to help with creating the ObjectWriter NuGet package for this?

I will try to do this when I get a chance (likely next week). The first step is to get this merged with the linux test disabled (amended the PR).

creating the ObjectWriter NuGet package for this?

This is done now.

authors: MichalStrehovsky dnfclas hc4 jkotas


text:
Provide a normative spec reference for all types not in the CLI spec

There are no normative semantics for the types we've added in Annex C that are not in the CLI spec (or, for that matter for any members added to CLI-specified types since 2006).
Recently, I thought of an extremely light-weight way to achieve this: Make the .NET API spec site a normative reference! I discussed this with Bill, and after he floated the idea internally, there was no pushback. So here is a PR to make it happen.
Now, you may well ask, "Why didn't we do this before?" Well, I just thought of it, and, in any event, when we were Fast Tracking to ISO, they would not have allowed such a normative reference.
I couldn't find an open issue pertaining to this, but if anyone does, please let me know or link this PR to that issue.

@gewarren @terrajobst Do either of you want to weigh in on this change?  This would have the C# standard refer to the API documentation on Learn as the normative API reference.

I can see why ISO would be wary, a Standard should not link to a source which might change.
Furthermore the Standard may gain a far larger API surface than it needs, IIRC the current types that are included only include the API of each that is needed.
Therefore I think it would be much better if the Standard included the types directly, using the suggested reference to do that.
Failing that, if only for now, I agree with @BillWagner – we must link to a specific version of each type. Also remove the locale as Bill suggested. We should probably make sure the pages are captured by archive.org and use links to them there.

I agree with @Nigel-Ecma that linking to a doc site feels odd, given that those are operated by a specific implementation of the spec, will include more what is needed by C#, and can change at any point in time.
Practically, the bar we apply to our core APIs is that we don't do breaking changes; that is we're extremely unlikely to make changes that would violate the spec, especially so because this would likely result in functional defects which I'd think we'd catch as part of product testing and customer feedback.
As someone who owned a formal API specification (.NET Standard) it seems you'll want to a snapshot of the APIs in textual form that is sufficiently precise. I think a C#  API declaration would achieve that; it would describe the ABI requirements that a functional compiler would use to bind to these APIs. In some cases this will require those types to be co-located with System.Object, in many cases it won't and simple be based on namespace-qualified naming for types and member lookups, some of which allow extension member, some will not.
The module and name-lookup requirements aren't described in our docs and would be specific to C# and thus should be documented there.
As far as behavioral documentation goes, I'm not sure how much detail the C# spec desires here. Most of our APIs don't have very specific documentation around their behaviors as the target audience is users of the API, not another party trying to implement the API compatibly, which is what the C# spec is effectively trying to achieve.
We had the same issue for .NET Standard and it was never resolved (and since .NET Standard is discontinued there is no pressure to resolve it now).

I tried to get the first type into the Internet Archive – it works fine apart from MS inserting a locale, with two attempts I ended up with en-nz and and en-us versions despite starting from a URL without a locale in it. The link for the latter is:
https://web.archive.org/web/20240709003128/https://learn.microsoft.com/en-us/dotnet/api/system.formattablestring?view=netcore-3.1

So we can fix the version, but not remove the locale – unless there is a “no locale” locale?
Of course coincidentally  this type, FormattableString, points to looseness in the Standard around interpolated strings and how listing these types won’t fill it. C’est la vie.

@Nigel-Ecma 's comments gave me some inspiration for automation.
It would be possible to write a GitHub action that parsed the declarations in Annex C and add links to the correct version of that type, member, or namespace.
Thoughts?
/cc @terrajobst

Assuming Annex C is just plain C# it wouldn't be hard to parse with Roslyn. I do that for apisof.net where I parse the API listings in our review notes to link them from a given API:
https://github.com/dotnet/apisof.net/blob/main/src/Terrajobst.ApiCatalog.Generation/DesignNotes/ReviewedApiParser.cs

@BillWagner – feel free to write a script if you wish :-) You can force a page into the internet archive using a URL, see the end of bullet 3 on this IA page. Whether you can do that without a window to read the archived URL back from I've no idea. You wouldn't want to do this from a script that was run often as it would upload a new copy each time!

The summary of the discussion we had was:

Using external links: Any external link could go stale or have content updated. Web archive is somewhat better for that, but it could easily still fail in the long term (and is an odd thing to see in a spec)
Using imported content: To be certain of the content, we'd need to include it directly in the spec. That would solve the problem (and we could probably get appropriate permissions) - but it's a lot of work.
We could just close the issue as "this is a genuine issue, but doesn't seem to actually be causing problems for customers, and isn't worth the pain of fixing"

The current proposal is the last of these. Those present in the meeting were okay with that. @Nigel-Ecma would you be okay with that? Happy to discuss it next time if you want to make the case for an alternative.

I suggested using the IA rather than direct links in the original suggestion to avoid stale links – this is what Wikipedia does, I think they have a bot that goes around replacing links with IA versions.
It is obviously bad that the Standard doesn’t have specs for these things but if people don’t want to go the external/IA link route then we should just park it for now.
Do we have a way of parking the issue rather than simply closing?
If not just close and maybe one day somebody else will try to plug the hole as Rex just tried to.

On 11/07/2024, at 7:42 pm, Jon Skeet @.***> wrote:
The summary of the discussion we had was:
Using external links: Any external link could go stale or have content updated. Web archive is somewhat better for that, but it could easily still fail in the long term (and is an odd thing to see in a spec)
Using imported content: To be certain of the content, we'd need to include it directly in the spec. That would solve the problem (and we could probably get appropriate permissions) - but it's a lot of work.
We could just close the issue as "this is a genuine issue, but doesn't seem to actually be causing problems for customers, and isn't worth the pain of fixing"
The current proposal is the last of these. Those present in the meeting were okay with that. @Nigel-Ecma https://github.com/Nigel-Ecma would you be okay with that? Happy to discuss it next time if you want to make the case for an alternative.
—
Reply to this email directly, view it on GitHub https://github.com/dotnet/csharpstandard/pull/1135#issuecomment-2222254119, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSYVW252SCTY6VEFKSCROTZLYZQDAVCNFSM6AAAAABJ2EC6DKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRSGI2TIMJRHE.
You are receiving this because you were mentioned.

Do we have a way of parking the issue rather than simply closing?

Not really, but we could create a label of "resolved: maybe revisit" or similar, if that would help?

I’d support that, it would be good not to lose the information. I’ll leave others to be inventive with the name if the consensus agrees with the idea.

On 11/07/2024, at 10:07 pm, Jon Skeet @.***> wrote:
Do we have a way of parking the issue rather than simply closing?
Not really, but we could create a label of "resolved: maybe revisit" or similar, if that would help?
—
Reply to this email directly, view it on GitHub https://github.com/dotnet/csharpstandard/pull/1135#issuecomment-2222538888, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABSYVW6DU3PQCBXMMULBIDDZLZKPBAVCNFSM6AAAAABJ2EC6DKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRSGUZTQOBYHA.
You are receiving this because you were mentioned.

Proposal: Make a "parked" milestone, and add any issues there.

authors: BillWagner Nigel-Ecma RexJaeschke jskeet terrajobst

repo: dotnet/csharpstandard


text:
Link to legacy page

Link to <ProjectReference> (https://docs.microsoft.com/en-us/visualstudio/msbuild/common-msbuild-project-items) points to a page that describes the old project file format.

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

ID: 76ab77c3-eba6-e947-8ffa-0fcda722f34b
Version Independent ID: 48bbcb58-cfd1-b3d3-7a2a-319716541362
Content: dotnet-add reference command - .NET Core CLI
Content Source: docs/core/tools/dotnet-add-reference.md
Product: dotnet-core
Technology: dotnet-cli
GitHub Login: @mairaw
Microsoft Alias: mairaw

Thank you @Leon99 for your feedback. We need to create the reference for the new style first. So this is blocked until issue #2642 is taken care of.

Thanks @mairaw, good to know this is aknowledged. I wonder if it would be better to remove that link in the meantime, to avoid confusion?

Sure. PR #14241 created.

@tdykstra is it worth just closing this one out as the original issue is resolved and 2642 is still active?

Agreed.

authors: Leon99 mairaw marcpopMSFT tdykstra

repo: dotnet/docs


text:
Broken link or missing documentation for F# Map collection

I was browsing page https://docs.microsoft.com/en-us/dotnet/fsharp/language-reference/fsharp-collection-types and clicked Links "Map" (https://msdn.microsoft.com/library/975316ea-55e3-4987-9994-90897ad45664) and "Map Module" (https://msdn.microsoft.com/library/bfe61ead-f16c-416f-af98-56dbcbe23e4f) in the collection type table.
Both links seem to be broken and I cannot seem to find documentation of F# Map even with Google.

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

ID: a0694330-a4e4-5a07-2b6b-8259b57e319a
Version Independent ID: 71e9da59-27a1-6194-3a69-09b9d3a383d4
Content: Collection Types - F#
Content Source: docs/fsharp/language-reference/fsharp-collection-types.md
Product: dotnet-fsharp
GitHub Login: @cartermp
Microsoft Alias: phcart

As a workaround you can use this: https://aka.ms/fsharp-core-reference

authors: cartermp tuok


text:
Accesing AppSetting.json

Something else we will want to add to the page is that appsettings is not accessible when running as a service unless you add this to your program.cs
        var path = Path.GetDirectoryName(Process.GetCurrentProcess().MainModule.FileName);
        Directory.SetCurrentDirectory(path);

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

ID: ed148088-4550-2788-0756-390eab15e3f6
Version Independent ID: 64d5cdf8-e50f-0c89-7f16-82645ba6383e
Content: Create a Windows Service using BackgroundService
Content Source: docs/core/extensions/windows-service.md
Product: dotnet-fundamentals
GitHub Login: @IEvangelist
Microsoft Alias: dapine

Hi again @JasonDWilson - Check this out:
https://github.com/dotnet/runtime/blob/60edc0bdafce1849fec19e3ec4f766074de50fc3/src/libraries/Microsoft.Extensions.Hosting.WindowsServices/src/WindowsServiceLifetimeHostBuilderExtensions.cs#L47-L50
The content root is intentionally set as to c:\Windows\System32 for services. I'm worried that setting the directory in the way that you're describing could lead to other problems, but I'm not sure. I'm tagging @davidfowl who might know of a cleaner way to achieve this.

Closing as duplicate of dotnet/aspnetcore#38870

authors: IEvangelist JasonDWilson


text:
The following code examples illustrate each of these scenarios.

[Enter feedback here]

The following code examples illustrate each of these scenarios.

The previous sentence should not be an item, it should be a normal paragraph.

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

ID: 85b50526-a200-3774-0f70-d1079d783d9c
Version Independent ID: e6f2ac27-6633-b9f9-6739-f48aef5595ad
Content: Automatic Generalization - F#
Content Source: docs/fsharp/language-reference/generics/automatic-generalization.md
Product: dotnet-fsharp
GitHub Login: @cartermp
Microsoft Alias: dotnetcontent

Thanks @xp44mm
I've opened a PR to fix this issue.  In the future, when you spot this small issues, you can click the edit button (it looks like a pencil) to edit the source and submit a PR for us. It may save time over describing the issue.


text:
Enum naming

Not using a Enum to name an Enum look good until you say that an Interface should start with I. Why it make and interface name clear but not an Enum? Consistency is something that Microsoft lack, but It would be good to explain why.

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

ID: 25b47b5f-7a8e-5f9b-10dd-ed409fa1b57a
Version Independent ID: 60b5834c-41ba-37b8-5f35-74e890d7f92f
Content: Names of Classes, Structs, and Interfaces
Content Source: docs/standard/design-guidelines/names-of-classes-structs-and-interfaces.md
Product: dotnet
GitHub Login: @rpetrusha
Microsoft Alias: ronpet

We can't make changes to this content because it's copyrighted but adding @KrzysztofCwalina and @terrajobst to comment on naming enum rules.

We felt that there is just too much historical precedence (for interfaces starting with "I") to remove the prefix from our interfaces (and guidelines).

authors: KrzysztofCwalina freddyhernandez mairaw


text:
Update information about xproj migration

xproj to csproj migration capabilites are being removed from VS2019 16.3 and CLI 3.0.100. This commit updates the documentation to reflect that.
Also some minor formatting for consistency.
Relates to dotnet/project-system#4895 and https://github.com/MicrosoftDocs/visualstudio-docs/pull/3379.
//cc: @livarcocc @KathleenDollard

Created as a draft as this change refers to unreleased product versions.

In general, we don't review PRs that are in draft mode. Please click on the Ready for review button when you want this reviewed.

@Thraka thanks, I'll set this as ready for review once 16.3 is released.

@drewnoakes should we resume the work on this PR? 16.3 is now released.
Also, there are some merge conflicts now.

@mariaw thank you for following up. I've fixed the merge conflicts. Let me know if you'd like to see anything else here. I'm happy for this to be merged if you are.

Thanks @gewarren, those are all nice improvements 👍

authors: Thraka drewnoakes mairaw


text:
Fixing errors in the docs for basicHttpBinding

Summary
The attribute envelopeVersion does not existing in BasicHttpBindingElement so removed.
The attribute namespace does not exist in BasicHttpBindingElement so removed from attribute description table.
Fixed description of name attribute as it was incorrectly describing Binding.Name (the runtime binding property) and not StandardBindingElement.Name (the configuration element property).
Fixes Feedback ticket 1001709

The feedback ticket is for the Spanish translation of these documents. How soon will these changes be translated to the various languages so that I can update the feedback ticket once that's done?

@JasonCard can you comment on how long it takes from when a change is published for en-us until it shows up in the localized versions?

@mconnew @mairaw Since this particular article is set to be Machine Translated, updates should be localized and published live within 1 or 2 days after English version is published live. (For articles set to be Human Translated, it could take up to two weeks depending on timing of source commit and volume of updates. For .NET Docs, we have weekly cadence starting Sundays, so localized updates should be published by following Fridays.)

@mairaw, you can go ahead and merge this.

authors: JasonCard mairaw mconnew


text:
Update TransientFaultHandlingOptions.cs

According to the documentation:

Consider the TransientFaultHandlingOptions record type defined

Hi 👋 @doterik
Thank you so much for posting this issue. We really appreciate it.
The doc is actually incorrect and should be updated, this was a part of a larger issue that was addressed a while back. Initially it was assumed that record types were valid for the options pattern, they are not. Where do you see this in the docs?

authors: IEvangelist doterik


text:
Update table-storage.md for Cosmos DB Table API

Summary
I made updates to document the Cosmos DB Table API support.
Fixes #Issue_Number (if available)

Not yet ready for review--

@mairaw , I've made the fixes you requested, but I'm not familiar with the PR workflow for this repo. Do you need to sign off on the PR, or do I, or ?
Thanks!

We'll just need @mairaw to approve and this will be good to merge

The Azure Cosmos DB changes look good to me.

There was an extra line added to the sample code that I think made the content samples break. Removed it now to test it.
Staging URL is https://review.docs.microsoft.com/en-us/dotnet/fsharp/using-fsharp-on-azure/table-storage?branch=pr-en-us-4745
For example:

Build seemed stuck.

Some of the snippets are still not displaying (e.g., Delete a table). I don't understand the cause of the bug, but as an alternative we can hardcode the snippets into the article.

I think I found the problems

@mairaw, all F# code is displaying correctly, ready to publish

Not really. This one was incomplete:

authors: MarkMcGeeAtAquent cartermp mairaw mimig1


text:
VS updates for various 1-2K page view topics

VS updates
whitespace
fixes #6832

@BillWagner Thanks so much for the review!


text:
Data classification: The best model and its value are wrong for the metric "Log-Loss Reduction" on the Train and Evaluate page.

System Information (please complete the following information):
Windows OS: Windows-11-Enterprise-21H2
ML.Net Model Builder 2022: 16.13.10.2250701 (Main Build)
Microsoft Visual Studio Enterprise: 2022(17.3.4)
.Net: 6.0
Describe the bug

On which step of the process did you run into an issue:
The best model and its value are wrong for the metric "Log-Loss Reduction" on the Train and Evaluate page for Data classification scenario.

Data Source
https://testpass.blob.core.windows.net/test-pass-data/wikipedia-detox-250-line-data.tsv
To Reproduce
Steps to reproduce the behavior:

Select Create a new project from the Visual Studio 2022 start window.
Choose the C# Console App (.NET Core6.0) project template.
Add model builder by right click on the project.
Select Data classification scenario.
On Data page, select the data source and choose Sentiment column as label.
On the Train page, click "Advanced training options..." link, then choose another metric like "Log-Loss Reduction" and save it.
Click "Start training" button to complete the training, you will see the best model and its value are wrong on the Train and Evaluate page.

Expected behavior
The best model and its value should be correct on the Train and Evaluate page.
Screenshot

The bug is also repro on evaluation metrics "AUC", "AUCPR" and "F1-score" for Binary Classification.

The bug has been fixed on the latest main build: 16.14.0.2252103

Verified by the tester .

authors: v-Hailishi zewditu

repo: dotnet/machinelearning-modelbuilder


text:
Generating code-behind creates different file-encoding

Describe the bug:
For some reason when I generate code-behind, the .cs file created has the file-encoding CP1252, which causes a few issues as our team wants all files in UTF-8.
I was wondering if you could give some info about how the code-generation works and if you perhaps know where I could change the file-encoding used?
Version used:
VS2022 17.4.2
To reproduce:
I go to the @code block in a .razor file, press ctrl + . to get the suggestions, and then choose Extract block to code-behind.
Expected behavior:
I expect the .cs file created to be UTF-8
Actual behavior:
The .cs file is CP1252
Additional context:
This might not be a bug with VS, as the same thing happens with css files generated by scss. I can't figure out why the file-encoding becomes different, maybe you have some more insight into this? Please and thank you!

I've been testing around a bit, and it seems that Visual Studio is recognizing the file as Windows-1252, but in reality it's UTF-8 without BOM. When I save a file as UTF8 without BOM in Notepad, VS2022 says its Windows-1252. When I save UTF8 with BOM, vs2022 recognizes it as UTF8. However, if I save the file as utf8 without BOM in vs2022, it recognizes it as utf8, which seems odd.
I'm not really sure what my files are anymore 😂

@Albiniivari This is worth sending a feedback report in VS, since it's the core VS editor that defaults to CP1252 when no BOM is present. We had a report of it for JSON, so I hardcoded the JSON editor to always use UTF-8 in these cases, but I think most tools nowadays (other than VS) assume UTF-8 when no BOM is present.  There's still an internal bug I filed, but it keeps getting punted without customer feedback to support it...
(I don't know what magic makes it remember which files you've saved as UTF-8 w/o BOM.)

I have here: https://developercommunity.visualstudio.com/t/When-I-extract-to-code-behind-in-Blazor/10212331
Thanks for the reply! Now I at least know I'm not crazy :joy:

authors: Albiniivari jimmylewis

repo: dotnet/razor


text:
Bug: VS 2022 cshtml file breaks javascript formatting

This issue has been moved from a ticket on Developer Community.

[severity:It’s more difficult to complete my work] [regression] [worked-in:VS 2019]
Javascript usually has nicely coloured fonts for reserved words and strings. But if the html code above the js has an html style comment starting with
@if (1 == 1)
{
    // This comment works fine here

Blah blah

}

Original Comments
Feedback Bot on 8/28/2023, 06:30 PM:
(private comment, text removed)
Feedback Bot on 9/5/2023, 03:32 AM:
(private comment, text removed)

Original Solutions
(no solutions)

@davidwengier @333fred Is this likely to be a parsing issue? That the compiler is incorrectly reporting the tree and the tooling is thus doing the wrong thing?

This would most likrly be a TextMate grammar issue, not compiler.

VS Code also has this issue too.

authors: chsienki davidwengier howing0345 vsfeedback


text:
Add support for DotNetCliToolReference

Add support for DotNetCliToolReference to project system and NuGet automated restore trigger. ToolReferences can appear in multiple updates if they are not conditional (e.g. by TargetFramework) -- in this case, they are filtered to unique references.
/cc @dotnet/project-system @alpaix @rrelyea @emgarten
Fixes #629
Related:

https://github.com/NuGet/Home/issues/3702
https://github.com/NuGet/NuGet.Client/pull/945

Taggng @MattGertz  for ask mode approval.

Approved pending one more review.

authors: MattGertz natidea srivatsn

repo: dotnet/roslyn-project-system


text:
Build dotnet/format during source-build

In 6.0, the dotnet/sdk took a new dependency on https://github.com/dotnet/format/ in order to provide the dotnet format command.
See https://github.com/dotnet/sdk/pull/18814.
Because of this, we need to onboard https://github.com/dotnet/format/ into source-build in order to build this command that ships in the product.

Closed by linked PRs

authors: MichaelSimons eerhardt

repo: dotnet/source-build


text:
Ubuntu2404Arm64_Offline_MsftSdk_arm64 logs not being published

The log artifacts for Ubuntu2404Arm64_Offline_MsftSdk_arm64 leg aren't being published. The publish step shows the following output:
+ targetFolder=/mnt/vss/_work/1/a/BuildLogs/
+ mkdir -p /mnt/vss/_work/1/a/BuildLogs/
+ cd /mnt/vss/_work/1/s
+ find artifacts/log/ -exec rsync -R '{}' -t /mnt/vss/_work/1/a/BuildLogs/ ';'
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory
find: ‘rsync’: No such file or directory

This is blocking investigation and needs to get resolved soon.

@dotnet/dotnet-docker-contrib is rsync missing from the image? To me this error suggests that rsync is not installed: https://github.com/dotnet/dotnet-buildtools-prereqs-docker/blob/main/src/ubuntu/24.04/Dockerfile

rsync doesn't appear to be in the arm64 image but I don't find it in the amd64 image either.

It's executing this command on the host, not the container. It's using the Docker-Linux-Arm-Internal pool. I assume this command never worked?

Ah I didn't notice that it wasn't running this command in the container. From what I can tell, no, this has never worked.

So then it'll either need to be modified to not rely on this command or have logic which installs the package that provides this command.

authors: MichaelSimons ellahathaway mthalman


text:
Update DotnetCLIVersion.txt to 2.1.1 release, 2.1.301 SDK

Both are behind the 2.1.301 what we've released with source-build, and master is even more behind:
https://github.com/dotnet/source-build/blob/62fc857befbec8bd73e6bdd33e5877c9cd3d36fb/DotnetCLIVersion.txt#L1
https://github.com/dotnet/source-build/blob/1dd84aaa2e44f1694ce0e681f96b6cd4e79f48ff/DotnetCLIVersion.txt#L1
We should be using 2.1.301 to build the next release.
/cc @dleeapho @crummel @dseefeld

Preempted by https://github.com/dotnet/source-build/issues/616.


text:
Move corefx to latest release/2.0.0 commit

Remove unnecessary patch and update another patch to align with the move.
This will enable corefx to build on windows and should fix https://github.com/dotnet/source-build/issues/106.

Looks like my move of corefx fixed the windows build for that project but broke the update dependencies on the other OS's. I will investigate further and update the other steps.


text:
[BUG] Issue with "Go to Implementations" feature opening decompiled file instead of source code

From vscode-dotnettools created by nphamvn: microsoft/vscode-dotnettools#135
Describe the Issue
In my solution, I have two projects: a Web project (Web application) and a Domain project (Class library). The Web project references the Domain project. However, when I attempt to use the "Go to implementations" feature in the Web project to navigate to the implementation, it opens a temporary decompiled file instead of the source code in the Domain project.
Steps To Reproduce
No response
Expected Behavior
No response
Environment Information
No response

@nphamvn: we've shipped an update to the C# extension bringing it up to 2.0.212 which might already fix this -- I can't quite tell based on your description which version you had. Can you upgrade and try again?

authors: arkalyanms jasonmalinowski

repo: dotnet/vscode-csharp


text:
🛑 PAH is down

In fe1faeb, PAH (https://www.pembroke-animal-hospital.com/) was down:

HTTP code: 500
Response time: 335 ms

Resolved: PAH is back up in ac3cdfd after 36 minutes.

repo: dougdragon/uptime


text:
Update README.md

Subtle change.

Thanks @jihchi

authors: douglascorrea jihchi


text:
I don't get notification with app is killed

Hello good afternoon.
I am implementing the Firebase routine using the data load.
In the onMessageReceived method I receive the information both in the foreground and in the background. (from there I do my actions, including I trigger the notification using the local notification)
However, when I kill the app and trigger the push, I don't receive any data. Actually, I get paid, but when I open the app again.
Sensation that he is on hold, and only acts when the application is opened.
Can someone help me?
this.firebase.onMessageReceived().subscribe((notification: any) => {       console.log(new Date(Date.now()).toLocaleString());       console.log(notification);         console.log("Message type: " + notification.messageType);     });

You did not complete the issue template so it's unclear what platform or device you are testing on, whether you have tested using the example project or exactly how to reproduce the issue.
Please read the guidelines for reporting issues and if you still think an issue exists which is a genuine suspected bug (and not a support request) then open and new issue and complete the issue template in full.


text:
Twine return macro

Add support for the Twine return macro.

Support for this macro as well as the back macro have been replaced with the previous() function.

repo: dpek/unity-raconteur


text:
Charms Notches

The charms Dont have Notches, all new charms cost 0 Notch

Did you give yourself the Transcendence charms with debug on an existing file, or create a new file with Transcendence installed? If the former, this is a known issue (see #24).

authors: Aaroyspro dpinela

repo: dpinela/Transcendence

license: Unlicense


text:
🛑 Invoice Chile is down

In a606352, Invoice Chile ($INVOICE_CHILE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Invoice Chile is back up in 0ed091e after 18 minutes.

repo: dpkg-i-foo-deb/upptime


text:
Only subdomain submissions.

Where can I find the list of pointers, in order to delete the ones that will no longer be used?

Now that you say it.. this isn't possible yet. But good point, I think there should be some command-line interface to list and edit/delete existing pointers. I will add this soon.

authors: DaveDischord dprandzioch

repo: dprandzioch/docker-ddns


text:
v0.3.0: AttributeError in StructureMessages

Building the docs with 0.3.0 Fails. The test Suite succeeds though.
There is an IndexError in the "Basic usage" section. This is already fixed but not yet committed.
However, the AttributeError is hard to reproduce. It seems dataflows and codelists attributes are not set properly when building the docs with Sphinx and ipython directive. I have no clue what happens. Could be a Jupyter Transition Problem. Need to fix this asap.

Fixed in v0.3.1.

repo: dr-leo/pandaSDMX


text:
⚠ gorzdrav.org has degraded performance

In 02ff4b1, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 10779 ms

Resolved: gorzdrav.org performance has improved in be602a0 after 6 minutes.


text:
⚠ gorzdrav.org has degraded performance

In 7bb2c94, gorzdrav.org (https://gorzdrav.org) experienced degraded performance:

HTTP code: 200
Response time: 1242 ms

Resolved: gorzdrav.org performance has improved in ca861da.


text:
feature: add access time for taskID

Signed-off-by: Starnop starnop@163.com

Ⅰ. Describe what this PR did
Add a accessTime for taskID to make it possible for GC.
Ⅱ. Does this pull request fix one issue?

None.
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
None.
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #727 into master will decrease coverage by 0.04%.
The diff coverage is 52.94%.

@@            Coverage Diff             @@
##           master     #727      +/-   ##
==========================================
- Coverage   47.39%   47.34%   -0.05%
==========================================
  Files         109      110       +1
  Lines        6294     6300       +6
==========================================
  Hits         2983     2983
- Misses       3078     3082       +4
- Partials      233      235       +2

Impacted Files
Coverage Δ

supernode/daemon/mgr/cdn/cdn_util.go
30.76% <ø> (+4.1%)
:arrow_up:

common/util/sys_util.go
0% <0%> (ø)

supernode/daemon/mgr/task/manager.go
19.58% <60%> (-0.42%)
:arrow_down:

supernode/daemon/mgr/scheduler/manager.go
24.06% <0%> (-0.76%)
:arrow_down:

supernode/daemon/mgr/task/manager_util.go
27.54% <0%> (ø)
:arrow_up:

supernode/server/0.3_bridge.go
0% <0%> (ø)
:arrow_up:

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 a48918c...d7b5162. Read the comment docs.

authors: Starnop codecov-io

repo: dragonflyoss/Dragonfly


text:
Nginx PDB shows as not ready

The nignx Pod Disruption Budget is showing as not ready.
It's not allowing any disruptions.
Name:           nginx-e2e
Namespace:      testing
Min available:  2
Selector:       app=web-frontend
Status:
    Allowed disruptions:  0
    Current:              0
    Desired:              2
    Total:                3
Events:
  Type    Reason  Age                  From               Message
  ----    ------  ----                 ----               -------
  Normal  NoPods  3m5s (x2 over 3m5s)  controllermanager  No matching pods found

Fixed in helm chart.


text:
Feat: Alta de Inscripciones para el Staff & Fix: Se corrige la habilitacion/deshabilitacion de actividades

Este PR agrega la funcionalidad a los miembros Staff de inscribir a un asistente a una actividad ingresando su dni. Incluyendo una notificación en caso de no encontrar el usuario a agregar, así como la habilitación y deshabilitación del botón Inscribir en base la disponibilidad de cupos y la apertura o cierre de las inscripciones.
Este PR también corrige la habilitación y deshabilitación de las actividades en 2 situaciones distintas:

Cuando los cupos están llenos y se abre un cupo, ahora la actividad pasa a estar habilitada.
Cuando se llena el ultimo cupo, ahora la actividad pasa a estar deshabilitada.

Revisa, que al staff siempre debe poder inscribir asistentes a las charlas, independientemente del cupo. Pero los asistentes no se deben poder inscribir si el cupo fue superado

authors: driendro manuel-edlp

repo: driendro/cneisi


text:
Feature Request: Receive Order Fill details via REST APIs

As discussed in https://github.com/drift-labs/gateway/issues/71
Presently the POST order endpoint returns a txn reference. But the same txn reference can't be used to determine whether the order has been filled or canceled.
There should be some way to check that using the original identifier returned from create order API or the order ID or user order ID.

gateway could store fills for a current session but going through the user's transaction history from a block explorer / indexer is the most comprehensive way.
so if your preference is to query for a recent fill it may be possible to implement

Yes, recent should be enough for now.

repo: drift-labs/gateway


text:
new place_and_take_perp_order flag

Currently place_and_take_perp_order tx will succeed whether or not there is a fill.
I suggest retro'ing the unused _maker_order_id into a flag that specifies when the tx should fail:

there is no fill
there is only a partial fill

With these new flags, it will be easier for devs to write client code and may lead to less tx actually needed to land onchain (you can skip sending the tx if it fails sim).

yes please!

May I ask if the fulfill_perp_order_ with amm function means to fill everything? Do I need to rewrite a function to implement this feature?

One question I have is assuming that in the case of a partial order that can be fulfilled, the program is in the stage of filling the order and the data of the order and position has actually changed. If I subsequently cancel this order. Will the data that has been changed before be restored? In other words is this whole program atomic?

When I tried to implement this new functionality in the handle_place_and_take_perp_order function, my thought process was to run a simulation of the fill_perp_order function first to get the number of underlying assets that were expected to be completed. But I ran into a problem where running the real fill_perp_order function after a successful simulation run reported a stack overflow.

Here is the code I tried. Feel free to discuss.
#[access_control(
    fill_not_paused(&ctx.accounts.state)
)]
pub fn handle_place_and_take_perp_order<'c: 'info, 'info>(
    ctx: Context<'_, '_, 'c, 'info, PlaceAndTake<'info>>,
    params: OrderParams,
    should_fail_on_partial_or_no_fill: Option<bool>,
) -> Result<()> {
    let clock = Clock::get()?;
    let state = &ctx.accounts.state;

    let remaining_accounts_iter = &mut ctx.remaining_accounts.iter().peekable();
    let AccountMaps {
        perp_market_map,
        spot_market_map,
        mut oracle_map,
    } = load_maps(
        remaining_accounts_iter,
        &get_writable_perp_market_set(params.market_index),
        &MarketSet::new(),
        clock.slot,
        Some(state.oracle_guard_rails),
    )?;

    if params.post_only != PostOnlyParam::None {
        msg!("post_only cant be used in place_and_take");
        return Err(print_error!(ErrorCode::InvalidOrderPostOnly)().into());
    }

    let (makers_and_referrer, makers_and_referrer_stats) =
        load_user_maps(remaining_accounts_iter, true)?;

    let is_immediate_or_cancel = params.immediate_or_cancel;

    controller::repeg::update_amm(
        params.market_index,
        &perp_market_map,
        &mut oracle_map,
        &ctx.accounts.state,
        &Clock::get()?,
    )?;

    let user_key = ctx.accounts.user.key();
    let mut user = load_mut!(ctx.accounts.user)?;

    controller::orders::place_perp_order(
        &ctx.accounts.state,
        &mut user,
        user_key,
        &perp_market_map,
        &spot_market_map,
        &mut oracle_map,
        &Clock::get()?,
        params,
        PlaceOrderOptions::default(),
    )?;

    drop(user);

    let user = &mut ctx.accounts.user;
    let order_id = load!(user)?.get_last_order_id();
    // let user_clone = &user.clone();

    msg!("=== handle_place_and_take_perp_order === clone test");

    // Simulation test of the function fill_perp_order with input core structure parameters all cloned
    let(test_base_asset_amount, test_quote_asset_amount) = controller::orders::fill_perp_order(
        order_id,
        &ctx.accounts.state.clone(),
        &user.clone(),
        &ctx.accounts.user_stats.clone(),
        &spot_market_map.clone(),
        &perp_market_map.clone(),
        &mut oracle_map.clone(),
        &user.clone(),
        &ctx.accounts.user_stats.clone(),
        &makers_and_referrer.clone(),
        &makers_and_referrer_stats.clone(),
        None,
        &Clock::get()?,
        FillMode::PlaceAndTake,
    )?;

    msg!("test base_asset_amount: {}", test_base_asset_amount);
    msg!("test quote_asset_amount: {}", test_quote_asset_amount);

    let(base_asset_amount, quote_asset_amount) = controller::orders::fill_perp_order(
        order_id,
        &ctx.accounts.state,
        user,
        &ctx.accounts.user_stats,
        &spot_market_map,
        &perp_market_map,
        &mut oracle_map,
        &user.clone(),
        &ctx.accounts.user_stats.clone(),
        &makers_and_referrer,
        &makers_and_referrer_stats,
        None,
        &Clock::get()?,
        FillMode::PlaceAndTake,
        &maker_orders_info,
    )?;

    msg!("real_base_asset_amount: {}", base_asset_amount);
    msg!("real_asset_amount: {}", quote_asset_amount);

    let order_exists = load!(ctx.accounts.user)?
        .orders
        .iter()
        .any(|order| order.order_id == order_id);

    if is_immediate_or_cancel && order_exists {
        controller::orders::cancel_order_by_order_id(
            order_id,
            &ctx.accounts.user,
            &perp_market_map,
            &spot_market_map,
            &mut oracle_map,
            &Clock::get()?,
        )?;
    }

    Ok(())
}

i dont think you need to run fill_perp_order twice, the base_asset_amount returned is the amount filled, so if base_asset_amount != 0, then a fill (full or partial) has happened.
You probably also want to use an enum instead of bool to allow for the ix to allow user to choose when to revert (partial fill, no fill, or dont revert)

One question I have is assuming that in the case of a partial order that can be fulfilled, the program is in the stage of filling the order and the data of the order and position has actually changed. If I subsequently cancel this order. Will the data that has been changed before be restored? In other words is this whole program atomic?

If there is a partial fill and the order is canceled, the user state does not revert if the transaction is successful (aka. immediate-or-cancel). This feature will allow the transaction to error in the event of partial or no fill - which will result in no change to user account (also known as fill-or-kill)

i dont think you need to run fill_perp_order twice, the base_asset_amount returned is the amount filled, so if base_asset_amount != 0, then a fill (full or partial) has happened.我认为您不需要运行 fill_perp_order 两次，返回的 base_asset_amount 是填充的数量，因此如果 base_asset_amount != 0，则发生填充（全部或部分）。
You probably also want to use an enum instead of bool to allow for the ix to allow user to choose when to revert (partial fill, no fill, or dont revert)您可能还想使用枚举而不是布尔值来允许 ix 允许用户选择何时恢复（部分填充、不填充或不恢复）

I'll say what I understand, because I looked at the code, and I found that it cancels the order if it is partially filled successfully, but the successful part is not withdrawn, or returned to the state it was in before it all started. So, my understanding is to simulate walking through the process first, and if it doesn't fill completely it doesn't perform the later steps.

One question I have is assuming that in the case of a partial order that can be fulfilled, the program is in the stage of filling the order and the data of the order and position has actually changed. If I subsequently cancel this order. Will the data that has been changed before be restored? In other words is this whole program atomic?

If there is a partial fill and the order is canceled, the user state does not revert if the transaction is successful (aka. immediate-or-cancel). This feature will allow the transaction to error in the event of partial or no fill - which will result in no change to user account (also known as fill-or-kill)

So, what do you think are the steps to correctly implement this feature?

You don't need to simulate because if you throw an error in the tx, the whole state is reverted

prototyped this here: https://github.com/drift-labs/protocol-v2/pull/1218/files

authors: Gsuz crispheaney cxp-13 wphan


text:
Ionic serve error, after switching to SASS

Built a new project and when switched to SASS, couldn't run ionic serve anymore.
Installed CLI 2.0.0-beta.16 and now this error still comes up but at least gets ignored so that allows me to run gulp watch in other tab and actually keep using SASS.
Error I am getting:
$ ionic serve
Gulp startup tasks: 0=sass, 1=watch
Running live reload server: undefined
Watching: 0=www/**/*, 1=!www/lib/**/*
 ✗ Caught exception:
 Error: spawn gulp ENOENT
    at exports._errnoException (util.js:856:11)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
    at onErrorNT (internal/child_process.js:344:16)
    at nextTickCallbackWith2Args (node.js:478:9)
    at process._tickCallback (node.js:392:17)

Mind letting us know? https://github.com/driftyco/ionic-cli/issues

√ Running dev server:  http://localhost:8100

I've checked previous posts with similar problem but nothing worked for me.
Here is also what I got installed:
$ npm list --depth=0
tdguide-app@1.1.1 /Users/admin/Drive/_local/test-app
├── bower@1.7.2
├── gulp@3.9.0
├── gulp-concat@2.6.0
├── gulp-minify-css@0.3.13
├── gulp-rename@1.2.2
├── gulp-sass@2.1.1
├── gulp-util@2.2.20
└── shelljs@0.3.0

Any idea?
Thanks

Thanks for opening the issue. It seems that issue has been resolved. I am going to close this issue but please feel free to reopen another issue if this occurs again.

repo: driftyco/ionic-cli


text:
opening sidemenu on android makes app non-clickable

Hello Team,
It's been really nice trying Ionic 2 and thanks for all your efforts.
Actually, I was testing this app and also sidemenu-starter template on android device and on my browser. It seems like when we toggle the menu after that we are unable to click on the entire screen. Although, it works fine in case of iOS.
Same thing happens when I run emulation on browser with iOS devices everything works good but as soon as I switch to any android device the similar problem occurs.
Also, looks like this happened recently as month back I tried ionic-conference application menu was working fine but there were some glitches at that time also.
Hoping to get it resolved soon :)
Thanks
Gaurav

This was fixed yesterday by this issue: https://github.com/driftyco/ionic2/issues/803
It will be in the next release of the Ionic SDK (2.0.0-alpha.46) at which point we will update the conference app & starters to use this version.
Please review our contributing guidelines before submitting an issue. This issue is not specific to the conference app since it affects the sidemenu starter as well, so please report issues similar to this in the ionic2 repository (if the issue isn't already reported). Thanks so much! :smile:

repo: driftyco/ionic-conference-app


text:
bug: ion-tabs above keyboard

Type: bug
Platform: android 4.4 webview
Hi I have a problem with < ion-tabs > moving up when opening keyboard.
This can be fixed by using:
< preference name="Fullscreen" value="true"  />
Is there any other way to solve this issue?
Here is the photo of the issue:

Greetings @Klapsa2503!
We are now requiring all issues to be submitted through our custom issue form so that we have all of the information necessary to fix them as quickly as possible.
Click Here To Update Your Issue
This issue will be closed if not resubmitted through the form. Please fill out the rest of the form so that we may assist you.
Thank you for allowing me to assist you.

This is one of the quirks that android has.
http://ionicframework.com/docs/api/page/keyboard/
You could adjust the android.manefest file in the platform/android/ directory and change the keyboard activity to this.
 <activity android:windowSoftInputMode="adjustResize">

The other option is to let the tabs sit on top, as per their paltform design, and pass a input in the nav-title.
http://ionicframework.com/docs/api/directive/ionNavTitle/

authors: Ionitron Klapsa2503 mhartington

repo: driftyco/ionic


text:
ion-tabs navigation behaves unexpectedly when using Android back button

Short description of the problem:
Navigating between tabs with the ion-tabs component adds to the overall navigation history. Pressing the Android system back button navigates (in reverse) the entire history of how the user traversed through the tabs.
What behavior are you expecting?
If viewing the root page of a tab, I would expect the app to exit when pressing the Android back button.
Steps to reproduce:

Assume an Android app; root page has <ion-tabs> that contains 4 tabs and starts with tab1 (or you could use the tabs starter project).
Tap on tab2, then on tab3, and finally on tab4.
Press the Android system back button; observe that you are taken to tab3.
Press the back button again; observe that you are taken to tab2.

Other information:
Original forum post:  https://forum.ionicframework.com/t/switching-between-ion-tabs-on-android-keeps-a-nav-history-when-pressing-the-platforms-back-button/62222/1
Which Ionic Version?
2.0.0-beta.11
Run ionic info from terminal/cmd prompt:
Cordova CLI: 6.3.0
Gulp version:  CLI version 1.2.2
Gulp local:   Local version 3.9.1
Ionic Framework Version: 2.0.0-beta.11
Ionic CLI Version: 2.0.0-beta.36
Ionic App Lib Version: 2.0.0-beta.19
OS:
Node Version: v6.3.1

Hello, thanks for opening an issue with us! I am going to be closing this issue as a duplicate of https://github.com/driftyco/ionic/issues/7611. Thanks for using Ionic!


text:
Ionic2 RC0 Bundle Error

Hey,
i always get the same when webpack recognizes some changes and tries to bundle my project again:
Error: ENOENT: no such file or directory, mkdir 'C:\Users\user\project\www\build\C:'     at Error (native)     at Object.fs.mkdirSync (fs.js:922:18)     at mkdirpath (C:\Users\user\project\node_modules\rollup\dist\rollup.js:97:6)
I had to create a custom rollup config to make firebase work, it is here:
`var ngTemplate = require('@ionic/app-scripts/dist/plugins/ng-template').ngTemplate;
var nodeResolve = require('rollup-plugin-node-resolve');
var commonjs = require('rollup-plugin-commonjs');
// https://github.com/rollup/rollup/wiki/JavaScript-API
module.exports = {
/**

entry: The bundle's starting point. This file will
be included, along with the minimum necessary code
from its dependencies
*/
entry: './.tmp/app/main.dev.js',

/**

sourceMap: If true, a separate sourcemap file will
be created.
*/
sourceMap: true,

/**

format: The format of the generated bundle
*/
format: 'iife',

/**

dest: the output filename for the bundle in the buildDir
*/
dest: 'main.js',

/**

plugins: Array of plugin objects, or a single plugin object.
See https://github.com/rollup/rollup/wiki/Plugins for more info.
*/
plugins: [
ngTemplate(),
commonjs({
include: [
'node_modules/rxjs/',
'node_modules/angularfire2/',
'node_modules/firebase/**'
],
namedExports: {
'node_modules/angularfire2/node_modules/firebase/firebase.js': ['initializeApp', 'auth', 'database'],
'node_modules/angularfire2/node_modules/firebase/firebase-browser.js': ['initializeApp', 'auth', 'database']
}
}),
nodeResolve({
module: true,
jsnext: true,
main: true,
browser: true,
extensions: ['.js']
})
],

useStrict: false
};`
The only changes here are the useStrict option and the part inside of commonjs().
Any idea what the problem could be?
(and what can i do to make the second part look as code here?)

Okay, i found out that the error only appears when i'm working with a custom rollup.config, configured in package.json:
"config": {
"ionic_rollup": "config/rollup.config.js"
}
When i'm making the changes inside @ionic/app-scripts/config/rollup.config.js, everything works fine.

Hello, thanks for opening an issue with us! Since this seems to be an issue with where you were putting your custom rollup.config i am going to be closing this issue for now.

@Chris1308 was getting the same, unable to get it to recognise my own config.
I searched the source for the error, via:
find node_modules -type f -exec grep 'not found. Using defaults instead.' '{}' +

which pointed to node_modules/@ionic/app-scripts/dist/util.js.  From here, I found that it wanted a string that could be passed to require instead of a path that we had assumed it wanted.  This still didn't work so debugging the require, in node, pointed to the default config using a relative path on its requires of ng-template.  I therefore changed this to:
var ngTemplate = require('../dist/plugins/ng-template').ngTemplate;

to:
var ngTemplate = require('@ionic/app-scripts/dist/plugins/ng-template').ngTemplate;

and everything started working for me!


text:
Feat - VirtualScroll - Add support for offline data or scrolling large data sets

Here's the scenario, data has already been download/cached from the server (200+ items). You feed that data to the virtual scroll component and it calculate it's size based on total records. Then as you scroll down, it just appends more offline data to the list, while removing elements above itself (performance).
WinJs 4 has a great example of this with their Listview control. You can throw hundreds of items against it, but it only renders 20 at a time, and still provides the scroll height of all items. Item height must be fixed for it to work.

This is what virtualscroll does now?

@ghenry22
I know what this looks like. It looks like I made a feature request without actually trying this out and going off of assumption....which is exactly what happened!


text:
[Pg] Set query params into query.values

Fix issue #1054
To be aligned with pg-instrumentation, query params should be set to query.values

@dankochetov

@issackr those params are provided on each query execution: https://github.com/drizzle-team/drizzle-orm/pull/1055/files#diff-2433a4e30fcf9ecd1c74374f1543c34099e5592471f7072f6e3ea67b32e91dc1R62

@AndriiSherman Thanks for the response, maybe I was not accurate, my use case is a request hook that expect to get (from instrumentation-pg):
export interface PgInstrumentationExecutionRequestHook {
    (span: api.Span, queryInfo: PgRequestHookInformation): void;
}
export interface PgRequestHookInformation {
    query: {
        text: string;
        name?: string;
        values?: unknown[];
    };
    connection: {
        database?: string;
        host?: string;
        port?: number;
        user?: string;
    };
}

And in drizzle, query.values is undefined
I am working with instrumentation-pg over many ORMs that based on pg
like native pg, sequelize, typeorm, knex.js and more and they are all aligned with this configuration.
Thanks again for the great work

@AndriiSherman can take a look?

Sounds good to me. @dankochetov thoughts?

@dankochetov Thanks for the response
You are right, the instrumentation gets the query  text with placeholders and takes the parameters from the query object.
I think this is enough for the instrumentation query hook because you can extract all the data and do any manipulation as long as you have both query text and params.
pg client anyway knows to execute queries with placeholders and get the parameters as list

@issackr I think you misunderstood me a bit. What I meant is the initial parameters array might contain Placeholder instances instead of actual parameter values, in case of a prepared query execution. You might read about them here - https://orm.drizzle.team/docs/performance#placeholder. Those placeholders in the parameters array are replaced only before the query execution, so the params array that's passed to the driver might not be the same as the initial one, that you are setting into the query object in this PR.

@dankochetov oh right I was not aware of this feature in drizzle
I will change the PR to set the parameter after the placeholders setup

@dankochetov
Done, let me know if anything else is required
Thanks!

Any word on getting this merged in?

@dankochetov this is still waiting for a resolution

@AndriiSherman

authors: AndriiSherman Kampe dankochetov issackr

repo: drizzle-team/drizzle-orm


text:
SIGABRT crash

we use sqlite3, we occasionally see below crash with coredump, the complain is "database is lock". Any further info about how this happen and how we can avoid it?

(gdb) bt
#0  __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0)
at ./nptl/pthread_kill.c:44
#1  0x00007f751f4a9e8f in __pthread_kill_internal (signo=6, threadid=)
at ./nptl/pthread_kill.c:78
#2  0x00007f751f45afb2 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#3  0x00007f751f445472 in __GI_abort () at ./stdlib/abort.c:79
#4  0x00007f751f69d919 in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007f751f6a8e1a in ?? () from /lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007f751f6a8e85 in std::terminate() () from /lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007f751f6a8e0e in std::rethrow_exception(std::__exception_ptr::exception_ptr) ()
from /lib/x86_64-linux-gnu/libstdc++.so.6
#8  0x00005646e6680d3f in trantor::EventLoop::loop() ()
#9  0x00005646e6501d90 in drogon::HttpAppFrameworkImpl::run() ()

0x7ffdd8fbce08: "20240826 21:00:45.437284 UTC 2255895 WARN  Exception thrown from event loop, rethrowing after running functions on quit: database is locked - EventLoop.cc:245

The "database is locked" error in SQLite3 occurs when the database is being accessed by another process or connection, please check if your application has concurrency issues.

thanks.

authors: an-tao xliao-neology

repo: drogonframework/drogon


text:
Parameter name keys have extra characters

Using the following code:
print("\nPrint all parameters (iterate `vehicle.parameters`):")
for key in vehicle.parameters:
    print(" Key:%s Value:%s" % `(key,vehicle.parameters[key])

The names have extra "b'(" prefixes and random \x00 suffixes. Example result snippet. This is running plane simulation in MissionPlanner and dronekit_sitl.
Key:b'RC13_MIN\x00\x00\x00\x00\x00\x00\x00\x00' Value:1100.0
 Key:b'RC13_TRIM\x00\x00\x00\x00\x00\x00\x00' Value:1500.0
 Key:b'RC13_MAX\x00\x00\x00\x00\x00\x00\x00\x00' Value:1900.0
 Key:b'RC13_REVERSED\x00\x00\x00' Value:0.0
 Key:b'RC13_DZ\x00\x00\x00\x00\x00\x00\x00\x00\x00' Value:0.0
 Key:b'RC13_OPTION\x00\x00\x00\x00\x00' Value:0.0
 Key:b'RC14_MIN\x00\x00\x00\x00\x00\x00\x00\x00' Value:1100.0
 Key:b'RC14_TRIM\x00\x00\x00\x00\x00\x00\x00' Value:1500.0
 Key:b'RC14_MAX\x00\x00\x00\x00\x00\x00\x00\x00' Value:1900.0
 Key:b'RC14_REVERSED\x00\x00\x00' Value:0.0
 Key:b'RC14_DZ\x00\x00\x00\x00\x00\x00\x00\x00\x00' Value:0.0

This creates a problem when querying or trying to watch, for example:
newSpeed = vehicle.parameters['TRIM_ARSPD_CM']

Update, I have determined this is a porting issue from Python 2 to Python 3, with the handling of strings as binary or string. I have not yet determined the best resolution to the problem.

Update: I was able to get the following to work:
vehicle.parameters[b'TRIM_ARSPD_CM\x00\x00\x00'] = 1755
and
vehicle.parameters.add_attribute_listener(b'TRIM_ARSPD_CM\x00\x00\x00', test_callback)
However, it's not clear at this time the best long term fix, and whether the problem resides in DroneKit or pymavlink.

Hi! Do you experience the problem using Python 2, Python 3, or both?

Works fine in Python 2:
print("\nPrint all parameters (iterate `vehicle.parameters`):")
for key in vehicle.parameters:
    print(" Key:%s Value:%s" % (key,vehicle.parameters[key]))

Snippet of return:
Key:SERIAL4_BAUD Value:38.0
 Key:BATT2_MONITOR Value:0.0
 Key:TRIM_AUTO Value:0.0
 Key:RNGFND9_PIN Value:-1.0
 Key:RNGFND1_PIN Value:-1.0
 Key:STEER2SRV_DRTFCT Value:10.0
 Key:RC6_REVERSED Value:0.0
 Key:RC6_OPTION Value:0.0
 Key:RNGFND1_FUNCTION Value:0.0
 Key:SERVO5_REVERSED Value:0.0
 Key:INS_ACC2SCAL_Z Value:1.00100004673
 Key:SERVO4_REVERSED Value:0.0
 Key:INS_ACC2SCAL_X Value:1.00100004673
 Key:INS_ACC2SCAL_Y Value:1.00100004673
 Key:GPS_TYPE Value:1.0
 Key:RNGFND4_POS_X Value:0.0
 Key:RNGFND4_POS_Y Value:0.0

I cannot reproduce the problem under Python 3.7.2 with the latest master.
I added as a SITL test your code:
@with_sitl
def test_parameters_list(connpath):
    vehicle = connect(connpath)
    vehicle.wait_ready('parameters')
    print("\nPrint all parameters (iterate `vehicle.parameters`):")
    for key in vehicle.parameters:
        print(" Key:%s Value:%s" % (key, vehicle.parameters[key]))

    vehicle.close()

Here's what I get running it:
$ nosetests -svx dronekit.test.sitl.test_parameters:test_parameters_list

dronekit.test.sitl.test_parameters.test ...
Print all parameters (iterate `vehicle.parameters`):
 Key:SYSID_SW_MREV Value:120.0
 Key:SYSID_SW_TYPE Value:10.0
 Key:SYSID_THISMAV Value:1.0
 Key:SYSID_MYGCS Value:255.0
 Key:CLI_ENABLED Value:0.0
 Key:PILOT_THR_FILT Value:0.0
 Key:PILOT_TKOFF_ALT Value:0.0
 Key:PILOT_TKOFF_DZ Value:100.0

...

Could you please post the output of pip list? I suspect that the problem could be an outdated version of pymavlink. Also, are you using the latest master of DroneKit? Here's mine:
$ pip list
Package       Version Location
------------- ------- --------------------------------------
dronekit      2.9.1   /Users/pietro/FlyToons/dronekit-python
dronekit-sitl 3.2.0
future        0.17.1
lxml          4.3.1
mock          2.0.0
monotonic     1.5
nose          1.3.7
pbr           5.1.2
pip           18.1
psutil        5.5.1
pymavlink     2.3.4
setuptools    40.6.2
six           1.12.0

I think your bug has been fixed by this commit in pymavlink, which decodes the bytestring parameter names into strings under Python 3.

Pietro, thanks for looking into this. Yes, I was running pymavlink 2.0.6. This is the version installed in setup.py for dronekit. When you upgrade, it reports:
dronekit 2.9.1 has requirement pymavlink==2.0.6, but you'll have pymavlink 2.3.4 which is incompatible.

I upgraded to pymavlink 2.3.4 and everything appears to be working. Printing parameters, setting a parameter and the parameter listener worked as it should. Thanks!
So - At this point, the issue seems to be the dependence on 2.0.6 in the pip installer. I was having a lot of issues getting dronekit working for python 3 initially, and I ran several different installs at the time, including both pip and cloning. Looks like I must have last installed with pip and thought it was fine.

The issue here is quite complex: the current master has the correct version requirement for pymavlink, but it depends on dronekit_sitl which depends on PyPI's dronekit which depends on the old pymavlink... this mess should clear once a new stable version of dronekit is released on PyPI.
Happy to see it's working for you, though! :D

@custeve can this issue be closed?

@pietrodn, that is a good question. With the correct pymavlink, things have been working great. Is there an existing issue that calls to resolve the dependency in setup.py for python3 installations? If not, I'd say either this should stay open or we create a new issue for it.

The current master of DroneKit already has as a requirement in setup.py: pymavlink>=2.2.20.
Issue #909 asking for a new stable release is already open.

authors: custeve pietrodn

repo: dronekit/dronekit-python


text:
BZ1323272 - DB: Process Instances history for process variables does …

…not work for all Oracle DB

+1 thanks @nmirasch

authors: cristianonicolai nmirasch

repo: droolsjbpm/jbpm-console-ng