bosh2 events returns 0 events - what should it return?

Pointing bosh2 events at my bosh-lite running latest bosh release, I get 0 events. Is that right? Or what should I see? Something I need to enable on my director?
$ bosh2 events
Using environment 'https://<IP_ADDRESS>:25555' as user 'admin'

ID  Time  User  Action  Object Type  Object ID  Task ID  Deployment  Instance  Context

0 events

Succeeded

@drnic try out BOSH_LOG_LEVEL=debug and see what you get. make sure you are using updated bosh-lite (events should be enabled there: https://github.com/cloudfoundry/bosh-lite/blob/master/packer/templates/bosh_lite_manifest_template.yml#L77)

Ok, thanks for pointer to director config. Rolling that out now across our bosh-lites.

@cppforlife can we re-open this? Feels like we need some help text or error from the events command if events are turned off, e.g. "The Director is currently not configured to record events. Enable this feature by adding jobs.bosh.properties.director.events.record_events: true to your director manifest".


[ISSUE #750]✨Add client meta data struct

Which Issue(s) This PR Fixes(Closes)

Fixes #750
Brief Description

How Did You Test This Change?

🚀Thanks for your contribution🎉. CodeRabbit(AI) will review your code first🔥


Error running supabase start with fresh project

Bug report
Describe the bug
I really want to try this new CLI, however i seem to consistently run into an issue with supabase start.
I've created a new project, didnt change any settings, linked it using the CLI, but when running supabase start I get this error: Error running SQL: ERROR:  extension "pgjwt" has no update path from version "0.1.0" to version "0.2.0", followed by many repeated: ERROR:  current transaction is aborted, commands ignored until end of transaction block
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Create a new supabase project
Use CLI to init and link
Run supabase start

Screenshots

System information

OS: Mac OSX 12.0.1

Hey Miles, can you try removing these SQL from the ..._link.sql file?

ALTER EXTENSION
anything that involves the auth schema, e.g. CREATE TABLE auth.identities
anything that involves the extensions schema, e.g. ALTER FUNCTION extensions.try_cast_double

In my case for a fresh project this left the ...link.sql empty.
Sorry for the experience though, currently you need some interventions to use the CLI.

Thanks for the answer! I'll definitely give that a try!
Out of curiosity would this potentially cause my local container to act differently than the prod DB? Aka if there is an ALTER FUNCTION extensions.try_cast_double would not having that run locally in the link.sql mean I'm using a different version of that function and therefore could have different results? Perhaps there could be a solution where the core engine schemas (auth, storage, extensions) are diffed/patched separately with different rules than the non-core schemas (public, etc.)

Perhaps there could be a solution where the core engine schemas (auth, storage, extensions) are diffed/patched separately

Yup, the approach I have in mind is to:

ignore objects managed by extensions
ignore extensions, auth, and other schemas managed by Supabase

I'll be doing these in the next release.

ignore objects managed by extensions
ignore extensions, auth, and other schemas managed by Supabase

The CLI does the above now, so closing this.


AsNoTracking() with OrderBy() causes N+1 or Deadlock

When using AsNoTracking() before OrderBy() the ToList() causes a N+1 Query and ToListAsync() ends in a deadlock.
var query = (from a in context.Authors
                            select new
                            {
                                a.Name,
                                Books = a.Books.Select(b => b.Title).ToList()
                            })
                  /* --> */ .AsNoTracking()
                            .OrderBy(a => a.Name);
query.ToList();               // N+1 Problem
await query.ToListAsync();    // Deadlock

SELECT [a0].[Name], [a0].[Id]
FROM [Authors] AS [a0]

exec sp_executesql N'SELECT [b0].[Title]
FROM [Books] AS [b0]
WHERE @_outer_Id1 = [b0].[AuthorId]',N'@_outer_Id1 int',@_outer_Id1=895

exec sp_executesql N'SELECT [b0].[Title]
FROM [Books] AS [b0]
WHERE @_outer_Id1 = [b0].[AuthorId]',N'@_outer_Id1 int',@_outer_Id1=257

exec sp_executesql N'SELECT [b0].[Title]
FROM [Books] AS [b0]
WHERE @_outer_Id1 = [b0].[AuthorId]',N'@_outer_Id1 int',@_outer_Id1=890

...

When adding AsNoTracking() after the OrderBy() statement everything works like expected (2 queries).
var query = (from a in context.Authors
                            select new
                            {
                                a.Name,
                                Books = a.Books.Select(b => b.Title).ToList()
                            })
                            .OrderBy(a => a.Name)
                  /* --> */ .AsNoTracking();
query.ToList();
await query.ToListAsync();

SELECT [a].[Name], [a].[Id]
FROM [Authors] AS [a]
ORDER BY [a].[Name], [a].[Id]

SELECT [t].[Name], [t].[Id], [a.Books].[Title], [a.Books].[AuthorId]
FROM [Books] AS [a.Books]
INNER JOIN (
    SELECT [a0].[Name], [a0].[Id]
    FROM [Authors] AS [a0]
) AS [t] ON [a.Books].[AuthorId] = [t].[Id]
ORDER BY [t].[Name], [t].[Id]

Maybe relevant to #4007
Further technical details
EF Core version: 2.1.0
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows 1803
IDE: Visual Studio 2017 15.7.3

related to https://github.com/aspnet/EntityFrameworkCore/issues/6611

Problem here is that AsNoTracking makes the query model more complicated - relinq introduces subquery every time it encounteres a result operator (e.g. AsNoTracking, Include, Distinct etc).
AsNoTracking gets eliminated from the query model, but because there is orderby afterwards we don't collapse it back to the simple form.
So the QM looks like this:
from <>f__AnonymousType0<string, List<string>> a in
    from Author a in DbSet<Author>
    select new {
        [a].Name,
        List<string> ToList(
            from Book b in DbSet<Book>
            where  ?= (Nullable<int>)Property([a], "Id") == Property([b], "AuthorId") =?
            select [b].Title)
     }
order by [a].Name asc
select [a]

rather than
from Author a in DbSet<Author>
order by [a].Name asc
select new {
    [a].Name,
    List<string> ToList(
        from Book b in DbSet<Book>
        where  ?= (Nullable<int>)Property([a], "Id") == Property([b], "AuthorId") =?
        select [b].Title)
 }

N+1 optimization only gets applied on the outermost projection, which in this case is [a], so the relevant subquery is not being found and optimized.
In this particular case we could optimize the QM, move the orderby to the inner subquery and eliminate the outer

@JakobFerdinand for the best results we recommend to use AsNoTracking / Include operators directly after DbSet, like so:
from a in ctx.Authors.AsNoTracking()
select ...

Separately, we should investigate the async case for deadlock - TaskLiftingExpressionVisitor might not be catching this scenario

@maumar The Problem with using AsNoTracking() directly on the DbSet is that we have some cases where we need to reuse a query.
Something like:
IQueryable<Author> GetAuthorsWithBooks()
    => from a in context.Authors
       select new
       {
           a.Name,
           Books = a.Books.Select(b => b.Title).ToList()
       };

// Service A:
GetAuthorsWithBooks().AsNoTracking().ToList();

// Service B:
GetAuthorsWithBooks().ToList();

Of cause we could use something like:
IQueryable<Author> GetAuthorsWithBooks(bool asNoTracking = false)
    => from a in (asNoTracking ? context.Authors.AsNoTracking() : context.Authors)
       select new
       {
           a.Name,
           Books = a.Books.Select(b => b.Title).ToList()
       };

But we think it´s a bit tideous - specialy after we got used to the great fluent API for all our queries.

@JakobFerdinand fair enough. If you can re-structure your code so that AsNoTracking is applied as last operation (like what you already did in the second query), that produces queries that are easy to translate also.

Triage:

@maumar to file a separate issue for the deadlock part of this; we will triage it separately
@smitpatel to find/file the issue around the optimization
This issue becomes an issue to reduce the impact of AsNoTracking by removing it as a result operator from the expression tree before Relinq gets to it.

Works on 3.1


Updating an elemental block does not trigger a change in history

When reordering or editing an elemental block the publish / save button does not turn green the way it does when you change a field.
If you change the order of an elemental block and review history the change is not timestamped.

Duplicate of: https://github.com/silverstripe/silverstripe-elemental/issues/790
See the last comment in that issue for a suggested better way to deal with versioning in the CMS (replace the versioned module). We're using the versioned-snapshots module on some significant production sites without issue.


Ads injected on Google

As of version 2.0.7 ads are being injected on Google searches.
From my favorite extension this will make me search for another similar solution, what a bummer. :(

Yes, it is injecting a harmless ad to Google searches! The code is available here.
How do you expect an extension to earn? which available for free and code is open.

As a SWE myself, I don't mind wanting to earn something, what I found annoying was the lack of transparency, It wasn't mentioned neither on the extension page nor the "Detailed changelog" on GitHub, it simply appeared out of nowhere and I had to disable extension by extension until I found out it was Mokku.
I wouldn't mind paying a fee to disable ads but I guess that wouldn't be enough

Sorry about that, ad is removed temporally in 2.0.9 will be back in 2.0.10 with proper info, "Powered by Mokku" and a link to this discussion https://github.com/mukuljainx/Mokku/discussions/127

there should be no discussion. injecting ads into the unrelated pages is malware activity.
I will finally switch to Mockiato, it's been real

@mukuljainx
i have no idea if product is "stolen" or not, i don't even know what licence do you use for this project. If you feel like the author of Mockiato stole your software – feel free to fill a DMCA claim or something. I'm just a mere user, not a maintainer of Mockiato. Feel free to duke it out with the maintainers though, i'll be on your side.
When it comes to "supporting", you just don't have a valid argument. Support should be voluntary, it should not be in the form of a surprise ad that i have not consented to in the page your extension has nothing to do with. It would be fine to have an ad banner insider the popover of your extension, it would be fine to have it in the UI of your extension. But what gives you the right to mutate and manipulate a page that you didn't create. Do you think Google consented to having your ads on their page?  First it was ModHeader, now Mokku, what's next? My google page gonna look like bootleg movies websites...

Do you think Google consented to having your ads on their page
Every Extension goes through there review.

Yes support comes voluntary, but never saw it from many, but when there is a small popup, you are here thrashing with an alternative but not a feedback, that's the difference. There is way put things.
I am small developer found a way of making money, adopted. People are not liking it, it will be removed, because the pay I am getting is nothing if users are not happy. But there is a way to put things.

Every Extension goes through there review

the review process is not perfect there but injecting ads like this would definitely be against their Terms of Service.
Here's an excerpt from their program policies on ads. I think 8th point really nails it:

The ads do not mimic or impersonate the native ads or content on the third-party website

I think I could argue that the add, added to the Google search page trying it's best to look like a native advertisement is trying to "mimic or impersonate the native ads" hence it must be against the TOS. Even with the white-on-white label that is put underneath the add sorta disclosing that it's Mokku


environment error

I am trying to run your repo on google colab. But the problem is that the versions of the packages are no longer supported. I replaced some packages :
!pip install torch==2.0.0+cu118 torchvision==0.15.1+cu118 torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu118
!pip install pytorch-lightning
but still some errors occur. Can you update the requirements.txt file? Thank you

Sorry about this issue. Can you provide a bit more information on versions of packages that are no longer supported? Does this means they're not longer available for installation? Which packages does this apply to?

try to uninstall torch, torchvision, torchaudio
then re-install the correct version related to your own device


How to recursively go through folders?

How could I go through folders recursively? The example in the document only shows list the folders and files in the root level.

I am looking for the same, and actually a smaller amount of nested folders, and keep hitting the rate limits - so be careful of this also


feat: don't require full top-level validation in not top-level refs

Refs: https://github.com/ExodusMovement/schemasafe/issues/161#issuecomment-1670111982
This will allow e.g. this to compile in strong mode:
  {
    $schema: 'https://json-schema.org/draft/2020-12/schema',
    allOf: [
      {
        $ref: '#/definitions/base',
      },
    ],
    definitions: {
      base: {
        required: [],
        properties: {
          version: {
            const: '2',
          },
        },
        type: 'object',
       //  unevaluatedProperties: false,
      },
    },
    properties: {
      type: {
        const: 'acknowledge',
      },
    },
    required: ['type'],
    type: 'object',
    unevaluatedProperties: false,
  }

Codecov Report

Merging #162 (e629094) into master (b5450e8) will decrease coverage by 0.27%.
Report is 6 commits behind head on master.
The diff coverage is 90.66%.

:exclamation: Current head e629094 differs from pull request most recent head 8241ba2. Consider uploading reports for the commit 8241ba2 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Files Changed
Coverage Δ

src/index.js
96.93% <57.14%> (-3.07%)
:arrow_down:

src/compile.js
99.26% <94.11%> (-0.29%)
:arrow_down:

@RichAyotte this should be ready now

I've checkout the branch and ran a few tests and observed a few new behaviours.
When a $ref is specified without unevaluatedProperties, I get the following error: [requireValidation] additionalProperties or unevaluatedProperties should be specified at #/properties/bh1
      "properties": {
        "kind": {
          "const": "double_baking_evidence"
        },
        "bh1": {
          "$ref": "#/definitions/TezosBlockHeader"
        },
        "bh2": {
          "$ref": "#/definitions/TezosBlockHeader"
        }

Adding unevaluatedProperties to each instance resolves the issue.
      "properties": {
        "kind": {
          "const": "double_baking_evidence"
        },
        "bh1": {
          "unevaluatedProperties": false,
          "$ref": "#/definitions/TezosBlockHeader"
        },
        "bh2": {
          "unevaluatedProperties": false,
          "$ref": "#/definitions/TezosBlockHeader"
        }
      }

The second new behaviour is with items. The error are [requireValidation] items rule should be specified at #/oneOf/3/items and [requireValidation] items rule should be specified at #/oneOf/3/properties/args/items for the following:
    "MichelineMichelsonV1Expression": {
      "type": ["array", "object"],
      "oneOf": [
       ...// removed 3 irrelevant items here
        {
          "type": "array",
          "items": {
            "$ref": "#/definitions/MichelineMichelsonV1Expression"
          }
        },
        {
          "type": "object",
          "properties": {
            "prim": {
              "type": "string",
              "maxLength": 256,
              "format": "anyString"
            },
            "args": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/MichelineMichelsonV1Expression"
              }
            },
            "annots": {
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 256,
                "format": "anyString"
              }
            }
          }
        }
      ]
    }

I forgot to add, the changes here resolve issue https://github.com/ExodusMovement/schemasafe/issues/161 :rocket:

Re: refs -- thanks!
Yes, this did change the behavior -- previously, all $refs were checked to be fully validating everything on their own, and now that check was removed, but together with corresponding assumption that $refs fully validate everything`.
I'll take a closer look at/investigate schemas that were previously compiling and now don't due to this.

Yes, I see a regression on
validator(
  {
    $schema: 'http://json-schema.org/draft-07/schema#',
    $defs: {
      A: {
        type: ['array', 'object'],
        oneOf: [
          {
            type: 'array',
            items: {
              $ref: '#/$defs/A'
            }
          },
          {
            type: 'object',
            required: [],
            additionalProperties: false,
            properties: {}
          }
        ]
      }
    },
    $ref: '#/$defs/A'
  },
  { mode: 'strong' }
)

Looks like we need actual propagation for cyclic refs.
I assume that bh1/bh2 in the first example are also cyclic? Because there should be proper tracing for non-cyclic refs that works independent on the change here.

I'm not sure what cyclic means here but here's the bh1/bh2 sample with more context.
    "TezosDoubleBakingEvidenceOperation": {
      "type": "object",
      "allOf": [{ "$ref": "#/definitions/TezosBaseOperation" }],
      "required": ["kind", "bh1", "bh2"],
      "properties": {
        "kind": {
          "const": "double_baking_evidence"
        },
        "bh1": {
          "unevaluatedProperties": false,
          "$ref": "#/definitions/TezosBlockHeader"
        },
        "bh2": {
          "unevaluatedProperties": false,
          "$ref": "#/definitions/TezosBlockHeader"
        }
      }
    },

That doesn't look like a regression.
Perhaps we could enable the new behavior as an opt-in or only on non-cyclic refs to avoid regressions

@RichAyotte updated

Everything looks really good now and all my tests pass. Thanks for putting this patch together so quickly :pray:

@RichAyotte I added more tests/safeguards and fixed an issue that detected.
This should be ready/final now.

Everything still looks good :+1:

Merged and published as<EMAIL_ADDRESS>

Upd: use<EMAIL_ADDRESS>instead 🤦🏻 (I should have tested the unrelated commit before including it in the release)

I'm glad you found it and I just tested with v1.2.2 and it works well.


Config to make all API calls go through a proxy

When debugging, I find it helpful to push my API calls through a proxy such as Charles or mitmproxy, but it needs a minor modification to the code that makes the API calls to add the proxy setting to the stream context.  This patch makes this configurable and doesn't proxy if the setting is missing or empty.

I really like this ability! Makes it much easier to see what's happening.


$watch for model not calling when time changed

I have $watch for datetimepicker ngModel, but it's only called when date is changing.
The solution i very simply: remove
 if(!($scope.ngModel instanceof Date))
from time_change method
When new date is created, $watch method is called also for time_change
Thanks

See https://github.com/zhaber/datetimepicker/issues/11


Emit runtime code that checks bang operator

Suggestion
Currently, TypeScript's bang operator ! is simply discarded when generating JS code. This is unfortunate, as such errors will either not be caught at runtime at all (producing unwanted behavior) or caught later on, when the property of the result is being accessed (in which case, the resulting stack trace does not point to the root cause).
TypeScript should add a compiler flag to throw errors at runtime for bang operator when the value is null or undefined.
This is well-established practice in other programming languages.
🔍 Search Terms
typescript runtime error bang non-null assertion operator (!) emit actual non-null & non-undefined checks into the resulting JS JavaScript
✅ Viability Checklist
My suggestion meets these guidelines:

[X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[X] This wouldn't change the runtime behavior of existing JavaScript code
[X] This could be implemented without emitting different JS based on the types of the expressions
[X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[X] This feature would agree with the rest of TypeScript's Design Goals.

📃 Motivating Example
parseFloat(input!)

Then use the resulting value to guide a spaceship full of astronauts to land on Mars.
💻 Use Cases
I expect that 90+% of new TypeScript projects would want this behavior, and 50+% of existing projects would switch to this behavior within 1 year.

[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

You should check these points again. This is definitely out of scope for TypeScript.
The purpose of the ! operator is lack of type-safety, it's an opt-out from the nullability checks.

This is a duplicate of #20217.

It is opt-out at compile time, not at runtime.


Deep Integration: Contacts

I'm reverse engineering https://github.com/nextcloud/contacts, found something that might be useful:
$coma = new ContactsManager($this->davBackend, $this->l10n);

What I don't understand is that
appinfo/info.xml refers to
lib/Cron/SocialUpdateRegistration.php refers to
lib/Cron/SocialUpdate.php which then magically gets constructed with
__construct(SocialApiService $social, IJobList $jobList)

How did the cronjob system know how to construct a SocialApiService to pass it to the update job? Some DI system config file I'm missing here?

Contacts integration part of https://github.com/pdsinterop/solid-nextcloud/pull/40


VM should ensure that the last operation is a HALT

The processor should ensure to always insert a HALT (even when no padding is needed). We should also have a boundary constraint that ensures that the last statement is a HALT.
This is because our multiset checks (buses and virtual tables) assume that no multiset element can be generated/removed from the last trace row.

Good point! I thought we already had this - but I guess since decoder constraints are not yet implemented in Rust, we didn't add any assertions against the decoder part of the trace.


feat: rocks outdated command

This command will display outdated rocks in a nice tree-view.

Note: this no longer builds when rebased on top of the latest changes. However, all of the breakages here are amended in #45, so we should ideally merge both at the same time.


Can't open the menu from another event.

Hello there!
I'm trying to do something different that fits my project. I have map and markers on it. I need to open that menu, when I click a marker. That's how I try so far:
main.component.html

    <yaga-map id="map1" style="height: 500px" [zoom]="zoomLevel" [lat]="lat" [lng]="long" [minZoom]="4" [maxZoom]="16">

0
            <yaga-marker [lat]="lat" [lng]="long" >
                <yaga-icon [iconUrl]="'./assets/markers/blueMarker.png'" [iconSize]="[41, 41]" [iconAnchor]="[13, 41]">
                </yaga-icon>
                <yaga-popup>This is the content of the popup</yaga-popup>
            </yaga-marker>

        <yaga-tile-layer [url]="'http://a.tile.openstreetmap.org/{z}/{x}/{y}.png'"></yaga-tile-layer>
    </yaga-map>

<context-menu>
    <ng-template contextMenuItem (execute)="showMessage('K')">Say K!</ng-template>
    <ng-template contextMenuItem (execute)="showMessage('E')">Say E!</ng-template>
    <ng-template contextMenuItem (execute)="showMessage('N')">Say N!</ng-template>
    <ng-template contextMenuItem (execute)="showMessage('O')">Say O!</ng-template>
    <ng-template contextMenuItem (execute)="showMessage('B')">Say B!</ng-template>
    <ng-template contextMenuItem (execute)="showMessage('I')">Say I!</ng-template>
</context-menu>

main.component.ts
import { OSM_TILE_LAYER_URL, LeafletEvent } from '@yaga/leaflet-ng2';
import { Component, ViewChild } from '@angular/core';
import { ContextMenuComponent } from 'ngx-contextmenu';
import { ContextMenuService } from 'ngx-contextmenu';
@Component({
  selector: 'app-main',
  templateUrl: './main.component.html',
  styleUrls: ['./main.component.css']
})
export class MainComponent {
  constructor(public contextMenuService: ContextMenuService) { }
  public items = [
    { name: 'John', otherProperty: 'Foo' },
    { name: 'Joe', otherProperty: 'Bar' }
  ];
  @ViewChild(ContextMenuComponent, { static: true }) public basicMenu: ContextMenuComponent;

  // Your logic here, like:
  public tileLayerUrl: string = OSM_TILE_LAYER_URL;
  zoomLevel = 12;
  lat = 40.14799;
  long = 18.0609717;
  public handleEvent(event: LeafletEvent): void {
    console.log(event);
  }

  showMessage(event, item) {
    console.log(event.target);
    this.contextMenuService.show.next({
      // Optional - if unspecified, all context menu components will open
      contextMenu: this.basicMenu,
      event: event,
      item: item,
    });
    // if (event.target.localName) {
    //   console.log('You clicked a ' + event.target.localName + ' element with ' + event.target.id + ' id!');
    // }
  }

}

When I give that [contextMenu] property to the map itself, it opens everywhere the same menu. I need to open a menu on marker click, and another menu for everywhere else.
Hope I'm clear and get an answer soon.
Thanks!

You pass as contextMenu the [contextMenu]="basicMenu" but you don't assign to <context-menu>.
This propably fix this:
<context-menu #basicMenu>

Actually, I'm using just one menu so I thought I could pass that. I just realized that the problem is caused by the map library. I changed my map from "yaga" to "agm", so it works now!
Although it gave me some error inside "this.contextMenuService.show.next()" block about "event". I just dealt with it like this:
showMessage(marker) {
    localStorage.setItem('markerID', marker.id);
    this._ContextMenuService.show.next({
      // Optional - if unspecified, all context menu components will open
      contextMenu: this.basicMenu,
      event: new MouseEvent('markerRightClick'),
      item: marker,
      anchorElement: document.getElementById('marker1')
    });
  }

Hope anyone can understand and solve their problem too!


add rewrite task

The rewrite task is to convert each input question into a list of queries, which are more friendly to search systems.

There is almost no direct evaluation for rewriting. Most of it is done indirectly using search metrics such as NDCG and Recall and answer metrics such as Accuracy to assess rewriting. So what do we do with the results of external searches?


Update membership to make use of SpaceRole and OrgRole models

A short explanation of the proposed change:

This makes the code more readable and should not affect performance
too much because the new space and org role models will only union the
tables that we would be doing joins or unions on regardless.

An explanation of the use cases your change solves
This code is more readable and more sustainable. It eliminates a some repeated sequel unions and joins. This will make this are of the codebase more sustainable moving forward.

[X] I have reviewed the contributing guide

[x] I have viewed, signed, and submitted the Contributor License Agreement

[x] I have made this pull request to the main branch

[x] I have run all the unit tests using bundle exec rake

[ ] I have run CF Acceptance Tests

Thanks for the PR @monamohebbi!
I validated these changes by pushing them to a bosh lite, pushing an app in an org that my test user didn't have access to, and then trying to cf curl /v3/app/(app-guid) that app to ensure that permissions still worked as expected after the refactor, got an app not found error for the user with insufficient permissions as expected.
Merging this!


Add JS interop to sample app

Fixes #150

@danroth27 Try it now. :eyes:
The problem that I had before was just calling a method wrong ... there was perhaps one-too-many "SayHello" things in the mix. :smile:
I've attempted to avoid that confusion by naming the method that calls HelloHelper.SayHello ExampleJsInterop.CallHelloHelperSayHello rather than just ExampleJsInterop.SayHello, which is where I went wrong when I was trying to get this to work the first time around.


new-atwscontract: System.dateTime: Can not convert data to date in field

I'm trying to figure out the proper way to specify the EndDate and StartDate.
Tried passing a string; casting like  $enddate = ([datetime]"05-31-2022") and have even tried passing $enddate.datetime and still getting this error:
`New-AtwsData : Can not convert data to date in field: EndDate. ; on record number [1].
At New-AtwsContract.ps1:467 char:15

$Result = New-AtwsData -Entity $ProcessObject

          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-AtwsData`

I've checked the type of the object I'm passing, and it's DateTime, which is what the function says it requires.

That looks like a bug. I will have to dedicate a bit of time to fixing up and simplifying this module again. Too many bugs are introduced with new versions.
Workaround:
$Contract = New-Object -Typename Autotask.Contract
$Contract.enddata = $enddate
# and set any other required and optional field you need

New-AtwsContract -InputObject $Contract

Creating the object first and setting field values that way should get you passed the bug while I get it fixed.

Thanks!
Is there a better way to get picklist values than this mess?
(Get-AtwsFieldInfo -Entity contract | where-object -filterscript {$_.name -eq 'ContractPeriodType'}).picklistvalues


Hotword detection stops working when no command is given

I was able to successfully install the module and trigger a couple of commands but I'm having an issue when I trigger the Hotword and I head the ding but don't follow up with a command then the hotword detection stops working entirely.
I checked the logs but didn't see any errors.
Thanks for your help.

how to change the hotword from snowboy to others? just replace all .umdl file??

@afroguys replace .umdl to another .umdl or .pmdl.
Warning; making a proper .pmdl is not so easy. You should read Snowboy manual carefully before trying.

@yusefasjana @eouia  Is this still an issue?

Just FYI.
I just created a *.pmdl from the kitt.ai/snowboy site and replaced the default *.umdl. Works great!
So those files are the same format, but different training sets. (Your own versus lots of people saying anything!)


Improve gradle build to build/update notifiations-core artifact on the fly

Is your feature request related to a problem? Please describe.
Currently if any changes is made to notification-core, one has to build the notification-core plugin artifcact and add the zip to the notification/src/test/resources/notifications-core so that integration tests in notification plugin can take the latest core code.
This is additional effort when commiting code, and it can and should be optimized.
Consider the following points when optimize

make the notification plugin build depends on notifciation-core build
Automatically move the core artifact to notification test resources, before the notifiations plugin build starts
Optional: furthermore, what we can do, is to remove the test resources, or make it optional. Instead, during the integTest task of notifiations, it should build an artifact on the fly and installed to the test cluster.

Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Closing this as it was done in https://github.com/opensearch-project/notifications/issues/415


Neo4j 4.2.4 Operation not permitted

Hi,
I come from here because I thought it was a problem in Testcontainers but we tried to run a single Neo4j container directly on Docker and it didn't work.
The Docker environment in our CI system is:
Connected to docker:
  Server Version: 18.09.2
  API Version: 1.39
  Operating System: Ubuntu 16.04.2 LTS
  Total Memory: 3008 MB

And the Docker command that we ran was:
docker run \
    --name neo4j42 \
    -p7474:7474 -p7687:7687 \
    -d \
    -e NEO4J_AUTH=neo4j/test \
    -e NEO4J_dbms_memory_heap_max__size=416M \
    -e NEO4J_dbms_recovery_fail__on__missing__files=false \
    -e NEO4J_apoc_export_file_enabled=true \
    -e NEO4J_apoc_import_file_enabled=true \
    -e NEO4J_apoc_import_file_use__neo4j__config=true \
    -e NEO4JLABS_PLUGINS=\[\"apoc\"\] \
    neo4j:4.2.4

The container didn't start and reading the docker logs with docker logs neo4j42 the content is:
stat: cannot statx '/logs': Operation not permitted
Warning: Folder mounted to "/logs" is not writable from inside container. Changing folder owner to neo4j.
stat: cannot statx '/data': Operation not permitted
Warning: Folder mounted to "/data" is not writable from inside container. Changing folder owner to neo4j.
stat: cannot statx '/data/databases': Operation not permitted
Warning: Folder mounted to "/data/databases" is not writable from inside container. Changing folder owner to neo4j.
stat: cannot statx '/data/transactions': Operation not permitted
Warning: Folder mounted to "/data/transactions" is not writable from inside container. Changing folder owner to neo4j.
Changed password for user 'neo4j'.
Fetching versions.json for Plugin 'apoc' from https://neo4j-contrib.github.io/neo4j-apoc-procedures/versions.json
Installing Plugin 'apoc' from https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/<IP_ADDRESS>/apoc-<IP_ADDRESS>-all.jar to /var/lib/neo4j/plugins/apoc.jar
stat: cannot statx '/var/lib/neo4j/plugins/apoc.jar': Operation not permitted
Plugin at '/var/lib/neo4j/plugins/apoc.jar' is not readable

Also, we tried with Neo4j 4.2.11 version but we got the same error.
Do you know if I missed some configuration options? Or is a Docker/Neo4j version issue?
Thank you!

It's very weird that it would give you file permission errors even when you're not mounting any folders, that would mean the file permissions are wrong inside of the image, but if that was the case it would happen for me as well.
Are you sure there aren't any already running containers called neo4j42 and also try clearing the neo4j docker image from your cache and trying again.

If I run the same command in my local Docker Desktop (IOS), the container is started perfectly. My Docker Desktop environment is:
Connected to docker:
  Server Version: 20.10.10
  API Version: 1.41
  Operating System: Docker Desktop
  Total Memory: 1986 MB

And we don't have any container called neo4j42 or just running Neo4j. The machine where we're having this issue is our CI system and only Jenkins is running there. We tried running a single Neo4j container because we had the same issue running Testcontainers.
On the other hand, we have a clean image cache because we have tried it only once, downloading the image for the first time and then deleting it. We didn't try again because the error was already 'known'.
Some googling, plus the fact that it's not easily reproducible suggests this is something wrong with docker rather than the Neo4j image specifically.
I found this issue of someone reporting the same/similar errors in another image:
https://github.com/debuerreotype/docker-debian-artifacts/issues/143
The fix there was to update docker and some other libraries.
@mdelmoral  You report that the problem was reproduced on an old docker version but not a newer one, so updating might help?

OK, after more research I'm pretty sure this is a duplicate of this Docker issue:
https://github.com/debuerreotype/docker-debian-artifacts/issues/97
where really basic system operations don't have permissions to run.
The fix for this is:
https://github.com/debuerreotype/docker-debian-artifacts/issues/97#issuecomment-733088337
I'm sure enough of this fix that I'll close the issue, but please let me know if updating Docker and/or libseccomp does not fix it.


Added ability to lock a page

#114
Added ability to lock a page. Notion allows pages to be locked to disable any changes.
Tested this out but did not add the same in smoke tests.
Updated README and version in setup.py

Thanks, @ssvaddiparthy! I ended up taking a simpler approach to this, here:
https://github.com/jamalex/notion-py/commit/50dbecdb2884c8d49b78fc1040d52ca0f3fc6f38
I adapted your README text and added it here:
https://github.com/jamalex/notion-py/commit/8e2a91568a1ce6cda824448483ceb9a830cd2628


access route in every component

how can i access the current route in every component i want?

See docs


dashboard/app: make coverage menu and page optional

Is also needed to #4979 .
2 unused options will be needed there.

PTAL


Roll engine fa435385b6b9..250b99bd275a (1 commits)

https://github.com/flutter/engine/compare/fa435385b6b9...250b99bd275a
git log fa435385b6b9f80080997dd38ad66bbe4bb0a152..250b99bd275ad7622f239a8042f6a6d31b5b95f1 --no-merges --oneline
250b99bd2 Roll src/third_party/skia 4652930a7dfc..e409441aee0d (1 commits) (flutter/engine#8236)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (liyuqian@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


2FA + Github login = Unable to login to existing account

Gitea version (or commit ref):
1.1.0+115-g54f0293 and later
Git version:
2.11.1
Operating System:
Docker image: alpine
Host: HypriotOS
Database (use [x]):

[x] PostgreSQL
[ ] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[x] Yes
[ ] No
[ ] Not relevant

Description
Added Github login for my existing account on a Gitea instance i have, this has 2FA previously configured, when trying to login, it reaches the 2FA UI, once the passcode is given, it shows a 500 page, the only way to login succesfully is to enter the scratch code, which has to be regenerated for future logins.
Screenshots

Was your account initially created with a GitHub login or was the GitHub login added to a pre-existing account ? Could you try both cases and report if there's a difference in handling them ?
Basically I'm concerned about the problem #1143 is aiming to fix...

@strk added to a pre-existing account. Sure i can try the other case, doing so as soon as i get home.

@strk tested it with the current build 1.0+123-g941281a in the gitea site and it seems to be fixed.

Tried with both scenarios (first creation and subsequent connection) ?

@strk created an account with Github and added 2FA no problems, though is it normal the Github not to show on external accounts?

To me it is not, thus #1143, but others think it is. Let's continue the discussion there, if you want to partecipate, while this issue can be closed if you confirm it's fixed.

Closing this, please re-open if needed.


Add support for c# object / anonymous object serialization

The generated model serialization classes which are passed into an API implement IUtf8JsonSerializable.
IUtf8JsonSerializable only supports primitives and objects which implement IUtf8JsonSerializable. Our APIs accept anonymous objects and we are getting the following exception during serialization (Utf8JsonWriterExtensions.WriteObjectValue): "Not supported type <>f__AnonymousType0`3[System.String,System.Int32,System.String]" (classes which are not anonymous and do not implement IUtf8JsonSerializable are also not supported).
JsonSerializer supports object serialization so maybe it is worth considering using it in the case of raw c# classes.
EventGrid has a somewhat related use case, so adding support for raw c# object serialization would be used by additional teams.
This issue is blocking the Personalizer track2 SDK release, so a quick resolution would be very helpful if possible.

We are also hitting the same issue during the serialization of the anonymous objects in Machine Learning services. and end up with empty values in the payload for the JObject Properties.
{"properties":{"componentSpec":[[[]],[[]]]}}
We are generating track2 .NET SDK from swagger 2.0 spec.


Add optional argument to redirect build output to user-specified log …

…file

Pull Request Test Coverage Report for Build 90

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 70.477%

Totals

Change from base Build 89:
0.07%

Covered Lines:
2010

Relevant Lines:
2852

💛  - Coveralls


docs(docs): fixes up some en.json and mobile input issues

:tada: This PR is included in version 1.10.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.10.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Flutter web crashes when moving between two screens with different pixelRatio

Probably related to https://github.com/flutter/flutter/issues/41328 and https://github.com/flutter/engine/pull/17209 cc @ferhatb @yjbanov
Steps to Reproduce
⚠  You need 2 screens to reproduce the exception

open a Flutter web app on a retina
move the window to the non-retina screen

Expected : nothing ( silently switching to the new screen resolution )
Actual : Exception
══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY
╞═════════════════════════════════════════════════════════

[   +1 ms] The following assertion was thrown during a scheduler callback:

Assertion failed:

[   +6 ms]
org-dartlang-sdk:///flutter_web_sdk/lib/_engine/engine/surface/scene_builder.dar
t:111:16

matrix4[0] == window.devicePixelRatio &&

matrix4[5] == window.devicePixelRatio

is not true

When the exception was thrown, this was the stack:

dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart
216:49
throw_

dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart
26:3
assertFailed

[   +1 ms] lib/_engine/engine/surface/scene_builder.dart 112:33
pushTransform

packages/flutter/src/rendering/layer.dart 1648:26
addToScene

packages/flutter/src/rendering/layer.dart 803:5
buildScene

packages/flutter/src/rendering/view.dart 230:36
compositeFrame

packages/flutter/src/rendering/binding.dart 406:18
drawFrame

packages/flutter/src/widgets/binding.dart 865:13
drawFrame

packages/flutter/src/rendering/binding.dart 284:5
[_handlePersistentFrameCallback]

packages/flutter/src/scheduler/binding.dart 1074:15
[_invokeFrameCallback]

packages/flutter/src/scheduler/binding.dart 1013:9
handleDrawFrame

packages/flutter/src/scheduler/binding.dart 929:5
[_handleDrawFrame]

lib/_engine/engine/window.dart 578:13
_invoke

lib/_engine/engine/window.dart 222:5
invokeOnDrawFrame

lib/_engine/engine.dart 212:18
<fn>

octor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.18.0-9.0.pre.73, on Mac OS X 10.15.4 19E287,
    locale fr-FR)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.6)
[✓] IntelliJ IDEA Ultimate Edition (version 2020.1)
[✓] VS Code (version 1.43.2)
[✓] Connected device (4 available)

• No issues found!

/cc @ferhatb

Still happening in v. 1.19.0-0.0.pre with 2 monitors setup.
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel dev, 1.19.0-0.0.pre, on Mac OS X 10.15.4 19E287, locale en-NL)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.4.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.5)
[✓] IntelliJ IDEA Ultimate Edition (version 2017.1.6)
[✓] Connected device (3 available)

• No issues found!

Getting same, im on Flutter 1.19.0-4.2.pre

Same when trying to create an image from a widget
RenderRepaintBoundary boundary = _key.currentContext.findRenderObject();
final image = await boundary.toImage(pixelRatio: pixelRatio);

It crashes with pixelRatio being 1, window.devicePixelRatio, or others I tried
Flutter 1.20.0-3.0.pre,  -d chrome

This issue is still happening on the latest version in master, running on Chrome
Flutter 1.21.0-10.0.pre.94 • channel master
The exception is thrown on the first rebuild after the window is moved to the new monitor.

I can reproduce it on Flutter 1.23.0-18.1.pre • channel beta also

I can confirm that this happens to me with Flutter version 1.23.0-18.1.pre.

Is there a fix or workaround for this?

su 6.12.2020 klo 4.02 Rakshak Raghavan<EMAIL_ADDRESS>kirjoitti:

Is there a fix or workaround for this?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/56050#issuecomment-739443320,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ4UBVPSNFL4N7D37XWIR6DSTLQ3RANCNFSM4MVWVUDA
.

Happens to me too, Flutter version 1.25.0-8.1.pre.

@Drkstr,@saaidaat  no fix yet, it will take a. bit more time to address this. If you build a release build, you won't see problem. The assertion only shows when you are developing (debug mode) and move app between monitors, thats why we marked P4 for now.

This is no longer reproducible for us, after upgrading to Flutter version 2.0.0.
Instead of crashing, now it doesn't rebuild the the app (when pixelDensity changes) leaving the app zoomed in/out (depending on is it moved to or from retina). Resizing the browser window (usually) fixes the issue.

Closing as the crash is no longer reproducible. The remaining device-pixel ratio issue is tracked in https://github.com/flutter/flutter/issues/77605.


2.9.2 regression -  Cannot read properties of null (reading 'isCE')

Describe the bug
Please use provided repo and run npm run dev then open developer console you will see the error.
Downgrade to 2.9.1 problem is gone.
Reproduction
https://github.com/jzs11/vite-regression-playground
System Info
System:
    OS: macOS 12.3.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 4.11 GB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 17.8.0 - /usr/local/bin/node
    Yarn: 1.22.15 - /usr/local/bin/yarn
    npm: 8.5.5 - /usr/local/bin/npm
  Browsers:
    Chrome: 100.0.4896.88
    Firefox: 99.0
    Safari: 15.4
  npmPackages:
    @vitejs/plugin-vue: 2.3.1 => 2.3.1
    vite: 2.9.2 => 2.9.2

Used Package Manager
npm
Logs

Validations

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

Caused by my PR: https://github.com/vitejs/vite/pull/7582
devextreme-vue requires the CJS build of vue, while primevue imports the ESM version.
I'm not sure how to fix it yet.

try this, force him to use esm bunder.
export default defineConfig(({ command }) => {
  return {
    resolve: {
      alias: [
        {
          find: "@vue/runtime-core",
          replacement<EMAIL_ADDRESS>        },
      ],
    },
  };
});

The reason for this is because if your project import a package thats is export by cjs, for some reason, the vue-core runtime will also import cjs, that's why we got an error here,  btw this also causes the hmr not works in vue file.

Thanks for the response; it is working as expected. Feel free to close the ticket as it has a workaround :)
The third workaround by using the resolve alias.

An alias for vue$ would suffice:
  resolve: {
    alias: [
      {
        find: '@',
        replacement: path.resolve(__dirname, 'src'),
      },
      {
        find: 'vue$',
        replacement: 'vue/dist/vue.runtime.esm-bundler.js',
      },
    ],
  },

try this, force him to use esm bunder.
export default defineConfig(({ command }) => {
  return {
    resolve: {
      alias: [
        {
          find: "@vue/runtime-core",
          replacement<EMAIL_ADDRESS>        },
      ],
    },
  };
});

The reason for this is because if your project import a package thats is export by cjs, for some reason, the vue-core runtime will also import cjs, that's why we got an error here, btw this also causes the hmr not works in vue file.

thanks, hmr vue working now

I think I'm having a related problem. ^2.9.2 makes my React+Vite crash on development. 2.9.1 is fine.

Please update to<EMAIL_ADDRESS>where #7582 have been reverted

I can confirm it is now working as expected after upgrading to 2.9.5.
Thank you guys for your effort.

try this, force him to use esm bunder.
export default defineConfig(({ command }) => {
  return {
    resolve: {
      alias: [
        {
          find: "@vue/runtime-core",
          replacement<EMAIL_ADDRESS>        },
      ],
    },
  };
});

The reason for this is because if your project import a package thats is export by cjs, for some reason, the vue-core runtime will also import cjs, that's why we got an error here, btw this also causes the hmr not works in vue file.

Thanks, useful for me!


DMP version of pymapdl can't be launched with Ansys Version V2021R2

Describe the bug
DMP version of pymapdl can't be launched with Ansys Version V2021R2.
To Reproduce
Steps to reproduce the behavior: Run below commands in Python 3.7.5
from ansys.mapdl.core import launch_mapdl
exec_loc = 'C:/Program Files/ANSYS Inc/v212/ansys/bin/winx64/ANSYS212.exe'
mapdl = launch_mapdl(exec_loc,verbose_mapdl=True)
print(mapdl)

Expected behavior
Running above code is expected to print below information but not
Product:             Ansys Mechanical Enterprise
MAPDL Version:       21.2
ansys.mapdl Version: 0.59.4
System Information:

OS: Win 10
Ansys version 2021R2
PyMAPDL version : 0.59.4

Additional context
I could run SMP version with and without VPN connected. Bit  I could  NOT run DMP version with and without VPN connected.

Looking into this.  Thanks for posting this!

Pinging @FredAns, not sure if we've seen this before.

@akaszynski  @jgd10
I tried to replicate this issue using the (old) Mechanical launcher by running the gRPC mode with the distributed computing (DMP). You can replicate that with the next command line:
"C:\Program Files\ANSYS Inc\v212\commonfiles\launcherQT\source\..\..\..\ansys\bin\winx64\MAPDL.EXE" -g -lch -p ansys -dir "C:\ansys_jobs\testgrpc" -j file -grpc -l en-us -d win32 -s noread -dis -mpi INTELMPI -np 2

and I got the next error output:
          *****  ANSYS COMMAND LINE ARGUMENTS  *****
  INITIAL JOBNAME              = file
  DISTRIBUTED MEMORY PARALLEL REQUESTED
       2 PARALLEL PROCESSES REQUESTED WITH SINGLE THREAD PER PROCESS
    TOTAL OF     2 CORES REQUESTED
  MPI OPTION                   = INTELMPI
  START-UP FILE MODE           = NOREAD
  STOP FILE MODE               = NOREAD
  GRAPHICS DEVICE REQUESTED    = win32
  GRAPHICAL ENTRY              = YES
  LANGUAGE                     = en-us
  INITIAL DIRECTORY = C:\ansys_jobs\testgrpc

 RELEASE= 2021 R2              BUILD= 21.2      UP20210601   VERSION=WINDOWS x64
 CURRENT JOBNAME=file0  14:54:06  SEP 09, 2021 CP=      0.156

 /SHOW SET WITH DRIVER NAME= WIN32   ,  RASTER MODE,  GRAPHIC PLANES =  8
 Start GRPC Server
E0909 14:54:06.838000000  6660 server_chttp2.cc:40] {"created":"@1631192046.838000000","description":"No address added out of total 1 resolved","file":"C:\.conan\90bfff\1\grpc\src\core\ext\transport\chttp2\server\chttp2_server.cc","file_line":394,"referenced_errors":[{"created":"@1631192046.838000000","description":"Failed to add port to server","file":"C:\.conan\90bfff\1\grpc\src\core\lib\iomgr\tcp_server_windows.cc","file_line":510,"referenced_errors":[{"created":"@1631192046.838000000","description":"OS Error","file":"C:\.conan\90bfff\1\grpc\src\core\lib\iomgr\tcp_server_windows.cc","file_line":201,"os_error":"Only one usage of each socket address (protocol/network address/port) is normally permitted.\r\n","syscall":"bind","wsa_error":10048}]}]}
##############################
### SOMETHING IS WRONG     ###
###                        ###
### -> Command is aborted  ###
##############################

 /INPUT FILE= menust.tmp  LINE=       0
 ACTIVATING THE GRAPHICAL USER INTERFACE (GUI).  PLEASE WAIT...
Creating the GUI panes
Creating the GUI menubar
Creating the GUI status
Creating the GUI Graphics Context
Creating the Application Context
Creating the GUI toolbar
Creating the GUI toolbar - "Standard Toolbar"
Creating the GUI toolbar - "Main Menu"
Creating the GUI toolbar - "Toolbar"
Creating the GUI toolbar - "Graphical View"

 CUTTING PLANE SET TO THE WORKING PLANE
Welcome to ANSYS

 PRODUCE NODAL PLOT IN DSYS=  0
 TURN OFF WORKING PLANE DISPLAY

It is interesting, the gRPC crashes so ANSYS decided to run the interactive version (good boy).
But we should focus on the next lines (prettified):
E0909 14:54:06.838000000  6660 server_chttp2.cc:40]
<EMAIL_ADDRESS>"description":"No address added out of total 1 resolved",
"file":"C:\.conan\90bfff\1\grpc\src\core\ext\transport\chttp2\server\chttp2_server.cc",
"file_line":394,
"referenced_errors":[{
<EMAIL_ADDRESS>    "description":"Failed to add port to server",
    "file":"C:\.conan\90bfff\1\grpc\src\core\lib\iomgr\tcp_server_windows.cc",
    "file_line":510,
    "referenced_errors":
<EMAIL_ADDRESS>        "description":"OS Error",
        "file":"C:\.conan\90bfff\1\grpc\src\core\lib\iomgr\tcp_server_windows.cc",
        "file_line":201,
        "os_error":"Only one usage of each socket address (protocol/network address/port) is normally permitted.\r\n",
        "syscall":"bind",
        "wsa_error":10048}]
}]
}

And more concrete:
<EMAIL_ADDRESS>    "description":"Failed to add port to server",
    "file":"C:\.conan\90bfff\1\grpc\src\core\lib\iomgr\tcp_server_windows.cc",
    "file_line":510,

So it seems a problem when adding the port to the server and because of the related error, I believe it might be related with that port being already in use.
I hope it helps!

I think the issue @germa89 identified is due to the default port (50052) being in use.  Check if that's indeed the issue.
I've also had other users investigate this behind the VPN, and it turns out that they actually needed to be connected to the VPN to even connect, and their license file seemed "non-standard".  @pmaroneh, would you mind commenting regarding this?  You're able to get DMP working under the VPN, whereas @jgd10 couldn't.

@akaszynski
I think it was port related, and I thought it was related with this issue.

"C:\Program Files\ANSYS Inc\v212\commonfiles\launcherQT\source\..\..\..\ansys\bin\winx64\MAPDL.EXE" -g -lch -p ansys -dir "C:\ansys_jobs\testgrpc" -j file -grpc -l en-us -d win32 -s noread -dis -mpi INTELMPI -np 2

But now, I cannot replicate it using the code above. No idea. So... nevermind. Sorry!

@jgd10
There has been some on this. Please could you checkout this branch: https://github.com/pyansys/pymapdl/tree/Set-Default-MPI-for-DMP
and let us know if the VPN problem is fixed?
Feel free to reach me through teams if you have questions/query.
Thanks you!


Implement Leaderboard Update Mechanism

Develop a mechanism to periodically update the leaderboard on the frontend, either through polling or by using websockets for real-time updates.
Set up an interval that sends AJAX requests to the leaderboard API endpoint every few minutes.
Ensure that the frontend handles the incoming data to update the leaderboard without reloading the entire page.
Implement error handling for failed requests.

interested


Use double quote when quoting un script path

Was seeing errors like chmod: cannot access "'/home/vsts/work/1/s/artifacts/publish/OmniSharp.Stdio.Driver/linux-x64/run'": No such file or directory in the CI build log as well as locally.
Resolves https://github.com/OmniSharp/omnisharp-roslyn/issues/2547

Is un French?

I obviously need to hook spell check up as a git precommit hook.


switch to gopkg.in/yaml.v3

Looks like most other projects switched over to v3, so let's follow suit.

This is failing e2e (and conformance) tests but passing unit tests 🤔

yup. initially I thought it was only used for config (so thought it would be relatively "safe" to update). Not sure what's causing it. At least may mean we're missing coverage somewhere

There must be a reason they did a major bump :)

Yup; let me move this back to draft, and if I find some time, look what the breaking change is 😄

Can you rebase @thaJeztah I might have some spare cycles to look into this tomorrow.

Thanks; yes feel free to either carry / push to this PR, or close and open a replacement (don't think I'll have time myself) ❤

Thanks, @thaJeztah, I've found the cause. The new version of gopkg.in/yaml.v3 now parses generic k/v in the YAML differently. See this commit: https://github.com/go-yaml/yaml/commit/14f799f057e7323ad4dfffa6f70641b091e51bf6
I am not entirely sure why the e2e / run-e2e-test-s3-storage  workflow is failing because the tests pass on my laptop 🤔

E2E Tests
$ bash ./tests/push.sh <IP_ADDRESS>
200
latest: Pulling from library/hello-world
Digest: sha256:3155e04f30ad5e4629fac67d6789f8809d74fea22d4e9a82f757d28cee79e0c5
Status: Image is up to date for hello-world:latest
docker.io/library/hello-world:latest
The push refers to repository [<IP_ADDRESS>:5000/distribution/hello-world]
01bb4fce3eb1: Pushed
latest: digest: sha256:7e9b6e7ba2842c91cf49f3e214d04a7a496f8214356f41d81a6e6dcad11f11e3 size: 525
latest: Pulling from distribution/hello-world
Digest: sha256:7e9b6e7ba2842c91cf49f3e214d04a7a496f8214356f41d81a6e6dcad11f11e3
Status: Image is up to date for <IP_ADDRESS>:5000/distribution/hello-world:latest
<IP_ADDRESS>:5000/distribution/hello-world:latest

Seems to me the image that's used in this test is not getting rebuilt 🤔

I am not entirely sure why the e2e / run-e2e-test-s3-storage  workflow is failing because the tests pass on my laptop 🤔

Ok, found the cause the tests fail, but I'm afraid the fix will require more config surgery.


Missing schema value for psql

When using schemas in postgres it seems the schema value is missing from the generated output.
psql:
  schemas: ["xyz"]
  output: dbbob
  pkgname: dbbob

Where I believe this value is missing:
// what is generated
var ImagesTable = psql.NewTablex[*Image, ImageSlice, *ImageSetter]("", "image")

// what I believe it should be
var ImagesTable = psql.NewTablex[*Image, ImageSlice, *ImageSetter]("xyz", "image")

hmm, interesting. I did need to set this value for it to find any of my tables, I don't think its a shared schema. ( still new to the team so my understanding here is a little limited )
Would it be more appropriate to use schemas: ["", "xyz"]? It feels wrong thought.

Would it be more appropriate to use schemas: ["", "xyz"]? It feels wrong thought.

You can also just manually set shared_schema to something else to have the same effect 😁

Edit: Hmm, this does more of what other tools do by prefixing all types with the schema. But does handle the queries and everything well.

Yes, this is because the model name is generated from the schema and table name.
I am not sure if I want to add yet another configuration to separate what should be a shared schema and which schema should be ignored when generating the model names. 🤔

I think for our use case since the schema is more of a project wide configuration value using the psql.UseSchema(..., "schema") should work plenty. This would allow us to modify this in a config option if we need to for testing or whatever where the models would keep the names.
I fully understand the dilemma of adding more configurations :smirk:

Since this works for your usecase, I'll close this issue for now 😁
PS: For testing, try out the factories. I'm pretty proud of how much they improve the developer experience. Not a lot of documentation about it yet though 😅

Since this works for your usecase, I'll close this issue for now 😁

Yea sounds good

PS: For testing, try out the factories. I'm pretty proud of how much they improve the developer experience. Not a lot of documentation about it yet though 😅

Oh yea, I turned them off for now but want to check that out when I can.


⚠ Processors has degraded performance

In 7f52260, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 40 ms

Resolved: Processors performance has improved in 2145329.


[Bug]: Mismatched types between cookies from next/headers and required cookies from handleRequest()

Package
lucia-auth
Describe the bug
Using handleRequest() from within a Router Handler (app directory), on Next.js ^13.4.3 with the nextjs middleware will lead to a typing mismatch between cookies from next/headers and the required cookies argument from handleRequest().
Type '() => ReadonlyRequestCookies' is not assignable to type '() => { set?: ((name: string, value: string, options?: CookieAttributes | undefined) => void) | undefined; get: (name: string) => { name: string; value: string; } | undefined; }'.
  Call signature return types 'ReadonlyRequestCookies' and '{ set?: ((name: string, value: string, options?: CookieAttributes | undefined) => void) | undefined; get: (name: string) => { name: string; value: string; } | undefined; }' are incompatible.
    The types of 'set' are incompatible between these types.
      Type '(...args: [key: string, value: string] | [options: RequestCookie]) => RequestCookies' is not assignable to type '(name: string, value: string, options?: CookieAttributes | undefined) => void'.
        Types of parameters 'args' and 'name' are incompatible.
          Type '[name: string, value: string, options?: CookieAttributes | undefined]' is not assignable to type '[key: string, value: string] | [options: RequestCookie]'.
            Type '[name: string, value: string, options?: CookieAttributes | undefined]' is not assignable to type '[key: string, value: string]'.
              Target allows only 2 element(s) but source may have more.

Even with the mismatched typings, correct behavior of handleRequest() within the Route Handler is still maintained (it still correctly sets the session cookie on the client).
Downgrading back to Next.js 13.4.2 removes the type error.
Seems to be related to: https://github.com/vercel/next.js/pull/49806

I'm like 99% sure Next.js has the wrong types.
Docs + actual behavior:
cookies().set('name', 'lee');
cookies().set('name', 'lee', { secure: true });
cookies().set({
    name: 'name',
    value: 'lee',
    httpOnly: true,
    path: '/',
});

Types:
cookies().set('name', 'lee');
cookies().set({
    name: 'name',
    value: 'lee',
});

Ref: https://github.com/vercel/next.js/blob/ddb5b1b2f56bbf856dc0901be1cbac54cfde3959/packages/next/src/compiled/%40edge-runtime/cookies/index.d.ts#L149

Looks like it go fixed with https://github.com/vercel/next.js/pull/50052


Is it a way to make Line Chart with smooth animation ?

Hello,
I'm using the library to display line graphs but I'm not happy with the way the graph is displayed, so I tried displaying it "with animation".
To do this, instead of passing my datasets like this :
data={{
      labels: ["January", "February", "March", "April", "May", "June"],
      datasets: [
        {
          data: [
            Math.random() * 100,
            Math.random() * 100,
            Math.random() * 100,
            Math.random() * 100,
            Math.random() * 100,
            Math.random() * 100
          ]
        }
      ]
    }}

I'm doing like that :
const [data, setData] = useState<number[]>([0]);

useInterval(() => {
setData(prev => ([...prev, Math.random() * 100]));
}, 250);

data={{
      labels: ["January", "February", "March", "April", "May", "June"],
      datasets: [
        {
          data
  }
      ]
    }}

It works but it's not smooth, it's like adding a dot directly onto the graphic without any fading or other animation...
I can't find a way to make it more smooth, does anyone have an idea?
Thank you for your help,

https://www.youtube.com/watch?v=m8gyy7JItmU https://www.youtube.com/watch?v=1WZjeESH4a0


calibre: 3.47.0 -> 3.47.1

Motivation for this change
Updating to latest version.
Also rename .desktop files to match app IDs (fixes missing app icons on Wayland).
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[X] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Notify maintainers
cc @domenkozar @pSub @AndersonTorres

Not sure the calibre-edit-ebook rename is entirely neccessary but otherwise this update looks good

calibre-edit-book is the app ID of the ebook editor. Before the change the app icon wasn't shown under Wayland (see https://community.kde.org/Guidelines_and_HOWTOs/Wayland_Porting_Notes#Application_Icon).
Interestingly the upstream filename is calibre-ebook-edit.desktop, which should also be problematic (I haven't tested it to confirm). It wouldn't surprise me if it's just never been tested under Wayland - I've found lots of apps with similar misconfigurations.


[bug] v2-shell unknown field scope

Describe the bug

Reproduction
No response
Expected behavior
No response
Full tauri info output
[✔] Environment
    - OS: Mac OS 14.3.1 X64
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.75.0 (82e1608df 2023-12-21)
    ✔ cargo: 1.75.0 (1d8b05cdd 2023-11-20)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 20.11.0
    - pnpm: 8.15.2
    - yarn: 1.22.21
    - npm: 10.2.4
    - bun: 1.0.26

[-] Packages
    - tauri [RUST]: 2.0.0-beta.2
    - tauri-build [RUST]: 2.0.0-beta.1
    - wry [RUST]: 0.35.2
    - tao [RUST]: 0.25.0
    - @tauri-apps/api [NPM]: 2.0.0-beta.0
    - @tauri-apps/cli [NPM]: 2.0.0-beta.1

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - framework: SolidJS
    - bundler: Vite

Stack trace
No response
Additional context
No response

Allowlist and scopes have been refactored and a new system have been implemented, here is an example of the new scope in use https://github.com/tauri-apps/plugins-workspace/blob/53c0e898608b2fe96d20e417905674ca41d8a089/examples/api/src-tauri/capabilities/base.json#L33-L42


Fix nvm version display with Windows NVM

Since the windows nvm has no nvm current action. I fixed node version test for windows-nvm.
Calling of nvm current for windows NVM will get something like this:

@caiogondim PR.


test: add test for graphql-docs-generator

Description of changes
Increase test coverage of amplify-graphql-docs-generator.
Description of how you validated changes
lerna --scope amplify-graphql-docs-generator run test
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@tacck Please rebase your PR as we have merged a change since your PR was created to fix the Java install problem.

@attilah Thanks for you comment, and sorry for using old master.
I rebased my branch.

Codecov Report

Merging #7234 (96fbab7) into master (8775152) will decrease coverage by 4.10%.
The diff coverage is 45.74%.

@@            Coverage Diff             @@
##           master    #7234      +/-   ##
==========================================
- Coverage   56.43%   52.33%   -4.11%
==========================================
  Files         445      491      +46
  Lines       21859    25248    +3389
  Branches     4373     4952     +579
==========================================
+ Hits        12336    13213     +877
- Misses       8745    11084    +2339
- Partials      778      951     +173

Impacted Files
Coverage Δ

...ls/awscloudformation/utils/synthesize-resources.ts
16.00% <ø> (ø)

packages/amplify-cli-core/src/deploymentState.ts
100.00% <ø> (ø)

...amplify-cli-core/src/feature-flags/featureFlags.ts
83.10% <ø> (ø)

...-cli/src/extensions/amplify-helpers/git-manager.ts
85.18% <ø> (ø)

.../amplify-frontend-ios/lib/amplify-config-helper.js
1.01% <ø> (ø)

...provider-awscloudformation/src/aws-utils/aws-s3.ts
9.32% <0.00%> (-0.77%)
:arrow_down:

...ion/src/iterative-deployment/deployment-manager.ts
7.05% <0.00%> (ø)

...y-provider-awscloudformation/src/resourceParams.js
15.15% <ø> (ø)

packages/amplify-util-mock/src/storage/storage.ts
0.00% <0.00%> (ø)

...der-awscloudformation/src/configuration-manager.ts
5.55% <3.70%> (+0.18%)
:arrow_up:

... and 94 more

Continue to review full report at Codecov.

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


livereload: Ensure LibreJS compliance

This commit means that when Hugo injects the livereload code onto a page when
the user is using 'hugo server', and a user using LibreJS tries to access a
webpage, the script is not incorrectly flagged as being non-free. It uses special
comments to inform the LibreJS browser extension that Hugo uses the Apache 2.0
license.
See GNU's page about correctly flagging free JS.

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

I don't use LIbreJS so I cannot reason about "if we need this or not", but I suspect this is more important for "user-facing JS". Live Reload is for development only (e.g. localhost).

I doubt this helps TBH. It's only for local development.


[Improvement] Remove redundant and security vulnerable code

Purpose of the pull request

Remove redundant and potentially risky code.
Users could use K8S connection in Connection(Datasource) Center to submit task to K8S clusters. There is absolutely no need to have a K8S cluster management console in Dolphin, which only leads to potential vulnerabilities.

Brief change log

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

(or)
If your pull request contain incompatible change, you should also add it to docs/docs/en/guide/upgrede/incompatible.md

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

Comparison is base (df656a7) 37.87% compared to head (f8b68c7) 37.59%.

:exclamation: Current head f8b68c7 differs from pull request most recent head e00a902. Consider uploading reports for the commit e00a902 to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##                dev   #15204      +/-   ##
============================================
- Coverage     37.87%   37.59%   -0.28%
+ Complexity     4657     4567      -90
============================================
  Files          1281     1275       -6
  Lines         44861    44487     -374
  Branches       4864     4797      -67
============================================
- Hits          16990    16726     -264
+ Misses        26015    25932      -83
+ Partials       1856     1829      -27

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

Do we have any related docs to remove?

Do we have any related docs to remove?

Good catch, on the way : )

Just figured out in spark / flink tasks, there are still places using cluster management stuff. I need to refactor related code to completely get rid of k8s management stuff.

Thanks for cleaning this kind of code.

This pull request has been automatically marked as stale because it has not had recent activity for 120 days. It will be closed in 7 days if no further activity occurs.

NO stale


Problem loading fonts

Testcase to reproduce the issue:
<!DOCTYPE html>

	<meta charset="utf-8">

	Remove this text and the text below will ALSO disappear

		This is the test string that should show up when printing

If font is not used outside of printer only block - it cannot be used from within either.
Can anyone suggest something on that matter?

Change printer only to print-only.

I can do this in example to avoid confusion, but that doesn't fix an issue.

Interesting, can you try running it with a delay of 1s (-D 1000) ? I was able to replicate this on the latest v3 too.

Delay (1s or bigger) doesn't affect this issue at all.

Also, if you add a test to the printer only tag, it will also not show up, unless you also add foobar into the body tag, outside of the printer only div. Also the same with some accented characters like Ł.
The cause seems to be that Electron can only draw fonts that have been "required" outside of the printer only tag. Curiously enough, adding the accented character into the printer only div will make even the text outside disappear.

Okay, this is not a problem on v3 if a delay is set (~1s).


Age and gender completions in CSV

Problem
Age and gender completions needed in data/raw/questionnaire/CSN_agegender.csv on S Drive.
Solution
The following items should be included within the CSV for completion:

The first column has rows for the participant's unique string id (i.e., CSN001).
Every participant through CSN057 should have an age and gender entry.

FWIW @psokolhessner this could be a good first issue as reflected by labels

Note that because of occasional missing data, there may be some sleuthing/following-up necessary with individual participants.

This is a test comment.

 Analyses should be able to leverage all participants' sex.
We have age information for all but 7 participants (4 of whom did not complete the study). Analyses will be missing 3 participants' ages.


IO pi plus

Will this work with home assistant?
https://www.abelectronics.co.uk/p/54/IO-Pi-Plus

No, at the moment there is no support for AB Electronics expansion boards.

Closing this issue as feature requests should be posted in the forum.


DEVPROD-6951 cache AWS config

DEVPROD-6951
In CloudTrail there still are sporadic bursts of STS calls that I think are attributable to the pod lifecycle. This PR caches the aws.Config in memory so we don't incur a call to STS for each call to NewBasicClient/NewBasicSecretsManagerClient/MakeTagClient.
Caching required that we use the same HTTP client each time instead of fetching a new one from the pool. This seems okay since we'll be caching the config so we'll always use the same HTTP client for all the calls. Once fetching a client from the pool was removed, the chain of Close() functions became extraneous so they were removed.
An alternative to all of this could be to cache the Basic/SecretsManager/Tag clients where we get them in Evergreen (e.g. here) but caching at this lower level has an advantage that all the top-level clients get to share a single aws.Config. Also, this way other theoretical users of cocoa benefit from caching. Though we could go the other way instead if deemed necessary.

@julianedwards says he's game to review as well.

The prod patch was fine


Remove all mod colouring from highlight_users.js

As Ozzie has been less than forthcoming providing a list of currently active mods to the community since the modpocopalypse, I would propose that we drop all mod colouring from highlight_users.js as the accuracy of the data being provided to cannot be verified.

Seems like a good plan until we know more.

I'm not sure why we highlight them anyway since the shack already puts a hammer next to their names.

Hammers were/are notoriously unreliable. Often not being updated for months
after a mod appointment.
On Friday, February 20, 2015, Adam Hughes<EMAIL_ADDRESS>wrote:

I'm not sure why we highlight them anyway since the shack already puts a
hammer next to their names.
—
Reply to this email directly or view it on GitHub
https://github.com/arhughes/chromeshack/pull/59#issuecomment-75262675.


Can't open Spinner Component

Cant open Spinner Component Docs in reactstrap github page. Gives 404 not found error.

@lizardkingLK What is the link?
https://reactstrap.github.io/components/spinners/

Something is not right with the pre-rendered static content. It is serving a 404: view-source:https://reactstrap.github.io/components/spinners/
That plus the page itself seems off.


Increase performance of World Editor UI

For reference
https://github.com/webaverse/app/pull/3002

The problem is that there is a suite of icon renders that happen for this UI, and performance testing didn't catch the large amount of hitches it causes:

This panel should not render icons unless the panel is open and the icon is actually visible. Additionally, all of the icon rendering must happen in another thread (OffscreenEngine can be used).
(Btw, this is a very poorly documented issue).

One symptom of this is loading a complex object just to wear it (e.g. Silsword) causes multiple loads of it, as well as a hitch when rendering the icon.


Markdown Guidelines for ALT images

Just a quick change + Would be nice to add the links to the 2 resources I pointed in my original Slack message.

Opened a PR #383 for it. Added it to the resources page.


Fix criproxy dir creation

Make sure /opt/criproxy/bin directory exists on the node when copying CRI proxy binary from virtlet image.

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Update Runbook for new method of deploying content only changes

https://allspark.dev.data.humancellatlas.org/dcp-ops/docs/wikis/Data-Portal-Runbook#updating-content
@theathorn the reference to the data-portal-content repo has been removed from here and updated to read:
Updating Content
The data-portal content is in the /content folder of the data-portal repo. To update the content:

Make a feature branch off of the staging branch.
Update the markdown.
Make a pull request to staging for your feature branch.

Alternatively,

Navigate to the page you would like to update on the data-portal live site.
On the bottom of the page there is a "improve-this-page" that will take you the page on github.com
Use the github.com page editor to update and preview the markdown.
Submit a PR against staging to get your content reviewed.


CAv2 Upgrade - Separate FE and Web API

As per my conversation with @matt-goldman and considering the size of the application, we have decided that this is not necessary for Northwind.  If needed, we could build another reference architecture in future to demonstrate this.


⚠ Shadow Does Streams has degraded performance

In 50d6113, Shadow Does Streams (https://stream.everythingbagel.me) experienced degraded performance:

HTTP code: 200
Response time: 4759 ms

Resolved: Shadow Does Streams performance has improved in 860b26d after 10 minutes.


Fix typo in README.md, clietn -> client

Thanks for all your hard work! Noticed this one-character typo in the docs.

Please answer the following questions and leave the below in as part of your PR.

[x] I have read the developer documentation.

[ ] This PR corresponds to an issue with a clear problem statement.

[ ] This PR contains a test to prevent against future regressions

[ ] I have updated the CHANGELOG.md file with a description of the addressed issue.

Thanks!


Possible to turn on/off group of containers based on a compose file ?

Is it possible to turn on/off a group of containers based on a docker-compose.yml ?
For example if I have three dockers as a part of an application that are started/stopped by a single docker-compose.yml , can I make  a single switch to turn on/off or would it require separate switches ?
Thank You,

Not really, the information is not easily exposed and then still ... it becomes tricky, I would recommend you make it a separate trigger with multiple actions (e.g. 3 restarts, in the order you like).


v0.0.4 version bump & changelog update

v0.0.4 - 2023-08-03 - Stay off the network unless you really need it

Rework mode_of_operation to be fetched on-demand rather than during init
so that the provider can be created w/o access to or credentials for the
server. This should allow things like octodns-validate w/o connectivity.

/cc @fjaeckel

/cc https://pypi.org/project/octodns-powerdns/0.0.4/


Add package-lock file

Lock file was generated with npm 6.0.1.

@unindented, adding npm's package-lock file. It wasn't explicitly git-ignored, so I surmised it may just not ever have been generated and added before.

@unindented, here you go, sir. I verified in the Travis details that this ran successfully against node 10.

Good stuff. Thanks!


feat: address cmp

@npmccallum I need this for my mm code in the shim-sgx. Otherwise I have to diverge, and implement similar ad-hoc construct.

@jarkkojs I think this PR is invalid. I copied your tests locally without any changes and they all pass.

@jarkkojs See https://github.com/enarx/primordial/pull/16 . Notice that this PR just contains tests and does not contain the "fixes." All the tests pass.

@jarkkojs Okay. I figured out the problem you're seeing. It is just that your tests don't actually test it. The problem is that deriving traits like Eq causes the compiler to generate a bound on the U type even though it is not use (because of PhantomData). So here's what I want to see:

A test which actually fails.
You need to fix the Offsets type too.

@jarkkojs I merged this instead. Closing.


specify data structure for a component

A component should be able to contain other components, and/or be associated with one or more interfaces or tasks - as per the CubeSat Mission Design Based on a Systems Engineering Approach Sharan A. Asundi, Norman G. Fitz-Coy, IEEE Aerospace Conference, 2013

As of Aug 8, 2021, DOF framework now includes a data structure for a function. Open PR for an interface in progress

closing, as DOF-Component should suffice, if not will be extended, to satisfy this issue


[Accessibility Request] Table 36 Sales Header HideCreditCheckDialogue

Hello,
Currently, the global variable "HideCreditCheckDialogue" in Table 36 Sales Header is inaccessible due to its protection level.
I need the following 2 functions added to be able to access it: (just like the functions for "HideValidationDialog")
procedure SetHideCreditCheckDialogue(NewHideCreditCheckDialogue: Boolean)
begin
    HideCreditCheckDialogue := NewHideCreditCheckDialogue;
end;

procedure GetHideCreditCheckDialogue(): Boolean
begin
    exit(HideCreditCheckDialogue);
end;

Thanks in advance,
Jerry Tyssen
Cegeka

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


is it not work IPhone 14 Pro && IOS 17.0.2, 17.0.3❓

Question
I am using version 2.15.4 and also using react-native 0.70.5 version
The camera components are brought in, but they don't seem to work when you take a picture.
It operates normally on other devices.
It also works on iPhone 12 and iOS17 However, it does not work with iPhone 14 Pro and IOS 17.0.2, 17.0.3.
Is there a solution?
What I tried
I want to test by uploading the version of the vision camera, but xcode 15 also does not allow the connection of the ios17 to the practical machine test. The photographing function is not activated in the emulator, so it cannot be tested.
VisionCamera Version
2.15.4
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

Not a question. Should've been a bug report. Not enough details.


[BUG] Incorrect Name Display for White Mangrove Door from BYG

Important Information
Minecraft Version: 1.19.2
Forge Version: 43.1.43
DramaticDoors Version: 2.1.3
Describe the bug
The block name for the Tall White Mangrove Door from BYG is not displayed correctly in the tooltips, it shows the block ID instead,
To Reproduce
Steps to reproduce the behavior:

Have BYG and Dramatic Doors installed
Check the block name for the tall white mangrove door through JEI or WALIA/WTHIT
See the bug

Expected behavior
The door name should be displayed correctly ("Tall White Mangrove Door")
Screenshots

Thank you for reporting, I will look into fixing it!

Seems to be fixed in the new mod release (version 2.1.5).

It was no problem! I made sure the fix is applied and here we go! <3


Webpack -- typings issue with firebase

OS:
   Windows10

Versions:
  angular-cli: 1.0.0-beta.11-webpack
  node: 6.3.0
  os: win32 x64

Previously the build worked fine.  Went through the steps to migrate to webpack and build cant find firebase. Here are the deps from my project
  "dependencies": {
    "@angular/common": "2.0.0-rc.4",
    "@angular/compiler": "2.0.0-rc.4",
    "@angular/core": "2.0.0-rc.4",
    "@angular/forms": "^0.2.0",
    "@angular/http": "^2.0.0-rc.4",
    "@angular/platform-browser": "^2.0.0-rc.4",
    "@angular/platform-browser-dynamic": "^2.0.0-rc.4",
    "@angular/router": "^3.0.0-beta.2",
    "@angular2-material/button": "^2.0.0-alpha.6-2",
    "@angular2-material/card": "^2.0.0-alpha.6-2",
    "@angular2-material/checkbox": "^2.0.0-alpha.6-2",
    "@angular2-material/core": "^2.0.0-alpha.6-2",
    "@angular2-material/grid-list": "^2.0.0-alpha.6",
    "@angular2-material/icon": "^2.0.0-alpha.6-2",
    "@angular2-material/input": "^2.0.0-alpha.6-2",
    "@angular2-material/list": "^2.0.0-alpha.6-2",
    "@angular2-material/progress-bar": "^2.0.0-alpha.6",
    "@angular2-material/progress-circle": "^2.0.0-alpha.6-2",
    "@angular2-material/radio": "^2.0.0-alpha.6-2",
    "@angular2-material/sidenav": "^2.0.0-alpha.6-2",
    "@angular2-material/tabs": "^2.0.0-alpha.6",
    "@angular2-material/toolbar": "^2.0.0-alpha.6-2",
    "angularfire2": "^2.0.0-beta.2",
    "firebase": "^3.1.0",
    "firebase-tools": "^3.0.4",
    "core-js": "^2.4.0",
    "reflect-metadata": "0.1.3",
    "rxjs": "5.0.0-beta.6",
    "ts-helpers": "^1.1.1",
    "zone.js": "0.6.12"
  },

Console output:
Version: webpack 2.1.0-beta.18
Time: 7918ms
              Asset     Size  Chunks             Chunk Names
     main.bundle.js  3.52 MB    0, 2  [emitted]  main
polyfills.bundle.js   230 kB    1, 2  [emitted]  polyfills
          inline.js  4.96 kB       2  [emitted]  inline
           main.map  3.98 MB    0, 2  [emitted]  main
      polyfills.map   292 kB    1, 2  [emitted]  polyfills
         inline.map  5.13 kB       2  [emitted]  inline
         index.html  2.77 kB          [emitted]
         .npmignore  0 bytes          [emitted]
chunk    {0} main.bundle.js, main.map (main) 3.39 MB {1} [initial] [rendered]
chunk    {1} polyfills.bundle.js, polyfills.map (polyfills) 194 kB {2} [initial] [rendered]
chunk    {2} inline.js, inline.map (inline) 0 bytes [entry] [rendered]

WARNING in ./~/angularfire2/angularfire2.js
Cannot find source file './/angularfire2.ts': Error: Can't resolve './/angularfire2.ts' in 'E:\Source\service-tracker-webpack\node_modules\angularfire2'
 @ ./src/app/core/firebase/index.ts 2:0-100
 @ ./src/main.ts
 @ multi main

...

ERROR in [default] E:\Source\service-tracker-webpack\node_modules\angularfire2\utils\firebase_object_observable.d.ts:7:101
Cannot find namespace 'firebase'.

ERROR in [default] E:\Source\service-tracker-webpack\node_modules\angularfire2\utils\firebase_object_observable.d.ts:9:21
Cannot find namespace 'firebase'.

ERROR in [default] E:\Source\service-tracker-webpack\node_modules\angularfire2\utils\firebase_object_observable.d.ts:10:27
Cannot find namespace 'firebase'.

ERROR in [default] E:\Source\service-tracker-webpack\node_modules\angularfire2\utils\firebase_object_observable.d.ts:11:14
Cannot find namespace 'firebase'.

Child html-webpack-plugin for "index.html":
         Asset     Size  Chunks       Chunk Names
    index.html  4.86 kB       0
    chunk    {0} index.html 2.8 kB [entry] [rendered]

I had this exact issue and couldn't find a cleanly documented way to fix it. For the missing source warning you need to add  path.resolve(projectRoot, 'node_modules/angularfire2'), to the excludes for the source-map-loader in node_modules/angular-cli/addon/ng2/models/webpack-build-common.ts. It should look like this:
 module: {
      preLoaders: [
        {
          test: /\.js$/,
          loader: 'source-map-loader',
          exclude: [
            path.resolve(projectRoot, 'node_modules/rxjs'),
            path.resolve(projectRoot, 'node_modules/@angular'),
            path.resolve(projectRoot, 'node_modules/angularfire2'),
          ]
        }
      ],

For the namespace problem you need to add the typings file for firebase like documented in the angularfire2 docs. I also needed to edit src/typings.d.ts to include /// <reference path="../typings/index.d.ts" />.
I know editing webpack-build-common.ts is bad but it fixed the annoying warnings.

I had the same warning when using another npm dependency.  I hope to see a solution to this soon.

@TheLarkInn: I'm going to assign this to you.  Even though this is Firebase's fault (to release sourcemaps without inline source), we will encounter many more libraries that make that mistake. I suggest we ignore all node_modules sourcemaps.
What do you think?

I think we can do that. Do we have an issue to tie this too so we can track it on Firebase's side too?
CC @davideast

@moneal this didn't work for me. I'm still getting these errors.
ERROR in [default] ./node_modules/angularfire2/database/database.d.ts:9:28
Cannot find namespace 'firebase'.


SourceInfo: make all parts optional

This resolves the delaborator dilemma of how to inject synthetic positions without adding whitespace information and makes syntax transformations that might want to leave some of the actual formatting to the pretty printer more flexible in general.

merged


🐞 Bug: the rendering of the last item under a list disappears when hybrid modes includes normal

Before reporting:

[X] Ensure that the issue is reproducable on the main branch.
[X] Ensure that there isn't an issue on this(either open or closed).

Problem:
When using hybrid_modes = { "n" } and the cursor is underneath a list but inside of the same heading, the rendering of the last line disappears. It doesn't appear to matter if the last item is a part of the list (see second video). If the user moves the cursor to the next heading area, the items render correctly again.
https://github.com/user-attachments/assets/e40c4367-d41f-46f2-8904-29dd24be72d1
https://github.com/user-attachments/assets/0994010a-855a-483f-a039-14d5486b82c9
Steps to reproduce the issue:

Have lazy.nvim and markview.nvim installed
Init Markview with the following settings:

{
    "OXY2DEV/markview.nvim",
    dependencies = { "nvim-treesitter/nvim-treesitter", },
    opts = { hybrid_modes = { "n" } }
}

Expected behavior:
While using normal mode as a hybrid mode, the only line that should derender is the line the cursor is currently on.
Neovim version:
NVIM v0.11.0-dev-1401+g7e1c1ff7fc

This is an issue with the markdown parser itself.
A lot of the syntax bleeds outside of their ranges.
I will add a patch to the ranges, but it will take a while.

This is an issue with the markdown parser itself

Thank you for the info. I will try and find an open issue and, if I cannot find one, I will create an issue there.
I don't personally expect a patch on your end, though that is thoughtful. It is the parser's problem, not yours.

I don't personally expect a patch on your end,

The reason the patch will be on my end is due to different language specifications.
If for whatever reason the language specifications that the parser follows assumes the ranges are correct then it will not be changed in the parser.

Hi, I would like to comment that the rendering of the first and last lines of a code block also disappears when hybrid mode includes normal and the current line is not the last and neither the first.


Have more clarity around "x-ms-client-principal"

As someone who is new to the Static Web Apps and EasyAuth authentication, it is not transparent on where x-ms-client-principal comes from. It seems it is implied that http requests made to functions would somehow include this in the headers, but when using something like Chrome Dev Tools, this header does not exist. The only thing that stands out is the StaticWebAppsAuthCookie.
It would be nice to have some explanation for people new to SWA.

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

ID: 89705f24-082e-d4e9-547c-1992db4470cb
Version Independent ID: 5df6b7d0-7e8a-f6c5-ea28-289b9a0ca84e
Content: Accessing user information in Azure Static Web Apps
Content Source: articles/static-web-apps/user-information.md
Service: static-web-apps
GitHub Login: @craigshoemaker
Microsoft Alias: cshoe

This article is updated with a note that describes how the header is set via the edge nodes.
Thanks for the feedback, @kickertw!
#please-close


Enable strict mode for typescript and fix issues.

fixes #324

Hi @hinogi, nice work, I need to checkout the branch and check more in depth to give you inputs. I will do it asap!

Hi @hinogi, nice work, I need to checkout the branch and check more in depth to give you inputs. I will do it asap!
The "good-first-issue" label is not well accurate... 😄

oh well, I already have seen some gigantic good-first-issue in some repos like implementing this complete thing. Or just have a look what a good-first-issue is in the vscode repo :)

ok seems my work is done :)


Compile error: TabularOutputPrinterTest.should_mention_number_of_results:98

I get compile error
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR]   TabularOutputPrinterTest.should_mention_number_of_results:98
Expecting actual:
  "Found 1 results

  Coordinates                        Last updated
  ===========                        ============
  org.codehaus.plexus:plexus-utils   27 Aug. 2021 at 02:08 (MESZ)

"
to contain:
  "Found 1 results"
[INFO]
[ERROR] Tests run: 81, Failures: 1, Errors: 0, Skipped: 0

on main branch and v0.3.4 tag. with
$ java --version
openjdk 17.0.7 2023-04-18
OpenJDK Runtime Environment Temurin-17.0.7+7 (build 17.0.7+7)
OpenJDK 64-Bit Server VM Temurin-17.0.7+7 (build 17.0.7+7, mixed mode, sharing)

This is a very strange test failure, @somera.  As you can see from the output you have supplied, the actual output does contain the expected text ("Found 1 results"). I'm using the exact same version of Java and I'm not seeing such test failures.
Can you provide some more detail, such as:

Which operating system and version are you using?
What is the exact command you use to invoke Maven?
What version of Maven are you using?
Is it consistently failing, or randomly?

This is a very strange test failure, @somera. As you can see from the output you have supplied, the actual output does contain the expected text ("Found 1 results"). I'm using the exact same version of Java and I'm not seeing such test failures.
Can you provide some more detail, such as:

Which operating system and version are you using?

Windows 10

What is the exact command you use to invoke Maven?

mvn clean install

What version of Maven are you using?

$ mvn --version
Apache Maven 3.9.1 (2e178502fcdbffc201671fb2537d0cb4b4cc58f8)
Maven home: D:\bin\apache\apache-maven-3.9.1
Java version: 17.0.7, vendor: Eclipse Adoptium, runtime: D:\bin\Java\jdk-17.0.7+7
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Is it consistently failing, or randomly?

consistently

Thanks for your detailed answers, @somera.
The only difference is the operating system, as you are using Windows while I am using macOS on my primary machine. But there's a CI job running on Microsoft Windows Server 2022 where the test case does not fail.
I hope you can debug why it is failing, as I can't reproduce the problem and it's also not failing on any of my other machines (Ubuntu 23.04 or Windows 10).

I will take a look in the next days.

Looks strange, cause tha value of
        var table = buffer.toString();
        assertThat(table).contains("Found 1 results");

is

It should work.

But it works with
        var table = buffer.toString();
        assertThat(table).contains("org.codehaus.plexus:plexus-utils");

I don't know wtyh its not working with Found 1 results