Change Year Into footer to the year 2020

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


 is not swipable with  with MS Edge & touch screen

Short description of the problem:
ion-slides is not swipable if you using ion-content with overflow-scroll="true" and Microsoft Edge browser. Problem only occurs when using the touch screen. Other browsers are not affected.
<ion-slides>
  <ion-slide-page>
     <ion-content overflow-scroll="true">Lots of scrollable content here</ion-content>
  </ion-slide-page>
  <ion-slide-page>
     <ion-content overflow-scroll="true">Lots of scrollable content here</ion-content>
  </ion-slide-page>
</ion-slides>

What behavior are you expecting?
Swiping works:

(Chrome)
Other information:
Workaround is to set overflow-scroll as false.
Which Ionic Version?
Latest 1.x nightly build affected and others.
Codepen: http://codepen.io/teemuko/pen/kkEVRa

Have the same problem!

This issue was moved to driftyco/ionic-v1#84


Failed to Resolve Dependency: android-issue-reporter Version 1.4.2 Not Found

Describe the bug
The latest version 1.4.2 of the android-issue-reporter library is not working as expected. The error message is: "Failed to resolve: com.heinrichreimersoftware:android-issue-reporter:1.4.2".
Reproduce
Steps to reproduce the behavior:

Add the library with version 1.4.2.
Try to build the project.
See the error "Failed to resolve: com.heinrichreimersoftware:android-issue-reporter:1.4.2".

Expected behavior
The project should build successfully without any errors when using version 1.4.2 of the android-issue-reporter library.
Stack trace / screenshots
Unfortunately, I don't have a stack trace or screenshots at the moment.
Device

Device: [Not needed]
OS: [Not needed]
Browser: [Not needed]
Version: [Not needed]

Additional context
This issue started occurring after updating the library to version 1.4.2. The previous version 1.3.1 was working fine and is present on the Maven repository. However, version 1.4.2 is on JitPack, which could be causing the issue. It seems that the project is not able to resolve the dependency from JitPack, even after adding JitPack to the project's build files. A potential solution could be to provide an updated version of the dependency on both Maven and JitPack.

After rewriting the settings.gradle.kt file with a better arrangement and a new syntax for the JitPack repo, that error disappeared. It’s no longer there.
It looks like it got the dependency. Here is the structure from the settings.gradle:
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven {
            setUrl("https://jitpack.io")
        }
    }
}

But the repo doesn’t seem to be recognized due to some more issues related to unresolved classes and commands.
Here is a list of some errors:

Unresolved reference: IssueReporterLauncher and can’t be imported
Unresolved reference: IssueReporterActivity

I will take a closer look at the project and check what the problem is. Maybe it’s because of my project. But I will also take a look at the library on GitHub and contribute if I can.

Here is the structure from the settings.gradle:
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven {
            setUrl("https://jitpack.io")
        }
    }
}

Did the snippet from the readme (a simplified version of the above) not work?
dependencyResolutionManagement {
    repositories {
        maven(url = "https://jitpack.io")
    }
}

But the repo doesn’t seem to be recognized due to some more issues related to unresolved classes and commands.
Here is a list of some errors:
* Unresolved reference: IssueReporterLauncher and can’t be imported

* Unresolved reference: IssueReporterActivity

You probably need to import the classes com.heinrichreimersoftware.androidissuereporter.IssueReporterLauncher and/or com.heinrichreimersoftware.androidissuereporter.IssueReporterActivity. Normally, the IDE should suggest the import automatically. But we could add the explicit import to the readme.

The explicit import doesn't have any influence and the classes don't seem to be recognized. The project has many issues.
The first reason I think the dependency has issues is related to the fact that it can't be fully implemented in the project. This is the reason why I actually can't import the classes even if I try to add them manually. This could be due to the fact that it isn't showing any error when it is imported with the:
       maven {
            setUrl("https://jitpack.io")
        }

But by adding the next code it can't find it:
dependencyResolutionManagement {
    repositories {
        maven(url = "https://jitpack.io")
    }
}

Another reason I think this is the case is because the project can be found in two places, on Maven and JitPack, and this could lead to a misinterpretation of this repo. As I said earlier, the version on Maven is 1.3.1 and on JitPack, it's 1.4.2.
The versions 1.4 and 1.4.1 cannot be imported as well because of the com.github.aakira:expandable-layout. One interesting thing is that on version 1.4 and 1.4.1 it wants to be added the dependecy com.github.aakira:expandable-layout manually because it can't find it. The version of com.github.aakira:expandable-layout is 1.5.0 and the latest one is 1.6.0. Even with this, the expandable layout dependency is very old and outdated, leading to some incompatibility issues. This leads me to think that the issues could be related to this, even if it isn't shown in the build log.

I just bumped the dependency to 1.4.2 on a project and it works just fine.

I just bumped the dependency to 1.4.2 on a project and it works just fine.

I would note that it doesn't actually work, my bad. Looking at jitpack the main issue seems to be that there is no actual aar file there, just the sources: https://jitpack.io/com/heinrichreimersoftware/android-issue-reporter/1.4.2/

Unfortunately, I won't have time to fix this issue anytime soon. So the best you can do is to debug the JitPack build and then propose a pull request which I'd be more than happy to merge. Sorry for the inconvenience!


Issue with HA 2023.8.0

Update today to HA 2023.8.0 and I have this warning

Same issue for me.
And since yesterday i have this :
--- Logging error ---
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/logging/__init__.py", line 1110, in emit
    msg = self.format(record)
          ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/logging/__init__.py", line 953, in format
    return fmt.format(record)
           ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/logging/__init__.py", line 687, in format
    record.message = record.getMessage()
                     ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/logging/__init__.py", line 377, in getMessage
    msg = msg % self.args
          ~~~~^~~~~~~~~~~
TypeError: not all arguments converted during string formatting
Call stack:
  File "/app/main.py", line 125, in <module>
    main()
  File "/app/main.py", line 121, in main
    loop.run_forever()
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 607, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.11/asyncio/base_events.py", line 1922, in _run_once
    handle._run()
  File "/usr/local/lib/python3.11/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/app/main.py", line 55, in listen_tydom
    await message_handler.incoming_triage()
  File "/app/tydom/MessageHandler.py", line 309, in incoming_triage
    await self.parse_response(incoming)
  File "/app/tydom/MessageHandler.py", line 346, in parse_response
    logger.warning('Unknown message type received', data)
Message: 'Unknown message type received'
Arguments: ('[]\r\n',)

I'm on latest HA 2023.8.1 and latest tydom2mqtt.
I only have covers and kline door sensors.
This morning my covers weren't opened.

Same issue in the log

Hello,
This morning again my cover weren't open :
in log :
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/app/mqtt/MqttClient.py", line 131, in on_message
    await Cover.put_positionCmd(tydom_client=self.tydom, device_id=device_id, cover_id=endpoint_id,
  File "/app/sensors/Cover.py", line 124, in put_positionCmd
    await tydom_client.put_devices_data(device_id, cover_id, 'positionCmd', positionCmd)
  File "/app/tydom/TydomClient.py", line 256, in put_devices_data
    await self.connection.send(a_bytes)
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/protocol.py", line 635, in send
    await self.ensure_open()
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/protocol.py", line 935, in ensure_open
    raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedError: no close frame received or sent
2023-08-07 07:10:00,077 - mqtt.MqttClient      - INFO    - set_positionCmd message received (topic=cover/tydom/1614676385_1614676385/set_positionCmd, message=UP)
2023-08-07 07:10:00,077 - sensors.Cover        - INFO    -<PHONE_NUMBER> positionCmd UP
2023-08-07 07:10:00,078 - asyncio              - ERROR   - Task exception was never retrieved
future: <Task finished name='Task-16903' coro=<MqttClient.on_message() done, defined at /app/mqtt/MqttClient.py:77> exception=ConnectionClosedError(None, None, None)>
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/protocol.py", line 959, in transfer_data
    message = await self.read_message()
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/protocol.py", line 1029, in read_message
    frame = await self.read_data_frame(max_size=self.max_size)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/protocol.py", line 1104, in read_data_frame
    frame = await self.read_frame(max_size)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/protocol.py", line 1161, in read_frame
    frame = await Frame.read(
            ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/framing.py", line 68, in read
    data = await reader(2)
           ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/streams.py", line 729, in readexactly
    await self._wait_for_data('readexactly')
  File "/usr/local/lib/python3.11/asyncio/streams.py", line 522, in _wait_for_data
    await self._waiter
  File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 970, in _read_ready__get_buffer
    nbytes = self._sock.recv_into(buf)
ConnectionResetError: [Errno 104] Connection reset by peer
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/app/mqtt/MqttClient.py", line 131, in on_message
    await Cover.put_positionCmd(tydom_client=self.tydom, device_id=device_id, cover_id=endpoint_id,
  File "/app/sensors/Cover.py", line 124, in put_positionCmd
    await tydom_client.put_devices_data(device_id, cover_id, 'positionCmd', positionCmd)
  File "/app/tydom/TydomClient.py", line 256, in put_devices_data
    await self.connection.send(a_bytes)
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/protocol.py", line 635, in send
    await self.ensure_open()
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/protocol.py", line 935, in ensure_open
    raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedError: no close frame received or sent
2023-08-07 07:10:00,079 - mqtt.MqttClient      - INFO    - set_positionCmd message received (topic=cover/tydom/1612196495_1612196495/set_positionCmd, message=UP)
2023-08-07 07:10:00,079 - sensors.Cover        - INFO    -<PHONE_NUMBER> positionCmd UP
2023-08-07 07:10:00,079 - asyncio              - ERROR   - Task exception was never retrieved
future: <Task finished name='Task-16904' coro=<MqttClient.on_message() done, defined at /app/mqtt/MqttClient.py:77> exception=ConnectionClosedError(None, None, None)>
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/protocol.py", line 959, in transfer_data
    message = await self.read_message()
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/protocol.py", line 1029, in read_message
    frame = await self.read_data_frame(max_size=self.max_size)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/protocol.py", line 1104, in read_data_frame
    frame = await self.read_frame(max_size)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/protocol.py", line 1161, in read_frame
    frame = await Frame.read(
            ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/framing.py", line 68, in read
    data = await reader(2)
           ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/asyncio/streams.py", line 729, in readexactly
    await self._wait_for_data('readexactly')
  File "/usr/local/lib/python3.11/asyncio/streams.py", line 522, in _wait_for_data
    await self._waiter
  File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 970, in _read_ready__get_buffer
    nbytes = self._sock.recv_into(buf)
             ^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/app/mqtt/MqttClient.py", line 131, in on_message
    await Cover.put_positionCmd(tydom_client=self.tydom, device_id=device_id, cover_id=endpoint_id,
  File "/app/sensors/Cover.py", line 124, in put_positionCmd
    await tydom_client.put_devices_data(device_id, cover_id, 'positionCmd', positionCmd)
  File "/app/tydom/TydomClient.py", line 256, in put_devices_data
    await self.connection.send(a_bytes)
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/protocol.py", line 635, in send
    await self.ensure_open()
  File "/usr/local/lib/python3.11/site-packages/websockets/legacy/protocol.py", line 935, in ensure_open
    raise self.connection_closed_exc()
websockets.exceptions.ConnectionClosedError: no close frame received or sent

HA 2023.8 mqtt entity naming convention warnings and Temperature and alarm attributes are not updated fixed with 3.3.1


Line heights are calculated wrong with zero-width marker in Firefox

Repro here: https://codepen.io/anon/pen/pGvrOa?editors=0110. Try putting the cursor on line 3 in Firefox. I used Firefox 64.0.
This happens when you try to make a TextMarker with replacedWith that a) spans the entire line and b) has zero width.
It works fine in Chrome, but in Firefox it messes up line height calculations and the cursor appears in the wrong place when you try to put it below the marker.
(Note that Chrome renders the line with the marker with normal line height, whereas Firefox renders it with no height. It makes sense to me that this is a weird thing to do and the resulting line height may be undefined--the bug is that the cursor placement is inconsistent with the apparent line height.)

Attached patch somewhat fixes this—the line numbers will still overlap when a visible line ends up being less high than a line number, but at least the height calculations will make sense. Does that help?

That sounds great, thanks! I've been using CSS to hide the line numbers on such collapsed lines so that isn't a problem. Maybe auto-hiding the line number or something could be a separate issue but I'll close this one.


FIX: bug fix in seqr billing aggregator function

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

:exclamation: No coverage uploaded for pull request base (main@987f9d0). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #170   +/-   ##
=======================================
  Coverage        ?   88.04%
=======================================
  Files           ?        4
  Lines           ?      393
  Branches        ?        0
=======================================
  Hits            ?      346
  Misses          ?       47
  Partials        ?        0

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


How do I use an interceptor (or something else) to remove a Referer from a request after a redirect?

(For some reason I can't sign up for StackOverflow right now, please don't close my issue.)
I find this seems to be impossible, except for handling redirects manually.
Any other way to do this would be appreciated.

Use a network interceptor, and you can check the request and remove it.
    val client = OkHttpClient.Builder()
        .addNetworkInterceptor(
            Interceptor {  chain ->
                chain.proceed(removeReferer(chain.request()))
            }
        ).build()

    private fun removeReferer(request: Request) = request.newBuilder()
        .removeHeader("Referer")
        .url(request.url.newBuilder().removeAllQueryParameters("referer").build())
        .build()

Please find a way to join stackoverflow, we can't provide 1:1 support here.

You may have misunderstood me, or I may not have been clear enough.
I need to remove the Referer from requests after redirection, not all requests.

Yep, you'll need to disable followRedirects on the client, and manually handle redirects in an application interceptor, or your application.
I am curious, OkHttp isn't adding the referer header, is this in your original request?

Yes.
In browsers, the Referer is removed from the redirected request, but that's not the case with okhttp.
Handling redirects manually is far less convenient than using interceptors.
Hopefully in future releases something like the number of redirects or previous responses will be added to the request object to provide more information to process.

OkHttp isn't adding the referer header


PagedResponse derived classes should be suffixed as PagedResponse

Rename all such types.
For example, the following should be KeyPropertiesPagedResponse
https://github.com/Azure/azure-sdk-for-cpp/blob/a97970ea20a679858933a8492be5f32afdb5ba60/sdk/keyvault/azure-security-keyvault-keys/inc/azure/keyvault/keys/list_keys_result.hpp#L31
@RickWinter - we should consider adding that to the guidelines

Fixed in https://github.com/Azure/azure-sdk-for-cpp/pull/2594


Newer Skyconnect firmware versions are missing MfgLib

Skyconnect firmware versions newer than <IP_ADDRESS> are missing
MfgLib, which is required for using the Skyconnect as a sniffer.
For details, see https://github.com/zsmartsystems/com.zsmartsystems.zigbee.sniffer/issues/30#issuecomment-1868581218

Can confirm the issue is resolved with NabuCasa_SkyConnect_EZSP_v<IP_ADDRESS>_ncp-uart-hw_115200.gbl
https://github.com/zsmartsystems/com.zsmartsystems.zigbee.sniffer/issues/30#issuecomment-1878489093


Witgen should enforce limits on number of side effects created

Resolved by https://github.com/AztecProtocol/aztec-packages/pull/10310


onBulkUpdate not working properly

onBulkUpdate: changes =>
new Promise((resolve, reject) => {
setTimeout(() => {
console.log(changes);
                resolve();
            }, 1000);
        }),

when we using bulk upload. In material-table we get only those rows which are changed rows but in material-table-core we are getting all rows.

@Domino987 is that what you were referring to? Or do you know what may be the cause?

@Domino987 is that what you were referring to? Or do you know what may be the cause?


Reorganize code base files

Overview
Break out 'errors', significant sub-types, and 'settings'.

Work for this issue will begin begin on branch work-liquid-labs/standard-error-set/28.


HostFS: major update: case-insensitive access and wildcards, ISO <-> UTF-8 translation for filenames

This PR implements:

mapping between UTF-8 hostfs filenames and ISO, including displaying out-of-range codepoints as ?
case-insensitive file opening and matching
generic UTF-8 handling for wildcard matching

It also changes the internal representation of the byte strings handled by ieee.c as uint8_t * rather than char *.

Missing from this PR is handling of file strings with path-delimiters in them.  It's perfectly valid to say
OPEN 1,8,1,"SUBDIR/FILE" but this code does not case-check SUBDIR, so in this instance it must be reachable on the filesystem.  This only affects HostFS on Linux or is otherwise running on a case-sensitive filesystem.
I will want to address this.

Another thing that needs addressing: conversion of newly created filenames back to UTF-8.


How to Incorporate Wall Following with Autonomy Lab

Would I be able to use this GitHub to incorporate wall following for my iRobot Create 2?

Thank you for the advice.


added new topic for reflex-frp

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md

I am:

[ ] Suggesting edits to an existing topic or collection
[x] Curating a new topic
[x] Unaffiliated with the project (not self-promoting as e.g. a maintainer, creator, contractor or employee)

CURATING A NEW TOPIC

[x] I've formatted my changes as a new folder directory, named for the topic as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME])
[x] My folder contains a *.png image (if applicable) and index.md
[x] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

Please explain why you think this topic should be curated:
To improve the project's branding, to signal a level of maturity and establish a convention where the community uses topics as a way of making applications created with the technology discoverable. I am unaffiliated with reflex-frp. I'm one maintainer helping out another maintainer with their tech cross the adoption chasm. I use the technology.

This PR uses https:// but if you visit using https:// it won't work yet - it will shortly - issue is being tracked at https://github.com/reflex-frp/reflex-frp/issues/6

Hmm travis didn't re-run after squash/force push.

Hiya @ghuntley! Thanks for this. Could you please fix the failing CI?

  1) Failure:
topics::reflex-frp topic#test_0006_ends 'short_description' with punctuation [/home/travis/build/github/explore/test/topics_test.rb:72]:
short_description should end with punctuation.
Expected /[.?!]\z/ to match "Reflex FRP is a Haskell library for building interactive applications".

I think it just wants you to end the sentence with punctuation 😄 – either ., ?, !. If you merge master and ensure the build is green, that would be super helpful. Thank you!


Update the system call to git function call

Description
Updated the system call to git function call to avoid vulnerability Command execution.
Related Issue
https://chefio.atlassian.net/browse/CHEF-3855
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] If Gemfile.lock has changed, I have used --conservative to do it and included the full output in the Description above.
[ ] All new and existing tests passed.
[ ] All commits have been signed-off for the Developer Certificate of Origin.

@nikhil2611 have you created a resource with a similar setup to that described in the ticket and compared the results?

Yeah @tpowell-progress  I have tried to replicate this scenario by adding the debugger and updated the branch name which consist of command to update some file permission - branch "chef-vendor-b&chmod 000 /Users/ngupta/Documents/testing.rb". And when I execute this with the git function and also with the system function with both the functions the command gets executed and updated this file permission.

@nikhil2611 given the nature of recipes and the resources available to them, code can be directly run through other resources without requiring the extra step of using the git resource specifically.


Fix failing CI build

Fix failing CI build (Travis CI) due to improper identation.
Also, remove the automatically added user attribute from the package
(added by PyCharm automatically)

Thanks. I think I should make a Travis CI from main repo.

Sure np!
sounds good.


[chipmunk 3] Switch to native contextmenu

Current context menu implemented on browser side, should be switched to native context menu

Also each text input should have native context menu as well


ConfigFileTypeEnum 枚举字段添加注释

参考
    /**
     * PROPERTIES
     */
    PROPERTIES("properties"),

@longtai-cn Hello, I would like to contribute in this issue

@puppet4 Welcome.


compose: Verify request payload in Zoom meeting creation test

Verify that Zoom meeting creation logic sends the expected request payload for configuring host_video and participant video.

Addresses feedback from #26588.

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

This is great, merged, thanks @dannysu!


Snake Game Evolutionary AI

Community Contribution
This is evolutionary AI snake game, based on idea of snake game + AI from this video and your flappy-bird neural network.
Link to live project, video, or image:
demo<EMAIL_ADDRESS>demo how i trained it<EMAIL_ADDRESS>source<EMAIL_ADDRESS>Sharing

[x]   I would be happy to have my project shared on The Coding Train's social media!

Twitter: https://twitter.com/deplodog

wow! this is awesome!

Thanks. I'm trying to figure out how to make pull request works, and its seems like i've got some problems here.
"Jest / build (10.x) (pull_request) Failing after 1m"
Should i fix it somehow?

Thank you, guys. Fixed it


Nightly Builds Of Brave Browser Raise innumerous Errors

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2022.11.11 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[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 issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
I use the nightly builds of Brave; never have I used the stable builds. Previously I used Safari but as of Mac OS 13.* a core framework is littered with bugs which Apple have neglected so effortlessly to patch – a practice for which they are quite infamous. Upon instllation of Brave I renamed the application to Brave rather than the Brave Nightly or whatever is the default. However, that should matter not for YT-DLP fails to fetch cookies for any other than stable builds of Brave. This raises multiple errors which are detailed in the output below. YT-DLP shall fetch cookies from any release channel build of Brave regardless of the name of the application. I believe the final path is the only path YT-DLP checks. The nightly builds use a folder called brave-browser-nightly although the solution may be more complicated than to add alternative paths.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: []
[debug] System config "/etc/yt-dlp.conf": ['--verbose', '--progress', '--newline', '--progress-template', 'download:%(info.title)s %(progress)j', '--no-colors', '--live-from-start', '--output', '/users/User/Downloads/tmp/%(playlist)s/%(playlist_index)s – %(title)s.%(ext)s', '--output-na-placeholder', '[]', '--continue', '--no-part', '--cookies-from-browser', 'brave', '--socket-timeout', '300', '--geo-bypass', '--legacy-server-connect', '--no-check-certificates', '--concurrent-fragments', '96', '--retries', 'infinite', '--file-access-retries', 'infinite', '--fragment-retries', 'infinite', '--buffer-size', '96M', '--http-chunk-size', '96M', '--hls-use-mpegts', '--yes-playlist', '--format', 'bv*+ba/b', '--merge-output-format', 'mkv', '--remux-video', 'mkv', '--audio-format', 'best', '--audio-quality', '0', '--embed-subs', '--embed-thumbnail', '--embed-metadata', '--fixup', 'detect_or_warn', '--extractor-retries', 'infinite', '--extractor-args', 'youtube:player-client=all']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.11.11 [8b64402] (pip)
[debug] Python 3.10.8 (CPython x86_64 64bit) - macOS-13.1-x86_64-i386-64bit (OpenSSL 1.1.1s  1 Nov 2022)
[debug] exe versions: ffmpeg 5.1.2 (fdk,setts), ffprobe 5.1.2, phantomjs 2.1.1, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.15.0, brotli-1.0.9, certifi-2022.09.24, mutagen-1.46.0, secretstorage-3.3.3, sqlite3-2.6.0, websockets-10.4
[Cookies] Extracting cookies from brave
Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/site-packages/yt_dlp/__init__.py", line 968, in main
    _exit(*variadic(_real_main(argv)))
  File "/usr/local/lib/python3.10/site-packages/yt_dlp/__init__.py", line 928, in _real_main
    with YoutubeDL(ydl_opts) as ydl:
  File "/usr/local/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 641, in __init__
    self.print_debug_header()
  File "/usr/local/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 3777, in print_debug_header
    self._setup_opener()
  File "/usr/local/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 3806, in _setup_opener
    self.cookiejar = load_cookies(opts_cookiefile, opts_cookiesfrombrowser, self)
  File "/usr/local/lib/python3.10/site-packages/yt_dlp/cookies.py", line 99, in load_cookies
    extract_cookies_from_browser(browser_name, profile, YDLLogger(ydl), keyring=keyring, container=container))
  File "/usr/local/lib/python3.10/site-packages/yt_dlp/cookies.py", line 120, in extract_cookies_from_browser
    return _extract_chrome_cookies(browser_name, profile, keyring, logger)
  File "/usr/local/lib/python3.10/site-packages/yt_dlp/cookies.py", line 281, in _extract_chrome_cookies
    raise FileNotFoundError(f'could not find {browser_name} cookies database in "{search_root}"')
FileNotFoundError: could not find brave cookies database in "/Users/User/Library/Application Support/BraveSoftware/Brave-Browser"

When u pass brave, yt-dlp is looking at the standard location of stable brave. Give the correct profile path explicitly

I know not the path to it or its name.

You can check your profile path in chrome://version

Problem solved, thanks. I added a colon and the path in quotations to the profile and allowed upon reveal of the Keychain dialogue and everything works as intended. I was under the misapprehension Firefox is the only browser which required a profile's path to be specified explicitly.

The stable standard installs of brave, chrome, chromium, edge, firefox, opera, safari, and vivaldi don't need profile to be given. Anything else does


How to request file process?

I have yet to be able to process a file. I'm using chrome and Ubuntu 16.04. I raised an issue with using the Files->Process Files menu option here https://github.com/bavc/signalserver/issues/223
But I think I can also use fileuploads/list and use the 'Request File Process' button?
The 'frames processed' counter is always at zero for my uploads.
It seems like the 'show graph' and 'request file process' both link to signals/get_graph/
which shows something like this:

would you mind send me your file? It is possible that it is failing to read the file while processing. All QCtools files are slightly different depends on the base video format. It is possible that I need to account for this specific file format. So far I can process the files for the sample files I have.

or you can post the sample file here.

test2.zip
Hi, this zip contains the video file (ffv1/mkv) and the qctools sidecar.

Great thank you!

I just pushed the bug fix. You should be able to process the files in the newest version. Thank you!


Investigate PN

Codecov Report

Merging #275 (ba50412) into main (32d8196) will not change coverage.
The diff coverage is n/a.

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

@@           Coverage Diff           @@
##             main     #275   +/-   ##
=======================================
  Coverage   88.44%   88.44%
=======================================
  Files          15       15
  Lines        1134     1134
  Branches      136      136
=======================================
  Hits         1003     1003
  Misses        101      101
  Partials       30       30

Flag
Coverage Δ

unittests
∅ <ø> (∅)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


Potential Crash Using BackgroundTask Across API Boundary

A crash could occur on close when creating BackgroundTask objects.

Fixed in 2.2.2585-dev.


Electron integration

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

A new feature. The app it's now able to being builded on an Electron environment. (ref #96)

What is the current behavior? (You can also link to an open issue here)

Not electron at all.

What is the new behavior (if this is a feature change)?

Electron integrated. Few npm scripts commands to build targeting Electron.
Plugin used in the app to

Other information:

I removed every reference of ammap3 and amchar3 because their license. I don't know if you can added it again while merging.

Hi @michaeljota, just yesterday I merged a PR integrating electron, could you review the current code base and let me know if there is anything you would like to add?

I'm updating the electron integration with the lastest update. Will close this in favor of the new one.


Fix re-apply repmgr in case newer package is installed

/azp run

/azp run

:x:
install 'repmgr-common=False'' failed: E: Version 'False' for 'repmgr-common' was not found
It looks like the variable is resolved to False :cry:
2022-01-18T13:42:43.0812333Z1-1-1-1[38;21m13:42:43 INFO cli.engine.ansible.AnsibleCommand - TASK [postgresql : Extensions | repmgr | Install package(s) Debian] ************1-1-1-1
2022-01-18T13:42:43.9690970Z1-1-1-1[31;21m13:42:43 ERROR cli.engine.ansible.AnsibleCommand - fatal: [ci-10to13azubflannel-postgresql-vm-0]: FAILED! => {"cache_update_time":<PHONE_NUMBER>, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"      install 'repmgr-common=False'' failed: E: Version 'False' for 'repmgr-common' was not found\n", "rc": 100, "stderr": "E: Version 'False' for 'repmgr-common' was not found\n", "stderr_lines": ["E: Version 'False' for 'repmgr-common' was not found"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information..."]}1-1-1-1
2022-01-18T13:42:44.0949743Z1-1-1-1[31;21m13:42:44 ERROR cli.engine.ansible.AnsibleCommand - fatal: [ci-10to13azubflannel-postgresql-vm-1]: FAILED! => {"cache_update_time":<PHONE_NUMBER>, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"      install 'repmgr-common=False'' failed: E: Version 'False' for 'repmgr-common' was not found\n", "rc": 100, "stderr": "E: Version 'False' for 'repmgr-common' was not found\n", "stderr_lines": ["E: Version 'False' for 'repmgr-common' was not found"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information..."]}1-1-1-1

/azp run

/azp run

/azp run

Please also create a PR to develop :)


add pydantic's use of Rust to README

Adding links to Pydantic to PyO3's readme - if you're ok with this @samuelcolvin ? :)

👍 looks great

bors r+


RBAC issues while listing replicaSets for CA

Issue
The cluster-autoscaler seems to be running into issues while listing replica-sets.
Logs
k8s.io/client-go/informers/factory.go:131: Failed to list *v1.ReplicaSet: replicasets.apps is forbidden: User "system:cluster-autoscaler" cannot list replicasets.apps at the cluster scope

Solution
Update the system:cluster-autoscaler-shoot clusterRoles to provide the required RBAC privileges to list replica-sets clusters of all types.

/assign @prashanth26


By default ADFS only signs the assertion

It would be useful if the document also suggested that the the AD FS relying party trust is configure to sign the message and the assertion.
Set-AdfsRelyingPartyTrust -TargetName relyingPartyName -SamlResponseSignature MessageAndAssertion

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

ID: 0e9d8807-22ec-2e19-45f4-974c3c600591
Version Independent ID: 0f6b3876-de54-3295-1947-098eab5be265
Content: Add AD FS as a SAML identity provider by using custom policies - Azure AD B2C
Content Source: articles/active-directory-b2c/identity-provider-adfs.md
Service: active-directory
Sub-service: b2c
GitHub Login: @msmimart
Microsoft Alias: mimart

@odee30
Thanks for your feedback! I have assigned this issue to the author who will investigate and update as appropriate.

@odee30
Thanks for your feedback! I have assigned this issue to the author who will investigate and update as appropriate.


Update the A-Frame version used in the examples to latest release 1.4.2

A follow up of #3
This makes the examples behave as expected, e.g. labels on the UI are rendered, no console errors and so on.
All the best

See #3 : I have realized more fixes are needed in order for certain examples to work as expected.
I will close this PR and open a new one that will contain all of the fixes.


enable customization of compression backend order

closes #6
cc @drnextgis this removes your previous exclude_encoder option to make the support of different compression more customizable and also let the user define the order of preference for the algorithm.
This PR also change the previous order to Gzip first

Thank you @vincentsarago! I like it 👍

last commit added support for the quality value which seems to be THE way for user to indicate the preferred encoding method.


[#5059] filter out duplicate collectable resources for collection

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

METRIC
VALUE

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-5063


Memory utilities

This implements #30.
It also updates the examples to use the new features.
If this is accepted, we'll have to do the same for the rest of the code, but this can happen gradually.
EDIT: Also implemented a related gko::clone_to wrapper around LinOp::clone_to which wasn't discussed in #30, but is related.

@hartwiganzt @pratikvn @tcojean not sure if you got a notification about it, but I removed merge conflicts from this PR, so feel free to review it.

LGTM


Rabbit connection logging secure details

https://github.com/ONSdigital/sdx-collect/blob/b879d903705b5a967bf6c7f463d4847b7edbb9d2/app/queue_publisher.py#L25
Also wherever connections to rabbit are being retried or we're handling failures. This is logging out the URL which contains credentials. Needs to be removed ASAP.

https://github.com/ONSdigital/sdx-downstream/issues/16


Project goals / roadmap

I'm excited to see this project being rejuvenated, it promises to be extremely useful.
Is there a roadmap, or any specific project goals that you're working towards?

I'd also be interested in a road map, so I can plan where I could contribute! Also, what kind of backing does this work have? is it a hobby or paid work?

@sysrex any news on this? :) having a road map would be great to attract more external contributors!

Hello again, has there been any movement on the roadmap?  It'd be nice to know if there are any areas where I can contribute.


fixed update (mb)

You deleted update.py

You deleted update.py

Yeah Ik I didn't know how to delete a pull request lmao


How to output error code instead of missing partial?

Hi, I'm trying to listen on output stream for error message and then emit it as data, but it doesn't work — the request hangs up and never returns. I need to output error message instead of missing partial, and keep all the rest blocks rendered.
Is there a way to solve my problem?
pageData = ""
pageStream = mu.compileAndRender fileName

pageStream.on "data", (data) ->
  pageData += data

pageStream.on "end", ->
  stream = mu.compileAndRender "layout.html", {page: pageData}
  util.pump stream, response

pageStream.on "error", (err) ->
  pageStream.emit 'data', err.message
  # pageStream.emit 'end'

You could try to overwrite mu.fs


feat: ESNext by default, full ESM-CJS interop, max minification

Changes

Full ESM-CJS interop: .cjs/.mjs extensions, "module"/"main" fields, "exports" field. Ex:
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
"exports": {
  "./package.json": "./package.json",
  ".": {
    "import": "./dist/index.mjs",
    "require": "./dist/index.cjs"
  }
},

Emits ES2020, Terser minification for ESM by default

ES5 output now deprecated behind build --legacy flag

Pass --passWithNoTests to Jest by default with tsdx test

Package upgrades

Reasoning

Smallest possible bundle sizes due to minimal transpilation

Maximum ESM/CJS interop for Node 14+

ESNext output and ESM/CJS interop changes leave all transpilation to lower featuresets up to library consumers downstream in order to minimize problems at compile-time, and prevent TSDX from enforcing a maximum featureset on consumers (previously, this was ES5).
Inspired by module resolution issues with React Native's Metro importing TSDX modules. Also results in much smaller bundles, especially now that ESM is Terser'd by default.

Ha, totally forgot I sent this in! @jaredpalmer I ended up forking this and doing a lot more, see:
https://github.com/tszip/tszip
I also ended up starting fresh again, building on work done by Luke Edwards:
https://github.com/tsmodule/tsmodule
We should talk sometime if you have a minute.

Is there any rough idea when this will be released?

@cdauth I'm trying to see what can be done but this repo is mostly not maintained as many people have moved onto other work. I would use tsmodule above even though it's basically experimental, feel free to open an issue if you have any problems.
See also: #1134, #1129.


Add missing mod1 00 to land equipment. Fix color to black for 10751.svg

Land Equipment does not have a reference to "Not Applicable" SectorOne Modifier ("00"). This change adds this so tools can display this for drop downs, etc.

10751.svg used a blue color to display the SectorOne Modifier (medical cross). This change makes it black.

Jack

Thanks for the contribution, @JKCowboy.  The Land Equipment sector one modifiers aren't the only modifiers missing a "Not Applicable" entry.  I originally considered putting those in all sector modifier sections but decided against it.  Adding them in would have to be a comprehensive decision/change, since we would need to add similar entries to all the modifier sections, and probably anywhere else 0 or 00 represents "Not Applicable".  This might have further knock on effects to the other tools in this repo.
The other reason for leaving them out is that they are not in the 2525D document's tables in each appendix (although 00 =  "Unspecified" values are found in the code tables of Appendix A).  So the standard itself is a little inconsistent in this regard.  IMHO, we need to work with DISA to eliminate inconsistencies in the standard, not exacerbate them by adding this entry to just one section.
My hope for 2525D Change 1 is that DISA will develop some XSLT stylesheets that will take what's in JMSML, or a DISA maintained fork of JMSML, and use those stylesheets to generate the standard's tables, rather than have to have someone create/edit those tables manually.  Therefore, whether 00, 0, "Unspecified", "Not Applicable", etc. appear in JMSML and/or the standard, and where/how they appear in the standard, has to be discussed with the SSMC (and JSP for that matter. for APP-6).
In the meantime, drop down developers will just have to manually add those "Not Applicable" entries, I'm afraid.
Your recommended change to 10751.svg is a good catch and I've gone ahead and changed that myself.

I know that making changes, even the right ones, should be done carefully. My humble opinion is that if a SIDC field is valid but does not "add" something it still should be represented. So a "0" for an amplifier field is valid so we  have an entry for it (i.e. Not Applicable).
There are other parts that have "Not Applicable" so this just makes things consistent. The base file has some of these "0" values with NAs:
grep  -i "not applicable" jmsml_D_Base.xml

Either way I would say either include 0 values always or never.
Thanks for the quick response, nice project.

Thanks for the compliment. :-)
I'm happy to author a change proposal (CP) or back a CP someone else authors that proposes an administrative change to the standards, that makes the Appendix A/Annex A SIDC tables more consistent with the tables in the other appendices, and adds formal entries for 0 and 00, where appropriate.  I'm not opposed to adding 00 to the appendix amplifier tables, but if we add them to one table we should add them to all the tables, and we shouldn't add them at all if the SSMC/JSP doesn't approve the change.  We just have to follow the proper administrative process.

For us it is not a big issue since for this project the GUI tool I developed in Java is not really a final deliverable. I only need to produce font files (for our Open GL display) that is based on the 2525 standard. I attached a picture of the GUI that I use for testing only.


Passing filename to jade

Using includes and extends in jade is not supported because it needs the filename option passed onto jade.compile(). is there a sane solution to this -- maybe bypass consolidate for jade?
/ layouts/default.jade
html
  include ../partials/menu.jade
  != contents

Error: the "filename" option is required to use "include" with "relative" paths

I'd be happy to prepare a PR if you'd like.

another option is to simply add "filename": "/path/to/layouts/default.jade" to the local variables, which should be reasonable data to include anyway.
the way consolidate works is that locals are also passed as jade options: https://github.com/tj/consolidate.js/blob/master/lib/consolidate.js#L339

Basically this plugin just wraps consolidate, so I don't think bypassing consolidate is an option. So what does jade need exactly? The filename of the filename of the layout that's been selected in the front-matter?

I believe it needs to know the filename and its abs path:
consolidate.jade('...template data...', { filename: '/path/to/source.jade' })

not sure on the omit thing yet, lemme take some time to sit down and grok that :)

Moox to the rescue again: metalsmith-filenames. Let me know if this fixes it. I'll do some testing myself as well.

After some testing, metalsmith-filenames solves this for me. Closing, but let me know if it doesn't solve it for you or you have other questions.


Handshake Inactivity Timeout

I've got a handshake inactivity timeout error using mysql over docker-compose. I've increased the timeout time and that hasn't seemed to work. I don't think it's an issue with docker-compose file as it was working before - I'm pretty sure no file/network changes occurred before this issue started. Does anyone have any ideas on what to try?
EDIT: The answer supplied here: https://stackoverflow.com/questions/35553432/error-handshake-inactivity-timeout-in-node-js-mysql-module/65721732#65721732 doesn't work for example (not sure why the downvote, it doesn't work...). I've posted the question here: https://stackoverflow.com/questions/65724514/error-handshake-inactivity-timeout-mysql-node-js. Please, any help would be appreciated. I've used your database in my code, and my program won't work unless I can get this solved.
For more information, the below is how I am connecting to the database (the testconnection is used because createPool does not seem to have a debug option - however I am not getting packet information on testconnection either).
function connectionFunc(){
  var mysql = require('mysql');
  var testconnection = mysql.createConnection({
    host: 'db',
    port: '3306',
    user: 'root',
    password: process.env.MYSQL_ROOT_PASSWORD,
    database: 'blog',
    debug: true
  })
  var pool  = mysql.createPool({
    connectionLimit : 100,
    host            : 'db',
    port            : '3306',
    //setting timeouts here does not work - I've tried.
    //connectTimeout  : 20000,
    //acquireTimeout  : 60 * 60 * 1000,
    //timeout         : 60 * 60 * 1000,
    user            : 'root',
    password        : process.env.MYSQL_ROOT_PASSWORD,
    database        : 'blog'
  });
  console.log("value of testconnection: ", testconnection);
  testconnection.query("SELECT * from blogs", function(err, rows, fields){
    console.log("value of err: ", err);
    console.log("value of rows: ", rows);
    console.log("value of fields: ", fields);
  })
  console.log("value of pool: ", pool);
  let poolPromise = new Promise(resolve=>{
    pool.query("SELECT * FROM blogs", function(err,rows,fields){
      console.log("value or err: ", err);
      console.log('value of rows: ', rows);
      console.log('value of fields: ', fields);
      if (err){
        process.exit();
        resolve(false);
      }else{
        resolve(pool);
      }
    })
  })

  return poolPromise;
}

module.exports = {
  connectionFunc
}

And here is the output:
api      | value of testconnection:  <ref *1> Connection {
api      |   _events: [Object: null prototype] {},
api      |   _eventsCount: 0,
api      |   _maxListeners: undefined,
api      |   config: ConnectionConfig {
api      |     host: 'db',
api      |     port: '3306',
api      |     localAddress: undefined,
api      |     socketPath: undefined,
api      |     user: 'root',
api      |     password: 'NEST',
api      |     database: 'blog',
api      |     connectTimeout: 10000,
api      |     insecureAuth: false,
api      |     supportBigNumbers: false,
api      |     bigNumberStrings: false,
api      |     dateStrings: false,
api      |     debug: true,
api      |     trace: true,
api      |     stringifyObjects: false,
api      |     timezone: 'local',
api      |     flags: '',
api      |     queryFormat: undefined,
api      |     pool: undefined,
api      |     ssl: false,
api      |     localInfile: true,
api      |     multipleStatements: false,
api      |     typeCast: true,
api      |     maxPacketSize: 0,
api      |     charsetNumber: 33,
api      |     clientFlags: 455631
api      |   },
api      |   _socket: undefined,
api      |   _protocol: Protocol {
api      |     _events: [Object: null prototype] {},
api      |     _eventsCount: 0,
api      |     _maxListeners: undefined,
api      |     readable: true,
api      |     writable: true,
api      |     _config: ConnectionConfig {
api      |       host: 'db',
api      |       port: '3306',
api      |       localAddress: undefined,
api      |       socketPath: undefined,
api      |       user: 'root',
api      |       password: 'NEST',
api      |       database: 'blog',
api      |       connectTimeout: 10000,
api      |       insecureAuth: false,
api      |       supportBigNumbers: false,
api      |       bigNumberStrings: false,
api      |       dateStrings: false,
api      |       debug: true,
api      |       trace: true,
api      |       stringifyObjects: false,
api      |       timezone: 'local',
api      |       flags: '',
api      |       queryFormat: undefined,
api      |       pool: undefined,
api      |       ssl: false,
api      |       localInfile: true,
api      |       multipleStatements: false,
api      |       typeCast: true,
api      |       maxPacketSize: 0,
api      |       charsetNumber: 33,
api      |       clientFlags: 455631
api      |     },
api      |     _connection: [Circular *1],
api      |     _callback: null,
api      |     _fatalError: null,
api      |     _quitSequence: null,
api      |     _handshake: false,
api      |     _handshaked: false,
api      |     _ended: false,
api      |     _destroyed: false,
api      |     _queue: [],
api      |     _handshakeInitializationPacket: null,
api      |     _parser: Parser {
api      |       _supportBigNumbers: false,
api      |       _buffer: <Buffer >,
api      |       _nextBuffers: [BufferList],
api      |       _longPacketBuffers: [BufferList],
api      |       _offset: 0,
api      |       _packetEnd: null,
api      |       _packetHeader: null,
api      |       _packetOffset: null,
api      |       _onError: [Function: bound handleParserError],
api      |       _onPacket: [Function: bound ],
api      |       _nextPacketNumber: 0,
api      |       _encoding: 'utf-8',
api      |       _paused: false
api      |     },
api      |     [Symbol(kCapture)]: false
api      |   },
api      |   _connectCalled: false,
api      |   state: 'disconnected',
api      |   threadId: null,
api      |   [Symbol(kCapture)]: false
api      | }
api      | value of pool:  <ref *1> Pool {
api      |   _events: [Object: null prototype] {},
api      |   _eventsCount: 0,
api      |   _maxListeners: undefined,
api      |   config: PoolConfig {
api      |     acquireTimeout: 10000,
api      |     connectionConfig: ConnectionConfig {
api      |       host: 'db',
api      |       port: '3306',
api      |       localAddress: undefined,
api      |       socketPath: undefined,
api      |       user: 'root',
api      |       password: 'NEST',
api      |       database: 'blog',
api      |       connectTimeout: 10000,
api      |       insecureAuth: false,
api      |       supportBigNumbers: false,
api      |       bigNumberStrings: false,
api      |       dateStrings: false,
api      |       debug: undefined,
api      |       trace: true,
api      |       stringifyObjects: false,
api      |       timezone: 'local',
api      |       flags: '',
api      |       queryFormat: undefined,
api      |       pool: [Circular *1],
api      |       ssl: false,
api      |       localInfile: true,
api      |       multipleStatements: false,
api      |       typeCast: true,
api      |       maxPacketSize: 0,
api      |       charsetNumber: 33,
api      |       clientFlags: 455631
api      |     },
api      |     waitForConnections: true,
api      |     connectionLimit: 100,
api      |     queueLimit: 0
api      |   },
api      |   _acquiringConnections: [],
api      |   _allConnections: [],
api      |   _freeConnections: [],
api      |   _connectionQueue: [],
api      |   _closed: false,
api      |   [Symbol(kCapture)]: false
api      | }
api      | here are the environment variables passed in from docker-compose:
api      | MYSQL_ROOT_PASSWORD:  <secret>
api      | MYSQL_PASSWORD:  <secret>

The error specifically -
api      | value or err:  Error: Handshake inactivity timeout
api      |     at Handshake.<anonymous> (/app/node_modules/mysql/lib/protocol/Protocol.js:160:17)
api      |     at Handshake.emit (node:events:376:20)
api      |     at Handshake._onTimeout (/app/node_modules/mysql/lib/protocol/sequences/Sequence.js:124:8)
api      |     at Timer._onTimeout (/app/node_modules/mysql/lib/protocol/Timer.js:32:23)
api      |     at listOnTimeout (node:internal/timers:556:17)
api      |     at processTimers (node:internal/timers:499:7)
api      |     --------------------
api      |     at Protocol._enqueue (/app/node_modules/mysql/lib/protocol/Protocol.js:144:48)
api      |     at Protocol.handshake (/app/node_modules/mysql/lib/protocol/Protocol.js:51:23)
api      |     at PoolConnection.connect (/app/node_modules/mysql/lib/Connection.js:116:18)
api      |     at Pool.getConnection (/app/node_modules/mysql/lib/Pool.js:48:16)
api      |     at Pool.query (/app/node_modules/mysql/lib/Pool.js:202:8)
api      |     at /app/db/connect.js:32:10
api      |     at new Promise (<anonymous>)
api      |     at Object.connectionFunc (/app/db/connect.js:31:21)
api      |     at Object.<anonymous> (/app/routes/index.js:17:12)
api      |     at Module._compile (node:internal/modules/cjs/loader:1108:14) {
api      |   code: 'PROTOCOL_SEQUENCE_TIMEOUT',
api      |   fatal: true,
api      |   timeout: 10000
api      | }

The system information I have is the following:
inxi
CPU Single core Intel Xeon E5-2650 v4 (-MCP-) speed 2199 MHz (max) Kernel 4.15.0-130-generic x86_64 Up 13:40 Mem 792.2/985.2MB HDD 26.8GB(36.1% used) Procs 136 Client Shell inxi 2.3.56
running ubuntu 18.04

Ah! As it happens, I had a default network in my docker-compose. So, the db apparently doesn't communicate over the default network. Huh. When I take that out it works! But the default network was being used to circumvent another unrelated issue, so I'll pursue that if necessary. Thanks for everybody that looked at my stackoverflow - I'll update that as well. Cheers!

Ah! As it happens, I had a default network in my docker-compose. So, the db apparently doesn't communicate over the default network. Huh. When I take that out it works! But the default network was being used to circumvent another unrelated issue, so I'll pursue that if necessary. Thanks for everybody that looked at my stackoverflow - I'll update that as well. Cheers!

Still breaking - I've updated the stackoverflow question: https://stackoverflow.com/questions/65724514/error-handshake-inactivity-timeout-mysql-node-js.

Still breaking - I've updated the stackoverflow question: https://stackoverflow.com/questions/65724514/error-handshake-inactivity-timeout-mysql-node-js.

Cross posted a docker-compose error on their github as well. Thanks!

Cross posted a docker-compose error on their github as well. Thanks!

Uninstalled and reinstalled docker and that hasn't worked.

Uninstalled and reinstalled docker and that hasn't worked.

@patientplatypus6  do you have any update on that? I believe I'm also facing this issue

Just for brainstorming: do you have done tests with other libraries or tools? The fact that the error is raised from this library tell us that this library is the driver, not the source of the problem! First of all a good test to do is verify if with other tools in the same situation the error persist (maybe a container with mysql-cli)! An handshake error can be an error at a deep point of this library or a network problem! Here you are playing with docker networks so there is a chance that the problem is there.

I'm also facing this edge case; I've done testing inside the container, and can both ping the db container and connect with mysql client, though node hangs. I see you're using pool, but I can't connect even with a single connection. Adding debug: true to the options doesn't help, and using the IP of the db on the bridged network doesn't work either. It's really weird. I looked for proxy options, or anything else that's similar; the only thing I see is that I'm also using the --default-authentication-plugin=mysql_native_password auth type?
Any guidance on what kind of traces we can collect, to hunt this down?

@kastman were you able to solve this issue?

I'm currently working on a different problem, but if anyone needs me to try and boot the example again and take a look please just (private) message me (or email at patientplatypus6@gmail.com). I'm getting updates on this because I'm tagged to the thread. I can (probably) at least make a repo showing the issue. For the moment, I'm closing this as there doesn't seem to be all that much activity. Feel free to open another issue. Thanks!

Sorry @ds-arb - I never made progress and went back to running some services locally outside of docker containers. I'm with @patientplatypus6 - would be interested in a solution but not able to work on it now.

@ds-arb and @patientplatypus6 -- I was actually able to look at this further, and realized that there was a real authentication error which was being hidden by the timeout, I suspect possibly induced by express or another error handler. My authentication problems came from the fact that even though I was using command: --default-authentication-plugin=mysql_native_password in my dockerfile to boot the server with an older password scheme, I think the initial setup performed as part of the mysql image was prior to this and not respecting this command arguments (e.g. the environment variables for MYSQL_USER and MYSQL_PASSWORD were being set with the standard mysql 8 authentication scheme. The error that was being hidden for me was ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client, so changing my client from mysql to mysql2 which supports the standard auth was all I needed to do.
I figured this out primarily by running a small separate POC that only handled the mysql parts, and didn't do any of the error handling or express serving; then the error popped up immediately. Hope that helps, and good luck,


added some fixes + completed some some that where missing

@TimVNL
could you verify if pt-BR works well?
I think there are some errors for the url's
Regards,

@owen2345 The pt-br has a lot of issues would remove until someone has the time to do it right

Thank you!


Add fontWeight, italics, underline keys to Typography

I noticed the fontWeight on the Box component and it's exactly what I've been looking for when it comes to Typography.
The amount of styles (or tags) we tend to create to add small text variations such as bold and italics is crazy. It would be so much easier if we could apply these basic variations directly to Typography.
Typography already supports color, spacing and size as configurable aspects. What it needs now imho is "common display variations": bold, italics, underline.
It would be great if this could be added.
What also seems to be missing in the theme fontWeight options is a fontWeightBold.

Duplicate of #15879


I want to set this top tab bar in bottom tabbar

Report
⚠ I want to set this top tab bar in bottom tabbar

Please Help me out to build setup as I requires

@kishanbarmawala have you got answer ???

@kishanbarmawala I also need to do this, Please help me

@sidlowanshi what is highlighterShadowView ?

@sidlowanshi what is highlighterShadowView ?
Hi. I think this is highlighterShadowView


kill method

https://github.com/malaman/js-image-zoom/blob/master/package/js-image-zoom.js#L171
if (zoomLens && zoomDiv) {
    container.removeChild(data.zoomLens.element);
    container.removeChild(data.zoomedImg.element);
}

zoomLens and zoomDiv always undefined

I see. This is a bug. I will fix it next week and publish updated version.

Fixed in 0.4.0 release.


img didn't load on post page

am i wrong in instalation ?

Hi! Are the images returning valid URL's? Perhaps try php artisan storage:link

Yes sir, I have tried it and the results are still the same, is there a pixel limit on the displayed image?

It looks like you might need to update APP_URL in your .env

I see thanks for your help sir

I have tried again and it works but when I restart the server, the image doesn't appear anymore and displays an invalid URL


Add custom regex with groups support

What this PR does / why we need it:
Adds custom regex with groups support
Which issue this PR fixes:
fixes #98

Merging with my own review only.


Pattern Matcher Generator and iCE40 DSP Mapper

Initial work on a code generator for structural subgraph pattern matchers, aimed at simplifying custom technology mappers for coarse non-memory blocks such as "DSP" cells in FPGA architectures.

With this latest version, synth_ice40 -dsp will map stuff to SB_MAC16 cells.


[BUG] Updating to Visual Studio 2022 17.5.1 breaks the VisualStudioCredential for EventGrid

Library name and version
Microsoft.Extensions.Azure 1.6.0
Describe the bug
This sample project runs correctly with Visual Studio 17.4.4 but with version 17.5.1 the VisualStudioCredential for EventGrid breaks the program. However, the project also includes ServiceBus, which takes the credentials from Visual Studio correctly with both versions.
The error says "Azure.Identity.CredentialUnavailableException: VisualStudioCredential.GetToken was unable to retrieve an access token. The JSON-RPC connection with the remote party was lost before the request could complete."
Expected behavior
Work with Visual Studio 2022 17.5.1 by sending an Azure Eventgrid event
Actual behavior
Breaks with Visual Studio 2022 17.5.1 with the following errors.
Reproduction Steps

Create an Azure Event Grid topic
Grant the permission to your user: EventGrid Data Sender
Download the repo
Update Program.cs with the EventGrid endpoint
Login in Visual Studio (not Azure CLI)
Run
Should see "Event sent" in the logs, but that never happens

Optionally

Create Azure Service Bus queue
Grant the permission to your user: Azure Service Bus Data Owner
Uncomment the Service Bus related lines in Program.cs and Function1.cs
Update Program.cs with the ServiceBus endpoint
Run
Will see "Message sent" in the logs but still no "Event sent"

Environment
Visual Studio 2022 17.5.1
Windows 10

//cc: @schaabs

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

This is due to VS needing to request permissions with the EventGrid team for access. This request is currently in progress. Once it is completed, no client side changes will be required


refactor(goal_planner): rebuild state transition (#5371)" (#5399)"

Description

https://github.com/autowarefoundation/autoware.universe/pull/5371  again
Related links

Tests performed

psim
evaluator_description: refactor/goal_planner_state
2023/10/26 https://evaluation.tier4.jp/evaluation/reports/22db895d-99f4-5e82-87cb-1ab63ad1e3a7/?project_id=prd_jt
evaluator_description: refactor/goal_planner_state
2023/10/26 https://evaluation.tier4.jp/evaluation/reports/2af9f34f-9383-5086-b85a-e5326f35df7d/?project_id=prd_jt
https://evaluation.tier4.jp/evaluation/reports/7cc42693-9c46-57f4-a15d-a8974fd10021?project_id=prd_jt
1665/1667
Notes for reviewers

Interface changes

none
Effects on system behavior

none
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.
[ ] The PR has been properly tested.
[ ] The PR has been reviewed by the code owners.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.
[ ] The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

https://evaluation.tier4.jp/evaluation/reports/7cc42693-9c46-57f4-a15d-a8974fd10021?project_id=prd_jt
1665/1667


Replace div-spoiler hack with simpler code, GH#1027,2253.

This is 1.1.0-specific 8f77fab82486c19ab48eee07718e190f76e6ea9a redux.

CI failures are unrelated, committed.


User update overrides properties with empty values

I would like to be able to that you can update a few properties of a user without overriding the properties not specified in the update statement.
So an update statement should only send the parameters that are not the default (empty) value.

Any progress with pull request?


Update CI: Add py35 and py36 to tests.

Quick copy + paste to add testing support to 3.5 and 3.6.

There's already a PR with this, feel free to merge/ignore.

Thanks for this!


Fix bug in calling Vector constructors as functions

@mbebenita, a quick look would be appreciated. Makes crypto.swf from the v8 tests run.

Looks good.


Bkr779 rename userOrders to be UserOrders

change the userOrders to be UserOrders so that fix the testing filer

Please approve it to start working fast


[OSF Institutions] Add ICArEHB [SVCS-989]

Purpose
Add ICArEHB
cc @mfraezz

[x] No Domain/Cert

[x] Email-based auth, no CAS/Shib involved.

[x] Please populate institutions for both test and prod OSF.

Thanks!
Ticket
https://openscience.atlassian.net/browse/SVCS-989

Cherry-picked in as 166e5a7d81198223ee369e1403a5a819f1269807, consider this merged


Fix code scanning alert - the loop variable i is used to index case_value_vector

Tracking issue for:

[x] https://github.com/Realsnack/deal_or_no_deal/security/code-scanning/8

Rejected - False positive


Permit to specify TargetRubyVersion 2.6

Parser gem has been started development for Ruby 2.6 (edge Ruby).
https://github.com/whitequark/parser/blob/master/CHANGELOG.md#v2510-2018-04-12
AFAIK, the next Ruby version is 2.7 after Ruby 2.6.
https://bugs.ruby-lang.org/issues/14256
This PR permits Ruby 2.6, the early adapters will be able to try edge Ruby with RuboCop.
#5845 has already been finished some work to support ruby 2.6.
And this PR ends all the work related to permit to specify TargetRubyVersion 2.6.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Run rake default. It executes all tests and RuboCop for itself, and generates the documentation.

CI has failed due to a new warning to Psych module added in Ruby 2.6.
https://github.com/ruby/ruby/commit/1c92766bf0b7394057c00f576fce5464a3037fd9
I will investigate it.


Window swallowing doesn't work in lf.

Hyprland Version
v0.29.1-68-g84f8f4d7
Bug or Regression?
Bug
Description
I configured Hyprland so programs that the foot terminal open will swallow programs but whenever i use lf/ranger/nnn it makes a new window.
How to reproduce
open a foot window, use a terminal file manager like lf and open a video.

Sorry I done this a while ago. I think this was a problem how I configured
lf.

—
Reply to this email directly, view it on GitHub
https://github.com/hyprwm/Hyprland/issues/3314#issuecomment-2048958323,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAQHWBE5EL36MRVZXS7WHSDY4YONVAVCNFSM6AAAAAA4YUEKXKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANBYHE2TQMZSGM
.
You are receiving this because you were mentioned.Message ID:
@.***>


pyflink UDF example doesn't runs correctly

I am writing this to report that something on pyflink UDF might be broken.
I have found some trouble following this example https://github.com/aws-samples/pyflink-getting-started/tree/main/pyflink-examples/UDF.
What I have done so far, is that I've tried doing two scripts:

flink_simple_functional.py This one does not uses the UDF and just does a very simple transformation like multiplying an integer column by 2 and sinking it to the console. This works fine
flink_simple.py This other one is a copy of the above mentioned code, but besides doing a multiplication by 2, it also derives another column more by using a UDF. That UDF just converts a string column to lowercase

However, the first code works (the one that does not uses the UDF), and the second does not, despite it's a very simple UDF.
Am I doing something wrong? Or are UDF are not supported anymore for AWS Kinesis?
Here I attach both of my flink files, as well as a third file which is the one I use to populate my Kinesis input_stream  from which both the flink files fetch as source. Just in case it might help to take a look at how that stream looks like. It only has one shard and I confirm it has data.
flink_simple_functional.txt
stock.txt
flink_simple.txt

I tried this example and did not work out yet. There is nothing output.  It seems that the UDF cannot work.
If you have figured out, please help. Thank you

I couldn't manage to make it run on kinesis, I switched from Kinesis to hosting flink from helm's chart by using flink deployment operator. There it worked

Finally I got it worked. I found there was a bug when writing CSV files to S3.   -- https://issues.apache.org/jira/browse/FLINK-28513. After changing to JSON, it worked now.
Another thing to be noticed, checkpointing is needed to configure when writing to S3 for CSV/JSON files.

Great! Thanks a lot for sharing the solution!


Support IAM role auth in SQS source

Closes #244 (long overdue!)
Adds support for IAM Role authentication to the AWS SQS source.
Other sources will follow once we are confident this is working smoothly.

Demo
Create a SQS source with iamRole selected as the auth method:
apiVersion: sources.triggermesh.io/v1alpha1
kind: AWSSQSSource
metadata:
  name: sample1
spec:
  arn: arn:aws:sqs:eu-central-1:123456789012:foo

  auth:
    iamRole: arn:aws:iam::123456789012:role/foo

  sink:
    ref:
      apiVersion: v1
      kind: Service
      name: event-display

$ kubectl create -f sample1.yaml
awssqssource.sources.triggermesh.io/sample1 created

Notice that a ServiceAccount named after the source gets created, instead of the usual shared ServiceAccount:
$ kubectl get serviceaccount
NAME                     SECRETS   AGE
awssqssource-i-sample1   1         114s

This ServiceAccount is annotated with the configured IAM role:
$ kubectl get serviceaccount awssqssource-i-sample1 -o jsonpath='{.metadata.annotations}'
{"eks.amazonaws.com/role-arn":"arn:aws:iam::123456789012:role/foo"}

The receive adapter was configured to use this ServiceAccount, and not the shared one:
$ kubectl get deployment awssqssource-sample1 -o jsonpath='{.spec.template.spec.serviceAccountName}'
awssqssource-i-sample1

Other SQS sources with standard credentials authentication can still be created alongside the ones with iamRole authentication, and these use the shared ServiceAccount as usual:
$ kubectl create -f sample2.yaml
awssqssource.sources.triggermesh.io/sample2 created

$ kubectl get serviceaccount
NAME                     SECRETS   AGE
awssqssource-adapter     1         9s
awssqssource-i-sample1   1         2m

$ kubectl get deployment awssqssource-sample2 -o jsonpath='{.spec.template.spec.serviceAccountName}'
awssqssource-adapter

@odacremolbap yes good idea, this part is a bit of a mess because tests have custom functional options for readability ("make this deployment ready", "enable this auth mode", ...).
I'll move the signature elsewhere and update accordingly.

@odacremolbap suggestion addressed in d341018c38e87c9ee2680c72e13883c639b6c7f0.

@antoineco really great job. It's working like a charm.

Hey @isaac88, appreciate the feedback! 🙌

Hi @antoineco , I'm starting to investigate KNative and Triggermesh, Seems very nice :) I have a question regarding ServiceAccount that prevent me of having all that working.
That PR creates a new ServiceAccount awssqssource-i-sample1 with the annotation eks.amazonaws.com/role-arn":"arn:aws:iam::123456789012:role/foo. Nice but I'm having 1 problem (or it is Function As Designed)
With my current understanding (how I work on my cluster), not only the AWS role needs to be created but the ServiceAccount needs to be added in the OIDC "Trust Relationships" policy to be able to call sts:AssumeRoleWithWebIdentity in order to get proper accesses. (See https://docs.aws.amazon.com/eks/latest/userguide/create-service-account-iam-policy-and-role.html).
Is there a way I do not know to have all that properly configured automatically?
Do I need to configure that somehow by another mean(s)? If so, What is this PR for exactly if the created role is not usable?
Thanks a lot in advance!

@marcantoine-bibeau full disclosure: I no longer work on that project, but I can comment on this specific concern.
It is true that the 1:1 relationship between an IAM role and a Kubernetes service account makes the management of IAM roles in EKS particularly tedious, and you are not the only one to believe some things should be improved: https://github.com/aws/containers-roadmap/issues/1408 (and even this enhancement wouldn't remove the aforementioned restriction).
I'm not aware of any obscure workaround either, unfortunately. Your org needs to have processes and automation in place to be able to deliver IAM roles quickly to the developers that need them (some sort of on-demand credentials provisioning service, based on something like Vault, maybe?). Without such facility, I'm afraid some manual work will be required prior to being able to attach an IAM role to TriggerMesh's event sources.

Hi all,
FYI we now have IAM role auth for all AWS targets, as of TriggerMesh 1.23: https://github.com/triggermesh/triggermesh/releases/tag/v1.23.0
Cheers

@jmcx But I already have the service account with an added role that is already in OIDC "Trust Relationships".
And now, after deploying each AWSSQSSource I need to update OIDC "Trust Relationships" policy because pod works under awssqssource-i-{sqs_source_name} that is not in Trust Relationships.

@jmcx But I already have the service account with an added role that is already in OIDC "Trust Relationships".
And now, after deploying each AWSSQSSource I need to update OIDC "Trust Relationships" policy because pod works under awssqssource-i-{sqs_source_name} Service account that is not in Trust Relationships.

@mikhno-s Hi, are you saying that you did an upgrade and that it broker your config ? If yes can you tell us from which version to what version ?

I deployed triggermesh 1.23.0 with only one CRD that I need - awssqssources.sources.triggermesh.io
After I added triggermesh-controller service account to OIDC Trust Relationships that allows any pod that use this service account do aws api calls, to sqs api in this case.
Then, I created AWSSQSSource with spec:
apiVersion: sources.triggermesh.io/v1alpha1
kind: AWSSQSSource
metadata:
  name: sqs-guide
  namespace: triggermesh
spec:
spec:
  arn: arn:aws:sqs:us-west-2:0000000000:triggermesh
  auth:
    iamRole: arn:aws:iam::0000000000:role/triggermesh-role
  sink:
...

And then I checked logs of created pod - awssqssource-sqs-guide-... and it was saying that cannot perform assume role, that is obvious because the  AWSSQSSource created a new service account awssqssource-i-sqs-guide and run the pod under this account. And error appears because awssqssource-i-sqs-guide account was not added to OIDC Trust Relationships.
After adding it - everything works well.
My Q is - how can I configure under which service accounts these sources will be run? Like I don't mind having all pods run by trigger mesh to be under one service account which can be added to OIDC Trust Relationships.
Because otherwise, I will need to update OIDC Trust Relationships after adding each  aws source or target.

@mikhno-s indeed, as you discovered users must create one IAM Role and one Trust Relationship per Service Account (hence, per source instance). I agree with you, this is tedious and annoying.
Would it help if the API was updated to allow users to "pin" the Service Account name?
 apiVersion: sources.triggermesh.io/v1alpha1
 kind: AWSSQSSource
 metadata:
   name: sample1
 spec:
   arn: arn:aws:sqs:eu-central-1:123456789012:foo

   auth:
-    iamRole: arn:aws:iam::123456789012:role/foo
+    iamRole:
+      arn: arn:aws:iam::123456789012:role/foo
+      serviceAccount: my-manually-created-service-account

   sink:
     ref:
       apiVersion: v1
       kind: Service
       name: event-display

Or maybe a less intrusive way to gradually add this feature could be to introduce an annotation instead, as a first iteration:
 apiVersion: sources.triggermesh.io/v1alpha1
 kind: AWSSQSSource
 metadata:
   name: sample1
+  annotations:
+    alpha.triggermesh.io/aws-iam-service-account: my-manually-created-service-account
 spec:
   arn: arn:aws:sqs:eu-central-1:123456789012:foo

   auth:
     iamRole: arn:aws:iam::123456789012:role/foo

   sink:
     ref:
       apiVersion: v1
       kind: Service
       name: event-display

The downside is that your IAM Role must a wider permission range (read-write to all possible SQS sources).

@antoineco Probably it's better to add an optional spec.iamRole.serviceAccount to allow users to control under which serviceAcc source pods are operating.


SVG not showing up correctly

Using Illustrator to create SVG and tried all versions and settings. But no result. Tried downloading the SVG logo from wikipedia and it turns out like this. But mine does not show ut at alls. Have been forced to use PNG instead.   :(

Hi there, mind attaching the SVG?

Thanks for looking into this. Tried to get any SVG working and figure out the problem. But i could see anyone else on the forum have the same problem.  :/
SVG_logo_h.svg.zip
ic_launcher_foreground.svg.zip

For posterity, when SVGs don't have a width and height, it doesn't seem to import correctly / can't infer from the viewbox. There's probably a bug somewhere here with how we manage natural width/height from SVGs


Simplify websocket ticker shutdown code

"A receive from a closed channel returns the zero value immediately"
Close the tickerChan in the calling function, this causes "case <-c" to
unblock immediately, ending the goroutine and stopping the ticker.

I like it! I didn't realize the close method worked that way. @mholt you cool if I merge?

Go for it!
On Wed, Oct 14, 2015, 7:13 PM Austin Cherry<EMAIL_ADDRESS>wrote:

I like it! I didn't realize the close method worked that way. @mholt
https://github.com/mholt you cool if I merge?
—
Reply to this email directly or view it on GitHub
https://github.com/mholt/caddy/pull/273#issuecomment-148248182.


different attributes in different installations

Hi all,
I'm using gpfit in two different machines. After I run a fitting routine in my data I get certain attributes for the output. The "good" machine shows:
pr.pprint(smafit.__dict__.keys())
['posymap',
 'mfac',
 'ivar',
 'constraint',
 'evaluate',
 'dvars',
 'numpy_bools',
 'bounds',
 'substitutions',
 'max_err',
 'fitdata',
 'varkeys',
 'rms_err']

Whereas the "bad" machine shows:
pr.pprint(smafit.__dict__.keys())
['oper',
 'unsubbed',
 'right',
 'evaluate',
 'nomials',
 'substitutions',
 'p_lt',
 'varkeys',
 'm_gt',
 'last_used_substitutions',
 'left']

I use the fitdata attribute to extract the coefficients in a nice way and import them im MATLAB for post-processing. Why is the attribute list so different in these two installations? I cloned gpfit today in the old (bad) machine to see if there was any update but it doesn't see to affect the attribute list. None of the attributes available in the "bad" machine contains the coefficient in a nice format for extraction.

Hi @iclucho ! Both objects are created with the same code?
If so my guess it's that they're different versions of gpfit; we added the FitConstraintSet class pretty recently, and it looks like that's what you're seeing in the former, while the latter is probably a standard ArrayConstraintSet. What does type(smafit) show for each of them?

Hi bqpd. Thanks for your reply.
Indeed, both objects are generated with the same code. At the moment I only have access to the "bad" machine. There, when typing type(smafit), I get:
<class 'gpfit.fit_constraintset.FitCS'>
I recloned the gpfit version today to see if it would make a difference but so far nothing.

Great! Yeah, looks like that's the newest version: https://github.com/hoburg/gpfit/blob/master/gpfit/fit_constraintset.py#L15
It might not be on pypi yet, so if you installed the 'bad' version with pip install gpfit, that could explain it.

Sorry for the version confusion! GPfit hasn't had a proper owner/maintainer for a year; I'll hopefully be stepping to get it better documented /organized / etc this Fall.

Created #92 to add to PyPI


You Might Not Need Underscore

found a post that says as this title.
https://www.reindex.io/blog/you-might-not-need-underscore/
what you guys think?. future release?

I prefer the non-click-bait flavor from 6 months ago – https://gist.github.com/bendc/9b05735dfa6966859025


Terraform error

The 1 click deploy process is failing with a Terraform issue.  So executing with Resource Manager.
The log shows :
022/06/14 16:52:11[TERRAFORM_CONSOLE] [INFO] Getting providers hosted on RMS
2022/06/14 16:52:11[TERRAFORM_CONSOLE] [INFO] Initializing modules...
2022/06/14 16:52:11[TERRAFORM_CONSOLE] [INFO] Downloading github.com/oracle-devrel/terraform-oci-arch-oke for oci-oke...
2022/06/14 16:52:12[TERRAFORM_CONSOLE] [INFO] - oci-oke in .terraform/modules/oci-oke
2022/06/14 16:52:12[TERRAFORM_CONSOLE] [INFO]
2022/06/14 16:52:12[TERRAFORM_CONSOLE] [INFO] Initializing provider plugins...
2022/06/14 16:52:12[TERRAFORM_CONSOLE] [INFO] - Finding latest version of oracle/oci...
2022/06/14 16:52:12[TERRAFORM_CONSOLE] [INFO] - Finding latest version of hashicorp/oci...
2022/06/14 16:52:12[TERRAFORM_CONSOLE] [INFO] - Finding latest version of hashicorp/null...
2022/06/14 16:52:12[TERRAFORM_CONSOLE] [INFO] - Finding latest version of hashicorp/tls...
2022/06/14 16:52:12[TERRAFORM_CONSOLE] [INFO] - Finding latest version of hashicorp/random...
2022/06/14 16:52:12[TERRAFORM_CONSOLE] [INFO] - Finding latest version of hashicorp/local...
2022/06/14 16:52:12[TERRAFORM_CONSOLE] [INFO] - Installing oracle/oci v4.79.0...
2022/06/14 16:52:12[TERRAFORM_CONSOLE] [INFO] - Installed oracle/oci v4.79.0 (unauthenticated)
2022/06/14 16:52:12[TERRAFORM_CONSOLE] [INFO] - Installing hashicorp/oci v4.79.0...
2022/06/14 16:52:12[TERRAFORM_CONSOLE] [INFO] - Installed hashicorp/oci v4.79.0 (unauthenticated)
2022/06/14 16:52:12[TERRAFORM_CONSOLE] [INFO] - Installing hashicorp/null v3.1.0...
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO] - Installed hashicorp/null v3.1.0 (unauthenticated)
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO] - Installing hashicorp/tls v3.1.0...
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO] - Installed hashicorp/tls v3.1.0 (unauthenticated)
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO] - Installing hashicorp/random v3.1.0...
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO] - Installed hashicorp/random v3.1.0 (unauthenticated)
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO] - Installing hashicorp/local v2.1.0...
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO] - Installed hashicorp/local v2.1.0 (unauthenticated)
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO]
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO] Terraform has created a lock file .terraform.lock.hcl to record the provider
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO] selections it made above. Include this file in your version control repository
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO] so that Terraform can guarantee to make the same selections by default when
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO] you run "terraform init" in the future.
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO]
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO] Terraform has been successfully initialized!
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO]
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO] You may now begin working with Terraform. Try running "terraform plan" to see
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO] any changes that are required for your infrastructure. All Terraform commands
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO] should now work.
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO]
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO] If you ever set or change modules or backend configuration for Terraform,
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO] rerun this command to reinitialize your working directory. If you forget, other
2022/06/14 16:52:13[TERRAFORM_CONSOLE] [INFO] commands will detect it and remind you to do so if necessary.
2022/06/14 16:53:15[TERRAFORM_CONSOLE] [INFO]
2022/06/14 16:53:15[TERRAFORM_CONSOLE] [INFO] Error: Unsupported argument
2022/06/14 16:53:15[TERRAFORM_CONSOLE] [INFO]
2022/06/14 16:53:15[TERRAFORM_CONSOLE] [INFO]   on oke.tf line 32, in module "oci-oke":
2022/06/14 16:53:15[TERRAFORM_CONSOLE] [INFO]   32:   availability_domain                                                         = data.oci_identity_availability_domains.ADs.availability_domains[0]["name"]
2022/06/14 16:53:15[TERRAFORM_CONSOLE] [INFO]
2022/06/14 16:53:15[TERRAFORM_CONSOLE] [INFO] An argument named "availability_domain" is not expected here.
2022/06/14 16:53:15[TERRAFORM_CONSOLE] [INFO]

@mp3monster we have fixed a few errors and now RMS is capable to deploy the stack with the latest release:


Scrum 2993

@valearna @sweng66 I think this works, but we shouldn't merge this into main until the UI is updated to work with it.  But I wanted to get your feedback in case you think some things should work differently.

oops I approved lol

Should we fix the program to check and make sure both mod_curie and mod_mca are not null or both are null?
just to make sure all in-corpus papers have a valid mod_curie and all papers with a valid mod_curie must be in given mod-corpus.
@azurebrd @valearna

Thanks @valearna and @sweng66 !  I think it's fine to be approved.  It's probably fine if it gets merged too, even if the UI doesn't work for creating PMID references on stage, it won't be bad.  And even if it gets into prod, I don't think anyone's doing that.
I think the endpoint requires all the values to be there, and that blank isn't allowed, is that right, Valerio ?  Shuai, do you think it could be a problem if someone tries to use the function from some other script but only adds values to exactly one of mca vs mod_xref ?  I think Ceri wanted to be able to create it as the okta-login mod (for the mca), but assign the xref to a different mod's curie.  If that's bad, we should discuss it with her.

@azurebrd I don't think there is any other script using this function.
Assign a mod_curie to a paper that is in another mod corpus is fine, but the newly added cross_reference row will be updated (set to invalid) by dqm loading script through cron. Also the mca row will be updated as well (move it out of corpus) unless curators have done something before the cronjob run.
Am I missing anything?

@azurebrd I think that the values from the router are nullable so we should check if any of the three is null and we should return an error. Maybe we can add this to the tests as well?

@sweng66 cool cool, it's just 2 tests and the functional test that uses this function.  @valearna + @sweng66 I guess we should require all fields to have non-null values.  @valearna I'm not sure how to make the API return an error, but I'll try / ask you if it's not clear.  Adding it to the tests sounds good.
@sweng66 I've written to @cerivs about the issue, and we can discuss at / after standup.  Maybe we just require the oktaMod to be the same mod as the xref mod_curie prefix.

@azurebrd Good idea ("require the oktaMod to be the same mod as the xref mod_curie prefix.") !

Yes, let's discuss how to manage null values @azurebrd. At this point we should also consider using a json data request object (instead of separate query parameters like /add/{pubmed_id}/{mod_curie}/{mod_mca}/) and validate it against a schema that requires non-null and possibly non-empty strings and returns errors automatically.


Roll to chromium 43.0.2357.37

Change one function name based on changes in chromium.

Thanks. I've finally pushed the new forks so the next trybot attempt should pass. So please:

Squash your commits into one, otherwise the build will be broken between the two commits.
Update the pull request message as it still mentions the test that was being disabled.
Resubmit to get the bots to test the patch.

The oz-wl build is broken

I see, I have problems with my computer, so hope I managed to fix that. I am out tomorrow.
On Wed Apr 29 09:56:11 2015 GMT+0300, Raphael Kubo da Costa wrote:

The oz-wl build is broken

Reply to this email directly or view it on GitHub:
https://github.com/crosswalk-project/crosswalk/pull/3000#issuecomment-9732744

--

Fix pending in 01org/ozone-wayland#378.

I've now moved our forks to 43.0.2357.45, which was released last night. The oz-wl PR I mentioned above is still pending, but let's close this one and send a new PR for .45 next week.


Add close-menu for tabs

Something like this:

Must have:

Close all tabs
Close other tabs
Close tabs to the left
Close tabs to the right

Duplicate of #392


Warning:  foreach() argument must be of type array|object when response is null

Guzzle version(s) affected: 6.3.0
PHP version: 8.1.3
cURL version: 7.29.0
Description
Guzzle throws warning:
PHP Warning:  foreach() argument must be of type array|object, null given in /vendor/guzzlehttp/guzzle-services/src/ResponseLocation/JsonLocation.php on line 71"
When response JSON is null (not empty but null). Probably the same will happen for true, false and other valid responses that are not object/array/empty.
https://datatracker.ietf.org/doc/html/rfc8259#section-2
Possible Solution
Check if $this->json is iterable before passing it to foreach().

Thanks for the report, however Guzzle 6 is EOL, and 6.3.0 is not even the latest 6.x version, and also this sounds like an issue in the guzzle-services repo, not Guzzle. Please post a fresh issue there if this occurs with the latest version of Guzzle services and Guzzle 7.

Current latest versions:
guzzlehttp/guzzle: 7.4.2
guzzlehttp/psr7: 2.2.1
guzzlehttp/promises: 1.5.1
guzzlehttp/guzzle-services: 1.3.2
guzzlehttp/command: 1.2.2
guzzlehttp/uri-template: 1.0.1

Note also that Guzzle 6.x does not support PHP 8.1, and 6.3.0 doesn't support PHP later than 7.3.


Nodemailer pickup transport

Added declaration for npm module nodemailer-pickup-transport

nodemailer-pickup-transport/nodemailer-pickup-transport.d.ts
check list

[ ] is collect naming convention?

https://www.npmjs.com/package/nodemailer-pickup-transport
http://bower.io/search/?q=nodemailer-pickup-transport
others?

[X] has a test file? (nodemailer-pickup-transport/nodemailer-pickup-transport-tests.ts or others)
[ ] pass the Travic-CI test?

@psnider thanks mate!


Please provide checksums for Atom releases [not for security]

Prerequisites

[x] The desire to install Atom.
[x] Read https://github.com/atom/atom/issues/7635

Description / Rationale
Same as https://github.com/portapps/portapps/issues/11
Expected behavior: Checksums are provided.
Actual behavior: They are not provided.
Reproduces how often:  Whenever the download is through a browser.
Versions
1.34.0 and recent releases
OS
All supported by Atom.
Example of Solution
Repo: https://github.com/neard/neard/releases
Website: https://neard.io/release/latest/
Example of Super-Awesome Solution
Let me know I will insert it here.

Thanks for taking the time to contribute!
We noticed that this is a duplicate of https://github.com/atom/atom/issues/7635. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Can anybody share the dataset?

Hi, is there anybody can share the dataset?  It seems the server is down. I can not download it. I do not need the whole dataset but just the .xml files in ground truth. It should be within several hundreds MB.

We are aware that the SUMO challenge data is not available right now, but we cannot comment as to the reason at this time.


Build in support for all NCIRD conditions (MMGs)

Build in capacity to process all NCIRD conditions and PHLIP flu messages into HL7v2 pipeline

NB on Definition of Done
Marcia will create in MMGAT
And then reassign to QA to test in pipeline