Clients don't receive message (after upgrading to 1.0.0-alpha2-final)

Hello,
After upgrading SignalR to 1.0.0-alpha2-final, clients don't receive messages anymore while it's working the other way (a client can send a message to the server).
Here is the call to InvokeAsync from the Hub (server-side):
            await this.Clients.All.InvokeAsync("test");
            await this.Clients.All.InvokeAsync("testNumber", 99);

Here is how I set up handlers on the clients:
            this._connection.On("test", () => { ... });
            this._connection.On<object>("testNumber", _ => { ... });
            this._connection.On<int>("testNumber", _ => { ... });

The connection on the client is build with "the new way":
this._connection =
                new HubConnectionBuilder()
                    .WithConsoleLogger(LogLevel.Trace)
                    .WithUrl(this.BaseUrl)
                    .WithJsonProtocol()
                    .WithTransport(TransportType.WebSockets)
                    .Build();

Using WithJsonProtocol and/or WithTransport  has no impact. It doesn't work either way.
What have changed since the old preview ?
BTW, there is no logs, crashes.

Hi!
Do you have a repo of that code we can take a look at?
Thanks!

Can't repro.
Is there a stack trace when it crashes?
Also, setting up multiple handlers for the same name just overwrites and only uses the last one registered.

It doesn't crash at all.
I made a quick repro. You can find it here : https://github.com/pellea/signalr-debug.
Please delete, in the server project, the Properties/launchSetting.json file that is automatically created by VS2017. It's a pain to delete it every times VS starts ...
Steps to reproduce:

start both projects
click on the start button in the WPF app to connect to the server
it will send a 'join' message 2 seconds in the connected callback
the WPF app should reveice messages from the server and it doesn't.

I have probably missed something there ...

I think you deadlocked your client. Use SendAsync here https://github.com/pellea/signalr-debug/blob/master/TestApp/MainWindow.xaml.cs#L111
InvokeAsync waits for a response from the server but because you're waiting inside the Connected callback the client isn't executing any code to receive and complete the InvokeAsync. SendAsync is a fire and forget so it should unblock the client code.
After alpha2 we removed the Connected callback in favor of using the Task returned from StartAsync

Using the SendAsync method on the client solved the issue.
As I understand it, the InvokeAsync on the server should be renamed to SendAsync.


Remove Request::getIp()

This method was using the 'X-Forwarded-For' header which is unsafe as it's client settable. A better solution is to use middleware that sets an "ip" attribute onto the Request object.
Resolves #1528

I am going to leave this on hold for the minute. We need to check the impact this is going to have and find a viable solution to suggest to people first.

This is a stab at doing it in middleware: https://github.com/akrabat/rka-ip-address-middleware

Good catch.

For the exact same reason the check for secure connection shouldn't be based on the HTTP_X_FORWARDED_PROTO header inside the Uri class (more details are here).
Anyway base path resolution is wrong determining when using server rewrites (the L flag in .htaccess file).
There should be an option to define base path (and possibly secure connection) as an application setting which can be read from an environment variable.

Anyway base path resolution is wrong determining when using server rewrites (the L flag in .htaccess file).
There should be an option to define base path (and possibly secure connection) as an application setting which can be read from an environment variable.

Please open as a separate issue with the apache rewrite settings the show the problem.

See https://github.com/slimphp/Slim/issues/1567 for the Uri() usage of HTTP_X_FORWARDED_PROTO.

If we remove them, then https://travis-ci.org/akrabat/rka-scheme-and-host-detection-middleware would work as a middleware replacement.


BottomNavigationBar. selectedLabelStyle is not working

only set selectedLabelStyle, the color not work. have to set selectedItemColor

only set selectedLabelStyle, the color not work. have to set selectedItemColor

BottomNavigationBar(
backgroundColor: Colors.white,
selectedItemColor: MAIN_COLOR,
unselectedLabelStyle: TextStyle(
color: Color(0xFFB6B6B6), fontWeight: FontWeight.w500, fontSize: 10),
selectedLabelStyle: TextStyle(
color: MAIN_COLOR, fontWeight: FontWeight.w500, fontSize: 10),
items: _items
.map((e) => BottomNavigationBarItem(
icon: e.icon,
activeIcon: e.activeIcon,
label: e.title,
))
.toList(),
type: BottomNavigationBarType.fixed,
currentIndex: _currentIndex,
onTap: _onTabBarTap,
)

Hi @Lanch92
Can you elaborate more on what are you trying to change and what is not working?
Also please provide your flutter doctor -v and a minimal reproducible code sample that I can just copy/paste to reproduce the issue.
Thank you

Not sure if @Launch92 means the same error.
But I experience that using the color property of TextStyle() on selectedLabelStyle and unselectedLabelStyle doesn't work.
   bottomNavigationBar: BottomNavigationBar(
    items: const <BottomNavigationBarItem>[
      BottomNavigationBarItem(
        icon: Icon(Icons.home),
        label: 'First',
      ),
      BottomNavigationBarItem(
        icon: Icon(Icons.exit_to_app),
        label: 'Second',
      ),
    ],
    selectedLabelStyle: TextStyle(
      color: Colors.red,
      fontSize: 22.0,
    ),
    unselectedLabelStyle: TextStyle(
      color: Colors.blue,
      fontSize: 32.0,
    ),
    //selectedItemColor: Colors.green,
  )

With the snippet above, the first item is not red but default blue, according to attached picture.

Uncommenting the //selectedItemColor: Colors.green, will change the color of the item to green.
[√] Flutter (Channel stable, 1.22.1, on Microsoft Windows [Version 10.0.14393], locale sv-SE)
    • Flutter version 1.22.1 at C:\dev\flutter\flutter
    • Framework revision f30b7f4db9 (13 days ago), 2020-10-08 10:06:30 -0700
    • Engine revision 75bef9f6c8
    • Dart version 2.10.1

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\es012194\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code, 64-bit edition (version 1.50.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.15.1

[√] Connected device (1 available)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)

• No issues found!

Not sure if @Launch92 means the same error.
But I experience that using the color property of TextStyle() on selectedLabelStyle and unselectedLabelStyle doesn't work.
   bottomNavigationBar: BottomNavigationBar(
    items: const <BottomNavigationBarItem>[
      BottomNavigationBarItem(
        icon: Icon(Icons.home),
        label: 'First',
      ),
      BottomNavigationBarItem(
        icon: Icon(Icons.exit_to_app),
        label: 'Second',
      ),
    ],
    selectedLabelStyle: TextStyle(
      color: Colors.red,
      fontSize: 22.0,
    ),
    unselectedLabelStyle: TextStyle(
      color: Colors.green,
      fontSize: 32.0,
    ),
    //selectedItemColor: Colors.green,
  )

With the snippet above, the first item is not red but default blue, according to attached picture.

Uncommenting the //selectedItemColor: Colors.green, will change the color of the item to green.
[√] Flutter (Channel stable, 1.22.1, on Microsoft Windows [Version 10.0.14393], locale sv-SE)
    • Flutter version 1.22.1 at C:\dev\flutter\flutter
    • Framework revision f30b7f4db9 (13 days ago), 2020-10-08 10:06:30 -0700
    • Engine revision 75bef9f6c8
    • Dart version 2.10.1

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\es012194\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code, 64-bit edition (version 1.50.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.15.1

[√] Connected device (1 available)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)

• No issues found!

YES

Hi @Lanch92
Can you elaborate more on what are you trying to change and what is not working?
Also please provide your flutter doctor -v and a minimal reproducible code sample that I can just copy/paste to reproduce the issue.
Thank you

reference @RCSandberg

Hi @Lanch92
Can you elaborate more on what are you trying to change and what is not working?
Also please provide your flutter doctor -v and a minimal reproducible code sample that I can just copy/paste to reproduce the issue.
Thank you

reference @RCSandberg

when I using the color property of TextStyle() on selectedLabelStyle and unselectedLabelStyle，the TextStyle's color property is not working

Not sure if @Launch92 means the same error.
But I experience that using the color property of TextStyle() on selectedLabelStyle and unselectedLabelStyle doesn't work.
   bottomNavigationBar: BottomNavigationBar(
    items: const <BottomNavigationBarItem>[
      BottomNavigationBarItem(
        icon: Icon(Icons.home),
        label: 'First',
      ),
      BottomNavigationBarItem(
        icon: Icon(Icons.exit_to_app),
        label: 'Second',
      ),
    ],
    selectedLabelStyle: TextStyle(
      color: Colors.red,
      fontSize: 22.0,
    ),
    unselectedLabelStyle: TextStyle(
      color: Colors.green,
      fontSize: 32.0,
    ),
    //selectedItemColor: Colors.green,
  )

With the snippet above, the first item is not red but default blue, according to attached picture.

Uncommenting the //selectedItemColor: Colors.green, will change the color of the item to green.
[√] Flutter (Channel stable, 1.22.1, on Microsoft Windows [Version 10.0.14393], locale sv-SE)
    • Flutter version 1.22.1 at C:\dev\flutter\flutter
    • Framework revision f30b7f4db9 (13 days ago), 2020-10-08 10:06:30 -0700
    • Engine revision 75bef9f6c8
    • Dart version 2.10.1

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\es012194\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Android Studio (version 4.0)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 49.0.2
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code, 64-bit edition (version 1.50.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.15.1

[√] Connected device (1 available)
    • sdk gphone x86 (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator)

• No issues found!

YES

only color property not work, other property is working

Hi @Lanch92
I see there's an open issue (https://github.com/flutter/flutter/issues/66738) addressing the case you described.
Please follow up on that issue, I'm closing the current one as a duplicate.
If you disagree, please write in the comments and I will reopen it.
Thank you


Default runtime for new graph should be that of main graph

Create a new graph in a project. Default selected runtime for new graph is always "Browser". Should be that of the main project instead.

Also somewhat related: #405

This already works:


Vireo-172 dataset

How to download this dataset?

Hi there, you need to contact the authors of Vireo-172 in order to download their dataset
"Deep-based ingredient recognition for cooking recipe retrieval"

Hi there, you need to contact the authors of Vireo-172 in order to download their dataset "Deep-based ingredient recognition for cooking recipe retrieval"

Thanks for your reply! But I found that the email provided in the paper is wrong so I can't contact the authors by email. Could you please provide me a correct email? I would really appreciate it.

ohhh, in that case, you can search the latest articles of the authors, and find their up-to-date contact info there!

ohhh, in that case, you can search the latest articles of the authors, and find their up-to-date contact info there!

OK! Thank you!


Adding Kameleoon Provider

Adding Kameleoon

Adding Kameleoon as OpenFeature provider

Hey @DmitryAE, thanks for the PR. It looks great, except the SVG is using a fill, so it doesn't work in dark mode. I'll see if I can get that working.

Hello @beeme1mr!
I hope this message finds you well.
I wanted to express my gratitude for your assistance and apologize for the delay in our correspondence. We have recently updated the image and meticulously tested its compatibility with both dark and light modes. The results align with our expectations.
At your earliest convenience, could you kindly re-evaluate the changes on your end and proceed with merging the pull request if deemed appropriate?
Thank you for your attention to this matter.
Best regards,
Dmitry.

Hey @DmitryAE, no problem at all. It looks like the grey portion of the logo is missing. I just wanted to confirm this is okay before we merge.

Hey @beeme1mr
Yes, it's okay. I think it won't be difficult to update the image later. But it's a consistent design now.
Thank you for your attention.
Best Regards,
Dmitry.


GraphQL Mesh Apollo Federation Transform to generate federated schema?

Is your feature request related to a problem? Please describe.
The problem I'm trying to solve is this.  Let's suppose there is an implementing GraphQL service owned by another team, which is slow to make changes.  As a company, nevertheless want to enroll all services including that one into managed Apollo Federation.  It would be helpful if there was a way to add a proxy that would declaratively add the Federation declarations @key, @extends, etc. to an underlying service.  I thought GraphQL Mesh Apollo Federation transform would do this, but now I'm not so sure.
Describe the solution you'd like
I'd like it if I could set up a proxy with GraphQL Mesh and the Apollo Federation transform, such that there is a new endpoint (which proxies to the old endpoint) but which when introspected will provide a schema with the Federation declarations like @key and @extends added.
Describe alternatives you've considered
One alternative is simply to implement Federation in the underlying implementing service, and that is what we intend to do in the long-term.  I was just hoping GraphQL Mesh could ease that transition.
Additional context
I created a Git repo with a Docker Compose file and some supporting files to illustrate this.  See:  https://github.com/dventimi/mesh-demo
Steps

run docker-compose up
run npx apollo client:download-schema --endpoint=http://localhost:4030/graphql 3.gql

Note, you will need Docker Compose and the Apollo CLI installed.
If this succeeds, there will be the 3.gql SDL schema file instrospected from the endpoint provided by GraphQL Mesh with the Apollo Federation transform.  The mesh config file for that one names Person as a Federation entity, with id as the key field.  I'd hoped that would show up in the introspected 3.gql file, but it does not.
It's quite possible I don't understand how GraphQL Mesh and Apollo Federation transform work, but then in that case I'm not sure what it does.  Anyway!  Hope that all makes sense!

@dventimi I am not sure if apollo client:download-schema is able to print directives. When I check their source code, I saw they're using printSchema from graphql-js and it doesn't revert federation metadata back to directives syntax. You can locally create a federated service without using Mesh then try client:download-schema. I am sure it won't print directives there as well.

@ardatan cool, well I should be clear that my end goal isn't to download a file copy of the schema.  My end goal is to publish a valid federated schema up to Apollo Studio.  Under https://www.apollographql.com/docs/federation/managed-federation/overview/, implementing services are supposed to publish a schema to Studio with apollo service:push, but the implementing service can't do that right now as it doesn't know anything about Federation.  service:push will take an --endpoint just as client:download-schema does, so I guess the next thing to do is to point that at the GraphQL Mesh end-point, cross my fingers, and pray that it works.  Let me try that and then add to this thread.  One sec.

@ardatan I think that might actually work!  Except, I get an error related to Subscription and I think it's because Subscriptions aren't supported in Federation, but the PostGraphile handler automatically adds a Subscription type.  I tried using the Mesh Filter transform, but got an error related to that.  Should I ask about that here, or in the support box the GraphQL Mesh page?

You can now disable Subscription type completely by setting subscriptions and live to false in the new version<EMAIL_ADDRESS>It'll be available in a few minutes :)
Note: Postgraphile has its own Federation plugin;
https://graphql-mesh.com/docs/handlers/postgraphile#external-plugins-eg-federation

Thanks!  Incidentally, it's cool that PostGraphile has its own Federation plugin, but alas that would not be useful in this case.  In this example, PostGraphile is just a stand-in for demo purposes for the implementing service, to be proxied by GraphQL Mesh.  What I really really really want to see is GraphQL Mesh transforms adding Federation.  Now that will be super cool.   I think I'm close.

@dventimi Ok it was just a note :)
You can also use these examples by doing some modifications like removing federation merger, using only non-federated one, etc)
https://github.com/Urigo/graphql-mesh/tree/master/examples/federation-example
Closing this issue for now! We can move our discussion to Discussions :)

@dventimi do you think you can open a draft PR that extends the example to demonstrate what you wish?
We'll help you complete it

You got it, @Urigo !  It may very well be the case that GraphQL Mesh can already pull it off, or can get there with a little nudge.

I think this function can output SDL with federation directives;
https://github.com/apollographql/federation/blob/main/federation-js/src/service/printFederatedSchema.ts


Update msgsteiner

These changes relate to running Forest with msgsteiner-1.1 instead of msgsteiner-1.3.  The new version fixes the bug described in #17 and can identify lower cost optimal forests.  For our A549 example, it returns the same nodes but replaces two edges.  This yields a lower overall edge cost.
Specific changes include:

Update the README to recommend msgsteiner-1.3 and link to the new version (still link to the old site for the licence terms)
Update Travis CI testing to use msgsteiner-1.3
Write the objective function score to the info file to verify msgsteiner-1.3 improves the forest
Update some of the unit tests to test that the objective function is computed correctly
Update the reference files for the A549 integration test to match the msgsteiner-1.3 output

@AmandaKedaigle Can you please update http://fraenkel-nsf.csbi.mit.edu/omicsintegrator/ to match the changes I made in the README?  Specifically, recommending msgsteiner-1.1 and linking to the new code on Alfredo's site.
@aabaker99 I updated some of your unit tests to check the objective function value.  This was primarily to verify my calculation of the objective function in forest.py.  I don't think we need to verify this in every unit test.
I'll merge this at the end of the week if there are no comments.

I updated the website to reflect the change to 1.3 and new link to msgsteiner


CLB Gotcha: SocketIO Listener settings

Thank you for your submission, @xtream1101!
Unfortunately, this addition isn't quite generic enough for the guide - it's a little too specific to one particular configuration and framework.
I'm going to close out this PR, but happy to continue discussing.


%nuclio build / deploy: Notebook HTTP 404 not found on JupyterHub

Hello,
The build and deploy functions are throwing HTTP 404 errors on JupyterHub. The error is getting thrown by the notebook_file_name method when attempting to parse the notebook file URL from the iPython server.
Thanks to Yaron's assistance, a temporary work around was provided by using the filename as the parameter %nuclio build <filename>.ipynb <flags>.
def notebook_file_name(ikernel):
    """Return the full path of the jupyter notebook."""
    # Check that we're running under notebook
    if not (ikernel and ikernel.config['IPKernelApp']):
        return

    kernel_id = re.search('kernel-(.*).json',
                          ipykernel.connect.get_connection_file()).group(1)
    servers = list_running_servers()
    for srv in servers:
        query = {'token': srv.get('token', '')}
        url = urljoin(srv['url'], 'api/sessions') + '?' + urlencode(query)
        for session in json.load(urlopen(url)):

from notebook.notebookapp import list_running_servers
from urllib.parse import urljoin, urlencode
from urllib.request import urlopen
for srv in list_running_servers():
    query = {'token': srv.get('token', '')}
    url = urljoin(srv['url'], 'api/sessions') + '?' + urlencode(query)
    print(srv)
    print(url)
    print(urlopen(url).read())

returns:
{'base_url': '/user/dither/', 'hostname': '<IP_ADDRESS>', 'notebook_dir': '/home/jovyan', 'password': False, 'pid': 6, 'port': 8888, 'secure': False, 'token': '', 'url': 'http://<IP_ADDRESS>:8888/user/jdavis/'}

http://<IP_ADDRESS>:8888/user/dither/api/sessions?token=

HTTP 404 ERROR)

For reference: the suffix /user/.. is from running Jupyter via JupyterHub. We currently use the  helm deployment on Kubernetes.
Package versions:
Nuclio version: 0.7.3
JupyterHub: 0.9.4
JupyterLab version: 1.0.4
Jupyter Notebook: 6.0.0

Working on this. Look at this issue but get 404 on http://<IP_ADDRESS>:60231/hub/api/oauth2/authorize..


Azure Gov't regions not supported?

[Enter feedback here]
Are the Azure government regions not supported?  They are not listed, and I have been trying to run a speech-to-text sample on our Azure Gov subscription without success.

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

ID: 53d1ff6d-c13e-6e68-a2ba-c8d859d9e573
Version Independent ID: 0290c57c-6a64-b696-d774-2e5e44a613cf
Content: Regions - Speech service - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/regions.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @eric-urban
Microsoft Alias: eur

@MrJohnLocke
Thanks for your feedback! We will investigate and update as appropriate.

@MrJohnLocke
Could you go through the link for your reference
https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/sovereign-clouds?tabs=c-sharp

@RamanathanChinnappan-MSFT yes this is exactly what I needed.  Might be good to add a cross reference link to the main speech regions doc for those with the same question.  Thanks


implement CI

As a developer
I need to test automatically
So that do not need run test manually every time
Assumptions:

using Travis
using codecov
run test when a new branch is created and pull request

Acceptance Criteria:
Given repository
When a developer creates a new branch or does pull request
Then automatically test runs and shows the test coverage

I made it before checking homework2 sorry!!


Sequence diagram for producers and consumers

Create a Wiki for that

The sender sequence diagrams are available here : https://github.com/ppatierno/amqp-kafka-bridge/wiki/Sender-:-Sequence-Diagrams

The receiver sequence diagrams are available here : https://github.com/ppatierno/amqp-kafka-bridge/wiki/Receiver


Switch to an opt-in model for generating HAProxy configuration

Say I have the following Marathon App definition where an app may listen on multiple ports but only requires one port PORT0 to be exposed externally
{
  "id": "/pywebs",
  "cmd": "sh -c '(/opt/mesosphere/bin/python -m http.server $PORT0 &) && (/opt/mesosphere/bin/python -m http.server $PORT1 &) && (/opt/mesosphere/bin/python -m http.server $PORT2 &) && /opt/mesosphere/bin/python -m http.server $PORT3'",
  "cpus": 1,
  "mem": 128,
  "disk": 0,
  "instances": 1,
  "labels": {
    "HAPROXY_GROUP": "external",
    "HAPROXY_1_FRONTEND_HEAD": "",
    "HAPROXY_1_FRONTEND_BACKEND_GLUE": "",
    "HAPROXY_2_FRONTEND_HEAD": "",
    "HAPROXY_2_FRONTEND_BACKEND_GLUE": "",
    "HAPROXY_3_FRONTEND_HEAD": "",
    "HAPROXY_3_FRONTEND_BACKEND_GLUE": ""
  },
  "portDefinitions": [
    {
      "port": 0,
      "protocol": "tcp",
      "name": "web0",
      "labels": {
        "VIP_0": "/pywebs:8080"
      }
    },
    {
      "port": 0,
      "protocol": "tcp",
      "name": "web1",
      "labels": {
        "VIP_1": "/pywebs:8081"
      }
    },
    {
      "port": 0,
      "protocol": "tcp",
      "name": "web2",
      "labels": {
        "VIP_2": "/pywebs:8082"
      }
    },
    {
      "port": 0,
      "protocol": "tcp",
      "name": "web3",
      "labels": {
        "VIP_3": "/pywebs:8083"
      }
    }
  ],
  "healthChecks": [
    {
      "path": "/",
      "protocol": "HTTP",
      "portIndex": 0,
      "gracePeriodSeconds": 10,
      "intervalSeconds": 20,
      "timeoutSeconds": 10,
      "maxConsecutiveFailures": 3,
      "ignoreHttp1xx": false
    },
    {
      "path": "/",
      "protocol": "HTTP",
      "portIndex": 1,
      "gracePeriodSeconds": 10,
      "intervalSeconds": 20,
      "timeoutSeconds": 10,
      "maxConsecutiveFailures": 3,
      "ignoreHttp1xx": false
    },
    {
      "path": "/",
      "protocol": "HTTP",
      "portIndex": 2,
      "gracePeriodSeconds": 10,
      "intervalSeconds": 20,
      "timeoutSeconds": 10,
      "maxConsecutiveFailures": 3,
      "ignoreHttp1xx": false
    },
    {
      "path": "/",
      "protocol": "HTTP",
      "portIndex": 3,
      "gracePeriodSeconds": 10,
      "intervalSeconds": 20,
      "timeoutSeconds": 10,
      "maxConsecutiveFailures": 3,
      "ignoreHttp1xx": false
    }
  ]
}

I currently have to manually opt-out PORT1, PORT2 and PORT3 by adding the following labels:
  "labels": {
    "HAPROXY_GROUP": "external",
    "HAPROXY_1_FRONTEND_HEAD": "",
    "HAPROXY_1_FRONTEND_BACKEND_GLUE": "",
    "HAPROXY_2_FRONTEND_HEAD": "",
    "HAPROXY_2_FRONTEND_BACKEND_GLUE": "",
    "HAPROXY_3_FRONTEND_HEAD": "",
    "HAPROXY_3_FRONTEND_BACKEND_GLUE": ""
  },

Furtheremore if I didn't want even the backend configuration for those ports generated I'd have to add more HAPROXY_{n}_BACKEND_<> options to ensure that Marthon-LB doesn't render from the backend templates.
Instead, it would be nicer if we only had to opt-in PORT0 explicitly.
This would also make for a secure-by-default configuration whereby no ports that have not explicitly been labeled will be advertised.

I concur with this model for security in marathon-lb. In speaking to vishnu on slack, we discussed how forcing users to define those ports that will be exposed is more secure by default because it ensures ports that the user may not have intended to expose via the load-balancer are not accidentally exposed.

While I generally think this is a good idea, the biggest problem will be that it may break backward compatibility for a lot of users. Perhaps a sane default would be to expose the first port by default, and disable the others unless it's explicitly enabled.

Please share your thoughts on #410.

Thanks!


Error in console when navigating to GO instance Routes tab

Thanks for reporting this!!

Resolved by #928


glibcxx error when building cardano-sl-1.0 via Nix

When building the branch cardano-sl-1.0 with nix-shell, I run into this error:
cardano-sl-lrc-1.0.3: build (lib)
Preprocessing library cardano-sl-lrc-1.0.3...
[ 2 of 13] Pos.Lrc.Fts
<command line>: can't load .so/.DLL for: /home/tom/cardano/cardano-sl/.stack-work/install/x86_64-linux-nix/lts-9.1/8.0.2/lib/x86_64-linux-ghc-8.0.2/libHSrocksdb-haskell-1.0.0-ASh627zSIahH8QxTbLrgnb-ghc8.0.2.so (/nix/store/gzdx6nd99z0fg10amjivl51frf1mj4q4-gcc-5.4.0-lib/lib/libstdc++.so.6: version `GLIBCXX_3.4.22' not found (required by /nix/store/xq5dw2qxz9b82xh53119xd40ffmwabd4-rocksdb-5.1.2/lib/librocksdb.so.5.1))

--  While building package cardano-sl-lrc-1.0.3 using:
      /home/tom/.stack/setup-exe-cache/x86_64-linux-nix/Cabal-simple_mPHDZzAJ_<IP_ADDRESS>_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-linux-nix/Cabal-<IP_ADDRESS> build lib:cardano-sl-lrc --ghc-options " -ddump-hi -ddump-to-file"
    Process exited with code: ExitFailure 1

To verify that gcc-5.4.0 does not contain GLIBCXX_3.4.22, I can run
$ strings /nix/store/gzdx6nd99z0fg10amjivl51frf1mj4q4-gcc-5.4.0-lib/lib/libstdc++.so.6 | grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
...
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_DEBUG_MESSAGE_LENGTH

Indeed, gcc-5.4.0 does not contain GLIBCXX_3.4.22. However, running a similar command reveals that gcc-6.4.0 contains it.
How can I modify the build so that rocksdb links against gcc-6.4.0 instead of gcc-5.4.0?

I resolved the issue by removing all copies of gcc-5.4.0 from /nix/store.


raise IOError(f'No file or directory found at {filepath_str}')

I have encountered this issue when I run the video_emotion_gender_demo.py ,may I know how can I solve this issue? Thank you!

Which folder are you running the script from? I guess it's expecting you to run it from src folder. If this is not clear for you, let me put it this way.

Navigate to the face_classification/src directory
Run the script from there: python3 video_emotion_gender_demo

The script has hardcoded paths for the directories and expects you to run the script from that exact folder. I suspect you're running it from some location outside the repository and that's why the error arises.


Feature: Covers beside albums in Web UI

Hello,
at the moment I am testing 1.1.9-rc6 with Spotify edition.
I activated "Settings" -> "Do you want to show covers beside the albums and playlists on the main page?" -> "Show cover"
When the software is playing an album the cover will be displayed at the top

In the lists of albums the covers are missing.

In version 1.1.8 the cover of the album was shown in the red area. Was this feature removed with the new version or is it a bug?
I added the music and the cover.jpg via WebUI file dialog "Upload files"

Not planned at the moment for V2.


Hi.

I have been playing around with this example and possibly found an error.
(message.go row 235:) return int32(hasher(key)) % partitions
should be changed to
(message.go row 235:) return int32(hasher(key) % uint32(partitions))
Why? It seems that the hasher function gives too large numbers and the conversion from uint to int will give negative numbers.
Eg. int32: –2147483648 to<PHONE_NUMBER>
uint32: 0 to<PHONE_NUMBER>
BTW. I like this liftbridge and will certainly do something with it in the future. We use kafka, but I like this more - way more... Because of golang and speed.

I had just discovered this bug yesterday but ran out of time to look into it. Thanks so much for tracking it down. I'll get it fixed up.


[openssl] Disable building quicserver utility.

Thix fixes #35792.

Can this be transformed into a change which can be upstreamed?

@dg0yt, technically, there are two possible alternatives:

Disable building quicserver with the configure flag (faster)
Fix building quicserver by passing correct flags (harder and longer, and I really don't think it's needed for vcpkg).

If you think it's valuable - I can try to do that this week.

PR has been updated. The same changes are proposed upstream: https://github.com/openssl/openssl/pull/23149

Linux failure doesn't look related to the change:
-- Could NOT find SASL2 (missing: SASL2_VERSION SASL2_INCLUDE_DIR SASL2_LIBRARY) (Required is at least version "2.0")
-- Using SASL backend : NOTFOUND

mongo-c-driver? It is not related to this PR. The actual error is
CMake Error at build/cmake/LoadVersion.cmake:9 (string):
  string sub-command REGEX, mode MATCHALL needs at least 5 arguments total to
  command.
Call Stack (most recent call first):
  CMakeLists.txt:20 (LoadVersion)

I got the same error in another PR. It might be a race condition from parallel configuration.

The corresponding patch was approved and merged to the OpenSSL master and 3.2 branches.
I assume, this PR could be merged as well. Once OpenSSL releases a new version with this patch included - the patch added from this PR could be removed by the OpenSSL port maintainer.

Thanks for running this back with upstream!


support for the .njk file extension, which is preferred if both exist…

… for the same template. To allow the use of njk as a substitute extension for existing templates, it does not matter whether the developer requests .html or .njk when calling render().
Implements #685

Thank you, I will clean up the whitespace in the merge.


discarded args not greyed out

github:

vscode (Dark+ (default dark):

Sounds like a good thing to add 👍


PowerShell/CLI?

Is this possible using az powershell or az cli? Or even a REST API call?

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

ID: 19bf80a6-331d-dbc1-1a4d-067eff42e159
Version Independent ID: 06c51db4-0789-f196-aed3-9753a2e0af57
Content: Recover a deleted storage account - Azure Storage
Content Source: articles/storage/common/storage-account-recover.md
Service: azure-storage
Sub-service: storage-common-concepts
GitHub Login: @tamram
Microsoft Alias: tamram

@rjmccallumbigl
Thanks for your feedback! We will investigate and update as appropriate.

hi @rjmccallumbigl  I'd recommend working closer with our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.[Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1

My inquiry wasn't about Teams, it was about the functionality for restoring a Storage Account: https://learn.microsoft.com/en-us/azure/storage/common/storage-account-recover

@rjmccallumbigl
I'm going to assign this to the document author so they can take a look at it accordingly
@tamram
Can you please check and add your comments on this doc update request as applicable.

@rjmccallumbigl - As far as I know, recovering a deleted account is possible only through the Azure portal.
There are REST APIs for listing and getting properties of deleted accounts (https://learn.microsoft.com/rest/api/storagerp/deleted-accounts), but there's no API for recovering the account.
#please-close


Persistent storage

A key-value based storage per-computer that is persistent
ccemux.putStorage(key, value)
ccemux.getStorage(key, default?)
ccemux.hasStorage(key)
ccemux.listKeys()

Alternatively it could be implemented as a separate API with it's own config option:
storage.put(key, value)
storage.get(key)
storage.hasKey(key)
storage.keys()

I'm not sure - storage could conflict with a user-defined API. However, this is certainly cleaner.

Maybe ccemux.storage().get(key), etc

Is there any real use case for this? I think it would be better implemented as an optional plugin or something.

Closing this for now, I don't really see any use cases that wouldn't be satisfied by files and/or the settings API


Move DestroyModelMixin to CoreViewSetV3

This adds the DestroyModelMixin to the base CoreViewSetV3 instead of subclassing it every time when needed.

Codecov Report

Merging #314 into develop will decrease coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #314      +/-   ##
===========================================
- Coverage    92.64%   92.64%   -0.01%
===========================================
  Files           68       68
  Lines         2529     2528       -1
  Branches       229      229
===========================================
- Hits          2343     2342       -1
  Misses         153      153
  Partials        33       33

Impacted Files
Coverage Δ

datahub/core/viewsets.py
88.88% <ø> (ø)
:arrow_up:

datahub/investment/views.py
92.94% <100%> (-0.09%)
:arrow_down:

Continue to review full report at Codecov.

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


Docker build instructions outdated

The Docker build instructions on the wiki are out-of-date now that 15 is released.
Is it as simple as running docker build --tag custom-postgres:latest .?
That didn't work for me. I get an 80MB Docker image with only the extensions included, no Postgres.
Any suggestions appreciated.

I still think you need to build through Ansible; check how the Dockerfile assumes certain args

+1 on this.

Can someone help me understand why you'd want to user Docker for the database? Isn't that quite risky? In that when docker restarts, all your data is gone

Can someone help me understand why you'd want to user Docker for the database? Isn't that quite risky? In that when docker restarts, all your data is gone

You would mount a persistent volume into the running instance of your container, making storage permanent.

Right, that does make a lot more sense. Is there any documentation on how to do that? And if so, couldn't you do this using the regular Docker compose of supabase?

Right, that does make a lot more sense. Is there any documentation on how to do that?

How to mount volumes to a container

And if so, couldn't you do this using the regular Docker compose of supabase?

It already is!
https://github.com/supabase/supabase/blob/677a2288865d8d22f0ccedd575839d2da89ff377/docker/docker-compose.yml#L291-L298

How Supabase stores your volumes

Then why'd you need to decouple your database? Or am I overlooking something now?

Then why'd you need to decouple your database? Or am I overlooking something now?

Yeah, I'm not quite sure what you are after here. This issue is about the open source bits and bobs of Supabase; how to build things yourself, perhaps hack on them or run the stack yourself be it locally or deploy it into your own ecosystem. How you want to deploy and run postgres is up to you and Supabase is kind enough to share documentation on how to achieve it (note: I do not work there)!
Here is for instance a recent project that shows you how you can deploy supabase on fly.io: https://github.com/nicholasoxford/SupaFly

I want to run the supabase Docker containers with a persisted database. I figured that the database would be wiped when you reboot the containers, since supabase advises to decouple them. If that's not the case I'm good to go I guess. Though I do wonder why they advise to decouple it then

I'm putting a bounty of $150 over PayPal or via a donation to a non-political/non-religious charity; I need to build Supabase with TimescaleDB's community license and cannot make sense of the CI/CD here.
If I figure it out before anybody else, I'll post back here.

Bounty expired. I was able to build the image by removing the final stage of the Dockerfile (Remove all lines after HEALTHCHECK ...)

Bounty expired. I was able to build the image by removing the final stage of the Dockerfile (Remove all lines after HEALTHCHECK ...)

No need to delete anything. You can specify the build stage to docker via --target flag. For eg.
docker build . --target production -t supabase/postgres:latest

We have recently revamped our docker build and are in the process of documenting all the changes.
In the short term you can build the docker image locally like this:
docker build -f Dockerfile-156 -t supa-15-6 .

better docs to follow


Move regexes into python file

This will allow:

Definition and reuse of regexes as variables
Better comments

I'm going to split this work into two parts:

Defanging
Fanging


Add a mustache mode

Fixes #3602
In this PR:

add a mustache mode
replace vue.js's implementation of mustache with the new one (essentially the same)
delete demo/mustache.html and redirect the overlay example to mode/mustache/index.html.

Are Mustache and Handlebars really different enough to warrant two separate modes? Couldn't we do something like we do with the clike and css modes, where different similar languages are parsed by passing different configuration parameters to a single mode implementation?

Good idea. In fact, most of the templating languages are incredibly similar to Mustache (Django, vue?).
I don't know what the base should be. Mustache is the simplest, so maybe Mustachelike?
In any case, I think this PR with the backdrop: functionality makes it the most powerful, and correct for Mustache. In the next PR, should I change Handlebars to be a configuration of Mustachelike?

I think using the multiplexing addon for wrapping the underlying language is fine. Both the Django and Handlebars modes already allow that. Your mode simply styles everything between {{ and }} as strong. The other modes actually understand things like comments, strings, and keywords inside of the template elements, which seems useful.
Maybe take the Handlebars mode, make it configurable, and add an easy way to wrap it around another mode, as in your backdrop option?

Thanks for the suggestions, @marijnh. I've created an alternative PR, #3624, to compare with this one. What do you think?

@marijnh implemented a different feature, and commented about it over at #3624. Thanks!


Job queue/dispatch order is not described/documented

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/actions/using-jobs
What part(s) of the article would you like to see updated?
Add a page/section that explains how jobs are dispatched to runners.
It should include an explanation of things like:

how multiple jobs that are triggered from different repositories in the same organization are dispatched to runners
an explanation of how queuing works -- is it first come first served? (it isn't);
an explanation of how large runners, self-hosted runners, and default runners fight for jobs
how jobs interact with limits / how macos limits interact with generic limits -- https://docs.github.com/en/actions/learn-github-actions/usage-limits-billing-and-administration#usage-limits

Additional information
I'm told that there was a workflow that created 92 jobs many of which were queued: https://github.com/Habbie/openwrt-feeds/actions/runs/5355423916 and then another workflow was triggered later while there were still jobs queued https://github.com/Habbie/dnsdist-ansible/actions/runs/5357700666 and it finished before the first workflow finished.

👋 Hey @jsoref! Thanks for the issue. I'll get it up for review! 👀

Just use port-forwarding services like NGROK lol SUPER easy three line of shell commands https://ngrok.com/download
you can use this for reference https://youtu.be/AhiXVaWst24

#30399

#30699 #30700

Hey @jsoref! Thank you for this issue and for thinking critically about this. We checked in with our engineering teams and there are a lot of factors that affect how and when jobs are dispatched to runners. Since we can't guarantee these factors, there's no way for us to document this on the docs site. Closing this one out!


Provide local Redis option

I don't know why we need to rely on Upstash. We can have a local Redis option.

My choice is driven by the ease of build and deployment processes.
https://github.com/miurla/morphic?tab=readme-ov-file#-deploy
Having local Redis as an additional option is acceptable.

Thanks...I look forward to that option.

PR: https://github.com/miurla/morphic/pull/303


[FEAT] Local optimized JSONLines reader

We currently have an optimized multithreaded jsonlines reader for reading from cloud storage that is based rust async/await and tokio. This lets us one of the fastest ways to read JSON from s3 as seen here.
This function currently shares the same code path for s3/gcs/azure as well as local. This leads to it being much slower for local reads. we noticed the same issue for our parquet reader and added a "local" path that checks if the file is local and then uses a parquet reader that is optimized for local seekable files.
We would like to do the same for json lines and have something on par with the pyarrow reader for jsons lines.
Some files to benchmark with:
https://daft-public-data.s3.us-west-2.amazonaws.com/redpajama-1t-sample/stackexchange_sample.jsonl
https://daft-public-data.s3.us-west-2.amazonaws.com/melbourne-airbnb/melbourne_airbnb.csv

@universalmind303 Here's the ticket I had in mind for tomorrow's chat! PTAL and we can go deeper.

cc-ing @clarkzinzow to field questions about the existing Jsonlines reader

we noticed the same issue for our parquet reader and added a "local" path that checks if the file is local and then uses a parquet reader that is optimized for local seekable files

This example provides a lot of context on how this should be implemented. Thanks!


Improved logging mechanism for operations on ended spans, making it easier to trace issues in both Node.js and Browser environments #5113

@Victorsesan thanks for working on this. I just read through @t2t2's comment here and I think he makes a good point.

(at this point it's also worth considering if it's better to change issue requirements to just change into .warn(message, Error) as diag api allows 2nd+ argument to be unknown)

I initially formulated the requirements in that way so that people would not think it's an actual unhandled Error and open bug issues everywhere. But the more I think about it, it actually should be addressed in instrumentation code that does this because it can lead to lost telemetry.
@Victorsesan would you mind changing your PR to put the error directly as the second argument in the warn message? Sorry for the churn 😞

👋 @pichlermarc


Create grafana_agent library

This PR pulls out common code which can be used for both k8s and machine charms and creates a grafana_agent charm library.

Before getting to addressing the content of the PR (which looks fine from a glance), it struck me: do we really need a library for this or should we just split it into a base class, in its own file, in the src folder? We could use this repo for both flavors, couldn't we?

Before getting to addressing the content of the PR (which looks fine from a glance), it struck me: do we really need a library for this or should we just split it into a base class, in its own file, in the src folder? We could use this repo for both flavors, couldn't we?

I'm not exactly sure how that would work. We would need two different charmcraft.yaml files and two different src/charm.py files. I don't think charmcraft can really handle that.

Before getting to addressing the content of the PR (which looks fine from a glance), it struck me: do we really need a library for this or should we just split it into a base class, in its own file, in the src folder? We could use this repo for both flavors, couldn't we?

I'm not exactly sure how that would work. We would need two different charmcraft.yaml files and two different src/charm.py files. I don't think charmcraft can really handle that.

We'll solve that using tox environments, something along the lines of:
$ tox -e build-machine

# or

$ tox -e build-k8s

and copy different metadata.yaml files in depending on the env.


feature request: prism

hi, would you be willing to add support for prism? https://github.com/AddstarMC/Prism-Bukkit

@PhanaticD this should already been added in the latest 1.16.x version of Watson

oo really? okay I just assumed since there is no mention of it

I seems i never added it in the readme or info but there should be settings for it


⚠ 한경주요지수-코스피200 has degraded performance

In 943ad97, 한경주요지수-코스피200 (https://markets.hankyung.com/indices/kospi200) experienced degraded performance:

HTTP code: 200
Response time: 5159 ms

Resolved: 신규상장 performance has improved in e521ddf.


Program received signal SIGFPE, Arithmetic exception.

The program will get divide-by-zero error when input this Monoaural wav file.The variable "seconds" in sela/core/encode.c:333:58 become zero.
Here is the output and ASAN information:
SimplE Lossless Audio Encoder
Copyright (c) 2015-2016. Ratul Saha
Released under MIT license

Input : ./IN/1964.wav
Output : ./IN_1/1948.sela
WAV file detected

Stream Information
------------------
Sampling Rate : 48000 Hz
Bits per sample : 16
Channels : 1 (Monoaural)

Metadata
--------
No metadata found.
[                         ]

Statistics
----------
1 frames written (0min 0sec)
==19231==AddressSanitizer: WARNING: unexpected format specifier in printf interceptor: %
 (reported once per process)
Compression Ratio : 75.00%
AddressSanitizer:DEADLYSIGNAL
=================================================================
==19231==ERROR: AddressSanitizer: FPE on unknown address 0x00000051a06d (pc 0x00000051a06d bp 0x7fff9705b4c0 sp 0x7fff97039160 T0)
    #0 0x51a06c in main /home/fouzhe/my_fuzz/sela/core/encode.c:333:58
    #1 0x7effd35d082f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
    #2 0x41a148 in _start (/home/fouzhe/my_fuzz/sela/selaenc+0x41a148)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: FPE /home/fouzhe/my_fuzz/sela/core/encode.c:333:58 in main
==19231==ABORTING

Here is gdb information, the variable "seconds" becomes 0 when inputting this file.
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from selaenc...done.
(gdb) b 333
Breakpoint 1 at 0x51a040: file core/encode.c, line 333.
(gdb) run 1964.wav test.sela
Starting program: /home/fouzhe/my_fuzz/sela/selaenc 1964.wav test.sela
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
SimplE Lossless Audio Encoder
Copyright (c) 2015-2016. Ratul Saha
Released under MIT license

Input : 1964.wav
Output : test.sela
WAV file detected

Stream Information
------------------
Sampling Rate : 48000 Hz
Bits per sample : 16
Channels : 1 (Monoaural)

Metadata
--------
No metadata found.
[                         ]

Statistics
----------
1 frames written (0min 0sec)
==23154==AddressSanitizer: WARNING: unexpected format specifier in printf interceptor: %
 (reported once per process)
Compression Ratio : 75.00%

Breakpoint 1, main (argc=-18431, argv=<optimized out>) at core/encode.c:333
333		fprintf(stderr,"Bitrate : %d kbps\n",(out_file_size * 8)/(seconds * 1000));
(gdb) p seconds
$1 = 0
(gdb) n

Program received signal SIGFPE, Arithmetic exception.
0x000000000051a06d in main (argc=-18431, argv=<optimized out>) at core/encode.c:333
333		fprintf(stderr,"Bitrate : %d kbps\n",(out_file_size * 8)/(seconds * 1000));
(gdb) n
__asan::AsanOnDeadlySignal (signo=8, siginfo=0x7ffff7fe8bf0, context=0x7ffff7fe8ac0) at /home/fouzhe/llvm/llvm/projects/compiler-rt/lib/asan/asan_posix.cc:35
35	void AsanOnDeadlySignal(int signo, void *siginfo, void *context) {
(gdb) n
36	  StartReportDeadlySignal();
(gdb) n
AddressSanitizer:DEADLYSIGNAL
37	  SignalContext sig(siginfo, context);
(gdb) n
38	  ReportDeadlySignal(sig);
(gdb) n

Code has been rewritten, should be fixed now


Update OSAD/OA SHA and remove patches

rc14 and rc15 are carrying some OSAD patches and a pinned SHA that is fairly far behind upstream Kilo.
This issue will un-pin it and move us forward for testing the latest patches.

I deployed this patch in an AIO without any problems. :+1:

While we should just keep on merging kilo so it's consistent, we might want to rebump this week when this makes it: https://review.openstack.org/#/c/218572/

Yeah, I agree. For what it's worth, the relevant kilo patch is here: https://review.openstack.org/#/c/217014/.
Also, once that merges openstack-ansible will be cutting 11.2, which would be a good time to pin.

11.2.1 was a fast follow tag to fix a mistake in 11.2 in osad.  I'm going to bump the sha to 11.2.1, and use this issue as a reference.


Multiple Monitor issues

Some users report problems when using multiple monitors, ultimately, the goal here with this issue is to stablize multiple monitor scenerios.
Security -
This is also viewed as a security issue. Will be resolved in 2.3.1, hopefully.

This can be resolved using Visual Settings, if it still doesn't work a fix will be added eventually, just isn't a priority


Use cherry-picked uuid/v4

Pull Request Test Coverage Report for Build 75

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.016%

Totals

Change from base Build 73:
0.0%

Covered Lines:
175

Relevant Lines:
176

💛  - Coveralls

Thanks!


Unable to download theonion.com's embedded videos.

Checklist

[X] I'm reporting a broken site support issue
[X] I've verified that I'm running youtube-dl version 2019.08.13
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar bug reports including closed ones
[X] I've read bugs section in FAQ

Verbose log

$ youtube-dl -v https://www.theonion.com/a-look-at-the-class-of-2023-1837408900
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.theonion.com/a-look-at-the-class-of-2023-1837408900']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.08.13
[debug] Python version 3.4.2 (CPython) - Linux-3.16.0-10-amd64-x86_64-with-debian-8.11
[debug] exe versions: ffmpeg 3.2.10-1, ffprobe 3.2.10-1, rtmpdump 2.4
[debug] Proxy map: {}
[generic] a-look-at-the-class-of-2023-1837408900: Requesting header
WARNING: Falling back on generic information extractor.
[generic] a-look-at-the-class-of-2023-1837408900: Downloading webpage
[generic] a-look-at-the-class-of-2023-1837408900: Extracting information
ERROR: Unsupported URL: https://www.theonion.com/a-look-at-the-class-of-2023-1837408900
Traceback (most recent call last):
  File "/home/ant/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/home/ant/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/home/ant/bin/youtube-dl/youtube_dl/extractor/generic.py", line 3333, in _real_extract
    raise UnsupportedError(url)
youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.theonion.com/a-look-at-the-class-of-2023-1837408900

Description

WRITE DESCRIPTION HERE
Unable to download theonion.com's embedded videos like https://www.theonion.com/a-look-at-the-class-of-2023-1837408900.

My original post was from my decade old, updated Debian Jessie v8. Here's from my friend's Fedora:
$ youtube-dl -v https://www.theonion.com/a-look-at-the-class-of-2023-1837408900
[debug] System config: [u'--prefer-free-formats']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.theonion.com/a-look-at-the-class-of-2023-1837408900']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.08.13
[debug] Python version 2.7.16 (CPython) - Linux-4.20.8-200.fc29.x86_64-x86_64-with-fedora-29-Twenty_Nine
[debug] exe versions: ffmpeg 4.0.4, ffprobe 4.0.4, rtmpdump 2.4
[debug] Proxy map: {}
[generic] a-look-at-the-class-of-2023-1837408900: Requesting header
WARNING: Falling back on generic information extractor.
[generic] a-look-at-the-class-of-2023-1837408900: Downloading webpage
[generic] a-look-at-the-class-of-2023-1837408900: Extracting information
ERROR: Unsupported URL: https://www.theonion.com/a-look-at-the-class-of-2023-1837408900
Traceback (most recent call last):
  File "/home/ant/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2357, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/home/ant/bin/youtube-dl/youtube_dl/compat.py", line 2551, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/home/ant/bin/youtube-dl/youtube_dl/compat.py", line 2540, in _XML
    parser.feed(text)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1659, in feed
    self._raiseerror(v)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1523, in _raiseerror
    raise err
ParseError: not well-formed (invalid token): line 8, column 20
Traceback (most recent call last):
  File "/home/ant/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/home/ant/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/home/ant/bin/youtube-dl/youtube_dl/extractor/generic.py", line 3333, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: https://www.theonion.com/a-look-at-the-class-of-2023-1837408900


Unable to launch java apps

I am trying to launch MPIDE and I am getting
$ /Users/drninjabatman/Applications/mpide.app/Contents/MacOS/JavaApplicationStub
[JavaAppLauncher] Requested [1.5*], launching in [1.8] instead.

[JavaAppLauncher Error] JNI_CreateJavaVM() failed, error: -1

I tried what is suggested in issue #5332 but no dice.
I remember this happening again with java applications but I was not invested enough to open an issue back then.

Just as a quick sanity check, can you remove and reinstall?
https://www.java.com/en/download/help/mac_uninstall_java.xml
and then
cask uninstall java --force && cask install java

I use cask through brew so:
$ brew cask uninstall --force java && brew cask install java
==> Running uninstall process for java; your password may be necessary
==> Removing launchctl service com.oracle.java.Helper-Tool
Password:
==> Removing launchctl service com.oracle.java.Java-Updater
==> Quitting application ID com.oracle.java.Java-Updater
==> Quitting application ID net.java.openjdk.cmd
==> Removing files from pkgutil Bill-of-Materials
==> Removing files: ["/Library/Internet Plug-Ins/JavaAppletPlugin.plugin", "/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents", "/Library/PreferencePanes/JavaControlPanel.p
==> Caveats
This Cask makes minor modifications to the JRE to prevent issues with
packaged applications, as discussed here:

  https://bugs.eclipse.org/bugs/show_bug.cgi?id=411361

If your Java application still asks for JRE installation, you might need
to reboot or logout/login.

Installing this Cask means you have AGREED to the Oracle Binary Code
License Agreement for Java SE at

  http://www.oracle.com/technetwork/java/javase/terms/license/index.html

==> Downloading http://download.oracle.com/otn-pub/java/jdk/8u92-b14/jdk-8u92-macosx-x64.dmg
Already downloaded: /Library/Caches/Homebrew/java-1.8.0_92-b14.dmg
==> Verifying checksum for Cask java
==> Running installer for java; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
==> installer: Package name is JDK 8 Update 92
==> installer: Installing at base path /
==> installer: The install was successful.
🍺  java staged at '/opt/homebrew-cask/Caskroom/java/1.8.0_92-b14' (2 files, 227M)
$ /Users/drninjabatman/Applications/mpide.app/Contents/MacOS/JavaApplicationStub
[JavaAppLauncher] Requested [1.5*], launching in [1.8] instead.

[JavaAppLauncher Error] JNI_CreateJavaVM() failed, error: -1

Not related to this error, but looks like the app has been superceded by http://chipkit.net/wiki/index.php?title=ChipKIT_core, if it helps.
Will leave this open for other maintainers to take a look.

@fakedrake What if you completely uninstall java and then install the manual way? Just to be really sure we’re the ones causing the issue.
How I dislike java. We might need to redo that cask.

sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin
sudo rm -fr /Library/PreferencePanes/JavaControlPanel.prefpane
and
http://docs.oracle.com/javase/8/docs/technotes/guides/install/mac_jdk.html#A1096903
to uninstall completely
(You can also use uninstallpkg, if you have the app)

Closing due to no reply.


fix type not defined error when using external types

Fix the issue https://github.com/TensorBFS/TropicalGEMM.jl/issues/3

I already made those changes locally, so I could also just commit and push them.

Sounds good

(Thanks for the PR!) Fixed by:
https://github.com/JuliaSIMD/LoopVectorization.jl/commit/bbed0ce774e4f73a98393637b5ca66c2d9cc26c7

Cheers!


Consider cloud volumes as data storages in chargeback

We can assign rate according to the tag of data storages of Vm:

What is data storages ?
for Infra: Vm#storage
for Cloud Vm#cloud_volumes
Variant 'for Cloud Vm#cloud_volumes' was missing and this PR is adding it.
Alternative
We can also add to the assignments option 'Tagged Cloud Volumes' but I think that this is beneficial, user can generate report for cloud and infra in one report.
Next?
Update in same way option   'Selected Datastores'  and here cloud volumes as well.
Links

https://bugzilla.redhat.com/show_bug.cgi?id=1510898

@miq-bot add_label gaprindashvili/yes, chargeback, bug
@miq-bot assign @gtanzillo

@miq-bot add_label gaprindashvili/yes, chargeback, bug
@miq-bot assign @gtanzillo

Gaprindashvili backport details:
$ git log -1
commit 6a64e476973b3fc02410137c4db3da9eb8ca2582
Author: Gregg Tanzillo<EMAIL_ADDRESS>Date:   Tue Dec 12 11:26:05 2017 -0500

    Merge pull request #16638 from lpichler/consider_cloud_volumes_as_datastorages

    Consider cloud volumes as data storages in chargeback
    (cherry picked from commit 633283e3f38e6cf2edf9210ffc8ac7d4a287135b)

    https://bugzilla.redhat.com/show_bug.cgi?id=1526039

@miq-bot add_label fine/yes

Fine backport details:
$ git log -1
commit dea4b85641fa98ba89849e3709e3dd8d0a1c68fb
Author: Gregg Tanzillo<EMAIL_ADDRESS>Date:   Tue Dec 12 11:26:05 2017 -0500

    Merge pull request #16638 from lpichler/consider_cloud_volumes_as_datastorages

    Consider cloud volumes as data storages in chargeback
    (cherry picked from commit 633283e3f38e6cf2edf9210ffc8ac7d4a287135b)

    https://bugzilla.redhat.com/show_bug.cgi?id=1526040


Add a note about how to use "okteto build" without an okteto manifest

Signed-off-by: Pablo Chico de Guzman<EMAIL_ADDRESS>okteto build can be used without an okteto manifest. This is useful when you want to build dynamic images not defined in your okteto manifest.

Signed-off-by: Pablo Chico de Guzman<EMAIL_ADDRESS>okteto build can be used without an okteto manifest. This is useful when you want to build dynamic images not defined in your okteto manifest.

What is the use case for this? I find it confusing that passing a parameter completely changes how a command works. I'd have guessed that -f lets you override the Dockerfile defined in the manifest.

@pchico83 on 2.7.0 the help for the command lists that -f is for specifying "the path to the Okteto Manifest". Which is correct, that help or this doc update?

@pchico83 on 2.7.0 the help for the command lists that -f is for specifying "the path to the Okteto Manifest". Which is correct, that help or this doc update?
Or is it that, if the path you point to is a okteto manifest it lest you override that, but if it's a dockerfile it ignores the okteto manifest and let's you build whatever?

Yes, it works as you say in your second paragraph. -f can refer to an okteto manifest, and then it builds based on the yaml + overrides, or to a Dockerfile and then it works in isolation of any yaml and purely based on flags


[FLINK-20906][legal] Update copyright year to 2021 for NOTICE files.

Update copyright year for the 1.11 branch.

merged via 8b7b17ba6a9f9a0443ef2b8a8fd824f682874fd5

merged via 8b7b17ba6a9f9a0443ef2b8a8fd824f682874fd5


fix: use component; improve performance

This PR implements using Component. As of Obsidian 1.3.0 (currently in insider testing), using null throws an error.
This PR also adds a check that it exits earlier if it's normal inline code. I haven't been successful at #1915 yet, so it will still create all the Widgets on input/ selection change, but at least it won't throw any more errors.
I'll post this in #insider-desktop to gather feedback. If that's positive, I'll remove the draft status.
Update: It doesn't recalculate the Widgets on input anymore, only on selection change. Ideally, they'd only update when the cursor gets placed at or inside a Widget. The issue is that once the cursor is inside a Widget, it's not a Widget anymore because the replace-Decoration isn't there anymore, so when the cursor is moved outside of it, then it won't redraw. I cannot just walk the syntaxTree to find out where the inline queries are because I'd need to check their starting delimiters in the inline code
A dedicated parser (like here) might be better, although that would go at the expense of customizability.
There might be a way to store all the old Decorations and update them, but I'm uncertain if the overhead created by that would make any performance difference to the current implementation.
This closes #1915 partially.

However, the performance optimisation introduces one change in behaviour: It will only reload the Widgets once the cursor position is changed. But I think this is acceptable.

i tested it with my query collection of 40+ queries and i can't see new bugs and it feels like queries are loading faster in LP after opening a note or going with the cursor outside the codeblock.

I recommend reviewing the commits individually, the second one is only a refactor.

i tested it with my query collection of 40+ queries and i can't see new bugs and it feels like queries are loading faster in LP after opening a note or going with the cursor outside the codeblock.

Offtopic here.
Are you willing to share those queries with me. I am quite new to Obsidian and I am collecting some Dataview Snippets. So far I have one that check all the notes linked but haven't created yet, and another one to list a whole set of movies and group them by genre.
Thanks.

I have some more ideas on how I could improve performance and behaviour, I’ll let you know.

I have implemented partial updating (only rerender what needs updating). This partially closes #1493.)

Now #1493 would get closed for good.

I'm awaiting community feedback, please only merge this once I have gathered it and updated this PR.

I have received positive feedback from @xDovos for the latest build.

Looks good to me; I will cut the new release tonight when I am at my computer.

I opened #1925 because I overlooked removing one unused parameter.


Remove embedded certs

This workitem will track the removal of spec.service.certificate and spec.route.certificate, relying on their ref variants.  We have run into lots of issues related to mismatched Cert-Manager versions, etc, so just using the ref should help prevent this.
The value-add from the Operator is that it will watch the referenced Secret for any changes and update the corresponding resources.

Resolved by PR https://github.com/application-stacks/runtime-component-operator/pull/190


BCv1.65 - RSA Key Generation of odd bit length always fails

Dear BC team,
When trying to generate a RSA key pair of odd bit length, the following check fails when trying to generate 'q' prime number:
protected BigInteger chooseRandomPrime(int bitlength, BigInteger e, BigInteger sqrdBound)
   [..]
        if (p.multiply(p).compareTo(sqrdBound) < 0)
        {
            continue;
        }

When starting generation p and q sizes are computed and, for example, for 1001-bits keypair, p size = 501-bits and q = 1001-501 = 500-bits.
This check always fails for 'q' prime number, because q size is too small and I suppose the multiplication can never be higher than 'sqrdBound' value
Not sure how it was working before, and when exactly it was "broken", but on BCv1.55 such odd bit length RSA key size generation was seemingly working fine
Actually, I'm not a pure crypto specialist and I'm not sure that such odd key lengths makes any sense for RSA... If it makes no sense, I would suggest to gracefully reject right away.
Thank you.

It's a bit of an odd one, but yes I'd stay away from odd bit lengths. The tests are there to ensure the validity of the keys, I don't think watering them down to allow for this would turn out to be a long term benefit. Sorry.


Expose command and search history, marks, etc.

Meta-issue about implementing commands from the original fzf.vim.
Some of the most important ones:

:marks in current and all opened files.
Command history (Ctrl+F in :)
File history (:bro ol)
Search history
File types (:set ft=)

Thoughts?

yes, I would re-wtite them from fzf.vim, one by one.

@linrongbin16 , do you want any input on the above? I'd be happy to help.

sure, I am now trying to implement the nvim builtin buffer previewer, it's super difficult, and I am struggling with it.

emmmm, the code base is completely different, I don't think I could use it.

hi @savchenko , I submit #627  to add 'FzfxMarks' command, it implements the marks command.
Would you please try it and give some feedbacks?

Yes I am putting most of my time in rsvim now.
But thanks to your attention, I may still spend some time to implement these commands.
I think it won't conflict with the rsvim project (at least for now).

I just added the ":History:" equivalent command "FzfxCommandHistory".
Please give me any feedbacks about it.

And I will move this issue to #749 , it lists all the missing commands in fzf.vim and fzf-lua.
Hope we could fill the big gap with them.


Update Azure Playfab Party

SteamDB app page links to a few games using this
https://steamdb.info/app/1182900
Brief explanation of the change
yeah so i think Playfab Party can also be put into Party.dll, so i added it to the rule

the only apps that are gonna be affected by this are:
https://steamdb.info/app/1182900/info/
https://steamdb.info/app/215100/info/
https://steamdb.info/app/660330/info/
https://steamdb.info/app/1334650/info/
https://steamdb.info/app/1989210/info/


Support custom waf rules creation

Current cloudflare-go version
latest
Description
In my understanding and correct if I am wrong currently cloudflare-go doesn't support the creation of custom waf rules and and WAFExpression, WAFAction as described in the Cloudflare developers API
Use cases
To be able to add on my ruleset specific access restrictions
Potential cloudflare-go usage
// WAFRule represents the WAF rule structure
type WAFRule struct {
	ID         string    `json:"id,omitempty"`
	Paused     bool      `json:"paused"`
	Description string   `json:"description"`
	Filter     WAFFilter `json:"filter"`
}

// WAFFilter represents the WAF filter structure
type WAFFilter struct {
	ID          string          `json:"id,omitempty"`
	Paused      bool            `json:"paused"`
	Expressions []WAFExpression `json:"expressions"`
}

// WAFExpression represents the WAF expression structure
type WAFExpression struct {
	Operator    string   `json:"operator"`
	ZoneID      string   `json:"zone_id,omitempty"`
	Field       string   `json:"field"`
	Value       string   `json:"value,omitempty"`
	IPRanges    []IPRange `json:"ip_ranges,omitempty"`
}

	wafRule := WAFRule{
		Paused:     false,
		Description: fmt.Sprintf("Allow listed IP ranges for domain: %s", domain),
		Filter: WAFFilter{
			Paused: false,
			Expressions: []WAFExpression{
				{
					Operator: "or",
					Field:    "ip",
					IPRanges: createIPRanges(ipRanges),
				},
			},
		},
	}

References
No response

cloudflare-go does already support the edge rules engine based WAF. you can see the methods in rulesets.go.
if you want to see usage, you can either check out the test files or terraform provider resources that rely on these methods.

@jacobbednarz Thanks for your answer, I checked the tests and look helpful. Could you please also share the abovementioned terraform-provider link to check the implementation there tooo?


Update the pause images

Type of change

[ ] Refactor
[ ] New feature
[x] Bug fix
[ ] Optimization
[ ] Documentation Update

Description
This PR updates the pause images, which are multi-arch in nature
Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

@krishvoor could you please take a look at the failing tests before moving on?
Thanks!

Hi @josecastillolema: this is looking good now.


PrintAndLog formatting

Hi, everyone!
Started working on #28 and stumbled upon PrintAndLog:
// PrintAndLog writes to stdout and to a logger.
func PrintAndLog(message string) {
	log.Println(message)
	fmt.Println(message)
}

The main issue I have with this is that I cannot pass formatted messages - do you think something like below would work?
// PrintfAndLog writes to stdout and to a logger.
func PrintfAndLog(format string, args ...interface{}) {
	log.Printf(format, args...)
	fmt.Printf(format, args...)
}

Also, why do we do both log.Print and fmt.Print?
Update: after using this with the actual test, I understand the need for both - the question is whether we also need to have one with the ability to format the message, as above - maybe PrintfAndLog?
Example of usage for method above here:
helpers.PrintAndLog(fmt.Sprintf("container group name: %v", *c.Name))
The question is whether this is a valid use case, or the print and log should only be used for well known // Output messages.
An alternative would be to use the testing package.
Thanks,
Radu M

Hi Radu! Yes, the PrintAndLog function was added so Go's tests would pick up the output, but we really wanted to use the testing package from the beginning. I'm working on refactoring now in #203 and have begun to replace examples with tests. If you have other suggestions please chime in there, thanks!


Change the toggle comment hotkey on macOS to Cmd+/

The standard toggle comment shortcut on macOS is Cmd+/
The following text editors use Cmd+/ to toggle comments on macOS:
Xcode, VSCode, Atom, Rubymine, AppCode, Sublime Text

We could also switch to Ctrl + / on other platforms. We just need to make sure it's properly handled on non-QWERTY layouts (which is unfortunately not always the same, in my experience).

For the sake of backward-compatibility/muscle-memory/cross-platform-compatibility is it worth considering also still keeping the Cmd+K option?


DAILY TREATS

Summary of the Pull Request
References and Relevant Issues
Detailed Description of the Pull Request / Additional comments
Validation Steps Performed
PR Checklist

[ ] Closes #xxx
[ ] Tests added/passed
[ ] Documentation updated

If checked, please file a pull request on our docs repo and link it here: #xxx

[ ] Schema updated (if necessary)

@microsoft-github-policy-service agree

@jmarrujo91-max please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree


token key invalidating session and clearing localStorage

In this guide
https://github.com/simplabs/ember-simple-auth/tree/master/packages/ember-simple-auth-devise
you have the server return data with a token key.
 data = {
          token:      self.resource.authentication_token,
          user_email: self.resource.email
        }

I also see a commit "change devise user_token to token".
https://github.com/simplabs/ember-simple-auth/commit/e146cb584227b27e56c4dd987a03a8149051905e
When I use token as my key, the session doesn't persist during page reload because localStorage is cleared.
JSON.parse(localStorage['ember_simple_auth:session'])
Object {authenticator: "simple-auth-authenticator:devise", token: "bHbziDNfiM64hP_HqgPj", user_email<EMAIL_ADDRESS>
I found this: http://stackoverflow.com/questions/25215010/ember-simple-auth-session-lost-on-refresh
When I change the data key to user_token in rails, the session persists. Not sure if I missed something.

Ah, it looks like that commit is on master. I'm using version 0.7.2.
I think I'll just change the tokenAttributeName for now.
ENV['simple-auth-devise'] = {
  tokenAttributeName: 'token'
}

Yeah, that's fixed but not released yet - will release week.


Split user management into multiple components

Working on the user-management and taking a look at it lately made me realize that the component has gotten quite large with its almost 300 LOC and an additional ~200 lines in its corresponding template. Since it likely will grow in the future, the code maintainability and clarity might suffer.
The component already sort of divides into 3 "sub-pages", i.e. the page with the user list, the user-creation page and user-edit page. Currently, we decide what is rendered using the page property and if-else statements in the template. To improve code quality, I suggest actually splitting the user-management into the 3 components user-list, user-edit and user-creation.
Furthermore, we can use the advantage of routes to get rid of the page property (e.g. /configuration/usermanagement/edit/:user_id to display the user-edit component for the user with the given id).

Done with 994953c.
The former user-management component was split into

user-list with route /configuration/usermanagement/users
user-creation with route /configuration/usermanagement/new
user-edit with route /configuration/usermanagement/edit/:user_id


Sushasan Webpage Revamp

Hi @karntrehan @riya-2206, as discussed, sharing the wireframe for the revamp of the Sushasan Webpage: https://www.figma.com/design/A1hSB1v5szqlRrq7O3Ca7Q/Samagra-website?node-id=303-4290&t=wyMKjUlnmHrywjpL-1
Facing some issues with the mobile view, will share that in a bit.

Hi @karntrehan , @riya-2206 , @Rohan27s
With respect to the mobile wireframe of Sushasan, it shall be provided by 14th Aug, 2024.
Thanks for the cooperation!

Hi, @karntrehan and @riya-2206
For the mobile webpage of Sushasan, we have decided to go with the 2nd type i.e. 5 episodes visible and then a 'view all' option.
Thank you!

Hi @tanusha-samagra,
Thank you for confirming , will share it today by eod

Hi @tanusha-samagra / @aayush-malik ,
Have completed desktop view, mobile view and cms as we discussed in the call. PFB the preview link for Sushasan page.
Also please do not make any changes in the cms using the preview link as the live data will get updated.
Please let me know if any changes required.
https://deploy-preview-64--samagra.netlify.app/sushasan/
cms: https://deploy-preview-64--samagra.netlify.app/admin
cc: @karntrehan , @Rohan27s , @prtkjakhar

Hi, @riya-2206
Thanks for sharing the deploy link and appreciate the promptness of making of the mobile webpage.
Here are 2 inputs:

The 'Open in YouTube' button, in both desktop and mobile view is leading the viewer to the YT page of Sushasan and not that particular video.
The 'Partner with us' section in mobile view is left aligned, rather should be center aligned.

Thank you!

Hey @tanusha-samagra ,
Have center aligned 'partner with us ' section for mobile and for 1st point it will be configurable from cms once we make it live.
Please let me know when can we merge the PR.
Preview link: https://deploy-preview-64--samagra.netlify.app/sushasan/

Hi, @riya-2206
Sure, thank you. Please make the link live.
Thanks again!

Hi, @karntrehan, @riya-2206 and @Rohan27s
As discussed in the call today, here is the sheet of audit and enhancements: https://docs.google.com/spreadsheets/d/1m5Jl0pb0E1MsgHAlf5paf8vVUpUPj8I_v8_24Hq0FLE/edit?usp=sharing
I have attached relevant media and put up the discussed remarks in the same sheet.
For reference, P0 items are being taken up in this sprint.
Thank you!

Hi, @riya-2206
There is another aspect that needs to be corrected in the Sushasan Page.
In the 'Explore Our Assets' section, there should be : Amrit Series, Governance Decluttered and Governance Frameworks. Since it is the page of Sushasan, we don't want it in explore our assets section.
Thank you!
CC: @karntrehan

Hey @tanusha-samagra ,
The 'Explore our assets' section is also editable from cms. Please let me know if you face any other challenges.

Yes got it, Riya!
Thank you:)

Hi, @riya-2206
We wanted to update the 1st video on the Sushasan webpage i.e. the Season Trailer.
We cannot find an option on the CMS to do so. The option of 'YouTube Link' that exists as of now is not reflecting any link which ever we have tried putting.
Kindly help! Thanks:)


[plugin incompat] image_picker 0.6 and firebase_analytics 3.0 cannot be used in the same project

Even though firebase_analytics 3.0.2 is listed on the "AndroidX Compatibility" page, it does not appear to be compatible with the androidx.legacy:legacy-support-v4:1.0.0 package linked by image_picker 0.6.0. When trying to build, it fails on :app:check<Profile>DuplicateClasses with numerous errors:
Duplicate class android.support.v4.app.INotificationSideChannel found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:26.1.0)
... (abridged)
Duplicate class android.support.v4.media.RatingCompat found in modules classes.jar (androidx.media:media:1.0.0) and classes.jar (com.android.support:support-media-compat:26.1.0)
... (abridged)
Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules classes.jar (androidx.core:core:1.0.0) and classes.jar (com.android.support:support-compat:26.1.0)

firebase-analytics transitively links com.android.support:support-compat:26.1.0 and com.android.support:support-media-compat:26.1.0 (firebase-core rendered as the root package but firebase-analytics is the problem one here)

As per above, these collide with classes from androidx.core and androidx.media which are transitively linked by androidx.legacy:legacy-support-v4 imported by image_picker 0.6:

Since we have no control over what firebase-analytics links (being a closed source lib), I think the solution here is to be more conservative with dependencies in image_picker, only using the specific androidx.legacy packages it needs instead of the metapackage. Looking through the source, I'm not even sure what it actually needs from the support libraries anyway.
As a temp fix, downgrading to image_picker 0.4.12 works but it's not exactly satisfactory.

Hello @abonander !
Did you manage to solve the issue? Does the problem still persist in the latest version?

I don't know. I've long since moved on from the Flutter project where this was occurring.

I also had this issue up until I upgraded flutter (1.10.7), manually switched to androidx and fixed a chain of outdated deps that were probably not related, but after doing so, I can confirm that this works with image_picker: ^0.6.1+4 and firebase_analytics: ^5.0.2

@abonander
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/1038. Any further collaboration will be done there.

Thank you @izik1 ! I'm going to close the issue, issue body's versions are not relevant already. Please open a new one, if the problem will occur.


AttributeError with freshly released xsdata==24.2

Hi, thanks for your work here!
I just wanted to leave a quick report here of an error I encountered after installing aicsimageio in a fresh environment. It seems that ome_types doesn't like xsdata==24.2 which was released yesterday 😅.
Here's how to reproduce the error:
Make sure to have xsdata==24.2 and
`python -m ome_types`

Traceback
Traceback (most recent call last):
File "/Users/malbert/mambaforge/envs/aicsimageio/lib/python3.10/runpy.py", line 187, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/Users/malbert/mambaforge/envs/aicsimageio/lib/python3.10/runpy.py", line 146, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/Users/malbert/mambaforge/envs/aicsimageio/lib/python3.10/runpy.py", line 110, in _get_module_details
import(pkg_name)
File "/Users/malbert/mambaforge/envs/aicsimageio/lib/python3.10/site-packages/ome_types/init.py", line 17, in
from ome_types._conversion import from_tiff, from_xml, to_dict, to_xml, validate_xml
File "/Users/malbert/mambaforge/envs/aicsimageio/lib/python3.10/site-packages/ome_types/_conversion.py", line 16, in
from xsdata_pydantic_basemodel.bindings import (
File "/Users/malbert/mambaforge/envs/aicsimageio/lib/python3.10/site-packages/xsdata_pydantic_basemodel/bindings.py", line 32, in
class SerializerConfig(config.SerializerConfig):
File "/Users/malbert/mambaforge/envs/aicsimageio/lib/python3.10/site-packages/xsdata_pydantic_basemodel/bindings.py", line 35, in SerializerConfig
*config.SerializerConfig.slots,
AttributeError: type object 'SerializerConfig' has no attribute 'slots'.

(What a fitting associated issue number 😁)

Thanks @m-albert!
I'll have a look tomorrow or the next day and release a fix.

(What a fitting associated issue number 😁)

🤯

Wow, thanks for such a quick fix @tlambert03 🚀

no problem, thanks again for reporting.  will release shortly


Replacing webcam with camera

Hello Vladimir,
I want to read streams from a camera not webcam?
How can I do it?
I just simply changes all getVideoTracks()[0] to getVideoTracks()[1] in the index.js and face3d.js, but I got the 'Exception Error' on the screen.
Actually after allowing the camera to capture, the camera's lights get on (like what happen with webcam) and it seems camera is ready but no stream!
Thx

It was connected without changing anything. I just changed it to the original getVideoTracks()[0] and run again and it worked with the my external camera.
Here I want to know what if I have several cameras and webcams connected to my laptop, what is the priority or how can I select a specific one to get streams from?

before call to track = stream.getVideoTracks there is a call to stream = navigator.mediaDevices.getUserMedia(constraints) which returns all streams that fit given constraints - and if you want to select a specific camera, you select contraints that match that camera.
check out specs at https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getUserMedia

Actually there are two cameras (s and ca), both of them are recognized by the algorithm and they appear in the permission pop-up but for one of them (ca) I receive error of 'CAMERA ERROR: STARTING VİDEO FAILED'. what is the reason? How can I fix it? both cameras are very similar in characteristics and same brand.

How are you accessing second camera?
Also, can you open browser inspector, there should be a more detailed error noted there.
(human library logs to browser console in more details)

I do nothing, as soon as I connect the S camera via usb to the laptop it will be recognized by the algorithm and will be in the list of devices it the pop-up permission. I select it and the algorithm starts getting streams from the camera. but it is not true for the other camera, I don't know why?

it's not algorithm that picks up multiple cameras, it's the browser.
demo simply asks browser 'give me camera that fits constraints' and since default constraints is basically anything, browser gives it full list.
you picking camera in the browser pulldown list doesn't mean you're selecting it, algorithm will still try to use default (first one) if there is no more specific constrait.
so you select second camera and that means nothing, it will still try to access first.
what you should do is list all cameras programatically and then choose which one to use.
i might be able to do it with a dynamic selector, but i don't have multiple webcams available, so cannot test anything.
for example, this will list all cameras:
const devices = await navigator.mediaDevices.enumerateDevices()
for (const device of devices) console.log('kind:', device.kind, 'label:', device.label, 'id:',device.deviceId);

and then in index.js modify camera constraints to explicitly choose which one to use:
const selectedCameraId = 'xxxxxxxxx'; // some camera id that you got from full list
const constraints = {
  audio: false,
  video: {
    facingMode: ui.facing ? 'user' : 'environment',
    resizeMode: ui.crop ? 'crop-and-scale' : 'none'
    deviceId: selectedCameraId, }
  },
};

i've added some additional messages to function setupCamera() in demo/index.js, new code is on github main branch:
it should log something like this to browser console on startup:
status setting up camera
enumerated devices:
  kind:audioinput label: id:
  kind:videoinput label:HP Wide Vision FHD Camera (0408:5251) id:6794499e046cf4aebf41cfeb7d1ef48a17bd65f72bafb55f3c0b06405d3d487b
  kind:audiooutput label: id:
enumerated viable tracks: 1
  video: HP Wide Vision FHD Camera (0408:5251)
selected camera: HP Wide Vision FHD Camera (0408:5251) id: 6794499e046cf4aebf41cfeb7d1ef48a17bd65f72bafb55f3c0b06405d3d487b


add Upload Dumps on Crash option

Added Upload Dumps on Crash to drop-down Options menu. This setting is saved as m_UploadDumpsToServer in config.xml. Default value is false.
Moved SetUploadsEnabled call from constructor to the separate function that called a bit later (after config.xml is read when it's possible to read options). In this case all dumps that created between these 2 events (CrashHandler created and config.xml read) will be written only in the database and not send to server.

Small comments and one question: When the user changes the setting: I don't see how this calls crash_report_db->GetSettings()->SetUploadsEnabled.

Yes, you're right, it doesn't change this setting immediately. I assumed that the most common usage would be to set it once and then just read from file on start, so I just added it as all other options. If we want to change it immediately I also should add saving the config.xml on action triggered.

Small comments and one question: When the user changes the setting: I don't see how this calls crash_report_db->GetSettings()->SetUploadsEnabled.

Yes, you're right, it doesn't change this setting immediately. I assumed that the most common usage would be to set it once and then just read from file on start, so I just added it as all other options. If we want to change it immediately I also should add saving the config.xml on action triggered.

Sounds good. For reference, that was my train of thought: I'm a user and I decide to disable uploading when it previously was enabled. So I click the action, then Orbit crashes and this crash dump gets uploaded and my settings change does not get persisted. So this should/may not happen.

Small comments and one question: When the user changes the setting: I don't see how this calls crash_report_db->GetSettings()->SetUploadsEnabled.

Yes, you're right, it doesn't change this setting immediately. I assumed that the most common usage would be to set it once and then just read from file on start, so I just added it as all other options. If we want to change it immediately I also should add saving the config.xml on action triggered.

Sounds good. For reference, that was my train of thought: I'm a user and I decide to disable uploading when it previously was enabled. So I click the action, then Orbit crashes and this crash dump gets uploaded and my settings change does not get persisted. So this should/may not happen.

Agree with you, in case when we change setting and then Orbit crashed it looks weird. I'll convert the PR to draft as it will take some time to implement it.

LGTM. Thank you. Two small comments.

Updated PR. Thanks for the review!


[pwm] Verification sign-off for M2.5

Description
This tracks open verification tasks for M2.5.
See effort estimation docs for details.
CC @marnovandermaas

[ ] #18390 V2.5 TODOs

I suspect this issue can be closed altogether because it's essentially just a length-one list that points at another issue. Marking as a triage priority.

Closing as #18390 tracks remaining work (as @rswarbrick points out).


[build-draft] Add support for newer OpenEmbedded release series

Add .mcf files that support building with OpenEmbedded release series warrior, zeus, and dunfell (the latter of which has not yet been released).

Depends on https://github.com/ros/meta-ros-webos/pull/1

All previous commits were merged with milestone 11, but some mistake was made when my commits were rebased, reordered and squashed.
I've updated this PR to resolve this issue in:
https://github.com/ros/meta-ros/commit/ee484e65c509376f779283528c8b037c2bf41487#diff-b6f09dba01aeb8b2bb3c479420cc2dd6R42

Moved the fix to separate PR https://github.com/ros/meta-ros/pull/676


Emoji Parsing !!

Hello,
I want to ask about displaying the emoji after submitting the form
for example, I have a form uses emoji picker, I need to display the emoji on displaying area
how to do that ??

Please use the search, there are many similar questions
https://github.com/mervick/emojionearea/issues?utf8=✓&q=is%3Aissue

@mervick Plz can u mention me on the real solution ??

Use the emojione JS library (which is already a dependency of emojionearea btw, loading it from a CDN automatically if you don't already have it)

be sure to use version 2 of emojione though. Version 3 is not yet supported (see #124)

Or you can use the .emojioneAreaText() function available in emojioneArea too btw


Simple version check in tonic_build

Feature Request
Crates

tonic
tonic_build

Motivation
Something didn't work in my project today, I was getting such errors:
error running rustfmt: Os { code: 2, kind: NotFound, message: "No such file or directory" }

I spent a lot of time trying to figure out what's going on. This error doesn't tell anything, really.
Eventually, it turned out that this was my mistake, because I had different versions of tonic and tonic_build:
tonic = "0.8"
tonic-build = "0.6"

Once I made them the same everything just worked:
tonic = "0.8"
tonic-build = "0.8"

Proposal
I know it is in the docs but it's not super easily seen and may be skipped.
Is it possible to perform a simple check if the versions of these 2 libs are the same and if they're not, then throw an appropriate, descriptive error?

If you find a good solution for that then sure! But we need to be careful because its still allowed to use different versions of tonic in the same project.


[FEATURE] Installer: enhance UX in network configuration panel

Is your feature request related to a problem? Please describe.
It takes time to configure an interface (especially in DHCP mode), the text-UI freezes after selecting an interface mode.

Describe the solution you'd like
We can:

Add a spinner to let the user know the configuration is in process.
Preview the offered IP in DHCP mode.

Describe alternatives you've considered

Additional context

Test info
Verified version: master-e617c6ae-head
Test cases

Run installer on KVM with DHCP server

[x] Show applying message for DHCP mode

[x] Show applying message for Static mode

Run installer on KVM without DHCP servewr

[x] Show error message


bugfix - fix broken paths to views and translations

Since bootstrap v7 there have been a number of issues around implied paths. Previously it was assumed that ./views, ./translations and ./fields would be relative to the path of the route. The previous change removed this and required them to be explicitly set. This commit allows them to be explicitly set, but if not it will attempt to locate them in the route directory as before. This actually removes the need for the previous major bump

updated to use name if fields translations and views are not explicitly set
removed duplicate shared views path

It'd be cool to have an idea of what the bug being fixed was, but otherwise the code LGTM. 🚀

Yeah - I am not known for my overly descriptive commit messages 😬 - I'll add to the description now

Looks legit then.