Conga

In this PR we implement a new interface for the conga method created by @campospinto
the following changes are made:

Add conga example for 2D source problems in H1 (including Poisson)
Add conga example for 2D source problems in Hcurl (including time-harmonic Maxwell)
Add conga example for 2D eigenvalue problems in Hcurl (for curl-curl and grad div operators)
Add conga example for a magnetostatic problem in mixed (H1 - Hcurl) form
Update the DirectionalDerivativeOperator signature for the tosparse and toarray methods

Why do we need an __init__.py file in the directory psydac/feec/multipatch/examples/?
We don't need it, so I will delete it

I am fine with most of the files here, but it seems to me that the commit history from the curl-conga branch has been lost in this PR, or at least I am not able to see it
yes, the commit history is lost here, I created a branch starting from devel and copied the feec/multipatch files, I don't know how we can keep the commit history, maybe @yguclu has an idea

I am fine with most of the files here, but it seems to me that the commit history from the curl-conga branch has been lost in this PR, or at least I am not able to see it

yes, the commit history is lost here, I created a branch starting from devel and copied the feec/multipatch files, I don't know how we can keep the commit history, maybe @yguclu has an idea

There is no way to keep the commit history. Even the commit history of this new branch will be lost after merging the PR, because we use a squash commit. If there is some important piece of information that should not be lost, I suggest to expand the PR description, which will be used as commit message when merging.

Why do we need an __init__.py file in the directory psydac/feec/multipatch/examples/?

we actually need it, because the hcurl eigenvalue problem uses hcurl source problem

In this PR we implement a new interface for the conga method created by @campospinto the following changes are made:

Add conga example for the Poisson problem
Add conga example for the time-harmonic maxwell problem
Add conga example for the eigenvalue problem for the time-harmonic Maxwell equation
Add conga examples for the mixed problem
Update the DirectionalDerivativeOperator signature for the tosparse and toarray methods

I would rather describe the PR as:

Add conga example for 2D source problems in H1 (including Poisson)
Add conga example for 2D source problems in Hcurl (including time-harmonic Maxwell)
Add conga example for 2D eigenvalue problems in Hcurl (for curl-curl and grad div operators)
Add conga example for a magnetostatic problem in mixed (H1 - Hcurl) form

In this PR we implement a new interface for the conga method created by @campospinto the following changes are made:

Add conga example for the Poisson problem
Add conga example for the time-harmonic maxwell problem
Add conga example for the eigenvalue problem for the time-harmonic Maxwell equation
Add conga examples for the mixed problem
Update the DirectionalDerivativeOperator signature for the tosparse and toarray methods

I would rather describe the examples in this PR as:
* Add conga example for 2D source problems in H1 (including Poisson)

* Add conga example for 2D source problems in Hcurl (including time-harmonic Maxwell)

* Add conga example for 2D eigenvalue problems in Hcurl (for curl-curl and grad div operators)

* Add conga example for a magnetostatic problem in mixed (H1 - Hcurl) form

fixed

ok so:

please specify that the Matrix is a StencilInterfaceMatrix

I still don't undersand what are the returned indices (in particular
if the corners are not dofs in a H1-space)

Le 3/10/22 à 10:02 AM, Said Hadjout a écrit :

@.**** commented on this pull request.

In psydac/feec/multipatch/operators.py
https://github.com/pyccel/psydac/pull/185#discussion_r823490356:

new_interface = []

for i in interface:

   if i.minus in bd1+bd2:

       if i.plus in bd2+bd1:

           new_interface.append(i)

if len(new_interface) == 1:

   return new_interface[0]

if len(new_interface)>1:

   raise ValueError('found more than one interface for the corners {} and {}'.format(corner1, corner2))

return None

+def get_row_col_index(corner1, corner2, interface, axis, V1, V2):
the Matrix is a StencilInterfaceMatrix, corners can be whatever not
only for dofs of H1-type spaces, but in our case we are only using
them for H1-types spaces, but the function is general
—
Reply to this email directly, view it on GitHub
https://github.com/pyccel/psydac/pull/185#discussion_r823490356, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABWD2FNMSZINPOFJUT77GDLU7G3D7ANCNFSM5OUNZ5WQ.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Martin Campos Pinto
Laboratoire JL Lions
CNRS & UPMC, Paris
www.ljll.math.upmc.fr/~campos

regarding https://github.com/pyccel/psydac/pull/185#discussion_r823486871
if the DiscreteDerhamMultipatch doesn't work on a single patch domain this should be stated.

regarding https://github.com/pyccel/psydac/pull/185#discussion_r823487926
then it should probably be specified that "we pass only one mapping that contains all the other mappings".
Is this a kind of 'multipatch mapping' ?

regarding https://github.com/pyccel/psydac/pull/185#discussion_r823493924
"Each patch has 4 corners in 2D, the interface between two corners is the one that contains the two corners, so we are talking about single vertices shared by several patches "
you probably mean "different vertices in a single patch" then

regarding https://github.com/pyccel/psydac/pull/185#discussion_r823495383
"the function can return one interface or nothing "
ah ok I had missed the last check, thanks

regarding https://github.com/pyccel/psydac/pull/185#discussion_r823496649
"the boundary is part of a patch so it will return the index of the patch "
ok can you  specify this in the docstring ?
Also please correct the description of the returned value, its confusing

regarding https://github.com/pyccel/psydac/pull/185#discussion_r823500386:
"this is part of Sympde, but we have two types of corners, you can see them as |BoundaryCorners| and |InterfaceCorners|
each patch in 2D has 4 |BoundaryCorners| and the |InterfaceCorner| may or may not exist between two patches"
can you give a pointer to the explanations in SymPDE then ?

ok so: - please specify that the Matrix is a StencilInterfaceMatrix - I still don't understand what are the returned indices (in particular if the corners are not dofs in a H1-space) Le 3/10/22 à 10:02 AM, Said Hadjout a écrit :
…
@.**** commented on this pull request. ------------------------------------------------------------------------ In psydac/feec/multipatch/operators.py <#185 (comment)>: > + + new_interface = [] + + for i in interface: + if i.minus in bd1+bd2: + if i.plus in bd2+bd1: + new_interface.append(i) + + if len(new_interface) == 1: + return new_interface[0] + if len(new_interface)>1: + raise ValueError('found more than one interface for the corners {} and {}'.format(corner1, corner2)) + return None + + +def get_row_col_index(corner1, corner2, interface, axis, V1, V2): the Matrix is a StencilInterfaceMatrix, corners can be whatever not only for dofs of H1-type spaces, but in our case we are only using them for H1-types spaces, but the function is general

okay I will specify that the dofs are for H1-type spaces, because we use them only in that case
done in 3cb6740

regarding #185 (comment)
if the DiscreteDerhamMultipatch doesn't work on a single patch domain this should be stated.

done in 3cb6740

regarding #185 (comment)
then it should probably be specified that "we pass only one mapping that contains all the other mappings". Is this a kind of 'multipatch mapping' ?

done in 3cb6740

regarding #185 (comment)
"the Matrix is a StencilInterfaceMatrix, corners can be whatever not only for dofs of H1-type spaces, but in our case we are only using them for H1-types spaces, but the function is general "
can you please specify that the Matrix is a StencilInterfaceMatrix ?
And I still don't understand what are the returned indices (in particular if the corners are not dofs in a H1-space)

we only use this function for dofs of H1 spaces,  so I updated the docstring accordingly in 3cb6740

regarding #185 (comment)
"the boundary is part of a patch so it will return the index of the patch "
ok can you specify this in the docstring ?
Also please correct the description of the returned value, its confusing

done in 3cb6740

regarding #185 (comment):
"this is part of Sympde, but we have two types of corners, you can see them as |BoundaryCorners| and |InterfaceCorners| each patch in 2D has 4 |BoundaryCorners| and the |InterfaceCorner| may or may not exist between two patches"
can you give a pointer to the explanations in SymPDE then ?

we don't have that explained in Sympde either

regarding #185 (comment)
"Each patch has 4 corners in 2D, the interface between two corners is the one that contains the two corners, so we are talking about single vertices shared by several patches "
you probably mean "different vertices in a single patch" then

this function returns the interface of a shared (physical) vertex between two patches, if the interface exists otherwise it returns None

regarding #185 (comment):
"this is part of Sympde, but we have two types of corners, you can see them as |BoundaryCorners| and |InterfaceCorners| each patch in 2D has 4 |BoundaryCorners| and the |InterfaceCorner| may or may not exist between two patches"
can you give a pointer to the explanations in SymPDE then ?

we don't have that explained in Sympde either

I'm sorry but I don't see how this explains the docstring...
Also, "The corners that construct the interface corner": what does that mean ?

regarding #185 (comment):
"this is part of Sympde, but we have two types of corners, you can see them as |BoundaryCorners| and |InterfaceCorners| each patch in 2D has 4 |BoundaryCorners| and the |InterfaceCorner| may or may not exist between two patches"
can you give a pointer to the explanations in SymPDE then ?

we don't have that explained in Sympde either

I'm sorry but I don't see how this explains the docstring...
Also, "The corners that construct the interface corner": what does that mean ?

the dostring is updated here b5ee25a

you probably mean "different vertices in a single patch" then
Le 3/10/22 à 10:07 AM, Said Hadjout a écrit :

@.**** commented on this pull request.

In psydac/feec/multipatch/operators.py
https://github.com/pyccel/psydac/pull/185#discussion_r823493924:

+def get_patch_index_from_face(domain, face):

if domain.mapping:

   domain = domain.logical_domain

if face.mapping:

   face = face.logical_domain

domains = domain.interior.args
if isinstance(face, Interface):

   raise NotImplementedError("This face is an interface, it has several indices -- I am a machine, I cannot choose. Help.")

elif isinstance(face, Boundary):

   i = domains.index(face.domain)

else:

   i = domains.index(face)

return i

+def get_interface_from_corners(corner1, corner2, domain):
Each patch has 4 corners in 2D, the interface between two corners is
the one that contains the two corners, so we are talking about single
vertices shared by several patches
—
Reply to this email directly, view it on GitHub
https://github.com/pyccel/psydac/pull/185#discussion_r823493924, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABWD2FKY7KMSDQBLQLRHUW3U7G3TJANCNFSM5OUNZ5WQ.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Martin Campos Pinto
Laboratoire JL Lions
CNRS & UPMC, Paris
www.ljll.math.upmc.fr/~campos


I cannot synchronize my settings with my current computer.

Issue Type: Bug
I have a problem when I want to synchronize all the settings to the new computer, it happens that I already entered my Microsoft account data inside VSCode, but when I want to synchronize the settings I get an error, and it is the following link:

Error while turning on Settings Sync. Please check logs for more details.
[2021-04-01 15:17:34.898] [settingssync] [info] Request failed https://vscode-sync.trafficmanager.net/v1/manifest

When the link comes up, I only get the text:
"No authorization header"
VS Code version: Code 1.55.0 (c185983a683d14c396952dd432459097bc7f757f, 2021-03-30T16:03:00.337Z)
OS version: Windows_NT ia32 6.1.7600

System Info

Item
Value

CPUs
Intel(R) Pentium(R) CPU        P6100  @ 2.00GHz (2 x 1995)

GPU Status
2d_canvas: unavailable_softwaregpu_compositing: disabled_softwaremultiple_raster_threads: disabled_offoop_rasterization: disabled_offopengl: disabled_offprotected_video_decode: disabled_offrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_software

Load (avg)
undefined

Memory (System)
2.30GB (0.83GB free)

Process Argv
--crash-reporter-id a1e9e6c0-7002-4224-8d41-36b080eddbc2

Screen Reader
no

VM
0%

Extensions: none

It's done. Thanks.


Cannot create s3 bucket with more than 2 characters

Just installed moto and works flawlessly. I use the standalone server to mock tests for NodeJS. I have the server running (moto_server s3 -p 4568). Then I do this:
var aws = require('aws-sdk'),
    s3 = new aws.S3({
        'accessKeyId': 'a',
        'secretAccessKey':'b',
        'endpoint':'http://localhost:4568',
        'region': 'eu-west-1'
    });

s3.createBucket({
        Bucket:'ab'
    }, function(e,a){
        console.log(e);
        console.log(a);
        done();
    });

If Bucket is one or two characters long this works. But if it is more than 2 characters long I get this error:
{ [UnknownEndpoint: Inaccessible host: `somethingLong.localhost'. This service may not be available in the `eu-west-1' region.]
  message: 'Inaccessible host: `somethingLong.localhost\'. This service may not be available in the `eu-west-1\' region.',
  code: 'UnknownEndpoint',
  region: 'eu-west-1',
  hostname: 'somethingLong.localhost',
  retryable: true,
  originalError:
   { [NetworkingError: getaddrinfo ENOTFOUND somethingLong.localhost a-b.localhost:4568]
     message: 'getaddrinfo ENOTFOUND somethingLong.localhost a-b.localhost:4568',
     code: 'NetworkingError',
     errno: 'ENOTFOUND',
     syscall: 'getaddrinfo',
     hostname: 'somethingLong.localhost',
     host: 'somethingLong.localhost',
     port: 4568,
     region: 'eu-west-1',
     retryable: true,
     time: Fri Mar 11 2016 14:23:14 GMT+0100 (CET) }

Why is this?

Can you try this again against HEAD. Some recent changes have likely fixed it.

Thanks for the notification, I'll check this somewhere this week when I have time

Yup, it works! Thanks!

@spulec Could you document what changed here? I found this issue after experiencing something very like it on Moto 1.0.1--I figured out before I resubmitted the bug that if I turned on force_path_style: true in the AWS SDK for Ruby (2.10.7) it'd work with moto standalone, but without it it would always time out on networking attempting to create a larger bucket. I'm not as familiar with the behavior of the s3 API...was there some code in moto_server that would change the default client behavior, perhaps with a different redirect? Would a default request ever work?

I've also found this with moto 1.1.25, and also worked around it by using s3ForcePathStyle: true. (Slightly different syntax since I'm using nodejs.)


Guidence on dotnet core RPC

WCF (server) isn't coming to .NET Core. Great, but the workloads it enabled are mostly left out in the cold.
Specifically the convenient ability to have fast, .NET <-> .NET, low ceremony RPC.
We really need to start migrating our old WCF code to core and are not sure on what path to target. I know we can whip up a REST interface with ASP.NET, but that still isn't as simple for the client as the shared model approach that WCF made possible for tightly coupled services.
I've been nosy and saw https://github.com/grpc/grpc-dotnet/ can I interpret this project as an official direction for RPC workloads on .NET Core?

👀
https://github.com/grpc/grpc-dotnet/pull/63#issuecomment-460698855

davidfowl commented 38 minutes ago
I disagree. Experimental means that we don't know if this is going to work, not that it's going to ship eventually but we're in the early phases right now. We use that experimental term for actual experiments that we're trying to figure out if it'll work out. I'd rather say something like this is under active development and there's no release for it as yet. That's much more the reality of the situation rather than calling it an experiment.

Perfect! I figured it was too early for firm commitments of direction, but acknowledgement of support from an architect is plenty good for me.
P.S.
Please don't forget about Bond over GRPC. It's not as popular as protobufs, but it brings some great features to the table that bring it pretty much up to parity with WCF on functionality.
...except the flexible transports like named pipes and such but you can't win them all.


Modal with Legacy context api and findDOMNode warnings on console when open

components: Modal
reactstrap version "^8.7.1"
import method umd/csj/es
react version ^17.0.1
bootstrap version ^4.5.3

What is happening?
I'm using modal by reactstrap in a project, when this modal is open it appears a few warnings in the console

What should be happening?
Not showing warnings i guess

Steps to reproduce issue

Open console
Open an reactstrap modal

Error message in console
Error 1
index.js:1 Warning: Legacy context API has been detected within a strict-mode tree.

The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.

Please update the following components: Transition

Error 2
Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition which is inside StrictMode. Instead, add a ref directly to the element you want to reference.

Dupe of #1833

Dupe of #1833


[CT-1101] 024_custom_schema_tests

resolves #5732

Description

Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have opened an issue to add/update docs, or docs changes are not required/relevant for this PR
[x] I have run changie new to create a changelog entry

@colin-rogers-dbt this is looking fantastic! a few small things I saw are that for test conversions we typically actually skip the changelog entry (as we see it as just a adjustment of current functionality), and that there isn't currently a PR for the dbt-snowflake version of this test.

@colin-rogers-dbt this is looking fantastic! a few small things I saw are that for test conversions we typically actually skip the changelog entry (as we see it as just a adjustment of current functionality)

makes sense, should I just delete the entry?

there isn't currently a PR for the dbt-snowflake version of this test.

Will raise a pr there to delete/migrate the tests in dbt-snowflake, do I need to check the other adapters as well?

yes should just be able to delete the entry then apply the skip changelog label to your pr so it skips that check
and I believe snowflake is the only other adapter to have a modified version of this test but yeah double checking is always good! 👍


cacheKeyWillBeUsed - advanced usage

Hi @jeffposnick
I have a couple of questions/issues that I think you might be able to help..
ISSUE 1)
When user logs in, I make a request to third-party API - https://example.com/insight?userId=123&minDateCreated=12949129. If user refreshes the page, I make this call again. So every refresh causes this url to get called via axios. Of course, minDateCreated parameter changes in the url depending on what time it is.
Now, if user logs out,  and other user logs in, what's gonna happen is the url is gonna get called with different userId.
Here is how I use workbox for this.
async function cacheKeyWillBeUsed({request, mode}) {
    const url = new URL(request.url || request,  config.api.url);
    // Remove only paramToBeIgnored and keep other URL parameters.
    url.searchParams.delete('minDateCreated');
    // Return the full remaining href.
    return url.href;
}

registerRoute(
    new RegExp(`${config.api.url.replace(/\./g,'\\.')}.*/insight`),
    new NetworkFirst({
      cacheName: 'my-cache-name',
      plugins: [{ cacheKeyWillBeUsed }],
    }),
)

So, this code makes sure that urls get cached looks like this: https://example.com/insight/?userId=123 without minDateCreated. Now, if user logs out and some other user logs in, the new entry is gonna be added here. if 10 users use the same phone, 10 entries. Each entry might be a little bit big and it's of course would be a much better practice to remove the entries that no longer are needed.
Do you think It will be a good idea if in the function above cacheKeyWillBeUsed, I will check what url request is being made and remove all the other entries that don't match the currently requested on via the help of caches.delete.  As this function(cacheKeyWillBeUsed) gets called each time, maybe you have a better idea than calling caches.delete each time due to performance. Of course, there's also a way to remove that cache when user logs out. but i am looking for other ideas by using simply workbox.
Issue 2)
My first project uses my second project from which it fetches url at run-time. My second project contains:

main.hash123.js
time-reveal.hash456.js
phaser.hash123.js
manifest.json

When my project loads, it fetches manifest.json from the 3rd party via axios and whatever is in manifest.json, it takes all those and makes requests and loads them. So in above case, by the help of manifest.json, we would load all of those.  Now, of course, my second project might change which will cause the hashes to change of those above files and new ones(because of new hashes) will also be cached alongside the old ones. So, what could be done in this case to remove old ones? The big problem is that we have more than 1 file(as you can see , 4) and the requests for 2 files happen after some time then the requests for other 2 files.  So, i can't just use cacheKeyWillBeUsed to loop through the caches and delete the old ones since i have no way of knowing which one to remove at that point.
I appreciate your answers in advance....

@jeffposnick
Just a kind reminder if you've missed this.
I kind of need this ASAP if you don't mind taking some time to answer
Thanks in advance.

For your first question, I think an approach similar to what's described in the hypothetical cacheDidUpdate plugin in https://github.com/GoogleChrome/workbox/issues/2534#issue-635754570
Cleaning up entries in cacheDidUpdate is a better approach that doing that in cacheKeyWillBeUsed, because cacheDidUpdate will happen after the Response has been returned to the page, so it is less likely to block anything important.
I am fairly sure that same issue (which deals with eventually cleaning up old hashed URLs that are cached at runtime) will also address you second question.

@jeffposnick Thanks for this ..
It's exactly what I was looking for...
Do you plan on putting this(already written plugin) into v6 release ?

I would just try using a copy of it as-is in your own code for now. It's unlikely that the workbox-expiration changes would land in v6.


[QUESTION] Recover keystore

Hi guys!
Is there any way to recover the keystore configured on Android build?
I lost the keystore on my PC and there's only one place that keystore is saved is on AppCenter build configuration.
If I lose the KeyStore, I need to publish another app with another packagename and I can't do this.
Thank you so much.

@hugodantas we don't allow downloading the signing credentials stored in App Center. They're securely stored on our end, but you should still hold onto it locally. Sorry for the inconvenience!

Hello
Same problem here. I understand that the keystores have to be secured but is there a way, even if it's a support ticket to get the file and use our accounts as proof of authenticity

@muneneevans there isn't a way to do this today. Feel free to rename this issue or create a new one for a feature request to be able to do this.


Integrate a Flutter module into your iOS project but issue is not working in iOS release mode

Integrate a Flutter module into your iOS project but facing issue
1 - Integrate a Flutter module into your iOS project not working in iOS release mode - issue is Flutter sdk not available.
Firbase latest sdk not running in flutter project - issue is Error output from CocoaPods:
[!]

@bhusanpawar1604
Can you provide flutter doctor -v , flutter run --release --verbose and a complete minimal reproducible code sample that shows this issue ?

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Restream m3u playlist

Hello, if anyone can help me, can i use this software to restream my m3u playlist working for only one user to my friends? if yes how?

Like with a Media Player? Plex/Emby

Like with a Media Player? Plex/Emby If you mean more connections than your allowed, Yes, with Buffer but only 1 channel.

Yes that s what i mean, can u help me please with the full procedure knowing that what i have in hand now is only the plylist

This is more for issues rather than a help forum, please join us on Discord......https://discord.gg/uBTCeJ


Remove use of deprecated methods

I deleted some uses of deprecated methods

Can one of the admins please verify this patch?

Gooey: Test this please
ok to test

Refer to this link for build results (access rights to CI server needed):
http://jenkins.terasology.org/job/TerasologyPRs/345/
Hooray Jenkins reported success with all tests good!

Looking good - thanks! :-)
Got you added to the credits locally, ran out of time with all these nice PRs (again) from doing a release, but will update the credits before that.
Plenty of other neat ways to contribute if you're interested!


LUT can't work as a submodule

When adding it as a submodule in any repo, you can't commit the meta files for the scripts without commiting it to LUT repo.
I don't know if adding meta files in LUT would be a good option.

Now LUT is a project, it does not support being a submodule yet but we can work with Unity Package and UPM in the future.

Now LUT is a project, it does not support being a submodule yet but we can work with Unity Package and UPM in the future.
Closing it as LUT is not aimed anymore to work as a submodule


Automated Package Upgrade

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


MRGT producess error without saying which file caused the problem

Here is the proof:

The error was caused by the frontmatter having two items called glossaryTerm, and has been fixed in the meantime.
The bug here is that

while the line and column numbers were provided, the filename was not. This bug might also exist in other tools, as it seems a rather generic one.
the MRGT crashes (rather than continuing with the next curated text file), which means that other, similar errors only get noticed when this error is fixed and you bump into the next.

You're correct! The error should not fall back all the way to the instruction, instead it should be recognized that something went wrong while loading a curated text. I've added a try/catch block so a similar error will now look like this, continuing after the error is shown. I've noted this issue so I can correct this in other tools as well if it exists. I still want to go over every possible error case in the near future.


Debugbar conflict

When enabling the Laravel Debugbar livewire doesn't work.
Uncaught (in promise) TypeError: Cannot read property 'storeResponse' of null
    at e.value (livewire.js?id=8456629107e9ab1c518f:1)
    at e.value (livewire.js?id=8456629107e9ab1c518f:1)
    at Object.driver.onMessage (livewire.js?id=8456629107e9ab1c518f:1)
    at livewire.js?id=8456629107e9ab1c518f:1

Fixing this would help quite a bit in debugging the XHR requests.

Curious which debug bar are you using? The older one that has been around for a while or the newer Telescope based one?

Telescope works fine, it’s the old “laravel debug bar”.

Are both packages up to date? I’m not having any trouble with the combination.

@tillkruss try using the telescope debug bar. It is by the same person but uses telescope on the backend instead of duplicating the logic.
https://github.com/fruitcake/laravel-telescope-toolbar

Yes, both packages are up-to-date.
@calebporzio: I updated the error above with the un-minified assets.

@billriess: The Telescope toolbar works fine! 👌🏻

Installed classic debugbar, and everything works fine. Hmm, any ideas?

Maybe it was my custom config? I ended up switching to the Telescope Toolbar.

I am actually having the same problem with both debugbar and telescope toolbars.
None of them is showing up on pages that use Livewire. (any other routes are showing the toolbars fine)
The page is using Route::livewire() method but other than that the page is really simple. (I am just testing livewire at this point)
Will keep debugging.

After some debugging I found the problem to be here: https://github.com/barryvdh/laravel-debugbar/blob/master/src/DataCollector/RouteCollector.php#L61
In the case of a livewire page the value of $action['controller'] is a closure.
Adding an additional check is_string($action['controller'])  in the if statement "solves" the problem and the debugbar shows up

@chrypro - is this something you could PR to the project?


Update go tests to use gotestsum to provide high-level summary details

https://github.com/gotestyourself/gotestsum#demo

Alternatively (or perhaps in addition to), use https://github.com/bitfield/gotestdox


Middleware doesn't run at all in "layouts/error.vue" page

Version
v2.3.4
Steps to reproduce

Create a simple Nuxt app with only an index.vue page
Set the nuxt.config.js mode to spa (so the middleware can only get called on the client)
Create a layouts/error.vue page with the following content:

<template></template>

<script>
export default {
  middleware() {
    console.log("Called!");
  }
};
</script>

Navigate to any page that isn't "/"

What is expected ?
"Called!" will log to the browser console
What is actually happening?
Nothing gets logged to the browser console

This bug report is available on Nuxt community (#c8455)

This issue remains unresolved.

Not stale, and the reproduction steps are noted in the original issue. This still occurs in the latest version.

This issue is still occurring the latest version of Nuxt.js

Bumped into the same issue, would be nice if middleware or asyncData worked.

Bumping into this issue months later still. For the ones struggling - Last time around I've overcome the issue by:

Creating a catch all route with custom middleware meta:

  {
      path: '*',
      meta: {
        middleware: myMiddlewareFunc,
      },
    },

Rergistered a beforeEach hook on the router:

router.beforeEach((to, from, next) => {
    if (to.meta.middleware) {
      const middleware = [].concat(to.meta.middleware);

      // mock a fake context because the real one is not available
      const context = {
        from,
        redirect: (statusCode, url) => next(url),
        router,
        route: to,
        error: () => next(),
      };

      // support only single middleware function for now.
      return middleware[0](context);
    } else {
      next();
    }
  });

Used myMiddlewareFunc as normal (middleware/myMiddlewareFunc.js)

export default function ({ route, redirect, error }, message) {
  // do whatever
}

I haven't really given a thought to how this might work if you're using the built-in router based on filesystem and not an external one. This was enough to intercept the error render, redirect if there was a redirect defined for the url in the cms or fall through to the error page otherwise.

I am also having this issue on the latest version. Neither middleware nor asyncData run in my file layouts/error.vue.
I would like to redirect depending on the error status code, and currently the only way I can figure out how is by using beforeMount() or mounted().

same here, issue still in progress?

export default async function ({ store, route, error}) {
const data = await store.dispatch('services/getByCode', route.params.detail)
if(!data.code) {
error({ statusCode: 404, message: 'Post not found' })
}
}

We are approaching the Nuxt 2 EOL date (June 30, 2024) - see this article for more information. This is advance warning that I'm going to close this issue then, as it's currently marked as a Nuxt 2 related bug.
If it's a critical or security issue, please do comment and let me know, in case it is possible to address it before the EOL date.
If it's a an issue you think is relevant for Nuxt 3, please feel free to open a fresh issue (or just comment here so I can update labels, etc.). 🙏
Thank you for your understanding and for your contribution to Nuxt. ❤


[Not to merge] User notification mac

Prototype of platform native notifications
High level description
This PR adds the ability for VFSForGit to display native desktop notifications on the Mac. A new launchd User Agent app has been added - VFSForGit.app. The User Agent gets launched automatically during user login. It creates a UNIX domain socket and listens for incoming requests for notification display. Any client VFSForGit process that needs to notify the user (example when an upgrade is available, or when a repository mount failed), opens a communication pipe with the User Agent and sends it the text of the notification message. User Agent then uses Mac native NSUserNotification API to display the actual notification alert window to User.
The following sequence diagram demonstrates the flow of control as GVFS.Service tries to notify the user of results of auto-mount action.

User Agent app UI elements
The User Agent displays a NSStatusItem which is equivalent of the tray icon in Windows. Clicking on the NSStatusItem would show a drop down menu, with currently mounted repositories and an About VFSForGit link. The About VFSForGit link opens an about box which should currently installed version numbers for VFSForGit and Git. See the screenshots below

UI Element
Screenshot

Tray icon

Drop down menu

About Window

Sample Notification

Files changed

installer scripts (CreateMacInstaller.sh, postinstall & preinstall) to install User Agent as a launchd agent
BuildGVFSForMac.sh to build the new User Agent
GVFS.Service/Handlers/NotificationHandler.Mac.cs to connect to User Agent and send the notification request.
UT cases are updated to use Mock NotificationHandler.

Open questions

What should be the name of the User Agent. Right now it is named VFSForGit.app
Directory structure of User Agent project. Right now I've kept it inside GVFS/UserNotification. It has a Mac subdirectory assuming we'll create a Windows subdirectory for the Windows Service in future.
Contents of the User Agent UI. Right now it shows mounted repositories and link to about box.
The notifications displayed are informational. User cannot trigger any action by clicking on it.
Install location for VFSForGit.app.

Upcoming PRs

PR 1 - Boiler plate code, with User Agent project and source files.
PR 2 - Changes in VFSForGit to connect to User Agent and send notifications.
PR 3 - Unit tests of User Agent.

@alameenshah, can this PR be closed?

Cleaning up old/stale PRs.  Notifications have been added to Mac (#1146, #1176, #1202, #1289) and so this PR can be closed.


Coloring the row portion or expanding the image to the row portion from some start-date to end-date

Hi i want to color the row portion from some start-date to end-date. Which functionality should i use to achieve this. I have tried with gantt-draw-task.  I also tried with  and $scope.data = {name:"xyz", from: "",to:"", color:"some hex value"}; But this work in static manner only. How to do it dynamically. Please help me to resolve this. I will be posting the snapshot of this functionality shortly

This is the snapshot i want to color the row in this way

Maybe it's possible with a custom Task template and some canvas drawing.

how to use the custom Task template. canvas drawing is the angular js feature or HTML5 feature

Plz help me to resolve this


Commit be4e016 broke sh syntax highlighting (re shCommandSub group)

Steps to reproduce

Run Vim v9.0.1275 or later
Open a shell script
Most of the script will be highlighted as shCommandSub

This is caused by the changed line
- syn region shCommandSub matchgroup=shCmdSubRegion start="\$(\ze[^(]"  skip='\\\\\|\\.' end=")"  contains=@shCommandSubList
+ syn region shCommandSub matchgroup=shCmdSubRegion start="\$(\ze[^(]\|$"  skip='\\\\\|\\.' end=")"  contains=@shCommandSubList

Expected behaviour
Proper syntax highlighting, as before commit be4e016
Version of Vim
9.0.1307
Environment
Debian 11 gvim
Logs and stack traces
No response

Beat me to it. Same behaviour found on Arch and Artix Linux, with vim and gvim, and using --clean.

Beat me to it. Same behaviour found on Arch and Artix Linux, with vim and gvim, and using --clean. For whatever reason the bug did not show up in .zshrc but did in .bashrc and most other sh/bash scripts I tested.
Same issue as #11977

As mentioned in the other ticket, there's an updated version of runtime/sh.vim on one of the dev team members' site that you can put in ~/.vim/syntax that will fix the problem until it makes it into the repositories:
https://www.drchip.org/astronaut/vim/syntax/sh.vim.gz

@pellea72 , thanks for that link. Those syntax errors were hurting my eyes.

closing as duplicate https://github.com/vim/vim/issues/11977


[stable/metallb] Fix typo + clarify verbiage in docs.

What this PR does / why we need it:
This provides minor tweaks to MetalLB docs in two places:

In values.yaml, fixes what looks like a small copy/paste whoopsie.

In the README:

Switch to using Github-flavored Markdown link reference definitions to avoid cluttering the documentation body with inline URLs. I'm a fan, but it's easy to revert 5842cd0 if you prefer the former style.
Fixes a potentially misleading statement regarding the deletion of helm releases; namely that a release isn't actually deleted unless you provide the --purge flag (its release data is retained to allow rollbacks).

(Side note — been using MetalLB for several months now, and loving it. Awesome work, and it's been cool to see how quickly it's matured — like the TCP+UDP PR merged a couple weeks ago ==> ❤)

/assign

/ok-to-test

/lgtm

Thanks @unguiculus! 👍


Memory issue in UMAT deconstruction

I noticed while making a test to check that my partial assembly implementation is correct that the UMAT object deconstructor errors out when a QuadratureFunction is deconstructed. I need to look into what is causing these issues but it appears to be something within one of these variables:
 mfem::QuadratureFunction loc0_sf_grad;
 // The incremental deformation gradients.
 mfem::QuadratureFunction incr_def_grad;
 // The end step deformation gradients.
 mfem::QuadratureFunction end_def_grad;

It's most likely an issue in one of the following functions:
init_loc_sf_grads(fes);
init_incr_end_def_grad();

since I found that the object properly deconstructed when I'd commented these lines out.
Once I get the partial assembly and GPU implementation working, I'll get back to figuring out what the underlying issue is.

I have no idea what's causing this issue...
I've run things with the debug device backend and caught places that I missed that should be HostReadWrite(). Using the pa_test binary with the debug build things work initially, and then fails for no obvious reasons within a later test case. If instead I use the cpu device backend things fail when trying to create a vector...
gdb also isn't being super useful here. I'll try a bit more to fix things and push the changes up, but it's not obvious to me what the underlying issue is whether it's within ExaConstit or MFEM.


New: astro add support instructions for integrations and adapters

What kind of changes does this PR include?

Minor content fixes (broken links, typos, etc.)
[X] New or updated content
Translated content
Changes to the docs site code
Something else!

Description

Add "installation via astro add" instructions for integration authors
Add "installation via astro add" instructions for adapter authors

@delucis That's because we don't update your config for third party adapters! As noted at the end, users are instructed to update their config manually.


Redesigned UI

Hi Sagar Parmar,
thank you for your PR. I have reviewed your changes. Sadly, I have come to the conclusion that they do not match with my plans for the project.
The goal was to make a QR code generator, that works well for large contents. Thus I maximized the size of the QR code and the text input. Your changes do not work will in this regard (see screenshot below).

It was also designed to be in a single small file, that is quick and easy to dowload and transfer to other systems (eg via SCP, USB Stick, etc). Thus putting the CSS in a extra file (while a common practice) also goes against my design goals.
Best regards
six-two


Attestation Agent should run before the pull_image function in image_rpc.rs for provisioning secrets using get_resource API for establishing a secure channel (Issue #53)

To mitigate the attack on the kata control plane, issues #1834 and #53 discuss the idea of splitting the kata control plane into two parts for confidential containers by restricting the kata-agent API endpoints from the untrustworthy kata control plane and introducing another secure channel for accessing sensitive the kata-agent APIs.  However, to establish a secure channel (e.g., TLS) between the tenant and a secure server in the kata-agent, we need to provision secrets between them.
We can leverage the trusted KBS (relying party) to establish an attested TLS secure channel with the attestation agent within the confidential VM. This enables us to utilize the get_resource API of the attestation-agent to securely provision secrets onto the confidential VM, facilitating the setup of a secure channel with the tenant management stack.
In the current implementation of the kata-agent, the attestation-agent is instantiated once the pull_image() function in image_rpc.rs is called. This delay in the attestation agent startup restricts the usage of the get_resource API before the pull_image() function call. Thus, to support the split host/tenant APIs and potentially other use cases, it is necessary to ensure the startup of the attestation agent before the pull_image() function call.
In addition, the current code for starting the attestation-agent is embedded inside the image_rpc.rs file, perhaps due to the pull_image() function only utilizing it. However, a better idea is to refactor the initialization code of the attestation-agent from image_rpc.rs to move out the code to a separate file for a separate service.
We look forward to your response to this issue and the recommended changes.

Multiple thoughts:
What resources specifically would you like to fetch and when in the guest VM lifetime? Let's not be too abstract here :)
Do you want to make this mandatory? If so, how will the identifiers of needed resources be provided to the guest VM?
"Move out the code to a seperate file for a separate service" - why a new service? Or is this a matter of kata-agent taking a direct dependency on attestation-agent, instead of indirectly through image-rs?
Starting attestation-agent earlier seems sane. I would even suggest we start it as a systemd.service when systemd is available in the guest VM (cc: @mkulke)
Also: there is precedent for something related already, the KBS can provide the policy.json file right @fitzthum.

So, I don't know the exact reasoning for running Attestation Agent (AA) as a discrete grpc service in the VM, alongside kata-agent. Maybe the purpose is to enable Pods to retrieve sources at runtime, maybe it's required to facilitate some back and forth between containerd fork/image-rs/ocicrypt-rs/kata-agent.
But indendept from the grpc service, you could use attestation service programmatically at any given time like this:
use attestation_agent::AttestationAPIs;
use attestation_agent::AttestationAgent;

let mut attestation_agent = AttestationAgent::new();
let resource_bytes = attestation_agent
    .download_confidential_resource(CC_KBC_NAME, &cli.resource_path, &cli.kbs_uri)
    .await?;

see here.
Is this something that would work?

What resources specifically would you like to fetch and when in the guest VM lifetime?
-- We want to fetch TLS keys from KBS for setting up a gRPC server that will run side by side with the ttRPC server.
-- We want to start the gRPC server right after where the ttRPC server is started. The ttRPC server is started at line around 350 in main.rs as follows.
// vsock:///dev/vsock, port
let mut server = rpc::start(sandbox.clone(), config.server_addr.as_str())?;
server.start().await?;

The following code is something we need for the split tenancy right after where the ttRPC server starts.
// We want to fetch the TLS keys here from KBS through the attestation agent, e.g.,
retrieve_secrets().await?;

// we want to start the gRPC server here e.g.,
let gserver = rpc::rpctls::grpcstart(sandbox.clone(), config.server_addr.as_str())?;
gserver.await?;

"Move out the code to a seperate file for a separate service" - why a new service?
-- I was talking more on on-demand control of initializing the attestation agent by moving all the attestation agent initialization code to a separate file. However, currently the initialization can only be done in image_rps.rs at line 168 using the init_attestation_agent function call at line 90.
We are proposing something as follows. For example, the split tenancy requires the initialization of the attestation agent before the pull_image() function call. So, we can do something like the following after where the ttRPC server is started (line 350).
// obtaining a lock for the attestation agent and starting the agent if not started
let aa_init = aa_instance.lock().await;
aa_init.start_attestation_agent().await?;
//dropping the lock here

This will allow the pull_image() function to start the attestation agent if its not already started by obtaining the lock and calling the start_attestation_agent() function.
Is this something that would work? Regarding the example code
-- To the best of my understanding, I believe the example code assumes that the attestation initialization is already done. It will work if the AA is already running. If the AA is not running, AttestationAgent::new() will probably fail.

-- To the best of my understanding, I believe the example code assumes that the attestation initialization is already done. It will work if the AA is already running. If the AA is not running, the following will probably fail.

I don't think so, this is the sample client from the kbs repo. afaik an attestation-agent grpc app just wraps the attestation-agent library, it should do the same thing.

Starting attestation-agent earlier seems sane. I would even suggest we start it as a systemd.service when systemd is available in the guest VM (cc: @mkulke)

I prefer this way. To my understanding, Attestation-Agent is a "stub service", which can provide some services based on remote attestation for all containers in the guest VM, like

Get confidential resource --- By call the gRPC/ttrpc get_resource
Decrypt Image --- By call the gRPC/ttrpc un_wrap_key
serve as a "control-service" to receive commands from the relying party -- I think this is what split-api requires
get remote attestation report/token by containers -- I think this is what https://github.com/confidential-containers/kbs/issues/20 refer to


Updated Related Topic title

I've updated title for the related topic as it there it says JSON or CSV and not just CSV

@dplotnikov - thanks for making the docs better, much appreciated!


Migrate IBM Watson transcription to shared persistence

Update the IBM Watson transcription service to use the shared persistence module.
There should be no functional change here, so the only requirement is that the PR doesn't break anything.
During a 7.x to 8.x migration, the SQL migration script migrates the old Watson transcription job data to the new shared job table, and drops the Watson-specific table.
Resolves #1166

It would be preferable to get this into 8.0 release, otherwise the db changes have to be re-done for 9.x.


fails on ruby-3.0.2 on "Liquid Exception: No such file or directory @ rb_sysopen"

I'm running jekyll-feed-0.15.1.  It seems fine on ruby-2.7.3 (Fedora 33), but it fails on Feodra 34 with ruby-3.0.2 with the error "Liquid Exception: No such file or directory @ rb_sysopen".
Presumably this is the result of open losing the ability to open URIs, as per the 2.7 warning:
warning: calling URI.open via Kernel#open is deprecated, call URI.open directly or use URI#open
The fix is to call URI.open directly, but it's not clear where jekyll-feed is calling open.

Sorry, my error.  The problem I had was not in jekyll-feed, but in rss_feed_top_n, some custom code we got from somewhere.  Not your bug.


Updated all docs

All docs have been updated to support latest PR merge with Shared Services, MS-VDIi, & GH actions

Hi Mohit,
Not sure why it is showing 44 files has changed while I only changed few files for documentation today. Please review.

Merge conflict


Parallel Execution SpecFlow using Zalenium

Hi,
Very well written framework, thank you for all your efforts.
I'm using SpecFlow with NUnit and trying to run tests in parallel using Zalenium however I'm getting an error when running tests.
I have set the below properties in App.config file.
 <add key="browser" value="RemoteWebDriver" />
<add key="DriverCapabilities" value="Chrome" />
<add key="RemoteWebDriverHub" value="http://localhost:4444/wd/hub" />
Below is the error I'm getting.

Does anyone here know what this error is and how it can be resolved?
Thank you,

Where are you setting the "name": create a quote with manual prices" ?

I was setting the name (this.DriverContext.TestTitle = this.scenarioContext.ScenarioInfo.Title;) in the Before attribute.
Removing this has now sorted out the issue I was having.
Thanks


Unable to group Sonos players via interface - only by using "Add Group Player" but then unable to play any music

What version of Music Assistant has the issue?
2.0.0b86
The problem
I am unable to group Sonos players (Play:1 and Arc) together via the interface.
When I try to group two or more players together it just stops the music and puts all players on idle - unless the Arc is outputting TV audio, in which case it continues and other players stop. But nothing gets grouped either way.
Played around with it some more. I created a group player of Play:1 and Arc which seems to have broken things again. Group won't play any music, and also now can't play anything on individual players again - this now appears to be regardless of whether the file is hires or not. (see: https://github.com/music-assistant/hass-music-assistant/issues/1823 for reference)
Looking at the Sonos app, it's spitting out an error msg (see attached) and trying to play music on the speaker group (even though the speakers are not grouped in the Sonos app) even if I tell MA to only play on one speaker.
If i delete the Player Group, things go back to normal and i can play music to players individually but still unable to group.
How to reproduce
Try to group Sonos players together but can't. Create Player Group from Settings, unable to play music on it.
Relevant log output
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/usr/local/lib/python3.11/site-packages/soco/core.py", line 849, in stop
self.avTransport.Stop([("InstanceID", 0), ("Speed", 1)])
File "/usr/local/lib/python3.11/site-packages/soco/services.py", line 207, in _dispatcher
return self.send_command(action, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/soco/services.py", line 515, in send_command
self.handle_upnp_error(response.text)
File "/usr/local/lib/python3.11/site-packages/soco/services.py", line 571, in handle_upnp_error
raise SoCoUPnPException(
soco.exceptions.SoCoUPnPException: UPnP Error 701 received: Transition not available from <IP_ADDRESS>
2024-01-27 08:10:15.545 ERROR (MainThread) [music_assistant.webserver] [140629247423312] Error handling message: CommandMessage(message_id=36, command='players/cmd/sync', args={'player_id': 'RINCON_B8E93752747A01400', 'target_player': 'RINCON_48A6B8B07BFF01400'})
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/webserver.py", line 372, in _run_handler
result = await result
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/players.py", line 74, in wrapper
await func(self, *args, **kwargs)
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/players.py", line 671, in cmd_sync
await player_provider.cmd_sync(player_id, target_player)
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/providers/sonos/init.py", line 518, in cmd_sync
sonos_player.soco_device.join, self.sonosplayers[target_player].soco
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'SonosPlayer' object has no attribute 'soco'
2024-01-27 08:14:48.216 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (Gerald Wilson Big Band - Teri) to player Kitchen
2024-01-27 08:15:11.860 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (Gerald Wilson Big Band - Nancy Jo) to player Kitchen
2024-01-27 08:17:40.917 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (Gerald Wilson Big Band - Nancy Jo) to player Kitchen
2024-01-27 08:18:04.437 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (Gerald Wilson Big Band - Milestones) to player Kitchen
2024-01-27 08:20:16.914 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (Gerald Wilson Big Band - Milestones) to player Kitchen
2024-01-27 08:20:37.152 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (Gerald Wilson Big Band - Latino) to player Kitchen
2024-01-27 08:22:00.090 ERROR (MainThread) [music_assistant.webserver] [140629650476176] Error handling message: CommandMessage(message_id=16, command='players/cmd/sync', args={'player_id': 'RINCON_B8E93752747A01400', 'target_player': 'RINCON_48A6B8B07BFF01400'})
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/webserver.py", line 372, in _run_handler
result = await result
^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/players.py", line 74, in wrapper
await func(self, *args, **kwargs)
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/controllers/players.py", line 671, in cmd_sync
await player_provider.cmd_sync(player_id, target_player)
File "/usr/local/lib/python3.11/site-packages/music_assistant/server/providers/sonos/init.py", line 518, in cmd_sync
sonos_player.soco_device.join, self.sonosplayers[target_player].soco
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'SonosPlayer' object has no attribute 'soco'
2024-01-27 08:22:34.168 INFO (MainThread) [music_assistant.players] Player registered: ugp_ljcmlmdf/Kitchen + Living Room
2024-01-27 08:23:08.026 WARNING (MainThread) [music_assistant.streams] Player RINCON_48A6B8B07BFF01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:23:08.060 WARNING (MainThread) [music_assistant.streams] Player RINCON_B8E93752747A01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:23:13.127 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (http://<IP_ADDRESS>:8096/RINCON_B8E93752747A01400/command/next.mp3) to player Kitchen
2024-01-27 08:23:18.049 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (http://<IP_ADDRESS>:8096/RINCON_48A6B8B07BFF01400/command/next.mp3) to player Living Room
2024-01-27 08:23:18.051 INFO (MainThread) [music_assistant.streams] Start Queue Flow stream for Queue Kitchen + Living Room  - crossfade: False
2024-01-27 08:23:18.053 WARNING (MainThread) [music_assistant.streams] Player RINCON_48A6B8B07BFF01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:23:18.084 WARNING (MainThread) [music_assistant.streams] Player RINCON_B8E93752747A01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:23:19.765 INFO (MainThread) [music_assistant.streams] Finished Queue Flow stream for Queue Kitchen + Living Room
2024-01-27 08:24:33.989 WARNING (MainThread) [music_assistant.streams] Player RINCON_48A6B8B07BFF01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:24:34.054 WARNING (MainThread) [music_assistant.streams] Player RINCON_B8E93752747A01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:24:39.116 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (http://<IP_ADDRESS>:8096/RINCON_B8E93752747A01400/command/next.mp3) to player Kitchen
2024-01-27 08:24:44.012 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (http://<IP_ADDRESS>:8096/RINCON_48A6B8B07BFF01400/command/next.mp3) to player Living Room
2024-01-27 08:24:44.013 INFO (MainThread) [music_assistant.streams] Start Queue Flow stream for Queue Kitchen + Living Room  - crossfade: False
2024-01-27 08:24:44.033 WARNING (MainThread) [music_assistant.streams] Player RINCON_48A6B8B07BFF01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:24:44.136 WARNING (MainThread) [music_assistant.streams] Player RINCON_B8E93752747A01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:24:45.494 INFO (MainThread) [music_assistant.streams] Finished Queue Flow stream for Queue Kitchen + Living Room
2024-01-27 08:24:57.044 WARNING (MainThread) [music_assistant.streams] Player RINCON_48A6B8B07BFF01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:24:57.090 WARNING (MainThread) [music_assistant.streams] Player RINCON_B8E93752747A01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:25:02.148 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (http://<IP_ADDRESS>:8096/RINCON_B8E93752747A01400/command/next.mp3) to player Kitchen
2024-01-27 08:25:07.056 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (http://<IP_ADDRESS>:8096/RINCON_48A6B8B07BFF01400/command/next.mp3) to player Living Room
2024-01-27 08:25:07.057 INFO (MainThread) [music_assistant.streams] Start Queue Flow stream for Queue Kitchen + Living Room  - crossfade: False
2024-01-27 08:25:07.061 WARNING (MainThread) [music_assistant.streams] Player RINCON_48A6B8B07BFF01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:25:07.259 WARNING (MainThread) [music_assistant.streams] Player RINCON_B8E93752747A01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:25:08.672 INFO (MainThread) [music_assistant.streams] Finished Queue Flow stream for Queue Kitchen + Living Room
2024-01-27 08:26:04.850 WARNING (MainThread) [music_assistant.streams] Player RINCON_48A6B8B07BFF01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:26:04.918 WARNING (MainThread) [music_assistant.streams] Player RINCON_B8E93752747A01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:26:09.981 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (http://<IP_ADDRESS>:8096/RINCON_B8E93752747A01400/command/next.mp3) to player Kitchen
2024-01-27 08:26:14.871 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (http://<IP_ADDRESS>:8096/RINCON_48A6B8B07BFF01400/command/next.mp3) to player Living Room
2024-01-27 08:26:14.872 INFO (MainThread) [music_assistant.streams] Start Queue Flow stream for Queue Kitchen + Living Room  - crossfade: False
2024-01-27 08:26:14.879 WARNING (MainThread) [music_assistant.streams] Player RINCON_48A6B8B07BFF01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:26:14.908 WARNING (MainThread) [music_assistant.streams] Player RINCON_B8E93752747A01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:26:16.185 INFO (MainThread) [music_assistant.streams] Finished Queue Flow stream for Queue Kitchen + Living Room
2024-01-27 08:26:40.512 WARNING (MainThread) [music_assistant.streams] Player RINCON_48A6B8B07BFF01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:26:40.556 WARNING (MainThread) [music_assistant.streams] Player RINCON_B8E93752747A01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:26:45.607 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (http://<IP_ADDRESS>:8096/RINCON_B8E93752747A01400/command/next.mp3) to player Kitchen
2024-01-27 08:26:50.534 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (http://<IP_ADDRESS>:8096/RINCON_48A6B8B07BFF01400/command/next.mp3) to player Living Room
2024-01-27 08:26:50.536 INFO (MainThread) [music_assistant.streams] Start Queue Flow stream for Queue Kitchen + Living Room  - crossfade: False
2024-01-27 08:26:50.539 WARNING (MainThread) [music_assistant.streams] Player RINCON_48A6B8B07BFF01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:26:50.825 WARNING (MainThread) [music_assistant.streams] Player RINCON_B8E93752747A01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:26:53.056 INFO (MainThread) [music_assistant.streams] Finished Queue Flow stream for Queue Kitchen + Living Room
2024-01-27 08:30:48.808 WARNING (MainThread) [music_assistant.streams] Player RINCON_48A6B8B07BFF01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:30:48.855 WARNING (MainThread) [music_assistant.streams] Player RINCON_B8E93752747A01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:30:53.923 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (http://<IP_ADDRESS>:8096/RINCON_B8E93752747A01400/command/next.mp3) to player Kitchen
2024-01-27 08:30:58.831 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (http://<IP_ADDRESS>:8096/RINCON_48A6B8B07BFF01400/command/next.mp3) to player Living Room
2024-01-27 08:30:58.833 INFO (MainThread) [music_assistant.streams] Start Queue Flow stream for Queue Kitchen + Living Room  - crossfade: False
2024-01-27 08:30:58.835 WARNING (MainThread) [music_assistant.streams] Player RINCON_48A6B8B07BFF01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:30:59.058 WARNING (MainThread) [music_assistant.streams] Player RINCON_B8E93752747A01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:31:00.204 INFO (MainThread) [music_assistant.streams] Finished Queue Flow stream for Queue Kitchen + Living Room
2024-01-27 08:32:01.538 WARNING (MainThread) [music_assistant.streams] Player RINCON_48A6B8B07BFF01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:32:01.581 WARNING (MainThread) [music_assistant.streams] Player RINCON_B8E93752747A01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:32:06.654 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (http://<IP_ADDRESS>:8096/RINCON_B8E93752747A01400/command/next.mp3) to player Kitchen
2024-01-27 08:32:11.562 INFO (MainThread) [music_assistant.providers.sonos] Enqued next track (http://<IP_ADDRESS>:8096/RINCON_48A6B8B07BFF01400/command/next.mp3) to player Living Room
2024-01-27 08:32:11.564 INFO (MainThread) [music_assistant.streams] Start Queue Flow stream for Queue Kitchen + Living Room  - crossfade: False
2024-01-27 08:32:11.565 WARNING (MainThread) [music_assistant.streams] Player RINCON_48A6B8B07BFF01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:32:11.821 WARNING (MainThread) [music_assistant.streams] Player RINCON_B8E93752747A01400 is making multiple requests to the same stream, playback may be disturbed!
2024-01-27 08:32:12.627 INFO (MainThread) [music_assistant.streams] Finished Queue Flow stream for Queue Kitchen + Living Room

Additional information
No response
What version of Home Assistant Core are your running
2024.1.5
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

I'm experiencing similar since the latest update. I'm unable to 'Sync' Sonos players. Normally I'd play something in the dining room and then press the link button next to the office and they'd both sync up beautifully.
But since theast update attempting to sync them does nothing. Have attempted a reinstall. Works fine from the Sonos app syncing the two, doesn't work from MA.

Will be fixed in next update (b87)

@milkplus27 and @boxofrabbits please confirm this has been fixed

Sorry, problems are not fixed in b87 - it will take more some more time to look into the issues with sonos players.
If you can, restore a backup of b85, otherwise wait for tomorrow so I can fix the problem

Related issue https://github.com/music-assistant/hass-music-assistant/issues/1833

Please try again with beta88

Please try again with beta88

Sorry how do I do this? Does it require manual installation?

If you are using HAOS just go to settings>>addons and select Music Assistant and you should see the update waiting. If you are using docker then however you do your installs then install the latest

We will close this soon as it is assumed to be fixed.

will test this tonight and report back. thanks for prioritising it :)

seems to be sorted on my end, too. thanks for the great work!


Update recommended_ruleset.js

Remove the "no-unused-variable" rule since it is now supported by the tsc compiler.

Hi @FredrikFolkesson, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

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

TTYL, MSBOT;


Start voice dialog with bot without pushing InteractiveVoiceView button

Hi there!
I've just started using this SDK and I have 2 questions:

How can I start a voice conversation without pushing InteractiveVoiceView button? For example, after pushing custom button or other action.
Can I start a voice conversation with Lex bot via special start word? Like a "OK Google" in google search.

The button works on the underlying SDK, so you can make the same SDK calls based on your own triggers.

That is not currently supported by the SDK directly.


Multiple buttons on same page. Only the last one works

It seems that using multiple buttons on the same page causes only the last button to work, probably because a new request is routed to facebook for each , invalidating the earlier buttons. Would it be a solution to return the same link during the entire request, or would that result in other problems?

This issue can be quite insidious. Even if you don't have multiple buttons, but during the course of your page load, something triggers a second call to FacebookRedirectLoginHelper::getLoginUrl(), it'll invalidate your button.
The two ways this already happened to me:

If the CMS user causes a 404 on say, an image, and your default page template includes a $FacebookLoginLink. By way of the browser fetching the 404 page (which the user doesn't even see), it invalidates the login link in the primary document. The workaround here is to remove Facebook login functionality from your error page templates.

If a valid document is loaded in an incorrect way (like background-image: url() resulting in an attempt to load an html document as an image). Not as easy to address as customising your error page template and sure annoying to debug.

I guess what I'm trying to say is that it's brittle enough to be of real concern as a sleeper issue in a site build. Any suggestions for a technical approach?

@afoster / @jberculo Thanks for the issue. See how 1fbd66c goes and let me know. I haven't seen any side effects from caching this so far in my test but it's only a simple single page site.

Much appreciated @wilr , I will test today.

Looks great. Thanks again 👍

Thanks, @wilr. I can't test since I switched jobs since then, but looking at the code (and ignoring all the whitespace changes ;)) it seems to do the trick, with maybe a small caveat. I added a comment.


[feature]: version upgrade Tailwind V3 (v3.3.5)

Upgrade to latest Tailwind CSS version and enable the use of selectors and new features

Closing this as Bruno now uses Tailwind 3.x


Fix bug with blacklist

Also, with the new move user's address to the front update, the wrong user gets removed from the address list.

Blacklist should also be stored to Local Storage


fixed typos and added link

doing this the right way :)

will re-submit in a new PR

@aaronhmiller You can keep the same PR open but add new commits or amend the commit(s) already proposed.

It It is preferred compared to closing and opening new PRs for each round of review...


cloud-config-worker: kubelet.service no longer depends on docker.service

The controller kubelet.service definition already does without an explicit dependency on docker.
Fixes #545

lgtm

Need changes to the step by step docs to reflect these changes

@robszumski can you link to the docs you're talking about?

Hm interesting, both of these never had it set. I wonder how we got so varied in how we did this...
https://github.com/coreos/coreos-kubernetes/blob/master/Documentation/deploy-workers.md#create-the-kubelet-unit
https://github.com/coreos/coreos-kubernetes/blob/master/Documentation/deploy-master.md#create-the-kubelet-unit

@robszumski when we did the big kube-aws rewrite a few months ago, I was a bit sloppy and re-worked some of the systemd units without updating the step-by-step docs. I bet the docker service dependency was added (probably by me) during that big rewrite.

@colhom gotcha, all that matters is that we're back in sync.
I checked the Vagrant/generic scripts, they match. Sounds like this is good to go now.


ArrayCollection implementation of PropertyNames() method

Implementing this method to ArrayCollection solve the problem with for each iteration.

Hi @saggelopoulos are you saying that you implemented PropertyNames and have for each successfully working? Can you provide a patch with that code as a pull request so we can try and merge your code in Royale?
thanks

Hi Carlos ,
I open this issue because Alex ask. You could see this link
http://apache-royale-development.20373.n8.nabble.com/For-each-iteration-in-ArrayList-and-ArrayCollection-tp9521.html
I not familiar with pull requests but i can find how i can do this.

Thanks, I missed that response :)

I'm not sure if it's related, but the following code (dataProvider is a non-empty ArrayCollection):
		for each (var row:Object in dataProvider)
		{
			if (ExpressionUtils.resolveExpression(row, col.dataField, _processValues, _ignoreValues))
			{
				count++;
			}
		}
		return count;

row is undefined

It transpiles to
var /** @type {number} */ count = 0;
var foreachiter3_target = this.dataProvider;
for (var foreachiter3 in foreachiter3_target)
{
var row = foreachiter3_target[foreachiter3];
{
  if (com.amentra.flex.utils.ExpressionUtils.resolveExpression(row, org.apache.royale.utils.Language.string(col.dataField), this.com_tools_footerDataGrid_SummaryColumn__processValues, this.com_tools_footerDataGrid_SummaryColumn__ignoreValues)) {
    count++;
  }
}}

			var test:Object = new ArrayCollection();
			test.addItem("One");
			test.addItem("Two");
			for each (var a:String in test)
			{
				trace(a);
			}

Does not work, but
			var test:ArrayCollection = new ArrayCollection(); 			test.addItem("One"); 			test.addItem("Two"); 			for each (var a:String in test) 			{ 				trace(a); 			}
does. So it seems to be a matter of explicitly declaring (or casting) the type. In Flex, iteration works the same whether or not the type is defined.

Yes, that's a fact of life for Royale at this time.  The Flash runtime knows about types so can choose different access methods for a.b.  The JS runtime does not, so you have to explicitly tell the compiler to generate the right access code.  So if "a" in XML or Proxy, it is important not to tell the compiler it is an Object.


fix($rootScope): remove history event handler when app is torn down

Remember the popstate and hashchange handler registered with window
when the application bootstraps, and remove it when the application
is torn down
Closes #9897

I would rather see this event removal closer to where it is added, in $browser. Can't we put it in a $rootScope.$on('$destroy', function() { ... }) instead, which could be created in the $browser.onUrlChange() method?

@petebacondarwin I can open a new PR with this change. Depends on https://github.com/angular/angular.js/pull/11241 though.

@petebacondarwin is $rootScope available from $browser.onUrlChange()? $browser is injected into $rootScope.

How about putting the $rootScope.$on('$destroy', function() { ... }) inside the $location, which is where $browser.onUrlChange() is called?
For example, if onUrlChange returned a method that could be called to unbind itself then we could easily do that with little coupling there.

I can move the removal method call to where you suggest, but I think we should still keep $browser.$$applicationDestroyed(). $browser.onUrlChange() currently returns the registered handler, which makes sense. I know this is an internal api, but making it return a function that removes a different handler is fairly non-intuitive.

Added some tests and merged. Thanks


Show syntax error on UI instead of saving variables to file in case of errors

Needs tests. Closing.


Enable multiple profiles in one sketch

Think trying to sketch the outline a doughnut, you need the inner and outer ring, We should enable this in one sketch mode session
code would be
const part = startSketchOn('XY')
  |> startProfileAt([...], %) // first
  |> Line(...)
  |> Line(...)
  |> close(%)
  |> startProfileAt([...], %) // second
  |> Line(...)
  |> Line(...)
  |> close(%)

This mean that the sketch group data will need to change to allow more nested data (array of arrays perhaps). In this regards it might be worth doing this issue https://github.com/KittyCAD/modeling-app/issues/1553 at the same time.

related to https://github.com/KittyCAD/modeling-app/issues/1876

closing as dupe of https://github.com/KittyCAD/modeling-app/issues/1876


Hot cold coordinator: Don't stop polling on errors.

If an error occurs during polling for ownership, the daemon will just idle. This change will ensure the coordinator keeps polling for ownership on errors.
The errors we see is transient errors like System.IO.EndOfStreamException: Attempted to read past the end of the stream. , but I think it makes sense to keep polling on all kind of errors.

@Leh2 Got it, and I see what you mean.


4.18 Asking to rebuild HelloARUnreal.dll

I've downloaded the project file and trying to open in 4.18.2 and it showing me a window with Missing HelloARUnreal Modules and asking Would you like to rebuild them now? And even when I say Yes it can't compile. How to fix it please?

Can you try building the engine from source, in accordance with all the instructions, not forgetting any linked sub-instructions? Are you on VS2015?


add hmr for build

Changes
Part1 of https://github.com/pikapkg/snowpack/issues/1002.
I test it by run yarn build --watch --hmr command in create-snowpack-app/app-template-react directory.

Testing
no test added.

Nice! Glad to see that this looks pretty straightforward. Since we still don't have dev tests, can you confirm that you tested this manually yourself?

I tested and I will test again after fix these nits.

I tested 4 cases.

yarn start --reload. There is hmr code in html.
yarn start --reload --no-hmr. There is no hmr code in html.
yarn build --clean --watch. There is no hmr's message shown on console.
yarn build --clean --watch --hmr and add <script type="text/javascript">window.HMR_WEBSOCKET_URL="ws://localhost:12321";</script> in HTML file. There is hmr's message shown on console and hmr does work in browser.

Great work guys! I just pulled it down, and tested in our app and it works great! Very simple. snowpack build --clean --watch --hmr --no-minify --no-bundle and include the window.HMR_WEBSOCKET_URL="ws://localhost:12321" in our dev js.
Loving snowpack.

I'll just say I still haven't gotten build --clean --watch --hmr working, I wrote about it here but didn't get an answer yet: https://github.com/snowpackjs/snowpack/discussions/1459 🤔

snowpack build --watch --hmr didn't work for me either.
When I add <script type="module">console.log(import.meta.hot)</script> and run snowpack build --watch --hmr it prints undefined. When I run snowpack dev it work fine and returns a HotModuleState{}.
I believe it's because wrapImportMeta() is called with hmr: false from the build command. It results in createHotContext() not being called


Spaces inserted when using {PropertyName} place holder

System Details

FluentValidation version: 8.6.1
ASP.NET Core 2.0

Issue Description
First off, thank you for this awesome library. It has saved me from trying to reinvent the wheel to elegantly validate properties on arbitrary classes. Kudos to you!
That said, is there a reason that WithMessage() inserts spaces for TitleCase property names? It would be nice if the property names were just left alone to have the calling code handle it how ever it will. I understand there are hooks to customize the validator's behavior but that's overkill for my simple case.
For example if the property name is MyPropertyName then WithMessage("{PropertyName}") would output "My Property Name" for the validation message.

This is the intended behaviour. Typically validation messages are user facing, and while a title-cased property name is less friendly to users than something more English-like. If you don’t like it, you can change it by calling WithName on the rule, or you can turn it off globally by setting ValidatorOptions.DisplayNameResolver to a custom function in your application’s startup routine.

Ahh Thank you! I wasn't aware of WithName() and I'll give that a try.


I couldn't search for people in the search bar

From inside Person Record: Jerry Abraham, I clicked on his "tour history." It showed successfully. Then, from that window, I wanted to search for "Emily" in the search bar, but when i typed in Emily it just displayed a blank drop down. I clicked "enter" and it wouldn't populate results

This appears to be working now except for the fact that it wont index people who are just a name entry

I opened a new ticket for that


Why registerComponent?

Looking through the sources I wonder why this method exists?
It is not mentioned in the guides, only the API docs, and its use is not required, as a newly used Component gets auto-registered by the ComponentManager.
But also inside the ComponentManager I see a bit of housekeeping going on:
https://github.com/MozillaReality/ecsy/blob/dev/src/ComponentManager.js#L18-L19
There is the Components hash, and the numComponents counter, but it seems both are unused outside of the class, and don't really service a meaningful purpose inside the class, AFAICT. (e.g. the counter is never read from)
So do I miss something, or could this be removed?

You are right, currently registerComponent is not being actively used, although that's something that will change with some incoming iterations on the API. I added that function initially thinking on tooling (so you could have all the list of components available in a manager somewhere), but also for validation of the components themselves, and, with the new changes, it will be used also to create the managers or pooling needed for these components before even using them.
I'll be sharing the ideas around it in incoming issues.


Resin-Supervisor: test disabling logs to display

Valid for any board with Resin OS.
Test steps:

Check that the device host OS has a<EMAIL_ADDRESS>that is enabled.
Set a RESIN_HOST_LOG_TO_DISPLAY=0 config variable
Expected result: the device logs show the change  is being applied, the device reboots and the resin-info service is disabled.
Change RESIN_HOST_LOG_TO_DISPLAY=1.
Expected result: the device logs show the change  is being applied, the device reboots and the resin-info service is enabled again.

Additional notes:

A resin dev device will have<EMAIL_ADDRESS>running by default and prod will have it disabled.
Dev and Prod variants are built separately and have the variation set in /etc/os-release


Fix typo in comment

Self explanatory! Just noticed this while looking at the source

@kedromelon Thanks! Merged.


boxcollider rotation

I try to rotate the ground and see how the ball moves
but i think i need to rotate the boxcollider
do you know how to do that?

I want to handle the boxcollider rotation of the ground


Send data to the repl via lua

This continues the lua port and now we have a very minimum version of the lua port working
While the bindings wouldn't be present, this is enough for minimal tasks.

CI passes. While there are still some tests missing, nothing should break. 🚢


Does it support exporting violations?

As one of the requirement, we need to alert product teams regarding constraint violations. We are planning to alert via Ms Teams channels & emails. So looks for consolidated data categorized product wise. We can do that if there is a way to get all violations listed somewhere. Do you think its possible? Help please 🙂

Hi there!
This seems like a job for Gatekeeper itself, I see that you've commented on this issue already:
https://github.com/open-policy-agent/gatekeeper/issues/580
It is not clear to me what you need from GPM though. Could you please explain better? If I'm getting it right you'd like an endpoint to request all violations, right? You can already do that using the Kubernetes API, take a look at GPM's source code to see how we do it.

Hello @ralgozino
I have configured gatekeeper to run every 4 hours in dryrun mode.
So before I start running it in real deny mode, I want to inform my product teams about their current deployment issues/violations. Those are listed under status of each constraint.
I was thinking if I get list of violations list from all constraints, I will apply proper filters on that list & notify product teams about their issues & ask them to correct it.
Hope I was able to explain :) This is just a question, may not be directly related to GPM, but since you have constraints tab on UI, you might have such violations list in backend which can be saved.

I think now I understand, GPM does not provide a feature to export all the violations nor an API endpoint to get them. As I said in my first comment, you can get the list from the Kubernetes API itself as we do, check the source code.
Please notice that Gatekeeper doesn't store all the violations on the status field. It just stores the first 20 by default.

Hi @swapnild2111
I hope you are doing well, we've just pushed an update to GPM to add a "report" view of the violations. You'll find a new entry on the constraints view to open the report.
You can test the new feature by switching to the unstable image tag or wait for an official release.
If you test it, let us know what you think!
Regards,
Ramiro.


Preliminary refactoring of collections API

(For issue #667 - not ready for merge into master, but any feedback would be super helpful 🙂 )
In this PR:

Refactored classes within the collection API, summarized by the following signatures:

public abstract class DocumentCollection<T extends SourceDocument> implements Iterable<FileSegment<T>>
public abstract class FileSegment<T extends SourceDocument> implements Iterable<T>
public interface SourceDocument

This is a bit different than what we proposed in the issue, but I kept DocumentCollection and FileSegment as abstract classes that implement the Iterable interface since there is quite a bit of common code repeated with each implementation of a collection subclass. We can iterate over collections and segments through the Iterable interface (given collectionClass and collectionPath):

DocumentCollection collection = (DocumentCollection) collectionClass.newInstance();
testCollection.setCollectionPath(collectionPath);

for (Object s : collection){
  FileSegment segment = (FileSegment) s;
  for (Object d : segment){
    SourceDocument doc = (SourceDocument) d;
    foo(d);
  }
}

IndexCollection, MapCollections, and tests were modified so that they are compatible with the refactored code, but major changes to the way they iterate over collections are held off for now since the current diff is pretty big with a bunch of entangled changes already.

@emmileaf thanks, this looks great!
A few comments for you to think about... at this point you probably have a better sense of all the details...
Have you run some of the regressions to make sure things still work? (At least the small ones... we can save the large ones for when tuna is less busy...)

@emmileaf thanks, this looks great!
A few comments for you to think about... at this point you probably have a better sense of all the details...
Have you run some of the regressions to make sure things still work? (At least the small ones... we can save the large ones for when tuna is less busy...)

Thanks for the help! I've only had a chance to run the robust04 regression for now, but will try to run a few more later (probably after iterating over some changes) and update.

Added some exception handling changes to the previous FileSegment iterator:

Three statuses VOID, SKIPPED, and ERROR were used to keep track of different cases of exception handling within the iterator. TrecwebCollection and TweetCollection were throwing unchecked RunTimeException for skipping documents, because of limitations in the hasNext() signature

Changed to:

readNext() now throws three types of exceptions which are caught in hasNext(): IOException (error), NoSuchElementException (EOF), and ParseException (skip). Each segment instance keeps count of whether error occurred (iteration stopped) as well as number of skips (iteration continued)

So far the following regressions pass (still working on some of the larger ones):
nohup python src/main/python/run_regression.py --collection disk12 --index >& log.disk12 &
nohup python src/main/python/run_regression.py --collection robust04 --index >& log.robust04 &
nohup python src/main/python/run_regression.py --collection robust05 --index >& log.robust05 &
nohup python src/main/python/run_regression.py --collection core17 --index >& log.core17 &
nohup python src/main/python/run_regression.py --collection core18 --index >& log.core18 &
nohup python src/main/python/run_regression.py --collection wt10g --index >& log.wt10g &
nohup python src/main/python/run_regression.py --collection mb11 --index >& log.mb11 &
nohup python src/main/python/run_regression.py --collection car17v1.5 --index >& log.car17v1.5 &

I'll go ahead and merge this into the collection-refactor branch for now. Will create a separate PR later for merge into master, so that the accumulated changes won't get too messy.


feat: DetailsCollapsible

What
Adds a collapsible organism for showing/hiding details.
How
Use @radix-ui/collapsible
Decided to add this as an organism, since it's already being used multiple times in the design. Considered adding a more generic collapsible molecule, but Radix UI's collapsible is already quite customizable, so did not find this relevant. Alternatively, we could also completely remove this component and use Radix directly. Let me know, what you think :)

LGTM :+1: Super cool!


Surface ASP.NET Core on .NET Core site

Per @mkArtakMSFT

ASP.NET Core mentions/links in

About .NET Core - Frameworks

@Rick-Anderson, The About .NET Core - Frameworks page was updated earlier to list all the frameworks in the API section as (shown in screen shot below.)  So I'll close this one.  If you were envisioning something else let me know and we can re-open.  I updated the .net guide hub to point to ASP.NET Core as well just to help folks find their way from there as well: 19228

Fixed with #19228


PCC shows "No CLA data available" for Approved Contributors

Summary
Accessing the PCC to check/confirm the Approved Contributors for an organization with CCLA signed, the PCC shows "No CLA data available".
Issue was reported to PCC on ticket: PCC-2699
After further investigation it seems the issue is with EasyCLA API.
Background
To reproduce the issue.
1- Access the PCC for any project: https://projectadmin.lfx.linuxfoundation.org/project/a092M00001JwBlEQAV
2- Select EasyCLA
3- Select Signatures
4- Select Signed CCLAs
5- Search or select a listed organization
6- Expand "View List" under Approved Contributors
7- The PCC shows No CLA data available (See screenshot below)
Expected behavior
The PCC should list the approved contributors for the organization under the project.
Screenshots

Environment

Environment:

[ ] ALL
[ ] DEV
[ ] STAGING
[x] PROD

Browser:

[x] Chrome/Brave
[ ] Firefox
[ ] Opera
[ ] Vivaldi
[ ] LibreWolf
[ ] SRware Iron
[ ] Dissenter
[ ] Slimjet
[ ] Midori
[ ] Edge
[ ] Lynx

Additional Context
After further investigation, we have an organization on which the auto-acknowledgement flag was enabled: Goldman Sachs & Co. LLC. The PCC shows the approved contributors just for the ones added after the auto-acknowledgment was enabled:
. The previous approved contributors for the organization don't show as expected.

Tested issue on dev site & found that it is not reproducible as reported
Case 1 : When ecla-auto-create is false

User added on approval list & not available on contributor list

After add user contributor console by complete ECLA flow

Case 2 : After enabled ecla-auto-create options to organization

Note that few user added under approval list before ecla-auto-create options enabled for organization ,After enabled all approval list user added automatically on contributor list (Refresh page for get latest records)


Mentorship Program Administration Tool

As I mentioned in the most recent team meeting, I'm considering creating a site/app to house all of the various functionality we find ourselves needing in order to facilitate the cohorts. Right now I'm trying to come up with an outline for a minimum viable product.
My first thought is to move the mentor and mentee application forms into the program so that we'll have complete control over the forms and the results. That will give us a list of all users who applied and from there we'll have a way to move certain users into categories like "mentor applicant"/"mentee applicant" (where they'll start after filling out the form), "mentor", "mentee", "former mentor", "former mentee", etc. This should make sending emails to desired groups of people much simpler. It will also simplify enforcing the 30 applicants per mentor rule.
That's probably enough to start with, but after that set of features is complete I could experiment with creating a way in the app to design quizzes/tests for the different scopes if we decide to go that route. Another potential feature would be handling the timezone/scheduling matching in a more streamlined way.
I'd love to hear what other ideas you all have for what we could do with this.

Amazing @detrohutt
suggestions compiled from previous mentorship meetings:

Mentees should apply on Mentors Timezone Availability
Inform date when the results of pair up will come out so mentees will know when matched and when reply
Enable an option to collect feedback from mentees and mentors
Mentees Nationality
Allow mentee to Share any aditional profile link
Enable Mentors to choose top 3 mentees ordered
Check the availability to enable other languages between mentors and mentees
Ask mentees that are interested in became mentors

Hello,
This sounds like a great idea. I would be interested in helping if you need a hand. I have basic JavaScript, Node.js, and RESTful API experience, and I am learning React for the front end. Always interested in learning new things too! Let me know if I can be helpful.

Hello Devs,
I'm also interested in contributing to this tool. I've got some experience with MERN Stack. I've worked with things like React, Redux, ContextAPI, Hooks, etc and Express, JWT, etc on the backend.
Please let me know if I can be a part of this.

thanks @Tera99 and @lazycipher our next meeting is schedule to Friday Jan/10, please join channel mentorship on slack https://www.nodeslackers.com/

Hello here. I would like to contribute to this project.

thanks @Tera99 and @lazycipher our next meeting is schedule to Friday Jan/10, please join channel mentorship on slack https://www.nodeslackers.com/

Hello, I am on the slack channel. Thank you!
Where is the info on how to attend the meeting, time, and future meetings posted? Thanks!

Hi @Tera99 i will post an issue next monday to track the meeting and the agenda

We've decided that we're going to hold off adding more tooling for now, but it might make sense once the program is more established.


Fs 3024 db schema - Flags

Change description
Adding DB schema support for the new flags design, as per the prototype: https://fsd-pre-award.herokuapp.com/s39-assessment/flag-enhancements
Allows for flagging updates, history, allocation, and multiple flags.
I've left the existing flag functionality unchanged for now. All new flagging stuff has v2 in the name to differentiate.

[x] Unit tests and other appropriate tests added or updated
[ ] README and other documentation has been updated / added (if needed)
[x] Commit messages are meaningful and follow good commit message guidelines (e.g. "FS-XXXX: Add margin to nav items preventing overlapping of logo")

How to test
Use the swagger interface on assessment-store and the flags_v2 tag

looks good to me overall. Will need to test this with assessment frontend tomorrow.

Nice work on this! Seems like a big chunk of flagging 👍


DI with in memory web api

I ran into an issue the other day that wasn't clearly documented. if you want to use DI services with the in memory data service then you have to put the @injectable tag before the class definition otherwise the DI services will all break.

That IS clearly documented ... in the Angular Docs, Dependency Injection guide page.
I assume you're talking about your own code.
Closing as there is no action to be taken here.


Big string / big record support

Take, for example, this:
  $ sudo ./build/src/bpftrace -e 'BEGIN { print(*curtask); exit() }'
  error: <unknown>:0:0: in function BEGIN i64 (ptr): A call to built-in function 'memset' is not supported.

The reason is curtask dereference puts the entire struct on the stack.
Which not only doesn't fit, but does not qualify for unrolled memset builtin.
One potential way to handle this is to use the new createGetScratchMap()
infrastructure to "allocate" memory in unop_ptr() instead of from the stack.
But the drawback is that we can only have a single live allocation at a time.
Meaning, something like this would not be possible:
  $one = *curtask;
  $two = *curtask;
  print(($one, $two));

However, something like this could be possible:
  $one = *curtask;
  print($one);
  $two = *curtask;
  print($two);

That is b/c in the second example the lifetimes of $one and $two are disjoint.
I think above is a good starting point for big string / big record support.
We can do some basic lifetime analysis in semantic analyser (or a new pass?)
and error out if there's overlap.
In the future we can allocate as many scratch maps as we need (perhaps up
to a certain limit).
I'm not sure I've covered all the cases. But I think this is something good
to think about.

Could create a scratch-map per big-string/big-record. It's a bit wasteful but we won't need to do lifetime analysis.
Another option is to disallow storing big-string/big-records on the stack. So for example, only allow them to be copied into maps or output ring buffers.

We'll tackle the memset() issue in #3229. Big record support is rather esoteric, so we can address that if users ever ask for it


Add more colorful arts (mario, ironman, panda, minions...) 🎨

New arts can be run by:
TTC_SAY_BOX='mario' tiny-care-terminal
TTC_SAY_BOX='minions' tiny-care-terminal
TTC_SAY_BOX='ironman' tiny-care-terminal
TTC_SAY_BOX='panda' tiny-care-terminal

You can also create and set your own custom ANSI Art:

Create and download custom art(.ansi file) from https://gauravchl.github.io/ansi-art/webapp/
Set file path to env: TTC_SAY_BOX='/Users/om/desktop/my-cat.ansi' tiny-care-terminal

This is a must-have feature.

Wowowowowowow this is so awesome! Maybe I should update the cat and llama to this too!

(just asked a small question so i understand how this works)

While this is really cool, Ironman, Mario, and Minions are trademarked material. Should any of the property owners take notice it could cause problems. Just something worth considering here.

Shrug, I'm sure it's fine. And if it's not, I'll remove them.